3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --enable-concept-checks use Boost-derived template checks [default=no]"
62 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
64 --with-gxx-include-dir the installation directory for include files"
66 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
68 # Initialize some variables set by options.
69 # The variables have the same names as the options, with
70 # dashes changed to underlines.
72 cache_file=./config.cache
81 program_transform_name=s,x,x,
89 bindir='${exec_prefix}/bin'
90 sbindir='${exec_prefix}/sbin'
91 libexecdir='${exec_prefix}/libexec'
92 datadir='${prefix}/share'
93 sysconfdir='${prefix}/etc'
94 sharedstatedir='${prefix}/com'
95 localstatedir='${prefix}/var'
96 libdir='${exec_prefix}/lib'
97 includedir='${prefix}/include'
98 oldincludedir='/usr/include'
99 infodir='${prefix}/info'
100 mandir='${prefix}/man'
102 # Initialize some other variables.
105 SHELL=${CONFIG_SHELL-/bin/sh}
106 # Maximum number of lines to put in a shell here document.
113 # If the previous option needs an argument, assign it.
114 if test -n "$ac_prev"; then
115 eval "$ac_prev=\$ac_option"
121 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
125 # Accept the important Cygnus configure options, so we can diagnose typos.
129 -bindir | --bindir | --bindi | --bind | --bin | --bi)
131 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
132 bindir="$ac_optarg" ;;
134 -build | --build | --buil | --bui | --bu)
136 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
137 build="$ac_optarg" ;;
139 -cache-file | --cache-file | --cache-fil | --cache-fi \
140 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
141 ac_prev=cache_file ;;
142 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
143 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
144 cache_file="$ac_optarg" ;;
146 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
148 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
150 datadir="$ac_optarg" ;;
152 -disable-* | --disable-*)
153 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
154 # Reject names that are not valid shell variable names.
155 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
156 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
159 eval "enable_${ac_feature}=no" ;;
161 -enable-* | --enable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
172 eval "enable_${ac_feature}='$ac_optarg'" ;;
174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
176 | --exec | --exe | --ex)
177 ac_prev=exec_prefix ;;
178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
180 | --exec=* | --exe=* | --ex=*)
181 exec_prefix="$ac_optarg" ;;
183 -gas | --gas | --ga | --g)
184 # Obsolete; use --with-gas.
187 -help | --help | --hel | --he)
188 # Omit some internal or obsolete options to make the list less imposing.
189 # This message is too long to be a string in the A/UX 3.1 sh.
191 Usage: configure [options] [host]
192 Options: [defaults in brackets after descriptions]
194 --cache-file=FILE cache test results in FILE
195 --help print this message
196 --no-create do not create output files
197 --quiet, --silent do not print \`checking...' messages
198 --version print the version of autoconf that created configure
199 Directory and file names:
200 --prefix=PREFIX install architecture-independent files in PREFIX
202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
204 --bindir=DIR user executables in DIR [EPREFIX/bin]
205 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
206 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
207 --datadir=DIR read-only architecture-independent data in DIR
209 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
210 --sharedstatedir=DIR modifiable architecture-independent data in DIR
212 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
213 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
214 --includedir=DIR C header files in DIR [PREFIX/include]
215 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
216 --infodir=DIR info documentation in DIR [PREFIX/info]
217 --mandir=DIR man documentation in DIR [PREFIX/man]
218 --srcdir=DIR find the sources in DIR [configure dir or ..]
219 --program-prefix=PREFIX prepend PREFIX to installed program names
220 --program-suffix=SUFFIX append SUFFIX to installed program names
221 --program-transform-name=PROGRAM
222 run sed PROGRAM on installed program names
226 --build=BUILD configure for building on BUILD [BUILD=HOST]
227 --host=HOST configure for HOST [guessed]
228 --target=TARGET configure for TARGET [TARGET=HOST]
229 Features and packages:
230 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
231 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
232 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
233 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
234 --x-includes=DIR X include files are in DIR
235 --x-libraries=DIR X library files are in DIR
237 if test -n "$ac_help"; then
238 echo "--enable and --with options recognized:$ac_help"
242 -host | --host | --hos | --ho)
244 -host=* | --host=* | --hos=* | --ho=*)
247 -includedir | --includedir | --includedi | --included | --include \
248 | --includ | --inclu | --incl | --inc)
249 ac_prev=includedir ;;
250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
251 | --includ=* | --inclu=* | --incl=* | --inc=*)
252 includedir="$ac_optarg" ;;
254 -infodir | --infodir | --infodi | --infod | --info | --inf)
256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
257 infodir="$ac_optarg" ;;
259 -libdir | --libdir | --libdi | --libd)
261 -libdir=* | --libdir=* | --libdi=* | --libd=*)
262 libdir="$ac_optarg" ;;
264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
265 | --libexe | --libex | --libe)
266 ac_prev=libexecdir ;;
267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
268 | --libexe=* | --libex=* | --libe=*)
269 libexecdir="$ac_optarg" ;;
271 -localstatedir | --localstatedir | --localstatedi | --localstated \
272 | --localstate | --localstat | --localsta | --localst \
273 | --locals | --local | --loca | --loc | --lo)
274 ac_prev=localstatedir ;;
275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
276 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
277 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
278 localstatedir="$ac_optarg" ;;
280 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
282 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
283 mandir="$ac_optarg" ;;
286 # Obsolete; use --without-fp.
289 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
293 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
294 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
297 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
298 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
299 | --oldin | --oldi | --old | --ol | --o)
300 ac_prev=oldincludedir ;;
301 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
302 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
303 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
304 oldincludedir="$ac_optarg" ;;
306 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
308 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
309 prefix="$ac_optarg" ;;
311 -program-prefix | --program-prefix | --program-prefi | --program-pref \
312 | --program-pre | --program-pr | --program-p)
313 ac_prev=program_prefix ;;
314 -program-prefix=* | --program-prefix=* | --program-prefi=* \
315 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
316 program_prefix="$ac_optarg" ;;
318 -program-suffix | --program-suffix | --program-suffi | --program-suff \
319 | --program-suf | --program-su | --program-s)
320 ac_prev=program_suffix ;;
321 -program-suffix=* | --program-suffix=* | --program-suffi=* \
322 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
323 program_suffix="$ac_optarg" ;;
325 -program-transform-name | --program-transform-name \
326 | --program-transform-nam | --program-transform-na \
327 | --program-transform-n | --program-transform- \
328 | --program-transform | --program-transfor \
329 | --program-transfo | --program-transf \
330 | --program-trans | --program-tran \
331 | --progr-tra | --program-tr | --program-t)
332 ac_prev=program_transform_name ;;
333 -program-transform-name=* | --program-transform-name=* \
334 | --program-transform-nam=* | --program-transform-na=* \
335 | --program-transform-n=* | --program-transform-=* \
336 | --program-transform=* | --program-transfor=* \
337 | --program-transfo=* | --program-transf=* \
338 | --program-trans=* | --program-tran=* \
339 | --progr-tra=* | --program-tr=* | --program-t=*)
340 program_transform_name="$ac_optarg" ;;
342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
343 | -silent | --silent | --silen | --sile | --sil)
346 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
348 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
350 sbindir="$ac_optarg" ;;
352 -sharedstatedir | --sharedstatedir | --sharedstatedi \
353 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
354 | --sharedst | --shareds | --shared | --share | --shar \
356 ac_prev=sharedstatedir ;;
357 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
358 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
359 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
361 sharedstatedir="$ac_optarg" ;;
363 -site | --site | --sit)
365 -site=* | --site=* | --sit=*)
368 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
370 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
371 srcdir="$ac_optarg" ;;
373 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
374 | --syscon | --sysco | --sysc | --sys | --sy)
375 ac_prev=sysconfdir ;;
376 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
377 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
378 sysconfdir="$ac_optarg" ;;
380 -target | --target | --targe | --targ | --tar | --ta | --t)
382 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
383 target="$ac_optarg" ;;
385 -v | -verbose | --verbose | --verbos | --verbo | --verb)
388 -version | --version | --versio | --versi | --vers)
389 echo "configure generated by autoconf version 2.13"
393 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
394 # Reject names that are not valid shell variable names.
395 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
396 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
398 ac_package=`echo $ac_package| sed 's/-/_/g'`
403 eval "with_${ac_package}='$ac_optarg'" ;;
405 -without-* | --without-*)
406 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
407 # Reject names that are not valid shell variable names.
408 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
409 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
411 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}=no" ;;
415 # Obsolete; use --with-x.
418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
419 | --x-incl | --x-inc | --x-in | --x-i)
420 ac_prev=x_includes ;;
421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
423 x_includes="$ac_optarg" ;;
425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
427 ac_prev=x_libraries ;;
428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
430 x_libraries="$ac_optarg" ;;
432 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
436 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
437 echo "configure: warning: $ac_option: invalid host type" 1>&2
439 if test "x$nonopt" != xNONE; then
440 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
448 if test -n "$ac_prev"; then
449 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
452 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
454 # File descriptor usage:
457 # 2 errors and warnings
458 # 3 some systems may open it to /dev/tty
459 # 4 used on the Kubota Titan
460 # 6 checking for... messages and results
461 # 5 compiler messages saved in config.log
462 if test "$silent" = yes; then
470 This file contains any messages produced by compilers while
471 running configure, to aid debugging if configure makes a mistake.
474 # Strip out --no-create and --no-recursion so they do not pile up.
475 # Also quote any args containing shell metacharacters.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c) ;;
482 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
483 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
485 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
486 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
491 # Only set these to C if already set. These must not be set unconditionally
492 # because not all systems understand e.g. LANG=C (notably SCO).
493 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
494 # Non-C LC_CTYPE values break the ctype check.
495 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
496 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
497 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
498 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
500 # confdefs.h avoids OS command line length limits that DEFS can exceed.
501 rm -rf conftest* confdefs.h
502 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
505 # A filename unique to this package, relative to the directory that
506 # configure is in, which we can look for to find out if srcdir is correct.
507 ac_unique_file=src/ios.cc
509 # Find the source files, if location was not specified.
510 if test -z "$srcdir"; then
511 ac_srcdir_defaulted=yes
512 # Try the directory containing this script, then its parent.
514 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
515 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
517 if test ! -r $srcdir/$ac_unique_file; then
521 ac_srcdir_defaulted=no
523 if test ! -r $srcdir/$ac_unique_file; then
524 if test "$ac_srcdir_defaulted" = yes; then
525 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
527 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
530 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
532 # Prefer explicitly selected file to automatically selected ones.
533 if test -z "$CONFIG_SITE"; then
534 if test "x$prefix" != xNONE; then
535 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
537 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
540 for ac_site_file in $CONFIG_SITE; do
541 if test -r "$ac_site_file"; then
542 echo "loading site script $ac_site_file"
547 if test -r "$cache_file"; then
548 echo "loading cache $cache_file"
551 echo "creating cache $cache_file"
556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
557 ac_cpp='$CPP $CPPFLAGS'
558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
560 cross_compiling=$ac_cv_prog_cc_cross
564 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
565 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
566 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
573 ac_n= ac_c='\c' ac_t=
580 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
581 release_VERSION=3.1.0
583 # For libtool versioning info, format is CURRENT:REVISION:AGE
584 libtool_VERSION=4:0:0
587 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
588 # AC 2.50 sets target_alias iff the user specified --target, but we use it
589 # everywhere, so we set it here just to be sure.
591 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
592 if test -f $ac_dir/install-sh; then
594 ac_install_sh="$ac_aux_dir/install-sh -c"
596 elif test -f $ac_dir/install.sh; then
598 ac_install_sh="$ac_aux_dir/install.sh -c"
602 if test -z "$ac_aux_dir"; then
603 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
605 ac_config_guess=$ac_aux_dir/config.guess
606 ac_config_sub=$ac_aux_dir/config.sub
607 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
610 # Do some error checking and defaulting for the host and target type.
612 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
615 # 1. You are not allowed to specify --host, --target, and nonopt at the
617 # 2. Host defaults to nonopt.
618 # 3. If nonopt is not specified, then host defaults to the current host,
619 # as determined by config.guess.
620 # 4. Target and build default to nonopt.
621 # 5. If nonopt is not specified, then target and build default to host.
623 # The aliases save the names the user supplied, while $host etc.
624 # will get canonicalized.
625 case $host---$target---$nonopt in
626 NONE---*---* | *---NONE---* | *---*---NONE) ;;
627 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
631 # Make sure we can run config.sub.
632 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
633 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
636 echo $ac_n "checking host system type""... $ac_c" 1>&6
637 echo "configure:638: checking host system type" >&5
640 case "$host_alias" in
644 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
645 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
647 *) host_alias=$nonopt ;;
651 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
652 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
653 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
654 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
655 echo "$ac_t""$host" 1>&6
657 echo $ac_n "checking target system type""... $ac_c" 1>&6
658 echo "configure:659: checking target system type" >&5
661 case "$target_alias" in
664 NONE) target_alias=$host_alias ;;
665 *) target_alias=$nonopt ;;
669 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
670 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
671 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
672 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
673 echo "$ac_t""$target" 1>&6
675 echo $ac_n "checking build system type""... $ac_c" 1>&6
676 echo "configure:677: checking build system type" >&5
679 case "$build_alias" in
682 NONE) build_alias=$host_alias ;;
683 *) build_alias=$nonopt ;;
687 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
688 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
689 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
690 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
691 echo "$ac_t""$build" 1>&6
693 test "$host_alias" != "$target_alias" &&
694 test "$program_prefix$program_suffix$program_transform_name" = \
696 program_prefix=${target_alias}-
698 target_alias=${target_alias-$target}
701 # Find a good install program. We prefer a C program (faster),
702 # so one script is as good as another. But avoid the broken or
703 # incompatible versions:
704 # SysV /etc/install, /usr/sbin/install
705 # SunOS /usr/etc/install
708 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
709 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
710 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
711 # ./install, which can be erroneously created by make from ./install.sh.
712 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
713 echo "configure:714: checking for a BSD compatible install" >&5
714 if test -z "$INSTALL"; then
715 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
716 echo $ac_n "(cached) $ac_c" 1>&6
718 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
719 for ac_dir in $PATH; do
720 # Account for people who put trailing slashes in PATH elements.
722 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
724 # OSF1 and SCO ODT 3.0 have their own names for install.
725 # Don't use installbsd from OSF since it installs stuff as root
727 for ac_prog in ginstall scoinst install; do
728 if test -f $ac_dir/$ac_prog; then
729 if test $ac_prog = install &&
730 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
731 # AIX install. It has an incompatible calling convention.
734 ac_cv_path_install="$ac_dir/$ac_prog -c"
745 if test "${ac_cv_path_install+set}" = set; then
746 INSTALL="$ac_cv_path_install"
748 # As a last resort, use the slow shell script. We don't cache a
749 # path for INSTALL within a source directory, because that will
750 # break other packages using the cache if that directory is
751 # removed, or if the path is relative.
752 INSTALL="$ac_install_sh"
755 echo "$ac_t""$INSTALL" 1>&6
757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
758 # It thinks the first close brace ends the variable substitution.
759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
765 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
766 echo "configure:767: checking whether build environment is sane" >&5
769 echo timestamp > conftestfile
770 # Do `set' in a subshell so we don't clobber the current shell's
771 # arguments. Must try -L first in case configure is actually a
772 # symlink; some systems play weird games with the mod time of symlinks
773 # (eg FreeBSD returns the mod time of the symlink's containing
776 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
777 if test "$*" = "X"; then
779 set X `ls -t $srcdir/configure conftestfile`
781 if test "$*" != "X $srcdir/configure conftestfile" \
782 && test "$*" != "X conftestfile $srcdir/configure"; then
784 # If neither matched, then we have a broken ls. This can happen
785 # if, for instance, CONFIG_SHELL is bash and it inherits a
786 # broken ls alias from the environment. This has actually
787 # happened. Such a system could not be considered "sane".
788 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
789 alias in your environment" 1>&2; exit 1; }
792 test "$2" = conftestfile
798 { echo "configure: error: newly created file is older than distributed files!
799 Check your system clock" 1>&2; exit 1; }
802 echo "$ac_t""yes" 1>&6
803 if test "$program_transform_name" = s,x,x,; then
804 program_transform_name=
806 # Double any \ or $. echo might interpret backslashes.
807 cat <<\EOF_SED > conftestsed
808 s,\\,\\\\,g; s,\$,$$,g
810 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
813 test "$program_prefix" != NONE &&
814 program_transform_name="s,^,${program_prefix},; $program_transform_name"
815 # Use a double $ so make ignores it.
816 test "$program_suffix" != NONE &&
817 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
819 # sed with no file args requires a program.
820 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
822 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
823 echo "configure:824: checking whether ${MAKE-make} sets \${MAKE}" >&5
824 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
825 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
826 echo $ac_n "(cached) $ac_c" 1>&6
828 cat > conftestmake <<\EOF
830 @echo 'ac_maketemp="${MAKE}"'
832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
833 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
834 if test -n "$ac_maketemp"; then
835 eval ac_cv_prog_make_${ac_make}_set=yes
837 eval ac_cv_prog_make_${ac_make}_set=no
841 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
842 echo "$ac_t""yes" 1>&6
845 echo "$ac_t""no" 1>&6
846 SET_MAKE="MAKE=${MAKE-make}"
852 VERSION=$release_VERSION
854 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
855 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
857 cat >> confdefs.h <<EOF
858 #define PACKAGE "$PACKAGE"
861 cat >> confdefs.h <<EOF
862 #define VERSION "$VERSION"
867 missing_dir=`cd $ac_aux_dir && pwd`
868 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
869 echo "configure:870: checking for working aclocal" >&5
870 # Run test in a subshell; some versions of sh will print an error if
871 # an executable is not found, even if stderr is redirected.
872 # Redirect stdin to placate older versions of autoconf. Sigh.
873 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
875 echo "$ac_t""found" 1>&6
877 ACLOCAL="$missing_dir/missing aclocal"
878 echo "$ac_t""missing" 1>&6
881 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
882 echo "configure:883: checking for working autoconf" >&5
883 # Run test in a subshell; some versions of sh will print an error if
884 # an executable is not found, even if stderr is redirected.
885 # Redirect stdin to placate older versions of autoconf. Sigh.
886 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
888 echo "$ac_t""found" 1>&6
890 AUTOCONF="$missing_dir/missing autoconf"
891 echo "$ac_t""missing" 1>&6
894 echo $ac_n "checking for working automake""... $ac_c" 1>&6
895 echo "configure:896: checking for working automake" >&5
896 # Run test in a subshell; some versions of sh will print an error if
897 # an executable is not found, even if stderr is redirected.
898 # Redirect stdin to placate older versions of autoconf. Sigh.
899 if (automake --version) < /dev/null > /dev/null 2>&1; then
901 echo "$ac_t""found" 1>&6
903 AUTOMAKE="$missing_dir/missing automake"
904 echo "$ac_t""missing" 1>&6
907 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
908 echo "configure:909: checking for working autoheader" >&5
909 # Run test in a subshell; some versions of sh will print an error if
910 # an executable is not found, even if stderr is redirected.
911 # Redirect stdin to placate older versions of autoconf. Sigh.
912 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
913 AUTOHEADER=autoheader
914 echo "$ac_t""found" 1>&6
916 AUTOHEADER="$missing_dir/missing autoheader"
917 echo "$ac_t""missing" 1>&6
920 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
921 echo "configure:922: checking for working makeinfo" >&5
922 # Run test in a subshell; some versions of sh will print an error if
923 # an executable is not found, even if stderr is redirected.
924 # Redirect stdin to placate older versions of autoconf. Sigh.
925 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
927 echo "$ac_t""found" 1>&6
929 MAKEINFO="$missing_dir/missing makeinfo"
930 echo "$ac_t""missing" 1>&6
938 # Runs configure.host and configure.target, as well as finds CC, CXX
939 # and assorted other critical bits. Have to run this before the
940 # GLIBCPP_ENABLE_* macros below.
941 if test $host != $build; then
942 ac_tool_prefix=${host_alias}-
947 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
948 echo "configure:949: checking for Cygwin environment" >&5
949 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
950 echo $ac_n "(cached) $ac_c" 1>&6
952 cat > conftest.$ac_ext <<EOF
953 #line 954 "configure"
954 #include "confdefs.h"
959 #define __CYGWIN__ __CYGWIN32__
964 if { (eval echo configure:965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
968 echo "configure: failed program was:" >&5
969 cat conftest.$ac_ext >&5
977 echo "$ac_t""$ac_cv_cygwin" 1>&6
979 test "$ac_cv_cygwin" = yes && CYGWIN=yes
980 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
981 echo "configure:982: checking for mingw32 environment" >&5
982 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
983 echo $ac_n "(cached) $ac_c" 1>&6
985 cat > conftest.$ac_ext <<EOF
986 #line 987 "configure"
987 #include "confdefs.h"
993 if { (eval echo configure:994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
997 echo "configure: failed program was:" >&5
998 cat conftest.$ac_ext >&5
1006 echo "$ac_t""$ac_cv_mingw32" 1>&6
1008 test "$ac_cv_mingw32" = yes && MINGW32=yes
1010 # Check whether --enable-multilib or --disable-multilib was given.
1011 if test "${enable_multilib+set}" = set; then
1012 enableval="$enable_multilib"
1013 case "${enableval}" in
1014 yes) multilib=yes ;;
1016 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1022 # When building with srcdir == objdir, links to the source files will
1023 # be created in directories within the target_subdir. We have to
1024 # adjust toplevel_srcdir accordingly, so that configure finds
1025 # install-sh and other auxiliary files that live in the top-level
1027 if test "${srcdir}" = "."; then
1028 if test -z "${with_target_subdir}"; then
1031 if test "${with_target_subdir}" != "."; then
1032 toprel="${with_multisrctop}../.."
1034 toprel="${with_multisrctop}.."
1041 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1042 if test -f $ac_dir/install-sh; then
1044 ac_install_sh="$ac_aux_dir/install-sh -c"
1046 elif test -f $ac_dir/install.sh; then
1048 ac_install_sh="$ac_aux_dir/install.sh -c"
1052 if test -z "$ac_aux_dir"; then
1053 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1055 ac_config_guess=$ac_aux_dir/config.guess
1056 ac_config_sub=$ac_aux_dir/config.sub
1057 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1059 toplevel_srcdir=\${top_srcdir}/$toprel
1062 # Export build and source directories.
1063 # These need to be absolute paths, yet at the same time need to
1064 # canonicalize only relative paths, because then amd will not unmount
1065 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1066 glibcpp_builddir=`pwd`
1068 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1069 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1076 for ac_prog in gawk mawk nawk awk
1078 # Extract the first word of "$ac_prog", so it can be a program name with args.
1079 set dummy $ac_prog; ac_word=$2
1080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1081 echo "configure:1082: checking for $ac_word" >&5
1082 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1083 echo $ac_n "(cached) $ac_c" 1>&6
1085 if test -n "$AWK"; then
1086 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1090 for ac_dir in $ac_dummy; do
1091 test -z "$ac_dir" && ac_dir=.
1092 if test -f $ac_dir/$ac_word; then
1093 ac_cv_prog_AWK="$ac_prog"
1100 AWK="$ac_cv_prog_AWK"
1101 if test -n "$AWK"; then
1102 echo "$ac_t""$AWK" 1>&6
1104 echo "$ac_t""no" 1>&6
1107 test -n "$AWK" && break
1110 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1111 # be 'cp -p' if linking isn't available.
1112 #ac_cv_prog_LN_S='cp -p'
1113 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1114 echo "configure:1115: checking whether ln -s works" >&5
1115 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1116 echo $ac_n "(cached) $ac_c" 1>&6
1119 if ln -s X conftestdata 2>/dev/null
1122 ac_cv_prog_LN_S="ln -s"
1127 LN_S="$ac_cv_prog_LN_S"
1128 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1129 echo "$ac_t""yes" 1>&6
1131 echo "$ac_t""no" 1>&6
1135 # We use these options to decide which functions to include.
1136 # Check whether --with-target-subdir or --without-target-subdir was given.
1137 if test "${with_target_subdir+set}" = set; then
1138 withval="$with_target_subdir"
1142 # Check whether --with-cross-host or --without-cross-host was given.
1143 if test "${with_cross_host+set}" = set; then
1144 withval="$with_cross_host"
1149 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1152 # Never versions of autoconf add an underscore to these functions.
1153 # Prevent future problems ...
1161 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1162 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1163 # are probably using a cross compiler, which will not be able to fully
1164 # link an executable. This should really be fixed in autoconf
1170 # Extract the first word of "gcc", so it can be a program name with args.
1171 set dummy gcc; ac_word=$2
1172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1173 echo "configure:1174: checking for $ac_word" >&5
1174 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1175 echo $ac_n "(cached) $ac_c" 1>&6
1177 if test -n "$CC"; then
1178 ac_cv_prog_CC="$CC" # Let the user override the test.
1180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1182 for ac_dir in $ac_dummy; do
1183 test -z "$ac_dir" && ac_dir=.
1184 if test -f $ac_dir/$ac_word; then
1193 if test -n "$CC"; then
1194 echo "$ac_t""$CC" 1>&6
1196 echo "$ac_t""no" 1>&6
1199 if test -z "$CC"; then
1200 # Extract the first word of "cc", so it can be a program name with args.
1201 set dummy cc; ac_word=$2
1202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1203 echo "configure:1204: checking for $ac_word" >&5
1204 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1205 echo $ac_n "(cached) $ac_c" 1>&6
1207 if test -n "$CC"; then
1208 ac_cv_prog_CC="$CC" # Let the user override the test.
1210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1213 for ac_dir in $ac_dummy; do
1214 test -z "$ac_dir" && ac_dir=.
1215 if test -f $ac_dir/$ac_word; then
1216 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1217 ac_prog_rejected=yes
1225 if test $ac_prog_rejected = yes; then
1226 # We found a bogon in the path, so make sure we never use it.
1227 set dummy $ac_cv_prog_CC
1229 if test $# -gt 0; then
1230 # We chose a different compiler from the bogus one.
1231 # However, it has the same basename, so the bogon will be chosen
1232 # first if we set CC to just the basename; use the full file name.
1234 set dummy "$ac_dir/$ac_word" "$@"
1242 if test -n "$CC"; then
1243 echo "$ac_t""$CC" 1>&6
1245 echo "$ac_t""no" 1>&6
1248 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1251 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1252 echo "configure:1253: checking whether we are using GNU C" >&5
1253 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1254 echo $ac_n "(cached) $ac_c" 1>&6
1256 cat > conftest.c <<EOF
1261 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1268 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1270 if test $ac_cv_prog_gcc = yes; then
1272 ac_test_CFLAGS="${CFLAGS+set}"
1273 ac_save_CFLAGS="$CFLAGS"
1275 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1276 echo "configure:1277: checking whether ${CC-cc} accepts -g" >&5
1277 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 echo 'void f(){}' > conftest.c
1281 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1290 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1291 if test "$ac_test_CFLAGS" = set; then
1292 CFLAGS="$ac_save_CFLAGS"
1293 elif test $ac_cv_prog_cc_g = yes; then
1300 test "${CFLAGS+set}" = set || CFLAGS="-g"
1304 # Can't just call these here as g++ requires libstc++ to be built....
1307 # Likewise for AC_PROG_CXX.
1311 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1312 # flags that come in CXX while configuring libstdc++. They're different
1313 # from those used for all other target libraries. If CXX is set in
1314 # the environment, respect that here.
1316 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1318 # Extract the first word of "$ac_prog", so it can be a program name with args.
1319 set dummy $ac_prog; ac_word=$2
1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1321 echo "configure:1322: checking for $ac_word" >&5
1322 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1323 echo $ac_n "(cached) $ac_c" 1>&6
1325 if test -n "$glibcpp_CXX"; then
1326 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1330 for ac_dir in $ac_dummy; do
1331 test -z "$ac_dir" && ac_dir=.
1332 if test -f $ac_dir/$ac_word; then
1333 ac_cv_prog_glibcpp_CXX="$ac_prog"
1340 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1341 if test -n "$glibcpp_CXX"; then
1342 echo "$ac_t""$glibcpp_CXX" 1>&6
1344 echo "$ac_t""no" 1>&6
1347 test -n "$glibcpp_CXX" && break
1349 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1353 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1355 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1356 echo "configure:1357: checking whether we are using GNU C++" >&5
1357 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1358 echo $ac_n "(cached) $ac_c" 1>&6
1360 cat > conftest.C <<EOF
1365 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1372 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1374 if test $ac_cv_prog_gxx = yes; then
1376 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1377 ac_save_CXXFLAGS="$CXXFLAGS"
1379 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1380 echo "configure:1381: checking whether ${CXX-g++} accepts -g" >&5
1381 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1382 echo $ac_n "(cached) $ac_c" 1>&6
1384 echo 'void f(){}' > conftest.cc
1385 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1386 ac_cv_prog_cxx_g=yes
1394 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1395 if test "$ac_test_CXXFLAGS" = set; then
1396 CXXFLAGS="$ac_save_CXXFLAGS"
1397 elif test $ac_cv_prog_cxx_g = yes; then
1404 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1408 # For some reason, gettext needs this.
1410 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1411 echo "configure:1412: checking for strerror in -lcposix" >&5
1412 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1414 echo $ac_n "(cached) $ac_c" 1>&6
1416 ac_save_LIBS="$LIBS"
1417 LIBS="-lcposix $LIBS"
1418 cat > conftest.$ac_ext <<EOF
1419 #line 1420 "configure"
1420 #include "confdefs.h"
1421 /* Override any gcc2 internal prototype to avoid an error. */
1422 /* We use char because int might match the return type of a gcc2
1423 builtin and then its argument prototype would still apply. */
1430 if { (eval echo configure:1431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1432 eval "ac_cv_lib_$ac_lib_var=yes"
1434 echo "configure: failed program was:" >&5
1435 cat conftest.$ac_ext >&5
1437 eval "ac_cv_lib_$ac_lib_var=no"
1440 LIBS="$ac_save_LIBS"
1443 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1444 echo "$ac_t""yes" 1>&6
1445 LIBS="$LIBS -lcposix"
1447 echo "$ac_t""no" 1>&6
1453 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1454 set dummy ${ac_tool_prefix}as; ac_word=$2
1455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1456 echo "configure:1457: checking for $ac_word" >&5
1457 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1458 echo $ac_n "(cached) $ac_c" 1>&6
1460 if test -n "$AS"; then
1461 ac_cv_prog_AS="$AS" # Let the user override the test.
1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1465 for ac_dir in $ac_dummy; do
1466 test -z "$ac_dir" && ac_dir=.
1467 if test -f $ac_dir/$ac_word; then
1468 ac_cv_prog_AS="${ac_tool_prefix}as"
1473 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1477 if test -n "$AS"; then
1478 echo "$ac_t""$AS" 1>&6
1480 echo "$ac_t""no" 1>&6
1485 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1486 set dummy ${ac_tool_prefix}ar; ac_word=$2
1487 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1488 echo "configure:1489: checking for $ac_word" >&5
1489 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1490 echo $ac_n "(cached) $ac_c" 1>&6
1492 if test -n "$AR"; then
1493 ac_cv_prog_AR="$AR" # Let the user override the test.
1495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1497 for ac_dir in $ac_dummy; do
1498 test -z "$ac_dir" && ac_dir=.
1499 if test -f $ac_dir/$ac_word; then
1500 ac_cv_prog_AR="${ac_tool_prefix}ar"
1505 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1509 if test -n "$AR"; then
1510 echo "$ac_t""$AR" 1>&6
1512 echo "$ac_t""no" 1>&6
1517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1519 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1520 echo "configure:1521: checking for $ac_word" >&5
1521 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1522 echo $ac_n "(cached) $ac_c" 1>&6
1524 if test -n "$RANLIB"; then
1525 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1527 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1529 for ac_dir in $ac_dummy; do
1530 test -z "$ac_dir" && ac_dir=.
1531 if test -f $ac_dir/$ac_word; then
1532 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1539 RANLIB="$ac_cv_prog_RANLIB"
1540 if test -n "$RANLIB"; then
1541 echo "$ac_t""$RANLIB" 1>&6
1543 echo "$ac_t""no" 1>&6
1547 if test -z "$ac_cv_prog_RANLIB"; then
1548 if test -n "$ac_tool_prefix"; then
1549 # Extract the first word of "ranlib", so it can be a program name with args.
1550 set dummy ranlib; ac_word=$2
1551 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1552 echo "configure:1553: checking for $ac_word" >&5
1553 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1554 echo $ac_n "(cached) $ac_c" 1>&6
1556 if test -n "$RANLIB"; then
1557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1561 for ac_dir in $ac_dummy; do
1562 test -z "$ac_dir" && ac_dir=.
1563 if test -f $ac_dir/$ac_word; then
1564 ac_cv_prog_RANLIB="ranlib"
1569 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1572 RANLIB="$ac_cv_prog_RANLIB"
1573 if test -n "$RANLIB"; then
1574 echo "$ac_t""$RANLIB" 1>&6
1576 echo "$ac_t""no" 1>&6
1580 RANLIB="ranlib-not-found-in-path-error"
1584 # Find a good install program. We prefer a C program (faster),
1585 # so one script is as good as another. But avoid the broken or
1586 # incompatible versions:
1587 # SysV /etc/install, /usr/sbin/install
1588 # SunOS /usr/etc/install
1589 # IRIX /sbin/install
1591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1594 # ./install, which can be erroneously created by make from ./install.sh.
1595 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1596 echo "configure:1597: checking for a BSD compatible install" >&5
1597 if test -z "$INSTALL"; then
1598 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1599 echo $ac_n "(cached) $ac_c" 1>&6
1601 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1602 for ac_dir in $PATH; do
1603 # Account for people who put trailing slashes in PATH elements.
1605 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1607 # OSF1 and SCO ODT 3.0 have their own names for install.
1608 # Don't use installbsd from OSF since it installs stuff as root
1610 for ac_prog in ginstall scoinst install; do
1611 if test -f $ac_dir/$ac_prog; then
1612 if test $ac_prog = install &&
1613 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1614 # AIX install. It has an incompatible calling convention.
1617 ac_cv_path_install="$ac_dir/$ac_prog -c"
1628 if test "${ac_cv_path_install+set}" = set; then
1629 INSTALL="$ac_cv_path_install"
1631 # As a last resort, use the slow shell script. We don't cache a
1632 # path for INSTALL within a source directory, because that will
1633 # break other packages using the cache if that directory is
1634 # removed, or if the path is relative.
1635 INSTALL="$ac_install_sh"
1638 echo "$ac_t""$INSTALL" 1>&6
1640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1641 # It thinks the first close brace ends the variable substitution.
1642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1649 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1650 echo "configure:1651: checking whether to enable maintainer-specific portions of Makefiles" >&5
1651 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1652 if test "${enable_maintainer_mode+set}" = set; then
1653 enableval="$enable_maintainer_mode"
1654 USE_MAINTAINER_MODE=$enableval
1656 USE_MAINTAINER_MODE=no
1659 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1662 if test $USE_MAINTAINER_MODE = yes; then
1663 MAINTAINER_MODE_TRUE=
1664 MAINTAINER_MODE_FALSE='#'
1666 MAINTAINER_MODE_TRUE='#'
1667 MAINTAINER_MODE_FALSE=
1669 MAINT=$MAINTAINER_MODE_TRUE
1673 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1674 # at least currently, we never actually build a program, so we never
1675 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1676 # fails, because we are probably configuring with a cross compiler
1677 # which can't create executables. So we include AC_EXEEXT to keep
1678 # automake happy, but we don't execute it, since we don't care about
1681 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1682 # to nothing, so nothing would remain between `then' and `fi' if it
1683 # were not for the `:' below.
1687 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1688 echo "configure:1689: checking for executable suffix" >&5
1689 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1690 echo $ac_n "(cached) $ac_c" 1>&6
1692 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1696 echo 'int main () { return 0; }' > conftest.$ac_ext
1698 if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1699 for file in conftest.*; do
1701 *.c | *.o | *.obj) ;;
1702 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1706 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1709 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1714 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1715 echo "$ac_t""${ac_cv_exeext}" 1>&6
1720 . ${glibcpp_basedir}/configure.host
1722 case ${glibcpp_basedir} in
1723 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1724 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1727 # This does for the target what configure.host does for the host. In
1728 # addition to possibly modifying the same flags, it also sets up symlinks.
1730 . ${glibcpp_basedir}/configure.target
1731 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1732 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1739 # Check whether --enable-shared or --disable-shared was given.
1740 if test "${enable_shared+set}" = set; then
1741 enableval="$enable_shared"
1742 p=${PACKAGE-default}
1744 yes) enable_shared=yes ;;
1745 no) enable_shared=no ;;
1748 # Look at the argument we got. We use all the common list separators.
1749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1750 for pkg in $enableval; do
1751 if test "X$pkg" = "X$p"; then
1762 # Check whether --enable-static or --disable-static was given.
1763 if test "${enable_static+set}" = set; then
1764 enableval="$enable_static"
1765 p=${PACKAGE-default}
1767 yes) enable_static=yes ;;
1768 no) enable_static=no ;;
1771 # Look at the argument we got. We use all the common list separators.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1773 for pkg in $enableval; do
1774 if test "X$pkg" = "X$p"; then
1785 # Check whether --enable-fast-install or --disable-fast-install was given.
1786 if test "${enable_fast_install+set}" = set; then
1787 enableval="$enable_fast_install"
1788 p=${PACKAGE-default}
1790 yes) enable_fast_install=yes ;;
1791 no) enable_fast_install=no ;;
1793 enable_fast_install=no
1794 # Look at the argument we got. We use all the common list separators.
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1796 for pkg in $enableval; do
1797 if test "X$pkg" = "X$p"; then
1798 enable_fast_install=yes
1805 enable_fast_install=yes
1808 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1809 if test "${with_gnu_ld+set}" = set; then
1810 withval="$with_gnu_ld"
1811 test "$withval" = no || with_gnu_ld=yes
1817 if test "$GCC" = yes; then
1818 # Check if gcc -print-prog-name=ld gives a path.
1819 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1820 echo "configure:1821: checking for ld used by GCC" >&5
1823 # gcc leaves a trailing carriage return which upsets mingw
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1829 # Accept absolute paths.
1830 [\\/]* | [A-Za-z]:[\\/]*)
1831 re_direlt='/[^/][^/]*/\.\./'
1832 # Canonicalize the path of ld
1833 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1834 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1835 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1837 test -z "$LD" && LD="$ac_prog"
1840 # If it fails, then pretend we aren't using GCC.
1844 # If it is relative, then search for the first ld in PATH.
1848 elif test "$with_gnu_ld" = yes; then
1849 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1850 echo "configure:1851: checking for GNU ld" >&5
1852 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1853 echo "configure:1854: checking for non-GNU ld" >&5
1855 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1856 echo $ac_n "(cached) $ac_c" 1>&6
1858 if test -z "$LD"; then
1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1860 for ac_dir in $PATH; do
1861 test -z "$ac_dir" && ac_dir=.
1862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1863 lt_cv_path_LD="$ac_dir/$ac_prog"
1864 # Check to see if the program is GNU ld. I'd rather use --version,
1865 # but apparently some GNU ld's only accept -v.
1866 # Break only if it was the GNU/non-GNU ld that we prefer.
1867 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1868 test "$with_gnu_ld" != no && break
1870 test "$with_gnu_ld" != yes && break
1876 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1881 if test -n "$LD"; then
1882 echo "$ac_t""$LD" 1>&6
1884 echo "$ac_t""no" 1>&6
1886 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1887 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1888 echo "configure:1889: checking if the linker ($LD) is GNU ld" >&5
1889 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1893 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1894 lt_cv_prog_gnu_ld=yes
1896 lt_cv_prog_gnu_ld=no
1900 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1901 with_gnu_ld=$lt_cv_prog_gnu_ld
1904 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1905 echo "configure:1906: checking for $LD option to reload object files" >&5
1906 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 lt_cv_ld_reload_flag='-r'
1912 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1913 reload_flag=$lt_cv_ld_reload_flag
1914 test -n "$reload_flag" && reload_flag=" $reload_flag"
1916 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1917 echo "configure:1918: checking for BSD-compatible nm" >&5
1918 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1919 echo $ac_n "(cached) $ac_c" 1>&6
1921 if test -n "$NM"; then
1922 # Let the user override the test.
1925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1926 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1927 test -z "$ac_dir" && ac_dir=.
1928 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1929 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1930 # Check to see if the nm accepts a BSD-compat flag.
1931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1932 # nm: unknown option "B" ignored
1933 # Tru64's nm complains that /dev/null is an invalid object file
1934 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1935 lt_cv_path_NM="$tmp_nm -B"
1937 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1938 lt_cv_path_NM="$tmp_nm -p"
1941 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1942 continue # so that we can try to find one that supports BSD flags
1947 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1952 echo "$ac_t""$NM" 1>&6
1954 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1955 echo "configure:1956: checking how to recognise dependant libraries" >&5
1956 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1957 echo $ac_n "(cached) $ac_c" 1>&6
1959 lt_cv_file_magic_cmd='$MAGIC_CMD'
1960 lt_cv_file_magic_test_file=
1961 lt_cv_deplibs_check_method='unknown'
1962 # Need to set the preceding variable on all platforms that support
1963 # interlibrary dependencies.
1964 # 'none' -- dependencies not supported.
1965 # `unknown' -- same as none, but documents that we really don't know.
1966 # 'pass_all' -- all dependencies passed with no checks.
1967 # 'test_compile' -- check by making test program.
1968 # 'file_magic [regex]' -- check by looking for files in library path
1969 # which responds to the $file_magic_cmd with a given egrep regex.
1970 # If you have `file' or equivalent on your system and you're not sure
1971 # whether `pass_all' will *always* work, you probably want this one.
1975 lt_cv_deplibs_check_method=pass_all
1979 lt_cv_deplibs_check_method=pass_all
1983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1984 lt_cv_file_magic_cmd='/usr/bin/file -L'
1985 lt_cv_file_magic_test_file=/shlib/libc.so
1988 cygwin* | mingw* |pw32*)
1989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1990 lt_cv_file_magic_cmd='$OBJDUMP -f'
1993 darwin* | rhapsody*)
1994 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1995 lt_cv_file_magic_cmd='/usr/bin/file -L'
1997 rhapsody* | darwin1.012)
1998 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2001 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2010 # Not sure whether the presence of OpenBSD here was a mistake.
2011 # Let's accept both of them until this is cleared up.
2012 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2013 lt_cv_file_magic_cmd=/usr/bin/file
2014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2018 lt_cv_deplibs_check_method=pass_all
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2028 lt_cv_file_magic_cmd=/usr/bin/file
2029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2035 # this will be overridden with pass_all, but let us keep it just in case
2036 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2040 *-32|*"-32 ") libmagic=32-bit;;
2041 *-n32|*"-n32 ") libmagic=N32;;
2042 *-64|*"-64 ") libmagic=64-bit;;
2043 *) libmagic=never-match;;
2045 # this will be overridden with pass_all, but let us keep it just in case
2046 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2049 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2050 lt_cv_deplibs_check_method=pass_all
2053 # This must be Linux ELF.
2056 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2057 lt_cv_deplibs_check_method=pass_all ;;
2059 # glibc up to 2.1.1 does not perform some relocations on ARM
2060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2062 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2066 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2069 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2075 lt_cv_file_magic_cmd=/usr/bin/file
2076 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2079 osf3* | osf4* | osf5*)
2080 # this will be overridden with pass_all, but let us keep it just in case
2081 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2082 lt_cv_file_magic_test_file=/shlib/libc.so
2083 lt_cv_deplibs_check_method=pass_all
2087 lt_cv_deplibs_check_method=pass_all
2091 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_file_magic_test_file=/lib/libc.so
2095 sysv5uw[78]* | sysv4*uw2*)
2096 lt_cv_deplibs_check_method=pass_all
2099 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2100 case $host_vendor in
2102 lt_cv_deplibs_check_method=pass_all
2105 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]'
2106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2114 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2115 file_magic_cmd=$lt_cv_file_magic_cmd
2116 deplibs_check_method=$lt_cv_deplibs_check_method
2118 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2119 echo "configure:2120: checking for object suffix" >&5
2120 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2121 echo $ac_n "(cached) $ac_c" 1>&6
2124 echo 'int i = 1;' > conftest.$ac_ext
2125 if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2126 for ac_file in conftest.*; do
2129 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2133 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2138 echo "$ac_t""$ac_cv_objext" 1>&6
2139 OBJEXT=$ac_cv_objext
2140 ac_objext=$ac_cv_objext
2142 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2144 # Only perform the check for file, if the check method requires it
2145 case $deplibs_check_method in
2147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2148 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2149 echo "configure:2150: checking for ${ac_tool_prefix}file" >&5
2150 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2151 echo $ac_n "(cached) $ac_c" 1>&6
2155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2161 ac_save_MAGIC_CMD="$MAGIC_CMD"
2162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2163 ac_dummy="/usr/bin:$PATH"
2164 for ac_dir in $ac_dummy; do
2165 test -z "$ac_dir" && ac_dir=.
2166 if test -f $ac_dir/${ac_tool_prefix}file; then
2167 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2168 if test -n "$file_magic_test_file"; then
2169 case $deplibs_check_method in
2171 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2172 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2174 egrep "$file_magic_regex" > /dev/null; then
2179 *** Warning: the command libtool uses to detect shared libraries,
2180 *** $file_magic_cmd, produces output that libtool cannot recognize.
2181 *** The result is that libtool may fail to recognize shared libraries
2182 *** as such. This will affect the creation of libtool libraries that
2183 *** depend on shared libraries, but programs linked with such libtool
2184 *** libraries will work regardless of this problem. Nevertheless, you
2185 *** may want to report the problem to your system manager and/or to
2186 *** bug-libtool@gnu.org
2196 MAGIC_CMD="$ac_save_MAGIC_CMD"
2201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2202 if test -n "$MAGIC_CMD"; then
2203 echo "$ac_t""$MAGIC_CMD" 1>&6
2205 echo "$ac_t""no" 1>&6
2208 if test -z "$lt_cv_path_MAGIC_CMD"; then
2209 if test -n "$ac_tool_prefix"; then
2210 echo $ac_n "checking for file""... $ac_c" 1>&6
2211 echo "configure:2212: checking for file" >&5
2212 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2213 echo $ac_n "(cached) $ac_c" 1>&6
2217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2223 ac_save_MAGIC_CMD="$MAGIC_CMD"
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2225 ac_dummy="/usr/bin:$PATH"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/file; then
2229 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2230 if test -n "$file_magic_test_file"; then
2231 case $deplibs_check_method in
2233 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2235 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2236 egrep "$file_magic_regex" > /dev/null; then
2241 *** Warning: the command libtool uses to detect shared libraries,
2242 *** $file_magic_cmd, produces output that libtool cannot recognize.
2243 *** The result is that libtool may fail to recognize shared libraries
2244 *** as such. This will affect the creation of libtool libraries that
2245 *** depend on shared libraries, but programs linked with such libtool
2246 *** libraries will work regardless of this problem. Nevertheless, you
2247 *** may want to report the problem to your system manager and/or to
2248 *** bug-libtool@gnu.org
2258 MAGIC_CMD="$ac_save_MAGIC_CMD"
2263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2264 if test -n "$MAGIC_CMD"; then
2265 echo "$ac_t""$MAGIC_CMD" 1>&6
2267 echo "$ac_t""no" 1>&6
2279 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2282 echo "configure:2283: checking for $ac_word" >&5
2283 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2284 echo $ac_n "(cached) $ac_c" 1>&6
2286 if test -n "$RANLIB"; then
2287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2289 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2291 for ac_dir in $ac_dummy; do
2292 test -z "$ac_dir" && ac_dir=.
2293 if test -f $ac_dir/$ac_word; then
2294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2301 RANLIB="$ac_cv_prog_RANLIB"
2302 if test -n "$RANLIB"; then
2303 echo "$ac_t""$RANLIB" 1>&6
2305 echo "$ac_t""no" 1>&6
2309 if test -z "$ac_cv_prog_RANLIB"; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "ranlib", so it can be a program name with args.
2312 set dummy ranlib; ac_word=$2
2313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2314 echo "configure:2315: checking for $ac_word" >&5
2315 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2316 echo $ac_n "(cached) $ac_c" 1>&6
2318 if test -n "$RANLIB"; then
2319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2323 for ac_dir in $ac_dummy; do
2324 test -z "$ac_dir" && ac_dir=.
2325 if test -f $ac_dir/$ac_word; then
2326 ac_cv_prog_RANLIB="ranlib"
2331 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2334 RANLIB="$ac_cv_prog_RANLIB"
2335 if test -n "$RANLIB"; then
2336 echo "$ac_t""$RANLIB" 1>&6
2338 echo "$ac_t""no" 1>&6
2346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
2348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2349 echo "configure:2350: checking for $ac_word" >&5
2350 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2358 for ac_dir in $ac_dummy; do
2359 test -z "$ac_dir" && ac_dir=.
2360 if test -f $ac_dir/$ac_word; then
2361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2368 STRIP="$ac_cv_prog_STRIP"
2369 if test -n "$STRIP"; then
2370 echo "$ac_t""$STRIP" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 if test -z "$ac_cv_prog_STRIP"; then
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "strip", so it can be a program name with args.
2379 set dummy strip; ac_word=$2
2380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2381 echo "configure:2382: checking for $ac_word" >&5
2382 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2383 echo $ac_n "(cached) $ac_c" 1>&6
2385 if test -n "$STRIP"; then
2386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2390 for ac_dir in $ac_dummy; do
2391 test -z "$ac_dir" && ac_dir=.
2392 if test -f $ac_dir/$ac_word; then
2393 ac_cv_prog_STRIP="strip"
2398 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2401 STRIP="$ac_cv_prog_STRIP"
2402 if test -n "$STRIP"; then
2403 echo "$ac_t""$STRIP" 1>&6
2405 echo "$ac_t""no" 1>&6
2414 # Check for any special flags to pass to ltconfig.
2415 libtool_flags="--cache-file=$cache_file"
2416 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2417 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2418 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2419 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2420 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2421 libtool_flags="$libtool_flags --enable-dlopen"
2423 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2424 if test "${enable_libtool_lock+set}" = set; then
2425 enableval="$enable_libtool_lock"
2429 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2430 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2432 # Check whether --with-pic or --without-pic was given.
2433 if test "${with_pic+set}" = set; then
2440 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2441 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2443 # Some flags need to be propagated to the compiler or linker for good
2447 # Find out which ABI we are using.
2448 echo '#line 2449 "configure"' > conftest.$ac_ext
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 case `/usr/bin/file conftest.$ac_objext` in
2466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2467 SAVE_CFLAGS="$CFLAGS"
2468 CFLAGS="$CFLAGS -belf"
2469 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2470 echo "configure:2471: checking whether the C compiler needs -belf" >&5
2471 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2472 echo $ac_n "(cached) $ac_c" 1>&6
2476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2480 cross_compiling=$ac_cv_prog_cc_cross
2482 cat > conftest.$ac_ext <<EOF
2483 #line 2484 "configure"
2484 #include "confdefs.h"
2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2492 lt_cv_cc_needs_belf=yes
2494 echo "configure: failed program was:" >&5
2495 cat conftest.$ac_ext >&5
2497 lt_cv_cc_needs_belf=no
2501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2502 ac_cpp='$CPP $CPPFLAGS'
2503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2505 cross_compiling=$ac_cv_prog_cc_cross
2509 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2510 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2511 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2512 CFLAGS="$SAVE_CFLAGS"
2519 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2520 echo "configure:2521: checking how to run the C++ preprocessor" >&5
2521 if test -z "$CXXCPP"; then
2522 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2523 echo $ac_n "(cached) $ac_c" 1>&6
2526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2527 ac_cpp='$CXXCPP $CPPFLAGS'
2528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2530 cross_compiling=$ac_cv_prog_cxx_cross
2531 CXXCPP="${CXX-g++} -E"
2532 cat > conftest.$ac_ext <<EOF
2533 #line 2534 "configure"
2534 #include "confdefs.h"
2537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2538 { (eval echo configure:2539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2540 if test -z "$ac_err"; then
2544 echo "configure: failed program was:" >&5
2545 cat conftest.$ac_ext >&5
2550 ac_cv_prog_CXXCPP="$CXXCPP"
2552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2556 cross_compiling=$ac_cv_prog_cc_cross
2559 CXXCPP="$ac_cv_prog_CXXCPP"
2560 echo "$ac_t""$CXXCPP" 1>&6
2563 # Save cache, so that ltconfig can load it
2564 cat > confcache <<\EOF
2565 # This file is a shell script that caches the results of configure
2566 # tests run on this system so they can be shared between configure
2567 # scripts and configure runs. It is not useful on other systems.
2568 # If it contains results you don't want to keep, you may remove or edit it.
2570 # By default, configure uses ./config.cache as the cache file,
2571 # creating it if it does not exist already. You can give configure
2572 # the --cache-file=FILE option to use a different cache file; that is
2573 # what configure does when it calls configure scripts in
2574 # subdirectories, so they share the cache.
2575 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2576 # config.status only pays attention to the cache file if you give it the
2577 # --recheck option to rerun configure.
2580 # The following way of writing the cache mishandles newlines in values,
2581 # but we know of no workaround that is simple, portable, and efficient.
2582 # So, don't put newlines in cache variables' values.
2583 # Ultrix sh set writes to stderr and can't be redirected directly,
2584 # and sets the high bit in the cache file unless we assign to the vars.
2586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2588 # `set' does not quote correctly, so add quotes (double-quote substitution
2589 # turns \\\\ into \\, and sed turns \\ into \).
2591 -e "s/'/'\\\\''/g" \
2592 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2595 # `set' quotes correctly as required by POSIX, so do not add quotes.
2596 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2599 if cmp -s $cache_file confcache; then
2602 if test -w $cache_file; then
2603 echo "updating cache $cache_file"
2604 cat confcache > $cache_file
2606 echo "not updating unwritable cache $cache_file"
2612 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2613 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2614 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2615 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2616 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2617 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2618 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2620 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2621 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2623 # Reload cache, that may have been modified by ltconfig
2624 if test -r "$cache_file"; then
2625 echo "loading cache $cache_file"
2628 echo "creating cache $cache_file"
2633 # This can be used to rebuild libtool when needed
2634 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2636 # Always use our own libtool.
2637 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2639 # Redirect the config.log output again, so that the ltconfig log is not
2640 # clobbered by the next message.
2641 exec 5>>./config.log
2645 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2647 lt_save_CFLAGS="$CFLAGS"
2648 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2649 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2650 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2651 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2652 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2653 deplibs_check_method="$deplibs_check_method" \
2654 file_magic_cmd="$file_magic_cmd" \
2655 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2656 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2657 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2659 CFLAGS="$lt_save_CFLAGS"
2661 # Redirect the config.log output again, so that the ltconfig log is not
2662 # clobbered by the next message.
2663 exec 5>>./config.log
2673 # Check for c++ or library specific bits that don't require linking.
2674 #GLIBCPP_CHECK_COMPILER_VERSION
2675 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2676 echo "configure:2677: checking for GNU make" >&5
2677 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2678 echo $ac_n "(cached) $ac_c" 1>&6
2680 _cv_gnu_make_command='' ;
2681 for a in "${MAKE-make}" make gmake gnumake ; do
2682 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2684 _cv_gnu_make_command=$a ;
2691 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2692 if test "x$_cv_gnu_make_command" != "x" ; then
2700 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2701 # Check whether --enable-debug or --disable-debug was given.
2702 if test "${enable_debug+set}" = set; then
2703 enableval="$enable_debug"
2704 case "${enableval}" in
2705 yes) enable_debug=yes ;;
2706 no) enable_debug=no ;;
2707 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2713 case "${enable_debug}" in
2715 DEBUG_FLAGS='-O0 -ggdb3'
2723 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2724 echo "configure:2725: checking how to run the C preprocessor" >&5
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2731 echo $ac_n "(cached) $ac_c" 1>&6
2733 # This must be in double quotes, not single quotes, because CPP may get
2734 # substituted into the Makefile and "${CC-cc}" will confuse make.
2736 # On the NeXT, cc -E runs the code through the compiler's parser,
2737 # not just through cpp.
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure"
2740 #include "confdefs.h"
2744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2747 if test -z "$ac_err"; then
2751 echo "configure: failed program was:" >&5
2752 cat conftest.$ac_ext >&5
2754 CPP="${CC-cc} -E -traditional-cpp"
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2764 if test -z "$ac_err"; then
2768 echo "configure: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2771 CPP="${CC-cc} -nologo -E"
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure"
2774 #include "confdefs.h"
2778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2781 if test -z "$ac_err"; then
2785 echo "configure: failed program was:" >&5
2786 cat conftest.$ac_ext >&5
2795 ac_cv_prog_CPP="$CPP"
2797 CPP="$ac_cv_prog_CPP"
2799 ac_cv_prog_CPP="$CPP"
2801 echo "$ac_t""$CPP" 1>&6
2804 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2805 echo "configure:2806: checking for cstdio to use" >&5
2806 # Check whether --enable-cstdio or --disable-cstdio was given.
2807 if test "${enable_cstdio+set}" = set; then
2808 enableval="$enable_cstdio"
2809 if test x$enable_cstdio = xno; then
2817 enable_cstdio_flag=$enable_cstdio
2819 case x${enable_cstdio_flag} in
2821 CSTDIO_H=config/io/c_io_libio.h
2822 BASIC_FILE_H=config/io/basic_file_libio.h
2823 BASIC_FILE_CC=config/io/basic_file_libio.cc
2824 echo "$ac_t""libio" 1>&6
2826 # see if we are on a system with libio native (ie, linux)
2827 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2828 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2829 echo "configure:2830: checking for libio.h" >&5
2830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2831 echo $ac_n "(cached) $ac_c" 1>&6
2833 cat > conftest.$ac_ext <<EOF
2834 #line 2835 "configure"
2835 #include "confdefs.h"
2838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2839 { (eval echo configure:2840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2841 if test -z "$ac_err"; then
2843 eval "ac_cv_header_$ac_safe=yes"
2846 echo "configure: failed program was:" >&5
2847 cat conftest.$ac_ext >&5
2849 eval "ac_cv_header_$ac_safe=no"
2853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2854 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2862 # Need to check and see what version of glibc is being used. If
2863 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2864 # compile most of libio for linux systems.
2865 if test x$has_libio = x"yes"; then
2868 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2869 echo "configure:2870: checking for glibc version >= 2.2" >&5
2870 cat > conftest.$ac_ext <<EOF
2871 #line 2872 "configure"
2872 #include "confdefs.h"
2874 #include <features.h>
2875 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2881 egrep "ok" >/dev/null 2>&1; then
2883 glibc_satisfactory=yes
2886 glibc_satisfactory=no
2890 echo "$ac_t""$glibc_satisfactory" 1>&6
2894 # XXX at the moment, admit defeat and force the recompilation
2895 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2896 glibc_satisfactory=no
2898 if test x$glibc_satisfactory = x"yes"; then
2903 # bkoz XXX need to add checks to enable this
2904 # pme XXX here's a first pass at such a check
2905 if test x$enable_c_mbchar != xno; then
2913 # Using libio, but <libio.h> doesn't exist on the target system. . .
2915 # bkoz XXX need to add checks to enable this
2916 # pme XXX here's a first pass at such a check
2917 if test x$enable_c_mbchar != xno; then
2924 xstdio | x | xno | xnone | xyes)
2926 CSTDIO_H=config/io/c_io_stdio.h
2927 BASIC_FILE_H=config/io/basic_file_stdio.h
2928 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2929 echo "$ac_t""stdio" 1>&6
2931 # We're not using stdio.
2936 echo "$enable_cstdio is an unknown io package" 1>&2
2944 # 2000-08-04 bkoz hack
2945 CCODECVT_C=config/io/c_io_libio_codecvt.c
2947 # 2000-08-04 bkoz hack
2951 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2952 GLIBCPP_BUILD_LIBIO_TRUE=
2953 GLIBCPP_BUILD_LIBIO_FALSE='#'
2955 GLIBCPP_BUILD_LIBIO_TRUE='#'
2956 GLIBCPP_BUILD_LIBIO_FALSE=
2960 if test "$need_libio" = yes; then
2961 GLIBCPP_NEED_LIBIO_TRUE=
2962 GLIBCPP_NEED_LIBIO_FALSE='#'
2964 GLIBCPP_NEED_LIBIO_TRUE='#'
2965 GLIBCPP_NEED_LIBIO_FALSE=
2969 if test "$need_wlibio" = yes; then
2970 GLIBCPP_NEED_WLIBIO_TRUE=
2971 GLIBCPP_NEED_WLIBIO_FALSE='#'
2973 GLIBCPP_NEED_WLIBIO_TRUE='#'
2974 GLIBCPP_NEED_WLIBIO_FALSE=
2976 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2977 libio_la=../libio/libio.la
2984 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2985 echo "configure:2986: checking for clocale to use" >&5
2986 # Check whether --enable-clocale or --disable-clocale was given.
2987 if test "${enable_clocale+set}" = set; then
2988 enableval="$enable_clocale"
2989 if test x$enable_clocale = xno; then
2997 enable_clocale_flag=$enable_clocale
2999 if test x$enable_clocale_flag = xno; then
3000 case x${target_os} in
3002 cat > conftest.$ac_ext <<EOF
3003 #line 3004 "configure"
3004 #include "confdefs.h"
3006 #include <features.h>
3007 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3013 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3015 enable_clocale_flag=gnu
3018 enable_clocale_flag=generic
3023 # Test for bugs early in glibc-2.2.x series
3024 if test x$enable_clocale_flag = xgnu; then
3025 if test "$cross_compiling" = yes; then
3026 enable_clocale_flag=generic
3028 cat > conftest.$ac_ext <<EOF
3029 #line 3030 "configure"
3030 #include "confdefs.h"
3032 #define _GNU_SOURCE 1
3036 const char __one[] = "Äuglein Augmen";
3037 const char __two[] = "Äuglein";
3042 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3043 loc_dup = __duplocale(loc);
3044 i = __strcoll_l(__one, __two, loc);
3045 j = __strcoll_l(__one, __two, loc_dup);
3050 if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3052 enable_clocale_flag=gnu
3054 echo "configure: failed program was:" >&5
3055 cat conftest.$ac_ext >&5
3057 enable_clocale_flag=generic
3064 # ... at some point put __strxfrm_l tests in as well.
3067 enable_clocale_flag=generic
3072 case x${enable_clocale_flag} in
3074 echo "$ac_t""generic" 1>&6
3076 # Don't use gettext.
3079 CLOCALE_H=config/locale/generic/c_locale.h
3080 CLOCALE_CC=config/locale/generic/c_locale.cc
3081 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3082 CCOLLATE_CC=config/locale/generic/collate_members.cc
3083 CCTYPE_CC=config/locale/generic/ctype_members.cc
3084 CMESSAGES_H=config/locale/generic/messages_members.h
3085 CMESSAGES_CC=config/locale/generic/messages_members.cc
3086 CMONEY_CC=config/locale/generic/monetary_members.cc
3087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3088 CTIME_CC=config/locale/generic/time_members.cc
3091 echo "$ac_t""gnu" 1>&6
3093 # Declare intention to use gettext, and add support for specific
3095 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3097 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3098 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3101 # Export the build objects.
3102 for ling in $ALL_LINGUAS; do \
3103 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3104 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3109 CLOCALE_H=config/locale/gnu/c_locale.h
3110 CLOCALE_CC=config/locale/gnu/c_locale.cc
3111 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3112 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3113 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3114 CMESSAGES_H=config/locale/gnu/messages_members.h
3115 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3116 CMONEY_CC=config/locale/gnu/monetary_members.cc
3117 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3118 CTIME_CC=config/locale/gnu/time_members.cc
3121 echo "$ac_t""generic" 1>&6
3123 # Don't use gettext.
3126 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3127 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3128 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3129 CCOLLATE_CC=config/locale/generic/collate_members.cc
3130 CCTYPE_CC=config/locale/generic/ctype_members.cc
3131 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3132 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3133 CMONEY_CC=config/locale/generic/monetary_members.cc
3134 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3135 CTIME_CC=config/locale/generic/time_members.cc
3138 echo "$enable_clocale is an unknown locale package" 1>&2
3143 # This is where the testsuite looks for locale catalogs, using the
3144 # -DLOCALEDIR define during testsuite compilation.
3145 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3160 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3161 if test "${enable_c_mbchar+set}" = set; then
3162 enableval="$enable_c_mbchar"
3163 case "$enableval" in
3164 yes) enable_c_mbchar=yes ;;
3165 no) enable_c_mbchar=no ;;
3166 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3173 # Check whether --enable-c99 or --disable-c99 was given.
3174 if test "${enable_c99+set}" = set; then
3175 enableval="$enable_c99"
3176 case "$enableval" in
3177 yes) enable_c99=yes ;;
3178 no) enable_c99=no ;;
3179 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3188 ac_cpp='$CXXCPP $CPPFLAGS'
3189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3191 cross_compiling=$ac_cv_prog_cxx_cross
3194 # Check for the existence of <math.h> functions used if C99 is enabled.
3196 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3197 echo "configure:3198: checking for ISO C99 support in <math.h>" >&5
3198 cat > conftest.$ac_ext <<EOF
3199 #line 3200 "configure"
3200 #include "confdefs.h"
3206 if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3209 echo "configure: failed program was:" >&5
3210 cat conftest.$ac_ext >&5
3215 cat > conftest.$ac_ext <<EOF
3216 #line 3217 "configure"
3217 #include "confdefs.h"
3223 if { (eval echo configure:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3226 echo "configure: failed program was:" >&5
3227 cat conftest.$ac_ext >&5
3232 cat > conftest.$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3240 if { (eval echo configure:3241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3243 echo "configure: failed program was:" >&5
3244 cat conftest.$ac_ext >&5
3249 cat > conftest.$ac_ext <<EOF
3250 #line 3251 "configure"
3251 #include "confdefs.h"
3257 if { (eval echo configure:3258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3260 echo "configure: failed program was:" >&5
3261 cat conftest.$ac_ext >&5
3266 cat > conftest.$ac_ext <<EOF
3267 #line 3268 "configure"
3268 #include "confdefs.h"
3274 if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 echo "configure: failed program was:" >&5
3278 cat conftest.$ac_ext >&5
3283 cat > conftest.$ac_ext <<EOF
3284 #line 3285 "configure"
3285 #include "confdefs.h"
3291 if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3294 echo "configure: failed program was:" >&5
3295 cat conftest.$ac_ext >&5
3300 cat > conftest.$ac_ext <<EOF
3301 #line 3302 "configure"
3302 #include "confdefs.h"
3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3311 echo "configure: failed program was:" >&5
3312 cat conftest.$ac_ext >&5
3317 cat > conftest.$ac_ext <<EOF
3318 #line 3319 "configure"
3319 #include "confdefs.h"
3322 isgreaterequal(0.0,0.0);
3325 if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3328 echo "configure: failed program was:" >&5
3329 cat conftest.$ac_ext >&5
3334 cat > conftest.$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3345 echo "configure: failed program was:" >&5
3346 cat conftest.$ac_ext >&5
3351 cat > conftest.$ac_ext <<EOF
3352 #line 3353 "configure"
3353 #include "confdefs.h"
3356 islessequal(0.0,0.0);
3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3362 echo "configure: failed program was:" >&5
3363 cat conftest.$ac_ext >&5
3368 cat > conftest.$ac_ext <<EOF
3369 #line 3370 "configure"
3370 #include "confdefs.h"
3373 islessgreater(0.0,0.0);
3376 if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3379 echo "configure: failed program was:" >&5
3380 cat conftest.$ac_ext >&5
3385 cat > conftest.$ac_ext <<EOF
3386 #line 3387 "configure"
3387 #include "confdefs.h"
3390 isunordered(0.0,0.0);
3393 if { (eval echo configure:3394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3396 echo "configure: failed program was:" >&5
3397 cat conftest.$ac_ext >&5
3402 echo "$ac_t""$ac_c99_math" 1>&6
3404 # Check for the existence in <stdio.h> of vscanf, et. al.
3406 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3407 echo "configure:3408: checking for ISO C99 support in <stdio.h>" >&5
3408 cat > conftest.$ac_ext <<EOF
3409 #line 3410 "configure"
3410 #include "confdefs.h"
3413 snprintf("12", 0, "%i");
3416 if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3419 echo "configure: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3425 cat > conftest.$ac_ext <<EOF
3426 #line 3427 "configure"
3427 #include "confdefs.h"
3430 void foo(char* fmt, ...)
3431 {va_list args; va_start(args, fmt);
3432 vfscanf(stderr, "%i", args);}
3437 if { (eval echo configure:3438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440 echo "configure: failed program was:" >&5
3441 cat conftest.$ac_ext >&5
3446 cat > conftest.$ac_ext <<EOF
3447 #line 3448 "configure"
3448 #include "confdefs.h"
3451 void foo(char* fmt, ...)
3452 {va_list args; va_start(args, fmt);
3453 vscanf("%i", args);}
3458 if { (eval echo configure:3459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3461 echo "configure: failed program was:" >&5
3462 cat conftest.$ac_ext >&5
3467 cat > conftest.$ac_ext <<EOF
3468 #line 3469 "configure"
3469 #include "confdefs.h"
3472 void foo(char* fmt, ...)
3473 {va_list args; va_start(args, fmt);
3474 vsnprintf(fmt, 0, "%i", args);}
3479 if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3482 echo "configure: failed program was:" >&5
3483 cat conftest.$ac_ext >&5
3488 cat > conftest.$ac_ext <<EOF
3489 #line 3490 "configure"
3490 #include "confdefs.h"
3493 void foo(char* fmt, ...)
3494 {va_list args; va_start(args, fmt);
3495 vsscanf(fmt, "%i", args);}
3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3503 echo "configure: failed program was:" >&5
3504 cat conftest.$ac_ext >&5
3509 echo "$ac_t""$ac_c99_stdio" 1>&6
3511 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3513 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3514 echo "configure:3515: checking for lldiv_t declaration" >&5
3515 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3516 echo $ac_n "(cached) $ac_c" 1>&6
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3531 echo "configure: failed program was:" >&5
3532 cat conftest.$ac_ext >&5
3540 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3542 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3543 echo "configure:3544: checking for ISO C99 support in <stdlib.h>" >&5
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3549 char* tmp; strtof("gnu", &tmp);
3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3555 echo "configure: failed program was:" >&5
3556 cat conftest.$ac_ext >&5
3561 cat > conftest.$ac_ext <<EOF
3562 #line 3563 "configure"
3563 #include "confdefs.h"
3566 char* tmp; strtold("gnu", &tmp);
3569 if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3578 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure"
3580 #include "confdefs.h"
3586 if { (eval echo configure:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3589 echo "configure: failed program was:" >&5
3590 cat conftest.$ac_ext >&5
3595 cat > conftest.$ac_ext <<EOF
3596 #line 3597 "configure"
3597 #include "confdefs.h"
3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3606 echo "configure: failed program was:" >&5
3607 cat conftest.$ac_ext >&5
3612 cat > conftest.$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3620 if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3623 echo "configure: failed program was:" >&5
3624 cat conftest.$ac_ext >&5
3629 cat > conftest.$ac_ext <<EOF
3630 #line 3631 "configure"
3631 #include "confdefs.h"
3637 if { (eval echo configure:3638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3640 echo "configure: failed program was:" >&5
3641 cat conftest.$ac_ext >&5
3646 if test x"$ac_c99_lldiv_t" = x"no"; then
3649 echo "$ac_t""$ac_c99_stdlib" 1>&6
3651 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3652 # XXX the wchar.h checks should be rolled into the general C99 bits.
3654 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3655 echo "configure:3656: checking for additional ISO C99 support in <wchar.h>" >&5
3656 cat > conftest.$ac_ext <<EOF
3657 #line 3658 "configure"
3658 #include "confdefs.h"
3661 wcstold(L"10.0", NULL);
3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3667 echo "configure: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3673 cat > conftest.$ac_ext <<EOF
3674 #line 3675 "configure"
3675 #include "confdefs.h"
3678 wcstoll(L"10", NULL, 10);
3681 if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3684 echo "configure: failed program was:" >&5
3685 cat conftest.$ac_ext >&5
3690 cat > conftest.$ac_ext <<EOF
3691 #line 3692 "configure"
3692 #include "confdefs.h"
3695 wcstoull(L"10", NULL, 10);
3698 if { (eval echo configure:3699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3701 echo "configure: failed program was:" >&5
3702 cat conftest.$ac_ext >&5
3707 echo "$ac_t""$ac_c99_wchar" 1>&6
3709 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3710 echo "configure:3711: checking for enabled ISO C99 support" >&5
3711 if test x"$ac_c99_math" = x"no" ||
3712 test x"$ac_c99_stdio" = x"no" ||
3713 test x"$ac_c99_stdlib" = x"no" ||
3714 test x"$ac_c99_wchar" = x"no"; then
3717 echo "$ac_t""$enable_c99" 1>&6
3719 # Option parsed, now set things appropriately
3720 if test x"$enable_c99" = x"yes"; then
3721 cat >> confdefs.h <<\EOF
3722 #define _GLIBCPP_USE_C99 1
3728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3732 cross_compiling=$ac_cv_prog_cc_cross
3736 # Check whether --enable-long-long or --disable-long-long was given.
3737 if test "${enable_long_long+set}" = set; then
3738 enableval="$enable_long_long"
3739 case "$enableval" in
3740 yes) enable_long_long=yes ;;
3741 no) enable_long_long=no ;;
3742 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3745 enable_long_long=yes
3750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3751 ac_cpp='$CXXCPP $CPPFLAGS'
3752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3754 cross_compiling=$ac_cv_prog_cxx_cross
3757 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3758 echo "configure:3759: checking for enabled long long I/O support" >&5
3759 # iostreams require strtoll, strtoull to compile
3760 cat > conftest.$ac_ext <<EOF
3761 #line 3762 "configure"
3762 #include "confdefs.h"
3765 char* tmp; strtoll("gnu", &tmp, 10);
3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3771 echo "configure: failed program was:" >&5
3772 cat conftest.$ac_ext >&5
3777 cat > conftest.$ac_ext <<EOF
3778 #line 3779 "configure"
3779 #include "confdefs.h"
3782 char* tmp; strtoull("gnu", &tmp, 10);
3785 if { (eval echo configure:3786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3788 echo "configure: failed program was:" >&5
3789 cat conftest.$ac_ext >&5
3795 # Option parsed, now set things appropriately
3796 if test x"$enable_long_long" = xyes; then
3797 cat >> confdefs.h <<\EOF
3798 #define _GLIBCPP_USE_LONG_LONG 1
3802 echo "$ac_t""$enable_long_long" 1>&6
3805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3809 cross_compiling=$ac_cv_prog_cc_cross
3812 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3813 echo "configure:3814: checking for c header strategy to use" >&5
3814 # Check whether --enable-cheaders or --disable-cheaders was given.
3815 if test "${enable_cheaders+set}" = set; then
3816 enableval="$enable_cheaders"
3818 case "$enableval" in
3823 enable_cheaders=c_std
3826 enable_cheaders=c_shadow
3828 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3832 enable_cheaders=c_std
3835 echo "$ac_t""$enable_cheaders" 1>&6
3837 case "$enable_cheaders" in
3839 CSHADOW_FLAGS="-fno-builtin"
3840 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3841 cat >> confdefs.h <<\EOF
3842 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3848 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3852 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3860 if test "$enable_cheaders" = c_shadow; then
3861 GLIBCPP_USE_CSHADOW_TRUE=
3862 GLIBCPP_USE_CSHADOW_FALSE='#'
3864 GLIBCPP_USE_CSHADOW_TRUE='#'
3865 GLIBCPP_USE_CSHADOW_FALSE=
3869 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3870 echo "configure:3871: checking for thread model used by GCC" >&5
3871 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3872 echo "$ac_t""$target_thread_file" 1>&6
3874 if test $target_thread_file != single; then
3875 cat >> confdefs.h <<\EOF
3876 #define HAVE_GTHR_DEFAULT 1
3879 cat >> confdefs.h <<\EOF
3880 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3885 glibcpp_thread_h=gthr-$target_thread_file.h
3888 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3889 if test "${enable_cxx_flags+set}" = set; then
3890 enableval="$enable_cxx_flags"
3891 case "x$enableval" in
3893 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3895 enable_cxx_flags='' ;;
3897 enable_cxx_flags="$enableval" ;;
3900 enable_cxx_flags='none'
3904 if test "$enable_cxx_flags" = "none"; then
3905 enable_cxx_flags='';
3908 if test -n "$enable_cxx_flags"; then
3909 for f in $enable_cxx_flags; do
3913 *) # and we're trying to pass /what/ exactly?
3914 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3918 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3922 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3923 echo "configure:3924: checking for exception model to use" >&5
3926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3927 ac_cpp='$CXXCPP $CPPFLAGS'
3928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3930 cross_compiling=$ac_cv_prog_cxx_cross
3932 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3933 if test "${enable_sjlj_exceptions+set}" = set; then
3934 enableval="$enable_sjlj_exceptions"
3937 cat > conftest.$ac_ext << EOF
3938 #line 3939 "configure"
3947 old_CXXFLAGS="$CXXFLAGS"
3949 if { (eval echo configure:3950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3950 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3951 enable_sjlj_exceptions=yes
3952 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3953 enable_sjlj_exceptions=no
3956 CXXFLAGS="$old_CXXFLAGS"
3960 if test x$enable_sjlj_exceptions = xyes; then
3961 cat >> confdefs.h <<\EOF
3962 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3965 ac_exception_model_name=sjlj
3966 elif test x$enable_sjlj_exceptions = xno; then
3967 ac_exception_model_name="call frame"
3969 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3973 ac_cpp='$CPP $CPPFLAGS'
3974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3976 cross_compiling=$ac_cv_prog_cc_cross
3978 echo "$ac_t""$ac_exception_model_name" 1>&6
3980 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3981 if test "${enable_concept_checks+set}" = set; then
3982 enableval="$enable_concept_checks"
3983 case "$enableval" in
3984 yes) enable_concept_checks=yes ;;
3985 no) enable_concept_checks=no ;;
3986 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3989 enable_concept_checks=no
3991 if test x"$enable_concept_checks" = xyes; then
3992 cat >> confdefs.h <<\EOF
3993 #define _GLIBCPP_CONCEPT_CHECKS 1
4000 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4002 # This lets us hard-code the functionality we know
4003 # we'll have in the cross target environment. "Let" is a
4004 # sugar-coated word placed on an especially dull and tedious hack, actually.
4005 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4006 # that involve linking can't be used:
4007 # "cannot open sim-crt0.o"
4008 # "cannot open crt0.o"
4009 # etc. All this is because there currently exists no unified,
4010 # consistent way for top level CC information to be passed down
4011 # to target directories: newlib includes, newlib linking info,
4012 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4013 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4015 # We are being configured with some form of cross compiler.
4016 GLIBCPP_IS_CROSS_COMPILING=1
4018 # If Canadian cross, then don't pick up tools from the build
4020 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4026 # Construct crosses by hand, eliminating bits that need ld...
4027 # GLIBCPP_CHECK_COMPILER_FEATURES
4028 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4029 # GLIBCPP_CHECK_MATH_SUPPORT
4031 case "$target_alias" in
4033 # Check for available headers.
4034 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4035 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4036 fp.h locale.h float.h inttypes.h
4038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4040 echo "configure:4041: checking for $ac_hdr" >&5
4041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4042 echo $ac_n "(cached) $ac_c" 1>&6
4044 cat > conftest.$ac_ext <<EOF
4045 #line 4046 "configure"
4046 #include "confdefs.h"
4049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4050 { (eval echo configure:4051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4052 if test -z "$ac_err"; then
4054 eval "ac_cv_header_$ac_safe=yes"
4057 echo "configure: failed program was:" >&5
4058 cat conftest.$ac_ext >&5
4060 eval "ac_cv_header_$ac_safe=no"
4064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4065 echo "$ac_t""yes" 1>&6
4066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4067 cat >> confdefs.h <<EOF
4068 #define $ac_tr_hdr 1
4072 echo "$ac_t""no" 1>&6
4076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4079 # If we're not using GNU ld, then there's no point in even trying these
4080 # tests. Check for that first. We should have already tested for gld
4081 # by now (in libtool), but require it now just to be safe...
4082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4086 # The name set by libtool depends on the version of libtool. Shame on us
4087 # for depending on an impl detail, but c'est la vie. Older versions used
4088 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4089 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4090 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4091 # set (hence we're using an older libtool), then set it.
4092 if test x${with_gnu_ld+set} != xset; then
4093 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4094 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4097 with_gnu_ld=$ac_cv_prog_gnu_ld
4101 # Start by getting the version number. I think the libtool test already
4102 # does some of this, but throws away the result.
4104 ldver=`$LD --version 2>/dev/null | head -1 | \
4105 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4107 glibcpp_gnu_ld_version=`echo $ldver | \
4108 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4110 # Set --gc-sections.
4111 if test "$with_gnu_ld" = "notbroken"; then
4112 # GNU ld it is! Joy and bunny rabbits!
4114 # All these tests are for C++; save the language and the compiler flags.
4115 # Need to do this so that g++ won't try to link in libstdc++
4116 ac_test_CFLAGS="${CFLAGS+set}"
4117 ac_save_CFLAGS="$CFLAGS"
4118 CFLAGS='-x c++ -Wl,--gc-sections'
4120 # Check for -Wl,--gc-sections
4121 # XXX This test is broken at the moment, as symbols required for
4122 # linking are now in libsupc++ (not built yet.....). In addition,
4123 # this test has cored on solaris in the past. In addition,
4124 # --gc-sections doesn't really work at the moment (keeps on discarding
4125 # used sections, first .eh_frame and now some of the glibc sections for
4126 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4127 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4128 echo "configure:4129: checking for ld that supports -Wl,--gc-sections" >&5
4129 if test "$cross_compiling" = yes; then
4130 ac_sectionLDflags=yes
4132 cat > conftest.$ac_ext <<EOF
4133 #line 4134 "configure"
4134 #include "confdefs.h"
4144 if { (eval echo configure:4145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4146 ac_sectionLDflags=yes
4148 echo "configure: failed program was:" >&5
4149 cat conftest.$ac_ext >&5
4151 ac_sectionLDflags=no
4156 if test "$ac_test_CFLAGS" = set; then
4157 CFLAGS="$ac_save_CFLAGS"
4159 # this is the suspicious part
4162 if test "$ac_sectionLDflags" = "yes"; then
4163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4165 echo "$ac_t""$ac_sectionLDflags" 1>&6
4168 # Set linker optimization flags.
4169 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4170 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4177 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4178 echo "configure:4179: checking for main in -lm" >&5
4179 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4181 echo $ac_n "(cached) $ac_c" 1>&6
4183 ac_save_LIBS="$LIBS"
4185 cat > conftest.$ac_ext <<EOF
4186 #line 4187 "configure"
4187 #include "confdefs.h"
4193 if { (eval echo configure:4194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4195 eval "ac_cv_lib_$ac_lib_var=yes"
4197 echo "configure: failed program was:" >&5
4198 cat conftest.$ac_ext >&5
4200 eval "ac_cv_lib_$ac_lib_var=no"
4203 LIBS="$ac_save_LIBS"
4206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4207 echo "$ac_t""yes" 1>&6
4208 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4209 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4210 cat >> confdefs.h <<EOF
4211 #define $ac_tr_lib 1
4217 echo "$ac_t""no" 1>&6
4220 for ac_func in nan copysignf
4222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4223 echo "configure:4224: checking for $ac_func" >&5
4224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4225 echo $ac_n "(cached) $ac_c" 1>&6
4227 cat > conftest.$ac_ext <<EOF
4228 #line 4229 "configure"
4229 #include "confdefs.h"
4230 /* System header to define __stub macros and hopefully few prototypes,
4231 which can conflict with char $ac_func(); below. */
4233 /* Override any gcc2 internal prototype to avoid an error. */
4234 /* We use char because int might match the return type of a gcc2
4235 builtin and then its argument prototype would still apply. */
4240 /* The GNU C library defines this for functions which it implements
4241 to always fail with ENOSYS. Some functions are actually named
4242 something starting with __ and the normal name is an alias. */
4243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4251 if { (eval echo configure:4252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4253 eval "ac_cv_func_$ac_func=yes"
4255 echo "configure: failed program was:" >&5
4256 cat conftest.$ac_ext >&5
4258 eval "ac_cv_func_$ac_func=no"
4263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4264 echo "$ac_t""yes" 1>&6
4265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4266 cat >> confdefs.h <<EOF
4267 #define $ac_tr_func 1
4271 echo "$ac_t""no" 1>&6
4272 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4278 USE_COMPLEX_LONG_DOUBLE=no
4279 if test x$ac_cv_func_copysignl = x"yes"; then
4280 USE_COMPLEX_LONG_DOUBLE=yes
4281 for ac_func in signbitl
4283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4284 echo "configure:4285: checking for $ac_func" >&5
4285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4286 echo $ac_n "(cached) $ac_c" 1>&6
4288 cat > conftest.$ac_ext <<EOF
4289 #line 4290 "configure"
4290 #include "confdefs.h"
4291 /* System header to define __stub macros and hopefully few prototypes,
4292 which can conflict with char $ac_func(); below. */
4294 /* Override any gcc2 internal prototype to avoid an error. */
4295 /* We use char because int might match the return type of a gcc2
4296 builtin and then its argument prototype would still apply. */
4301 /* The GNU C library defines this for functions which it implements
4302 to always fail with ENOSYS. Some functions are actually named
4303 something starting with __ and the normal name is an alias. */
4304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4312 if { (eval echo configure:4313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4314 eval "ac_cv_func_$ac_func=yes"
4316 echo "configure: failed program was:" >&5
4317 cat conftest.$ac_ext >&5
4319 eval "ac_cv_func_$ac_func=no"
4324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4325 echo "$ac_t""yes" 1>&6
4326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4327 cat >> confdefs.h <<EOF
4328 #define $ac_tr_func 1
4332 echo "$ac_t""no" 1>&6
4333 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4344 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4345 echo "configure:4346: checking for mbstate_t" >&5
4346 cat > conftest.$ac_ext <<EOF
4347 #line 4348 "configure"
4348 #include "confdefs.h"
4351 mbstate_t teststate;
4354 if { (eval echo configure:4355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4358 echo "configure: failed program was:" >&5
4359 cat conftest.$ac_ext >&5
4364 echo "$ac_t""$have_mbstate_t" 1>&6
4365 if test x"$have_mbstate_t" = xyes; then
4366 cat >> confdefs.h <<\EOF
4367 #define HAVE_MBSTATE_T 1
4372 for ac_hdr in wchar.h
4374 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4375 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4376 echo "configure:4377: checking for $ac_hdr" >&5
4377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4378 echo $ac_n "(cached) $ac_c" 1>&6
4380 cat > conftest.$ac_ext <<EOF
4381 #line 4382 "configure"
4382 #include "confdefs.h"
4385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4386 { (eval echo configure:4387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4388 if test -z "$ac_err"; then
4390 eval "ac_cv_header_$ac_safe=yes"
4393 echo "configure: failed program was:" >&5
4394 cat conftest.$ac_ext >&5
4396 eval "ac_cv_header_$ac_safe=no"
4400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4401 echo "$ac_t""yes" 1>&6
4402 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4403 cat >> confdefs.h <<EOF
4404 #define $ac_tr_hdr 1
4408 echo "$ac_t""no" 1>&6
4413 for ac_hdr in wctype.h
4415 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4416 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4417 echo "configure:4418: checking for $ac_hdr" >&5
4418 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4419 echo $ac_n "(cached) $ac_c" 1>&6
4421 cat > conftest.$ac_ext <<EOF
4422 #line 4423 "configure"
4423 #include "confdefs.h"
4426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4427 { (eval echo configure:4428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4429 if test -z "$ac_err"; then
4431 eval "ac_cv_header_$ac_safe=yes"
4434 echo "configure: failed program was:" >&5
4435 cat conftest.$ac_ext >&5
4437 eval "ac_cv_header_$ac_safe=no"
4441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4442 echo "$ac_t""yes" 1>&6
4443 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4444 cat >> confdefs.h <<EOF
4445 #define $ac_tr_hdr 1
4449 echo "$ac_t""no" 1>&6
4455 if test x"$ac_has_wchar_h" = xyes &&
4456 test x"$ac_has_wctype_h" = xyes &&
4457 test x"$enable_c_mbchar" != xno; then
4459 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4460 echo "configure:4461: checking for WCHAR_MIN and WCHAR_MAX" >&5
4461 cat > conftest.$ac_ext <<EOF
4462 #line 4463 "configure"
4463 #include "confdefs.h"
4466 int i = WCHAR_MIN; int j = WCHAR_MAX;
4469 if { (eval echo configure:4470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4471 has_wchar_minmax=yes
4473 echo "configure: failed program was:" >&5
4474 cat conftest.$ac_ext >&5
4479 echo "$ac_t""$has_wchar_minmax" 1>&6
4481 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4482 echo "configure:4483: checking for WEOF" >&5
4483 cat > conftest.$ac_ext <<EOF
4484 #line 4485 "configure"
4485 #include "confdefs.h"
4493 if { (eval echo configure:4494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4497 echo "configure: failed program was:" >&5
4498 cat conftest.$ac_ext >&5
4503 echo "$ac_t""$has_weof" 1>&6
4506 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4509 echo "configure:4510: checking for $ac_func" >&5
4510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4511 echo $ac_n "(cached) $ac_c" 1>&6
4513 cat > conftest.$ac_ext <<EOF
4514 #line 4515 "configure"
4515 #include "confdefs.h"
4516 /* System header to define __stub macros and hopefully few prototypes,
4517 which can conflict with char $ac_func(); below. */
4519 /* Override any gcc2 internal prototype to avoid an error. */
4520 /* We use char because int might match the return type of a gcc2
4521 builtin and then its argument prototype would still apply. */
4526 /* The GNU C library defines this for functions which it implements
4527 to always fail with ENOSYS. Some functions are actually named
4528 something starting with __ and the normal name is an alias. */
4529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4537 if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4539 eval "ac_cv_func_$ac_func=yes"
4541 echo "configure: failed program was:" >&5
4542 cat conftest.$ac_ext >&5
4544 eval "ac_cv_func_$ac_func=no"
4549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4550 echo "$ac_t""yes" 1>&6
4551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4552 cat >> confdefs.h <<EOF
4553 #define $ac_tr_func 1
4557 echo "$ac_t""no" 1>&6
4564 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4565 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4566 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4567 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4568 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4569 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4572 echo "configure:4573: checking for $ac_func" >&5
4573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4574 echo $ac_n "(cached) $ac_c" 1>&6
4576 cat > conftest.$ac_ext <<EOF
4577 #line 4578 "configure"
4578 #include "confdefs.h"
4579 /* System header to define __stub macros and hopefully few prototypes,
4580 which can conflict with char $ac_func(); below. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4583 /* We use char because int might match the return type of a gcc2
4584 builtin and then its argument prototype would still apply. */
4589 /* The GNU C library defines this for functions which it implements
4590 to always fail with ENOSYS. Some functions are actually named
4591 something starting with __ and the normal name is an alias. */
4592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4600 if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4602 eval "ac_cv_func_$ac_func=yes"
4604 echo "configure: failed program was:" >&5
4605 cat conftest.$ac_ext >&5
4607 eval "ac_cv_func_$ac_func=no"
4612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4613 echo "$ac_t""yes" 1>&6
4614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4615 cat >> confdefs.h <<EOF
4616 #define $ac_tr_func 1
4620 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4628 echo "configure:4629: checking for ISO C99 wchar_t support" >&5
4629 if test x"$has_weof" = xyes &&
4630 test x"$has_wchar_minmax" = xyes &&
4631 test x"$ac_wfuncs" = xyes; then
4632 ac_isoC99_wchar_t=yes
4634 ac_isoC99_wchar_t=no
4636 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4638 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4639 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4640 echo "configure:4641: checking for iconv.h" >&5
4641 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4642 echo $ac_n "(cached) $ac_c" 1>&6
4644 cat > conftest.$ac_ext <<EOF
4645 #line 4646 "configure"
4646 #include "confdefs.h"
4649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4650 { (eval echo configure:4651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4652 if test -z "$ac_err"; then
4654 eval "ac_cv_header_$ac_safe=yes"
4657 echo "configure: failed program was:" >&5
4658 cat conftest.$ac_ext >&5
4660 eval "ac_cv_header_$ac_safe=no"
4664 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4665 echo "$ac_t""yes" 1>&6
4668 echo "$ac_t""no" 1>&6
4672 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4673 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4674 echo "configure:4675: checking for langinfo.h" >&5
4675 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4676 echo $ac_n "(cached) $ac_c" 1>&6
4678 cat > conftest.$ac_ext <<EOF
4679 #line 4680 "configure"
4680 #include "confdefs.h"
4681 #include <langinfo.h>
4683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4684 { (eval echo configure:4685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4686 if test -z "$ac_err"; then
4688 eval "ac_cv_header_$ac_safe=yes"
4691 echo "configure: failed program was:" >&5
4692 cat conftest.$ac_ext >&5
4694 eval "ac_cv_header_$ac_safe=no"
4698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4699 echo "$ac_t""yes" 1>&6
4700 ac_has_langinfo_h=yes
4702 echo "$ac_t""no" 1>&6
4703 ac_has_langinfo_h=no
4707 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4708 echo "configure:4709: checking for iconv in -liconv" >&5
4709 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4710 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4711 echo $ac_n "(cached) $ac_c" 1>&6
4713 ac_save_LIBS="$LIBS"
4714 LIBS="-liconv $LIBS"
4715 cat > conftest.$ac_ext <<EOF
4716 #line 4717 "configure"
4717 #include "confdefs.h"
4718 /* Override any gcc2 internal prototype to avoid an error. */
4719 /* We use char because int might match the return type of a gcc2
4720 builtin and then its argument prototype would still apply. */
4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4729 eval "ac_cv_lib_$ac_lib_var=yes"
4731 echo "configure: failed program was:" >&5
4732 cat conftest.$ac_ext >&5
4734 eval "ac_cv_lib_$ac_lib_var=no"
4737 LIBS="$ac_save_LIBS"
4740 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4741 echo "$ac_t""yes" 1>&6
4744 echo "$ac_t""no" 1>&6
4747 ac_save_LIBS="$LIBS"
4748 LIBS="$LIBS $libiconv"
4750 for ac_func in iconv_open iconv_close iconv nl_langinfo
4752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4753 echo "configure:4754: checking for $ac_func" >&5
4754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4755 echo $ac_n "(cached) $ac_c" 1>&6
4757 cat > conftest.$ac_ext <<EOF
4758 #line 4759 "configure"
4759 #include "confdefs.h"
4760 /* System header to define __stub macros and hopefully few prototypes,
4761 which can conflict with char $ac_func(); below. */
4763 /* Override any gcc2 internal prototype to avoid an error. */
4764 /* We use char because int might match the return type of a gcc2
4765 builtin and then its argument prototype would still apply. */
4770 /* The GNU C library defines this for functions which it implements
4771 to always fail with ENOSYS. Some functions are actually named
4772 something starting with __ and the normal name is an alias. */
4773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4781 if { (eval echo configure:4782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4783 eval "ac_cv_func_$ac_func=yes"
4785 echo "configure: failed program was:" >&5
4786 cat conftest.$ac_ext >&5
4788 eval "ac_cv_func_$ac_func=no"
4793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4794 echo "$ac_t""yes" 1>&6
4795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4796 cat >> confdefs.h <<EOF
4797 #define $ac_tr_func 1
4802 echo "$ac_t""no" 1>&6
4808 LIBS="$ac_save_LIBS"
4810 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4811 echo "configure:4812: checking for XPG2 wchar_t support" >&5
4812 if test x"$ac_has_iconv_h" = xyes &&
4813 test x"$ac_has_langinfo_h" = xyes &&
4814 test x"$ac_XPG2funcs" = xyes; then
4819 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4821 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4822 echo "configure:4823: checking for enabled wchar_t specializations" >&5
4823 if test x"$ac_isoC99_wchar_t" = xyes &&
4824 test x"$ac_XPG2_wchar_t" = xyes; then
4825 cat >> confdefs.h <<\EOF
4826 #define _GLIBCPP_USE_WCHAR_T 1
4829 echo "$ac_t"""yes"" 1>&6
4831 echo "$ac_t"""no"" 1>&6
4834 echo "configure: warning: wchar_t support disabled." 1>&2
4837 os_include_dir="config/os/gnu-linux"
4838 cat >> confdefs.h <<\EOF
4839 #define HAVE_COPYSIGN 1
4842 cat >> confdefs.h <<\EOF
4843 #define HAVE_COPYSIGNF 1
4846 cat >> confdefs.h <<\EOF
4847 #define HAVE_FINITEF 1
4850 cat >> confdefs.h <<\EOF
4851 #define HAVE_FREXPF 1
4854 cat >> confdefs.h <<\EOF
4855 #define HAVE_HYPOTF 1
4858 cat >> confdefs.h <<\EOF
4859 #define HAVE_SINCOS 1
4862 cat >> confdefs.h <<\EOF
4863 #define HAVE_SINCOSF 1
4866 if test x"long_double_math_on_this_cpu" = x"yes"; then
4867 cat >> confdefs.h <<\EOF
4868 #define HAVE_HYPOTL 1
4874 # Check for available headers.
4875 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4876 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4877 fp.h locale.h float.h inttypes.h
4879 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4880 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4881 echo "configure:4882: checking for $ac_hdr" >&5
4882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4883 echo $ac_n "(cached) $ac_c" 1>&6
4885 cat > conftest.$ac_ext <<EOF
4886 #line 4887 "configure"
4887 #include "confdefs.h"
4890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4891 { (eval echo configure:4892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4893 if test -z "$ac_err"; then
4895 eval "ac_cv_header_$ac_safe=yes"
4898 echo "configure: failed program was:" >&5
4899 cat conftest.$ac_ext >&5
4901 eval "ac_cv_header_$ac_safe=no"
4905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4906 echo "$ac_t""yes" 1>&6
4907 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4908 cat >> confdefs.h <<EOF
4909 #define $ac_tr_hdr 1
4913 echo "$ac_t""no" 1>&6
4917 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4920 # If we're not using GNU ld, then there's no point in even trying these
4921 # tests. Check for that first. We should have already tested for gld
4922 # by now (in libtool), but require it now just to be safe...
4923 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4924 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4927 # The name set by libtool depends on the version of libtool. Shame on us
4928 # for depending on an impl detail, but c'est la vie. Older versions used
4929 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4930 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4931 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4932 # set (hence we're using an older libtool), then set it.
4933 if test x${with_gnu_ld+set} != xset; then
4934 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4935 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4938 with_gnu_ld=$ac_cv_prog_gnu_ld
4942 # Start by getting the version number. I think the libtool test already
4943 # does some of this, but throws away the result.
4945 ldver=`$LD --version 2>/dev/null | head -1 | \
4946 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4948 glibcpp_gnu_ld_version=`echo $ldver | \
4949 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4951 # Set --gc-sections.
4952 if test "$with_gnu_ld" = "notbroken"; then
4953 # GNU ld it is! Joy and bunny rabbits!
4955 # All these tests are for C++; save the language and the compiler flags.
4956 # Need to do this so that g++ won't try to link in libstdc++
4957 ac_test_CFLAGS="${CFLAGS+set}"
4958 ac_save_CFLAGS="$CFLAGS"
4959 CFLAGS='-x c++ -Wl,--gc-sections'
4961 # Check for -Wl,--gc-sections
4962 # XXX This test is broken at the moment, as symbols required for
4963 # linking are now in libsupc++ (not built yet.....). In addition,
4964 # this test has cored on solaris in the past. In addition,
4965 # --gc-sections doesn't really work at the moment (keeps on discarding
4966 # used sections, first .eh_frame and now some of the glibc sections for
4967 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4968 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4969 echo "configure:4970: checking for ld that supports -Wl,--gc-sections" >&5
4970 if test "$cross_compiling" = yes; then
4971 ac_sectionLDflags=yes
4973 cat > conftest.$ac_ext <<EOF
4974 #line 4975 "configure"
4975 #include "confdefs.h"
4985 if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4987 ac_sectionLDflags=yes
4989 echo "configure: failed program was:" >&5
4990 cat conftest.$ac_ext >&5
4992 ac_sectionLDflags=no
4997 if test "$ac_test_CFLAGS" = set; then
4998 CFLAGS="$ac_save_CFLAGS"
5000 # this is the suspicious part
5003 if test "$ac_sectionLDflags" = "yes"; then
5004 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5006 echo "$ac_t""$ac_sectionLDflags" 1>&6
5009 # Set linker optimization flags.
5010 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5018 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5019 echo "configure:5020: checking for main in -lm" >&5
5020 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5021 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5022 echo $ac_n "(cached) $ac_c" 1>&6
5024 ac_save_LIBS="$LIBS"
5026 cat > conftest.$ac_ext <<EOF
5027 #line 5028 "configure"
5028 #include "confdefs.h"
5034 if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5036 eval "ac_cv_lib_$ac_lib_var=yes"
5038 echo "configure: failed program was:" >&5
5039 cat conftest.$ac_ext >&5
5041 eval "ac_cv_lib_$ac_lib_var=no"
5044 LIBS="$ac_save_LIBS"
5047 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5048 echo "$ac_t""yes" 1>&6
5049 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5050 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5051 cat >> confdefs.h <<EOF
5052 #define $ac_tr_lib 1
5058 echo "$ac_t""no" 1>&6
5061 for ac_func in nan copysignf
5063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5064 echo "configure:5065: checking for $ac_func" >&5
5065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5066 echo $ac_n "(cached) $ac_c" 1>&6
5068 cat > conftest.$ac_ext <<EOF
5069 #line 5070 "configure"
5070 #include "confdefs.h"
5071 /* System header to define __stub macros and hopefully few prototypes,
5072 which can conflict with char $ac_func(); below. */
5074 /* Override any gcc2 internal prototype to avoid an error. */
5075 /* We use char because int might match the return type of a gcc2
5076 builtin and then its argument prototype would still apply. */
5081 /* The GNU C library defines this for functions which it implements
5082 to always fail with ENOSYS. Some functions are actually named
5083 something starting with __ and the normal name is an alias. */
5084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5092 if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5094 eval "ac_cv_func_$ac_func=yes"
5096 echo "configure: failed program was:" >&5
5097 cat conftest.$ac_ext >&5
5099 eval "ac_cv_func_$ac_func=no"
5104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5105 echo "$ac_t""yes" 1>&6
5106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5107 cat >> confdefs.h <<EOF
5108 #define $ac_tr_func 1
5112 echo "$ac_t""no" 1>&6
5113 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5119 USE_COMPLEX_LONG_DOUBLE=no
5120 if test x$ac_cv_func_copysignl = x"yes"; then
5121 USE_COMPLEX_LONG_DOUBLE=yes
5122 for ac_func in signbitl
5124 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5125 echo "configure:5126: checking for $ac_func" >&5
5126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5127 echo $ac_n "(cached) $ac_c" 1>&6
5129 cat > conftest.$ac_ext <<EOF
5130 #line 5131 "configure"
5131 #include "confdefs.h"
5132 /* System header to define __stub macros and hopefully few prototypes,
5133 which can conflict with char $ac_func(); below. */
5135 /* Override any gcc2 internal prototype to avoid an error. */
5136 /* We use char because int might match the return type of a gcc2
5137 builtin and then its argument prototype would still apply. */
5142 /* The GNU C library defines this for functions which it implements
5143 to always fail with ENOSYS. Some functions are actually named
5144 something starting with __ and the normal name is an alias. */
5145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5155 eval "ac_cv_func_$ac_func=yes"
5157 echo "configure: failed program was:" >&5
5158 cat conftest.$ac_ext >&5
5160 eval "ac_cv_func_$ac_func=no"
5165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5166 echo "$ac_t""yes" 1>&6
5167 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5168 cat >> confdefs.h <<EOF
5169 #define $ac_tr_func 1
5173 echo "$ac_t""no" 1>&6
5174 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5185 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5186 echo "configure:5187: checking for mbstate_t" >&5
5187 cat > conftest.$ac_ext <<EOF
5188 #line 5189 "configure"
5189 #include "confdefs.h"
5192 mbstate_t teststate;
5195 if { (eval echo configure:5196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5199 echo "configure: failed program was:" >&5
5200 cat conftest.$ac_ext >&5
5205 echo "$ac_t""$have_mbstate_t" 1>&6
5206 if test x"$have_mbstate_t" = xyes; then
5207 cat >> confdefs.h <<\EOF
5208 #define HAVE_MBSTATE_T 1
5213 for ac_hdr in wchar.h
5215 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5216 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5217 echo "configure:5218: checking for $ac_hdr" >&5
5218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5219 echo $ac_n "(cached) $ac_c" 1>&6
5221 cat > conftest.$ac_ext <<EOF
5222 #line 5223 "configure"
5223 #include "confdefs.h"
5226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5227 { (eval echo configure:5228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5229 if test -z "$ac_err"; then
5231 eval "ac_cv_header_$ac_safe=yes"
5234 echo "configure: failed program was:" >&5
5235 cat conftest.$ac_ext >&5
5237 eval "ac_cv_header_$ac_safe=no"
5241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5242 echo "$ac_t""yes" 1>&6
5243 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5244 cat >> confdefs.h <<EOF
5245 #define $ac_tr_hdr 1
5249 echo "$ac_t""no" 1>&6
5254 for ac_hdr in wctype.h
5256 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5258 echo "configure:5259: checking for $ac_hdr" >&5
5259 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5260 echo $ac_n "(cached) $ac_c" 1>&6
5262 cat > conftest.$ac_ext <<EOF
5263 #line 5264 "configure"
5264 #include "confdefs.h"
5267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5268 { (eval echo configure:5269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5270 if test -z "$ac_err"; then
5272 eval "ac_cv_header_$ac_safe=yes"
5275 echo "configure: failed program was:" >&5
5276 cat conftest.$ac_ext >&5
5278 eval "ac_cv_header_$ac_safe=no"
5282 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5283 echo "$ac_t""yes" 1>&6
5284 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5285 cat >> confdefs.h <<EOF
5286 #define $ac_tr_hdr 1
5290 echo "$ac_t""no" 1>&6
5296 if test x"$ac_has_wchar_h" = xyes &&
5297 test x"$ac_has_wctype_h" = xyes &&
5298 test x"$enable_c_mbchar" != xno; then
5300 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5301 echo "configure:5302: checking for WCHAR_MIN and WCHAR_MAX" >&5
5302 cat > conftest.$ac_ext <<EOF
5303 #line 5304 "configure"
5304 #include "confdefs.h"
5307 int i = WCHAR_MIN; int j = WCHAR_MAX;
5310 if { (eval echo configure:5311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5312 has_wchar_minmax=yes
5314 echo "configure: failed program was:" >&5
5315 cat conftest.$ac_ext >&5
5320 echo "$ac_t""$has_wchar_minmax" 1>&6
5322 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5323 echo "configure:5324: checking for WEOF" >&5
5324 cat > conftest.$ac_ext <<EOF
5325 #line 5326 "configure"
5326 #include "confdefs.h"
5334 if { (eval echo configure:5335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5338 echo "configure: failed program was:" >&5
5339 cat conftest.$ac_ext >&5
5344 echo "$ac_t""$has_weof" 1>&6
5347 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5350 echo "configure:5351: checking for $ac_func" >&5
5351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5352 echo $ac_n "(cached) $ac_c" 1>&6
5354 cat > conftest.$ac_ext <<EOF
5355 #line 5356 "configure"
5356 #include "confdefs.h"
5357 /* System header to define __stub macros and hopefully few prototypes,
5358 which can conflict with char $ac_func(); below. */
5360 /* Override any gcc2 internal prototype to avoid an error. */
5361 /* We use char because int might match the return type of a gcc2
5362 builtin and then its argument prototype would still apply. */
5367 /* The GNU C library defines this for functions which it implements
5368 to always fail with ENOSYS. Some functions are actually named
5369 something starting with __ and the normal name is an alias. */
5370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5378 if { (eval echo configure:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5380 eval "ac_cv_func_$ac_func=yes"
5382 echo "configure: failed program was:" >&5
5383 cat conftest.$ac_ext >&5
5385 eval "ac_cv_func_$ac_func=no"
5390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5391 echo "$ac_t""yes" 1>&6
5392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5393 cat >> confdefs.h <<EOF
5394 #define $ac_tr_func 1
5398 echo "$ac_t""no" 1>&6
5405 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5406 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5407 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5408 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5409 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5410 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5413 echo "configure:5414: checking for $ac_func" >&5
5414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5415 echo $ac_n "(cached) $ac_c" 1>&6
5417 cat > conftest.$ac_ext <<EOF
5418 #line 5419 "configure"
5419 #include "confdefs.h"
5420 /* System header to define __stub macros and hopefully few prototypes,
5421 which can conflict with char $ac_func(); below. */
5423 /* Override any gcc2 internal prototype to avoid an error. */
5424 /* We use char because int might match the return type of a gcc2
5425 builtin and then its argument prototype would still apply. */
5430 /* The GNU C library defines this for functions which it implements
5431 to always fail with ENOSYS. Some functions are actually named
5432 something starting with __ and the normal name is an alias. */
5433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5441 if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5443 eval "ac_cv_func_$ac_func=yes"
5445 echo "configure: failed program was:" >&5
5446 cat conftest.$ac_ext >&5
5448 eval "ac_cv_func_$ac_func=no"
5453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5454 echo "$ac_t""yes" 1>&6
5455 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5456 cat >> confdefs.h <<EOF
5457 #define $ac_tr_func 1
5461 echo "$ac_t""no" 1>&6
5468 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5469 echo "configure:5470: checking for ISO C99 wchar_t support" >&5
5470 if test x"$has_weof" = xyes &&
5471 test x"$has_wchar_minmax" = xyes &&
5472 test x"$ac_wfuncs" = xyes; then
5473 ac_isoC99_wchar_t=yes
5475 ac_isoC99_wchar_t=no
5477 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5479 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5480 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5481 echo "configure:5482: checking for iconv.h" >&5
5482 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5483 echo $ac_n "(cached) $ac_c" 1>&6
5485 cat > conftest.$ac_ext <<EOF
5486 #line 5487 "configure"
5487 #include "confdefs.h"
5490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5491 { (eval echo configure:5492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5493 if test -z "$ac_err"; then
5495 eval "ac_cv_header_$ac_safe=yes"
5498 echo "configure: failed program was:" >&5
5499 cat conftest.$ac_ext >&5
5501 eval "ac_cv_header_$ac_safe=no"
5505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5506 echo "$ac_t""yes" 1>&6
5509 echo "$ac_t""no" 1>&6
5513 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5514 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5515 echo "configure:5516: checking for langinfo.h" >&5
5516 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5517 echo $ac_n "(cached) $ac_c" 1>&6
5519 cat > conftest.$ac_ext <<EOF
5520 #line 5521 "configure"
5521 #include "confdefs.h"
5522 #include <langinfo.h>
5524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5525 { (eval echo configure:5526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5527 if test -z "$ac_err"; then
5529 eval "ac_cv_header_$ac_safe=yes"
5532 echo "configure: failed program was:" >&5
5533 cat conftest.$ac_ext >&5
5535 eval "ac_cv_header_$ac_safe=no"
5539 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5540 echo "$ac_t""yes" 1>&6
5541 ac_has_langinfo_h=yes
5543 echo "$ac_t""no" 1>&6
5544 ac_has_langinfo_h=no
5548 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5549 echo "configure:5550: checking for iconv in -liconv" >&5
5550 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5552 echo $ac_n "(cached) $ac_c" 1>&6
5554 ac_save_LIBS="$LIBS"
5555 LIBS="-liconv $LIBS"
5556 cat > conftest.$ac_ext <<EOF
5557 #line 5558 "configure"
5558 #include "confdefs.h"
5559 /* Override any gcc2 internal prototype to avoid an error. */
5560 /* We use char because int might match the return type of a gcc2
5561 builtin and then its argument prototype would still apply. */
5568 if { (eval echo configure:5569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5570 eval "ac_cv_lib_$ac_lib_var=yes"
5572 echo "configure: failed program was:" >&5
5573 cat conftest.$ac_ext >&5
5575 eval "ac_cv_lib_$ac_lib_var=no"
5578 LIBS="$ac_save_LIBS"
5581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5582 echo "$ac_t""yes" 1>&6
5585 echo "$ac_t""no" 1>&6
5588 ac_save_LIBS="$LIBS"
5589 LIBS="$LIBS $libiconv"
5591 for ac_func in iconv_open iconv_close iconv nl_langinfo
5593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5594 echo "configure:5595: checking for $ac_func" >&5
5595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5596 echo $ac_n "(cached) $ac_c" 1>&6
5598 cat > conftest.$ac_ext <<EOF
5599 #line 5600 "configure"
5600 #include "confdefs.h"
5601 /* System header to define __stub macros and hopefully few prototypes,
5602 which can conflict with char $ac_func(); below. */
5604 /* Override any gcc2 internal prototype to avoid an error. */
5605 /* We use char because int might match the return type of a gcc2
5606 builtin and then its argument prototype would still apply. */
5611 /* The GNU C library defines this for functions which it implements
5612 to always fail with ENOSYS. Some functions are actually named
5613 something starting with __ and the normal name is an alias. */
5614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5622 if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5624 eval "ac_cv_func_$ac_func=yes"
5626 echo "configure: failed program was:" >&5
5627 cat conftest.$ac_ext >&5
5629 eval "ac_cv_func_$ac_func=no"
5634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5635 echo "$ac_t""yes" 1>&6
5636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5637 cat >> confdefs.h <<EOF
5638 #define $ac_tr_func 1
5643 echo "$ac_t""no" 1>&6
5649 LIBS="$ac_save_LIBS"
5651 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5652 echo "configure:5653: checking for XPG2 wchar_t support" >&5
5653 if test x"$ac_has_iconv_h" = xyes &&
5654 test x"$ac_has_langinfo_h" = xyes &&
5655 test x"$ac_XPG2funcs" = xyes; then
5660 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5662 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5663 echo "configure:5664: checking for enabled wchar_t specializations" >&5
5664 if test x"$ac_isoC99_wchar_t" = xyes &&
5665 test x"$ac_XPG2_wchar_t" = xyes; then
5666 cat >> confdefs.h <<\EOF
5667 #define _GLIBCPP_USE_WCHAR_T 1
5670 echo "$ac_t"""yes"" 1>&6
5672 echo "$ac_t"""no"" 1>&6
5675 echo "configure: warning: wchar_t support disabled." 1>&2
5678 os_include_dir="config/os/hpux"
5679 cat >> confdefs.h <<\EOF
5680 #define HAVE_COPYSIGN 1
5683 cat >> confdefs.h <<\EOF
5684 #define HAVE_COPYSIGNF 1
5687 cat >> confdefs.h <<\EOF
5688 #define HAVE_FINITEF 1
5691 cat >> confdefs.h <<\EOF
5692 #define HAVE_FREXPF 1
5695 cat >> confdefs.h <<\EOF
5696 #define HAVE_HYPOT 1
5699 cat >> confdefs.h <<\EOF
5700 #define HAVE_SINCOS 1
5703 cat >> confdefs.h <<\EOF
5704 #define HAVE_SINCOSF 1
5709 # Check for available headers.
5710 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5711 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5712 fp.h locale.h float.h inttypes.h
5714 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5715 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5716 echo "configure:5717: checking for $ac_hdr" >&5
5717 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5718 echo $ac_n "(cached) $ac_c" 1>&6
5720 cat > conftest.$ac_ext <<EOF
5721 #line 5722 "configure"
5722 #include "confdefs.h"
5725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5726 { (eval echo configure:5727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5728 if test -z "$ac_err"; then
5730 eval "ac_cv_header_$ac_safe=yes"
5733 echo "configure: failed program was:" >&5
5734 cat conftest.$ac_ext >&5
5736 eval "ac_cv_header_$ac_safe=no"
5740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5741 echo "$ac_t""yes" 1>&6
5742 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5743 cat >> confdefs.h <<EOF
5744 #define $ac_tr_hdr 1
5748 echo "$ac_t""no" 1>&6
5752 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5755 # If we're not using GNU ld, then there's no point in even trying these
5756 # tests. Check for that first. We should have already tested for gld
5757 # by now (in libtool), but require it now just to be safe...
5758 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5759 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5762 # The name set by libtool depends on the version of libtool. Shame on us
5763 # for depending on an impl detail, but c'est la vie. Older versions used
5764 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5765 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5766 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5767 # set (hence we're using an older libtool), then set it.
5768 if test x${with_gnu_ld+set} != xset; then
5769 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5770 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5773 with_gnu_ld=$ac_cv_prog_gnu_ld
5777 # Start by getting the version number. I think the libtool test already
5778 # does some of this, but throws away the result.
5780 ldver=`$LD --version 2>/dev/null | head -1 | \
5781 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5783 glibcpp_gnu_ld_version=`echo $ldver | \
5784 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5786 # Set --gc-sections.
5787 if test "$with_gnu_ld" = "notbroken"; then
5788 # GNU ld it is! Joy and bunny rabbits!
5790 # All these tests are for C++; save the language and the compiler flags.
5791 # Need to do this so that g++ won't try to link in libstdc++
5792 ac_test_CFLAGS="${CFLAGS+set}"
5793 ac_save_CFLAGS="$CFLAGS"
5794 CFLAGS='-x c++ -Wl,--gc-sections'
5796 # Check for -Wl,--gc-sections
5797 # XXX This test is broken at the moment, as symbols required for
5798 # linking are now in libsupc++ (not built yet.....). In addition,
5799 # this test has cored on solaris in the past. In addition,
5800 # --gc-sections doesn't really work at the moment (keeps on discarding
5801 # used sections, first .eh_frame and now some of the glibc sections for
5802 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5803 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5804 echo "configure:5805: checking for ld that supports -Wl,--gc-sections" >&5
5805 if test "$cross_compiling" = yes; then
5806 ac_sectionLDflags=yes
5808 cat > conftest.$ac_ext <<EOF
5809 #line 5810 "configure"
5810 #include "confdefs.h"
5820 if { (eval echo configure:5821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5822 ac_sectionLDflags=yes
5824 echo "configure: failed program was:" >&5
5825 cat conftest.$ac_ext >&5
5827 ac_sectionLDflags=no
5832 if test "$ac_test_CFLAGS" = set; then
5833 CFLAGS="$ac_save_CFLAGS"
5835 # this is the suspicious part
5838 if test "$ac_sectionLDflags" = "yes"; then
5839 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5841 echo "$ac_t""$ac_sectionLDflags" 1>&6
5844 # Set linker optimization flags.
5845 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5846 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5853 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5854 echo "configure:5855: checking for main in -lm" >&5
5855 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5857 echo $ac_n "(cached) $ac_c" 1>&6
5859 ac_save_LIBS="$LIBS"
5861 cat > conftest.$ac_ext <<EOF
5862 #line 5863 "configure"
5863 #include "confdefs.h"
5869 if { (eval echo configure:5870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5871 eval "ac_cv_lib_$ac_lib_var=yes"
5873 echo "configure: failed program was:" >&5
5874 cat conftest.$ac_ext >&5
5876 eval "ac_cv_lib_$ac_lib_var=no"
5879 LIBS="$ac_save_LIBS"
5882 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5883 echo "$ac_t""yes" 1>&6
5884 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5885 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5886 cat >> confdefs.h <<EOF
5887 #define $ac_tr_lib 1
5893 echo "$ac_t""no" 1>&6
5896 for ac_func in nan copysignf
5898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5899 echo "configure:5900: checking for $ac_func" >&5
5900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5901 echo $ac_n "(cached) $ac_c" 1>&6
5903 cat > conftest.$ac_ext <<EOF
5904 #line 5905 "configure"
5905 #include "confdefs.h"
5906 /* System header to define __stub macros and hopefully few prototypes,
5907 which can conflict with char $ac_func(); below. */
5909 /* Override any gcc2 internal prototype to avoid an error. */
5910 /* We use char because int might match the return type of a gcc2
5911 builtin and then its argument prototype would still apply. */
5916 /* The GNU C library defines this for functions which it implements
5917 to always fail with ENOSYS. Some functions are actually named
5918 something starting with __ and the normal name is an alias. */
5919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5927 if { (eval echo configure:5928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5929 eval "ac_cv_func_$ac_func=yes"
5931 echo "configure: failed program was:" >&5
5932 cat conftest.$ac_ext >&5
5934 eval "ac_cv_func_$ac_func=no"
5939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5940 echo "$ac_t""yes" 1>&6
5941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5942 cat >> confdefs.h <<EOF
5943 #define $ac_tr_func 1
5947 echo "$ac_t""no" 1>&6
5948 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5954 USE_COMPLEX_LONG_DOUBLE=no
5955 if test x$ac_cv_func_copysignl = x"yes"; then
5956 USE_COMPLEX_LONG_DOUBLE=yes
5957 for ac_func in signbitl
5959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5960 echo "configure:5961: checking for $ac_func" >&5
5961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5962 echo $ac_n "(cached) $ac_c" 1>&6
5964 cat > conftest.$ac_ext <<EOF
5965 #line 5966 "configure"
5966 #include "confdefs.h"
5967 /* System header to define __stub macros and hopefully few prototypes,
5968 which can conflict with char $ac_func(); below. */
5970 /* Override any gcc2 internal prototype to avoid an error. */
5971 /* We use char because int might match the return type of a gcc2
5972 builtin and then its argument prototype would still apply. */
5977 /* The GNU C library defines this for functions which it implements
5978 to always fail with ENOSYS. Some functions are actually named
5979 something starting with __ and the normal name is an alias. */
5980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5990 eval "ac_cv_func_$ac_func=yes"
5992 echo "configure: failed program was:" >&5
5993 cat conftest.$ac_ext >&5
5995 eval "ac_cv_func_$ac_func=no"
6000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6001 echo "$ac_t""yes" 1>&6
6002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6003 cat >> confdefs.h <<EOF
6004 #define $ac_tr_func 1
6008 echo "$ac_t""no" 1>&6
6009 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6020 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6021 echo "configure:6022: checking for mbstate_t" >&5
6022 cat > conftest.$ac_ext <<EOF
6023 #line 6024 "configure"
6024 #include "confdefs.h"
6027 mbstate_t teststate;
6030 if { (eval echo configure:6031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6034 echo "configure: failed program was:" >&5
6035 cat conftest.$ac_ext >&5
6040 echo "$ac_t""$have_mbstate_t" 1>&6
6041 if test x"$have_mbstate_t" = xyes; then
6042 cat >> confdefs.h <<\EOF
6043 #define HAVE_MBSTATE_T 1
6048 for ac_hdr in wchar.h
6050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6052 echo "configure:6053: checking for $ac_hdr" >&5
6053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6054 echo $ac_n "(cached) $ac_c" 1>&6
6056 cat > conftest.$ac_ext <<EOF
6057 #line 6058 "configure"
6058 #include "confdefs.h"
6061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6062 { (eval echo configure:6063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6064 if test -z "$ac_err"; then
6066 eval "ac_cv_header_$ac_safe=yes"
6069 echo "configure: failed program was:" >&5
6070 cat conftest.$ac_ext >&5
6072 eval "ac_cv_header_$ac_safe=no"
6076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6077 echo "$ac_t""yes" 1>&6
6078 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6079 cat >> confdefs.h <<EOF
6080 #define $ac_tr_hdr 1
6084 echo "$ac_t""no" 1>&6
6089 for ac_hdr in wctype.h
6091 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6092 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6093 echo "configure:6094: checking for $ac_hdr" >&5
6094 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
6102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6103 { (eval echo configure:6104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6105 if test -z "$ac_err"; then
6107 eval "ac_cv_header_$ac_safe=yes"
6110 echo "configure: failed program was:" >&5
6111 cat conftest.$ac_ext >&5
6113 eval "ac_cv_header_$ac_safe=no"
6117 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6118 echo "$ac_t""yes" 1>&6
6119 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6120 cat >> confdefs.h <<EOF
6121 #define $ac_tr_hdr 1
6125 echo "$ac_t""no" 1>&6
6131 if test x"$ac_has_wchar_h" = xyes &&
6132 test x"$ac_has_wctype_h" = xyes &&
6133 test x"$enable_c_mbchar" != xno; then
6135 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6136 echo "configure:6137: checking for WCHAR_MIN and WCHAR_MAX" >&5
6137 cat > conftest.$ac_ext <<EOF
6138 #line 6139 "configure"
6139 #include "confdefs.h"
6142 int i = WCHAR_MIN; int j = WCHAR_MAX;
6145 if { (eval echo configure:6146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6147 has_wchar_minmax=yes
6149 echo "configure: failed program was:" >&5
6150 cat conftest.$ac_ext >&5
6155 echo "$ac_t""$has_wchar_minmax" 1>&6
6157 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6158 echo "configure:6159: checking for WEOF" >&5
6159 cat > conftest.$ac_ext <<EOF
6160 #line 6161 "configure"
6161 #include "confdefs.h"
6169 if { (eval echo configure:6170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6173 echo "configure: failed program was:" >&5
6174 cat conftest.$ac_ext >&5
6179 echo "$ac_t""$has_weof" 1>&6
6182 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6185 echo "configure:6186: checking for $ac_func" >&5
6186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6187 echo $ac_n "(cached) $ac_c" 1>&6
6189 cat > conftest.$ac_ext <<EOF
6190 #line 6191 "configure"
6191 #include "confdefs.h"
6192 /* System header to define __stub macros and hopefully few prototypes,
6193 which can conflict with char $ac_func(); below. */
6195 /* Override any gcc2 internal prototype to avoid an error. */
6196 /* We use char because int might match the return type of a gcc2
6197 builtin and then its argument prototype would still apply. */
6202 /* The GNU C library defines this for functions which it implements
6203 to always fail with ENOSYS. Some functions are actually named
6204 something starting with __ and the normal name is an alias. */
6205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6213 if { (eval echo configure:6214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6215 eval "ac_cv_func_$ac_func=yes"
6217 echo "configure: failed program was:" >&5
6218 cat conftest.$ac_ext >&5
6220 eval "ac_cv_func_$ac_func=no"
6225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6226 echo "$ac_t""yes" 1>&6
6227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6228 cat >> confdefs.h <<EOF
6229 #define $ac_tr_func 1
6233 echo "$ac_t""no" 1>&6
6240 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6241 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6242 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6243 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6244 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6245 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6248 echo "configure:6249: checking for $ac_func" >&5
6249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6250 echo $ac_n "(cached) $ac_c" 1>&6
6252 cat > conftest.$ac_ext <<EOF
6253 #line 6254 "configure"
6254 #include "confdefs.h"
6255 /* System header to define __stub macros and hopefully few prototypes,
6256 which can conflict with char $ac_func(); below. */
6258 /* Override any gcc2 internal prototype to avoid an error. */
6259 /* We use char because int might match the return type of a gcc2
6260 builtin and then its argument prototype would still apply. */
6265 /* The GNU C library defines this for functions which it implements
6266 to always fail with ENOSYS. Some functions are actually named
6267 something starting with __ and the normal name is an alias. */
6268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6276 if { (eval echo configure:6277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6278 eval "ac_cv_func_$ac_func=yes"
6280 echo "configure: failed program was:" >&5
6281 cat conftest.$ac_ext >&5
6283 eval "ac_cv_func_$ac_func=no"
6288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6289 echo "$ac_t""yes" 1>&6
6290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6291 cat >> confdefs.h <<EOF
6292 #define $ac_tr_func 1
6296 echo "$ac_t""no" 1>&6
6303 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6304 echo "configure:6305: checking for ISO C99 wchar_t support" >&5
6305 if test x"$has_weof" = xyes &&
6306 test x"$has_wchar_minmax" = xyes &&
6307 test x"$ac_wfuncs" = xyes; then
6308 ac_isoC99_wchar_t=yes
6310 ac_isoC99_wchar_t=no
6312 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6314 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6315 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6316 echo "configure:6317: checking for iconv.h" >&5
6317 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6318 echo $ac_n "(cached) $ac_c" 1>&6
6320 cat > conftest.$ac_ext <<EOF
6321 #line 6322 "configure"
6322 #include "confdefs.h"
6325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6326 { (eval echo configure:6327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6328 if test -z "$ac_err"; then
6330 eval "ac_cv_header_$ac_safe=yes"
6333 echo "configure: failed program was:" >&5
6334 cat conftest.$ac_ext >&5
6336 eval "ac_cv_header_$ac_safe=no"
6340 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6341 echo "$ac_t""yes" 1>&6
6344 echo "$ac_t""no" 1>&6
6348 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6349 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6350 echo "configure:6351: checking for langinfo.h" >&5
6351 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6352 echo $ac_n "(cached) $ac_c" 1>&6
6354 cat > conftest.$ac_ext <<EOF
6355 #line 6356 "configure"
6356 #include "confdefs.h"
6357 #include <langinfo.h>
6359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6360 { (eval echo configure:6361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6361 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6362 if test -z "$ac_err"; then
6364 eval "ac_cv_header_$ac_safe=yes"
6367 echo "configure: failed program was:" >&5
6368 cat conftest.$ac_ext >&5
6370 eval "ac_cv_header_$ac_safe=no"
6374 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6375 echo "$ac_t""yes" 1>&6
6376 ac_has_langinfo_h=yes
6378 echo "$ac_t""no" 1>&6
6379 ac_has_langinfo_h=no
6383 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6384 echo "configure:6385: checking for iconv in -liconv" >&5
6385 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6387 echo $ac_n "(cached) $ac_c" 1>&6
6389 ac_save_LIBS="$LIBS"
6390 LIBS="-liconv $LIBS"
6391 cat > conftest.$ac_ext <<EOF
6392 #line 6393 "configure"
6393 #include "confdefs.h"
6394 /* Override any gcc2 internal prototype to avoid an error. */
6395 /* We use char because int might match the return type of a gcc2
6396 builtin and then its argument prototype would still apply. */
6403 if { (eval echo configure:6404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6405 eval "ac_cv_lib_$ac_lib_var=yes"
6407 echo "configure: failed program was:" >&5
6408 cat conftest.$ac_ext >&5
6410 eval "ac_cv_lib_$ac_lib_var=no"
6413 LIBS="$ac_save_LIBS"
6416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6417 echo "$ac_t""yes" 1>&6
6420 echo "$ac_t""no" 1>&6
6423 ac_save_LIBS="$LIBS"
6424 LIBS="$LIBS $libiconv"
6426 for ac_func in iconv_open iconv_close iconv nl_langinfo
6428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6429 echo "configure:6430: checking for $ac_func" >&5
6430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6431 echo $ac_n "(cached) $ac_c" 1>&6
6433 cat > conftest.$ac_ext <<EOF
6434 #line 6435 "configure"
6435 #include "confdefs.h"
6436 /* System header to define __stub macros and hopefully few prototypes,
6437 which can conflict with char $ac_func(); below. */
6439 /* Override any gcc2 internal prototype to avoid an error. */
6440 /* We use char because int might match the return type of a gcc2
6441 builtin and then its argument prototype would still apply. */
6446 /* The GNU C library defines this for functions which it implements
6447 to always fail with ENOSYS. Some functions are actually named
6448 something starting with __ and the normal name is an alias. */
6449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6457 if { (eval echo configure:6458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6459 eval "ac_cv_func_$ac_func=yes"
6461 echo "configure: failed program was:" >&5
6462 cat conftest.$ac_ext >&5
6464 eval "ac_cv_func_$ac_func=no"
6469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6470 echo "$ac_t""yes" 1>&6
6471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6472 cat >> confdefs.h <<EOF
6473 #define $ac_tr_func 1
6478 echo "$ac_t""no" 1>&6
6484 LIBS="$ac_save_LIBS"
6486 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6487 echo "configure:6488: checking for XPG2 wchar_t support" >&5
6488 if test x"$ac_has_iconv_h" = xyes &&
6489 test x"$ac_has_langinfo_h" = xyes &&
6490 test x"$ac_XPG2funcs" = xyes; then
6495 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6497 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6498 echo "configure:6499: checking for enabled wchar_t specializations" >&5
6499 if test x"$ac_isoC99_wchar_t" = xyes &&
6500 test x"$ac_XPG2_wchar_t" = xyes; then
6501 cat >> confdefs.h <<\EOF
6502 #define _GLIBCPP_USE_WCHAR_T 1
6505 echo "$ac_t"""yes"" 1>&6
6507 echo "$ac_t"""no"" 1>&6
6510 echo "configure: warning: wchar_t support disabled." 1>&2
6513 os_include_dir="config/os/bsd/netbsd"
6514 cat >> confdefs.h <<\EOF
6515 #define HAVE_COPYSIGN 1
6518 cat >> confdefs.h <<\EOF
6519 #define HAVE_COPYSIGNF 1
6522 cat >> confdefs.h <<\EOF
6523 #define HAVE_FINITEF 1
6526 cat >> confdefs.h <<\EOF
6527 #define HAVE_FREXPF 1
6530 cat >> confdefs.h <<\EOF
6531 #define HAVE_HYPOTF 1
6536 for ac_hdr in sys/types.h locale.h float.h
6538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6540 echo "configure:6541: checking for $ac_hdr" >&5
6541 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6542 echo $ac_n "(cached) $ac_c" 1>&6
6544 cat > conftest.$ac_ext <<EOF
6545 #line 6546 "configure"
6546 #include "confdefs.h"
6549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6550 { (eval echo configure:6551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6552 if test -z "$ac_err"; then
6554 eval "ac_cv_header_$ac_safe=yes"
6557 echo "configure: failed program was:" >&5
6558 cat conftest.$ac_ext >&5
6560 eval "ac_cv_header_$ac_safe=no"
6564 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6565 echo "$ac_t""yes" 1>&6
6566 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6567 cat >> confdefs.h <<EOF
6568 #define $ac_tr_hdr 1
6572 echo "$ac_t""no" 1>&6
6577 # If we're not using GNU ld, then there's no point in even trying these
6578 # tests. Check for that first. We should have already tested for gld
6579 # by now (in libtool), but require it now just to be safe...
6580 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6581 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6584 # The name set by libtool depends on the version of libtool. Shame on us
6585 # for depending on an impl detail, but c'est la vie. Older versions used
6586 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6587 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6588 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6589 # set (hence we're using an older libtool), then set it.
6590 if test x${with_gnu_ld+set} != xset; then
6591 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6592 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6595 with_gnu_ld=$ac_cv_prog_gnu_ld
6599 # Start by getting the version number. I think the libtool test already
6600 # does some of this, but throws away the result.
6602 ldver=`$LD --version 2>/dev/null | head -1 | \
6603 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6605 glibcpp_gnu_ld_version=`echo $ldver | \
6606 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6608 # Set --gc-sections.
6609 if test "$with_gnu_ld" = "notbroken"; then
6610 # GNU ld it is! Joy and bunny rabbits!
6612 # All these tests are for C++; save the language and the compiler flags.
6613 # Need to do this so that g++ won't try to link in libstdc++
6614 ac_test_CFLAGS="${CFLAGS+set}"
6615 ac_save_CFLAGS="$CFLAGS"
6616 CFLAGS='-x c++ -Wl,--gc-sections'
6618 # Check for -Wl,--gc-sections
6619 # XXX This test is broken at the moment, as symbols required for
6620 # linking are now in libsupc++ (not built yet.....). In addition,
6621 # this test has cored on solaris in the past. In addition,
6622 # --gc-sections doesn't really work at the moment (keeps on discarding
6623 # used sections, first .eh_frame and now some of the glibc sections for
6624 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6625 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6626 echo "configure:6627: checking for ld that supports -Wl,--gc-sections" >&5
6627 if test "$cross_compiling" = yes; then
6628 ac_sectionLDflags=yes
6630 cat > conftest.$ac_ext <<EOF
6631 #line 6632 "configure"
6632 #include "confdefs.h"
6642 if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6644 ac_sectionLDflags=yes
6646 echo "configure: failed program was:" >&5
6647 cat conftest.$ac_ext >&5
6649 ac_sectionLDflags=no
6654 if test "$ac_test_CFLAGS" = set; then
6655 CFLAGS="$ac_save_CFLAGS"
6657 # this is the suspicious part
6660 if test "$ac_sectionLDflags" = "yes"; then
6661 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6663 echo "$ac_t""$ac_sectionLDflags" 1>&6
6666 # Set linker optimization flags.
6667 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6668 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6675 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6676 echo "configure:6677: checking for main in -lm" >&5
6677 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6679 echo $ac_n "(cached) $ac_c" 1>&6
6681 ac_save_LIBS="$LIBS"
6683 cat > conftest.$ac_ext <<EOF
6684 #line 6685 "configure"
6685 #include "confdefs.h"
6691 if { (eval echo configure:6692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6693 eval "ac_cv_lib_$ac_lib_var=yes"
6695 echo "configure: failed program was:" >&5
6696 cat conftest.$ac_ext >&5
6698 eval "ac_cv_lib_$ac_lib_var=no"
6701 LIBS="$ac_save_LIBS"
6704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6705 echo "$ac_t""yes" 1>&6
6706 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6707 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6708 cat >> confdefs.h <<EOF
6709 #define $ac_tr_lib 1
6715 echo "$ac_t""no" 1>&6
6718 for ac_func in nan copysignf
6720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6721 echo "configure:6722: checking for $ac_func" >&5
6722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6723 echo $ac_n "(cached) $ac_c" 1>&6
6725 cat > conftest.$ac_ext <<EOF
6726 #line 6727 "configure"
6727 #include "confdefs.h"
6728 /* System header to define __stub macros and hopefully few prototypes,
6729 which can conflict with char $ac_func(); below. */
6731 /* Override any gcc2 internal prototype to avoid an error. */
6732 /* We use char because int might match the return type of a gcc2
6733 builtin and then its argument prototype would still apply. */
6738 /* The GNU C library defines this for functions which it implements
6739 to always fail with ENOSYS. Some functions are actually named
6740 something starting with __ and the normal name is an alias. */
6741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6751 eval "ac_cv_func_$ac_func=yes"
6753 echo "configure: failed program was:" >&5
6754 cat conftest.$ac_ext >&5
6756 eval "ac_cv_func_$ac_func=no"
6761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6762 echo "$ac_t""yes" 1>&6
6763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6764 cat >> confdefs.h <<EOF
6765 #define $ac_tr_func 1
6769 echo "$ac_t""no" 1>&6
6770 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6776 USE_COMPLEX_LONG_DOUBLE=no
6777 if test x$ac_cv_func_copysignl = x"yes"; then
6778 USE_COMPLEX_LONG_DOUBLE=yes
6779 for ac_func in signbitl
6781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6782 echo "configure:6783: checking for $ac_func" >&5
6783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6784 echo $ac_n "(cached) $ac_c" 1>&6
6786 cat > conftest.$ac_ext <<EOF
6787 #line 6788 "configure"
6788 #include "confdefs.h"
6789 /* System header to define __stub macros and hopefully few prototypes,
6790 which can conflict with char $ac_func(); below. */
6792 /* Override any gcc2 internal prototype to avoid an error. */
6793 /* We use char because int might match the return type of a gcc2
6794 builtin and then its argument prototype would still apply. */
6799 /* The GNU C library defines this for functions which it implements
6800 to always fail with ENOSYS. Some functions are actually named
6801 something starting with __ and the normal name is an alias. */
6802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6810 if { (eval echo configure:6811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6812 eval "ac_cv_func_$ac_func=yes"
6814 echo "configure: failed program was:" >&5
6815 cat conftest.$ac_ext >&5
6817 eval "ac_cv_func_$ac_func=no"
6822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6823 echo "$ac_t""yes" 1>&6
6824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6825 cat >> confdefs.h <<EOF
6826 #define $ac_tr_func 1
6830 echo "$ac_t""no" 1>&6
6831 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6842 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6843 echo "configure:6844: checking for mbstate_t" >&5
6844 cat > conftest.$ac_ext <<EOF
6845 #line 6846 "configure"
6846 #include "confdefs.h"
6849 mbstate_t teststate;
6852 if { (eval echo configure:6853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6856 echo "configure: failed program was:" >&5
6857 cat conftest.$ac_ext >&5
6862 echo "$ac_t""$have_mbstate_t" 1>&6
6863 if test x"$have_mbstate_t" = xyes; then
6864 cat >> confdefs.h <<\EOF
6865 #define HAVE_MBSTATE_T 1
6870 for ac_hdr in wchar.h
6872 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6873 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6874 echo "configure:6875: checking for $ac_hdr" >&5
6875 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6876 echo $ac_n "(cached) $ac_c" 1>&6
6878 cat > conftest.$ac_ext <<EOF
6879 #line 6880 "configure"
6880 #include "confdefs.h"
6883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6884 { (eval echo configure:6885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6885 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6886 if test -z "$ac_err"; then
6888 eval "ac_cv_header_$ac_safe=yes"
6891 echo "configure: failed program was:" >&5
6892 cat conftest.$ac_ext >&5
6894 eval "ac_cv_header_$ac_safe=no"
6898 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6899 echo "$ac_t""yes" 1>&6
6900 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6901 cat >> confdefs.h <<EOF
6902 #define $ac_tr_hdr 1
6906 echo "$ac_t""no" 1>&6
6911 for ac_hdr in wctype.h
6913 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6914 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6915 echo "configure:6916: checking for $ac_hdr" >&5
6916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6917 echo $ac_n "(cached) $ac_c" 1>&6
6919 cat > conftest.$ac_ext <<EOF
6920 #line 6921 "configure"
6921 #include "confdefs.h"
6924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6925 { (eval echo configure:6926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6927 if test -z "$ac_err"; then
6929 eval "ac_cv_header_$ac_safe=yes"
6932 echo "configure: failed program was:" >&5
6933 cat conftest.$ac_ext >&5
6935 eval "ac_cv_header_$ac_safe=no"
6939 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6940 echo "$ac_t""yes" 1>&6
6941 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6942 cat >> confdefs.h <<EOF
6943 #define $ac_tr_hdr 1
6947 echo "$ac_t""no" 1>&6
6953 if test x"$ac_has_wchar_h" = xyes &&
6954 test x"$ac_has_wctype_h" = xyes &&
6955 test x"$enable_c_mbchar" != xno; then
6957 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6958 echo "configure:6959: checking for WCHAR_MIN and WCHAR_MAX" >&5
6959 cat > conftest.$ac_ext <<EOF
6960 #line 6961 "configure"
6961 #include "confdefs.h"
6964 int i = WCHAR_MIN; int j = WCHAR_MAX;
6967 if { (eval echo configure:6968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6969 has_wchar_minmax=yes
6971 echo "configure: failed program was:" >&5
6972 cat conftest.$ac_ext >&5
6977 echo "$ac_t""$has_wchar_minmax" 1>&6
6979 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6980 echo "configure:6981: checking for WEOF" >&5
6981 cat > conftest.$ac_ext <<EOF
6982 #line 6983 "configure"
6983 #include "confdefs.h"
6991 if { (eval echo configure:6992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6995 echo "configure: failed program was:" >&5
6996 cat conftest.$ac_ext >&5
7001 echo "$ac_t""$has_weof" 1>&6
7004 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7007 echo "configure:7008: checking for $ac_func" >&5
7008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7009 echo $ac_n "(cached) $ac_c" 1>&6
7011 cat > conftest.$ac_ext <<EOF
7012 #line 7013 "configure"
7013 #include "confdefs.h"
7014 /* System header to define __stub macros and hopefully few prototypes,
7015 which can conflict with char $ac_func(); below. */
7017 /* Override any gcc2 internal prototype to avoid an error. */
7018 /* We use char because int might match the return type of a gcc2
7019 builtin and then its argument prototype would still apply. */
7024 /* The GNU C library defines this for functions which it implements
7025 to always fail with ENOSYS. Some functions are actually named
7026 something starting with __ and the normal name is an alias. */
7027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7037 eval "ac_cv_func_$ac_func=yes"
7039 echo "configure: failed program was:" >&5
7040 cat conftest.$ac_ext >&5
7042 eval "ac_cv_func_$ac_func=no"
7047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7048 echo "$ac_t""yes" 1>&6
7049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7050 cat >> confdefs.h <<EOF
7051 #define $ac_tr_func 1
7055 echo "$ac_t""no" 1>&6
7062 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7063 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7064 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7065 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7066 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7067 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7070 echo "configure:7071: checking for $ac_func" >&5
7071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7072 echo $ac_n "(cached) $ac_c" 1>&6
7074 cat > conftest.$ac_ext <<EOF
7075 #line 7076 "configure"
7076 #include "confdefs.h"
7077 /* System header to define __stub macros and hopefully few prototypes,
7078 which can conflict with char $ac_func(); below. */
7080 /* Override any gcc2 internal prototype to avoid an error. */
7081 /* We use char because int might match the return type of a gcc2
7082 builtin and then its argument prototype would still apply. */
7087 /* The GNU C library defines this for functions which it implements
7088 to always fail with ENOSYS. Some functions are actually named
7089 something starting with __ and the normal name is an alias. */
7090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7098 if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7100 eval "ac_cv_func_$ac_func=yes"
7102 echo "configure: failed program was:" >&5
7103 cat conftest.$ac_ext >&5
7105 eval "ac_cv_func_$ac_func=no"
7110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7111 echo "$ac_t""yes" 1>&6
7112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7113 cat >> confdefs.h <<EOF
7114 #define $ac_tr_func 1
7118 echo "$ac_t""no" 1>&6
7125 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7126 echo "configure:7127: checking for ISO C99 wchar_t support" >&5
7127 if test x"$has_weof" = xyes &&
7128 test x"$has_wchar_minmax" = xyes &&
7129 test x"$ac_wfuncs" = xyes; then
7130 ac_isoC99_wchar_t=yes
7132 ac_isoC99_wchar_t=no
7134 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7136 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7137 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7138 echo "configure:7139: checking for iconv.h" >&5
7139 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7140 echo $ac_n "(cached) $ac_c" 1>&6
7142 cat > conftest.$ac_ext <<EOF
7143 #line 7144 "configure"
7144 #include "confdefs.h"
7147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7148 { (eval echo configure:7149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7150 if test -z "$ac_err"; then
7152 eval "ac_cv_header_$ac_safe=yes"
7155 echo "configure: failed program was:" >&5
7156 cat conftest.$ac_ext >&5
7158 eval "ac_cv_header_$ac_safe=no"
7162 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7163 echo "$ac_t""yes" 1>&6
7166 echo "$ac_t""no" 1>&6
7170 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7171 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7172 echo "configure:7173: checking for langinfo.h" >&5
7173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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 #include <langinfo.h>
7181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7182 { (eval echo configure:7183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7184 if test -z "$ac_err"; then
7186 eval "ac_cv_header_$ac_safe=yes"
7189 echo "configure: failed program was:" >&5
7190 cat conftest.$ac_ext >&5
7192 eval "ac_cv_header_$ac_safe=no"
7196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7197 echo "$ac_t""yes" 1>&6
7198 ac_has_langinfo_h=yes
7200 echo "$ac_t""no" 1>&6
7201 ac_has_langinfo_h=no
7205 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7206 echo "configure:7207: checking for iconv in -liconv" >&5
7207 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7209 echo $ac_n "(cached) $ac_c" 1>&6
7211 ac_save_LIBS="$LIBS"
7212 LIBS="-liconv $LIBS"
7213 cat > conftest.$ac_ext <<EOF
7214 #line 7215 "configure"
7215 #include "confdefs.h"
7216 /* Override any gcc2 internal prototype to avoid an error. */
7217 /* We use char because int might match the return type of a gcc2
7218 builtin and then its argument prototype would still apply. */
7225 if { (eval echo configure:7226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7227 eval "ac_cv_lib_$ac_lib_var=yes"
7229 echo "configure: failed program was:" >&5
7230 cat conftest.$ac_ext >&5
7232 eval "ac_cv_lib_$ac_lib_var=no"
7235 LIBS="$ac_save_LIBS"
7238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7239 echo "$ac_t""yes" 1>&6
7242 echo "$ac_t""no" 1>&6
7245 ac_save_LIBS="$LIBS"
7246 LIBS="$LIBS $libiconv"
7248 for ac_func in iconv_open iconv_close iconv nl_langinfo
7250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7251 echo "configure:7252: checking for $ac_func" >&5
7252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7253 echo $ac_n "(cached) $ac_c" 1>&6
7255 cat > conftest.$ac_ext <<EOF
7256 #line 7257 "configure"
7257 #include "confdefs.h"
7258 /* System header to define __stub macros and hopefully few prototypes,
7259 which can conflict with char $ac_func(); below. */
7261 /* Override any gcc2 internal prototype to avoid an error. */
7262 /* We use char because int might match the return type of a gcc2
7263 builtin and then its argument prototype would still apply. */
7268 /* The GNU C library defines this for functions which it implements
7269 to always fail with ENOSYS. Some functions are actually named
7270 something starting with __ and the normal name is an alias. */
7271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7279 if { (eval echo configure:7280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7281 eval "ac_cv_func_$ac_func=yes"
7283 echo "configure: failed program was:" >&5
7284 cat conftest.$ac_ext >&5
7286 eval "ac_cv_func_$ac_func=no"
7291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7292 echo "$ac_t""yes" 1>&6
7293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7294 cat >> confdefs.h <<EOF
7295 #define $ac_tr_func 1
7300 echo "$ac_t""no" 1>&6
7306 LIBS="$ac_save_LIBS"
7308 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7309 echo "configure:7310: checking for XPG2 wchar_t support" >&5
7310 if test x"$ac_has_iconv_h" = xyes &&
7311 test x"$ac_has_langinfo_h" = xyes &&
7312 test x"$ac_XPG2funcs" = xyes; then
7317 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7319 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7320 echo "configure:7321: checking for enabled wchar_t specializations" >&5
7321 if test x"$ac_isoC99_wchar_t" = xyes &&
7322 test x"$ac_XPG2_wchar_t" = xyes; then
7323 cat >> confdefs.h <<\EOF
7324 #define _GLIBCPP_USE_WCHAR_T 1
7327 echo "$ac_t"""yes"" 1>&6
7329 echo "$ac_t"""no"" 1>&6
7332 echo "configure: warning: wchar_t support disabled." 1>&2
7335 os_include_dir="config/os/mingw32"
7339 os_include_dir="config/os/newlib"
7340 cat >> confdefs.h <<\EOF
7341 #define HAVE_HYPOT 1
7347 case "$target_alias" in
7351 # GLIBCPP_CHECK_STDLIB_SUPPORT
7352 cat >> confdefs.h <<\EOF
7353 #define HAVE_STRTOF 1
7356 cat >> confdefs.h <<\EOF
7357 #define HAVE_STRTOLD 1
7361 cat >> confdefs.h <<\EOF
7366 cat >> confdefs.h <<\EOF
7367 #define HAVE_ACOSF 1
7370 cat >> confdefs.h <<\EOF
7371 #define HAVE_ASINF 1
7374 cat >> confdefs.h <<\EOF
7375 #define HAVE_ATAN2F 1
7378 cat >> confdefs.h <<\EOF
7379 #define HAVE_ATANF 1
7382 cat >> confdefs.h <<\EOF
7383 #define HAVE_CEILF 1
7386 cat >> confdefs.h <<\EOF
7387 #define HAVE_COPYSIGN 1
7390 cat >> confdefs.h <<\EOF
7391 #define HAVE_COPYSIGNF 1
7394 cat >> confdefs.h <<\EOF
7398 cat >> confdefs.h <<\EOF
7399 #define HAVE_COSHF 1
7402 cat >> confdefs.h <<\EOF
7406 cat >> confdefs.h <<\EOF
7407 #define HAVE_FABSF 1
7410 cat >> confdefs.h <<\EOF
7411 #define HAVE_FINITE 1
7414 cat >> confdefs.h <<\EOF
7415 #define HAVE_FINITEF 1
7418 cat >> confdefs.h <<\EOF
7419 #define HAVE_FLOORF 1
7422 cat >> confdefs.h <<\EOF
7423 #define HAVE_FMODF 1
7426 cat >> confdefs.h <<\EOF
7427 #define HAVE_FREXPF 1
7430 cat >> confdefs.h <<\EOF
7431 #define HAVE_ISINF 1
7434 cat >> confdefs.h <<\EOF
7435 #define HAVE_ISINFF 1
7438 cat >> confdefs.h <<\EOF
7439 #define HAVE_ISNAN 1
7442 cat >> confdefs.h <<\EOF
7443 #define HAVE_ISNANF 1
7446 cat >> confdefs.h <<\EOF
7447 #define HAVE_LDEXPF 1
7450 cat >> confdefs.h <<\EOF
7451 #define HAVE_LOG10F 1
7454 cat >> confdefs.h <<\EOF
7458 cat >> confdefs.h <<\EOF
7459 #define HAVE_MODFF 1
7462 cat >> confdefs.h <<\EOF
7466 cat >> confdefs.h <<\EOF
7470 cat >> confdefs.h <<\EOF
7471 #define HAVE_SINHF 1
7474 cat >> confdefs.h <<\EOF
7475 #define HAVE_SQRTF 1
7478 cat >> confdefs.h <<\EOF
7482 cat >> confdefs.h <<\EOF
7483 #define HAVE_TANHF 1
7489 # At some point, we should differentiate between architectures
7490 # like x86, which have long double versions, and alpha/powerpc/etc.,
7491 # which don't. For the time being, punt.
7492 if test x"long_double_math_on_this_cpu" = x"yes"; then
7493 cat >> confdefs.h <<\EOF
7494 #define HAVE_ACOSL 1
7497 cat >> confdefs.h <<\EOF
7498 #define HAVE_ASINL 1
7501 cat >> confdefs.h <<\EOF
7502 #define HAVE_ATAN2L 1
7505 cat >> confdefs.h <<\EOF
7506 #define HAVE_ATANL 1
7509 cat >> confdefs.h <<\EOF
7510 #define HAVE_CEILL 1
7513 cat >> confdefs.h <<\EOF
7514 #define HAVE_COPYSIGNL 1
7517 cat >> confdefs.h <<\EOF
7521 cat >> confdefs.h <<\EOF
7522 #define HAVE_COSHL 1
7525 cat >> confdefs.h <<\EOF
7529 cat >> confdefs.h <<\EOF
7530 #define HAVE_FABSL 1
7533 cat >> confdefs.h <<\EOF
7534 #define HAVE_FINITEL 1
7537 cat >> confdefs.h <<\EOF
7538 #define HAVE_FLOORL 1
7541 cat >> confdefs.h <<\EOF
7542 #define HAVE_FMODL 1
7545 cat >> confdefs.h <<\EOF
7546 #define HAVE_FREXPL 1
7549 cat >> confdefs.h <<\EOF
7550 #define HAVE_ISINFL 1
7553 cat >> confdefs.h <<\EOF
7554 #define HAVE_ISNANL 1
7557 cat >> confdefs.h <<\EOF
7558 #define HAVE_LDEXPL 1
7561 cat >> confdefs.h <<\EOF
7562 #define HAVE_LOG10L 1
7565 cat >> confdefs.h <<\EOF
7569 cat >> confdefs.h <<\EOF
7570 #define HAVE_MODFL 1
7573 cat >> confdefs.h <<\EOF
7577 cat >> confdefs.h <<\EOF
7578 #define HAVE_SINCOSL 1
7581 cat >> confdefs.h <<\EOF
7585 cat >> confdefs.h <<\EOF
7586 #define HAVE_SINHL 1
7589 cat >> confdefs.h <<\EOF
7590 #define HAVE_SQRTL 1
7593 cat >> confdefs.h <<\EOF
7597 cat >> confdefs.h <<\EOF
7598 #define HAVE_TANHL 1
7604 # We are being configured natively. We can do more elaborate tests
7605 # that include AC_TRY_COMPILE now, as the linker is assumed to be
7607 GLIBCPP_IS_CROSS_COMPILING=0
7610 # Check for available headers.
7611 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7612 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
7614 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7615 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7616 echo "configure:7617: checking for $ac_hdr" >&5
7617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7618 echo $ac_n "(cached) $ac_c" 1>&6
7620 cat > conftest.$ac_ext <<EOF
7621 #line 7622 "configure"
7622 #include "confdefs.h"
7625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7626 { (eval echo configure:7627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7628 if test -z "$ac_err"; then
7630 eval "ac_cv_header_$ac_safe=yes"
7633 echo "configure: failed program was:" >&5
7634 cat conftest.$ac_ext >&5
7636 eval "ac_cv_header_$ac_safe=no"
7640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7641 echo "$ac_t""yes" 1>&6
7642 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7643 cat >> confdefs.h <<EOF
7644 #define $ac_tr_hdr 1
7648 echo "$ac_t""no" 1>&6
7654 # All these tests are for C++; save the language and the compiler flags.
7655 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7656 # found in GLIBCPP_CONFIGURE.
7659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7660 ac_cpp='$CXXCPP $CPPFLAGS'
7661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7663 cross_compiling=$ac_cv_prog_cxx_cross
7665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7666 ac_save_CXXFLAGS="$CXXFLAGS"
7668 # Check for maintainer-mode bits.
7669 if test x"$USE_MAINTAINER_MODE" = xno; then
7675 # Check for -ffunction-sections -fdata-sections
7676 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
7677 echo "configure:7678: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7678 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7679 cat > conftest.$ac_ext <<EOF
7680 #line 7681 "configure"
7681 #include "confdefs.h"
7688 if { (eval echo configure:7689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7692 echo "configure: failed program was:" >&5
7693 cat conftest.$ac_ext >&5
7698 if test "$ac_test_CXXFLAGS" = set; then
7699 CXXFLAGS="$ac_save_CXXFLAGS"
7701 # this is the suspicious part
7704 if test x"$ac_fdsections" = x"yes" &&
7705 test x"$enable_debug" = x"no"; then
7706 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7708 echo "$ac_t""$ac_fdsections" 1>&6
7711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7712 ac_cpp='$CPP $CPPFLAGS'
7713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7715 cross_compiling=$ac_cv_prog_cc_cross
7721 # If we're not using GNU ld, then there's no point in even trying these
7722 # tests. Check for that first. We should have already tested for gld
7723 # by now (in libtool), but require it now just to be safe...
7724 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7725 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7728 # The name set by libtool depends on the version of libtool. Shame on us
7729 # for depending on an impl detail, but c'est la vie. Older versions used
7730 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7731 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7732 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7733 # set (hence we're using an older libtool), then set it.
7734 if test x${with_gnu_ld+set} != xset; then
7735 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7736 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7739 with_gnu_ld=$ac_cv_prog_gnu_ld
7743 # Start by getting the version number. I think the libtool test already
7744 # does some of this, but throws away the result.
7746 ldver=`$LD --version 2>/dev/null | head -1 | \
7747 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7749 glibcpp_gnu_ld_version=`echo $ldver | \
7750 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7752 # Set --gc-sections.
7753 if test "$with_gnu_ld" = "notbroken"; then
7754 # GNU ld it is! Joy and bunny rabbits!
7756 # All these tests are for C++; save the language and the compiler flags.
7757 # Need to do this so that g++ won't try to link in libstdc++
7758 ac_test_CFLAGS="${CFLAGS+set}"
7759 ac_save_CFLAGS="$CFLAGS"
7760 CFLAGS='-x c++ -Wl,--gc-sections'
7762 # Check for -Wl,--gc-sections
7763 # XXX This test is broken at the moment, as symbols required for
7764 # linking are now in libsupc++ (not built yet.....). In addition,
7765 # this test has cored on solaris in the past. In addition,
7766 # --gc-sections doesn't really work at the moment (keeps on discarding
7767 # used sections, first .eh_frame and now some of the glibc sections for
7768 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7769 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7770 echo "configure:7771: checking for ld that supports -Wl,--gc-sections" >&5
7771 if test "$cross_compiling" = yes; then
7772 ac_sectionLDflags=yes
7774 cat > conftest.$ac_ext <<EOF
7775 #line 7776 "configure"
7776 #include "confdefs.h"
7786 if { (eval echo configure:7787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7788 ac_sectionLDflags=yes
7790 echo "configure: failed program was:" >&5
7791 cat conftest.$ac_ext >&5
7793 ac_sectionLDflags=no
7798 if test "$ac_test_CFLAGS" = set; then
7799 CFLAGS="$ac_save_CFLAGS"
7801 # this is the suspicious part
7804 if test "$ac_sectionLDflags" = "yes"; then
7805 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7807 echo "$ac_t""$ac_sectionLDflags" 1>&6
7810 # Set linker optimization flags.
7811 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7812 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7820 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
7821 echo "configure:7822: checking for __builtin_abs declaration" >&5
7822 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
7823 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
7824 echo $ac_n "(cached) $ac_c" 1>&6
7829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7830 ac_cpp='$CXXCPP $CPPFLAGS'
7831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7833 cross_compiling=$ac_cv_prog_cxx_cross
7835 cat > conftest.$ac_ext <<EOF
7836 #line 7837 "configure"
7837 #include "confdefs.h"
7843 if { (eval echo configure:7844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7845 glibcpp_cv_func___builtin_abs_use=yes
7847 echo "configure: failed program was:" >&5
7848 cat conftest.$ac_ext >&5
7850 glibcpp_cv_func___builtin_abs_use=no
7854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7855 ac_cpp='$CPP $CPPFLAGS'
7856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7858 cross_compiling=$ac_cv_prog_cc_cross
7864 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
7865 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
7866 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
7867 echo "configure:7868: checking for __builtin_abs linkage" >&5
7868 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
7869 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
7870 echo $ac_n "(cached) $ac_c" 1>&6
7873 cat > conftest.$ac_ext <<EOF
7874 #line 7875 "configure"
7875 #include "confdefs.h"
7881 if { (eval echo configure:7882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7883 glibcpp_cv_func___builtin_abs_link=yes
7885 echo "configure: failed program was:" >&5
7886 cat conftest.$ac_ext >&5
7888 glibcpp_cv_func___builtin_abs_link=no
7895 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
7896 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
7897 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7898 cat >> confdefs.h <<EOF
7899 #define ${ac_tr_func} 1
7906 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
7907 echo "configure:7908: checking for __builtin_fabsf declaration" >&5
7908 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
7909 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
7910 echo $ac_n "(cached) $ac_c" 1>&6
7915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7916 ac_cpp='$CXXCPP $CPPFLAGS'
7917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7919 cross_compiling=$ac_cv_prog_cxx_cross
7921 cat > conftest.$ac_ext <<EOF
7922 #line 7923 "configure"
7923 #include "confdefs.h"
7929 if { (eval echo configure:7930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7931 glibcpp_cv_func___builtin_fabsf_use=yes
7933 echo "configure: failed program was:" >&5
7934 cat conftest.$ac_ext >&5
7936 glibcpp_cv_func___builtin_fabsf_use=no
7940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7941 ac_cpp='$CPP $CPPFLAGS'
7942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7944 cross_compiling=$ac_cv_prog_cc_cross
7950 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
7951 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
7952 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
7953 echo "configure:7954: checking for __builtin_fabsf linkage" >&5
7954 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
7955 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
7956 echo $ac_n "(cached) $ac_c" 1>&6
7959 cat > conftest.$ac_ext <<EOF
7960 #line 7961 "configure"
7961 #include "confdefs.h"
7967 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7969 glibcpp_cv_func___builtin_fabsf_link=yes
7971 echo "configure: failed program was:" >&5
7972 cat conftest.$ac_ext >&5
7974 glibcpp_cv_func___builtin_fabsf_link=no
7981 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7982 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7983 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7984 cat >> confdefs.h <<EOF
7985 #define ${ac_tr_func} 1
7992 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
7993 echo "configure:7994: checking for __builtin_fabs declaration" >&5
7994 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7995 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7996 echo $ac_n "(cached) $ac_c" 1>&6
8001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8002 ac_cpp='$CXXCPP $CPPFLAGS'
8003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8005 cross_compiling=$ac_cv_prog_cxx_cross
8007 cat > conftest.$ac_ext <<EOF
8008 #line 8009 "configure"
8009 #include "confdefs.h"
8015 if { (eval echo configure:8016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8017 glibcpp_cv_func___builtin_fabs_use=yes
8019 echo "configure: failed program was:" >&5
8020 cat conftest.$ac_ext >&5
8022 glibcpp_cv_func___builtin_fabs_use=no
8026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8027 ac_cpp='$CPP $CPPFLAGS'
8028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8030 cross_compiling=$ac_cv_prog_cc_cross
8036 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8037 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8038 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8039 echo "configure:8040: checking for __builtin_fabs linkage" >&5
8040 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8041 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8042 echo $ac_n "(cached) $ac_c" 1>&6
8045 cat > conftest.$ac_ext <<EOF
8046 #line 8047 "configure"
8047 #include "confdefs.h"
8053 if { (eval echo configure:8054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8055 glibcpp_cv_func___builtin_fabs_link=yes
8057 echo "configure: failed program was:" >&5
8058 cat conftest.$ac_ext >&5
8060 glibcpp_cv_func___builtin_fabs_link=no
8067 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8068 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8069 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8070 cat >> confdefs.h <<EOF
8071 #define ${ac_tr_func} 1
8078 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8079 echo "configure:8080: checking for __builtin_fabsl declaration" >&5
8080 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8081 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8082 echo $ac_n "(cached) $ac_c" 1>&6
8087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8088 ac_cpp='$CXXCPP $CPPFLAGS'
8089 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8090 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8091 cross_compiling=$ac_cv_prog_cxx_cross
8093 cat > conftest.$ac_ext <<EOF
8094 #line 8095 "configure"
8095 #include "confdefs.h"
8101 if { (eval echo configure:8102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8103 glibcpp_cv_func___builtin_fabsl_use=yes
8105 echo "configure: failed program was:" >&5
8106 cat conftest.$ac_ext >&5
8108 glibcpp_cv_func___builtin_fabsl_use=no
8112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8113 ac_cpp='$CPP $CPPFLAGS'
8114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8116 cross_compiling=$ac_cv_prog_cc_cross
8122 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8123 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8124 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8125 echo "configure:8126: checking for __builtin_fabsl linkage" >&5
8126 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8127 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8128 echo $ac_n "(cached) $ac_c" 1>&6
8131 cat > conftest.$ac_ext <<EOF
8132 #line 8133 "configure"
8133 #include "confdefs.h"
8139 if { (eval echo configure:8140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8141 glibcpp_cv_func___builtin_fabsl_link=yes
8143 echo "configure: failed program was:" >&5
8144 cat conftest.$ac_ext >&5
8146 glibcpp_cv_func___builtin_fabsl_link=no
8153 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8154 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8155 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8156 cat >> confdefs.h <<EOF
8157 #define ${ac_tr_func} 1
8164 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8165 echo "configure:8166: checking for __builtin_labs declaration" >&5
8166 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8167 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8168 echo $ac_n "(cached) $ac_c" 1>&6
8173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8174 ac_cpp='$CXXCPP $CPPFLAGS'
8175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8177 cross_compiling=$ac_cv_prog_cxx_cross
8179 cat > conftest.$ac_ext <<EOF
8180 #line 8181 "configure"
8181 #include "confdefs.h"
8187 if { (eval echo configure:8188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8189 glibcpp_cv_func___builtin_labs_use=yes
8191 echo "configure: failed program was:" >&5
8192 cat conftest.$ac_ext >&5
8194 glibcpp_cv_func___builtin_labs_use=no
8198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8199 ac_cpp='$CPP $CPPFLAGS'
8200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8202 cross_compiling=$ac_cv_prog_cc_cross
8208 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8209 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8210 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8211 echo "configure:8212: checking for __builtin_labs linkage" >&5
8212 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8213 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8217 cat > conftest.$ac_ext <<EOF
8218 #line 8219 "configure"
8219 #include "confdefs.h"
8225 if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8227 glibcpp_cv_func___builtin_labs_link=yes
8229 echo "configure: failed program was:" >&5
8230 cat conftest.$ac_ext >&5
8232 glibcpp_cv_func___builtin_labs_link=no
8239 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8240 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8241 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8242 cat >> confdefs.h <<EOF
8243 #define ${ac_tr_func} 1
8251 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8252 echo "configure:8253: checking for __builtin_sqrtf declaration" >&5
8253 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8254 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8255 echo $ac_n "(cached) $ac_c" 1>&6
8260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8261 ac_cpp='$CXXCPP $CPPFLAGS'
8262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8264 cross_compiling=$ac_cv_prog_cxx_cross
8266 cat > conftest.$ac_ext <<EOF
8267 #line 8268 "configure"
8268 #include "confdefs.h"
8274 if { (eval echo configure:8275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8276 glibcpp_cv_func___builtin_sqrtf_use=yes
8278 echo "configure: failed program was:" >&5
8279 cat conftest.$ac_ext >&5
8281 glibcpp_cv_func___builtin_sqrtf_use=no
8285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8286 ac_cpp='$CPP $CPPFLAGS'
8287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8289 cross_compiling=$ac_cv_prog_cc_cross
8295 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8296 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8297 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8298 echo "configure:8299: checking for __builtin_sqrtf linkage" >&5
8299 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8300 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8301 echo $ac_n "(cached) $ac_c" 1>&6
8304 cat > conftest.$ac_ext <<EOF
8305 #line 8306 "configure"
8306 #include "confdefs.h"
8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8314 glibcpp_cv_func___builtin_sqrtf_link=yes
8316 echo "configure: failed program was:" >&5
8317 cat conftest.$ac_ext >&5
8319 glibcpp_cv_func___builtin_sqrtf_link=no
8326 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8327 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8328 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8329 cat >> confdefs.h <<EOF
8330 #define ${ac_tr_func} 1
8337 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8338 echo "configure:8339: checking for __builtin_sqrt declaration" >&5
8339 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8340 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8341 echo $ac_n "(cached) $ac_c" 1>&6
8346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8347 ac_cpp='$CXXCPP $CPPFLAGS'
8348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8350 cross_compiling=$ac_cv_prog_cxx_cross
8352 cat > conftest.$ac_ext <<EOF
8353 #line 8354 "configure"
8354 #include "confdefs.h"
8360 if { (eval echo configure:8361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8362 glibcpp_cv_func___builtin_sqrt_use=yes
8364 echo "configure: failed program was:" >&5
8365 cat conftest.$ac_ext >&5
8367 glibcpp_cv_func___builtin_sqrt_use=no
8371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8372 ac_cpp='$CPP $CPPFLAGS'
8373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8375 cross_compiling=$ac_cv_prog_cc_cross
8381 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
8382 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
8383 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
8384 echo "configure:8385: checking for __builtin_sqrt linkage" >&5
8385 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
8386 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
8387 echo $ac_n "(cached) $ac_c" 1>&6
8390 cat > conftest.$ac_ext <<EOF
8391 #line 8392 "configure"
8392 #include "confdefs.h"
8398 if { (eval echo configure:8399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8400 glibcpp_cv_func___builtin_sqrt_link=yes
8402 echo "configure: failed program was:" >&5
8403 cat conftest.$ac_ext >&5
8405 glibcpp_cv_func___builtin_sqrt_link=no
8412 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
8413 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
8414 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8415 cat >> confdefs.h <<EOF
8416 #define ${ac_tr_func} 1
8423 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
8424 echo "configure:8425: checking for __builtin_sqrtl declaration" >&5
8425 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
8426 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
8427 echo $ac_n "(cached) $ac_c" 1>&6
8432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8433 ac_cpp='$CXXCPP $CPPFLAGS'
8434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8436 cross_compiling=$ac_cv_prog_cxx_cross
8438 cat > conftest.$ac_ext <<EOF
8439 #line 8440 "configure"
8440 #include "confdefs.h"
8446 if { (eval echo configure:8447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8448 glibcpp_cv_func___builtin_sqrtl_use=yes
8450 echo "configure: failed program was:" >&5
8451 cat conftest.$ac_ext >&5
8453 glibcpp_cv_func___builtin_sqrtl_use=no
8457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8458 ac_cpp='$CPP $CPPFLAGS'
8459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8461 cross_compiling=$ac_cv_prog_cc_cross
8467 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
8468 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
8469 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
8470 echo "configure:8471: checking for __builtin_sqrtl linkage" >&5
8471 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
8472 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
8473 echo $ac_n "(cached) $ac_c" 1>&6
8476 cat > conftest.$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8486 glibcpp_cv_func___builtin_sqrtl_link=yes
8488 echo "configure: failed program was:" >&5
8489 cat conftest.$ac_ext >&5
8491 glibcpp_cv_func___builtin_sqrtl_link=no
8498 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
8499 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
8500 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8501 cat >> confdefs.h <<EOF
8502 #define ${ac_tr_func} 1
8510 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
8511 echo "configure:8512: checking for __builtin_sinf declaration" >&5
8512 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
8513 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
8514 echo $ac_n "(cached) $ac_c" 1>&6
8519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8520 ac_cpp='$CXXCPP $CPPFLAGS'
8521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8523 cross_compiling=$ac_cv_prog_cxx_cross
8525 cat > conftest.$ac_ext <<EOF
8526 #line 8527 "configure"
8527 #include "confdefs.h"
8533 if { (eval echo configure:8534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8535 glibcpp_cv_func___builtin_sinf_use=yes
8537 echo "configure: failed program was:" >&5
8538 cat conftest.$ac_ext >&5
8540 glibcpp_cv_func___builtin_sinf_use=no
8544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8545 ac_cpp='$CPP $CPPFLAGS'
8546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8548 cross_compiling=$ac_cv_prog_cc_cross
8554 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
8555 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
8556 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
8557 echo "configure:8558: checking for __builtin_sinf linkage" >&5
8558 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
8559 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
8560 echo $ac_n "(cached) $ac_c" 1>&6
8563 cat > conftest.$ac_ext <<EOF
8564 #line 8565 "configure"
8565 #include "confdefs.h"
8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8573 glibcpp_cv_func___builtin_sinf_link=yes
8575 echo "configure: failed program was:" >&5
8576 cat conftest.$ac_ext >&5
8578 glibcpp_cv_func___builtin_sinf_link=no
8585 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
8586 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
8587 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8588 cat >> confdefs.h <<EOF
8589 #define ${ac_tr_func} 1
8596 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
8597 echo "configure:8598: checking for __builtin_sin declaration" >&5
8598 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
8599 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
8600 echo $ac_n "(cached) $ac_c" 1>&6
8605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8606 ac_cpp='$CXXCPP $CPPFLAGS'
8607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8609 cross_compiling=$ac_cv_prog_cxx_cross
8611 cat > conftest.$ac_ext <<EOF
8612 #line 8613 "configure"
8613 #include "confdefs.h"
8619 if { (eval echo configure:8620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8621 glibcpp_cv_func___builtin_sin_use=yes
8623 echo "configure: failed program was:" >&5
8624 cat conftest.$ac_ext >&5
8626 glibcpp_cv_func___builtin_sin_use=no
8630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8631 ac_cpp='$CPP $CPPFLAGS'
8632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8634 cross_compiling=$ac_cv_prog_cc_cross
8640 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
8641 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
8642 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
8643 echo "configure:8644: checking for __builtin_sin linkage" >&5
8644 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
8645 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
8646 echo $ac_n "(cached) $ac_c" 1>&6
8649 cat > conftest.$ac_ext <<EOF
8650 #line 8651 "configure"
8651 #include "confdefs.h"
8657 if { (eval echo configure:8658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8659 glibcpp_cv_func___builtin_sin_link=yes
8661 echo "configure: failed program was:" >&5
8662 cat conftest.$ac_ext >&5
8664 glibcpp_cv_func___builtin_sin_link=no
8671 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
8672 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
8673 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8674 cat >> confdefs.h <<EOF
8675 #define ${ac_tr_func} 1
8682 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
8683 echo "configure:8684: checking for __builtin_sinl declaration" >&5
8684 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
8685 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
8686 echo $ac_n "(cached) $ac_c" 1>&6
8691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8692 ac_cpp='$CXXCPP $CPPFLAGS'
8693 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8694 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8695 cross_compiling=$ac_cv_prog_cxx_cross
8697 cat > conftest.$ac_ext <<EOF
8698 #line 8699 "configure"
8699 #include "confdefs.h"
8705 if { (eval echo configure:8706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8707 glibcpp_cv_func___builtin_sinl_use=yes
8709 echo "configure: failed program was:" >&5
8710 cat conftest.$ac_ext >&5
8712 glibcpp_cv_func___builtin_sinl_use=no
8716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8717 ac_cpp='$CPP $CPPFLAGS'
8718 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8719 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8720 cross_compiling=$ac_cv_prog_cc_cross
8726 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
8727 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
8728 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
8729 echo "configure:8730: checking for __builtin_sinl linkage" >&5
8730 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
8731 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
8732 echo $ac_n "(cached) $ac_c" 1>&6
8735 cat > conftest.$ac_ext <<EOF
8736 #line 8737 "configure"
8737 #include "confdefs.h"
8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8745 glibcpp_cv_func___builtin_sinl_link=yes
8747 echo "configure: failed program was:" >&5
8748 cat conftest.$ac_ext >&5
8750 glibcpp_cv_func___builtin_sinl_link=no
8757 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
8758 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
8759 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8760 cat >> confdefs.h <<EOF
8761 #define ${ac_tr_func} 1
8769 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
8770 echo "configure:8771: checking for __builtin_cosf declaration" >&5
8771 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
8772 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
8773 echo $ac_n "(cached) $ac_c" 1>&6
8778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8779 ac_cpp='$CXXCPP $CPPFLAGS'
8780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8782 cross_compiling=$ac_cv_prog_cxx_cross
8784 cat > conftest.$ac_ext <<EOF
8785 #line 8786 "configure"
8786 #include "confdefs.h"
8792 if { (eval echo configure:8793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8794 glibcpp_cv_func___builtin_cosf_use=yes
8796 echo "configure: failed program was:" >&5
8797 cat conftest.$ac_ext >&5
8799 glibcpp_cv_func___builtin_cosf_use=no
8803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8804 ac_cpp='$CPP $CPPFLAGS'
8805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8807 cross_compiling=$ac_cv_prog_cc_cross
8813 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
8814 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
8815 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
8816 echo "configure:8817: checking for __builtin_cosf linkage" >&5
8817 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
8818 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
8819 echo $ac_n "(cached) $ac_c" 1>&6
8822 cat > conftest.$ac_ext <<EOF
8823 #line 8824 "configure"
8824 #include "confdefs.h"
8830 if { (eval echo configure:8831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8832 glibcpp_cv_func___builtin_cosf_link=yes
8834 echo "configure: failed program was:" >&5
8835 cat conftest.$ac_ext >&5
8837 glibcpp_cv_func___builtin_cosf_link=no
8844 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
8845 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
8846 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8847 cat >> confdefs.h <<EOF
8848 #define ${ac_tr_func} 1
8855 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
8856 echo "configure:8857: checking for __builtin_cos declaration" >&5
8857 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
8858 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
8859 echo $ac_n "(cached) $ac_c" 1>&6
8864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8865 ac_cpp='$CXXCPP $CPPFLAGS'
8866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8868 cross_compiling=$ac_cv_prog_cxx_cross
8870 cat > conftest.$ac_ext <<EOF
8871 #line 8872 "configure"
8872 #include "confdefs.h"
8878 if { (eval echo configure:8879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8880 glibcpp_cv_func___builtin_cos_use=yes
8882 echo "configure: failed program was:" >&5
8883 cat conftest.$ac_ext >&5
8885 glibcpp_cv_func___builtin_cos_use=no
8889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8890 ac_cpp='$CPP $CPPFLAGS'
8891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8893 cross_compiling=$ac_cv_prog_cc_cross
8899 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
8900 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
8901 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
8902 echo "configure:8903: checking for __builtin_cos linkage" >&5
8903 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
8904 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
8905 echo $ac_n "(cached) $ac_c" 1>&6
8908 cat > conftest.$ac_ext <<EOF
8909 #line 8910 "configure"
8910 #include "confdefs.h"
8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8918 glibcpp_cv_func___builtin_cos_link=yes
8920 echo "configure: failed program was:" >&5
8921 cat conftest.$ac_ext >&5
8923 glibcpp_cv_func___builtin_cos_link=no
8930 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
8931 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
8932 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8933 cat >> confdefs.h <<EOF
8934 #define ${ac_tr_func} 1
8941 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
8942 echo "configure:8943: checking for __builtin_cosl declaration" >&5
8943 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
8944 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
8945 echo $ac_n "(cached) $ac_c" 1>&6
8950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8951 ac_cpp='$CXXCPP $CPPFLAGS'
8952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8954 cross_compiling=$ac_cv_prog_cxx_cross
8956 cat > conftest.$ac_ext <<EOF
8957 #line 8958 "configure"
8958 #include "confdefs.h"
8964 if { (eval echo configure:8965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8966 glibcpp_cv_func___builtin_cosl_use=yes
8968 echo "configure: failed program was:" >&5
8969 cat conftest.$ac_ext >&5
8971 glibcpp_cv_func___builtin_cosl_use=no
8975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8976 ac_cpp='$CPP $CPPFLAGS'
8977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8979 cross_compiling=$ac_cv_prog_cc_cross
8985 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8986 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8987 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
8988 echo "configure:8989: checking for __builtin_cosl linkage" >&5
8989 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8990 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8991 echo $ac_n "(cached) $ac_c" 1>&6
8994 cat > conftest.$ac_ext <<EOF
8995 #line 8996 "configure"
8996 #include "confdefs.h"
9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9004 glibcpp_cv_func___builtin_cosl_link=yes
9006 echo "configure: failed program was:" >&5
9007 cat conftest.$ac_ext >&5
9009 glibcpp_cv_func___builtin_cosl_link=no
9016 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9017 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9018 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9019 cat >> confdefs.h <<EOF
9020 #define ${ac_tr_func} 1
9028 if test x$dummyvar = x"yes"; then
9029 cat >> confdefs.h <<\EOF
9030 #define HAVE___BUILTIN_ABS 1
9033 cat >> confdefs.h <<\EOF
9034 #define HAVE___BUILTIN_LABS 1
9037 cat >> confdefs.h <<\EOF
9038 #define HAVE___BUILTIN_COS 1
9041 cat >> confdefs.h <<\EOF
9042 #define HAVE___BUILTIN_COSF 1
9045 cat >> confdefs.h <<\EOF
9046 #define HAVE___BUILTIN_COSL 1
9049 cat >> confdefs.h <<\EOF
9050 #define HAVE___BUILTIN_FABS 1
9053 cat >> confdefs.h <<\EOF
9054 #define HAVE___BUILTIN_FABSF 1
9057 cat >> confdefs.h <<\EOF
9058 #define HAVE___BUILTIN_FABSL 1
9061 cat >> confdefs.h <<\EOF
9062 #define HAVE___BUILTIN_SIN 1
9065 cat >> confdefs.h <<\EOF
9066 #define HAVE___BUILTIN_SINF 1
9069 cat >> confdefs.h <<\EOF
9070 #define HAVE___BUILTIN_SINL 1
9073 cat >> confdefs.h <<\EOF
9074 #define HAVE___BUILTIN_SQRT 1
9077 cat >> confdefs.h <<\EOF
9078 #define HAVE___BUILTIN_SQRTF 1
9081 cat >> confdefs.h <<\EOF
9082 #define HAVE___BUILTIN_SQRTL 1
9088 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9089 ac_save_CXXFLAGS="$CXXFLAGS"
9090 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9092 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9093 echo "configure:9094: checking for sin in -lm" >&5
9094 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9096 echo $ac_n "(cached) $ac_c" 1>&6
9098 ac_save_LIBS="$LIBS"
9100 cat > conftest.$ac_ext <<EOF
9101 #line 9102 "configure"
9102 #include "confdefs.h"
9103 /* Override any gcc2 internal prototype to avoid an error. */
9104 /* We use char because int might match the return type of a gcc2
9105 builtin and then its argument prototype would still apply. */
9112 if { (eval echo configure:9113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9114 eval "ac_cv_lib_$ac_lib_var=yes"
9116 echo "configure: failed program was:" >&5
9117 cat conftest.$ac_ext >&5
9119 eval "ac_cv_lib_$ac_lib_var=no"
9122 LIBS="$ac_save_LIBS"
9125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9126 echo "$ac_t""yes" 1>&6
9129 echo "$ac_t""no" 1>&6
9132 ac_save_LIBS="$LIBS"
9137 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9138 echo "configure:9139: checking for isinf declaration" >&5
9139 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9140 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9141 echo $ac_n "(cached) $ac_c" 1>&6
9146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9147 ac_cpp='$CXXCPP $CPPFLAGS'
9148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9150 cross_compiling=$ac_cv_prog_cxx_cross
9152 cat > conftest.$ac_ext <<EOF
9153 #line 9154 "configure"
9154 #include "confdefs.h"
9156 #ifdef HAVE_IEEEFP_H
9164 if { (eval echo configure:9165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9166 glibcpp_cv_func_isinf_use=yes
9168 echo "configure: failed program was:" >&5
9169 cat conftest.$ac_ext >&5
9171 glibcpp_cv_func_isinf_use=no
9175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9176 ac_cpp='$CPP $CPPFLAGS'
9177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9179 cross_compiling=$ac_cv_prog_cc_cross
9185 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9187 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9188 for ac_func in isinf
9190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9191 echo "configure:9192: checking for $ac_func" >&5
9192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9193 echo $ac_n "(cached) $ac_c" 1>&6
9195 cat > conftest.$ac_ext <<EOF
9196 #line 9197 "configure"
9197 #include "confdefs.h"
9198 /* System header to define __stub macros and hopefully few prototypes,
9199 which can conflict with char $ac_func(); below. */
9201 /* Override any gcc2 internal prototype to avoid an error. */
9202 /* We use char because int might match the return type of a gcc2
9203 builtin and then its argument prototype would still apply. */
9208 /* The GNU C library defines this for functions which it implements
9209 to always fail with ENOSYS. Some functions are actually named
9210 something starting with __ and the normal name is an alias. */
9211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9219 if { (eval echo configure:9220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9221 eval "ac_cv_func_$ac_func=yes"
9223 echo "configure: failed program was:" >&5
9224 cat conftest.$ac_ext >&5
9226 eval "ac_cv_func_$ac_func=no"
9231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9232 echo "$ac_t""yes" 1>&6
9233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9234 cat >> confdefs.h <<EOF
9235 #define $ac_tr_func 1
9239 echo "$ac_t""no" 1>&6
9245 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9246 echo "configure:9247: checking for _isinf declaration" >&5
9247 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9248 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9249 echo $ac_n "(cached) $ac_c" 1>&6
9254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9255 ac_cpp='$CXXCPP $CPPFLAGS'
9256 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9257 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9258 cross_compiling=$ac_cv_prog_cxx_cross
9260 cat > conftest.$ac_ext <<EOF
9261 #line 9262 "configure"
9262 #include "confdefs.h"
9264 #ifdef HAVE_IEEEFP_H
9272 if { (eval echo configure:9273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9274 glibcpp_cv_func__isinf_use=yes
9276 echo "configure: failed program was:" >&5
9277 cat conftest.$ac_ext >&5
9279 glibcpp_cv_func__isinf_use=no
9283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9284 ac_cpp='$CPP $CPPFLAGS'
9285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9287 cross_compiling=$ac_cv_prog_cc_cross
9293 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9295 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9296 for ac_func in _isinf
9298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9299 echo "configure:9300: checking for $ac_func" >&5
9300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9301 echo $ac_n "(cached) $ac_c" 1>&6
9303 cat > conftest.$ac_ext <<EOF
9304 #line 9305 "configure"
9305 #include "confdefs.h"
9306 /* System header to define __stub macros and hopefully few prototypes,
9307 which can conflict with char $ac_func(); below. */
9309 /* Override any gcc2 internal prototype to avoid an error. */
9310 /* We use char because int might match the return type of a gcc2
9311 builtin and then its argument prototype would still apply. */
9316 /* The GNU C library defines this for functions which it implements
9317 to always fail with ENOSYS. Some functions are actually named
9318 something starting with __ and the normal name is an alias. */
9319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9327 if { (eval echo configure:9328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9329 eval "ac_cv_func_$ac_func=yes"
9331 echo "configure: failed program was:" >&5
9332 cat conftest.$ac_ext >&5
9334 eval "ac_cv_func_$ac_func=no"
9339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9340 echo "$ac_t""yes" 1>&6
9341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9342 cat >> confdefs.h <<EOF
9343 #define $ac_tr_func 1
9347 echo "$ac_t""no" 1>&6
9356 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
9357 echo "configure:9358: checking for isnan declaration" >&5
9358 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
9359 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
9360 echo $ac_n "(cached) $ac_c" 1>&6
9365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9366 ac_cpp='$CXXCPP $CPPFLAGS'
9367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9369 cross_compiling=$ac_cv_prog_cxx_cross
9371 cat > conftest.$ac_ext <<EOF
9372 #line 9373 "configure"
9373 #include "confdefs.h"
9375 #ifdef HAVE_IEEEFP_H
9383 if { (eval echo configure:9384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9385 glibcpp_cv_func_isnan_use=yes
9387 echo "configure: failed program was:" >&5
9388 cat conftest.$ac_ext >&5
9390 glibcpp_cv_func_isnan_use=no
9394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9395 ac_cpp='$CPP $CPPFLAGS'
9396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9398 cross_compiling=$ac_cv_prog_cc_cross
9404 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
9406 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
9407 for ac_func in isnan
9409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9410 echo "configure:9411: checking for $ac_func" >&5
9411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9412 echo $ac_n "(cached) $ac_c" 1>&6
9414 cat > conftest.$ac_ext <<EOF
9415 #line 9416 "configure"
9416 #include "confdefs.h"
9417 /* System header to define __stub macros and hopefully few prototypes,
9418 which can conflict with char $ac_func(); below. */
9420 /* Override any gcc2 internal prototype to avoid an error. */
9421 /* We use char because int might match the return type of a gcc2
9422 builtin and then its argument prototype would still apply. */
9427 /* The GNU C library defines this for functions which it implements
9428 to always fail with ENOSYS. Some functions are actually named
9429 something starting with __ and the normal name is an alias. */
9430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9438 if { (eval echo configure:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9440 eval "ac_cv_func_$ac_func=yes"
9442 echo "configure: failed program was:" >&5
9443 cat conftest.$ac_ext >&5
9445 eval "ac_cv_func_$ac_func=no"
9450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9451 echo "$ac_t""yes" 1>&6
9452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9453 cat >> confdefs.h <<EOF
9454 #define $ac_tr_func 1
9458 echo "$ac_t""no" 1>&6
9464 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
9465 echo "configure:9466: checking for _isnan declaration" >&5
9466 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
9467 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
9468 echo $ac_n "(cached) $ac_c" 1>&6
9473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9474 ac_cpp='$CXXCPP $CPPFLAGS'
9475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9477 cross_compiling=$ac_cv_prog_cxx_cross
9479 cat > conftest.$ac_ext <<EOF
9480 #line 9481 "configure"
9481 #include "confdefs.h"
9483 #ifdef HAVE_IEEEFP_H
9491 if { (eval echo configure:9492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9493 glibcpp_cv_func__isnan_use=yes
9495 echo "configure: failed program was:" >&5
9496 cat conftest.$ac_ext >&5
9498 glibcpp_cv_func__isnan_use=no
9502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9503 ac_cpp='$CPP $CPPFLAGS'
9504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9506 cross_compiling=$ac_cv_prog_cc_cross
9512 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
9514 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
9515 for ac_func in _isnan
9517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9518 echo "configure:9519: checking for $ac_func" >&5
9519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9520 echo $ac_n "(cached) $ac_c" 1>&6
9522 cat > conftest.$ac_ext <<EOF
9523 #line 9524 "configure"
9524 #include "confdefs.h"
9525 /* System header to define __stub macros and hopefully few prototypes,
9526 which can conflict with char $ac_func(); below. */
9528 /* Override any gcc2 internal prototype to avoid an error. */
9529 /* We use char because int might match the return type of a gcc2
9530 builtin and then its argument prototype would still apply. */
9535 /* The GNU C library defines this for functions which it implements
9536 to always fail with ENOSYS. Some functions are actually named
9537 something starting with __ and the normal name is an alias. */
9538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9548 eval "ac_cv_func_$ac_func=yes"
9550 echo "configure: failed program was:" >&5
9551 cat conftest.$ac_ext >&5
9553 eval "ac_cv_func_$ac_func=no"
9558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9559 echo "$ac_t""yes" 1>&6
9560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9561 cat >> confdefs.h <<EOF
9562 #define $ac_tr_func 1
9566 echo "$ac_t""no" 1>&6
9575 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
9576 echo "configure:9577: checking for finite declaration" >&5
9577 if test x${glibcpp_cv_func_finite_use+set} != xset; then
9578 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
9579 echo $ac_n "(cached) $ac_c" 1>&6
9584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9585 ac_cpp='$CXXCPP $CPPFLAGS'
9586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9588 cross_compiling=$ac_cv_prog_cxx_cross
9590 cat > conftest.$ac_ext <<EOF
9591 #line 9592 "configure"
9592 #include "confdefs.h"
9594 #ifdef HAVE_IEEEFP_H
9602 if { (eval echo configure:9603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9604 glibcpp_cv_func_finite_use=yes
9606 echo "configure: failed program was:" >&5
9607 cat conftest.$ac_ext >&5
9609 glibcpp_cv_func_finite_use=no
9613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9614 ac_cpp='$CPP $CPPFLAGS'
9615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9617 cross_compiling=$ac_cv_prog_cc_cross
9623 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
9625 if test x$glibcpp_cv_func_finite_use = x"yes"; then
9626 for ac_func in finite
9628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9629 echo "configure:9630: checking for $ac_func" >&5
9630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9631 echo $ac_n "(cached) $ac_c" 1>&6
9633 cat > conftest.$ac_ext <<EOF
9634 #line 9635 "configure"
9635 #include "confdefs.h"
9636 /* System header to define __stub macros and hopefully few prototypes,
9637 which can conflict with char $ac_func(); below. */
9639 /* Override any gcc2 internal prototype to avoid an error. */
9640 /* We use char because int might match the return type of a gcc2
9641 builtin and then its argument prototype would still apply. */
9646 /* The GNU C library defines this for functions which it implements
9647 to always fail with ENOSYS. Some functions are actually named
9648 something starting with __ and the normal name is an alias. */
9649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9657 if { (eval echo configure:9658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9659 eval "ac_cv_func_$ac_func=yes"
9661 echo "configure: failed program was:" >&5
9662 cat conftest.$ac_ext >&5
9664 eval "ac_cv_func_$ac_func=no"
9669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9670 echo "$ac_t""yes" 1>&6
9671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9672 cat >> confdefs.h <<EOF
9673 #define $ac_tr_func 1
9677 echo "$ac_t""no" 1>&6
9683 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
9684 echo "configure:9685: checking for _finite declaration" >&5
9685 if test x${glibcpp_cv_func__finite_use+set} != xset; then
9686 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
9687 echo $ac_n "(cached) $ac_c" 1>&6
9692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9693 ac_cpp='$CXXCPP $CPPFLAGS'
9694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9696 cross_compiling=$ac_cv_prog_cxx_cross
9698 cat > conftest.$ac_ext <<EOF
9699 #line 9700 "configure"
9700 #include "confdefs.h"
9702 #ifdef HAVE_IEEEFP_H
9710 if { (eval echo configure:9711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9712 glibcpp_cv_func__finite_use=yes
9714 echo "configure: failed program was:" >&5
9715 cat conftest.$ac_ext >&5
9717 glibcpp_cv_func__finite_use=no
9721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9722 ac_cpp='$CPP $CPPFLAGS'
9723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9725 cross_compiling=$ac_cv_prog_cc_cross
9731 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
9733 if test x$glibcpp_cv_func__finite_use = x"yes"; then
9734 for ac_func in _finite
9736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9737 echo "configure:9738: checking for $ac_func" >&5
9738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9739 echo $ac_n "(cached) $ac_c" 1>&6
9741 cat > conftest.$ac_ext <<EOF
9742 #line 9743 "configure"
9743 #include "confdefs.h"
9744 /* System header to define __stub macros and hopefully few prototypes,
9745 which can conflict with char $ac_func(); below. */
9747 /* Override any gcc2 internal prototype to avoid an error. */
9748 /* We use char because int might match the return type of a gcc2
9749 builtin and then its argument prototype would still apply. */
9754 /* The GNU C library defines this for functions which it implements
9755 to always fail with ENOSYS. Some functions are actually named
9756 something starting with __ and the normal name is an alias. */
9757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9765 if { (eval echo configure:9766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9767 eval "ac_cv_func_$ac_func=yes"
9769 echo "configure: failed program was:" >&5
9770 cat conftest.$ac_ext >&5
9772 eval "ac_cv_func_$ac_func=no"
9777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9778 echo "$ac_t""yes" 1>&6
9779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9780 cat >> confdefs.h <<EOF
9781 #define $ac_tr_func 1
9785 echo "$ac_t""no" 1>&6
9794 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
9795 echo "configure:9796: checking for copysign declaration" >&5
9796 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
9797 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
9798 echo $ac_n "(cached) $ac_c" 1>&6
9803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9804 ac_cpp='$CXXCPP $CPPFLAGS'
9805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9807 cross_compiling=$ac_cv_prog_cxx_cross
9809 cat > conftest.$ac_ext <<EOF
9810 #line 9811 "configure"
9811 #include "confdefs.h"
9817 if { (eval echo configure:9818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9819 glibcpp_cv_func_copysign_use=yes
9821 echo "configure: failed program was:" >&5
9822 cat conftest.$ac_ext >&5
9824 glibcpp_cv_func_copysign_use=no
9828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9829 ac_cpp='$CPP $CPPFLAGS'
9830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9832 cross_compiling=$ac_cv_prog_cc_cross
9838 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
9840 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
9841 for ac_func in copysign
9843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9844 echo "configure:9845: checking for $ac_func" >&5
9845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9846 echo $ac_n "(cached) $ac_c" 1>&6
9848 cat > conftest.$ac_ext <<EOF
9849 #line 9850 "configure"
9850 #include "confdefs.h"
9851 /* System header to define __stub macros and hopefully few prototypes,
9852 which can conflict with char $ac_func(); below. */
9854 /* Override any gcc2 internal prototype to avoid an error. */
9855 /* We use char because int might match the return type of a gcc2
9856 builtin and then its argument prototype would still apply. */
9861 /* The GNU C library defines this for functions which it implements
9862 to always fail with ENOSYS. Some functions are actually named
9863 something starting with __ and the normal name is an alias. */
9864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9872 if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9874 eval "ac_cv_func_$ac_func=yes"
9876 echo "configure: failed program was:" >&5
9877 cat conftest.$ac_ext >&5
9879 eval "ac_cv_func_$ac_func=no"
9884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9885 echo "$ac_t""yes" 1>&6
9886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9887 cat >> confdefs.h <<EOF
9888 #define $ac_tr_func 1
9892 echo "$ac_t""no" 1>&6
9898 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
9899 echo "configure:9900: checking for _copysign declaration" >&5
9900 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
9901 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
9902 echo $ac_n "(cached) $ac_c" 1>&6
9907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9908 ac_cpp='$CXXCPP $CPPFLAGS'
9909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9911 cross_compiling=$ac_cv_prog_cxx_cross
9913 cat > conftest.$ac_ext <<EOF
9914 #line 9915 "configure"
9915 #include "confdefs.h"
9921 if { (eval echo configure:9922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9923 glibcpp_cv_func__copysign_use=yes
9925 echo "configure: failed program was:" >&5
9926 cat conftest.$ac_ext >&5
9928 glibcpp_cv_func__copysign_use=no
9932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9933 ac_cpp='$CPP $CPPFLAGS'
9934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9936 cross_compiling=$ac_cv_prog_cc_cross
9942 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
9944 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
9945 for ac_func in _copysign
9947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9948 echo "configure:9949: checking for $ac_func" >&5
9949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9950 echo $ac_n "(cached) $ac_c" 1>&6
9952 cat > conftest.$ac_ext <<EOF
9953 #line 9954 "configure"
9954 #include "confdefs.h"
9955 /* System header to define __stub macros and hopefully few prototypes,
9956 which can conflict with char $ac_func(); below. */
9958 /* Override any gcc2 internal prototype to avoid an error. */
9959 /* We use char because int might match the return type of a gcc2
9960 builtin and then its argument prototype would still apply. */
9965 /* The GNU C library defines this for functions which it implements
9966 to always fail with ENOSYS. Some functions are actually named
9967 something starting with __ and the normal name is an alias. */
9968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9978 eval "ac_cv_func_$ac_func=yes"
9980 echo "configure: failed program was:" >&5
9981 cat conftest.$ac_ext >&5
9983 eval "ac_cv_func_$ac_func=no"
9988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9989 echo "$ac_t""yes" 1>&6
9990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9991 cat >> confdefs.h <<EOF
9992 #define $ac_tr_func 1
9996 echo "$ac_t""no" 1>&6
10005 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
10006 echo "configure:10007: checking for sincos declaration" >&5
10007 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10008 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10009 echo $ac_n "(cached) $ac_c" 1>&6
10014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10015 ac_cpp='$CXXCPP $CPPFLAGS'
10016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10018 cross_compiling=$ac_cv_prog_cxx_cross
10020 cat > conftest.$ac_ext <<EOF
10021 #line 10022 "configure"
10022 #include "confdefs.h"
10028 if { (eval echo configure:10029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10030 glibcpp_cv_func_sincos_use=yes
10032 echo "configure: failed program was:" >&5
10033 cat conftest.$ac_ext >&5
10035 glibcpp_cv_func_sincos_use=no
10039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10040 ac_cpp='$CPP $CPPFLAGS'
10041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10043 cross_compiling=$ac_cv_prog_cc_cross
10049 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10051 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10052 for ac_func in sincos
10054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10055 echo "configure:10056: checking for $ac_func" >&5
10056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10057 echo $ac_n "(cached) $ac_c" 1>&6
10059 cat > conftest.$ac_ext <<EOF
10060 #line 10061 "configure"
10061 #include "confdefs.h"
10062 /* System header to define __stub macros and hopefully few prototypes,
10063 which can conflict with char $ac_func(); below. */
10064 #include <assert.h>
10065 /* Override any gcc2 internal prototype to avoid an error. */
10066 /* We use char because int might match the return type of a gcc2
10067 builtin and then its argument prototype would still apply. */
10072 /* The GNU C library defines this for functions which it implements
10073 to always fail with ENOSYS. Some functions are actually named
10074 something starting with __ and the normal name is an alias. */
10075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10085 eval "ac_cv_func_$ac_func=yes"
10087 echo "configure: failed program was:" >&5
10088 cat conftest.$ac_ext >&5
10090 eval "ac_cv_func_$ac_func=no"
10095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10096 echo "$ac_t""yes" 1>&6
10097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10098 cat >> confdefs.h <<EOF
10099 #define $ac_tr_func 1
10103 echo "$ac_t""no" 1>&6
10109 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10110 echo "configure:10111: checking for _sincos declaration" >&5
10111 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10112 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10113 echo $ac_n "(cached) $ac_c" 1>&6
10118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10119 ac_cpp='$CXXCPP $CPPFLAGS'
10120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10122 cross_compiling=$ac_cv_prog_cxx_cross
10124 cat > conftest.$ac_ext <<EOF
10125 #line 10126 "configure"
10126 #include "confdefs.h"
10132 if { (eval echo configure:10133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10134 glibcpp_cv_func__sincos_use=yes
10136 echo "configure: failed program was:" >&5
10137 cat conftest.$ac_ext >&5
10139 glibcpp_cv_func__sincos_use=no
10143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10144 ac_cpp='$CPP $CPPFLAGS'
10145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10147 cross_compiling=$ac_cv_prog_cc_cross
10153 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10155 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10156 for ac_func in _sincos
10158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10159 echo "configure:10160: checking for $ac_func" >&5
10160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10161 echo $ac_n "(cached) $ac_c" 1>&6
10163 cat > conftest.$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10166 /* System header to define __stub macros and hopefully few prototypes,
10167 which can conflict with char $ac_func(); below. */
10168 #include <assert.h>
10169 /* Override any gcc2 internal prototype to avoid an error. */
10170 /* We use char because int might match the return type of a gcc2
10171 builtin and then its argument prototype would still apply. */
10176 /* The GNU C library defines this for functions which it implements
10177 to always fail with ENOSYS. Some functions are actually named
10178 something starting with __ and the normal name is an alias. */
10179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10187 if { (eval echo configure:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10189 eval "ac_cv_func_$ac_func=yes"
10191 echo "configure: failed program was:" >&5
10192 cat conftest.$ac_ext >&5
10194 eval "ac_cv_func_$ac_func=no"
10199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10200 echo "$ac_t""yes" 1>&6
10201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10202 cat >> confdefs.h <<EOF
10203 #define $ac_tr_func 1
10207 echo "$ac_t""no" 1>&6
10216 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10217 echo "configure:10218: checking for fpclass declaration" >&5
10218 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10219 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10220 echo $ac_n "(cached) $ac_c" 1>&6
10225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10226 ac_cpp='$CXXCPP $CPPFLAGS'
10227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10229 cross_compiling=$ac_cv_prog_cxx_cross
10231 cat > conftest.$ac_ext <<EOF
10232 #line 10233 "configure"
10233 #include "confdefs.h"
10235 #ifdef HAVE_IEEEFP_H
10236 #include <ieeefp.h>
10243 if { (eval echo configure:10244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10245 glibcpp_cv_func_fpclass_use=yes
10247 echo "configure: failed program was:" >&5
10248 cat conftest.$ac_ext >&5
10250 glibcpp_cv_func_fpclass_use=no
10254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10255 ac_cpp='$CPP $CPPFLAGS'
10256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10258 cross_compiling=$ac_cv_prog_cc_cross
10264 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10266 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10267 for ac_func in fpclass
10269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10270 echo "configure:10271: checking for $ac_func" >&5
10271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10272 echo $ac_n "(cached) $ac_c" 1>&6
10274 cat > conftest.$ac_ext <<EOF
10275 #line 10276 "configure"
10276 #include "confdefs.h"
10277 /* System header to define __stub macros and hopefully few prototypes,
10278 which can conflict with char $ac_func(); below. */
10279 #include <assert.h>
10280 /* Override any gcc2 internal prototype to avoid an error. */
10281 /* We use char because int might match the return type of a gcc2
10282 builtin and then its argument prototype would still apply. */
10287 /* The GNU C library defines this for functions which it implements
10288 to always fail with ENOSYS. Some functions are actually named
10289 something starting with __ and the normal name is an alias. */
10290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10298 if { (eval echo configure:10299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10300 eval "ac_cv_func_$ac_func=yes"
10302 echo "configure: failed program was:" >&5
10303 cat conftest.$ac_ext >&5
10305 eval "ac_cv_func_$ac_func=no"
10310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10311 echo "$ac_t""yes" 1>&6
10312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10313 cat >> confdefs.h <<EOF
10314 #define $ac_tr_func 1
10318 echo "$ac_t""no" 1>&6
10324 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10325 echo "configure:10326: checking for _fpclass declaration" >&5
10326 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10327 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10328 echo $ac_n "(cached) $ac_c" 1>&6
10333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10334 ac_cpp='$CXXCPP $CPPFLAGS'
10335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10337 cross_compiling=$ac_cv_prog_cxx_cross
10339 cat > conftest.$ac_ext <<EOF
10340 #line 10341 "configure"
10341 #include "confdefs.h"
10343 #ifdef HAVE_IEEEFP_H
10344 #include <ieeefp.h>
10351 if { (eval echo configure:10352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10353 glibcpp_cv_func__fpclass_use=yes
10355 echo "configure: failed program was:" >&5
10356 cat conftest.$ac_ext >&5
10358 glibcpp_cv_func__fpclass_use=no
10362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10363 ac_cpp='$CPP $CPPFLAGS'
10364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10366 cross_compiling=$ac_cv_prog_cc_cross
10372 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
10374 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
10375 for ac_func in _fpclass
10377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10378 echo "configure:10379: checking for $ac_func" >&5
10379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10380 echo $ac_n "(cached) $ac_c" 1>&6
10382 cat > conftest.$ac_ext <<EOF
10383 #line 10384 "configure"
10384 #include "confdefs.h"
10385 /* System header to define __stub macros and hopefully few prototypes,
10386 which can conflict with char $ac_func(); below. */
10387 #include <assert.h>
10388 /* Override any gcc2 internal prototype to avoid an error. */
10389 /* We use char because int might match the return type of a gcc2
10390 builtin and then its argument prototype would still apply. */
10395 /* The GNU C library defines this for functions which it implements
10396 to always fail with ENOSYS. Some functions are actually named
10397 something starting with __ and the normal name is an alias. */
10398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10406 if { (eval echo configure:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10408 eval "ac_cv_func_$ac_func=yes"
10410 echo "configure: failed program was:" >&5
10411 cat conftest.$ac_ext >&5
10413 eval "ac_cv_func_$ac_func=no"
10418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10419 echo "$ac_t""yes" 1>&6
10420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10421 cat >> confdefs.h <<EOF
10422 #define $ac_tr_func 1
10426 echo "$ac_t""no" 1>&6
10435 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
10436 echo "configure:10437: checking for qfpclass declaration" >&5
10437 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
10438 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
10439 echo $ac_n "(cached) $ac_c" 1>&6
10444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10445 ac_cpp='$CXXCPP $CPPFLAGS'
10446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10448 cross_compiling=$ac_cv_prog_cxx_cross
10450 cat > conftest.$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10454 #ifdef HAVE_IEEEFP_H
10455 #include <ieeefp.h>
10462 if { (eval echo configure:10463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10464 glibcpp_cv_func_qfpclass_use=yes
10466 echo "configure: failed program was:" >&5
10467 cat conftest.$ac_ext >&5
10469 glibcpp_cv_func_qfpclass_use=no
10473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10474 ac_cpp='$CPP $CPPFLAGS'
10475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10477 cross_compiling=$ac_cv_prog_cc_cross
10483 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
10485 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
10486 for ac_func in qfpclass
10488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10489 echo "configure:10490: checking for $ac_func" >&5
10490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10491 echo $ac_n "(cached) $ac_c" 1>&6
10493 cat > conftest.$ac_ext <<EOF
10494 #line 10495 "configure"
10495 #include "confdefs.h"
10496 /* System header to define __stub macros and hopefully few prototypes,
10497 which can conflict with char $ac_func(); below. */
10498 #include <assert.h>
10499 /* Override any gcc2 internal prototype to avoid an error. */
10500 /* We use char because int might match the return type of a gcc2
10501 builtin and then its argument prototype would still apply. */
10506 /* The GNU C library defines this for functions which it implements
10507 to always fail with ENOSYS. Some functions are actually named
10508 something starting with __ and the normal name is an alias. */
10509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10517 if { (eval echo configure:10518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10519 eval "ac_cv_func_$ac_func=yes"
10521 echo "configure: failed program was:" >&5
10522 cat conftest.$ac_ext >&5
10524 eval "ac_cv_func_$ac_func=no"
10529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10530 echo "$ac_t""yes" 1>&6
10531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10532 cat >> confdefs.h <<EOF
10533 #define $ac_tr_func 1
10537 echo "$ac_t""no" 1>&6
10543 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
10544 echo "configure:10545: checking for _qfpclass declaration" >&5
10545 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
10546 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
10547 echo $ac_n "(cached) $ac_c" 1>&6
10552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10553 ac_cpp='$CXXCPP $CPPFLAGS'
10554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10556 cross_compiling=$ac_cv_prog_cxx_cross
10558 cat > conftest.$ac_ext <<EOF
10559 #line 10560 "configure"
10560 #include "confdefs.h"
10562 #ifdef HAVE_IEEEFP_H
10563 #include <ieeefp.h>
10570 if { (eval echo configure:10571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10572 glibcpp_cv_func__qfpclass_use=yes
10574 echo "configure: failed program was:" >&5
10575 cat conftest.$ac_ext >&5
10577 glibcpp_cv_func__qfpclass_use=no
10581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10582 ac_cpp='$CPP $CPPFLAGS'
10583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10585 cross_compiling=$ac_cv_prog_cc_cross
10591 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
10593 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
10594 for ac_func in _qfpclass
10596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10597 echo "configure:10598: checking for $ac_func" >&5
10598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10599 echo $ac_n "(cached) $ac_c" 1>&6
10601 cat > conftest.$ac_ext <<EOF
10602 #line 10603 "configure"
10603 #include "confdefs.h"
10604 /* System header to define __stub macros and hopefully few prototypes,
10605 which can conflict with char $ac_func(); below. */
10606 #include <assert.h>
10607 /* Override any gcc2 internal prototype to avoid an error. */
10608 /* We use char because int might match the return type of a gcc2
10609 builtin and then its argument prototype would still apply. */
10614 /* The GNU C library defines this for functions which it implements
10615 to always fail with ENOSYS. Some functions are actually named
10616 something starting with __ and the normal name is an alias. */
10617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10625 if { (eval echo configure:10626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10627 eval "ac_cv_func_$ac_func=yes"
10629 echo "configure: failed program was:" >&5
10630 cat conftest.$ac_ext >&5
10632 eval "ac_cv_func_$ac_func=no"
10637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10638 echo "$ac_t""yes" 1>&6
10639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10640 cat >> confdefs.h <<EOF
10641 #define $ac_tr_func 1
10645 echo "$ac_t""no" 1>&6
10654 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
10655 echo "configure:10656: checking for hypot declaration" >&5
10656 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
10657 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
10658 echo $ac_n "(cached) $ac_c" 1>&6
10663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10664 ac_cpp='$CXXCPP $CPPFLAGS'
10665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10667 cross_compiling=$ac_cv_prog_cxx_cross
10669 cat > conftest.$ac_ext <<EOF
10670 #line 10671 "configure"
10671 #include "confdefs.h"
10677 if { (eval echo configure:10678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10679 glibcpp_cv_func_hypot_use=yes
10681 echo "configure: failed program was:" >&5
10682 cat conftest.$ac_ext >&5
10684 glibcpp_cv_func_hypot_use=no
10688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10689 ac_cpp='$CPP $CPPFLAGS'
10690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10692 cross_compiling=$ac_cv_prog_cc_cross
10698 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
10700 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
10701 for ac_func in hypot
10703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10704 echo "configure:10705: checking for $ac_func" >&5
10705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10706 echo $ac_n "(cached) $ac_c" 1>&6
10708 cat > conftest.$ac_ext <<EOF
10709 #line 10710 "configure"
10710 #include "confdefs.h"
10711 /* System header to define __stub macros and hopefully few prototypes,
10712 which can conflict with char $ac_func(); below. */
10713 #include <assert.h>
10714 /* Override any gcc2 internal prototype to avoid an error. */
10715 /* We use char because int might match the return type of a gcc2
10716 builtin and then its argument prototype would still apply. */
10721 /* The GNU C library defines this for functions which it implements
10722 to always fail with ENOSYS. Some functions are actually named
10723 something starting with __ and the normal name is an alias. */
10724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10732 if { (eval echo configure:10733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10734 eval "ac_cv_func_$ac_func=yes"
10736 echo "configure: failed program was:" >&5
10737 cat conftest.$ac_ext >&5
10739 eval "ac_cv_func_$ac_func=no"
10744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10745 echo "$ac_t""yes" 1>&6
10746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10747 cat >> confdefs.h <<EOF
10748 #define $ac_tr_func 1
10752 echo "$ac_t""no" 1>&6
10758 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
10759 echo "configure:10760: checking for _hypot declaration" >&5
10760 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
10761 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
10762 echo $ac_n "(cached) $ac_c" 1>&6
10767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10768 ac_cpp='$CXXCPP $CPPFLAGS'
10769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10771 cross_compiling=$ac_cv_prog_cxx_cross
10773 cat > conftest.$ac_ext <<EOF
10774 #line 10775 "configure"
10775 #include "confdefs.h"
10781 if { (eval echo configure:10782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10783 glibcpp_cv_func__hypot_use=yes
10785 echo "configure: failed program was:" >&5
10786 cat conftest.$ac_ext >&5
10788 glibcpp_cv_func__hypot_use=no
10792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10793 ac_cpp='$CPP $CPPFLAGS'
10794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10796 cross_compiling=$ac_cv_prog_cc_cross
10802 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
10804 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
10805 for ac_func in _hypot
10807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10808 echo "configure:10809: checking for $ac_func" >&5
10809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10810 echo $ac_n "(cached) $ac_c" 1>&6
10812 cat > conftest.$ac_ext <<EOF
10813 #line 10814 "configure"
10814 #include "confdefs.h"
10815 /* System header to define __stub macros and hopefully few prototypes,
10816 which can conflict with char $ac_func(); below. */
10817 #include <assert.h>
10818 /* Override any gcc2 internal prototype to avoid an error. */
10819 /* We use char because int might match the return type of a gcc2
10820 builtin and then its argument prototype would still apply. */
10825 /* The GNU C library defines this for functions which it implements
10826 to always fail with ENOSYS. Some functions are actually named
10827 something starting with __ and the normal name is an alias. */
10828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10836 if { (eval echo configure:10837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10838 eval "ac_cv_func_$ac_func=yes"
10840 echo "configure: failed program was:" >&5
10841 cat conftest.$ac_ext >&5
10843 eval "ac_cv_func_$ac_func=no"
10848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10849 echo "$ac_t""yes" 1>&6
10850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10851 cat >> confdefs.h <<EOF
10852 #define $ac_tr_func 1
10856 echo "$ac_t""no" 1>&6
10865 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
10866 echo "configure:10867: checking for float trig functions" >&5
10867 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
10868 echo $ac_n "(cached) $ac_c" 1>&6
10873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10874 ac_cpp='$CXXCPP $CPPFLAGS'
10875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10877 cross_compiling=$ac_cv_prog_cxx_cross
10879 cat > conftest.$ac_ext <<EOF
10880 #line 10881 "configure"
10881 #include "confdefs.h"
10884 `for x in acosf asinf atanf \
10886 coshf sinhf tanhf; do echo "$x (0);"; done`
10889 if { (eval echo configure:10890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10891 glibcpp_cv_func_float_trig_use=yes
10893 echo "configure: failed program was:" >&5
10894 cat conftest.$ac_ext >&5
10896 glibcpp_cv_func_float_trig_use=no
10900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10901 ac_cpp='$CPP $CPPFLAGS'
10902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10904 cross_compiling=$ac_cv_prog_cc_cross
10908 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
10909 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
10910 for ac_func in acosf asinf atanf \
10914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10915 echo "configure:10916: checking for $ac_func" >&5
10916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10917 echo $ac_n "(cached) $ac_c" 1>&6
10919 cat > conftest.$ac_ext <<EOF
10920 #line 10921 "configure"
10921 #include "confdefs.h"
10922 /* System header to define __stub macros and hopefully few prototypes,
10923 which can conflict with char $ac_func(); below. */
10924 #include <assert.h>
10925 /* Override any gcc2 internal prototype to avoid an error. */
10926 /* We use char because int might match the return type of a gcc2
10927 builtin and then its argument prototype would still apply. */
10932 /* The GNU C library defines this for functions which it implements
10933 to always fail with ENOSYS. Some functions are actually named
10934 something starting with __ and the normal name is an alias. */
10935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10945 eval "ac_cv_func_$ac_func=yes"
10947 echo "configure: failed program was:" >&5
10948 cat conftest.$ac_ext >&5
10950 eval "ac_cv_func_$ac_func=no"
10955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10956 echo "$ac_t""yes" 1>&6
10957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10958 cat >> confdefs.h <<EOF
10959 #define $ac_tr_func 1
10963 echo "$ac_t""no" 1>&6
10970 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
10971 echo "configure:10972: checking for float round functions" >&5
10972 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10973 echo $ac_n "(cached) $ac_c" 1>&6
10978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10979 ac_cpp='$CXXCPP $CPPFLAGS'
10980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10982 cross_compiling=$ac_cv_prog_cxx_cross
10984 cat > conftest.$ac_ext <<EOF
10985 #line 10986 "configure"
10986 #include "confdefs.h"
10989 `for x in ceilf floorf; do echo "$x (0);"; done`
10992 if { (eval echo configure:10993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10994 glibcpp_cv_func_float_round_use=yes
10996 echo "configure: failed program was:" >&5
10997 cat conftest.$ac_ext >&5
10999 glibcpp_cv_func_float_round_use=no
11003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11004 ac_cpp='$CPP $CPPFLAGS'
11005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11007 cross_compiling=$ac_cv_prog_cc_cross
11011 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11012 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11013 for ac_func in ceilf floorf
11015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11016 echo "configure:11017: checking for $ac_func" >&5
11017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11018 echo $ac_n "(cached) $ac_c" 1>&6
11020 cat > conftest.$ac_ext <<EOF
11021 #line 11022 "configure"
11022 #include "confdefs.h"
11023 /* System header to define __stub macros and hopefully few prototypes,
11024 which can conflict with char $ac_func(); below. */
11025 #include <assert.h>
11026 /* Override any gcc2 internal prototype to avoid an error. */
11027 /* We use char because int might match the return type of a gcc2
11028 builtin and then its argument prototype would still apply. */
11033 /* The GNU C library defines this for functions which it implements
11034 to always fail with ENOSYS. Some functions are actually named
11035 something starting with __ and the normal name is an alias. */
11036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11044 if { (eval echo configure:11045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11046 eval "ac_cv_func_$ac_func=yes"
11048 echo "configure: failed program was:" >&5
11049 cat conftest.$ac_ext >&5
11051 eval "ac_cv_func_$ac_func=no"
11056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11057 echo "$ac_t""yes" 1>&6
11058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11059 cat >> confdefs.h <<EOF
11060 #define $ac_tr_func 1
11064 echo "$ac_t""no" 1>&6
11072 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11073 echo "configure:11074: checking for isnanf declaration" >&5
11074 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11075 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11076 echo $ac_n "(cached) $ac_c" 1>&6
11081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11082 ac_cpp='$CXXCPP $CPPFLAGS'
11083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11085 cross_compiling=$ac_cv_prog_cxx_cross
11087 cat > conftest.$ac_ext <<EOF
11088 #line 11089 "configure"
11089 #include "confdefs.h"
11091 #ifdef HAVE_IEEEFP_H
11092 #include <ieeefp.h>
11099 if { (eval echo configure:11100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11101 glibcpp_cv_func_isnanf_use=yes
11103 echo "configure: failed program was:" >&5
11104 cat conftest.$ac_ext >&5
11106 glibcpp_cv_func_isnanf_use=no
11110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11111 ac_cpp='$CPP $CPPFLAGS'
11112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11114 cross_compiling=$ac_cv_prog_cc_cross
11120 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11122 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11123 for ac_func in isnanf
11125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11126 echo "configure:11127: checking for $ac_func" >&5
11127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11128 echo $ac_n "(cached) $ac_c" 1>&6
11130 cat > conftest.$ac_ext <<EOF
11131 #line 11132 "configure"
11132 #include "confdefs.h"
11133 /* System header to define __stub macros and hopefully few prototypes,
11134 which can conflict with char $ac_func(); below. */
11135 #include <assert.h>
11136 /* Override any gcc2 internal prototype to avoid an error. */
11137 /* We use char because int might match the return type of a gcc2
11138 builtin and then its argument prototype would still apply. */
11143 /* The GNU C library defines this for functions which it implements
11144 to always fail with ENOSYS. Some functions are actually named
11145 something starting with __ and the normal name is an alias. */
11146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11156 eval "ac_cv_func_$ac_func=yes"
11158 echo "configure: failed program was:" >&5
11159 cat conftest.$ac_ext >&5
11161 eval "ac_cv_func_$ac_func=no"
11166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11167 echo "$ac_t""yes" 1>&6
11168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11169 cat >> confdefs.h <<EOF
11170 #define $ac_tr_func 1
11174 echo "$ac_t""no" 1>&6
11180 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11181 echo "configure:11182: checking for _isnanf declaration" >&5
11182 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11183 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11184 echo $ac_n "(cached) $ac_c" 1>&6
11189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11190 ac_cpp='$CXXCPP $CPPFLAGS'
11191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11193 cross_compiling=$ac_cv_prog_cxx_cross
11195 cat > conftest.$ac_ext <<EOF
11196 #line 11197 "configure"
11197 #include "confdefs.h"
11199 #ifdef HAVE_IEEEFP_H
11200 #include <ieeefp.h>
11207 if { (eval echo configure:11208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11209 glibcpp_cv_func__isnanf_use=yes
11211 echo "configure: failed program was:" >&5
11212 cat conftest.$ac_ext >&5
11214 glibcpp_cv_func__isnanf_use=no
11218 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11219 ac_cpp='$CPP $CPPFLAGS'
11220 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11221 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11222 cross_compiling=$ac_cv_prog_cc_cross
11228 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11230 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11231 for ac_func in _isnanf
11233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11234 echo "configure:11235: checking for $ac_func" >&5
11235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11236 echo $ac_n "(cached) $ac_c" 1>&6
11238 cat > conftest.$ac_ext <<EOF
11239 #line 11240 "configure"
11240 #include "confdefs.h"
11241 /* System header to define __stub macros and hopefully few prototypes,
11242 which can conflict with char $ac_func(); below. */
11243 #include <assert.h>
11244 /* Override any gcc2 internal prototype to avoid an error. */
11245 /* We use char because int might match the return type of a gcc2
11246 builtin and then its argument prototype would still apply. */
11251 /* The GNU C library defines this for functions which it implements
11252 to always fail with ENOSYS. Some functions are actually named
11253 something starting with __ and the normal name is an alias. */
11254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11262 if { (eval echo configure:11263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11264 eval "ac_cv_func_$ac_func=yes"
11266 echo "configure: failed program was:" >&5
11267 cat conftest.$ac_ext >&5
11269 eval "ac_cv_func_$ac_func=no"
11274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11275 echo "$ac_t""yes" 1>&6
11276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11277 cat >> confdefs.h <<EOF
11278 #define $ac_tr_func 1
11282 echo "$ac_t""no" 1>&6
11291 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
11292 echo "configure:11293: checking for isinff declaration" >&5
11293 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
11294 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
11295 echo $ac_n "(cached) $ac_c" 1>&6
11300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11301 ac_cpp='$CXXCPP $CPPFLAGS'
11302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11304 cross_compiling=$ac_cv_prog_cxx_cross
11306 cat > conftest.$ac_ext <<EOF
11307 #line 11308 "configure"
11308 #include "confdefs.h"
11310 #ifdef HAVE_IEEEFP_H
11311 #include <ieeefp.h>
11318 if { (eval echo configure:11319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11320 glibcpp_cv_func_isinff_use=yes
11322 echo "configure: failed program was:" >&5
11323 cat conftest.$ac_ext >&5
11325 glibcpp_cv_func_isinff_use=no
11329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11330 ac_cpp='$CPP $CPPFLAGS'
11331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11333 cross_compiling=$ac_cv_prog_cc_cross
11339 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
11341 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
11342 for ac_func in isinff
11344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11345 echo "configure:11346: checking for $ac_func" >&5
11346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11347 echo $ac_n "(cached) $ac_c" 1>&6
11349 cat > conftest.$ac_ext <<EOF
11350 #line 11351 "configure"
11351 #include "confdefs.h"
11352 /* System header to define __stub macros and hopefully few prototypes,
11353 which can conflict with char $ac_func(); below. */
11354 #include <assert.h>
11355 /* Override any gcc2 internal prototype to avoid an error. */
11356 /* We use char because int might match the return type of a gcc2
11357 builtin and then its argument prototype would still apply. */
11362 /* The GNU C library defines this for functions which it implements
11363 to always fail with ENOSYS. Some functions are actually named
11364 something starting with __ and the normal name is an alias. */
11365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11373 if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11375 eval "ac_cv_func_$ac_func=yes"
11377 echo "configure: failed program was:" >&5
11378 cat conftest.$ac_ext >&5
11380 eval "ac_cv_func_$ac_func=no"
11385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11386 echo "$ac_t""yes" 1>&6
11387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11388 cat >> confdefs.h <<EOF
11389 #define $ac_tr_func 1
11393 echo "$ac_t""no" 1>&6
11399 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11400 echo "configure:11401: checking for _isinff declaration" >&5
11401 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
11402 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11403 echo $ac_n "(cached) $ac_c" 1>&6
11408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11409 ac_cpp='$CXXCPP $CPPFLAGS'
11410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11412 cross_compiling=$ac_cv_prog_cxx_cross
11414 cat > conftest.$ac_ext <<EOF
11415 #line 11416 "configure"
11416 #include "confdefs.h"
11418 #ifdef HAVE_IEEEFP_H
11419 #include <ieeefp.h>
11426 if { (eval echo configure:11427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11428 glibcpp_cv_func__isinff_use=yes
11430 echo "configure: failed program was:" >&5
11431 cat conftest.$ac_ext >&5
11433 glibcpp_cv_func__isinff_use=no
11437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11438 ac_cpp='$CPP $CPPFLAGS'
11439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11441 cross_compiling=$ac_cv_prog_cc_cross
11447 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11449 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11450 for ac_func in _isinff
11452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11453 echo "configure:11454: checking for $ac_func" >&5
11454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11455 echo $ac_n "(cached) $ac_c" 1>&6
11457 cat > conftest.$ac_ext <<EOF
11458 #line 11459 "configure"
11459 #include "confdefs.h"
11460 /* System header to define __stub macros and hopefully few prototypes,
11461 which can conflict with char $ac_func(); below. */
11462 #include <assert.h>
11463 /* Override any gcc2 internal prototype to avoid an error. */
11464 /* We use char because int might match the return type of a gcc2
11465 builtin and then its argument prototype would still apply. */
11470 /* The GNU C library defines this for functions which it implements
11471 to always fail with ENOSYS. Some functions are actually named
11472 something starting with __ and the normal name is an alias. */
11473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11481 if { (eval echo configure:11482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11483 eval "ac_cv_func_$ac_func=yes"
11485 echo "configure: failed program was:" >&5
11486 cat conftest.$ac_ext >&5
11488 eval "ac_cv_func_$ac_func=no"
11493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11494 echo "$ac_t""yes" 1>&6
11495 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11496 cat >> confdefs.h <<EOF
11497 #define $ac_tr_func 1
11501 echo "$ac_t""no" 1>&6
11510 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
11511 echo "configure:11512: checking for atan2f declaration" >&5
11512 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
11513 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
11514 echo $ac_n "(cached) $ac_c" 1>&6
11519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11520 ac_cpp='$CXXCPP $CPPFLAGS'
11521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11523 cross_compiling=$ac_cv_prog_cxx_cross
11525 cat > conftest.$ac_ext <<EOF
11526 #line 11527 "configure"
11527 #include "confdefs.h"
11533 if { (eval echo configure:11534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11535 glibcpp_cv_func_atan2f_use=yes
11537 echo "configure: failed program was:" >&5
11538 cat conftest.$ac_ext >&5
11540 glibcpp_cv_func_atan2f_use=no
11544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11545 ac_cpp='$CPP $CPPFLAGS'
11546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11548 cross_compiling=$ac_cv_prog_cc_cross
11554 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
11556 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
11557 for ac_func in atan2f
11559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11560 echo "configure:11561: checking for $ac_func" >&5
11561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11562 echo $ac_n "(cached) $ac_c" 1>&6
11564 cat > conftest.$ac_ext <<EOF
11565 #line 11566 "configure"
11566 #include "confdefs.h"
11567 /* System header to define __stub macros and hopefully few prototypes,
11568 which can conflict with char $ac_func(); below. */
11569 #include <assert.h>
11570 /* Override any gcc2 internal prototype to avoid an error. */
11571 /* We use char because int might match the return type of a gcc2
11572 builtin and then its argument prototype would still apply. */
11577 /* The GNU C library defines this for functions which it implements
11578 to always fail with ENOSYS. Some functions are actually named
11579 something starting with __ and the normal name is an alias. */
11580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11590 eval "ac_cv_func_$ac_func=yes"
11592 echo "configure: failed program was:" >&5
11593 cat conftest.$ac_ext >&5
11595 eval "ac_cv_func_$ac_func=no"
11600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11601 echo "$ac_t""yes" 1>&6
11602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11603 cat >> confdefs.h <<EOF
11604 #define $ac_tr_func 1
11608 echo "$ac_t""no" 1>&6
11614 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
11615 echo "configure:11616: checking for _atan2f declaration" >&5
11616 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
11617 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
11618 echo $ac_n "(cached) $ac_c" 1>&6
11623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11624 ac_cpp='$CXXCPP $CPPFLAGS'
11625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11627 cross_compiling=$ac_cv_prog_cxx_cross
11629 cat > conftest.$ac_ext <<EOF
11630 #line 11631 "configure"
11631 #include "confdefs.h"
11637 if { (eval echo configure:11638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11639 glibcpp_cv_func__atan2f_use=yes
11641 echo "configure: failed program was:" >&5
11642 cat conftest.$ac_ext >&5
11644 glibcpp_cv_func__atan2f_use=no
11648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11649 ac_cpp='$CPP $CPPFLAGS'
11650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11652 cross_compiling=$ac_cv_prog_cc_cross
11658 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
11660 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
11661 for ac_func in _atan2f
11663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11664 echo "configure:11665: checking for $ac_func" >&5
11665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11666 echo $ac_n "(cached) $ac_c" 1>&6
11668 cat > conftest.$ac_ext <<EOF
11669 #line 11670 "configure"
11670 #include "confdefs.h"
11671 /* System header to define __stub macros and hopefully few prototypes,
11672 which can conflict with char $ac_func(); below. */
11673 #include <assert.h>
11674 /* Override any gcc2 internal prototype to avoid an error. */
11675 /* We use char because int might match the return type of a gcc2
11676 builtin and then its argument prototype would still apply. */
11681 /* The GNU C library defines this for functions which it implements
11682 to always fail with ENOSYS. Some functions are actually named
11683 something starting with __ and the normal name is an alias. */
11684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11692 if { (eval echo configure:11693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11694 eval "ac_cv_func_$ac_func=yes"
11696 echo "configure: failed program was:" >&5
11697 cat conftest.$ac_ext >&5
11699 eval "ac_cv_func_$ac_func=no"
11704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11705 echo "$ac_t""yes" 1>&6
11706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11707 cat >> confdefs.h <<EOF
11708 #define $ac_tr_func 1
11712 echo "$ac_t""no" 1>&6
11721 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
11722 echo "configure:11723: checking for fabsf declaration" >&5
11723 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
11724 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
11725 echo $ac_n "(cached) $ac_c" 1>&6
11730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11731 ac_cpp='$CXXCPP $CPPFLAGS'
11732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11734 cross_compiling=$ac_cv_prog_cxx_cross
11736 cat > conftest.$ac_ext <<EOF
11737 #line 11738 "configure"
11738 #include "confdefs.h"
11740 #ifdef HAVE_IEEEFP_H
11741 #include <ieeefp.h>
11748 if { (eval echo configure:11749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11750 glibcpp_cv_func_fabsf_use=yes
11752 echo "configure: failed program was:" >&5
11753 cat conftest.$ac_ext >&5
11755 glibcpp_cv_func_fabsf_use=no
11759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11760 ac_cpp='$CPP $CPPFLAGS'
11761 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11762 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11763 cross_compiling=$ac_cv_prog_cc_cross
11769 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
11771 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
11772 for ac_func in fabsf
11774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11775 echo "configure:11776: checking for $ac_func" >&5
11776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11777 echo $ac_n "(cached) $ac_c" 1>&6
11779 cat > conftest.$ac_ext <<EOF
11780 #line 11781 "configure"
11781 #include "confdefs.h"
11782 /* System header to define __stub macros and hopefully few prototypes,
11783 which can conflict with char $ac_func(); below. */
11784 #include <assert.h>
11785 /* Override any gcc2 internal prototype to avoid an error. */
11786 /* We use char because int might match the return type of a gcc2
11787 builtin and then its argument prototype would still apply. */
11792 /* The GNU C library defines this for functions which it implements
11793 to always fail with ENOSYS. Some functions are actually named
11794 something starting with __ and the normal name is an alias. */
11795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11803 if { (eval echo configure:11804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11805 eval "ac_cv_func_$ac_func=yes"
11807 echo "configure: failed program was:" >&5
11808 cat conftest.$ac_ext >&5
11810 eval "ac_cv_func_$ac_func=no"
11815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11816 echo "$ac_t""yes" 1>&6
11817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11818 cat >> confdefs.h <<EOF
11819 #define $ac_tr_func 1
11823 echo "$ac_t""no" 1>&6
11829 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
11830 echo "configure:11831: checking for _fabsf declaration" >&5
11831 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
11832 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11838 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11839 ac_cpp='$CXXCPP $CPPFLAGS'
11840 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11841 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11842 cross_compiling=$ac_cv_prog_cxx_cross
11844 cat > conftest.$ac_ext <<EOF
11845 #line 11846 "configure"
11846 #include "confdefs.h"
11848 #ifdef HAVE_IEEEFP_H
11849 #include <ieeefp.h>
11856 if { (eval echo configure:11857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11858 glibcpp_cv_func__fabsf_use=yes
11860 echo "configure: failed program was:" >&5
11861 cat conftest.$ac_ext >&5
11863 glibcpp_cv_func__fabsf_use=no
11867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11868 ac_cpp='$CPP $CPPFLAGS'
11869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11871 cross_compiling=$ac_cv_prog_cc_cross
11877 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
11879 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
11880 for ac_func in _fabsf
11882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11883 echo "configure:11884: checking for $ac_func" >&5
11884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11885 echo $ac_n "(cached) $ac_c" 1>&6
11887 cat > conftest.$ac_ext <<EOF
11888 #line 11889 "configure"
11889 #include "confdefs.h"
11890 /* System header to define __stub macros and hopefully few prototypes,
11891 which can conflict with char $ac_func(); below. */
11892 #include <assert.h>
11893 /* Override any gcc2 internal prototype to avoid an error. */
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11900 /* The GNU C library defines this for functions which it implements
11901 to always fail with ENOSYS. Some functions are actually named
11902 something starting with __ and the normal name is an alias. */
11903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11911 if { (eval echo configure:11912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11913 eval "ac_cv_func_$ac_func=yes"
11915 echo "configure: failed program was:" >&5
11916 cat conftest.$ac_ext >&5
11918 eval "ac_cv_func_$ac_func=no"
11923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11924 echo "$ac_t""yes" 1>&6
11925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11926 cat >> confdefs.h <<EOF
11927 #define $ac_tr_func 1
11931 echo "$ac_t""no" 1>&6
11940 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
11941 echo "configure:11942: checking for fmodf declaration" >&5
11942 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
11943 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
11944 echo $ac_n "(cached) $ac_c" 1>&6
11949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11950 ac_cpp='$CXXCPP $CPPFLAGS'
11951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11953 cross_compiling=$ac_cv_prog_cxx_cross
11955 cat > conftest.$ac_ext <<EOF
11956 #line 11957 "configure"
11957 #include "confdefs.h"
11963 if { (eval echo configure:11964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11965 glibcpp_cv_func_fmodf_use=yes
11967 echo "configure: failed program was:" >&5
11968 cat conftest.$ac_ext >&5
11970 glibcpp_cv_func_fmodf_use=no
11974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11975 ac_cpp='$CPP $CPPFLAGS'
11976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11978 cross_compiling=$ac_cv_prog_cc_cross
11984 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
11986 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11987 for ac_func in fmodf
11989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11990 echo "configure:11991: checking for $ac_func" >&5
11991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11992 echo $ac_n "(cached) $ac_c" 1>&6
11994 cat > conftest.$ac_ext <<EOF
11995 #line 11996 "configure"
11996 #include "confdefs.h"
11997 /* System header to define __stub macros and hopefully few prototypes,
11998 which can conflict with char $ac_func(); below. */
11999 #include <assert.h>
12000 /* Override any gcc2 internal prototype to avoid an error. */
12001 /* We use char because int might match the return type of a gcc2
12002 builtin and then its argument prototype would still apply. */
12007 /* The GNU C library defines this for functions which it implements
12008 to always fail with ENOSYS. Some functions are actually named
12009 something starting with __ and the normal name is an alias. */
12010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12018 if { (eval echo configure:12019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12020 eval "ac_cv_func_$ac_func=yes"
12022 echo "configure: failed program was:" >&5
12023 cat conftest.$ac_ext >&5
12025 eval "ac_cv_func_$ac_func=no"
12030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12031 echo "$ac_t""yes" 1>&6
12032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12033 cat >> confdefs.h <<EOF
12034 #define $ac_tr_func 1
12038 echo "$ac_t""no" 1>&6
12044 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12045 echo "configure:12046: checking for _fmodf declaration" >&5
12046 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12047 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12054 ac_cpp='$CXXCPP $CPPFLAGS'
12055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12057 cross_compiling=$ac_cv_prog_cxx_cross
12059 cat > conftest.$ac_ext <<EOF
12060 #line 12061 "configure"
12061 #include "confdefs.h"
12067 if { (eval echo configure:12068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12069 glibcpp_cv_func__fmodf_use=yes
12071 echo "configure: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12074 glibcpp_cv_func__fmodf_use=no
12078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12079 ac_cpp='$CPP $CPPFLAGS'
12080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12082 cross_compiling=$ac_cv_prog_cc_cross
12088 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12090 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12091 for ac_func in _fmodf
12093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12094 echo "configure:12095: checking for $ac_func" >&5
12095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12098 cat > conftest.$ac_ext <<EOF
12099 #line 12100 "configure"
12100 #include "confdefs.h"
12101 /* System header to define __stub macros and hopefully few prototypes,
12102 which can conflict with char $ac_func(); below. */
12103 #include <assert.h>
12104 /* Override any gcc2 internal prototype to avoid an error. */
12105 /* We use char because int might match the return type of a gcc2
12106 builtin and then its argument prototype would still apply. */
12111 /* The GNU C library defines this for functions which it implements
12112 to always fail with ENOSYS. Some functions are actually named
12113 something starting with __ and the normal name is an alias. */
12114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12122 if { (eval echo configure:12123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12124 eval "ac_cv_func_$ac_func=yes"
12126 echo "configure: failed program was:" >&5
12127 cat conftest.$ac_ext >&5
12129 eval "ac_cv_func_$ac_func=no"
12134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12135 echo "$ac_t""yes" 1>&6
12136 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12137 cat >> confdefs.h <<EOF
12138 #define $ac_tr_func 1
12142 echo "$ac_t""no" 1>&6
12151 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
12152 echo "configure:12153: checking for frexpf declaration" >&5
12153 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
12154 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
12155 echo $ac_n "(cached) $ac_c" 1>&6
12160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12161 ac_cpp='$CXXCPP $CPPFLAGS'
12162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12164 cross_compiling=$ac_cv_prog_cxx_cross
12166 cat > conftest.$ac_ext <<EOF
12167 #line 12168 "configure"
12168 #include "confdefs.h"
12174 if { (eval echo configure:12175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12176 glibcpp_cv_func_frexpf_use=yes
12178 echo "configure: failed program was:" >&5
12179 cat conftest.$ac_ext >&5
12181 glibcpp_cv_func_frexpf_use=no
12185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12186 ac_cpp='$CPP $CPPFLAGS'
12187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12189 cross_compiling=$ac_cv_prog_cc_cross
12195 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
12197 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
12198 for ac_func in frexpf
12200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12201 echo "configure:12202: checking for $ac_func" >&5
12202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12203 echo $ac_n "(cached) $ac_c" 1>&6
12205 cat > conftest.$ac_ext <<EOF
12206 #line 12207 "configure"
12207 #include "confdefs.h"
12208 /* System header to define __stub macros and hopefully few prototypes,
12209 which can conflict with char $ac_func(); below. */
12210 #include <assert.h>
12211 /* Override any gcc2 internal prototype to avoid an error. */
12212 /* We use char because int might match the return type of a gcc2
12213 builtin and then its argument prototype would still apply. */
12218 /* The GNU C library defines this for functions which it implements
12219 to always fail with ENOSYS. Some functions are actually named
12220 something starting with __ and the normal name is an alias. */
12221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12229 if { (eval echo configure:12230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12231 eval "ac_cv_func_$ac_func=yes"
12233 echo "configure: failed program was:" >&5
12234 cat conftest.$ac_ext >&5
12236 eval "ac_cv_func_$ac_func=no"
12241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12242 echo "$ac_t""yes" 1>&6
12243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12244 cat >> confdefs.h <<EOF
12245 #define $ac_tr_func 1
12249 echo "$ac_t""no" 1>&6
12255 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12256 echo "configure:12257: checking for _frexpf declaration" >&5
12257 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
12258 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12259 echo $ac_n "(cached) $ac_c" 1>&6
12264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12265 ac_cpp='$CXXCPP $CPPFLAGS'
12266 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12267 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12268 cross_compiling=$ac_cv_prog_cxx_cross
12270 cat > conftest.$ac_ext <<EOF
12271 #line 12272 "configure"
12272 #include "confdefs.h"
12278 if { (eval echo configure:12279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12280 glibcpp_cv_func__frexpf_use=yes
12282 echo "configure: failed program was:" >&5
12283 cat conftest.$ac_ext >&5
12285 glibcpp_cv_func__frexpf_use=no
12289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12290 ac_cpp='$CPP $CPPFLAGS'
12291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12293 cross_compiling=$ac_cv_prog_cc_cross
12299 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12301 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12302 for ac_func in _frexpf
12304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12305 echo "configure:12306: checking for $ac_func" >&5
12306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12307 echo $ac_n "(cached) $ac_c" 1>&6
12309 cat > conftest.$ac_ext <<EOF
12310 #line 12311 "configure"
12311 #include "confdefs.h"
12312 /* System header to define __stub macros and hopefully few prototypes,
12313 which can conflict with char $ac_func(); below. */
12314 #include <assert.h>
12315 /* Override any gcc2 internal prototype to avoid an error. */
12316 /* We use char because int might match the return type of a gcc2
12317 builtin and then its argument prototype would still apply. */
12322 /* The GNU C library defines this for functions which it implements
12323 to always fail with ENOSYS. Some functions are actually named
12324 something starting with __ and the normal name is an alias. */
12325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12333 if { (eval echo configure:12334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12335 eval "ac_cv_func_$ac_func=yes"
12337 echo "configure: failed program was:" >&5
12338 cat conftest.$ac_ext >&5
12340 eval "ac_cv_func_$ac_func=no"
12345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12346 echo "$ac_t""yes" 1>&6
12347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12348 cat >> confdefs.h <<EOF
12349 #define $ac_tr_func 1
12353 echo "$ac_t""no" 1>&6
12362 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
12363 echo "configure:12364: checking for hypotf declaration" >&5
12364 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
12365 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
12366 echo $ac_n "(cached) $ac_c" 1>&6
12371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12372 ac_cpp='$CXXCPP $CPPFLAGS'
12373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12375 cross_compiling=$ac_cv_prog_cxx_cross
12377 cat > conftest.$ac_ext <<EOF
12378 #line 12379 "configure"
12379 #include "confdefs.h"
12385 if { (eval echo configure:12386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12387 glibcpp_cv_func_hypotf_use=yes
12389 echo "configure: failed program was:" >&5
12390 cat conftest.$ac_ext >&5
12392 glibcpp_cv_func_hypotf_use=no
12396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12397 ac_cpp='$CPP $CPPFLAGS'
12398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12400 cross_compiling=$ac_cv_prog_cc_cross
12406 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
12408 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
12409 for ac_func in hypotf
12411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12412 echo "configure:12413: checking for $ac_func" >&5
12413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12414 echo $ac_n "(cached) $ac_c" 1>&6
12416 cat > conftest.$ac_ext <<EOF
12417 #line 12418 "configure"
12418 #include "confdefs.h"
12419 /* System header to define __stub macros and hopefully few prototypes,
12420 which can conflict with char $ac_func(); below. */
12421 #include <assert.h>
12422 /* Override any gcc2 internal prototype to avoid an error. */
12423 /* We use char because int might match the return type of a gcc2
12424 builtin and then its argument prototype would still apply. */
12429 /* The GNU C library defines this for functions which it implements
12430 to always fail with ENOSYS. Some functions are actually named
12431 something starting with __ and the normal name is an alias. */
12432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12440 if { (eval echo configure:12441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12442 eval "ac_cv_func_$ac_func=yes"
12444 echo "configure: failed program was:" >&5
12445 cat conftest.$ac_ext >&5
12447 eval "ac_cv_func_$ac_func=no"
12452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12453 echo "$ac_t""yes" 1>&6
12454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12455 cat >> confdefs.h <<EOF
12456 #define $ac_tr_func 1
12460 echo "$ac_t""no" 1>&6
12466 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
12467 echo "configure:12468: checking for _hypotf declaration" >&5
12468 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
12469 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
12470 echo $ac_n "(cached) $ac_c" 1>&6
12475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12476 ac_cpp='$CXXCPP $CPPFLAGS'
12477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12479 cross_compiling=$ac_cv_prog_cxx_cross
12481 cat > conftest.$ac_ext <<EOF
12482 #line 12483 "configure"
12483 #include "confdefs.h"
12489 if { (eval echo configure:12490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12491 glibcpp_cv_func__hypotf_use=yes
12493 echo "configure: failed program was:" >&5
12494 cat conftest.$ac_ext >&5
12496 glibcpp_cv_func__hypotf_use=no
12500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12501 ac_cpp='$CPP $CPPFLAGS'
12502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12504 cross_compiling=$ac_cv_prog_cc_cross
12510 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
12512 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
12513 for ac_func in _hypotf
12515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12516 echo "configure:12517: checking for $ac_func" >&5
12517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12518 echo $ac_n "(cached) $ac_c" 1>&6
12520 cat > conftest.$ac_ext <<EOF
12521 #line 12522 "configure"
12522 #include "confdefs.h"
12523 /* System header to define __stub macros and hopefully few prototypes,
12524 which can conflict with char $ac_func(); below. */
12525 #include <assert.h>
12526 /* Override any gcc2 internal prototype to avoid an error. */
12527 /* We use char because int might match the return type of a gcc2
12528 builtin and then its argument prototype would still apply. */
12533 /* The GNU C library defines this for functions which it implements
12534 to always fail with ENOSYS. Some functions are actually named
12535 something starting with __ and the normal name is an alias. */
12536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12544 if { (eval echo configure:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12546 eval "ac_cv_func_$ac_func=yes"
12548 echo "configure: failed program was:" >&5
12549 cat conftest.$ac_ext >&5
12551 eval "ac_cv_func_$ac_func=no"
12556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12557 echo "$ac_t""yes" 1>&6
12558 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12559 cat >> confdefs.h <<EOF
12560 #define $ac_tr_func 1
12564 echo "$ac_t""no" 1>&6
12573 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
12574 echo "configure:12575: checking for ldexpf declaration" >&5
12575 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
12576 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
12577 echo $ac_n "(cached) $ac_c" 1>&6
12582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12583 ac_cpp='$CXXCPP $CPPFLAGS'
12584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12586 cross_compiling=$ac_cv_prog_cxx_cross
12588 cat > conftest.$ac_ext <<EOF
12589 #line 12590 "configure"
12590 #include "confdefs.h"
12596 if { (eval echo configure:12597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12598 glibcpp_cv_func_ldexpf_use=yes
12600 echo "configure: failed program was:" >&5
12601 cat conftest.$ac_ext >&5
12603 glibcpp_cv_func_ldexpf_use=no
12607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12608 ac_cpp='$CPP $CPPFLAGS'
12609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12611 cross_compiling=$ac_cv_prog_cc_cross
12617 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
12619 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
12620 for ac_func in ldexpf
12622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12623 echo "configure:12624: checking for $ac_func" >&5
12624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12625 echo $ac_n "(cached) $ac_c" 1>&6
12627 cat > conftest.$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12630 /* System header to define __stub macros and hopefully few prototypes,
12631 which can conflict with char $ac_func(); below. */
12632 #include <assert.h>
12633 /* Override any gcc2 internal prototype to avoid an error. */
12634 /* We use char because int might match the return type of a gcc2
12635 builtin and then its argument prototype would still apply. */
12640 /* The GNU C library defines this for functions which it implements
12641 to always fail with ENOSYS. Some functions are actually named
12642 something starting with __ and the normal name is an alias. */
12643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12651 if { (eval echo configure:12652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12653 eval "ac_cv_func_$ac_func=yes"
12655 echo "configure: failed program was:" >&5
12656 cat conftest.$ac_ext >&5
12658 eval "ac_cv_func_$ac_func=no"
12663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12664 echo "$ac_t""yes" 1>&6
12665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12666 cat >> confdefs.h <<EOF
12667 #define $ac_tr_func 1
12671 echo "$ac_t""no" 1>&6
12677 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
12678 echo "configure:12679: checking for _ldexpf declaration" >&5
12679 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
12680 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
12681 echo $ac_n "(cached) $ac_c" 1>&6
12686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12687 ac_cpp='$CXXCPP $CPPFLAGS'
12688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12690 cross_compiling=$ac_cv_prog_cxx_cross
12692 cat > conftest.$ac_ext <<EOF
12693 #line 12694 "configure"
12694 #include "confdefs.h"
12700 if { (eval echo configure:12701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12702 glibcpp_cv_func__ldexpf_use=yes
12704 echo "configure: failed program was:" >&5
12705 cat conftest.$ac_ext >&5
12707 glibcpp_cv_func__ldexpf_use=no
12711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12712 ac_cpp='$CPP $CPPFLAGS'
12713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12715 cross_compiling=$ac_cv_prog_cc_cross
12721 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
12723 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
12724 for ac_func in _ldexpf
12726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12727 echo "configure:12728: checking for $ac_func" >&5
12728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12729 echo $ac_n "(cached) $ac_c" 1>&6
12731 cat > conftest.$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12734 /* System header to define __stub macros and hopefully few prototypes,
12735 which can conflict with char $ac_func(); below. */
12736 #include <assert.h>
12737 /* Override any gcc2 internal prototype to avoid an error. */
12738 /* We use char because int might match the return type of a gcc2
12739 builtin and then its argument prototype would still apply. */
12744 /* The GNU C library defines this for functions which it implements
12745 to always fail with ENOSYS. Some functions are actually named
12746 something starting with __ and the normal name is an alias. */
12747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12755 if { (eval echo configure:12756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12757 eval "ac_cv_func_$ac_func=yes"
12759 echo "configure: failed program was:" >&5
12760 cat conftest.$ac_ext >&5
12762 eval "ac_cv_func_$ac_func=no"
12767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12768 echo "$ac_t""yes" 1>&6
12769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12770 cat >> confdefs.h <<EOF
12771 #define $ac_tr_func 1
12775 echo "$ac_t""no" 1>&6
12784 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
12785 echo "configure:12786: checking for logf declaration" >&5
12786 if test x${glibcpp_cv_func_logf_use+set} != xset; then
12787 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
12788 echo $ac_n "(cached) $ac_c" 1>&6
12793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12794 ac_cpp='$CXXCPP $CPPFLAGS'
12795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12797 cross_compiling=$ac_cv_prog_cxx_cross
12799 cat > conftest.$ac_ext <<EOF
12800 #line 12801 "configure"
12801 #include "confdefs.h"
12803 #ifdef HAVE_IEEEFP_H
12804 #include <ieeefp.h>
12811 if { (eval echo configure:12812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12813 glibcpp_cv_func_logf_use=yes
12815 echo "configure: failed program was:" >&5
12816 cat conftest.$ac_ext >&5
12818 glibcpp_cv_func_logf_use=no
12822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12823 ac_cpp='$CPP $CPPFLAGS'
12824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12826 cross_compiling=$ac_cv_prog_cc_cross
12832 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
12834 if test x$glibcpp_cv_func_logf_use = x"yes"; then
12835 for ac_func in logf
12837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12838 echo "configure:12839: checking for $ac_func" >&5
12839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12840 echo $ac_n "(cached) $ac_c" 1>&6
12842 cat > conftest.$ac_ext <<EOF
12843 #line 12844 "configure"
12844 #include "confdefs.h"
12845 /* System header to define __stub macros and hopefully few prototypes,
12846 which can conflict with char $ac_func(); below. */
12847 #include <assert.h>
12848 /* Override any gcc2 internal prototype to avoid an error. */
12849 /* We use char because int might match the return type of a gcc2
12850 builtin and then its argument prototype would still apply. */
12855 /* The GNU C library defines this for functions which it implements
12856 to always fail with ENOSYS. Some functions are actually named
12857 something starting with __ and the normal name is an alias. */
12858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12866 if { (eval echo configure:12867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12868 eval "ac_cv_func_$ac_func=yes"
12870 echo "configure: failed program was:" >&5
12871 cat conftest.$ac_ext >&5
12873 eval "ac_cv_func_$ac_func=no"
12878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12879 echo "$ac_t""yes" 1>&6
12880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12881 cat >> confdefs.h <<EOF
12882 #define $ac_tr_func 1
12886 echo "$ac_t""no" 1>&6
12892 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
12893 echo "configure:12894: checking for _logf declaration" >&5
12894 if test x${glibcpp_cv_func__logf_use+set} != xset; then
12895 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
12896 echo $ac_n "(cached) $ac_c" 1>&6
12901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12902 ac_cpp='$CXXCPP $CPPFLAGS'
12903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12905 cross_compiling=$ac_cv_prog_cxx_cross
12907 cat > conftest.$ac_ext <<EOF
12908 #line 12909 "configure"
12909 #include "confdefs.h"
12911 #ifdef HAVE_IEEEFP_H
12912 #include <ieeefp.h>
12919 if { (eval echo configure:12920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12921 glibcpp_cv_func__logf_use=yes
12923 echo "configure: failed program was:" >&5
12924 cat conftest.$ac_ext >&5
12926 glibcpp_cv_func__logf_use=no
12930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12931 ac_cpp='$CPP $CPPFLAGS'
12932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12934 cross_compiling=$ac_cv_prog_cc_cross
12940 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
12942 if test x$glibcpp_cv_func__logf_use = x"yes"; then
12943 for ac_func in _logf
12945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12946 echo "configure:12947: checking for $ac_func" >&5
12947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12948 echo $ac_n "(cached) $ac_c" 1>&6
12950 cat > conftest.$ac_ext <<EOF
12951 #line 12952 "configure"
12952 #include "confdefs.h"
12953 /* System header to define __stub macros and hopefully few prototypes,
12954 which can conflict with char $ac_func(); below. */
12955 #include <assert.h>
12956 /* Override any gcc2 internal prototype to avoid an error. */
12957 /* We use char because int might match the return type of a gcc2
12958 builtin and then its argument prototype would still apply. */
12963 /* The GNU C library defines this for functions which it implements
12964 to always fail with ENOSYS. Some functions are actually named
12965 something starting with __ and the normal name is an alias. */
12966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12974 if { (eval echo configure:12975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12976 eval "ac_cv_func_$ac_func=yes"
12978 echo "configure: failed program was:" >&5
12979 cat conftest.$ac_ext >&5
12981 eval "ac_cv_func_$ac_func=no"
12986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12987 echo "$ac_t""yes" 1>&6
12988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12989 cat >> confdefs.h <<EOF
12990 #define $ac_tr_func 1
12994 echo "$ac_t""no" 1>&6
13003 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
13004 echo "configure:13005: checking for log10f declaration" >&5
13005 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13006 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13007 echo $ac_n "(cached) $ac_c" 1>&6
13012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13013 ac_cpp='$CXXCPP $CPPFLAGS'
13014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13016 cross_compiling=$ac_cv_prog_cxx_cross
13018 cat > conftest.$ac_ext <<EOF
13019 #line 13020 "configure"
13020 #include "confdefs.h"
13022 #ifdef HAVE_IEEEFP_H
13023 #include <ieeefp.h>
13030 if { (eval echo configure:13031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13032 glibcpp_cv_func_log10f_use=yes
13034 echo "configure: failed program was:" >&5
13035 cat conftest.$ac_ext >&5
13037 glibcpp_cv_func_log10f_use=no
13041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13042 ac_cpp='$CPP $CPPFLAGS'
13043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13045 cross_compiling=$ac_cv_prog_cc_cross
13051 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13053 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13054 for ac_func in log10f
13056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13057 echo "configure:13058: checking for $ac_func" >&5
13058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13059 echo $ac_n "(cached) $ac_c" 1>&6
13061 cat > conftest.$ac_ext <<EOF
13062 #line 13063 "configure"
13063 #include "confdefs.h"
13064 /* System header to define __stub macros and hopefully few prototypes,
13065 which can conflict with char $ac_func(); below. */
13066 #include <assert.h>
13067 /* Override any gcc2 internal prototype to avoid an error. */
13068 /* We use char because int might match the return type of a gcc2
13069 builtin and then its argument prototype would still apply. */
13074 /* The GNU C library defines this for functions which it implements
13075 to always fail with ENOSYS. Some functions are actually named
13076 something starting with __ and the normal name is an alias. */
13077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13085 if { (eval echo configure:13086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13087 eval "ac_cv_func_$ac_func=yes"
13089 echo "configure: failed program was:" >&5
13090 cat conftest.$ac_ext >&5
13092 eval "ac_cv_func_$ac_func=no"
13097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13098 echo "$ac_t""yes" 1>&6
13099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13100 cat >> confdefs.h <<EOF
13101 #define $ac_tr_func 1
13105 echo "$ac_t""no" 1>&6
13111 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13112 echo "configure:13113: checking for _log10f declaration" >&5
13113 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13114 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13115 echo $ac_n "(cached) $ac_c" 1>&6
13120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13121 ac_cpp='$CXXCPP $CPPFLAGS'
13122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13124 cross_compiling=$ac_cv_prog_cxx_cross
13126 cat > conftest.$ac_ext <<EOF
13127 #line 13128 "configure"
13128 #include "confdefs.h"
13130 #ifdef HAVE_IEEEFP_H
13131 #include <ieeefp.h>
13138 if { (eval echo configure:13139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13140 glibcpp_cv_func__log10f_use=yes
13142 echo "configure: failed program was:" >&5
13143 cat conftest.$ac_ext >&5
13145 glibcpp_cv_func__log10f_use=no
13149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13150 ac_cpp='$CPP $CPPFLAGS'
13151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13153 cross_compiling=$ac_cv_prog_cc_cross
13159 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13161 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13162 for ac_func in _log10f
13164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13165 echo "configure:13166: checking for $ac_func" >&5
13166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13167 echo $ac_n "(cached) $ac_c" 1>&6
13169 cat > conftest.$ac_ext <<EOF
13170 #line 13171 "configure"
13171 #include "confdefs.h"
13172 /* System header to define __stub macros and hopefully few prototypes,
13173 which can conflict with char $ac_func(); below. */
13174 #include <assert.h>
13175 /* Override any gcc2 internal prototype to avoid an error. */
13176 /* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13182 /* The GNU C library defines this for functions which it implements
13183 to always fail with ENOSYS. Some functions are actually named
13184 something starting with __ and the normal name is an alias. */
13185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13193 if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13195 eval "ac_cv_func_$ac_func=yes"
13197 echo "configure: failed program was:" >&5
13198 cat conftest.$ac_ext >&5
13200 eval "ac_cv_func_$ac_func=no"
13205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13206 echo "$ac_t""yes" 1>&6
13207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13208 cat >> confdefs.h <<EOF
13209 #define $ac_tr_func 1
13213 echo "$ac_t""no" 1>&6
13222 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
13223 echo "configure:13224: checking for modff declaration" >&5
13224 if test x${glibcpp_cv_func_modff_use+set} != xset; then
13225 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
13226 echo $ac_n "(cached) $ac_c" 1>&6
13231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13232 ac_cpp='$CXXCPP $CPPFLAGS'
13233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13235 cross_compiling=$ac_cv_prog_cxx_cross
13237 cat > conftest.$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13245 if { (eval echo configure:13246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13247 glibcpp_cv_func_modff_use=yes
13249 echo "configure: failed program was:" >&5
13250 cat conftest.$ac_ext >&5
13252 glibcpp_cv_func_modff_use=no
13256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13257 ac_cpp='$CPP $CPPFLAGS'
13258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13260 cross_compiling=$ac_cv_prog_cc_cross
13266 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
13268 if test x$glibcpp_cv_func_modff_use = x"yes"; then
13269 for ac_func in modff
13271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13272 echo "configure:13273: checking for $ac_func" >&5
13273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 cat > conftest.$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 /* System header to define __stub macros and hopefully few prototypes,
13280 which can conflict with char $ac_func(); below. */
13281 #include <assert.h>
13282 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13300 if { (eval echo configure:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13302 eval "ac_cv_func_$ac_func=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.$ac_ext >&5
13307 eval "ac_cv_func_$ac_func=no"
13312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13313 echo "$ac_t""yes" 1>&6
13314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13315 cat >> confdefs.h <<EOF
13316 #define $ac_tr_func 1
13320 echo "$ac_t""no" 1>&6
13326 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13327 echo "configure:13328: checking for _modff declaration" >&5
13328 if test x${glibcpp_cv_func__modff_use+set} != xset; then
13329 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13330 echo $ac_n "(cached) $ac_c" 1>&6
13335 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13336 ac_cpp='$CXXCPP $CPPFLAGS'
13337 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13338 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13339 cross_compiling=$ac_cv_prog_cxx_cross
13341 cat > conftest.$ac_ext <<EOF
13342 #line 13343 "configure"
13343 #include "confdefs.h"
13349 if { (eval echo configure:13350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13351 glibcpp_cv_func__modff_use=yes
13353 echo "configure: failed program was:" >&5
13354 cat conftest.$ac_ext >&5
13356 glibcpp_cv_func__modff_use=no
13360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13361 ac_cpp='$CPP $CPPFLAGS'
13362 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13363 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13364 cross_compiling=$ac_cv_prog_cc_cross
13370 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13372 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13373 for ac_func in _modff
13375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13376 echo "configure:13377: checking for $ac_func" >&5
13377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13378 echo $ac_n "(cached) $ac_c" 1>&6
13380 cat > conftest.$ac_ext <<EOF
13381 #line 13382 "configure"
13382 #include "confdefs.h"
13383 /* System header to define __stub macros and hopefully few prototypes,
13384 which can conflict with char $ac_func(); below. */
13385 #include <assert.h>
13386 /* Override any gcc2 internal prototype to avoid an error. */
13387 /* We use char because int might match the return type of a gcc2
13388 builtin and then its argument prototype would still apply. */
13393 /* The GNU C library defines this for functions which it implements
13394 to always fail with ENOSYS. Some functions are actually named
13395 something starting with __ and the normal name is an alias. */
13396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13404 if { (eval echo configure:13405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13406 eval "ac_cv_func_$ac_func=yes"
13408 echo "configure: failed program was:" >&5
13409 cat conftest.$ac_ext >&5
13411 eval "ac_cv_func_$ac_func=no"
13416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13417 echo "$ac_t""yes" 1>&6
13418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13419 cat >> confdefs.h <<EOF
13420 #define $ac_tr_func 1
13424 echo "$ac_t""no" 1>&6
13433 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
13434 echo "configure:13435: checking for powf declaration" >&5
13435 if test x${glibcpp_cv_func_powf_use+set} != xset; then
13436 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
13437 echo $ac_n "(cached) $ac_c" 1>&6
13442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13443 ac_cpp='$CXXCPP $CPPFLAGS'
13444 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13445 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13446 cross_compiling=$ac_cv_prog_cxx_cross
13448 cat > conftest.$ac_ext <<EOF
13449 #line 13450 "configure"
13450 #include "confdefs.h"
13456 if { (eval echo configure:13457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13458 glibcpp_cv_func_powf_use=yes
13460 echo "configure: failed program was:" >&5
13461 cat conftest.$ac_ext >&5
13463 glibcpp_cv_func_powf_use=no
13467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13468 ac_cpp='$CPP $CPPFLAGS'
13469 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13470 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13471 cross_compiling=$ac_cv_prog_cc_cross
13477 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
13479 if test x$glibcpp_cv_func_powf_use = x"yes"; then
13480 for ac_func in powf
13482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13483 echo "configure:13484: checking for $ac_func" >&5
13484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13485 echo $ac_n "(cached) $ac_c" 1>&6
13487 cat > conftest.$ac_ext <<EOF
13488 #line 13489 "configure"
13489 #include "confdefs.h"
13490 /* System header to define __stub macros and hopefully few prototypes,
13491 which can conflict with char $ac_func(); below. */
13492 #include <assert.h>
13493 /* Override any gcc2 internal prototype to avoid an error. */
13494 /* We use char because int might match the return type of a gcc2
13495 builtin and then its argument prototype would still apply. */
13500 /* The GNU C library defines this for functions which it implements
13501 to always fail with ENOSYS. Some functions are actually named
13502 something starting with __ and the normal name is an alias. */
13503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13511 if { (eval echo configure:13512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13513 eval "ac_cv_func_$ac_func=yes"
13515 echo "configure: failed program was:" >&5
13516 cat conftest.$ac_ext >&5
13518 eval "ac_cv_func_$ac_func=no"
13523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13524 echo "$ac_t""yes" 1>&6
13525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13526 cat >> confdefs.h <<EOF
13527 #define $ac_tr_func 1
13531 echo "$ac_t""no" 1>&6
13537 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13538 echo "configure:13539: checking for _powf declaration" >&5
13539 if test x${glibcpp_cv_func__powf_use+set} != xset; then
13540 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13541 echo $ac_n "(cached) $ac_c" 1>&6
13546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13547 ac_cpp='$CXXCPP $CPPFLAGS'
13548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13550 cross_compiling=$ac_cv_prog_cxx_cross
13552 cat > conftest.$ac_ext <<EOF
13553 #line 13554 "configure"
13554 #include "confdefs.h"
13560 if { (eval echo configure:13561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13562 glibcpp_cv_func__powf_use=yes
13564 echo "configure: failed program was:" >&5
13565 cat conftest.$ac_ext >&5
13567 glibcpp_cv_func__powf_use=no
13571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13572 ac_cpp='$CPP $CPPFLAGS'
13573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13575 cross_compiling=$ac_cv_prog_cc_cross
13581 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13583 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13584 for ac_func in _powf
13586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13587 echo "configure:13588: checking for $ac_func" >&5
13588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13589 echo $ac_n "(cached) $ac_c" 1>&6
13591 cat > conftest.$ac_ext <<EOF
13592 #line 13593 "configure"
13593 #include "confdefs.h"
13594 /* System header to define __stub macros and hopefully few prototypes,
13595 which can conflict with char $ac_func(); below. */
13596 #include <assert.h>
13597 /* Override any gcc2 internal prototype to avoid an error. */
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13604 /* The GNU C library defines this for functions which it implements
13605 to always fail with ENOSYS. Some functions are actually named
13606 something starting with __ and the normal name is an alias. */
13607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13615 if { (eval echo configure:13616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13617 eval "ac_cv_func_$ac_func=yes"
13619 echo "configure: failed program was:" >&5
13620 cat conftest.$ac_ext >&5
13622 eval "ac_cv_func_$ac_func=no"
13627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13628 echo "$ac_t""yes" 1>&6
13629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13630 cat >> confdefs.h <<EOF
13631 #define $ac_tr_func 1
13635 echo "$ac_t""no" 1>&6
13644 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
13645 echo "configure:13646: checking for sqrtf declaration" >&5
13646 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
13647 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
13648 echo $ac_n "(cached) $ac_c" 1>&6
13653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13654 ac_cpp='$CXXCPP $CPPFLAGS'
13655 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13656 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13657 cross_compiling=$ac_cv_prog_cxx_cross
13659 cat > conftest.$ac_ext <<EOF
13660 #line 13661 "configure"
13661 #include "confdefs.h"
13663 #ifdef HAVE_IEEEFP_H
13664 #include <ieeefp.h>
13671 if { (eval echo configure:13672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13673 glibcpp_cv_func_sqrtf_use=yes
13675 echo "configure: failed program was:" >&5
13676 cat conftest.$ac_ext >&5
13678 glibcpp_cv_func_sqrtf_use=no
13682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13683 ac_cpp='$CPP $CPPFLAGS'
13684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13686 cross_compiling=$ac_cv_prog_cc_cross
13692 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
13694 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
13695 for ac_func in sqrtf
13697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13698 echo "configure:13699: checking for $ac_func" >&5
13699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13700 echo $ac_n "(cached) $ac_c" 1>&6
13702 cat > conftest.$ac_ext <<EOF
13703 #line 13704 "configure"
13704 #include "confdefs.h"
13705 /* System header to define __stub macros and hopefully few prototypes,
13706 which can conflict with char $ac_func(); below. */
13707 #include <assert.h>
13708 /* Override any gcc2 internal prototype to avoid an error. */
13709 /* We use char because int might match the return type of a gcc2
13710 builtin and then its argument prototype would still apply. */
13715 /* The GNU C library defines this for functions which it implements
13716 to always fail with ENOSYS. Some functions are actually named
13717 something starting with __ and the normal name is an alias. */
13718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13726 if { (eval echo configure:13727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13728 eval "ac_cv_func_$ac_func=yes"
13730 echo "configure: failed program was:" >&5
13731 cat conftest.$ac_ext >&5
13733 eval "ac_cv_func_$ac_func=no"
13738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13739 echo "$ac_t""yes" 1>&6
13740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13741 cat >> confdefs.h <<EOF
13742 #define $ac_tr_func 1
13746 echo "$ac_t""no" 1>&6
13752 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13753 echo "configure:13754: checking for _sqrtf declaration" >&5
13754 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
13755 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13756 echo $ac_n "(cached) $ac_c" 1>&6
13761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13762 ac_cpp='$CXXCPP $CPPFLAGS'
13763 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13764 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13765 cross_compiling=$ac_cv_prog_cxx_cross
13767 cat > conftest.$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13771 #ifdef HAVE_IEEEFP_H
13772 #include <ieeefp.h>
13779 if { (eval echo configure:13780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13781 glibcpp_cv_func__sqrtf_use=yes
13783 echo "configure: failed program was:" >&5
13784 cat conftest.$ac_ext >&5
13786 glibcpp_cv_func__sqrtf_use=no
13790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13791 ac_cpp='$CPP $CPPFLAGS'
13792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13794 cross_compiling=$ac_cv_prog_cc_cross
13800 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13802 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13803 for ac_func in _sqrtf
13805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13806 echo "configure:13807: checking for $ac_func" >&5
13807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13808 echo $ac_n "(cached) $ac_c" 1>&6
13810 cat > conftest.$ac_ext <<EOF
13811 #line 13812 "configure"
13812 #include "confdefs.h"
13813 /* System header to define __stub macros and hopefully few prototypes,
13814 which can conflict with char $ac_func(); below. */
13815 #include <assert.h>
13816 /* Override any gcc2 internal prototype to avoid an error. */
13817 /* We use char because int might match the return type of a gcc2
13818 builtin and then its argument prototype would still apply. */
13823 /* The GNU C library defines this for functions which it implements
13824 to always fail with ENOSYS. Some functions are actually named
13825 something starting with __ and the normal name is an alias. */
13826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13834 if { (eval echo configure:13835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13836 eval "ac_cv_func_$ac_func=yes"
13838 echo "configure: failed program was:" >&5
13839 cat conftest.$ac_ext >&5
13841 eval "ac_cv_func_$ac_func=no"
13846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13847 echo "$ac_t""yes" 1>&6
13848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13849 cat >> confdefs.h <<EOF
13850 #define $ac_tr_func 1
13854 echo "$ac_t""no" 1>&6
13863 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
13864 echo "configure:13865: checking for sincosf declaration" >&5
13865 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
13866 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
13867 echo $ac_n "(cached) $ac_c" 1>&6
13872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13873 ac_cpp='$CXXCPP $CPPFLAGS'
13874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13876 cross_compiling=$ac_cv_prog_cxx_cross
13878 cat > conftest.$ac_ext <<EOF
13879 #line 13880 "configure"
13880 #include "confdefs.h"
13886 if { (eval echo configure:13887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13888 glibcpp_cv_func_sincosf_use=yes
13890 echo "configure: failed program was:" >&5
13891 cat conftest.$ac_ext >&5
13893 glibcpp_cv_func_sincosf_use=no
13897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13898 ac_cpp='$CPP $CPPFLAGS'
13899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13901 cross_compiling=$ac_cv_prog_cc_cross
13907 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
13909 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
13910 for ac_func in sincosf
13912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13913 echo "configure:13914: checking for $ac_func" >&5
13914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13915 echo $ac_n "(cached) $ac_c" 1>&6
13917 cat > conftest.$ac_ext <<EOF
13918 #line 13919 "configure"
13919 #include "confdefs.h"
13920 /* System header to define __stub macros and hopefully few prototypes,
13921 which can conflict with char $ac_func(); below. */
13922 #include <assert.h>
13923 /* Override any gcc2 internal prototype to avoid an error. */
13924 /* We use char because int might match the return type of a gcc2
13925 builtin and then its argument prototype would still apply. */
13930 /* The GNU C library defines this for functions which it implements
13931 to always fail with ENOSYS. Some functions are actually named
13932 something starting with __ and the normal name is an alias. */
13933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13941 if { (eval echo configure:13942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13943 eval "ac_cv_func_$ac_func=yes"
13945 echo "configure: failed program was:" >&5
13946 cat conftest.$ac_ext >&5
13948 eval "ac_cv_func_$ac_func=no"
13953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13954 echo "$ac_t""yes" 1>&6
13955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13956 cat >> confdefs.h <<EOF
13957 #define $ac_tr_func 1
13961 echo "$ac_t""no" 1>&6
13967 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
13968 echo "configure:13969: checking for _sincosf declaration" >&5
13969 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13970 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13971 echo $ac_n "(cached) $ac_c" 1>&6
13976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13977 ac_cpp='$CXXCPP $CPPFLAGS'
13978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13980 cross_compiling=$ac_cv_prog_cxx_cross
13982 cat > conftest.$ac_ext <<EOF
13983 #line 13984 "configure"
13984 #include "confdefs.h"
13990 if { (eval echo configure:13991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13992 glibcpp_cv_func__sincosf_use=yes
13994 echo "configure: failed program was:" >&5
13995 cat conftest.$ac_ext >&5
13997 glibcpp_cv_func__sincosf_use=no
14001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14002 ac_cpp='$CPP $CPPFLAGS'
14003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14005 cross_compiling=$ac_cv_prog_cc_cross
14011 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14013 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14014 for ac_func in _sincosf
14016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14017 echo "configure:14018: checking for $ac_func" >&5
14018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14021 cat > conftest.$ac_ext <<EOF
14022 #line 14023 "configure"
14023 #include "confdefs.h"
14024 /* System header to define __stub macros and hopefully few prototypes,
14025 which can conflict with char $ac_func(); below. */
14026 #include <assert.h>
14027 /* Override any gcc2 internal prototype to avoid an error. */
14028 /* We use char because int might match the return type of a gcc2
14029 builtin and then its argument prototype would still apply. */
14034 /* The GNU C library defines this for functions which it implements
14035 to always fail with ENOSYS. Some functions are actually named
14036 something starting with __ and the normal name is an alias. */
14037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14045 if { (eval echo configure:14046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14047 eval "ac_cv_func_$ac_func=yes"
14049 echo "configure: failed program was:" >&5
14050 cat conftest.$ac_ext >&5
14052 eval "ac_cv_func_$ac_func=no"
14057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14058 echo "$ac_t""yes" 1>&6
14059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14060 cat >> confdefs.h <<EOF
14061 #define $ac_tr_func 1
14065 echo "$ac_t""no" 1>&6
14074 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14075 echo "configure:14076: checking for finitef declaration" >&5
14076 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14077 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14078 echo $ac_n "(cached) $ac_c" 1>&6
14083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14084 ac_cpp='$CXXCPP $CPPFLAGS'
14085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14087 cross_compiling=$ac_cv_prog_cxx_cross
14089 cat > conftest.$ac_ext <<EOF
14090 #line 14091 "configure"
14091 #include "confdefs.h"
14093 #ifdef HAVE_IEEEFP_H
14094 #include <ieeefp.h>
14101 if { (eval echo configure:14102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14103 glibcpp_cv_func_finitef_use=yes
14105 echo "configure: failed program was:" >&5
14106 cat conftest.$ac_ext >&5
14108 glibcpp_cv_func_finitef_use=no
14112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14113 ac_cpp='$CPP $CPPFLAGS'
14114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14116 cross_compiling=$ac_cv_prog_cc_cross
14122 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14124 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14125 for ac_func in finitef
14127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14128 echo "configure:14129: checking for $ac_func" >&5
14129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14130 echo $ac_n "(cached) $ac_c" 1>&6
14132 cat > conftest.$ac_ext <<EOF
14133 #line 14134 "configure"
14134 #include "confdefs.h"
14135 /* System header to define __stub macros and hopefully few prototypes,
14136 which can conflict with char $ac_func(); below. */
14137 #include <assert.h>
14138 /* Override any gcc2 internal prototype to avoid an error. */
14139 /* We use char because int might match the return type of a gcc2
14140 builtin and then its argument prototype would still apply. */
14145 /* The GNU C library defines this for functions which it implements
14146 to always fail with ENOSYS. Some functions are actually named
14147 something starting with __ and the normal name is an alias. */
14148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14156 if { (eval echo configure:14157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14158 eval "ac_cv_func_$ac_func=yes"
14160 echo "configure: failed program was:" >&5
14161 cat conftest.$ac_ext >&5
14163 eval "ac_cv_func_$ac_func=no"
14168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14169 echo "$ac_t""yes" 1>&6
14170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14171 cat >> confdefs.h <<EOF
14172 #define $ac_tr_func 1
14176 echo "$ac_t""no" 1>&6
14182 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14183 echo "configure:14184: checking for _finitef declaration" >&5
14184 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
14185 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14186 echo $ac_n "(cached) $ac_c" 1>&6
14191 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14192 ac_cpp='$CXXCPP $CPPFLAGS'
14193 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14194 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14195 cross_compiling=$ac_cv_prog_cxx_cross
14197 cat > conftest.$ac_ext <<EOF
14198 #line 14199 "configure"
14199 #include "confdefs.h"
14201 #ifdef HAVE_IEEEFP_H
14202 #include <ieeefp.h>
14209 if { (eval echo configure:14210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14211 glibcpp_cv_func__finitef_use=yes
14213 echo "configure: failed program was:" >&5
14214 cat conftest.$ac_ext >&5
14216 glibcpp_cv_func__finitef_use=no
14220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14221 ac_cpp='$CPP $CPPFLAGS'
14222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14224 cross_compiling=$ac_cv_prog_cc_cross
14230 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14232 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14233 for ac_func in _finitef
14235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14236 echo "configure:14237: checking for $ac_func" >&5
14237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14238 echo $ac_n "(cached) $ac_c" 1>&6
14240 cat > conftest.$ac_ext <<EOF
14241 #line 14242 "configure"
14242 #include "confdefs.h"
14243 /* System header to define __stub macros and hopefully few prototypes,
14244 which can conflict with char $ac_func(); below. */
14245 #include <assert.h>
14246 /* Override any gcc2 internal prototype to avoid an error. */
14247 /* We use char because int might match the return type of a gcc2
14248 builtin and then its argument prototype would still apply. */
14253 /* The GNU C library defines this for functions which it implements
14254 to always fail with ENOSYS. Some functions are actually named
14255 something starting with __ and the normal name is an alias. */
14256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14264 if { (eval echo configure:14265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14266 eval "ac_cv_func_$ac_func=yes"
14268 echo "configure: failed program was:" >&5
14269 cat conftest.$ac_ext >&5
14271 eval "ac_cv_func_$ac_func=no"
14276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14277 echo "$ac_t""yes" 1>&6
14278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14279 cat >> confdefs.h <<EOF
14280 #define $ac_tr_func 1
14284 echo "$ac_t""no" 1>&6
14293 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
14294 echo "configure:14295: checking for long double trig functions" >&5
14295 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
14296 echo $ac_n "(cached) $ac_c" 1>&6
14301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14302 ac_cpp='$CXXCPP $CPPFLAGS'
14303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14305 cross_compiling=$ac_cv_prog_cxx_cross
14307 cat > conftest.$ac_ext <<EOF
14308 #line 14309 "configure"
14309 #include "confdefs.h"
14312 `for x in acosl asinl atanl \
14314 coshl sinhl tanhl; do echo "$x (0);"; done`
14317 if { (eval echo configure:14318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14319 glibcpp_cv_func_long_double_trig_use=yes
14321 echo "configure: failed program was:" >&5
14322 cat conftest.$ac_ext >&5
14324 glibcpp_cv_func_long_double_trig_use=no
14328 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14329 ac_cpp='$CPP $CPPFLAGS'
14330 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14331 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14332 cross_compiling=$ac_cv_prog_cc_cross
14336 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
14337 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
14338 for ac_func in acosl asinl atanl \
14342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14343 echo "configure:14344: checking for $ac_func" >&5
14344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14345 echo $ac_n "(cached) $ac_c" 1>&6
14347 cat > conftest.$ac_ext <<EOF
14348 #line 14349 "configure"
14349 #include "confdefs.h"
14350 /* System header to define __stub macros and hopefully few prototypes,
14351 which can conflict with char $ac_func(); below. */
14352 #include <assert.h>
14353 /* Override any gcc2 internal prototype to avoid an error. */
14354 /* We use char because int might match the return type of a gcc2
14355 builtin and then its argument prototype would still apply. */
14360 /* The GNU C library defines this for functions which it implements
14361 to always fail with ENOSYS. Some functions are actually named
14362 something starting with __ and the normal name is an alias. */
14363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14371 if { (eval echo configure:14372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14373 eval "ac_cv_func_$ac_func=yes"
14375 echo "configure: failed program was:" >&5
14376 cat conftest.$ac_ext >&5
14378 eval "ac_cv_func_$ac_func=no"
14383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14384 echo "$ac_t""yes" 1>&6
14385 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14386 cat >> confdefs.h <<EOF
14387 #define $ac_tr_func 1
14391 echo "$ac_t""no" 1>&6
14398 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
14399 echo "configure:14400: checking for long double round functions" >&5
14400 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
14401 echo $ac_n "(cached) $ac_c" 1>&6
14406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14407 ac_cpp='$CXXCPP $CPPFLAGS'
14408 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14409 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14410 cross_compiling=$ac_cv_prog_cxx_cross
14412 cat > conftest.$ac_ext <<EOF
14413 #line 14414 "configure"
14414 #include "confdefs.h"
14417 `for x in ceill floorl; do echo "$x (0);"; done`
14420 if { (eval echo configure:14421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14422 glibcpp_cv_func_long_double_round_use=yes
14424 echo "configure: failed program was:" >&5
14425 cat conftest.$ac_ext >&5
14427 glibcpp_cv_func_long_double_round_use=no
14431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14432 ac_cpp='$CPP $CPPFLAGS'
14433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14435 cross_compiling=$ac_cv_prog_cc_cross
14439 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
14440 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
14441 for ac_func in ceill floorl
14443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14444 echo "configure:14445: checking for $ac_func" >&5
14445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14446 echo $ac_n "(cached) $ac_c" 1>&6
14448 cat > conftest.$ac_ext <<EOF
14449 #line 14450 "configure"
14450 #include "confdefs.h"
14451 /* System header to define __stub macros and hopefully few prototypes,
14452 which can conflict with char $ac_func(); below. */
14453 #include <assert.h>
14454 /* Override any gcc2 internal prototype to avoid an error. */
14455 /* We use char because int might match the return type of a gcc2
14456 builtin and then its argument prototype would still apply. */
14461 /* The GNU C library defines this for functions which it implements
14462 to always fail with ENOSYS. Some functions are actually named
14463 something starting with __ and the normal name is an alias. */
14464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14472 if { (eval echo configure:14473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14474 eval "ac_cv_func_$ac_func=yes"
14476 echo "configure: failed program was:" >&5
14477 cat conftest.$ac_ext >&5
14479 eval "ac_cv_func_$ac_func=no"
14484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14485 echo "$ac_t""yes" 1>&6
14486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14487 cat >> confdefs.h <<EOF
14488 #define $ac_tr_func 1
14492 echo "$ac_t""no" 1>&6
14500 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
14501 echo "configure:14502: checking for isnanl declaration" >&5
14502 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
14503 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
14504 echo $ac_n "(cached) $ac_c" 1>&6
14509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14510 ac_cpp='$CXXCPP $CPPFLAGS'
14511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14513 cross_compiling=$ac_cv_prog_cxx_cross
14515 cat > conftest.$ac_ext <<EOF
14516 #line 14517 "configure"
14517 #include "confdefs.h"
14519 #ifdef HAVE_IEEEFP_H
14520 #include <ieeefp.h>
14527 if { (eval echo configure:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14529 glibcpp_cv_func_isnanl_use=yes
14531 echo "configure: failed program was:" >&5
14532 cat conftest.$ac_ext >&5
14534 glibcpp_cv_func_isnanl_use=no
14538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14539 ac_cpp='$CPP $CPPFLAGS'
14540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14542 cross_compiling=$ac_cv_prog_cc_cross
14548 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
14550 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
14551 for ac_func in isnanl
14553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14554 echo "configure:14555: checking for $ac_func" >&5
14555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14556 echo $ac_n "(cached) $ac_c" 1>&6
14558 cat > conftest.$ac_ext <<EOF
14559 #line 14560 "configure"
14560 #include "confdefs.h"
14561 /* System header to define __stub macros and hopefully few prototypes,
14562 which can conflict with char $ac_func(); below. */
14563 #include <assert.h>
14564 /* Override any gcc2 internal prototype to avoid an error. */
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14571 /* The GNU C library defines this for functions which it implements
14572 to always fail with ENOSYS. Some functions are actually named
14573 something starting with __ and the normal name is an alias. */
14574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14582 if { (eval echo configure:14583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14584 eval "ac_cv_func_$ac_func=yes"
14586 echo "configure: failed program was:" >&5
14587 cat conftest.$ac_ext >&5
14589 eval "ac_cv_func_$ac_func=no"
14594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14595 echo "$ac_t""yes" 1>&6
14596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14597 cat >> confdefs.h <<EOF
14598 #define $ac_tr_func 1
14602 echo "$ac_t""no" 1>&6
14608 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14609 echo "configure:14610: checking for _isnanl declaration" >&5
14610 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
14611 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14612 echo $ac_n "(cached) $ac_c" 1>&6
14617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14618 ac_cpp='$CXXCPP $CPPFLAGS'
14619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14621 cross_compiling=$ac_cv_prog_cxx_cross
14623 cat > conftest.$ac_ext <<EOF
14624 #line 14625 "configure"
14625 #include "confdefs.h"
14627 #ifdef HAVE_IEEEFP_H
14628 #include <ieeefp.h>
14635 if { (eval echo configure:14636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14637 glibcpp_cv_func__isnanl_use=yes
14639 echo "configure: failed program was:" >&5
14640 cat conftest.$ac_ext >&5
14642 glibcpp_cv_func__isnanl_use=no
14646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14647 ac_cpp='$CPP $CPPFLAGS'
14648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14650 cross_compiling=$ac_cv_prog_cc_cross
14656 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14658 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14659 for ac_func in _isnanl
14661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14662 echo "configure:14663: checking for $ac_func" >&5
14663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14664 echo $ac_n "(cached) $ac_c" 1>&6
14666 cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure"
14668 #include "confdefs.h"
14669 /* System header to define __stub macros and hopefully few prototypes,
14670 which can conflict with char $ac_func(); below. */
14671 #include <assert.h>
14672 /* Override any gcc2 internal prototype to avoid an error. */
14673 /* We use char because int might match the return type of a gcc2
14674 builtin and then its argument prototype would still apply. */
14679 /* The GNU C library defines this for functions which it implements
14680 to always fail with ENOSYS. Some functions are actually named
14681 something starting with __ and the normal name is an alias. */
14682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14690 if { (eval echo configure:14691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14692 eval "ac_cv_func_$ac_func=yes"
14694 echo "configure: failed program was:" >&5
14695 cat conftest.$ac_ext >&5
14697 eval "ac_cv_func_$ac_func=no"
14702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14703 echo "$ac_t""yes" 1>&6
14704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14705 cat >> confdefs.h <<EOF
14706 #define $ac_tr_func 1
14710 echo "$ac_t""no" 1>&6
14719 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
14720 echo "configure:14721: checking for isinfl declaration" >&5
14721 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
14722 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
14723 echo $ac_n "(cached) $ac_c" 1>&6
14728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14729 ac_cpp='$CXXCPP $CPPFLAGS'
14730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14732 cross_compiling=$ac_cv_prog_cxx_cross
14734 cat > conftest.$ac_ext <<EOF
14735 #line 14736 "configure"
14736 #include "confdefs.h"
14738 #ifdef HAVE_IEEEFP_H
14739 #include <ieeefp.h>
14746 if { (eval echo configure:14747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14748 glibcpp_cv_func_isinfl_use=yes
14750 echo "configure: failed program was:" >&5
14751 cat conftest.$ac_ext >&5
14753 glibcpp_cv_func_isinfl_use=no
14757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14758 ac_cpp='$CPP $CPPFLAGS'
14759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14761 cross_compiling=$ac_cv_prog_cc_cross
14767 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
14769 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
14770 for ac_func in isinfl
14772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14773 echo "configure:14774: checking for $ac_func" >&5
14774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14777 cat > conftest.$ac_ext <<EOF
14778 #line 14779 "configure"
14779 #include "confdefs.h"
14780 /* System header to define __stub macros and hopefully few prototypes,
14781 which can conflict with char $ac_func(); below. */
14782 #include <assert.h>
14783 /* Override any gcc2 internal prototype to avoid an error. */
14784 /* We use char because int might match the return type of a gcc2
14785 builtin and then its argument prototype would still apply. */
14790 /* The GNU C library defines this for functions which it implements
14791 to always fail with ENOSYS. Some functions are actually named
14792 something starting with __ and the normal name is an alias. */
14793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14801 if { (eval echo configure:14802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14803 eval "ac_cv_func_$ac_func=yes"
14805 echo "configure: failed program was:" >&5
14806 cat conftest.$ac_ext >&5
14808 eval "ac_cv_func_$ac_func=no"
14813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14814 echo "$ac_t""yes" 1>&6
14815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14816 cat >> confdefs.h <<EOF
14817 #define $ac_tr_func 1
14821 echo "$ac_t""no" 1>&6
14827 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14828 echo "configure:14829: checking for _isinfl declaration" >&5
14829 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
14830 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14831 echo $ac_n "(cached) $ac_c" 1>&6
14836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14837 ac_cpp='$CXXCPP $CPPFLAGS'
14838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14840 cross_compiling=$ac_cv_prog_cxx_cross
14842 cat > conftest.$ac_ext <<EOF
14843 #line 14844 "configure"
14844 #include "confdefs.h"
14846 #ifdef HAVE_IEEEFP_H
14847 #include <ieeefp.h>
14854 if { (eval echo configure:14855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14856 glibcpp_cv_func__isinfl_use=yes
14858 echo "configure: failed program was:" >&5
14859 cat conftest.$ac_ext >&5
14861 glibcpp_cv_func__isinfl_use=no
14865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14866 ac_cpp='$CPP $CPPFLAGS'
14867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14869 cross_compiling=$ac_cv_prog_cc_cross
14875 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14877 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14878 for ac_func in _isinfl
14880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14881 echo "configure:14882: checking for $ac_func" >&5
14882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14883 echo $ac_n "(cached) $ac_c" 1>&6
14885 cat > conftest.$ac_ext <<EOF
14886 #line 14887 "configure"
14887 #include "confdefs.h"
14888 /* System header to define __stub macros and hopefully few prototypes,
14889 which can conflict with char $ac_func(); below. */
14890 #include <assert.h>
14891 /* Override any gcc2 internal prototype to avoid an error. */
14892 /* We use char because int might match the return type of a gcc2
14893 builtin and then its argument prototype would still apply. */
14898 /* The GNU C library defines this for functions which it implements
14899 to always fail with ENOSYS. Some functions are actually named
14900 something starting with __ and the normal name is an alias. */
14901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14909 if { (eval echo configure:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14911 eval "ac_cv_func_$ac_func=yes"
14913 echo "configure: failed program was:" >&5
14914 cat conftest.$ac_ext >&5
14916 eval "ac_cv_func_$ac_func=no"
14921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14922 echo "$ac_t""yes" 1>&6
14923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14924 cat >> confdefs.h <<EOF
14925 #define $ac_tr_func 1
14929 echo "$ac_t""no" 1>&6
14938 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
14939 echo "configure:14940: checking for copysignl declaration" >&5
14940 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
14941 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
14942 echo $ac_n "(cached) $ac_c" 1>&6
14947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14948 ac_cpp='$CXXCPP $CPPFLAGS'
14949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14951 cross_compiling=$ac_cv_prog_cxx_cross
14953 cat > conftest.$ac_ext <<EOF
14954 #line 14955 "configure"
14955 #include "confdefs.h"
14961 if { (eval echo configure:14962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14963 glibcpp_cv_func_copysignl_use=yes
14965 echo "configure: failed program was:" >&5
14966 cat conftest.$ac_ext >&5
14968 glibcpp_cv_func_copysignl_use=no
14972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14976 cross_compiling=$ac_cv_prog_cc_cross
14982 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14984 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14985 for ac_func in copysignl
14987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14988 echo "configure:14989: checking for $ac_func" >&5
14989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14990 echo $ac_n "(cached) $ac_c" 1>&6
14992 cat > conftest.$ac_ext <<EOF
14993 #line 14994 "configure"
14994 #include "confdefs.h"
14995 /* System header to define __stub macros and hopefully few prototypes,
14996 which can conflict with char $ac_func(); below. */
14997 #include <assert.h>
14998 /* Override any gcc2 internal prototype to avoid an error. */
14999 /* We use char because int might match the return type of a gcc2
15000 builtin and then its argument prototype would still apply. */
15005 /* The GNU C library defines this for functions which it implements
15006 to always fail with ENOSYS. Some functions are actually named
15007 something starting with __ and the normal name is an alias. */
15008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15016 if { (eval echo configure:15017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15018 eval "ac_cv_func_$ac_func=yes"
15020 echo "configure: failed program was:" >&5
15021 cat conftest.$ac_ext >&5
15023 eval "ac_cv_func_$ac_func=no"
15028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15029 echo "$ac_t""yes" 1>&6
15030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15031 cat >> confdefs.h <<EOF
15032 #define $ac_tr_func 1
15036 echo "$ac_t""no" 1>&6
15042 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15043 echo "configure:15044: checking for _copysignl declaration" >&5
15044 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15045 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15046 echo $ac_n "(cached) $ac_c" 1>&6
15051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15052 ac_cpp='$CXXCPP $CPPFLAGS'
15053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15055 cross_compiling=$ac_cv_prog_cxx_cross
15057 cat > conftest.$ac_ext <<EOF
15058 #line 15059 "configure"
15059 #include "confdefs.h"
15065 if { (eval echo configure:15066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15067 glibcpp_cv_func__copysignl_use=yes
15069 echo "configure: failed program was:" >&5
15070 cat conftest.$ac_ext >&5
15072 glibcpp_cv_func__copysignl_use=no
15076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15077 ac_cpp='$CPP $CPPFLAGS'
15078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15080 cross_compiling=$ac_cv_prog_cc_cross
15086 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15088 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15089 for ac_func in _copysignl
15091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15092 echo "configure:15093: checking for $ac_func" >&5
15093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15094 echo $ac_n "(cached) $ac_c" 1>&6
15096 cat > conftest.$ac_ext <<EOF
15097 #line 15098 "configure"
15098 #include "confdefs.h"
15099 /* System header to define __stub macros and hopefully few prototypes,
15100 which can conflict with char $ac_func(); below. */
15101 #include <assert.h>
15102 /* Override any gcc2 internal prototype to avoid an error. */
15103 /* We use char because int might match the return type of a gcc2
15104 builtin and then its argument prototype would still apply. */
15109 /* The GNU C library defines this for functions which it implements
15110 to always fail with ENOSYS. Some functions are actually named
15111 something starting with __ and the normal name is an alias. */
15112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15120 if { (eval echo configure:15121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15122 eval "ac_cv_func_$ac_func=yes"
15124 echo "configure: failed program was:" >&5
15125 cat conftest.$ac_ext >&5
15127 eval "ac_cv_func_$ac_func=no"
15132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15133 echo "$ac_t""yes" 1>&6
15134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15135 cat >> confdefs.h <<EOF
15136 #define $ac_tr_func 1
15140 echo "$ac_t""no" 1>&6
15149 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
15150 echo "configure:15151: checking for atan2l declaration" >&5
15151 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
15152 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
15153 echo $ac_n "(cached) $ac_c" 1>&6
15158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15159 ac_cpp='$CXXCPP $CPPFLAGS'
15160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15162 cross_compiling=$ac_cv_prog_cxx_cross
15164 cat > conftest.$ac_ext <<EOF
15165 #line 15166 "configure"
15166 #include "confdefs.h"
15172 if { (eval echo configure:15173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15174 glibcpp_cv_func_atan2l_use=yes
15176 echo "configure: failed program was:" >&5
15177 cat conftest.$ac_ext >&5
15179 glibcpp_cv_func_atan2l_use=no
15183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15184 ac_cpp='$CPP $CPPFLAGS'
15185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15187 cross_compiling=$ac_cv_prog_cc_cross
15193 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
15195 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
15196 for ac_func in atan2l
15198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15199 echo "configure:15200: checking for $ac_func" >&5
15200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15201 echo $ac_n "(cached) $ac_c" 1>&6
15203 cat > conftest.$ac_ext <<EOF
15204 #line 15205 "configure"
15205 #include "confdefs.h"
15206 /* System header to define __stub macros and hopefully few prototypes,
15207 which can conflict with char $ac_func(); below. */
15208 #include <assert.h>
15209 /* Override any gcc2 internal prototype to avoid an error. */
15210 /* We use char because int might match the return type of a gcc2
15211 builtin and then its argument prototype would still apply. */
15216 /* The GNU C library defines this for functions which it implements
15217 to always fail with ENOSYS. Some functions are actually named
15218 something starting with __ and the normal name is an alias. */
15219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15227 if { (eval echo configure:15228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15229 eval "ac_cv_func_$ac_func=yes"
15231 echo "configure: failed program was:" >&5
15232 cat conftest.$ac_ext >&5
15234 eval "ac_cv_func_$ac_func=no"
15239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15240 echo "$ac_t""yes" 1>&6
15241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15242 cat >> confdefs.h <<EOF
15243 #define $ac_tr_func 1
15247 echo "$ac_t""no" 1>&6
15253 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
15254 echo "configure:15255: checking for _atan2l declaration" >&5
15255 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
15256 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15257 echo $ac_n "(cached) $ac_c" 1>&6
15262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15266 cross_compiling=$ac_cv_prog_cxx_cross
15268 cat > conftest.$ac_ext <<EOF
15269 #line 15270 "configure"
15270 #include "confdefs.h"
15276 if { (eval echo configure:15277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15278 glibcpp_cv_func__atan2l_use=yes
15280 echo "configure: failed program was:" >&5
15281 cat conftest.$ac_ext >&5
15283 glibcpp_cv_func__atan2l_use=no
15287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15288 ac_cpp='$CPP $CPPFLAGS'
15289 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15290 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15291 cross_compiling=$ac_cv_prog_cc_cross
15297 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15299 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15300 for ac_func in _atan2l
15302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15303 echo "configure:15304: checking for $ac_func" >&5
15304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15305 echo $ac_n "(cached) $ac_c" 1>&6
15307 cat > conftest.$ac_ext <<EOF
15308 #line 15309 "configure"
15309 #include "confdefs.h"
15310 /* System header to define __stub macros and hopefully few prototypes,
15311 which can conflict with char $ac_func(); below. */
15312 #include <assert.h>
15313 /* Override any gcc2 internal prototype to avoid an error. */
15314 /* We use char because int might match the return type of a gcc2
15315 builtin and then its argument prototype would still apply. */
15320 /* The GNU C library defines this for functions which it implements
15321 to always fail with ENOSYS. Some functions are actually named
15322 something starting with __ and the normal name is an alias. */
15323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15331 if { (eval echo configure:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15333 eval "ac_cv_func_$ac_func=yes"
15335 echo "configure: failed program was:" >&5
15336 cat conftest.$ac_ext >&5
15338 eval "ac_cv_func_$ac_func=no"
15343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15344 echo "$ac_t""yes" 1>&6
15345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15346 cat >> confdefs.h <<EOF
15347 #define $ac_tr_func 1
15351 echo "$ac_t""no" 1>&6
15360 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
15361 echo "configure:15362: checking for expl declaration" >&5
15362 if test x${glibcpp_cv_func_expl_use+set} != xset; then
15363 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
15364 echo $ac_n "(cached) $ac_c" 1>&6
15369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15370 ac_cpp='$CXXCPP $CPPFLAGS'
15371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15373 cross_compiling=$ac_cv_prog_cxx_cross
15375 cat > conftest.$ac_ext <<EOF
15376 #line 15377 "configure"
15377 #include "confdefs.h"
15379 #ifdef HAVE_IEEEFP_H
15380 #include <ieeefp.h>
15387 if { (eval echo configure:15388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15389 glibcpp_cv_func_expl_use=yes
15391 echo "configure: failed program was:" >&5
15392 cat conftest.$ac_ext >&5
15394 glibcpp_cv_func_expl_use=no
15398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15402 cross_compiling=$ac_cv_prog_cc_cross
15408 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
15410 if test x$glibcpp_cv_func_expl_use = x"yes"; then
15411 for ac_func in expl
15413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15414 echo "configure:15415: checking for $ac_func" >&5
15415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15416 echo $ac_n "(cached) $ac_c" 1>&6
15418 cat > conftest.$ac_ext <<EOF
15419 #line 15420 "configure"
15420 #include "confdefs.h"
15421 /* System header to define __stub macros and hopefully few prototypes,
15422 which can conflict with char $ac_func(); below. */
15423 #include <assert.h>
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15431 /* The GNU C library defines this for functions which it implements
15432 to always fail with ENOSYS. Some functions are actually named
15433 something starting with __ and the normal name is an alias. */
15434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15442 if { (eval echo configure:15443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15444 eval "ac_cv_func_$ac_func=yes"
15446 echo "configure: failed program was:" >&5
15447 cat conftest.$ac_ext >&5
15449 eval "ac_cv_func_$ac_func=no"
15454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15455 echo "$ac_t""yes" 1>&6
15456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15457 cat >> confdefs.h <<EOF
15458 #define $ac_tr_func 1
15462 echo "$ac_t""no" 1>&6
15468 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15469 echo "configure:15470: checking for _expl declaration" >&5
15470 if test x${glibcpp_cv_func__expl_use+set} != xset; then
15471 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15472 echo $ac_n "(cached) $ac_c" 1>&6
15477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15478 ac_cpp='$CXXCPP $CPPFLAGS'
15479 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15480 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15481 cross_compiling=$ac_cv_prog_cxx_cross
15483 cat > conftest.$ac_ext <<EOF
15484 #line 15485 "configure"
15485 #include "confdefs.h"
15487 #ifdef HAVE_IEEEFP_H
15488 #include <ieeefp.h>
15495 if { (eval echo configure:15496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15497 glibcpp_cv_func__expl_use=yes
15499 echo "configure: failed program was:" >&5
15500 cat conftest.$ac_ext >&5
15502 glibcpp_cv_func__expl_use=no
15506 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15507 ac_cpp='$CPP $CPPFLAGS'
15508 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15509 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15510 cross_compiling=$ac_cv_prog_cc_cross
15516 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15518 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15519 for ac_func in _expl
15521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15522 echo "configure:15523: checking for $ac_func" >&5
15523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15524 echo $ac_n "(cached) $ac_c" 1>&6
15526 cat > conftest.$ac_ext <<EOF
15527 #line 15528 "configure"
15528 #include "confdefs.h"
15529 /* System header to define __stub macros and hopefully few prototypes,
15530 which can conflict with char $ac_func(); below. */
15531 #include <assert.h>
15532 /* Override any gcc2 internal prototype to avoid an error. */
15533 /* We use char because int might match the return type of a gcc2
15534 builtin and then its argument prototype would still apply. */
15539 /* The GNU C library defines this for functions which it implements
15540 to always fail with ENOSYS. Some functions are actually named
15541 something starting with __ and the normal name is an alias. */
15542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15550 if { (eval echo configure:15551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15552 eval "ac_cv_func_$ac_func=yes"
15554 echo "configure: failed program was:" >&5
15555 cat conftest.$ac_ext >&5
15557 eval "ac_cv_func_$ac_func=no"
15562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15563 echo "$ac_t""yes" 1>&6
15564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15565 cat >> confdefs.h <<EOF
15566 #define $ac_tr_func 1
15570 echo "$ac_t""no" 1>&6
15579 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
15580 echo "configure:15581: checking for fabsl declaration" >&5
15581 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
15582 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
15583 echo $ac_n "(cached) $ac_c" 1>&6
15588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15592 cross_compiling=$ac_cv_prog_cxx_cross
15594 cat > conftest.$ac_ext <<EOF
15595 #line 15596 "configure"
15596 #include "confdefs.h"
15598 #ifdef HAVE_IEEEFP_H
15599 #include <ieeefp.h>
15606 if { (eval echo configure:15607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15608 glibcpp_cv_func_fabsl_use=yes
15610 echo "configure: failed program was:" >&5
15611 cat conftest.$ac_ext >&5
15613 glibcpp_cv_func_fabsl_use=no
15617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15621 cross_compiling=$ac_cv_prog_cc_cross
15627 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
15629 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
15630 for ac_func in fabsl
15632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15633 echo "configure:15634: checking for $ac_func" >&5
15634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15635 echo $ac_n "(cached) $ac_c" 1>&6
15637 cat > conftest.$ac_ext <<EOF
15638 #line 15639 "configure"
15639 #include "confdefs.h"
15640 /* System header to define __stub macros and hopefully few prototypes,
15641 which can conflict with char $ac_func(); below. */
15642 #include <assert.h>
15643 /* Override any gcc2 internal prototype to avoid an error. */
15644 /* We use char because int might match the return type of a gcc2
15645 builtin and then its argument prototype would still apply. */
15650 /* The GNU C library defines this for functions which it implements
15651 to always fail with ENOSYS. Some functions are actually named
15652 something starting with __ and the normal name is an alias. */
15653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15661 if { (eval echo configure:15662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15663 eval "ac_cv_func_$ac_func=yes"
15665 echo "configure: failed program was:" >&5
15666 cat conftest.$ac_ext >&5
15668 eval "ac_cv_func_$ac_func=no"
15673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15674 echo "$ac_t""yes" 1>&6
15675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15676 cat >> confdefs.h <<EOF
15677 #define $ac_tr_func 1
15681 echo "$ac_t""no" 1>&6
15687 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15688 echo "configure:15689: checking for _fabsl declaration" >&5
15689 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
15690 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15691 echo $ac_n "(cached) $ac_c" 1>&6
15696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15697 ac_cpp='$CXXCPP $CPPFLAGS'
15698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15700 cross_compiling=$ac_cv_prog_cxx_cross
15702 cat > conftest.$ac_ext <<EOF
15703 #line 15704 "configure"
15704 #include "confdefs.h"
15706 #ifdef HAVE_IEEEFP_H
15707 #include <ieeefp.h>
15714 if { (eval echo configure:15715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15716 glibcpp_cv_func__fabsl_use=yes
15718 echo "configure: failed program was:" >&5
15719 cat conftest.$ac_ext >&5
15721 glibcpp_cv_func__fabsl_use=no
15725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15726 ac_cpp='$CPP $CPPFLAGS'
15727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15729 cross_compiling=$ac_cv_prog_cc_cross
15735 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15737 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15738 for ac_func in _fabsl
15740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15741 echo "configure:15742: checking for $ac_func" >&5
15742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15743 echo $ac_n "(cached) $ac_c" 1>&6
15745 cat > conftest.$ac_ext <<EOF
15746 #line 15747 "configure"
15747 #include "confdefs.h"
15748 /* System header to define __stub macros and hopefully few prototypes,
15749 which can conflict with char $ac_func(); below. */
15750 #include <assert.h>
15751 /* Override any gcc2 internal prototype to avoid an error. */
15752 /* We use char because int might match the return type of a gcc2
15753 builtin and then its argument prototype would still apply. */
15758 /* The GNU C library defines this for functions which it implements
15759 to always fail with ENOSYS. Some functions are actually named
15760 something starting with __ and the normal name is an alias. */
15761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15769 if { (eval echo configure:15770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15771 eval "ac_cv_func_$ac_func=yes"
15773 echo "configure: failed program was:" >&5
15774 cat conftest.$ac_ext >&5
15776 eval "ac_cv_func_$ac_func=no"
15781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15782 echo "$ac_t""yes" 1>&6
15783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15784 cat >> confdefs.h <<EOF
15785 #define $ac_tr_func 1
15789 echo "$ac_t""no" 1>&6
15798 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
15799 echo "configure:15800: checking for fmodl declaration" >&5
15800 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
15801 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
15802 echo $ac_n "(cached) $ac_c" 1>&6
15807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15808 ac_cpp='$CXXCPP $CPPFLAGS'
15809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15811 cross_compiling=$ac_cv_prog_cxx_cross
15813 cat > conftest.$ac_ext <<EOF
15814 #line 15815 "configure"
15815 #include "confdefs.h"
15821 if { (eval echo configure:15822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15823 glibcpp_cv_func_fmodl_use=yes
15825 echo "configure: failed program was:" >&5
15826 cat conftest.$ac_ext >&5
15828 glibcpp_cv_func_fmodl_use=no
15832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15836 cross_compiling=$ac_cv_prog_cc_cross
15842 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
15844 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
15845 for ac_func in fmodl
15847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15848 echo "configure:15849: checking for $ac_func" >&5
15849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15850 echo $ac_n "(cached) $ac_c" 1>&6
15852 cat > conftest.$ac_ext <<EOF
15853 #line 15854 "configure"
15854 #include "confdefs.h"
15855 /* System header to define __stub macros and hopefully few prototypes,
15856 which can conflict with char $ac_func(); below. */
15857 #include <assert.h>
15858 /* Override any gcc2 internal prototype to avoid an error. */
15859 /* We use char because int might match the return type of a gcc2
15860 builtin and then its argument prototype would still apply. */
15865 /* The GNU C library defines this for functions which it implements
15866 to always fail with ENOSYS. Some functions are actually named
15867 something starting with __ and the normal name is an alias. */
15868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15876 if { (eval echo configure:15877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15878 eval "ac_cv_func_$ac_func=yes"
15880 echo "configure: failed program was:" >&5
15881 cat conftest.$ac_ext >&5
15883 eval "ac_cv_func_$ac_func=no"
15888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15889 echo "$ac_t""yes" 1>&6
15890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15891 cat >> confdefs.h <<EOF
15892 #define $ac_tr_func 1
15896 echo "$ac_t""no" 1>&6
15902 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15903 echo "configure:15904: checking for _fmodl declaration" >&5
15904 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
15905 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15906 echo $ac_n "(cached) $ac_c" 1>&6
15911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15912 ac_cpp='$CXXCPP $CPPFLAGS'
15913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15915 cross_compiling=$ac_cv_prog_cxx_cross
15917 cat > conftest.$ac_ext <<EOF
15918 #line 15919 "configure"
15919 #include "confdefs.h"
15925 if { (eval echo configure:15926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15927 glibcpp_cv_func__fmodl_use=yes
15929 echo "configure: failed program was:" >&5
15930 cat conftest.$ac_ext >&5
15932 glibcpp_cv_func__fmodl_use=no
15936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15937 ac_cpp='$CPP $CPPFLAGS'
15938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15940 cross_compiling=$ac_cv_prog_cc_cross
15946 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15948 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15949 for ac_func in _fmodl
15951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15952 echo "configure:15953: checking for $ac_func" >&5
15953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15954 echo $ac_n "(cached) $ac_c" 1>&6
15956 cat > conftest.$ac_ext <<EOF
15957 #line 15958 "configure"
15958 #include "confdefs.h"
15959 /* System header to define __stub macros and hopefully few prototypes,
15960 which can conflict with char $ac_func(); below. */
15961 #include <assert.h>
15962 /* Override any gcc2 internal prototype to avoid an error. */
15963 /* We use char because int might match the return type of a gcc2
15964 builtin and then its argument prototype would still apply. */
15969 /* The GNU C library defines this for functions which it implements
15970 to always fail with ENOSYS. Some functions are actually named
15971 something starting with __ and the normal name is an alias. */
15972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15980 if { (eval echo configure:15981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15982 eval "ac_cv_func_$ac_func=yes"
15984 echo "configure: failed program was:" >&5
15985 cat conftest.$ac_ext >&5
15987 eval "ac_cv_func_$ac_func=no"
15992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15993 echo "$ac_t""yes" 1>&6
15994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15995 cat >> confdefs.h <<EOF
15996 #define $ac_tr_func 1
16000 echo "$ac_t""no" 1>&6
16009 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
16010 echo "configure:16011: checking for frexpl declaration" >&5
16011 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16012 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16013 echo $ac_n "(cached) $ac_c" 1>&6
16018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16019 ac_cpp='$CXXCPP $CPPFLAGS'
16020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16022 cross_compiling=$ac_cv_prog_cxx_cross
16024 cat > conftest.$ac_ext <<EOF
16025 #line 16026 "configure"
16026 #include "confdefs.h"
16032 if { (eval echo configure:16033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16034 glibcpp_cv_func_frexpl_use=yes
16036 echo "configure: failed program was:" >&5
16037 cat conftest.$ac_ext >&5
16039 glibcpp_cv_func_frexpl_use=no
16043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16047 cross_compiling=$ac_cv_prog_cc_cross
16053 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16055 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16056 for ac_func in frexpl
16058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16059 echo "configure:16060: checking for $ac_func" >&5
16060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16061 echo $ac_n "(cached) $ac_c" 1>&6
16063 cat > conftest.$ac_ext <<EOF
16064 #line 16065 "configure"
16065 #include "confdefs.h"
16066 /* System header to define __stub macros and hopefully few prototypes,
16067 which can conflict with char $ac_func(); below. */
16068 #include <assert.h>
16069 /* Override any gcc2 internal prototype to avoid an error. */
16070 /* We use char because int might match the return type of a gcc2
16071 builtin and then its argument prototype would still apply. */
16076 /* The GNU C library defines this for functions which it implements
16077 to always fail with ENOSYS. Some functions are actually named
16078 something starting with __ and the normal name is an alias. */
16079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16087 if { (eval echo configure:16088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16089 eval "ac_cv_func_$ac_func=yes"
16091 echo "configure: failed program was:" >&5
16092 cat conftest.$ac_ext >&5
16094 eval "ac_cv_func_$ac_func=no"
16099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16100 echo "$ac_t""yes" 1>&6
16101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16102 cat >> confdefs.h <<EOF
16103 #define $ac_tr_func 1
16107 echo "$ac_t""no" 1>&6
16113 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16114 echo "configure:16115: checking for _frexpl declaration" >&5
16115 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16116 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16117 echo $ac_n "(cached) $ac_c" 1>&6
16122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16126 cross_compiling=$ac_cv_prog_cxx_cross
16128 cat > conftest.$ac_ext <<EOF
16129 #line 16130 "configure"
16130 #include "confdefs.h"
16136 if { (eval echo configure:16137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16138 glibcpp_cv_func__frexpl_use=yes
16140 echo "configure: failed program was:" >&5
16141 cat conftest.$ac_ext >&5
16143 glibcpp_cv_func__frexpl_use=no
16147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16148 ac_cpp='$CPP $CPPFLAGS'
16149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16151 cross_compiling=$ac_cv_prog_cc_cross
16157 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
16159 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
16160 for ac_func in _frexpl
16162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16163 echo "configure:16164: checking for $ac_func" >&5
16164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16165 echo $ac_n "(cached) $ac_c" 1>&6
16167 cat > conftest.$ac_ext <<EOF
16168 #line 16169 "configure"
16169 #include "confdefs.h"
16170 /* System header to define __stub macros and hopefully few prototypes,
16171 which can conflict with char $ac_func(); below. */
16172 #include <assert.h>
16173 /* Override any gcc2 internal prototype to avoid an error. */
16174 /* We use char because int might match the return type of a gcc2
16175 builtin and then its argument prototype would still apply. */
16180 /* The GNU C library defines this for functions which it implements
16181 to always fail with ENOSYS. Some functions are actually named
16182 something starting with __ and the normal name is an alias. */
16183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16191 if { (eval echo configure:16192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16193 eval "ac_cv_func_$ac_func=yes"
16195 echo "configure: failed program was:" >&5
16196 cat conftest.$ac_ext >&5
16198 eval "ac_cv_func_$ac_func=no"
16203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16204 echo "$ac_t""yes" 1>&6
16205 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16206 cat >> confdefs.h <<EOF
16207 #define $ac_tr_func 1
16211 echo "$ac_t""no" 1>&6
16220 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
16221 echo "configure:16222: checking for hypotl declaration" >&5
16222 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
16223 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
16224 echo $ac_n "(cached) $ac_c" 1>&6
16229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16230 ac_cpp='$CXXCPP $CPPFLAGS'
16231 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16232 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16233 cross_compiling=$ac_cv_prog_cxx_cross
16235 cat > conftest.$ac_ext <<EOF
16236 #line 16237 "configure"
16237 #include "confdefs.h"
16243 if { (eval echo configure:16244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16245 glibcpp_cv_func_hypotl_use=yes
16247 echo "configure: failed program was:" >&5
16248 cat conftest.$ac_ext >&5
16250 glibcpp_cv_func_hypotl_use=no
16254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16255 ac_cpp='$CPP $CPPFLAGS'
16256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16258 cross_compiling=$ac_cv_prog_cc_cross
16264 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
16266 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
16267 for ac_func in hypotl
16269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16270 echo "configure:16271: checking for $ac_func" >&5
16271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16272 echo $ac_n "(cached) $ac_c" 1>&6
16274 cat > conftest.$ac_ext <<EOF
16275 #line 16276 "configure"
16276 #include "confdefs.h"
16277 /* System header to define __stub macros and hopefully few prototypes,
16278 which can conflict with char $ac_func(); below. */
16279 #include <assert.h>
16280 /* Override any gcc2 internal prototype to avoid an error. */
16281 /* We use char because int might match the return type of a gcc2
16282 builtin and then its argument prototype would still apply. */
16287 /* The GNU C library defines this for functions which it implements
16288 to always fail with ENOSYS. Some functions are actually named
16289 something starting with __ and the normal name is an alias. */
16290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16298 if { (eval echo configure:16299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16300 eval "ac_cv_func_$ac_func=yes"
16302 echo "configure: failed program was:" >&5
16303 cat conftest.$ac_ext >&5
16305 eval "ac_cv_func_$ac_func=no"
16310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16311 echo "$ac_t""yes" 1>&6
16312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16313 cat >> confdefs.h <<EOF
16314 #define $ac_tr_func 1
16318 echo "$ac_t""no" 1>&6
16324 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
16325 echo "configure:16326: checking for _hypotl declaration" >&5
16326 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
16327 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
16328 echo $ac_n "(cached) $ac_c" 1>&6
16333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16334 ac_cpp='$CXXCPP $CPPFLAGS'
16335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16337 cross_compiling=$ac_cv_prog_cxx_cross
16339 cat > conftest.$ac_ext <<EOF
16340 #line 16341 "configure"
16341 #include "confdefs.h"
16347 if { (eval echo configure:16348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16349 glibcpp_cv_func__hypotl_use=yes
16351 echo "configure: failed program was:" >&5
16352 cat conftest.$ac_ext >&5
16354 glibcpp_cv_func__hypotl_use=no
16358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16362 cross_compiling=$ac_cv_prog_cc_cross
16368 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
16370 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
16371 for ac_func in _hypotl
16373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16374 echo "configure:16375: checking for $ac_func" >&5
16375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16376 echo $ac_n "(cached) $ac_c" 1>&6
16378 cat > conftest.$ac_ext <<EOF
16379 #line 16380 "configure"
16380 #include "confdefs.h"
16381 /* System header to define __stub macros and hopefully few prototypes,
16382 which can conflict with char $ac_func(); below. */
16383 #include <assert.h>
16384 /* Override any gcc2 internal prototype to avoid an error. */
16385 /* We use char because int might match the return type of a gcc2
16386 builtin and then its argument prototype would still apply. */
16391 /* The GNU C library defines this for functions which it implements
16392 to always fail with ENOSYS. Some functions are actually named
16393 something starting with __ and the normal name is an alias. */
16394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16402 if { (eval echo configure:16403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16404 eval "ac_cv_func_$ac_func=yes"
16406 echo "configure: failed program was:" >&5
16407 cat conftest.$ac_ext >&5
16409 eval "ac_cv_func_$ac_func=no"
16414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16415 echo "$ac_t""yes" 1>&6
16416 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16417 cat >> confdefs.h <<EOF
16418 #define $ac_tr_func 1
16422 echo "$ac_t""no" 1>&6
16431 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
16432 echo "configure:16433: checking for ldexpl declaration" >&5
16433 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
16434 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
16435 echo $ac_n "(cached) $ac_c" 1>&6
16440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16441 ac_cpp='$CXXCPP $CPPFLAGS'
16442 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16443 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16444 cross_compiling=$ac_cv_prog_cxx_cross
16446 cat > conftest.$ac_ext <<EOF
16447 #line 16448 "configure"
16448 #include "confdefs.h"
16454 if { (eval echo configure:16455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16456 glibcpp_cv_func_ldexpl_use=yes
16458 echo "configure: failed program was:" >&5
16459 cat conftest.$ac_ext >&5
16461 glibcpp_cv_func_ldexpl_use=no
16465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16466 ac_cpp='$CPP $CPPFLAGS'
16467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16469 cross_compiling=$ac_cv_prog_cc_cross
16475 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
16477 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
16478 for ac_func in ldexpl
16480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16481 echo "configure:16482: checking for $ac_func" >&5
16482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16483 echo $ac_n "(cached) $ac_c" 1>&6
16485 cat > conftest.$ac_ext <<EOF
16486 #line 16487 "configure"
16487 #include "confdefs.h"
16488 /* System header to define __stub macros and hopefully few prototypes,
16489 which can conflict with char $ac_func(); below. */
16490 #include <assert.h>
16491 /* Override any gcc2 internal prototype to avoid an error. */
16492 /* We use char because int might match the return type of a gcc2
16493 builtin and then its argument prototype would still apply. */
16498 /* The GNU C library defines this for functions which it implements
16499 to always fail with ENOSYS. Some functions are actually named
16500 something starting with __ and the normal name is an alias. */
16501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16509 if { (eval echo configure:16510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16511 eval "ac_cv_func_$ac_func=yes"
16513 echo "configure: failed program was:" >&5
16514 cat conftest.$ac_ext >&5
16516 eval "ac_cv_func_$ac_func=no"
16521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16522 echo "$ac_t""yes" 1>&6
16523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16524 cat >> confdefs.h <<EOF
16525 #define $ac_tr_func 1
16529 echo "$ac_t""no" 1>&6
16535 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
16536 echo "configure:16537: checking for _ldexpl declaration" >&5
16537 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
16538 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
16539 echo $ac_n "(cached) $ac_c" 1>&6
16544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16545 ac_cpp='$CXXCPP $CPPFLAGS'
16546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16548 cross_compiling=$ac_cv_prog_cxx_cross
16550 cat > conftest.$ac_ext <<EOF
16551 #line 16552 "configure"
16552 #include "confdefs.h"
16558 if { (eval echo configure:16559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16560 glibcpp_cv_func__ldexpl_use=yes
16562 echo "configure: failed program was:" >&5
16563 cat conftest.$ac_ext >&5
16565 glibcpp_cv_func__ldexpl_use=no
16569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16570 ac_cpp='$CPP $CPPFLAGS'
16571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16573 cross_compiling=$ac_cv_prog_cc_cross
16579 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
16581 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
16582 for ac_func in _ldexpl
16584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16585 echo "configure:16586: checking for $ac_func" >&5
16586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16587 echo $ac_n "(cached) $ac_c" 1>&6
16589 cat > conftest.$ac_ext <<EOF
16590 #line 16591 "configure"
16591 #include "confdefs.h"
16592 /* System header to define __stub macros and hopefully few prototypes,
16593 which can conflict with char $ac_func(); below. */
16594 #include <assert.h>
16595 /* Override any gcc2 internal prototype to avoid an error. */
16596 /* We use char because int might match the return type of a gcc2
16597 builtin and then its argument prototype would still apply. */
16602 /* The GNU C library defines this for functions which it implements
16603 to always fail with ENOSYS. Some functions are actually named
16604 something starting with __ and the normal name is an alias. */
16605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16613 if { (eval echo configure:16614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16615 eval "ac_cv_func_$ac_func=yes"
16617 echo "configure: failed program was:" >&5
16618 cat conftest.$ac_ext >&5
16620 eval "ac_cv_func_$ac_func=no"
16625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16626 echo "$ac_t""yes" 1>&6
16627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16628 cat >> confdefs.h <<EOF
16629 #define $ac_tr_func 1
16633 echo "$ac_t""no" 1>&6
16642 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
16643 echo "configure:16644: checking for logl declaration" >&5
16644 if test x${glibcpp_cv_func_logl_use+set} != xset; then
16645 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
16646 echo $ac_n "(cached) $ac_c" 1>&6
16651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16652 ac_cpp='$CXXCPP $CPPFLAGS'
16653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16655 cross_compiling=$ac_cv_prog_cxx_cross
16657 cat > conftest.$ac_ext <<EOF
16658 #line 16659 "configure"
16659 #include "confdefs.h"
16661 #ifdef HAVE_IEEEFP_H
16662 #include <ieeefp.h>
16669 if { (eval echo configure:16670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16671 glibcpp_cv_func_logl_use=yes
16673 echo "configure: failed program was:" >&5
16674 cat conftest.$ac_ext >&5
16676 glibcpp_cv_func_logl_use=no
16680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16681 ac_cpp='$CPP $CPPFLAGS'
16682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16684 cross_compiling=$ac_cv_prog_cc_cross
16690 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
16692 if test x$glibcpp_cv_func_logl_use = x"yes"; then
16693 for ac_func in logl
16695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16696 echo "configure:16697: checking for $ac_func" >&5
16697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16698 echo $ac_n "(cached) $ac_c" 1>&6
16700 cat > conftest.$ac_ext <<EOF
16701 #line 16702 "configure"
16702 #include "confdefs.h"
16703 /* System header to define __stub macros and hopefully few prototypes,
16704 which can conflict with char $ac_func(); below. */
16705 #include <assert.h>
16706 /* Override any gcc2 internal prototype to avoid an error. */
16707 /* We use char because int might match the return type of a gcc2
16708 builtin and then its argument prototype would still apply. */
16713 /* The GNU C library defines this for functions which it implements
16714 to always fail with ENOSYS. Some functions are actually named
16715 something starting with __ and the normal name is an alias. */
16716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16724 if { (eval echo configure:16725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16726 eval "ac_cv_func_$ac_func=yes"
16728 echo "configure: failed program was:" >&5
16729 cat conftest.$ac_ext >&5
16731 eval "ac_cv_func_$ac_func=no"
16736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16737 echo "$ac_t""yes" 1>&6
16738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16739 cat >> confdefs.h <<EOF
16740 #define $ac_tr_func 1
16744 echo "$ac_t""no" 1>&6
16750 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
16751 echo "configure:16752: checking for _logl declaration" >&5
16752 if test x${glibcpp_cv_func__logl_use+set} != xset; then
16753 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
16754 echo $ac_n "(cached) $ac_c" 1>&6
16759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16760 ac_cpp='$CXXCPP $CPPFLAGS'
16761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16763 cross_compiling=$ac_cv_prog_cxx_cross
16765 cat > conftest.$ac_ext <<EOF
16766 #line 16767 "configure"
16767 #include "confdefs.h"
16769 #ifdef HAVE_IEEEFP_H
16770 #include <ieeefp.h>
16777 if { (eval echo configure:16778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16779 glibcpp_cv_func__logl_use=yes
16781 echo "configure: failed program was:" >&5
16782 cat conftest.$ac_ext >&5
16784 glibcpp_cv_func__logl_use=no
16788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16789 ac_cpp='$CPP $CPPFLAGS'
16790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16792 cross_compiling=$ac_cv_prog_cc_cross
16798 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16800 if test x$glibcpp_cv_func__logl_use = x"yes"; then
16801 for ac_func in _logl
16803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16804 echo "configure:16805: checking for $ac_func" >&5
16805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16806 echo $ac_n "(cached) $ac_c" 1>&6
16808 cat > conftest.$ac_ext <<EOF
16809 #line 16810 "configure"
16810 #include "confdefs.h"
16811 /* System header to define __stub macros and hopefully few prototypes,
16812 which can conflict with char $ac_func(); below. */
16813 #include <assert.h>
16814 /* Override any gcc2 internal prototype to avoid an error. */
16815 /* We use char because int might match the return type of a gcc2
16816 builtin and then its argument prototype would still apply. */
16821 /* The GNU C library defines this for functions which it implements
16822 to always fail with ENOSYS. Some functions are actually named
16823 something starting with __ and the normal name is an alias. */
16824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16832 if { (eval echo configure:16833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16834 eval "ac_cv_func_$ac_func=yes"
16836 echo "configure: failed program was:" >&5
16837 cat conftest.$ac_ext >&5
16839 eval "ac_cv_func_$ac_func=no"
16844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16845 echo "$ac_t""yes" 1>&6
16846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16847 cat >> confdefs.h <<EOF
16848 #define $ac_tr_func 1
16852 echo "$ac_t""no" 1>&6
16861 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
16862 echo "configure:16863: checking for log10l declaration" >&5
16863 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
16864 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
16865 echo $ac_n "(cached) $ac_c" 1>&6
16870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16871 ac_cpp='$CXXCPP $CPPFLAGS'
16872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16874 cross_compiling=$ac_cv_prog_cxx_cross
16876 cat > conftest.$ac_ext <<EOF
16877 #line 16878 "configure"
16878 #include "confdefs.h"
16880 #ifdef HAVE_IEEEFP_H
16881 #include <ieeefp.h>
16888 if { (eval echo configure:16889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16890 glibcpp_cv_func_log10l_use=yes
16892 echo "configure: failed program was:" >&5
16893 cat conftest.$ac_ext >&5
16895 glibcpp_cv_func_log10l_use=no
16899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16900 ac_cpp='$CPP $CPPFLAGS'
16901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16903 cross_compiling=$ac_cv_prog_cc_cross
16909 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
16911 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
16912 for ac_func in log10l
16914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16915 echo "configure:16916: checking for $ac_func" >&5
16916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16917 echo $ac_n "(cached) $ac_c" 1>&6
16919 cat > conftest.$ac_ext <<EOF
16920 #line 16921 "configure"
16921 #include "confdefs.h"
16922 /* System header to define __stub macros and hopefully few prototypes,
16923 which can conflict with char $ac_func(); below. */
16924 #include <assert.h>
16925 /* Override any gcc2 internal prototype to avoid an error. */
16926 /* We use char because int might match the return type of a gcc2
16927 builtin and then its argument prototype would still apply. */
16932 /* The GNU C library defines this for functions which it implements
16933 to always fail with ENOSYS. Some functions are actually named
16934 something starting with __ and the normal name is an alias. */
16935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16943 if { (eval echo configure:16944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16945 eval "ac_cv_func_$ac_func=yes"
16947 echo "configure: failed program was:" >&5
16948 cat conftest.$ac_ext >&5
16950 eval "ac_cv_func_$ac_func=no"
16955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16956 echo "$ac_t""yes" 1>&6
16957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16958 cat >> confdefs.h <<EOF
16959 #define $ac_tr_func 1
16963 echo "$ac_t""no" 1>&6
16969 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16970 echo "configure:16971: checking for _log10l declaration" >&5
16971 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16972 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16973 echo $ac_n "(cached) $ac_c" 1>&6
16978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16979 ac_cpp='$CXXCPP $CPPFLAGS'
16980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16982 cross_compiling=$ac_cv_prog_cxx_cross
16984 cat > conftest.$ac_ext <<EOF
16985 #line 16986 "configure"
16986 #include "confdefs.h"
16988 #ifdef HAVE_IEEEFP_H
16989 #include <ieeefp.h>
16996 if { (eval echo configure:16997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16998 glibcpp_cv_func__log10l_use=yes
17000 echo "configure: failed program was:" >&5
17001 cat conftest.$ac_ext >&5
17003 glibcpp_cv_func__log10l_use=no
17007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17008 ac_cpp='$CPP $CPPFLAGS'
17009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17011 cross_compiling=$ac_cv_prog_cc_cross
17017 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17019 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17020 for ac_func in _log10l
17022 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17023 echo "configure:17024: checking for $ac_func" >&5
17024 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17025 echo $ac_n "(cached) $ac_c" 1>&6
17027 cat > conftest.$ac_ext <<EOF
17028 #line 17029 "configure"
17029 #include "confdefs.h"
17030 /* System header to define __stub macros and hopefully few prototypes,
17031 which can conflict with char $ac_func(); below. */
17032 #include <assert.h>
17033 /* Override any gcc2 internal prototype to avoid an error. */
17034 /* We use char because int might match the return type of a gcc2
17035 builtin and then its argument prototype would still apply. */
17040 /* The GNU C library defines this for functions which it implements
17041 to always fail with ENOSYS. Some functions are actually named
17042 something starting with __ and the normal name is an alias. */
17043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17051 if { (eval echo configure:17052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17053 eval "ac_cv_func_$ac_func=yes"
17055 echo "configure: failed program was:" >&5
17056 cat conftest.$ac_ext >&5
17058 eval "ac_cv_func_$ac_func=no"
17063 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17064 echo "$ac_t""yes" 1>&6
17065 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17066 cat >> confdefs.h <<EOF
17067 #define $ac_tr_func 1
17071 echo "$ac_t""no" 1>&6
17080 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17081 echo "configure:17082: checking for modfl declaration" >&5
17082 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17083 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17084 echo $ac_n "(cached) $ac_c" 1>&6
17089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17090 ac_cpp='$CXXCPP $CPPFLAGS'
17091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17093 cross_compiling=$ac_cv_prog_cxx_cross
17095 cat > conftest.$ac_ext <<EOF
17096 #line 17097 "configure"
17097 #include "confdefs.h"
17103 if { (eval echo configure:17104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17105 glibcpp_cv_func_modfl_use=yes
17107 echo "configure: failed program was:" >&5
17108 cat conftest.$ac_ext >&5
17110 glibcpp_cv_func_modfl_use=no
17114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17115 ac_cpp='$CPP $CPPFLAGS'
17116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17118 cross_compiling=$ac_cv_prog_cc_cross
17124 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17126 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17127 for ac_func in modfl
17129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17130 echo "configure:17131: checking for $ac_func" >&5
17131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17132 echo $ac_n "(cached) $ac_c" 1>&6
17134 cat > conftest.$ac_ext <<EOF
17135 #line 17136 "configure"
17136 #include "confdefs.h"
17137 /* System header to define __stub macros and hopefully few prototypes,
17138 which can conflict with char $ac_func(); below. */
17139 #include <assert.h>
17140 /* Override any gcc2 internal prototype to avoid an error. */
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17147 /* The GNU C library defines this for functions which it implements
17148 to always fail with ENOSYS. Some functions are actually named
17149 something starting with __ and the normal name is an alias. */
17150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17158 if { (eval echo configure:17159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17160 eval "ac_cv_func_$ac_func=yes"
17162 echo "configure: failed program was:" >&5
17163 cat conftest.$ac_ext >&5
17165 eval "ac_cv_func_$ac_func=no"
17170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17171 echo "$ac_t""yes" 1>&6
17172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17173 cat >> confdefs.h <<EOF
17174 #define $ac_tr_func 1
17178 echo "$ac_t""no" 1>&6
17184 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
17185 echo "configure:17186: checking for _modfl declaration" >&5
17186 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
17187 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
17188 echo $ac_n "(cached) $ac_c" 1>&6
17193 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17194 ac_cpp='$CXXCPP $CPPFLAGS'
17195 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17196 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17197 cross_compiling=$ac_cv_prog_cxx_cross
17199 cat > conftest.$ac_ext <<EOF
17200 #line 17201 "configure"
17201 #include "confdefs.h"
17207 if { (eval echo configure:17208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17209 glibcpp_cv_func__modfl_use=yes
17211 echo "configure: failed program was:" >&5
17212 cat conftest.$ac_ext >&5
17214 glibcpp_cv_func__modfl_use=no
17218 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17219 ac_cpp='$CPP $CPPFLAGS'
17220 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17221 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17222 cross_compiling=$ac_cv_prog_cc_cross
17228 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
17230 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
17231 for ac_func in _modfl
17233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17234 echo "configure:17235: checking for $ac_func" >&5
17235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17236 echo $ac_n "(cached) $ac_c" 1>&6
17238 cat > conftest.$ac_ext <<EOF
17239 #line 17240 "configure"
17240 #include "confdefs.h"
17241 /* System header to define __stub macros and hopefully few prototypes,
17242 which can conflict with char $ac_func(); below. */
17243 #include <assert.h>
17244 /* Override any gcc2 internal prototype to avoid an error. */
17245 /* We use char because int might match the return type of a gcc2
17246 builtin and then its argument prototype would still apply. */
17251 /* The GNU C library defines this for functions which it implements
17252 to always fail with ENOSYS. Some functions are actually named
17253 something starting with __ and the normal name is an alias. */
17254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17262 if { (eval echo configure:17263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17264 eval "ac_cv_func_$ac_func=yes"
17266 echo "configure: failed program was:" >&5
17267 cat conftest.$ac_ext >&5
17269 eval "ac_cv_func_$ac_func=no"
17274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17275 echo "$ac_t""yes" 1>&6
17276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17277 cat >> confdefs.h <<EOF
17278 #define $ac_tr_func 1
17282 echo "$ac_t""no" 1>&6
17291 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
17292 echo "configure:17293: checking for powl declaration" >&5
17293 if test x${glibcpp_cv_func_powl_use+set} != xset; then
17294 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
17295 echo $ac_n "(cached) $ac_c" 1>&6
17300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17301 ac_cpp='$CXXCPP $CPPFLAGS'
17302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17304 cross_compiling=$ac_cv_prog_cxx_cross
17306 cat > conftest.$ac_ext <<EOF
17307 #line 17308 "configure"
17308 #include "confdefs.h"
17314 if { (eval echo configure:17315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17316 glibcpp_cv_func_powl_use=yes
17318 echo "configure: failed program was:" >&5
17319 cat conftest.$ac_ext >&5
17321 glibcpp_cv_func_powl_use=no
17325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17328 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17329 cross_compiling=$ac_cv_prog_cc_cross
17335 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
17337 if test x$glibcpp_cv_func_powl_use = x"yes"; then
17338 for ac_func in powl
17340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17341 echo "configure:17342: checking for $ac_func" >&5
17342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17343 echo $ac_n "(cached) $ac_c" 1>&6
17345 cat > conftest.$ac_ext <<EOF
17346 #line 17347 "configure"
17347 #include "confdefs.h"
17348 /* System header to define __stub macros and hopefully few prototypes,
17349 which can conflict with char $ac_func(); below. */
17350 #include <assert.h>
17351 /* Override any gcc2 internal prototype to avoid an error. */
17352 /* We use char because int might match the return type of a gcc2
17353 builtin and then its argument prototype would still apply. */
17358 /* The GNU C library defines this for functions which it implements
17359 to always fail with ENOSYS. Some functions are actually named
17360 something starting with __ and the normal name is an alias. */
17361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17369 if { (eval echo configure:17370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17371 eval "ac_cv_func_$ac_func=yes"
17373 echo "configure: failed program was:" >&5
17374 cat conftest.$ac_ext >&5
17376 eval "ac_cv_func_$ac_func=no"
17381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17382 echo "$ac_t""yes" 1>&6
17383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17384 cat >> confdefs.h <<EOF
17385 #define $ac_tr_func 1
17389 echo "$ac_t""no" 1>&6
17395 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
17396 echo "configure:17397: checking for _powl declaration" >&5
17397 if test x${glibcpp_cv_func__powl_use+set} != xset; then
17398 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
17399 echo $ac_n "(cached) $ac_c" 1>&6
17404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17405 ac_cpp='$CXXCPP $CPPFLAGS'
17406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17408 cross_compiling=$ac_cv_prog_cxx_cross
17410 cat > conftest.$ac_ext <<EOF
17411 #line 17412 "configure"
17412 #include "confdefs.h"
17418 if { (eval echo configure:17419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17420 glibcpp_cv_func__powl_use=yes
17422 echo "configure: failed program was:" >&5
17423 cat conftest.$ac_ext >&5
17425 glibcpp_cv_func__powl_use=no
17429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17430 ac_cpp='$CPP $CPPFLAGS'
17431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17433 cross_compiling=$ac_cv_prog_cc_cross
17439 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
17441 if test x$glibcpp_cv_func__powl_use = x"yes"; then
17442 for ac_func in _powl
17444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17445 echo "configure:17446: checking for $ac_func" >&5
17446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17447 echo $ac_n "(cached) $ac_c" 1>&6
17449 cat > conftest.$ac_ext <<EOF
17450 #line 17451 "configure"
17451 #include "confdefs.h"
17452 /* System header to define __stub macros and hopefully few prototypes,
17453 which can conflict with char $ac_func(); below. */
17454 #include <assert.h>
17455 /* Override any gcc2 internal prototype to avoid an error. */
17456 /* We use char because int might match the return type of a gcc2
17457 builtin and then its argument prototype would still apply. */
17462 /* The GNU C library defines this for functions which it implements
17463 to always fail with ENOSYS. Some functions are actually named
17464 something starting with __ and the normal name is an alias. */
17465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17473 if { (eval echo configure:17474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17475 eval "ac_cv_func_$ac_func=yes"
17477 echo "configure: failed program was:" >&5
17478 cat conftest.$ac_ext >&5
17480 eval "ac_cv_func_$ac_func=no"
17485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17486 echo "$ac_t""yes" 1>&6
17487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17488 cat >> confdefs.h <<EOF
17489 #define $ac_tr_func 1
17493 echo "$ac_t""no" 1>&6
17502 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
17503 echo "configure:17504: checking for sqrtl declaration" >&5
17504 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
17505 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
17506 echo $ac_n "(cached) $ac_c" 1>&6
17511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17512 ac_cpp='$CXXCPP $CPPFLAGS'
17513 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17514 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17515 cross_compiling=$ac_cv_prog_cxx_cross
17517 cat > conftest.$ac_ext <<EOF
17518 #line 17519 "configure"
17519 #include "confdefs.h"
17521 #ifdef HAVE_IEEEFP_H
17522 #include <ieeefp.h>
17529 if { (eval echo configure:17530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17531 glibcpp_cv_func_sqrtl_use=yes
17533 echo "configure: failed program was:" >&5
17534 cat conftest.$ac_ext >&5
17536 glibcpp_cv_func_sqrtl_use=no
17540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17544 cross_compiling=$ac_cv_prog_cc_cross
17550 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
17552 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
17553 for ac_func in sqrtl
17555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17556 echo "configure:17557: checking for $ac_func" >&5
17557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17558 echo $ac_n "(cached) $ac_c" 1>&6
17560 cat > conftest.$ac_ext <<EOF
17561 #line 17562 "configure"
17562 #include "confdefs.h"
17563 /* System header to define __stub macros and hopefully few prototypes,
17564 which can conflict with char $ac_func(); below. */
17565 #include <assert.h>
17566 /* Override any gcc2 internal prototype to avoid an error. */
17567 /* We use char because int might match the return type of a gcc2
17568 builtin and then its argument prototype would still apply. */
17573 /* The GNU C library defines this for functions which it implements
17574 to always fail with ENOSYS. Some functions are actually named
17575 something starting with __ and the normal name is an alias. */
17576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17584 if { (eval echo configure:17585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17586 eval "ac_cv_func_$ac_func=yes"
17588 echo "configure: failed program was:" >&5
17589 cat conftest.$ac_ext >&5
17591 eval "ac_cv_func_$ac_func=no"
17596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17597 echo "$ac_t""yes" 1>&6
17598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17599 cat >> confdefs.h <<EOF
17600 #define $ac_tr_func 1
17604 echo "$ac_t""no" 1>&6
17610 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
17611 echo "configure:17612: checking for _sqrtl declaration" >&5
17612 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
17613 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
17614 echo $ac_n "(cached) $ac_c" 1>&6
17619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17620 ac_cpp='$CXXCPP $CPPFLAGS'
17621 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17622 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17623 cross_compiling=$ac_cv_prog_cxx_cross
17625 cat > conftest.$ac_ext <<EOF
17626 #line 17627 "configure"
17627 #include "confdefs.h"
17629 #ifdef HAVE_IEEEFP_H
17630 #include <ieeefp.h>
17637 if { (eval echo configure:17638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17639 glibcpp_cv_func__sqrtl_use=yes
17641 echo "configure: failed program was:" >&5
17642 cat conftest.$ac_ext >&5
17644 glibcpp_cv_func__sqrtl_use=no
17648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17649 ac_cpp='$CPP $CPPFLAGS'
17650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17652 cross_compiling=$ac_cv_prog_cc_cross
17658 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
17660 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
17661 for ac_func in _sqrtl
17663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17664 echo "configure:17665: checking for $ac_func" >&5
17665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17666 echo $ac_n "(cached) $ac_c" 1>&6
17668 cat > conftest.$ac_ext <<EOF
17669 #line 17670 "configure"
17670 #include "confdefs.h"
17671 /* System header to define __stub macros and hopefully few prototypes,
17672 which can conflict with char $ac_func(); below. */
17673 #include <assert.h>
17674 /* Override any gcc2 internal prototype to avoid an error. */
17675 /* We use char because int might match the return type of a gcc2
17676 builtin and then its argument prototype would still apply. */
17681 /* The GNU C library defines this for functions which it implements
17682 to always fail with ENOSYS. Some functions are actually named
17683 something starting with __ and the normal name is an alias. */
17684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17692 if { (eval echo configure:17693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17694 eval "ac_cv_func_$ac_func=yes"
17696 echo "configure: failed program was:" >&5
17697 cat conftest.$ac_ext >&5
17699 eval "ac_cv_func_$ac_func=no"
17704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17705 echo "$ac_t""yes" 1>&6
17706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17707 cat >> confdefs.h <<EOF
17708 #define $ac_tr_func 1
17712 echo "$ac_t""no" 1>&6
17721 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
17722 echo "configure:17723: checking for sincosl declaration" >&5
17723 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
17724 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
17725 echo $ac_n "(cached) $ac_c" 1>&6
17730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17734 cross_compiling=$ac_cv_prog_cxx_cross
17736 cat > conftest.$ac_ext <<EOF
17737 #line 17738 "configure"
17738 #include "confdefs.h"
17744 if { (eval echo configure:17745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17746 glibcpp_cv_func_sincosl_use=yes
17748 echo "configure: failed program was:" >&5
17749 cat conftest.$ac_ext >&5
17751 glibcpp_cv_func_sincosl_use=no
17755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17759 cross_compiling=$ac_cv_prog_cc_cross
17765 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
17767 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
17768 for ac_func in sincosl
17770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17771 echo "configure:17772: checking for $ac_func" >&5
17772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17773 echo $ac_n "(cached) $ac_c" 1>&6
17775 cat > conftest.$ac_ext <<EOF
17776 #line 17777 "configure"
17777 #include "confdefs.h"
17778 /* System header to define __stub macros and hopefully few prototypes,
17779 which can conflict with char $ac_func(); below. */
17780 #include <assert.h>
17781 /* Override any gcc2 internal prototype to avoid an error. */
17782 /* We use char because int might match the return type of a gcc2
17783 builtin and then its argument prototype would still apply. */
17788 /* The GNU C library defines this for functions which it implements
17789 to always fail with ENOSYS. Some functions are actually named
17790 something starting with __ and the normal name is an alias. */
17791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17799 if { (eval echo configure:17800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17801 eval "ac_cv_func_$ac_func=yes"
17803 echo "configure: failed program was:" >&5
17804 cat conftest.$ac_ext >&5
17806 eval "ac_cv_func_$ac_func=no"
17811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17812 echo "$ac_t""yes" 1>&6
17813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17814 cat >> confdefs.h <<EOF
17815 #define $ac_tr_func 1
17819 echo "$ac_t""no" 1>&6
17825 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
17826 echo "configure:17827: checking for _sincosl declaration" >&5
17827 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
17828 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
17829 echo $ac_n "(cached) $ac_c" 1>&6
17834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17838 cross_compiling=$ac_cv_prog_cxx_cross
17840 cat > conftest.$ac_ext <<EOF
17841 #line 17842 "configure"
17842 #include "confdefs.h"
17848 if { (eval echo configure:17849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17850 glibcpp_cv_func__sincosl_use=yes
17852 echo "configure: failed program was:" >&5
17853 cat conftest.$ac_ext >&5
17855 glibcpp_cv_func__sincosl_use=no
17859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17860 ac_cpp='$CPP $CPPFLAGS'
17861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17863 cross_compiling=$ac_cv_prog_cc_cross
17869 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17871 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17872 for ac_func in _sincosl
17874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17875 echo "configure:17876: checking for $ac_func" >&5
17876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17877 echo $ac_n "(cached) $ac_c" 1>&6
17879 cat > conftest.$ac_ext <<EOF
17880 #line 17881 "configure"
17881 #include "confdefs.h"
17882 /* System header to define __stub macros and hopefully few prototypes,
17883 which can conflict with char $ac_func(); below. */
17884 #include <assert.h>
17885 /* Override any gcc2 internal prototype to avoid an error. */
17886 /* We use char because int might match the return type of a gcc2
17887 builtin and then its argument prototype would still apply. */
17892 /* The GNU C library defines this for functions which it implements
17893 to always fail with ENOSYS. Some functions are actually named
17894 something starting with __ and the normal name is an alias. */
17895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17903 if { (eval echo configure:17904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17905 eval "ac_cv_func_$ac_func=yes"
17907 echo "configure: failed program was:" >&5
17908 cat conftest.$ac_ext >&5
17910 eval "ac_cv_func_$ac_func=no"
17915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17916 echo "$ac_t""yes" 1>&6
17917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17918 cat >> confdefs.h <<EOF
17919 #define $ac_tr_func 1
17923 echo "$ac_t""no" 1>&6
17932 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
17933 echo "configure:17934: checking for finitel declaration" >&5
17934 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
17935 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
17936 echo $ac_n "(cached) $ac_c" 1>&6
17941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17942 ac_cpp='$CXXCPP $CPPFLAGS'
17943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17945 cross_compiling=$ac_cv_prog_cxx_cross
17947 cat > conftest.$ac_ext <<EOF
17948 #line 17949 "configure"
17949 #include "confdefs.h"
17951 #ifdef HAVE_IEEEFP_H
17952 #include <ieeefp.h>
17959 if { (eval echo configure:17960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17961 glibcpp_cv_func_finitel_use=yes
17963 echo "configure: failed program was:" >&5
17964 cat conftest.$ac_ext >&5
17966 glibcpp_cv_func_finitel_use=no
17970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17974 cross_compiling=$ac_cv_prog_cc_cross
17980 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17982 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17983 for ac_func in finitel
17985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17986 echo "configure:17987: checking for $ac_func" >&5
17987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17988 echo $ac_n "(cached) $ac_c" 1>&6
17990 cat > conftest.$ac_ext <<EOF
17991 #line 17992 "configure"
17992 #include "confdefs.h"
17993 /* System header to define __stub macros and hopefully few prototypes,
17994 which can conflict with char $ac_func(); below. */
17995 #include <assert.h>
17996 /* Override any gcc2 internal prototype to avoid an error. */
17997 /* We use char because int might match the return type of a gcc2
17998 builtin and then its argument prototype would still apply. */
18003 /* The GNU C library defines this for functions which it implements
18004 to always fail with ENOSYS. Some functions are actually named
18005 something starting with __ and the normal name is an alias. */
18006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18014 if { (eval echo configure:18015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18016 eval "ac_cv_func_$ac_func=yes"
18018 echo "configure: failed program was:" >&5
18019 cat conftest.$ac_ext >&5
18021 eval "ac_cv_func_$ac_func=no"
18026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18027 echo "$ac_t""yes" 1>&6
18028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18029 cat >> confdefs.h <<EOF
18030 #define $ac_tr_func 1
18034 echo "$ac_t""no" 1>&6
18040 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18041 echo "configure:18042: checking for _finitel declaration" >&5
18042 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18043 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18044 echo $ac_n "(cached) $ac_c" 1>&6
18049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18050 ac_cpp='$CXXCPP $CPPFLAGS'
18051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18053 cross_compiling=$ac_cv_prog_cxx_cross
18055 cat > conftest.$ac_ext <<EOF
18056 #line 18057 "configure"
18057 #include "confdefs.h"
18059 #ifdef HAVE_IEEEFP_H
18060 #include <ieeefp.h>
18067 if { (eval echo configure:18068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18069 glibcpp_cv_func__finitel_use=yes
18071 echo "configure: failed program was:" >&5
18072 cat conftest.$ac_ext >&5
18074 glibcpp_cv_func__finitel_use=no
18078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18079 ac_cpp='$CPP $CPPFLAGS'
18080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18082 cross_compiling=$ac_cv_prog_cc_cross
18088 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18090 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18091 for ac_func in _finitel
18093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18094 echo "configure:18095: checking for $ac_func" >&5
18095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18096 echo $ac_n "(cached) $ac_c" 1>&6
18098 cat > conftest.$ac_ext <<EOF
18099 #line 18100 "configure"
18100 #include "confdefs.h"
18101 /* System header to define __stub macros and hopefully few prototypes,
18102 which can conflict with char $ac_func(); below. */
18103 #include <assert.h>
18104 /* Override any gcc2 internal prototype to avoid an error. */
18105 /* We use char because int might match the return type of a gcc2
18106 builtin and then its argument prototype would still apply. */
18111 /* The GNU C library defines this for functions which it implements
18112 to always fail with ENOSYS. Some functions are actually named
18113 something starting with __ and the normal name is an alias. */
18114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18122 if { (eval echo configure:18123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18124 eval "ac_cv_func_$ac_func=yes"
18126 echo "configure: failed program was:" >&5
18127 cat conftest.$ac_ext >&5
18129 eval "ac_cv_func_$ac_func=no"
18134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18135 echo "$ac_t""yes" 1>&6
18136 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18137 cat >> confdefs.h <<EOF
18138 #define $ac_tr_func 1
18142 echo "$ac_t""no" 1>&6
18152 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
18153 echo "configure:18154: checking for _float trig functions" >&5
18154 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
18155 echo $ac_n "(cached) $ac_c" 1>&6
18160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18161 ac_cpp='$CXXCPP $CPPFLAGS'
18162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18164 cross_compiling=$ac_cv_prog_cxx_cross
18166 cat > conftest.$ac_ext <<EOF
18167 #line 18168 "configure"
18168 #include "confdefs.h"
18171 `for x in _acosf _asinf _atanf \
18172 _cosf _sinf _tanf \
18173 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
18176 if { (eval echo configure:18177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18178 glibcpp_cv_func__float_trig_use=yes
18180 echo "configure: failed program was:" >&5
18181 cat conftest.$ac_ext >&5
18183 glibcpp_cv_func__float_trig_use=no
18187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18191 cross_compiling=$ac_cv_prog_cc_cross
18195 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
18196 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
18197 for ac_func in _acosf _asinf _atanf \
18198 _cosf _sinf _tanf \
18199 _coshf _sinhf _tanhf
18201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18202 echo "configure:18203: checking for $ac_func" >&5
18203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18204 echo $ac_n "(cached) $ac_c" 1>&6
18206 cat > conftest.$ac_ext <<EOF
18207 #line 18208 "configure"
18208 #include "confdefs.h"
18209 /* System header to define __stub macros and hopefully few prototypes,
18210 which can conflict with char $ac_func(); below. */
18211 #include <assert.h>
18212 /* Override any gcc2 internal prototype to avoid an error. */
18213 /* We use char because int might match the return type of a gcc2
18214 builtin and then its argument prototype would still apply. */
18219 /* The GNU C library defines this for functions which it implements
18220 to always fail with ENOSYS. Some functions are actually named
18221 something starting with __ and the normal name is an alias. */
18222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18230 if { (eval echo configure:18231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18232 eval "ac_cv_func_$ac_func=yes"
18234 echo "configure: failed program was:" >&5
18235 cat conftest.$ac_ext >&5
18237 eval "ac_cv_func_$ac_func=no"
18242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18243 echo "$ac_t""yes" 1>&6
18244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18245 cat >> confdefs.h <<EOF
18246 #define $ac_tr_func 1
18250 echo "$ac_t""no" 1>&6
18257 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
18258 echo "configure:18259: checking for _float round functions" >&5
18259 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
18260 echo $ac_n "(cached) $ac_c" 1>&6
18265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18266 ac_cpp='$CXXCPP $CPPFLAGS'
18267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18269 cross_compiling=$ac_cv_prog_cxx_cross
18271 cat > conftest.$ac_ext <<EOF
18272 #line 18273 "configure"
18273 #include "confdefs.h"
18276 `for x in _ceilf _floorf; do echo "$x (0);"; done`
18279 if { (eval echo configure:18280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18281 glibcpp_cv_func__float_round_use=yes
18283 echo "configure: failed program was:" >&5
18284 cat conftest.$ac_ext >&5
18286 glibcpp_cv_func__float_round_use=no
18290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18294 cross_compiling=$ac_cv_prog_cc_cross
18298 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
18299 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
18300 for ac_func in _ceilf _floorf
18302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18303 echo "configure:18304: checking for $ac_func" >&5
18304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18305 echo $ac_n "(cached) $ac_c" 1>&6
18307 cat > conftest.$ac_ext <<EOF
18308 #line 18309 "configure"
18309 #include "confdefs.h"
18310 /* System header to define __stub macros and hopefully few prototypes,
18311 which can conflict with char $ac_func(); below. */
18312 #include <assert.h>
18313 /* Override any gcc2 internal prototype to avoid an error. */
18314 /* We use char because int might match the return type of a gcc2
18315 builtin and then its argument prototype would still apply. */
18320 /* The GNU C library defines this for functions which it implements
18321 to always fail with ENOSYS. Some functions are actually named
18322 something starting with __ and the normal name is an alias. */
18323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18331 if { (eval echo configure:18332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18333 eval "ac_cv_func_$ac_func=yes"
18335 echo "configure: failed program was:" >&5
18336 cat conftest.$ac_ext >&5
18338 eval "ac_cv_func_$ac_func=no"
18343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18344 echo "$ac_t""yes" 1>&6
18345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18346 cat >> confdefs.h <<EOF
18347 #define $ac_tr_func 1
18351 echo "$ac_t""no" 1>&6
18359 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
18360 echo "configure:18361: checking for _long double trig functions" >&5
18361 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18368 ac_cpp='$CXXCPP $CPPFLAGS'
18369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18371 cross_compiling=$ac_cv_prog_cxx_cross
18373 cat > conftest.$ac_ext <<EOF
18374 #line 18375 "configure"
18375 #include "confdefs.h"
18378 `for x in _acosl _asinl _atanl \
18379 _cosl _sinl _tanl \
18380 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
18383 if { (eval echo configure:18384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18385 glibcpp_cv_func__long_double_trig_use=yes
18387 echo "configure: failed program was:" >&5
18388 cat conftest.$ac_ext >&5
18390 glibcpp_cv_func__long_double_trig_use=no
18394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18395 ac_cpp='$CPP $CPPFLAGS'
18396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18398 cross_compiling=$ac_cv_prog_cc_cross
18402 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
18403 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
18404 for ac_func in _acosl _asinl _atanl \
18405 _cosl _sinl _tanl \
18406 _coshl _sinhl _tanhl
18408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18409 echo "configure:18410: checking for $ac_func" >&5
18410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18411 echo $ac_n "(cached) $ac_c" 1>&6
18413 cat > conftest.$ac_ext <<EOF
18414 #line 18415 "configure"
18415 #include "confdefs.h"
18416 /* System header to define __stub macros and hopefully few prototypes,
18417 which can conflict with char $ac_func(); below. */
18418 #include <assert.h>
18419 /* Override any gcc2 internal prototype to avoid an error. */
18420 /* We use char because int might match the return type of a gcc2
18421 builtin and then its argument prototype would still apply. */
18426 /* The GNU C library defines this for functions which it implements
18427 to always fail with ENOSYS. Some functions are actually named
18428 something starting with __ and the normal name is an alias. */
18429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18437 if { (eval echo configure:18438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18439 eval "ac_cv_func_$ac_func=yes"
18441 echo "configure: failed program was:" >&5
18442 cat conftest.$ac_ext >&5
18444 eval "ac_cv_func_$ac_func=no"
18449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18450 echo "$ac_t""yes" 1>&6
18451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18452 cat >> confdefs.h <<EOF
18453 #define $ac_tr_func 1
18457 echo "$ac_t""no" 1>&6
18464 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
18465 echo "configure:18466: checking for _long double round functions" >&5
18466 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
18467 echo $ac_n "(cached) $ac_c" 1>&6
18472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18473 ac_cpp='$CXXCPP $CPPFLAGS'
18474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18476 cross_compiling=$ac_cv_prog_cxx_cross
18478 cat > conftest.$ac_ext <<EOF
18479 #line 18480 "configure"
18480 #include "confdefs.h"
18483 `for x in _ceill _floorl; do echo "$x (0);"; done`
18486 if { (eval echo configure:18487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18488 glibcpp_cv_func__long_double_round_use=yes
18490 echo "configure: failed program was:" >&5
18491 cat conftest.$ac_ext >&5
18493 glibcpp_cv_func__long_double_round_use=no
18497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18498 ac_cpp='$CPP $CPPFLAGS'
18499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18501 cross_compiling=$ac_cv_prog_cc_cross
18505 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
18506 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
18507 for ac_func in _ceill _floorl
18509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18510 echo "configure:18511: checking for $ac_func" >&5
18511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18512 echo $ac_n "(cached) $ac_c" 1>&6
18514 cat > conftest.$ac_ext <<EOF
18515 #line 18516 "configure"
18516 #include "confdefs.h"
18517 /* System header to define __stub macros and hopefully few prototypes,
18518 which can conflict with char $ac_func(); below. */
18519 #include <assert.h>
18520 /* Override any gcc2 internal prototype to avoid an error. */
18521 /* We use char because int might match the return type of a gcc2
18522 builtin and then its argument prototype would still apply. */
18527 /* The GNU C library defines this for functions which it implements
18528 to always fail with ENOSYS. Some functions are actually named
18529 something starting with __ and the normal name is an alias. */
18530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18538 if { (eval echo configure:18539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18540 eval "ac_cv_func_$ac_func=yes"
18542 echo "configure: failed program was:" >&5
18543 cat conftest.$ac_ext >&5
18545 eval "ac_cv_func_$ac_func=no"
18550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18551 echo "$ac_t""yes" 1>&6
18552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18553 cat >> confdefs.h <<EOF
18554 #define $ac_tr_func 1
18558 echo "$ac_t""no" 1>&6
18565 LIBS="$ac_save_LIBS"
18566 CXXFLAGS="$ac_save_CXXFLAGS"
18569 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
18570 echo "configure:18571: checking for main in -lm" >&5
18571 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
18572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18573 echo $ac_n "(cached) $ac_c" 1>&6
18575 ac_save_LIBS="$LIBS"
18577 cat > conftest.$ac_ext <<EOF
18578 #line 18579 "configure"
18579 #include "confdefs.h"
18585 if { (eval echo configure:18586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18587 eval "ac_cv_lib_$ac_lib_var=yes"
18589 echo "configure: failed program was:" >&5
18590 cat conftest.$ac_ext >&5
18592 eval "ac_cv_lib_$ac_lib_var=no"
18595 LIBS="$ac_save_LIBS"
18598 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18599 echo "$ac_t""yes" 1>&6
18600 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
18601 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
18602 cat >> confdefs.h <<EOF
18603 #define $ac_tr_lib 1
18609 echo "$ac_t""no" 1>&6
18612 for ac_func in nan copysignf
18614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18615 echo "configure:18616: checking for $ac_func" >&5
18616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18617 echo $ac_n "(cached) $ac_c" 1>&6
18619 cat > conftest.$ac_ext <<EOF
18620 #line 18621 "configure"
18621 #include "confdefs.h"
18622 /* System header to define __stub macros and hopefully few prototypes,
18623 which can conflict with char $ac_func(); below. */
18624 #include <assert.h>
18625 /* Override any gcc2 internal prototype to avoid an error. */
18626 /* We use char because int might match the return type of a gcc2
18627 builtin and then its argument prototype would still apply. */
18632 /* The GNU C library defines this for functions which it implements
18633 to always fail with ENOSYS. Some functions are actually named
18634 something starting with __ and the normal name is an alias. */
18635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18643 if { (eval echo configure:18644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18645 eval "ac_cv_func_$ac_func=yes"
18647 echo "configure: failed program was:" >&5
18648 cat conftest.$ac_ext >&5
18650 eval "ac_cv_func_$ac_func=no"
18655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18656 echo "$ac_t""yes" 1>&6
18657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18658 cat >> confdefs.h <<EOF
18659 #define $ac_tr_func 1
18663 echo "$ac_t""no" 1>&6
18664 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
18670 USE_COMPLEX_LONG_DOUBLE=no
18671 if test x$ac_cv_func_copysignl = x"yes"; then
18672 USE_COMPLEX_LONG_DOUBLE=yes
18673 for ac_func in signbitl
18675 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18676 echo "configure:18677: checking for $ac_func" >&5
18677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18678 echo $ac_n "(cached) $ac_c" 1>&6
18680 cat > conftest.$ac_ext <<EOF
18681 #line 18682 "configure"
18682 #include "confdefs.h"
18683 /* System header to define __stub macros and hopefully few prototypes,
18684 which can conflict with char $ac_func(); below. */
18685 #include <assert.h>
18686 /* Override any gcc2 internal prototype to avoid an error. */
18687 /* We use char because int might match the return type of a gcc2
18688 builtin and then its argument prototype would still apply. */
18693 /* The GNU C library defines this for functions which it implements
18694 to always fail with ENOSYS. Some functions are actually named
18695 something starting with __ and the normal name is an alias. */
18696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18704 if { (eval echo configure:18705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18706 eval "ac_cv_func_$ac_func=yes"
18708 echo "configure: failed program was:" >&5
18709 cat conftest.$ac_ext >&5
18711 eval "ac_cv_func_$ac_func=no"
18716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18717 echo "$ac_t""yes" 1>&6
18718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18719 cat >> confdefs.h <<EOF
18720 #define $ac_tr_func 1
18724 echo "$ac_t""no" 1>&6
18725 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
18736 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
18737 echo "configure:18738: checking for mbstate_t" >&5
18738 cat > conftest.$ac_ext <<EOF
18739 #line 18740 "configure"
18740 #include "confdefs.h"
18743 mbstate_t teststate;
18746 if { (eval echo configure:18747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18750 echo "configure: failed program was:" >&5
18751 cat conftest.$ac_ext >&5
18756 echo "$ac_t""$have_mbstate_t" 1>&6
18757 if test x"$have_mbstate_t" = xyes; then
18758 cat >> confdefs.h <<\EOF
18759 #define HAVE_MBSTATE_T 1
18764 for ac_hdr in wchar.h
18766 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18767 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18768 echo "configure:18769: checking for $ac_hdr" >&5
18769 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18770 echo $ac_n "(cached) $ac_c" 1>&6
18772 cat > conftest.$ac_ext <<EOF
18773 #line 18774 "configure"
18774 #include "confdefs.h"
18777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18778 { (eval echo configure:18779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18780 if test -z "$ac_err"; then
18782 eval "ac_cv_header_$ac_safe=yes"
18785 echo "configure: failed program was:" >&5
18786 cat conftest.$ac_ext >&5
18788 eval "ac_cv_header_$ac_safe=no"
18792 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18793 echo "$ac_t""yes" 1>&6
18794 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18795 cat >> confdefs.h <<EOF
18796 #define $ac_tr_hdr 1
18800 echo "$ac_t""no" 1>&6
18805 for ac_hdr in wctype.h
18807 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18808 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18809 echo "configure:18810: checking for $ac_hdr" >&5
18810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18811 echo $ac_n "(cached) $ac_c" 1>&6
18813 cat > conftest.$ac_ext <<EOF
18814 #line 18815 "configure"
18815 #include "confdefs.h"
18818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18819 { (eval echo configure:18820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18821 if test -z "$ac_err"; then
18823 eval "ac_cv_header_$ac_safe=yes"
18826 echo "configure: failed program was:" >&5
18827 cat conftest.$ac_ext >&5
18829 eval "ac_cv_header_$ac_safe=no"
18833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18834 echo "$ac_t""yes" 1>&6
18835 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18836 cat >> confdefs.h <<EOF
18837 #define $ac_tr_hdr 1
18839 ac_has_wctype_h=yes
18841 echo "$ac_t""no" 1>&6
18847 if test x"$ac_has_wchar_h" = xyes &&
18848 test x"$ac_has_wctype_h" = xyes &&
18849 test x"$enable_c_mbchar" != xno; then
18851 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
18852 echo "configure:18853: checking for WCHAR_MIN and WCHAR_MAX" >&5
18853 cat > conftest.$ac_ext <<EOF
18854 #line 18855 "configure"
18855 #include "confdefs.h"
18858 int i = WCHAR_MIN; int j = WCHAR_MAX;
18861 if { (eval echo configure:18862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18863 has_wchar_minmax=yes
18865 echo "configure: failed program was:" >&5
18866 cat conftest.$ac_ext >&5
18868 has_wchar_minmax=no
18871 echo "$ac_t""$has_wchar_minmax" 1>&6
18873 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
18874 echo "configure:18875: checking for WEOF" >&5
18875 cat > conftest.$ac_ext <<EOF
18876 #line 18877 "configure"
18877 #include "confdefs.h"
18880 #include <stddef.h>
18885 if { (eval echo configure:18886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18889 echo "configure: failed program was:" >&5
18890 cat conftest.$ac_ext >&5
18895 echo "$ac_t""$has_weof" 1>&6
18898 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
18900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18901 echo "configure:18902: checking for $ac_func" >&5
18902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18903 echo $ac_n "(cached) $ac_c" 1>&6
18905 cat > conftest.$ac_ext <<EOF
18906 #line 18907 "configure"
18907 #include "confdefs.h"
18908 /* System header to define __stub macros and hopefully few prototypes,
18909 which can conflict with char $ac_func(); below. */
18910 #include <assert.h>
18911 /* Override any gcc2 internal prototype to avoid an error. */
18912 /* We use char because int might match the return type of a gcc2
18913 builtin and then its argument prototype would still apply. */
18918 /* The GNU C library defines this for functions which it implements
18919 to always fail with ENOSYS. Some functions are actually named
18920 something starting with __ and the normal name is an alias. */
18921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18929 if { (eval echo configure:18930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18931 eval "ac_cv_func_$ac_func=yes"
18933 echo "configure: failed program was:" >&5
18934 cat conftest.$ac_ext >&5
18936 eval "ac_cv_func_$ac_func=no"
18941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18942 echo "$ac_t""yes" 1>&6
18943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18944 cat >> confdefs.h <<EOF
18945 #define $ac_tr_func 1
18949 echo "$ac_t""no" 1>&6
18956 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
18957 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18958 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18959 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18960 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18961 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18964 echo "configure:18965: checking for $ac_func" >&5
18965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18966 echo $ac_n "(cached) $ac_c" 1>&6
18968 cat > conftest.$ac_ext <<EOF
18969 #line 18970 "configure"
18970 #include "confdefs.h"
18971 /* System header to define __stub macros and hopefully few prototypes,
18972 which can conflict with char $ac_func(); below. */
18973 #include <assert.h>
18974 /* Override any gcc2 internal prototype to avoid an error. */
18975 /* We use char because int might match the return type of a gcc2
18976 builtin and then its argument prototype would still apply. */
18981 /* The GNU C library defines this for functions which it implements
18982 to always fail with ENOSYS. Some functions are actually named
18983 something starting with __ and the normal name is an alias. */
18984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18992 if { (eval echo configure:18993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18994 eval "ac_cv_func_$ac_func=yes"
18996 echo "configure: failed program was:" >&5
18997 cat conftest.$ac_ext >&5
18999 eval "ac_cv_func_$ac_func=no"
19004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19005 echo "$ac_t""yes" 1>&6
19006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19007 cat >> confdefs.h <<EOF
19008 #define $ac_tr_func 1
19012 echo "$ac_t""no" 1>&6
19019 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
19020 echo "configure:19021: checking for ISO C99 wchar_t support" >&5
19021 if test x"$has_weof" = xyes &&
19022 test x"$has_wchar_minmax" = xyes &&
19023 test x"$ac_wfuncs" = xyes; then
19024 ac_isoC99_wchar_t=yes
19026 ac_isoC99_wchar_t=no
19028 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
19030 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
19031 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
19032 echo "configure:19033: checking for iconv.h" >&5
19033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19034 echo $ac_n "(cached) $ac_c" 1>&6
19036 cat > conftest.$ac_ext <<EOF
19037 #line 19038 "configure"
19038 #include "confdefs.h"
19041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19042 { (eval echo configure:19043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19043 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19044 if test -z "$ac_err"; then
19046 eval "ac_cv_header_$ac_safe=yes"
19049 echo "configure: failed program was:" >&5
19050 cat conftest.$ac_ext >&5
19052 eval "ac_cv_header_$ac_safe=no"
19056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19057 echo "$ac_t""yes" 1>&6
19060 echo "$ac_t""no" 1>&6
19064 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
19065 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
19066 echo "configure:19067: checking for langinfo.h" >&5
19067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19068 echo $ac_n "(cached) $ac_c" 1>&6
19070 cat > conftest.$ac_ext <<EOF
19071 #line 19072 "configure"
19072 #include "confdefs.h"
19073 #include <langinfo.h>
19075 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19076 { (eval echo configure:19077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19077 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19078 if test -z "$ac_err"; then
19080 eval "ac_cv_header_$ac_safe=yes"
19083 echo "configure: failed program was:" >&5
19084 cat conftest.$ac_ext >&5
19086 eval "ac_cv_header_$ac_safe=no"
19090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19091 echo "$ac_t""yes" 1>&6
19092 ac_has_langinfo_h=yes
19094 echo "$ac_t""no" 1>&6
19095 ac_has_langinfo_h=no
19099 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
19100 echo "configure:19101: checking for iconv in -liconv" >&5
19101 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
19102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19103 echo $ac_n "(cached) $ac_c" 1>&6
19105 ac_save_LIBS="$LIBS"
19106 LIBS="-liconv $LIBS"
19107 cat > conftest.$ac_ext <<EOF
19108 #line 19109 "configure"
19109 #include "confdefs.h"
19110 /* Override any gcc2 internal prototype to avoid an error. */
19111 /* We use char because int might match the return type of a gcc2
19112 builtin and then its argument prototype would still apply. */
19119 if { (eval echo configure:19120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19121 eval "ac_cv_lib_$ac_lib_var=yes"
19123 echo "configure: failed program was:" >&5
19124 cat conftest.$ac_ext >&5
19126 eval "ac_cv_lib_$ac_lib_var=no"
19129 LIBS="$ac_save_LIBS"
19132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19133 echo "$ac_t""yes" 1>&6
19136 echo "$ac_t""no" 1>&6
19139 ac_save_LIBS="$LIBS"
19140 LIBS="$LIBS $libiconv"
19142 for ac_func in iconv_open iconv_close iconv nl_langinfo
19144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19145 echo "configure:19146: checking for $ac_func" >&5
19146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19147 echo $ac_n "(cached) $ac_c" 1>&6
19149 cat > conftest.$ac_ext <<EOF
19150 #line 19151 "configure"
19151 #include "confdefs.h"
19152 /* System header to define __stub macros and hopefully few prototypes,
19153 which can conflict with char $ac_func(); below. */
19154 #include <assert.h>
19155 /* Override any gcc2 internal prototype to avoid an error. */
19156 /* We use char because int might match the return type of a gcc2
19157 builtin and then its argument prototype would still apply. */
19162 /* The GNU C library defines this for functions which it implements
19163 to always fail with ENOSYS. Some functions are actually named
19164 something starting with __ and the normal name is an alias. */
19165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19173 if { (eval echo configure:19174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19175 eval "ac_cv_func_$ac_func=yes"
19177 echo "configure: failed program was:" >&5
19178 cat conftest.$ac_ext >&5
19180 eval "ac_cv_func_$ac_func=no"
19185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19186 echo "$ac_t""yes" 1>&6
19187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19188 cat >> confdefs.h <<EOF
19189 #define $ac_tr_func 1
19194 echo "$ac_t""no" 1>&6
19200 LIBS="$ac_save_LIBS"
19202 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
19203 echo "configure:19204: checking for XPG2 wchar_t support" >&5
19204 if test x"$ac_has_iconv_h" = xyes &&
19205 test x"$ac_has_langinfo_h" = xyes &&
19206 test x"$ac_XPG2funcs" = xyes; then
19207 ac_XPG2_wchar_t=yes
19211 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
19213 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
19214 echo "configure:19215: checking for enabled wchar_t specializations" >&5
19215 if test x"$ac_isoC99_wchar_t" = xyes &&
19216 test x"$ac_XPG2_wchar_t" = xyes; then
19217 cat >> confdefs.h <<\EOF
19218 #define _GLIBCPP_USE_WCHAR_T 1
19221 echo "$ac_t"""yes"" 1>&6
19223 echo "$ac_t"""no"" 1>&6
19226 echo "configure: warning: wchar_t support disabled." 1>&2
19230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19231 ac_save_CXXFLAGS="$CXXFLAGS"
19232 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
19235 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
19236 echo "configure:19237: checking for strtold declaration" >&5
19237 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
19238 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
19239 echo $ac_n "(cached) $ac_c" 1>&6
19244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19245 ac_cpp='$CXXCPP $CPPFLAGS'
19246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19248 cross_compiling=$ac_cv_prog_cxx_cross
19250 cat > conftest.$ac_ext <<EOF
19251 #line 19252 "configure"
19252 #include "confdefs.h"
19253 #include <stdlib.h>
19258 if { (eval echo configure:19259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19260 glibcpp_cv_func_strtold_use=yes
19262 echo "configure: failed program was:" >&5
19263 cat conftest.$ac_ext >&5
19265 glibcpp_cv_func_strtold_use=no
19269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19270 ac_cpp='$CPP $CPPFLAGS'
19271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19273 cross_compiling=$ac_cv_prog_cc_cross
19279 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
19280 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
19281 for ac_func in strtold
19283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19284 echo "configure:19285: checking for $ac_func" >&5
19285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19286 echo $ac_n "(cached) $ac_c" 1>&6
19288 cat > conftest.$ac_ext <<EOF
19289 #line 19290 "configure"
19290 #include "confdefs.h"
19291 /* System header to define __stub macros and hopefully few prototypes,
19292 which can conflict with char $ac_func(); below. */
19293 #include <assert.h>
19294 /* Override any gcc2 internal prototype to avoid an error. */
19295 /* We use char because int might match the return type of a gcc2
19296 builtin and then its argument prototype would still apply. */
19301 /* The GNU C library defines this for functions which it implements
19302 to always fail with ENOSYS. Some functions are actually named
19303 something starting with __ and the normal name is an alias. */
19304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19312 if { (eval echo configure:19313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19314 eval "ac_cv_func_$ac_func=yes"
19316 echo "configure: failed program was:" >&5
19317 cat conftest.$ac_ext >&5
19319 eval "ac_cv_func_$ac_func=no"
19324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19325 echo "$ac_t""yes" 1>&6
19326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19327 cat >> confdefs.h <<EOF
19328 #define $ac_tr_func 1
19332 echo "$ac_t""no" 1>&6
19339 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
19340 echo "configure:19341: checking for strtof declaration" >&5
19341 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
19342 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
19343 echo $ac_n "(cached) $ac_c" 1>&6
19348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19349 ac_cpp='$CXXCPP $CPPFLAGS'
19350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19352 cross_compiling=$ac_cv_prog_cxx_cross
19354 cat > conftest.$ac_ext <<EOF
19355 #line 19356 "configure"
19356 #include "confdefs.h"
19357 #include <stdlib.h>
19362 if { (eval echo configure:19363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19364 glibcpp_cv_func_strtof_use=yes
19366 echo "configure: failed program was:" >&5
19367 cat conftest.$ac_ext >&5
19369 glibcpp_cv_func_strtof_use=no
19373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19374 ac_cpp='$CPP $CPPFLAGS'
19375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19377 cross_compiling=$ac_cv_prog_cc_cross
19383 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
19384 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
19385 for ac_func in strtof
19387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19388 echo "configure:19389: checking for $ac_func" >&5
19389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19390 echo $ac_n "(cached) $ac_c" 1>&6
19392 cat > conftest.$ac_ext <<EOF
19393 #line 19394 "configure"
19394 #include "confdefs.h"
19395 /* System header to define __stub macros and hopefully few prototypes,
19396 which can conflict with char $ac_func(); below. */
19397 #include <assert.h>
19398 /* Override any gcc2 internal prototype to avoid an error. */
19399 /* We use char because int might match the return type of a gcc2
19400 builtin and then its argument prototype would still apply. */
19405 /* The GNU C library defines this for functions which it implements
19406 to always fail with ENOSYS. Some functions are actually named
19407 something starting with __ and the normal name is an alias. */
19408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19416 if { (eval echo configure:19417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19418 eval "ac_cv_func_$ac_func=yes"
19420 echo "configure: failed program was:" >&5
19421 cat conftest.$ac_ext >&5
19423 eval "ac_cv_func_$ac_func=no"
19428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19429 echo "$ac_t""yes" 1>&6
19430 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19431 cat >> confdefs.h <<EOF
19432 #define $ac_tr_func 1
19436 echo "$ac_t""no" 1>&6
19442 for ac_func in drand48
19444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19445 echo "configure:19446: checking for $ac_func" >&5
19446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19447 echo $ac_n "(cached) $ac_c" 1>&6
19449 cat > conftest.$ac_ext <<EOF
19450 #line 19451 "configure"
19451 #include "confdefs.h"
19452 /* System header to define __stub macros and hopefully few prototypes,
19453 which can conflict with char $ac_func(); below. */
19454 #include <assert.h>
19455 /* Override any gcc2 internal prototype to avoid an error. */
19456 /* We use char because int might match the return type of a gcc2
19457 builtin and then its argument prototype would still apply. */
19462 /* The GNU C library defines this for functions which it implements
19463 to always fail with ENOSYS. Some functions are actually named
19464 something starting with __ and the normal name is an alias. */
19465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19473 if { (eval echo configure:19474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19475 eval "ac_cv_func_$ac_func=yes"
19477 echo "configure: failed program was:" >&5
19478 cat conftest.$ac_ext >&5
19480 eval "ac_cv_func_$ac_func=no"
19485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19486 echo "$ac_t""yes" 1>&6
19487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19488 cat >> confdefs.h <<EOF
19489 #define $ac_tr_func 1
19493 echo "$ac_t""no" 1>&6
19498 CXXFLAGS="$ac_save_CXXFLAGS"
19501 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
19502 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
19503 echo "configure:19504: checking for locale.h" >&5
19504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19505 echo $ac_n "(cached) $ac_c" 1>&6
19507 cat > conftest.$ac_ext <<EOF
19508 #line 19509 "configure"
19509 #include "confdefs.h"
19510 #include <locale.h>
19512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19513 { (eval echo configure:19514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19515 if test -z "$ac_err"; then
19517 eval "ac_cv_header_$ac_safe=yes"
19520 echo "configure: failed program was:" >&5
19521 cat conftest.$ac_ext >&5
19523 eval "ac_cv_header_$ac_safe=no"
19527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19528 echo "$ac_t""yes" 1>&6
19530 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
19531 echo "configure:19532: checking for LC_MESSAGES" >&5
19532 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
19533 echo $ac_n "(cached) $ac_c" 1>&6
19535 cat > conftest.$ac_ext <<EOF
19536 #line 19537 "configure"
19537 #include "confdefs.h"
19538 #include <locale.h>
19543 if { (eval echo configure:19544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19545 ac_cv_val_LC_MESSAGES=yes
19547 echo "configure: failed program was:" >&5
19548 cat conftest.$ac_ext >&5
19550 ac_cv_val_LC_MESSAGES=no
19555 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
19556 if test $ac_cv_val_LC_MESSAGES = yes; then
19557 cat >> confdefs.h <<\EOF
19558 #define HAVE_LC_MESSAGES 1
19564 echo "$ac_t""no" 1>&6
19569 cat > conftest.$ac_ext <<EOF
19570 #line 19571 "configure"
19571 #include "confdefs.h"
19573 #include <setjmp.h>
19576 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
19579 if { (eval echo configure:19580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19581 cat >> confdefs.h <<\EOF
19582 #define HAVE_SIGSETJMP 1
19587 echo "configure: failed program was:" >&5
19588 cat conftest.$ac_ext >&5
19592 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
19594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19596 echo "configure:19597: checking for $ac_hdr" >&5
19597 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19598 echo $ac_n "(cached) $ac_c" 1>&6
19600 cat > conftest.$ac_ext <<EOF
19601 #line 19602 "configure"
19602 #include "confdefs.h"
19605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19606 { (eval echo configure:19607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19608 if test -z "$ac_err"; then
19610 eval "ac_cv_header_$ac_safe=yes"
19613 echo "configure: failed program was:" >&5
19614 cat conftest.$ac_ext >&5
19616 eval "ac_cv_header_$ac_safe=no"
19620 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19621 echo "$ac_t""yes" 1>&6
19622 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19623 cat >> confdefs.h <<EOF
19624 #define $ac_tr_hdr 1
19628 echo "$ac_t""no" 1>&6
19632 for ac_func in getpagesize
19634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19635 echo "configure:19636: checking for $ac_func" >&5
19636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19637 echo $ac_n "(cached) $ac_c" 1>&6
19639 cat > conftest.$ac_ext <<EOF
19640 #line 19641 "configure"
19641 #include "confdefs.h"
19642 /* System header to define __stub macros and hopefully few prototypes,
19643 which can conflict with char $ac_func(); below. */
19644 #include <assert.h>
19645 /* Override any gcc2 internal prototype to avoid an error. */
19646 /* We use char because int might match the return type of a gcc2
19647 builtin and then its argument prototype would still apply. */
19652 /* The GNU C library defines this for functions which it implements
19653 to always fail with ENOSYS. Some functions are actually named
19654 something starting with __ and the normal name is an alias. */
19655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19663 if { (eval echo configure:19664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19665 eval "ac_cv_func_$ac_func=yes"
19667 echo "configure: failed program was:" >&5
19668 cat conftest.$ac_ext >&5
19670 eval "ac_cv_func_$ac_func=no"
19675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19676 echo "$ac_t""yes" 1>&6
19677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19678 cat >> confdefs.h <<EOF
19679 #define $ac_tr_func 1
19683 echo "$ac_t""no" 1>&6
19687 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
19688 echo "configure:19689: checking for working mmap" >&5
19689 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
19690 echo $ac_n "(cached) $ac_c" 1>&6
19692 if test "$cross_compiling" = yes; then
19693 ac_cv_func_mmap_fixed_mapped=no
19695 cat > conftest.$ac_ext <<EOF
19696 #line 19697 "configure"
19697 #include "confdefs.h"
19699 /* Thanks to Mike Haertel and Jim Avera for this test.
19700 Here is a matrix of mmap possibilities:
19701 mmap private not fixed
19702 mmap private fixed at somewhere currently unmapped
19703 mmap private fixed at somewhere already mapped
19704 mmap shared not fixed
19705 mmap shared fixed at somewhere currently unmapped
19706 mmap shared fixed at somewhere already mapped
19707 For private mappings, we should verify that changes cannot be read()
19708 back from the file, nor mmap's back from the file at a different
19709 address. (There have been systems where private was not correctly
19710 implemented like the infamous i386 svr4.0, and systems where the
19711 VM page cache was not coherent with the filesystem buffer cache
19712 like early versions of FreeBSD and possibly contemporary NetBSD.)
19713 For shared mappings, we should conversely verify that changes get
19714 propogated back to all the places they're supposed to be.
19716 Grep wants private fixed already mapped.
19717 The main things grep needs to know about mmap are:
19718 * does it exist and is it safe to write into the mmap'd area
19719 * how to use it (BSD variants) */
19720 #include <sys/types.h>
19722 #include <sys/mman.h>
19724 #if HAVE_SYS_TYPES_H
19725 # include <sys/types.h>
19729 # include <stdlib.h>
19732 #if HAVE_SYS_STAT_H
19733 # include <sys/stat.h>
19737 # include <unistd.h>
19740 /* This mess was copied from the GNU getpagesize.h. */
19741 #ifndef HAVE_GETPAGESIZE
19743 /* Assume that all systems that can run configure have sys/param.h. */
19744 # ifndef HAVE_SYS_PARAM_H
19745 # define HAVE_SYS_PARAM_H 1
19748 # ifdef _SC_PAGESIZE
19749 # define getpagesize() sysconf(_SC_PAGESIZE)
19750 # else /* no _SC_PAGESIZE */
19751 # ifdef HAVE_SYS_PARAM_H
19752 # include <sys/param.h>
19753 # ifdef EXEC_PAGESIZE
19754 # define getpagesize() EXEC_PAGESIZE
19755 # else /* no EXEC_PAGESIZE */
19757 # define getpagesize() NBPG * CLSIZE
19760 # endif /* no CLSIZE */
19761 # else /* no NBPG */
19763 # define getpagesize() NBPC
19764 # else /* no NBPC */
19766 # define getpagesize() PAGESIZE
19767 # endif /* PAGESIZE */
19768 # endif /* no NBPC */
19769 # endif /* no NBPG */
19770 # endif /* no EXEC_PAGESIZE */
19771 # else /* no HAVE_SYS_PARAM_H */
19772 # define getpagesize() 8192 /* punt totally */
19773 # endif /* no HAVE_SYS_PARAM_H */
19774 # endif /* no _SC_PAGESIZE */
19776 #endif /* no HAVE_GETPAGESIZE */
19779 extern "C" { void *malloc(unsigned); }
19787 char *data, *data2, *data3;
19791 pagesize = getpagesize();
19794 * First, make a file with some known garbage in it.
19796 data = malloc(pagesize);
19799 for (i = 0; i < pagesize; ++i)
19800 *(data + i) = rand();
19802 fd = creat("conftestmmap", 0600);
19805 if (write(fd, data, pagesize) != pagesize)
19810 * Next, try to mmap the file at a fixed address which
19811 * already has something else allocated at it. If we can,
19812 * also make sure that we see the same garbage.
19814 fd = open("conftestmmap", O_RDWR);
19817 data2 = malloc(2 * pagesize);
19820 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
19821 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
19822 MAP_PRIVATE | MAP_FIXED, fd, 0L))
19824 for (i = 0; i < pagesize; ++i)
19825 if (*(data + i) != *(data2 + i))
19829 * Finally, make sure that changes to the mapped area
19830 * do not percolate back to the file as seen by read().
19831 * (This is a bug on some variants of i386 svr4.0.)
19833 for (i = 0; i < pagesize; ++i)
19834 *(data2 + i) = *(data2 + i) + 1;
19835 data3 = malloc(pagesize);
19838 if (read(fd, data3, pagesize) != pagesize)
19840 for (i = 0; i < pagesize; ++i)
19841 if (*(data + i) != *(data3 + i))
19844 unlink("conftestmmap");
19849 if { (eval echo configure:19850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
19851 ac_cv_func_mmap_fixed_mapped=yes
19853 echo "configure: failed program was:" >&5
19854 cat conftest.$ac_ext >&5
19856 ac_cv_func_mmap_fixed_mapped=no
19863 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
19864 if test $ac_cv_func_mmap_fixed_mapped = yes; then
19865 cat >> confdefs.h <<\EOF
19866 #define HAVE_MMAP 1
19872 # Establish limits on memory usage during 'make check'
19875 setrlimit_have_headers=yes
19876 for ac_hdr in sys/resource.h unistd.h
19878 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19879 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19880 echo "configure:19881: checking for $ac_hdr" >&5
19881 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19882 echo $ac_n "(cached) $ac_c" 1>&6
19884 cat > conftest.$ac_ext <<EOF
19885 #line 19886 "configure"
19886 #include "confdefs.h"
19889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19890 { (eval echo configure:19891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19892 if test -z "$ac_err"; then
19894 eval "ac_cv_header_$ac_safe=yes"
19897 echo "configure: failed program was:" >&5
19898 cat conftest.$ac_ext >&5
19900 eval "ac_cv_header_$ac_safe=no"
19904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19905 echo "$ac_t""yes" 1>&6
19906 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19907 cat >> confdefs.h <<EOF
19908 #define $ac_tr_hdr 1
19912 echo "$ac_t""no" 1>&6
19913 setrlimit_have_headers=no
19917 # If don't have the headers, then we can't run the tests now, and we
19918 # won't be seeing any of these during testsuite compilation.
19919 if test $setrlimit_have_headers = yes; then
19920 # Can't do these in a loop, else the resulting syntax is wrong.
19922 cat > conftest.$ac_ext <<EOF
19923 #line 19924 "configure"
19924 #include "confdefs.h"
19925 #include <sys/resource.h>
19926 #include <unistd.h>
19929 int f = RLIMIT_DATA ;
19932 if { (eval echo configure:19933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19936 echo "configure: failed program was:" >&5
19937 cat conftest.$ac_ext >&5
19942 cat >> confdefs.h <<EOF
19943 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
19948 cat > conftest.$ac_ext <<EOF
19949 #line 19950 "configure"
19950 #include "confdefs.h"
19951 #include <sys/resource.h>
19952 #include <unistd.h>
19955 int f = RLIMIT_RSS ;
19958 if { (eval echo configure:19959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19962 echo "configure: failed program was:" >&5
19963 cat conftest.$ac_ext >&5
19968 cat >> confdefs.h <<EOF
19969 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
19974 cat > conftest.$ac_ext <<EOF
19975 #line 19976 "configure"
19976 #include "confdefs.h"
19977 #include <sys/resource.h>
19978 #include <unistd.h>
19981 int f = RLIMIT_VMEM ;
19984 if { (eval echo configure:19985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19988 echo "configure: failed program was:" >&5
19989 cat conftest.$ac_ext >&5
19994 cat >> confdefs.h <<EOF
19995 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20000 cat > conftest.$ac_ext <<EOF
20001 #line 20002 "configure"
20002 #include "confdefs.h"
20003 #include <sys/resource.h>
20004 #include <unistd.h>
20007 int f = RLIMIT_AS ;
20010 if { (eval echo configure:20011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20014 echo "configure: failed program was:" >&5
20015 cat conftest.$ac_ext >&5
20020 cat >> confdefs.h <<EOF
20021 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20026 # Check for rlimit, setrlimit.
20027 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20028 echo $ac_n "(cached) $ac_c" 1>&6
20031 cat > conftest.$ac_ext <<EOF
20032 #line 20033 "configure"
20033 #include "confdefs.h"
20034 #include <sys/resource.h>
20035 #include <unistd.h>
20038 struct rlimit r; setrlimit(0, &r);
20041 if { (eval echo configure:20042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20045 echo "configure: failed program was:" >&5
20046 cat conftest.$ac_ext >&5
20056 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
20057 echo "configure:20058: checking for testsuite memory limit support" >&5
20058 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
20060 cat >> confdefs.h <<\EOF
20061 #define _GLIBCPP_MEM_LIMITS 1
20067 echo "$ac_t""$ac_mem_limits" 1>&6
20070 # Look for setenv, so that extended locale tests can be performed.
20071 for ac_func in setenv
20073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20074 echo "configure:20075: checking for $ac_func" >&5
20075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20076 echo $ac_n "(cached) $ac_c" 1>&6
20078 cat > conftest.$ac_ext <<EOF
20079 #line 20080 "configure"
20080 #include "confdefs.h"
20081 /* System header to define __stub macros and hopefully few prototypes,
20082 which can conflict with char $ac_func(); below. */
20083 #include <assert.h>
20084 /* Override any gcc2 internal prototype to avoid an error. */
20085 /* We use char because int might match the return type of a gcc2
20086 builtin and then its argument prototype would still apply. */
20091 /* The GNU C library defines this for functions which it implements
20092 to always fail with ENOSYS. Some functions are actually named
20093 something starting with __ and the normal name is an alias. */
20094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20102 if { (eval echo configure:20103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20104 eval "ac_cv_func_$ac_func=yes"
20106 echo "configure: failed program was:" >&5
20107 cat conftest.$ac_ext >&5
20109 eval "ac_cv_func_$ac_func=no"
20114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20115 echo "$ac_t""yes" 1>&6
20116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20117 cat >> confdefs.h <<EOF
20118 #define $ac_tr_func 1
20122 echo "$ac_t""no" 1>&6
20129 # This depends on the possibly-skipped linker test above.
20130 # Check whether --enable-symvers or --disable-symvers was given.
20131 if test "${enable_symvers+set}" = set; then
20132 enableval="$enable_symvers"
20133 case "$enableval" in
20134 yes) enable_symvers=yes ;;
20135 no) enable_symvers=no ;;
20136 # other names here, just as sanity checks
20137 #gnu|sun|etcetera) enable_symvers=$enableval ;;
20138 gnu) enable_symvers=$enableval ;;
20139 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
20145 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
20146 # don't know enough about $LD to do tricks...
20147 if test x$enable_shared = xno ||
20149 test x$glibcpp_gnu_ld_version = x; then
20153 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
20154 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
20155 echo "configure:20156: checking for shared libgcc" >&5
20156 ac_save_CFLAGS="$CFLAGS"
20158 cat > conftest.$ac_ext <<EOF
20159 #line 20160 "configure"
20160 #include "confdefs.h"
20166 if { (eval echo configure:20167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20168 glibcpp_shared_libgcc=yes
20170 echo "configure: failed program was:" >&5
20171 cat conftest.$ac_ext >&5
20173 glibcpp_shared_libgcc=no
20176 CFLAGS="$ac_save_CFLAGS"
20177 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
20179 # For GNU ld, we need at least this version. It's 2.12 in the same format
20180 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
20181 glibcpp_min_gnu_ld_version=21200
20183 # Check to see if unspecified "yes" value can win, given results
20185 if test $enable_symvers = yes ; then
20186 if test $with_gnu_ld = yes &&
20187 test $glibcpp_shared_libgcc = yes ;
20189 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
20192 ac_test_CFLAGS="${CFLAGS+set}"
20193 ac_save_CFLAGS="$CFLAGS"
20194 CFLAGS='-shared -Wl,--version-script,conftest.map'
20197 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
20199 cat > conftest.$ac_ext <<EOF
20200 #line 20201 "configure"
20201 #include "confdefs.h"
20207 if { (eval echo configure:20208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20211 echo "configure: failed program was:" >&5
20212 cat conftest.$ac_ext >&5
20215 if test "$ac_test_CFLAGS" = set; then
20216 CFLAGS="$ac_save_CFLAGS"
20218 # this is the suspicious part
20224 # just fail for now
20229 case $enable_symvers in
20231 LINKER_MAP=config/linker-map.dummy
20234 LINKER_MAP=config/linker-map.gnu
20241 if test $enable_symvers != no; then
20242 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
20243 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
20245 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
20246 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
20248 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
20249 echo "configure:20250: checking versioning on shared library symbols" >&5
20250 echo "$ac_t""$enable_symvers" 1>&6
20253 # Propagate the target-specific source directories through the build chain.
20254 OS_INC_SRCDIR=$os_include_dir/bits
20255 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
20256 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
20261 # Set up cross-compile flags
20265 if test "$CANADIAN" = yes; then
20273 cat > confcache <<\EOF
20274 # This file is a shell script that caches the results of configure
20275 # tests run on this system so they can be shared between configure
20276 # scripts and configure runs. It is not useful on other systems.
20277 # If it contains results you don't want to keep, you may remove or edit it.
20279 # By default, configure uses ./config.cache as the cache file,
20280 # creating it if it does not exist already. You can give configure
20281 # the --cache-file=FILE option to use a different cache file; that is
20282 # what configure does when it calls configure scripts in
20283 # subdirectories, so they share the cache.
20284 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20285 # config.status only pays attention to the cache file if you give it the
20286 # --recheck option to rerun configure.
20289 # The following way of writing the cache mishandles newlines in values,
20290 # but we know of no workaround that is simple, portable, and efficient.
20291 # So, don't put newlines in cache variables' values.
20292 # Ultrix sh set writes to stderr and can't be redirected directly,
20293 # and sets the high bit in the cache file unless we assign to the vars.
20295 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20297 # `set' does not quote correctly, so add quotes (double-quote substitution
20298 # turns \\\\ into \\, and sed turns \\ into \).
20300 -e "s/'/'\\\\''/g" \
20301 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20304 # `set' quotes correctly as required by POSIX, so do not add quotes.
20305 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20308 if cmp -s $cache_file confcache; then
20311 if test -w $cache_file; then
20312 echo "updating cache $cache_file"
20313 cat confcache > $cache_file
20315 echo "not updating unwritable cache $cache_file"
20321 if test "${multilib}" = "yes"; then
20322 multilib_arg="--enable-multilib"
20327 # Needed so that g++ can find the correct include subdir automatically.
20330 # Export all the install information
20332 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
20333 # exported correctly in GLIBCPP_CONFIGURE.
20334 glibcpp_toolexecdir=no
20335 glibcpp_toolexeclibdir=no
20336 glibcpp_prefixdir=${prefix}
20338 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
20339 echo "configure:20340: checking for interface version number" >&5
20340 libstdcxx_interface=$INTERFACE
20341 echo "$ac_t""$libstdcxx_interface" 1>&6
20343 # Process the option --with-gxx-include-dir=<path to include-files directory>
20344 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
20345 echo "configure:20346: checking for --with-gxx-include-dir" >&5
20346 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
20347 if test "${with_gxx_include_dir+set}" = set; then
20348 withval="$with_gxx_include_dir"
20349 case "${withval}" in
20351 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
20358 gxx_include_dir=${withval}
20365 echo "$ac_t""$gxx_include_dir" 1>&6
20367 # Process the option "--enable-version-specific-runtime-libs"
20368 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
20369 echo "configure:20370: checking for --enable-version-specific-runtime-libs" >&5
20370 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
20371 if test "${enable_version_specific_runtime_libs+set}" = set; then
20372 enableval="$enable_version_specific_runtime_libs"
20373 case "$enableval" in
20374 yes) version_specific_libs=yes ;;
20375 no) version_specific_libs=no ;;
20376 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
20379 version_specific_libs=no
20381 # Option set, now we can test it.
20382 echo "$ac_t""$version_specific_libs" 1>&6
20384 if test $version_specific_libs = yes; then
20385 # Need the gcc compiler version to know where to install libraries
20386 # and header files if --enable-version-specific-runtime-libs option
20388 gcc_version_trigger=${srcdir}/../gcc/version.c
20389 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
20390 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
20391 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
20392 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
20393 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
20396 # Default case for install directory for include files.
20397 if test $version_specific_libs = no &&
20398 test $gxx_include_dir = no; then
20399 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
20402 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
20403 # Install a library built with a cross compiler in tooldir, not libdir.
20404 if test x"$glibcpp_toolexecdir" = x"no"; then
20405 if test -n "$with_cross_host" &&
20406 test x"$with_cross_host" != x"no"; then
20407 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
20408 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
20410 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
20411 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
20415 echo $ac_n "checking for install location""... $ac_c" 1>&6
20416 echo "configure:20417: checking for install location" >&5
20417 echo "$ac_t""$gxx_include_dir" 1>&6
20425 # Export all the include and flag information to makefiles.
20427 # Root level of the build directory include sources.
20428 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
20430 # Passed down for canadian crosses.
20431 if test x"$CANADIAN" = xyes; then
20432 TOPLEVEL_INCLUDES='-I$(includedir)'
20435 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
20437 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
20439 if test x"$need_libio" = xyes; then
20440 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
20444 # Now, export this to all the little Makefiles....
20451 # Optimization flags that are probably a good idea for thrill-seekers. Just
20452 # uncomment the lines below and make, everything else is ready to go...
20453 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
20457 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
20461 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
20462 grep "enable shared" > /dev/null; then
20463 LIBSUPCXX_PICFLAGS=-prefer-pic
20465 LIBSUPCXX_PICFLAGS=
20469 # Generate the various Makefiles, include files, and scripts.
20470 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
20471 # and libsupc++/Makefile.am so that multilib installs will end up
20472 # installed in the correct place. To work around this not being passed
20473 # down from config-ml.in -> top_srcdir/Makefile.am ->
20474 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
20476 cat > confcache <<\EOF
20477 # This file is a shell script that caches the results of configure
20478 # tests run on this system so they can be shared between configure
20479 # scripts and configure runs. It is not useful on other systems.
20480 # If it contains results you don't want to keep, you may remove or edit it.
20482 # By default, configure uses ./config.cache as the cache file,
20483 # creating it if it does not exist already. You can give configure
20484 # the --cache-file=FILE option to use a different cache file; that is
20485 # what configure does when it calls configure scripts in
20486 # subdirectories, so they share the cache.
20487 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20488 # config.status only pays attention to the cache file if you give it the
20489 # --recheck option to rerun configure.
20492 # The following way of writing the cache mishandles newlines in values,
20493 # but we know of no workaround that is simple, portable, and efficient.
20494 # So, don't put newlines in cache variables' values.
20495 # Ultrix sh set writes to stderr and can't be redirected directly,
20496 # and sets the high bit in the cache file unless we assign to the vars.
20498 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20500 # `set' does not quote correctly, so add quotes (double-quote substitution
20501 # turns \\\\ into \\, and sed turns \\ into \).
20503 -e "s/'/'\\\\''/g" \
20504 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20507 # `set' quotes correctly as required by POSIX, so do not add quotes.
20508 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20511 if cmp -s $cache_file confcache; then
20514 if test -w $cache_file; then
20515 echo "updating cache $cache_file"
20516 cat confcache > $cache_file
20518 echo "not updating unwritable cache $cache_file"
20523 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20525 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20526 # Let make expand exec_prefix.
20527 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20529 # Any assignment to VPATH causes Sun make to only execute
20530 # the first set of double-colon rules, so remove it if not needed.
20531 # If there is a colon in the path, we need to keep it.
20532 if test "x$srcdir" = x.; then
20533 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
20536 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20538 DEFS=-DHAVE_CONFIG_H
20540 # Without the "./", some shells look in PATH for config.status.
20541 : ${CONFIG_STATUS=./config.status}
20543 echo creating $CONFIG_STATUS
20544 rm -f $CONFIG_STATUS
20545 cat > $CONFIG_STATUS <<EOF
20547 # Generated automatically by configure.
20548 # Run this file to recreate the current configuration.
20549 # This directory was configured as follows,
20550 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20552 # $0 $ac_configure_args
20554 # Compiler output produced by configure, useful for debugging
20555 # configure, is in ./config.log if it exists.
20557 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20560 case "\$ac_option" in
20561 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20562 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20563 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20564 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20565 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20567 -help | --help | --hel | --he | --h)
20568 echo "\$ac_cs_usage"; exit 0 ;;
20569 *) echo "\$ac_cs_usage"; exit 1 ;;
20573 ac_given_srcdir=$srcdir
20574 ac_given_INSTALL="$INSTALL"
20576 trap 'rm -fr `echo "Makefile \
20577 include/Makefile src/Makefile \
20578 libmath/Makefile libio/Makefile libsupc++/Makefile \
20579 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20581 cat >> $CONFIG_STATUS <<EOF
20583 # Protect against being on the right side of a sed subst in config.status.
20584 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20585 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20589 s%@CFLAGS@%$CFLAGS%g
20590 s%@CPPFLAGS@%$CPPFLAGS%g
20591 s%@CXXFLAGS@%$CXXFLAGS%g
20592 s%@FFLAGS@%$FFLAGS%g
20594 s%@LDFLAGS@%$LDFLAGS%g
20596 s%@exec_prefix@%$exec_prefix%g
20597 s%@prefix@%$prefix%g
20598 s%@program_transform_name@%$program_transform_name%g
20599 s%@bindir@%$bindir%g
20600 s%@sbindir@%$sbindir%g
20601 s%@libexecdir@%$libexecdir%g
20602 s%@datadir@%$datadir%g
20603 s%@sysconfdir@%$sysconfdir%g
20604 s%@sharedstatedir@%$sharedstatedir%g
20605 s%@localstatedir@%$localstatedir%g
20606 s%@libdir@%$libdir%g
20607 s%@includedir@%$includedir%g
20608 s%@oldincludedir@%$oldincludedir%g
20609 s%@infodir@%$infodir%g
20610 s%@mandir@%$mandir%g
20611 s%@PACKAGE@%$PACKAGE%g
20612 s%@release_VERSION@%$release_VERSION%g
20613 s%@libtool_VERSION@%$libtool_VERSION%g
20615 s%@host_alias@%$host_alias%g
20616 s%@host_cpu@%$host_cpu%g
20617 s%@host_vendor@%$host_vendor%g
20618 s%@host_os@%$host_os%g
20619 s%@target@%$target%g
20620 s%@target_alias@%$target_alias%g
20621 s%@target_cpu@%$target_cpu%g
20622 s%@target_vendor@%$target_vendor%g
20623 s%@target_os@%$target_os%g
20625 s%@build_alias@%$build_alias%g
20626 s%@build_cpu@%$build_cpu%g
20627 s%@build_vendor@%$build_vendor%g
20628 s%@build_os@%$build_os%g
20629 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20630 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20631 s%@INSTALL_DATA@%$INSTALL_DATA%g
20632 s%@VERSION@%$VERSION%g
20633 s%@ACLOCAL@%$ACLOCAL%g
20634 s%@AUTOCONF@%$AUTOCONF%g
20635 s%@AUTOMAKE@%$AUTOMAKE%g
20636 s%@AUTOHEADER@%$AUTOHEADER%g
20637 s%@MAKEINFO@%$MAKEINFO%g
20638 s%@SET_MAKE@%$SET_MAKE%g
20639 s%@toplevel_srcdir@%$toplevel_srcdir%g
20640 s%@glibcpp_builddir@%$glibcpp_builddir%g
20641 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
20644 s%@glibcpp_basedir@%$glibcpp_basedir%g
20646 s%@glibcpp_CXX@%$glibcpp_CXX%g
20649 s%@RANLIB@%$RANLIB%g
20650 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
20651 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
20653 s%@EXEEXT@%$EXEEXT%g
20654 s%@OBJEXT@%$OBJEXT%g
20656 s%@LIBTOOL@%$LIBTOOL%g
20657 s%@CXXCPP@%$CXXCPP%g
20658 s%@enable_shared@%$enable_shared%g
20659 s%@enable_static@%$enable_static%g
20660 s%@ifGNUmake@%$ifGNUmake%g
20661 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
20663 s%@CSTDIO_H@%$CSTDIO_H%g
20664 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
20665 s%@CCODECVT_C@%$CCODECVT_C%g
20666 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
20667 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
20668 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
20669 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
20670 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
20671 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
20672 s%@libio_la@%$libio_la%g
20673 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
20674 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
20675 s%@glibcpp_localedir@%$glibcpp_localedir%g
20676 s%@USE_NLS@%$USE_NLS%g
20677 s%@CLOCALE_H@%$CLOCALE_H%g
20678 s%@CCODECVT_H@%$CCODECVT_H%g
20679 s%@CMESSAGES_H@%$CMESSAGES_H%g
20680 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
20681 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
20682 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
20683 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
20684 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
20685 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
20686 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
20687 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
20688 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
20689 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
20690 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
20691 s%@WERROR@%$WERROR%g
20692 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
20693 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
20694 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
20695 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
20696 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
20697 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
20698 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
20699 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
20700 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
20701 s%@gxx_include_dir@%$gxx_include_dir%g
20702 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
20703 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
20704 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
20705 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
20706 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
20707 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
20708 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
20709 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
20710 s%@WARN_FLAGS@%$WARN_FLAGS%g
20711 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
20716 cat >> $CONFIG_STATUS <<\EOF
20718 # Split the substitutions into bite-sized pieces for seds with
20719 # small command number limits, like on Digital OSF/1 and HP-UX.
20720 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20721 ac_file=1 # Number of current file.
20722 ac_beg=1 # First line for current file.
20723 ac_end=$ac_max_sed_cmds # Line after last line for current file.
20726 while $ac_more_lines; do
20727 if test $ac_beg -gt 1; then
20728 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20730 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20732 if test ! -s conftest.s$ac_file; then
20733 ac_more_lines=false
20734 rm -f conftest.s$ac_file
20736 if test -z "$ac_sed_cmds"; then
20737 ac_sed_cmds="sed -f conftest.s$ac_file"
20739 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20741 ac_file=`expr $ac_file + 1`
20743 ac_end=`expr $ac_end + $ac_max_sed_cmds`
20746 if test -z "$ac_sed_cmds"; then
20751 cat >> $CONFIG_STATUS <<EOF
20753 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
20754 include/Makefile src/Makefile \
20755 libmath/Makefile libio/Makefile libsupc++/Makefile \
20756 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
20758 cat >> $CONFIG_STATUS <<\EOF
20759 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
20760 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20762 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20763 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20764 *) ac_file_in="${ac_file}.in" ;;
20767 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20769 # Remove last slash and all that follows it. Not all systems have dirname.
20770 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20771 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20772 # The file is in a subdirectory.
20773 test ! -d "$ac_dir" && mkdir "$ac_dir"
20774 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
20775 # A "../" for each directory in $ac_dir_suffix.
20776 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20778 ac_dir_suffix= ac_dots=
20781 case "$ac_given_srcdir" in
20783 if test -z "$ac_dots"; then top_srcdir=.
20784 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20785 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20786 *) # Relative path.
20787 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20788 top_srcdir="$ac_dots$ac_given_srcdir" ;;
20791 case "$ac_given_INSTALL" in
20792 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20793 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20796 echo creating "$ac_file"
20798 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20800 *Makefile*) ac_comsub="1i\\
20801 # $configure_input" ;;
20805 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20807 s%@configure_input@%$configure_input%g
20808 s%@srcdir@%$srcdir%g
20809 s%@top_srcdir@%$top_srcdir%g
20810 s%@INSTALL@%$INSTALL%g
20811 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20815 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20816 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20818 # ac_d sets the value in "#define NAME VALUE" lines.
20819 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20820 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20823 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20824 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20825 ac_uB='\([ ]\)%\1#\2define\3'
20828 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20829 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20830 ac_eB='$%\1#\2define\3'
20834 if test "${CONFIG_HEADERS+set}" != set; then
20836 cat >> $CONFIG_STATUS <<EOF
20837 CONFIG_HEADERS="config.h"
20839 cat >> $CONFIG_STATUS <<\EOF
20841 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20842 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20844 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20845 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20846 *) ac_file_in="${ac_file}.in" ;;
20849 echo creating $ac_file
20851 rm -f conftest.frag conftest.in conftest.out
20852 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20853 cat $ac_file_inputs > conftest.in
20857 # Transform confdefs.h into a sed script conftest.vals that substitutes
20858 # the proper values into config.h.in to produce config.h. And first:
20859 # Protect against being on the right side of a sed subst in config.status.
20860 # Protect against being in an unquoted here document in config.status.
20861 rm -f conftest.vals
20862 cat > conftest.hdr <<\EOF
20865 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20869 sed -n -f conftest.hdr confdefs.h > conftest.vals
20872 # This sed command replaces #undef with comments. This is necessary, for
20873 # example, in the case of _POSIX_SOURCE, which is predefined and required
20874 # on some systems where configure will not decide to define it.
20875 cat >> conftest.vals <<\EOF
20876 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20879 # Break up conftest.vals because some shells have a limit on
20880 # the size of here documents, and old seds have small limits too.
20882 rm -f conftest.tail
20885 ac_lines=`grep -c . conftest.vals`
20886 # grep -c gives empty output for an empty file on some AIX systems.
20887 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20888 # Write a limited-size here document to conftest.frag.
20889 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20890 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20892 sed -f conftest.frag conftest.in > conftest.out
20894 mv conftest.out conftest.in
20895 ' >> $CONFIG_STATUS
20896 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20897 rm -f conftest.vals
20898 mv conftest.tail conftest.vals
20900 rm -f conftest.vals
20902 cat >> $CONFIG_STATUS <<\EOF
20903 rm -f conftest.frag conftest.h
20904 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20905 cat conftest.in >> conftest.h
20907 if cmp -s $ac_file conftest.h 2>/dev/null; then
20908 echo "$ac_file is unchanged"
20911 # Remove last slash and all that follows it. Not all systems have dirname.
20912 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20913 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20914 # The file is in a subdirectory.
20915 test ! -d "$ac_dir" && mkdir "$ac_dir"
20918 mv conftest.h $ac_file
20924 cat >> $CONFIG_STATUS <<EOF
20925 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
20926 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
20929 cat >> $CONFIG_STATUS <<\EOF
20930 srcdir=$ac_given_srcdir
20931 while test -n "$ac_sources"; do
20932 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
20933 set $ac_sources; ac_source=$1; shift; ac_sources=$*
20935 echo "linking $srcdir/$ac_source to $ac_dest"
20937 if test ! -r $srcdir/$ac_source; then
20938 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
20942 # Make relative symlinks.
20943 # Remove last slash and all that follows it. Not all systems have dirname.
20944 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
20945 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
20946 # The dest file is in a subdirectory.
20947 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
20948 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
20949 # A "../" for each directory in $ac_dest_dir_suffix.
20950 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
20952 ac_dest_dir_suffix= ac_dots=
20956 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
20957 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
20960 # Make a symlink if possible; otherwise try a hard link.
20961 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
20962 ln $srcdir/$ac_source $ac_dest; then :
20964 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
20968 cat >> $CONFIG_STATUS <<EOF
20973 with_multisubdir=${with_multisubdir}
20974 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20975 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20976 glibcpp_basedir=${glibcpp_basedir}
20981 cat >> $CONFIG_STATUS <<\EOF
20982 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
20983 if test -n "$CONFIG_FILES"; then
20984 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
20985 grep '^MULTISUBDIR =' Makefile >> src/Makefile
20986 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
20989 chmod +x testsuite_flags
20993 chmod +x $CONFIG_STATUS
20994 rm -fr confdefs* $ac_clean_files
20995 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20999 # Sanity checking & User-visible messages.
21000 # Checks down here, otherwise they get scrolled off before
21001 # the user will notice.
21003 # Trying to get more people to read documentation. Possibly remove
21004 # check and warn all the time. There is no "informational" AC_MSG_
21005 # macro, so these are going to be printed even when --quiet/--silent
21007 if test ! -f stamp-sanity-warned; then
21008 touch stamp-sanity-warned
21010 echo "Please make certain that you read the installation information here:"
21011 echo " faster => ${srcdir}/docs/install.html"
21012 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
21014 echo "and the configuration information here:"
21015 echo " faster => ${srcdir}/docs/configopts.html"
21016 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
21018 echo "before proceeding with ${_cv_gnu_make_command}."