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 --with-gxx-include-dir the installation directory for include files"
64 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
66 # Initialize some variables set by options.
67 # The variables have the same names as the options, with
68 # dashes changed to underlines.
70 cache_file=./config.cache
79 program_transform_name=s,x,x,
87 bindir='${exec_prefix}/bin'
88 sbindir='${exec_prefix}/sbin'
89 libexecdir='${exec_prefix}/libexec'
90 datadir='${prefix}/share'
91 sysconfdir='${prefix}/etc'
92 sharedstatedir='${prefix}/com'
93 localstatedir='${prefix}/var'
94 libdir='${exec_prefix}/lib'
95 includedir='${prefix}/include'
96 oldincludedir='/usr/include'
97 infodir='${prefix}/info'
98 mandir='${prefix}/man'
100 # Initialize some other variables.
103 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
111 # If the previous option needs an argument, assign it.
112 if test -n "$ac_prev"; then
113 eval "$ac_prev=\$ac_option"
119 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
123 # Accept the important Cygnus configure options, so we can diagnose typos.
127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
130 bindir="$ac_optarg" ;;
132 -build | --build | --buil | --bui | --bu)
134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
135 build="$ac_optarg" ;;
137 -cache-file | --cache-file | --cache-fil | --cache-fi \
138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
139 ac_prev=cache_file ;;
140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
142 cache_file="$ac_optarg" ;;
144 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
146 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
148 datadir="$ac_optarg" ;;
150 -disable-* | --disable-*)
151 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
156 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
157 eval "enable_${ac_feature}=no" ;;
159 -enable-* | --enable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}='$ac_optarg'" ;;
172 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
173 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
174 | --exec | --exe | --ex)
175 ac_prev=exec_prefix ;;
176 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
177 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
178 | --exec=* | --exe=* | --ex=*)
179 exec_prefix="$ac_optarg" ;;
181 -gas | --gas | --ga | --g)
182 # Obsolete; use --with-gas.
185 -help | --help | --hel | --he)
186 # Omit some internal or obsolete options to make the list less imposing.
187 # This message is too long to be a string in the A/UX 3.1 sh.
189 Usage: configure [options] [host]
190 Options: [defaults in brackets after descriptions]
192 --cache-file=FILE cache test results in FILE
193 --help print this message
194 --no-create do not create output files
195 --quiet, --silent do not print \`checking...' messages
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host | --host | --hos | --ho)
242 -host=* | --host=* | --hos=* | --ho=*)
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir="$ac_optarg" ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir="$ac_optarg" ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 libdir="$ac_optarg" ;;
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir="$ac_optarg" ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir="$ac_optarg" ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281 mandir="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir="$ac_optarg" ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 prefix="$ac_optarg" ;;
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix="$ac_optarg" ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix="$ac_optarg" ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name="$ac_optarg" ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir="$ac_optarg" ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir="$ac_optarg" ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
368 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369 srcdir="$ac_optarg" ;;
371 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372 | --syscon | --sysco | --sysc | --sys | --sy)
373 ac_prev=sysconfdir ;;
374 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376 sysconfdir="$ac_optarg" ;;
378 -target | --target | --targe | --targ | --tar | --ta | --t)
380 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381 target="$ac_optarg" ;;
383 -v | -verbose | --verbose | --verbos | --verbo | --verb)
386 -version | --version | --versio | --versi | --vers)
387 echo "configure generated by autoconf version 2.13"
391 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package=`echo $ac_package| sed 's/-/_/g'`
401 eval "with_${ac_package}='$ac_optarg'" ;;
403 -without-* | --without-*)
404 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}=no" ;;
413 # Obsolete; use --with-x.
416 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
417 | --x-incl | --x-inc | --x-in | --x-i)
418 ac_prev=x_includes ;;
419 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
420 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
421 x_includes="$ac_optarg" ;;
423 -x-libraries | --x-libraries | --x-librarie | --x-librari \
424 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
425 ac_prev=x_libraries ;;
426 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
427 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
428 x_libraries="$ac_optarg" ;;
430 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
434 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
435 echo "configure: warning: $ac_option: invalid host type" 1>&2
437 if test "x$nonopt" != xNONE; then
438 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
446 if test -n "$ac_prev"; then
447 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
450 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
452 # File descriptor usage:
455 # 2 errors and warnings
456 # 3 some systems may open it to /dev/tty
457 # 4 used on the Kubota Titan
458 # 6 checking for... messages and results
459 # 5 compiler messages saved in config.log
460 if test "$silent" = yes; then
468 This file contains any messages produced by compilers while
469 running configure, to aid debugging if configure makes a mistake.
472 # Strip out --no-create and --no-recursion so they do not pile up.
473 # Also quote any args containing shell metacharacters.
478 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
479 | --no-cr | --no-c) ;;
480 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
481 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
482 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
483 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
484 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
489 # Only set these to C if already set. These must not be set unconditionally
490 # because not all systems understand e.g. LANG=C (notably SCO).
491 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
492 # Non-C LC_CTYPE values break the ctype check.
493 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
494 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
495 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
496 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
499 rm -rf conftest* confdefs.h
500 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
503 # A filename unique to this package, relative to the directory that
504 # configure is in, which we can look for to find out if srcdir is correct.
505 ac_unique_file=src/ios.cc
507 # Find the source files, if location was not specified.
508 if test -z "$srcdir"; then
509 ac_srcdir_defaulted=yes
510 # Try the directory containing this script, then its parent.
512 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
513 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
515 if test ! -r $srcdir/$ac_unique_file; then
519 ac_srcdir_defaulted=no
521 if test ! -r $srcdir/$ac_unique_file; then
522 if test "$ac_srcdir_defaulted" = yes; then
523 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
525 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
528 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
530 # Prefer explicitly selected file to automatically selected ones.
531 if test -z "$CONFIG_SITE"; then
532 if test "x$prefix" != xNONE; then
533 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
535 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
538 for ac_site_file in $CONFIG_SITE; do
539 if test -r "$ac_site_file"; then
540 echo "loading site script $ac_site_file"
545 if test -r "$cache_file"; then
546 echo "loading cache $cache_file"
549 echo "creating cache $cache_file"
554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
555 ac_cpp='$CPP $CPPFLAGS'
556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
558 cross_compiling=$ac_cv_prog_cc_cross
562 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
563 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
564 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
571 ac_n= ac_c='\c' ac_t=
578 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
579 release_VERSION=3.1.0
581 # For libtool versioning info, format is CURRENT:REVISION:AGE
582 libtool_VERSION=4:0:0
585 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
586 # AC 2.50 sets target_alias iff the user specified --target, but we use it
587 # everywhere, so we set it here just to be sure.
589 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
590 if test -f $ac_dir/install-sh; then
592 ac_install_sh="$ac_aux_dir/install-sh -c"
594 elif test -f $ac_dir/install.sh; then
596 ac_install_sh="$ac_aux_dir/install.sh -c"
600 if test -z "$ac_aux_dir"; then
601 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
603 ac_config_guess=$ac_aux_dir/config.guess
604 ac_config_sub=$ac_aux_dir/config.sub
605 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
608 # Do some error checking and defaulting for the host and target type.
610 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
613 # 1. You are not allowed to specify --host, --target, and nonopt at the
615 # 2. Host defaults to nonopt.
616 # 3. If nonopt is not specified, then host defaults to the current host,
617 # as determined by config.guess.
618 # 4. Target and build default to nonopt.
619 # 5. If nonopt is not specified, then target and build default to host.
621 # The aliases save the names the user supplied, while $host etc.
622 # will get canonicalized.
623 case $host---$target---$nonopt in
624 NONE---*---* | *---NONE---* | *---*---NONE) ;;
625 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
629 # Make sure we can run config.sub.
630 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
631 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
634 echo $ac_n "checking host system type""... $ac_c" 1>&6
635 echo "configure:636: checking host system type" >&5
638 case "$host_alias" in
642 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
643 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
645 *) host_alias=$nonopt ;;
649 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
650 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
651 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
652 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
653 echo "$ac_t""$host" 1>&6
655 echo $ac_n "checking target system type""... $ac_c" 1>&6
656 echo "configure:657: checking target system type" >&5
659 case "$target_alias" in
662 NONE) target_alias=$host_alias ;;
663 *) target_alias=$nonopt ;;
667 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
668 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
669 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
670 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
671 echo "$ac_t""$target" 1>&6
673 echo $ac_n "checking build system type""... $ac_c" 1>&6
674 echo "configure:675: checking build system type" >&5
677 case "$build_alias" in
680 NONE) build_alias=$host_alias ;;
681 *) build_alias=$nonopt ;;
685 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
686 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
687 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
688 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
689 echo "$ac_t""$build" 1>&6
691 test "$host_alias" != "$target_alias" &&
692 test "$program_prefix$program_suffix$program_transform_name" = \
694 program_prefix=${target_alias}-
696 target_alias=${target_alias-$target}
699 # Find a good install program. We prefer a C program (faster),
700 # so one script is as good as another. But avoid the broken or
701 # incompatible versions:
702 # SysV /etc/install, /usr/sbin/install
703 # SunOS /usr/etc/install
706 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
708 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
709 # ./install, which can be erroneously created by make from ./install.sh.
710 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
711 echo "configure:712: checking for a BSD compatible install" >&5
712 if test -z "$INSTALL"; then
713 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
714 echo $ac_n "(cached) $ac_c" 1>&6
716 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
717 for ac_dir in $PATH; do
718 # Account for people who put trailing slashes in PATH elements.
720 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
722 # OSF1 and SCO ODT 3.0 have their own names for install.
723 # Don't use installbsd from OSF since it installs stuff as root
725 for ac_prog in ginstall scoinst install; do
726 if test -f $ac_dir/$ac_prog; then
727 if test $ac_prog = install &&
728 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
729 # AIX install. It has an incompatible calling convention.
732 ac_cv_path_install="$ac_dir/$ac_prog -c"
743 if test "${ac_cv_path_install+set}" = set; then
744 INSTALL="$ac_cv_path_install"
746 # As a last resort, use the slow shell script. We don't cache a
747 # path for INSTALL within a source directory, because that will
748 # break other packages using the cache if that directory is
749 # removed, or if the path is relative.
750 INSTALL="$ac_install_sh"
753 echo "$ac_t""$INSTALL" 1>&6
755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
756 # It thinks the first close brace ends the variable substitution.
757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
763 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
764 echo "configure:765: checking whether build environment is sane" >&5
767 echo timestamp > conftestfile
768 # Do `set' in a subshell so we don't clobber the current shell's
769 # arguments. Must try -L first in case configure is actually a
770 # symlink; some systems play weird games with the mod time of symlinks
771 # (eg FreeBSD returns the mod time of the symlink's containing
774 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
775 if test "$*" = "X"; then
777 set X `ls -t $srcdir/configure conftestfile`
779 if test "$*" != "X $srcdir/configure conftestfile" \
780 && test "$*" != "X conftestfile $srcdir/configure"; then
782 # If neither matched, then we have a broken ls. This can happen
783 # if, for instance, CONFIG_SHELL is bash and it inherits a
784 # broken ls alias from the environment. This has actually
785 # happened. Such a system could not be considered "sane".
786 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
787 alias in your environment" 1>&2; exit 1; }
790 test "$2" = conftestfile
796 { echo "configure: error: newly created file is older than distributed files!
797 Check your system clock" 1>&2; exit 1; }
800 echo "$ac_t""yes" 1>&6
801 if test "$program_transform_name" = s,x,x,; then
802 program_transform_name=
804 # Double any \ or $. echo might interpret backslashes.
805 cat <<\EOF_SED > conftestsed
806 s,\\,\\\\,g; s,\$,$$,g
808 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
811 test "$program_prefix" != NONE &&
812 program_transform_name="s,^,${program_prefix},; $program_transform_name"
813 # Use a double $ so make ignores it.
814 test "$program_suffix" != NONE &&
815 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
817 # sed with no file args requires a program.
818 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
820 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
821 echo "configure:822: checking whether ${MAKE-make} sets \${MAKE}" >&5
822 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
823 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
824 echo $ac_n "(cached) $ac_c" 1>&6
826 cat > conftestmake <<\EOF
828 @echo 'ac_maketemp="${MAKE}"'
830 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
831 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
832 if test -n "$ac_maketemp"; then
833 eval ac_cv_prog_make_${ac_make}_set=yes
835 eval ac_cv_prog_make_${ac_make}_set=no
839 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
840 echo "$ac_t""yes" 1>&6
843 echo "$ac_t""no" 1>&6
844 SET_MAKE="MAKE=${MAKE-make}"
850 VERSION=$release_VERSION
852 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
853 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
855 cat >> confdefs.h <<EOF
856 #define PACKAGE "$PACKAGE"
859 cat >> confdefs.h <<EOF
860 #define VERSION "$VERSION"
865 missing_dir=`cd $ac_aux_dir && pwd`
866 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
867 echo "configure:868: checking for working aclocal" >&5
868 # Run test in a subshell; some versions of sh will print an error if
869 # an executable is not found, even if stderr is redirected.
870 # Redirect stdin to placate older versions of autoconf. Sigh.
871 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
873 echo "$ac_t""found" 1>&6
875 ACLOCAL="$missing_dir/missing aclocal"
876 echo "$ac_t""missing" 1>&6
879 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
880 echo "configure:881: checking for working autoconf" >&5
881 # Run test in a subshell; some versions of sh will print an error if
882 # an executable is not found, even if stderr is redirected.
883 # Redirect stdin to placate older versions of autoconf. Sigh.
884 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
886 echo "$ac_t""found" 1>&6
888 AUTOCONF="$missing_dir/missing autoconf"
889 echo "$ac_t""missing" 1>&6
892 echo $ac_n "checking for working automake""... $ac_c" 1>&6
893 echo "configure:894: checking for working automake" >&5
894 # Run test in a subshell; some versions of sh will print an error if
895 # an executable is not found, even if stderr is redirected.
896 # Redirect stdin to placate older versions of autoconf. Sigh.
897 if (automake --version) < /dev/null > /dev/null 2>&1; then
899 echo "$ac_t""found" 1>&6
901 AUTOMAKE="$missing_dir/missing automake"
902 echo "$ac_t""missing" 1>&6
905 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
906 echo "configure:907: checking for working autoheader" >&5
907 # Run test in a subshell; some versions of sh will print an error if
908 # an executable is not found, even if stderr is redirected.
909 # Redirect stdin to placate older versions of autoconf. Sigh.
910 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
911 AUTOHEADER=autoheader
912 echo "$ac_t""found" 1>&6
914 AUTOHEADER="$missing_dir/missing autoheader"
915 echo "$ac_t""missing" 1>&6
918 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
919 echo "configure:920: checking for working makeinfo" >&5
920 # Run test in a subshell; some versions of sh will print an error if
921 # an executable is not found, even if stderr is redirected.
922 # Redirect stdin to placate older versions of autoconf. Sigh.
923 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
925 echo "$ac_t""found" 1>&6
927 MAKEINFO="$missing_dir/missing makeinfo"
928 echo "$ac_t""missing" 1>&6
936 # Runs configure.host and configure.target, as well as finds CC, CXX
937 # and assorted other critical bits. Have to run this before the
938 # GLIBCPP_ENABLE_* macros below.
939 if test $host != $build; then
940 ac_tool_prefix=${host_alias}-
945 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
946 echo "configure:947: checking for Cygwin environment" >&5
947 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
948 echo $ac_n "(cached) $ac_c" 1>&6
950 cat > conftest.$ac_ext <<EOF
951 #line 952 "configure"
952 #include "confdefs.h"
957 #define __CYGWIN__ __CYGWIN32__
962 if { (eval echo configure:963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
966 echo "configure: failed program was:" >&5
967 cat conftest.$ac_ext >&5
975 echo "$ac_t""$ac_cv_cygwin" 1>&6
977 test "$ac_cv_cygwin" = yes && CYGWIN=yes
978 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
979 echo "configure:980: checking for mingw32 environment" >&5
980 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
981 echo $ac_n "(cached) $ac_c" 1>&6
983 cat > conftest.$ac_ext <<EOF
984 #line 985 "configure"
985 #include "confdefs.h"
991 if { (eval echo configure:992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
995 echo "configure: failed program was:" >&5
996 cat conftest.$ac_ext >&5
1004 echo "$ac_t""$ac_cv_mingw32" 1>&6
1006 test "$ac_cv_mingw32" = yes && MINGW32=yes
1008 # Check whether --enable-multilib or --disable-multilib was given.
1009 if test "${enable_multilib+set}" = set; then
1010 enableval="$enable_multilib"
1011 case "${enableval}" in
1012 yes) multilib=yes ;;
1014 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1020 # When building with srcdir == objdir, links to the source files will
1021 # be created in directories within the target_subdir. We have to
1022 # adjust toplevel_srcdir accordingly, so that configure finds
1023 # install-sh and other auxiliary files that live in the top-level
1025 if test "${srcdir}" = "."; then
1026 if test -z "${with_target_subdir}"; then
1029 if test "${with_target_subdir}" != "."; then
1030 toprel="${with_multisrctop}../.."
1032 toprel="${with_multisrctop}.."
1039 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1040 if test -f $ac_dir/install-sh; then
1042 ac_install_sh="$ac_aux_dir/install-sh -c"
1044 elif test -f $ac_dir/install.sh; then
1046 ac_install_sh="$ac_aux_dir/install.sh -c"
1050 if test -z "$ac_aux_dir"; then
1051 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1053 ac_config_guess=$ac_aux_dir/config.guess
1054 ac_config_sub=$ac_aux_dir/config.sub
1055 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1057 toplevel_srcdir=\${top_srcdir}/$toprel
1060 # Export build and source directories.
1061 # These need to be absolute paths, yet at the same time need to
1062 # canonicalize only relative paths, because then amd will not unmount
1063 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1064 glibcpp_builddir=`pwd`
1066 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1067 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1074 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1075 # be 'cp -p' if linking isn't available.
1076 #ac_cv_prog_LN_S='cp -p'
1077 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1078 echo "configure:1079: checking whether ln -s works" >&5
1079 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1080 echo $ac_n "(cached) $ac_c" 1>&6
1083 if ln -s X conftestdata 2>/dev/null
1086 ac_cv_prog_LN_S="ln -s"
1091 LN_S="$ac_cv_prog_LN_S"
1092 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1093 echo "$ac_t""yes" 1>&6
1095 echo "$ac_t""no" 1>&6
1099 # We use these options to decide which functions to include.
1100 # Check whether --with-target-subdir or --without-target-subdir was given.
1101 if test "${with_target_subdir+set}" = set; then
1102 withval="$with_target_subdir"
1106 # Check whether --with-cross-host or --without-cross-host was given.
1107 if test "${with_cross_host+set}" = set; then
1108 withval="$with_cross_host"
1113 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1116 # Never versions of autoconf add an underscore to these functions.
1117 # Prevent future problems ...
1125 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1126 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1127 # are probably using a cross compiler, which will not be able to fully
1128 # link an executable. This should really be fixed in autoconf
1134 # Extract the first word of "gcc", so it can be a program name with args.
1135 set dummy gcc; ac_word=$2
1136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1137 echo "configure:1138: checking for $ac_word" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1139 echo $ac_n "(cached) $ac_c" 1>&6
1141 if test -n "$CC"; then
1142 ac_cv_prog_CC="$CC" # Let the user override the test.
1144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1146 for ac_dir in $ac_dummy; do
1147 test -z "$ac_dir" && ac_dir=.
1148 if test -f $ac_dir/$ac_word; then
1157 if test -n "$CC"; then
1158 echo "$ac_t""$CC" 1>&6
1160 echo "$ac_t""no" 1>&6
1163 if test -z "$CC"; then
1164 # Extract the first word of "cc", so it can be a program name with args.
1165 set dummy cc; ac_word=$2
1166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1167 echo "configure:1168: checking for $ac_word" >&5
1168 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1169 echo $ac_n "(cached) $ac_c" 1>&6
1171 if test -n "$CC"; then
1172 ac_cv_prog_CC="$CC" # Let the user override the test.
1174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1177 for ac_dir in $ac_dummy; do
1178 test -z "$ac_dir" && ac_dir=.
1179 if test -f $ac_dir/$ac_word; then
1180 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1181 ac_prog_rejected=yes
1189 if test $ac_prog_rejected = yes; then
1190 # We found a bogon in the path, so make sure we never use it.
1191 set dummy $ac_cv_prog_CC
1193 if test $# -gt 0; then
1194 # We chose a different compiler from the bogus one.
1195 # However, it has the same basename, so the bogon will be chosen
1196 # first if we set CC to just the basename; use the full file name.
1198 set dummy "$ac_dir/$ac_word" "$@"
1206 if test -n "$CC"; then
1207 echo "$ac_t""$CC" 1>&6
1209 echo "$ac_t""no" 1>&6
1212 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1215 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1216 echo "configure:1217: checking whether we are using GNU C" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1220 cat > conftest.c <<EOF
1225 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1232 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1234 if test $ac_cv_prog_gcc = yes; then
1236 ac_test_CFLAGS="${CFLAGS+set}"
1237 ac_save_CFLAGS="$CFLAGS"
1239 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1240 echo "configure:1241: checking whether ${CC-cc} accepts -g" >&5
1241 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1242 echo $ac_n "(cached) $ac_c" 1>&6
1244 echo 'void f(){}' > conftest.c
1245 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1254 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1255 if test "$ac_test_CFLAGS" = set; then
1256 CFLAGS="$ac_save_CFLAGS"
1257 elif test $ac_cv_prog_cc_g = yes; then
1264 test "${CFLAGS+set}" = set || CFLAGS="-g"
1268 # Can't just call these here as g++ requires libstc++ to be built....
1271 # Likewise for AC_PROG_CXX.
1275 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1276 # flags that come in CXX while configuring libstdc++. They're different
1277 # from those used for all other target libraries. If CXX is set in
1278 # the environment, respect that here.
1280 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1282 # Extract the first word of "$ac_prog", so it can be a program name with args.
1283 set dummy $ac_prog; ac_word=$2
1284 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1285 echo "configure:1286: checking for $ac_word" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1289 if test -n "$glibcpp_CXX"; then
1290 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1292 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1294 for ac_dir in $ac_dummy; do
1295 test -z "$ac_dir" && ac_dir=.
1296 if test -f $ac_dir/$ac_word; then
1297 ac_cv_prog_glibcpp_CXX="$ac_prog"
1304 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1305 if test -n "$glibcpp_CXX"; then
1306 echo "$ac_t""$glibcpp_CXX" 1>&6
1308 echo "$ac_t""no" 1>&6
1311 test -n "$glibcpp_CXX" && break
1313 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1317 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1319 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1320 echo "configure:1321: checking whether we are using GNU C++" >&5
1321 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1322 echo $ac_n "(cached) $ac_c" 1>&6
1324 cat > conftest.C <<EOF
1329 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1336 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1338 if test $ac_cv_prog_gxx = yes; then
1340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1341 ac_save_CXXFLAGS="$CXXFLAGS"
1343 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1344 echo "configure:1345: checking whether ${CXX-g++} accepts -g" >&5
1345 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1346 echo $ac_n "(cached) $ac_c" 1>&6
1348 echo 'void f(){}' > conftest.cc
1349 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1350 ac_cv_prog_cxx_g=yes
1358 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1359 if test "$ac_test_CXXFLAGS" = set; then
1360 CXXFLAGS="$ac_save_CXXFLAGS"
1361 elif test $ac_cv_prog_cxx_g = yes; then
1368 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1372 # For some reason, gettext needs this.
1374 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1375 echo "configure:1376: checking for strerror in -lcposix" >&5
1376 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1378 echo $ac_n "(cached) $ac_c" 1>&6
1380 ac_save_LIBS="$LIBS"
1381 LIBS="-lcposix $LIBS"
1382 cat > conftest.$ac_ext <<EOF
1383 #line 1384 "configure"
1384 #include "confdefs.h"
1385 /* Override any gcc2 internal prototype to avoid an error. */
1386 /* We use char because int might match the return type of a gcc2
1387 builtin and then its argument prototype would still apply. */
1394 if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1396 eval "ac_cv_lib_$ac_lib_var=yes"
1398 echo "configure: failed program was:" >&5
1399 cat conftest.$ac_ext >&5
1401 eval "ac_cv_lib_$ac_lib_var=no"
1404 LIBS="$ac_save_LIBS"
1407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1408 echo "$ac_t""yes" 1>&6
1409 LIBS="$LIBS -lcposix"
1411 echo "$ac_t""no" 1>&6
1417 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1418 set dummy ${ac_tool_prefix}as; ac_word=$2
1419 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1420 echo "configure:1421: checking for $ac_word" >&5
1421 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1422 echo $ac_n "(cached) $ac_c" 1>&6
1424 if test -n "$AS"; then
1425 ac_cv_prog_AS="$AS" # Let the user override the test.
1427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1429 for ac_dir in $ac_dummy; do
1430 test -z "$ac_dir" && ac_dir=.
1431 if test -f $ac_dir/$ac_word; then
1432 ac_cv_prog_AS="${ac_tool_prefix}as"
1437 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1441 if test -n "$AS"; then
1442 echo "$ac_t""$AS" 1>&6
1444 echo "$ac_t""no" 1>&6
1449 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1450 set dummy ${ac_tool_prefix}ar; ac_word=$2
1451 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1452 echo "configure:1453: checking for $ac_word" >&5
1453 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1454 echo $ac_n "(cached) $ac_c" 1>&6
1456 if test -n "$AR"; then
1457 ac_cv_prog_AR="$AR" # Let the user override the test.
1459 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1461 for ac_dir in $ac_dummy; do
1462 test -z "$ac_dir" && ac_dir=.
1463 if test -f $ac_dir/$ac_word; then
1464 ac_cv_prog_AR="${ac_tool_prefix}ar"
1469 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1473 if test -n "$AR"; then
1474 echo "$ac_t""$AR" 1>&6
1476 echo "$ac_t""no" 1>&6
1481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1482 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1483 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1484 echo "configure:1485: checking for $ac_word" >&5
1485 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1486 echo $ac_n "(cached) $ac_c" 1>&6
1488 if test -n "$RANLIB"; then
1489 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1493 for ac_dir in $ac_dummy; do
1494 test -z "$ac_dir" && ac_dir=.
1495 if test -f $ac_dir/$ac_word; then
1496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1503 RANLIB="$ac_cv_prog_RANLIB"
1504 if test -n "$RANLIB"; then
1505 echo "$ac_t""$RANLIB" 1>&6
1507 echo "$ac_t""no" 1>&6
1511 if test -z "$ac_cv_prog_RANLIB"; then
1512 if test -n "$ac_tool_prefix"; then
1513 # Extract the first word of "ranlib", so it can be a program name with args.
1514 set dummy ranlib; ac_word=$2
1515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1516 echo "configure:1517: checking for $ac_word" >&5
1517 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1518 echo $ac_n "(cached) $ac_c" 1>&6
1520 if test -n "$RANLIB"; then
1521 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1525 for ac_dir in $ac_dummy; do
1526 test -z "$ac_dir" && ac_dir=.
1527 if test -f $ac_dir/$ac_word; then
1528 ac_cv_prog_RANLIB="ranlib"
1533 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1536 RANLIB="$ac_cv_prog_RANLIB"
1537 if test -n "$RANLIB"; then
1538 echo "$ac_t""$RANLIB" 1>&6
1540 echo "$ac_t""no" 1>&6
1544 RANLIB="ranlib-not-found-in-path-error"
1548 # Find a good install program. We prefer a C program (faster),
1549 # so one script is as good as another. But avoid the broken or
1550 # incompatible versions:
1551 # SysV /etc/install, /usr/sbin/install
1552 # SunOS /usr/etc/install
1553 # IRIX /sbin/install
1555 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1556 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1557 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1558 # ./install, which can be erroneously created by make from ./install.sh.
1559 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1560 echo "configure:1561: checking for a BSD compatible install" >&5
1561 if test -z "$INSTALL"; then
1562 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1563 echo $ac_n "(cached) $ac_c" 1>&6
1565 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1566 for ac_dir in $PATH; do
1567 # Account for people who put trailing slashes in PATH elements.
1569 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1574 for ac_prog in ginstall scoinst install; do
1575 if test -f $ac_dir/$ac_prog; then
1576 if test $ac_prog = install &&
1577 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1578 # AIX install. It has an incompatible calling convention.
1581 ac_cv_path_install="$ac_dir/$ac_prog -c"
1592 if test "${ac_cv_path_install+set}" = set; then
1593 INSTALL="$ac_cv_path_install"
1595 # As a last resort, use the slow shell script. We don't cache a
1596 # path for INSTALL within a source directory, because that will
1597 # break other packages using the cache if that directory is
1598 # removed, or if the path is relative.
1599 INSTALL="$ac_install_sh"
1602 echo "$ac_t""$INSTALL" 1>&6
1604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1605 # It thinks the first close brace ends the variable substitution.
1606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1610 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1613 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1614 echo "configure:1615: checking whether to enable maintainer-specific portions of Makefiles" >&5
1615 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1616 if test "${enable_maintainer_mode+set}" = set; then
1617 enableval="$enable_maintainer_mode"
1618 USE_MAINTAINER_MODE=$enableval
1620 USE_MAINTAINER_MODE=no
1623 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1626 if test $USE_MAINTAINER_MODE = yes; then
1627 MAINTAINER_MODE_TRUE=
1628 MAINTAINER_MODE_FALSE='#'
1630 MAINTAINER_MODE_TRUE='#'
1631 MAINTAINER_MODE_FALSE=
1633 MAINT=$MAINTAINER_MODE_TRUE
1637 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1638 # at least currently, we never actually build a program, so we never
1639 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1640 # fails, because we are probably configuring with a cross compiler
1641 # which can't create executables. So we include AC_EXEEXT to keep
1642 # automake happy, but we don't execute it, since we don't care about
1645 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1646 # to nothing, so nothing would remain between `then' and `fi' if it
1647 # were not for the `:' below.
1651 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1652 echo "configure:1653: checking for executable suffix" >&5
1653 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1654 echo $ac_n "(cached) $ac_c" 1>&6
1656 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1660 echo 'int main () { return 0; }' > conftest.$ac_ext
1662 if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1663 for file in conftest.*; do
1665 *.c | *.o | *.obj) ;;
1666 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1670 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1673 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1678 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1679 echo "$ac_t""${ac_cv_exeext}" 1>&6
1684 . ${glibcpp_basedir}/configure.host
1686 case ${glibcpp_basedir} in
1687 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1688 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1691 # This does for the target what configure.host does for the host. In
1692 # addition to possibly modifying the same flags, it also sets up symlinks.
1694 . ${glibcpp_basedir}/configure.target
1695 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1696 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1703 # Check whether --enable-shared or --disable-shared was given.
1704 if test "${enable_shared+set}" = set; then
1705 enableval="$enable_shared"
1706 p=${PACKAGE-default}
1708 yes) enable_shared=yes ;;
1709 no) enable_shared=no ;;
1712 # Look at the argument we got. We use all the common list separators.
1713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1714 for pkg in $enableval; do
1715 if test "X$pkg" = "X$p"; then
1726 # Check whether --enable-static or --disable-static was given.
1727 if test "${enable_static+set}" = set; then
1728 enableval="$enable_static"
1729 p=${PACKAGE-default}
1731 yes) enable_static=yes ;;
1732 no) enable_static=no ;;
1735 # Look at the argument we got. We use all the common list separators.
1736 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1737 for pkg in $enableval; do
1738 if test "X$pkg" = "X$p"; then
1749 # Check whether --enable-fast-install or --disable-fast-install was given.
1750 if test "${enable_fast_install+set}" = set; then
1751 enableval="$enable_fast_install"
1752 p=${PACKAGE-default}
1754 yes) enable_fast_install=yes ;;
1755 no) enable_fast_install=no ;;
1757 enable_fast_install=no
1758 # Look at the argument we got. We use all the common list separators.
1759 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1760 for pkg in $enableval; do
1761 if test "X$pkg" = "X$p"; then
1762 enable_fast_install=yes
1769 enable_fast_install=yes
1772 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1773 if test "${with_gnu_ld+set}" = set; then
1774 withval="$with_gnu_ld"
1775 test "$withval" = no || with_gnu_ld=yes
1781 if test "$GCC" = yes; then
1782 # Check if gcc -print-prog-name=ld gives a path.
1783 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1784 echo "configure:1785: checking for ld used by GCC" >&5
1787 # gcc leaves a trailing carriage return which upsets mingw
1788 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1790 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1793 # Accept absolute paths.
1794 [\\/]* | [A-Za-z]:[\\/]*)
1795 re_direlt='/[^/][^/]*/\.\./'
1796 # Canonicalize the path of ld
1797 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1798 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1799 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1801 test -z "$LD" && LD="$ac_prog"
1804 # If it fails, then pretend we aren't using GCC.
1808 # If it is relative, then search for the first ld in PATH.
1812 elif test "$with_gnu_ld" = yes; then
1813 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1814 echo "configure:1815: checking for GNU ld" >&5
1816 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1817 echo "configure:1818: checking for non-GNU ld" >&5
1819 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1820 echo $ac_n "(cached) $ac_c" 1>&6
1822 if test -z "$LD"; then
1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1824 for ac_dir in $PATH; do
1825 test -z "$ac_dir" && ac_dir=.
1826 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1827 lt_cv_path_LD="$ac_dir/$ac_prog"
1828 # Check to see if the program is GNU ld. I'd rather use --version,
1829 # but apparently some GNU ld's only accept -v.
1830 # Break only if it was the GNU/non-GNU ld that we prefer.
1831 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1832 test "$with_gnu_ld" != no && break
1834 test "$with_gnu_ld" != yes && break
1840 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1845 if test -n "$LD"; then
1846 echo "$ac_t""$LD" 1>&6
1848 echo "$ac_t""no" 1>&6
1850 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1851 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1852 echo "configure:1853: checking if the linker ($LD) is GNU ld" >&5
1853 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1854 echo $ac_n "(cached) $ac_c" 1>&6
1856 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1857 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1858 lt_cv_prog_gnu_ld=yes
1860 lt_cv_prog_gnu_ld=no
1864 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1865 with_gnu_ld=$lt_cv_prog_gnu_ld
1868 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1869 echo "configure:1870: checking for $LD option to reload object files" >&5
1870 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1871 echo $ac_n "(cached) $ac_c" 1>&6
1873 lt_cv_ld_reload_flag='-r'
1876 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1877 reload_flag=$lt_cv_ld_reload_flag
1878 test -n "$reload_flag" && reload_flag=" $reload_flag"
1880 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1881 echo "configure:1882: checking for BSD-compatible nm" >&5
1882 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1883 echo $ac_n "(cached) $ac_c" 1>&6
1885 if test -n "$NM"; then
1886 # Let the user override the test.
1889 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1890 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1891 test -z "$ac_dir" && ac_dir=.
1892 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1893 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1894 # Check to see if the nm accepts a BSD-compat flag.
1895 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1896 # nm: unknown option "B" ignored
1897 # Tru64's nm complains that /dev/null is an invalid object file
1898 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1899 lt_cv_path_NM="$tmp_nm -B"
1901 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1902 lt_cv_path_NM="$tmp_nm -p"
1905 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1906 continue # so that we can try to find one that supports BSD flags
1911 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1916 echo "$ac_t""$NM" 1>&6
1918 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1919 echo "configure:1920: checking how to recognise dependant libraries" >&5
1920 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1921 echo $ac_n "(cached) $ac_c" 1>&6
1923 lt_cv_file_magic_cmd='$MAGIC_CMD'
1924 lt_cv_file_magic_test_file=
1925 lt_cv_deplibs_check_method='unknown'
1926 # Need to set the preceding variable on all platforms that support
1927 # interlibrary dependencies.
1928 # 'none' -- dependencies not supported.
1929 # `unknown' -- same as none, but documents that we really don't know.
1930 # 'pass_all' -- all dependencies passed with no checks.
1931 # 'test_compile' -- check by making test program.
1932 # 'file_magic [regex]' -- check by looking for files in library path
1933 # which responds to the $file_magic_cmd with a given egrep regex.
1934 # If you have `file' or equivalent on your system and you're not sure
1935 # whether `pass_all' will *always* work, you probably want this one.
1939 lt_cv_deplibs_check_method=pass_all
1943 lt_cv_deplibs_check_method=pass_all
1947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1948 lt_cv_file_magic_cmd='/usr/bin/file -L'
1949 lt_cv_file_magic_test_file=/shlib/libc.so
1952 cygwin* | mingw* |pw32*)
1953 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1954 lt_cv_file_magic_cmd='$OBJDUMP -f'
1957 darwin* | rhapsody*)
1958 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1959 lt_cv_file_magic_cmd='/usr/bin/file -L'
1961 rhapsody* | darwin1.012)
1962 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1965 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1971 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1974 # Not sure whether the presence of OpenBSD here was a mistake.
1975 # Let's accept both of them until this is cleared up.
1976 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1977 lt_cv_file_magic_cmd=/usr/bin/file
1978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1982 lt_cv_deplibs_check_method=pass_all
1987 lt_cv_deplibs_check_method=pass_all
1991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1992 lt_cv_file_magic_cmd=/usr/bin/file
1993 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1999 # this will be overridden with pass_all, but let us keep it just in case
2000 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2004 *-32|*"-32 ") libmagic=32-bit;;
2005 *-n32|*"-n32 ") libmagic=N32;;
2006 *-64|*"-64 ") libmagic=64-bit;;
2007 *) libmagic=never-match;;
2009 # this will be overridden with pass_all, but let us keep it just in case
2010 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2013 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2014 lt_cv_deplibs_check_method=pass_all
2017 # This must be Linux ELF.
2020 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2021 lt_cv_deplibs_check_method=pass_all ;;
2023 # glibc up to 2.1.1 does not perform some relocations on ARM
2024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2026 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2030 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2031 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2039 lt_cv_file_magic_cmd=/usr/bin/file
2040 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2043 osf3* | osf4* | osf5*)
2044 # this will be overridden with pass_all, but let us keep it just in case
2045 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2046 lt_cv_file_magic_test_file=/shlib/libc.so
2047 lt_cv_deplibs_check_method=pass_all
2051 lt_cv_deplibs_check_method=pass_all
2055 lt_cv_deplibs_check_method=pass_all
2056 lt_cv_file_magic_test_file=/lib/libc.so
2059 sysv5uw[78]* | sysv4*uw2*)
2060 lt_cv_deplibs_check_method=pass_all
2063 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2064 case $host_vendor in
2066 lt_cv_deplibs_check_method=pass_all
2069 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]'
2070 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2078 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2079 file_magic_cmd=$lt_cv_file_magic_cmd
2080 deplibs_check_method=$lt_cv_deplibs_check_method
2082 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2083 echo "configure:2084: checking for object suffix" >&5
2084 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2085 echo $ac_n "(cached) $ac_c" 1>&6
2088 echo 'int i = 1;' > conftest.$ac_ext
2089 if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2090 for ac_file in conftest.*; do
2093 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2097 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2102 echo "$ac_t""$ac_cv_objext" 1>&6
2103 OBJEXT=$ac_cv_objext
2104 ac_objext=$ac_cv_objext
2106 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2108 # Only perform the check for file, if the check method requires it
2109 case $deplibs_check_method in
2111 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2112 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2113 echo "configure:2114: checking for ${ac_tool_prefix}file" >&5
2114 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2115 echo $ac_n "(cached) $ac_c" 1>&6
2119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2125 ac_save_MAGIC_CMD="$MAGIC_CMD"
2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2127 ac_dummy="/usr/bin:$PATH"
2128 for ac_dir in $ac_dummy; do
2129 test -z "$ac_dir" && ac_dir=.
2130 if test -f $ac_dir/${ac_tool_prefix}file; then
2131 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2132 if test -n "$file_magic_test_file"; then
2133 case $deplibs_check_method in
2135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2138 egrep "$file_magic_regex" > /dev/null; then
2143 *** Warning: the command libtool uses to detect shared libraries,
2144 *** $file_magic_cmd, produces output that libtool cannot recognize.
2145 *** The result is that libtool may fail to recognize shared libraries
2146 *** as such. This will affect the creation of libtool libraries that
2147 *** depend on shared libraries, but programs linked with such libtool
2148 *** libraries will work regardless of this problem. Nevertheless, you
2149 *** may want to report the problem to your system manager and/or to
2150 *** bug-libtool@gnu.org
2160 MAGIC_CMD="$ac_save_MAGIC_CMD"
2165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2166 if test -n "$MAGIC_CMD"; then
2167 echo "$ac_t""$MAGIC_CMD" 1>&6
2169 echo "$ac_t""no" 1>&6
2172 if test -z "$lt_cv_path_MAGIC_CMD"; then
2173 if test -n "$ac_tool_prefix"; then
2174 echo $ac_n "checking for file""... $ac_c" 1>&6
2175 echo "configure:2176: checking for file" >&5
2176 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2177 echo $ac_n "(cached) $ac_c" 1>&6
2181 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2187 ac_save_MAGIC_CMD="$MAGIC_CMD"
2188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2189 ac_dummy="/usr/bin:$PATH"
2190 for ac_dir in $ac_dummy; do
2191 test -z "$ac_dir" && ac_dir=.
2192 if test -f $ac_dir/file; then
2193 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2194 if test -n "$file_magic_test_file"; then
2195 case $deplibs_check_method in
2197 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2199 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2200 egrep "$file_magic_regex" > /dev/null; then
2205 *** Warning: the command libtool uses to detect shared libraries,
2206 *** $file_magic_cmd, produces output that libtool cannot recognize.
2207 *** The result is that libtool may fail to recognize shared libraries
2208 *** as such. This will affect the creation of libtool libraries that
2209 *** depend on shared libraries, but programs linked with such libtool
2210 *** libraries will work regardless of this problem. Nevertheless, you
2211 *** may want to report the problem to your system manager and/or to
2212 *** bug-libtool@gnu.org
2222 MAGIC_CMD="$ac_save_MAGIC_CMD"
2227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2228 if test -n "$MAGIC_CMD"; then
2229 echo "$ac_t""$MAGIC_CMD" 1>&6
2231 echo "$ac_t""no" 1>&6
2243 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2246 echo "configure:2247: checking for $ac_word" >&5
2247 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2248 echo $ac_n "(cached) $ac_c" 1>&6
2250 if test -n "$RANLIB"; then
2251 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2253 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2255 for ac_dir in $ac_dummy; do
2256 test -z "$ac_dir" && ac_dir=.
2257 if test -f $ac_dir/$ac_word; then
2258 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2265 RANLIB="$ac_cv_prog_RANLIB"
2266 if test -n "$RANLIB"; then
2267 echo "$ac_t""$RANLIB" 1>&6
2269 echo "$ac_t""no" 1>&6
2273 if test -z "$ac_cv_prog_RANLIB"; then
2274 if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "ranlib", so it can be a program name with args.
2276 set dummy ranlib; ac_word=$2
2277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2278 echo "configure:2279: checking for $ac_word" >&5
2279 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2280 echo $ac_n "(cached) $ac_c" 1>&6
2282 if test -n "$RANLIB"; then
2283 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2287 for ac_dir in $ac_dummy; do
2288 test -z "$ac_dir" && ac_dir=.
2289 if test -f $ac_dir/$ac_word; then
2290 ac_cv_prog_RANLIB="ranlib"
2295 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2298 RANLIB="$ac_cv_prog_RANLIB"
2299 if test -n "$RANLIB"; then
2300 echo "$ac_t""$RANLIB" 1>&6
2302 echo "$ac_t""no" 1>&6
2310 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}strip; ac_word=$2
2312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2313 echo "configure:2314: checking for $ac_word" >&5
2314 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2315 echo $ac_n "(cached) $ac_c" 1>&6
2317 if test -n "$STRIP"; then
2318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2320 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2322 for ac_dir in $ac_dummy; do
2323 test -z "$ac_dir" && ac_dir=.
2324 if test -f $ac_dir/$ac_word; then
2325 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2332 STRIP="$ac_cv_prog_STRIP"
2333 if test -n "$STRIP"; then
2334 echo "$ac_t""$STRIP" 1>&6
2336 echo "$ac_t""no" 1>&6
2340 if test -z "$ac_cv_prog_STRIP"; then
2341 if test -n "$ac_tool_prefix"; then
2342 # Extract the first word of "strip", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2345 echo "configure:2346: checking for $ac_word" >&5
2346 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2347 echo $ac_n "(cached) $ac_c" 1>&6
2349 if test -n "$STRIP"; then
2350 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2354 for ac_dir in $ac_dummy; do
2355 test -z "$ac_dir" && ac_dir=.
2356 if test -f $ac_dir/$ac_word; then
2357 ac_cv_prog_STRIP="strip"
2362 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2365 STRIP="$ac_cv_prog_STRIP"
2366 if test -n "$STRIP"; then
2367 echo "$ac_t""$STRIP" 1>&6
2369 echo "$ac_t""no" 1>&6
2378 # Check for any special flags to pass to ltconfig.
2379 libtool_flags="--cache-file=$cache_file"
2380 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2381 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2382 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2383 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2384 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2385 libtool_flags="$libtool_flags --enable-dlopen"
2387 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2388 if test "${enable_libtool_lock+set}" = set; then
2389 enableval="$enable_libtool_lock"
2393 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2394 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2396 # Check whether --with-pic or --without-pic was given.
2397 if test "${with_pic+set}" = set; then
2404 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2405 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2407 # Some flags need to be propagated to the compiler or linker for good
2411 # Find out which ABI we are using.
2412 echo '#line 2413 "configure"' > conftest.$ac_ext
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 case `/usr/bin/file conftest.$ac_objext` in
2430 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2431 SAVE_CFLAGS="$CFLAGS"
2432 CFLAGS="$CFLAGS -belf"
2433 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2434 echo "configure:2435: checking whether the C compiler needs -belf" >&5
2435 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2436 echo $ac_n "(cached) $ac_c" 1>&6
2440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2444 cross_compiling=$ac_cv_prog_cc_cross
2446 cat > conftest.$ac_ext <<EOF
2447 #line 2448 "configure"
2448 #include "confdefs.h"
2454 if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2456 lt_cv_cc_needs_belf=yes
2458 echo "configure: failed program was:" >&5
2459 cat conftest.$ac_ext >&5
2461 lt_cv_cc_needs_belf=no
2465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2466 ac_cpp='$CPP $CPPFLAGS'
2467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2469 cross_compiling=$ac_cv_prog_cc_cross
2473 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2474 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2475 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2476 CFLAGS="$SAVE_CFLAGS"
2483 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2484 echo "configure:2485: checking how to run the C++ preprocessor" >&5
2485 if test -z "$CXXCPP"; then
2486 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2487 echo $ac_n "(cached) $ac_c" 1>&6
2490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2491 ac_cpp='$CXXCPP $CPPFLAGS'
2492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2494 cross_compiling=$ac_cv_prog_cxx_cross
2495 CXXCPP="${CXX-g++} -E"
2496 cat > conftest.$ac_ext <<EOF
2497 #line 2498 "configure"
2498 #include "confdefs.h"
2501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2502 { (eval echo configure:2503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2504 if test -z "$ac_err"; then
2508 echo "configure: failed program was:" >&5
2509 cat conftest.$ac_ext >&5
2514 ac_cv_prog_CXXCPP="$CXXCPP"
2516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2520 cross_compiling=$ac_cv_prog_cc_cross
2523 CXXCPP="$ac_cv_prog_CXXCPP"
2524 echo "$ac_t""$CXXCPP" 1>&6
2527 # Save cache, so that ltconfig can load it
2528 cat > confcache <<\EOF
2529 # This file is a shell script that caches the results of configure
2530 # tests run on this system so they can be shared between configure
2531 # scripts and configure runs. It is not useful on other systems.
2532 # If it contains results you don't want to keep, you may remove or edit it.
2534 # By default, configure uses ./config.cache as the cache file,
2535 # creating it if it does not exist already. You can give configure
2536 # the --cache-file=FILE option to use a different cache file; that is
2537 # what configure does when it calls configure scripts in
2538 # subdirectories, so they share the cache.
2539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2540 # config.status only pays attention to the cache file if you give it the
2541 # --recheck option to rerun configure.
2544 # The following way of writing the cache mishandles newlines in values,
2545 # but we know of no workaround that is simple, portable, and efficient.
2546 # So, don't put newlines in cache variables' values.
2547 # Ultrix sh set writes to stderr and can't be redirected directly,
2548 # and sets the high bit in the cache file unless we assign to the vars.
2550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2552 # `set' does not quote correctly, so add quotes (double-quote substitution
2553 # turns \\\\ into \\, and sed turns \\ into \).
2555 -e "s/'/'\\\\''/g" \
2556 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2559 # `set' quotes correctly as required by POSIX, so do not add quotes.
2560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2563 if cmp -s $cache_file confcache; then
2566 if test -w $cache_file; then
2567 echo "updating cache $cache_file"
2568 cat confcache > $cache_file
2570 echo "not updating unwritable cache $cache_file"
2576 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2577 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2578 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2579 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2580 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2581 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2582 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2583 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2584 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2585 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2587 # Reload cache, that may have been modified by ltconfig
2588 if test -r "$cache_file"; then
2589 echo "loading cache $cache_file"
2592 echo "creating cache $cache_file"
2597 # This can be used to rebuild libtool when needed
2598 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2600 # Always use our own libtool.
2601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2603 # Redirect the config.log output again, so that the ltconfig log is not
2604 # clobbered by the next message.
2605 exec 5>>./config.log
2609 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2611 lt_save_CFLAGS="$CFLAGS"
2612 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2613 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2614 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2615 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2616 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2617 deplibs_check_method="$deplibs_check_method" \
2618 file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2620 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2621 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2623 CFLAGS="$lt_save_CFLAGS"
2625 # Redirect the config.log output again, so that the ltconfig log is not
2626 # clobbered by the next message.
2627 exec 5>>./config.log
2637 # Check for c++ or library specific bits that don't require linking.
2638 #GLIBCPP_CHECK_COMPILER_VERSION
2639 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2640 echo "configure:2641: checking for GNU make" >&5
2641 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2642 echo $ac_n "(cached) $ac_c" 1>&6
2644 _cv_gnu_make_command='' ;
2645 for a in "${MAKE-make}" make gmake gnumake ; do
2646 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2648 _cv_gnu_make_command=$a ;
2655 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2656 if test "x$_cv_gnu_make_command" != "x" ; then
2664 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2665 # Check whether --enable-debug or --disable-debug was given.
2666 if test "${enable_debug+set}" = set; then
2667 enableval="$enable_debug"
2668 case "${enableval}" in
2669 yes) enable_debug=yes ;;
2670 no) enable_debug=no ;;
2671 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2677 case "${enable_debug}" in
2679 DEBUG_FLAGS='-O0 -ggdb3'
2687 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2688 echo "configure:2689: checking how to run the C preprocessor" >&5
2689 # On Suns, sometimes $CPP names a directory.
2690 if test -n "$CPP" && test -d "$CPP"; then
2693 if test -z "$CPP"; then
2694 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2695 echo $ac_n "(cached) $ac_c" 1>&6
2697 # This must be in double quotes, not single quotes, because CPP may get
2698 # substituted into the Makefile and "${CC-cc}" will confuse make.
2700 # On the NeXT, cc -E runs the code through the compiler's parser,
2701 # not just through cpp.
2702 cat > conftest.$ac_ext <<EOF
2703 #line 2704 "configure"
2704 #include "confdefs.h"
2708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2711 if test -z "$ac_err"; then
2715 echo "configure: failed program was:" >&5
2716 cat conftest.$ac_ext >&5
2718 CPP="${CC-cc} -E -traditional-cpp"
2719 cat > conftest.$ac_ext <<EOF
2720 #line 2721 "configure"
2721 #include "confdefs.h"
2725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2726 { (eval echo configure:2727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2728 if test -z "$ac_err"; then
2732 echo "configure: failed program was:" >&5
2733 cat conftest.$ac_ext >&5
2735 CPP="${CC-cc} -nologo -E"
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2745 if test -z "$ac_err"; then
2749 echo "configure: failed program was:" >&5
2750 cat conftest.$ac_ext >&5
2759 ac_cv_prog_CPP="$CPP"
2761 CPP="$ac_cv_prog_CPP"
2763 ac_cv_prog_CPP="$CPP"
2765 echo "$ac_t""$CPP" 1>&6
2768 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2769 echo "configure:2770: checking for cstdio to use" >&5
2770 # Check whether --enable-cstdio or --disable-cstdio was given.
2771 if test "${enable_cstdio+set}" = set; then
2772 enableval="$enable_cstdio"
2773 if test x$enable_cstdio = xno; then
2781 enable_cstdio_flag=$enable_cstdio
2783 case x${enable_cstdio_flag} in
2785 CSTDIO_H=config/io/c_io_libio.h
2786 BASIC_FILE_H=config/io/basic_file_libio.h
2787 BASIC_FILE_CC=config/io/basic_file_libio.cc
2788 echo "$ac_t""libio" 1>&6
2790 # see if we are on a system with libio native (ie, linux)
2791 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2792 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2793 echo "configure:2794: checking for libio.h" >&5
2794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2795 echo $ac_n "(cached) $ac_c" 1>&6
2797 cat > conftest.$ac_ext <<EOF
2798 #line 2799 "configure"
2799 #include "confdefs.h"
2802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2803 { (eval echo configure:2804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2805 if test -z "$ac_err"; then
2807 eval "ac_cv_header_$ac_safe=yes"
2810 echo "configure: failed program was:" >&5
2811 cat conftest.$ac_ext >&5
2813 eval "ac_cv_header_$ac_safe=no"
2817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2818 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no" 1>&6
2826 # Need to check and see what version of glibc is being used. If
2827 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2828 # compile most of libio for linux systems.
2829 if test x$has_libio = x"yes"; then
2832 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2833 echo "configure:2834: checking for glibc version >= 2.2" >&5
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure"
2836 #include "confdefs.h"
2838 #include <features.h>
2839 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2845 egrep "ok" >/dev/null 2>&1; then
2847 glibc_satisfactory=yes
2850 glibc_satisfactory=no
2854 echo "$ac_t""$glibc_satisfactory" 1>&6
2858 # XXX at the moment, admit defeat and force the recompilation
2859 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2860 glibc_satisfactory=no
2862 if test x$glibc_satisfactory = x"yes"; then
2867 # bkoz XXX need to add checks to enable this
2868 # pme XXX here's a first pass at such a check
2869 if test x$enable_c_mbchar != xno; then
2877 # Using libio, but <libio.h> doesn't exist on the target system. . .
2879 # bkoz XXX need to add checks to enable this
2880 # pme XXX here's a first pass at such a check
2881 if test x$enable_c_mbchar != xno; then
2888 xstdio | x | xno | xnone | xyes)
2890 CSTDIO_H=config/io/c_io_stdio.h
2891 BASIC_FILE_H=config/io/basic_file_stdio.h
2892 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2893 echo "$ac_t""stdio" 1>&6
2895 # We're not using stdio.
2900 echo "$enable_cstdio is an unknown io package" 1>&2
2908 # 2000-08-04 bkoz hack
2909 CCODECVT_C=config/io/c_io_libio_codecvt.c
2911 # 2000-08-04 bkoz hack
2915 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2916 GLIBCPP_BUILD_LIBIO_TRUE=
2917 GLIBCPP_BUILD_LIBIO_FALSE='#'
2919 GLIBCPP_BUILD_LIBIO_TRUE='#'
2920 GLIBCPP_BUILD_LIBIO_FALSE=
2924 if test "$need_libio" = yes; then
2925 GLIBCPP_NEED_LIBIO_TRUE=
2926 GLIBCPP_NEED_LIBIO_FALSE='#'
2928 GLIBCPP_NEED_LIBIO_TRUE='#'
2929 GLIBCPP_NEED_LIBIO_FALSE=
2933 if test "$need_wlibio" = yes; then
2934 GLIBCPP_NEED_WLIBIO_TRUE=
2935 GLIBCPP_NEED_WLIBIO_FALSE='#'
2937 GLIBCPP_NEED_WLIBIO_TRUE='#'
2938 GLIBCPP_NEED_WLIBIO_FALSE=
2940 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2941 libio_la=../libio/libio.la
2948 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2949 echo "configure:2950: checking for clocale to use" >&5
2950 # Check whether --enable-clocale or --disable-clocale was given.
2951 if test "${enable_clocale+set}" = set; then
2952 enableval="$enable_clocale"
2953 if test x$enable_clocale = xno; then
2954 enable_clocale=generic
2957 enable_clocale=generic
2961 enable_clocale_flag=$enable_clocale
2963 case x${enable_clocale_flag} in
2965 echo "$ac_t""generic" 1>&6
2967 # Don't use gettext.
2970 CLOCALE_H=config/locale/c_locale_generic.h
2971 CLOCALE_CC=config/locale/c_locale_generic.cc
2972 CCODECVT_H=config/locale/codecvt_specializations_generic.h
2973 CCOLLATE_CC=config/locale/collate_members_generic.cc
2974 CMESSAGES_H=config/locale/messages_members_generic.h
2975 CMESSAGES_CC=config/locale/messages_members_generic.cc
2976 CMONEY_CC=config/locale/moneypunct_members_generic.cc
2977 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
2978 CTIME_CC=config/locale/time_members_generic.cc
2981 echo "$ac_t""gnu" 1>&6
2983 # Declare intention to use gettext, and add support for specific
2985 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
2987 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
2988 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
2991 # Export the build objects.
2992 for ling in $ALL_LINGUAS; do \
2993 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
2994 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
2999 CLOCALE_H=config/locale/c_locale_gnu.h
3000 CLOCALE_CC=config/locale/c_locale_gnu.cc
3001 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3002 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3003 CMESSAGES_H=config/locale/messages_members_gnu.h
3004 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3005 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3006 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3007 CTIME_CC=config/locale/time_members_gnu.cc
3010 echo "$ac_t""generic" 1>&6
3012 # Don't use gettext.
3015 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3016 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3017 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3018 CCOLLATE_CC=config/locale/collate_members_generic.cc
3019 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3020 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3021 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3022 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3023 CTIME_CC=config/locale/time_members_generic.cc
3026 echo "$enable_clocale is an unknown locale package" 1>&2
3031 # This is where the testsuite looks for locale catalogs, using the
3032 # -DLOCALEDIR define during testsuite compilation.
3033 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3047 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3048 if test "${enable_c_mbchar+set}" = set; then
3049 enableval="$enable_c_mbchar"
3050 case "$enableval" in
3051 yes) enable_c_mbchar=yes ;;
3052 no) enable_c_mbchar=no ;;
3053 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3060 # Check whether --enable-c99 or --disable-c99 was given.
3061 if test "${enable_c99+set}" = set; then
3062 enableval="$enable_c99"
3063 case "$enableval" in
3064 yes) enable_c99=yes ;;
3065 no) enable_c99=no ;;
3066 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3075 ac_cpp='$CXXCPP $CPPFLAGS'
3076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3078 cross_compiling=$ac_cv_prog_cxx_cross
3081 # Check for the existence of <math.h> functions used if C99 is enabled.
3083 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3084 echo "configure:3085: checking for ISO C99 support in <math.h>" >&5
3085 cat > conftest.$ac_ext <<EOF
3086 #line 3087 "configure"
3087 #include "confdefs.h"
3093 if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3096 echo "configure: failed program was:" >&5
3097 cat conftest.$ac_ext >&5
3102 cat > conftest.$ac_ext <<EOF
3103 #line 3104 "configure"
3104 #include "confdefs.h"
3110 if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3113 echo "configure: failed program was:" >&5
3114 cat conftest.$ac_ext >&5
3119 cat > conftest.$ac_ext <<EOF
3120 #line 3121 "configure"
3121 #include "confdefs.h"
3127 if { (eval echo configure:3128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3130 echo "configure: failed program was:" >&5
3131 cat conftest.$ac_ext >&5
3136 cat > conftest.$ac_ext <<EOF
3137 #line 3138 "configure"
3138 #include "confdefs.h"
3144 if { (eval echo configure:3145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3147 echo "configure: failed program was:" >&5
3148 cat conftest.$ac_ext >&5
3153 cat > conftest.$ac_ext <<EOF
3154 #line 3155 "configure"
3155 #include "confdefs.h"
3161 if { (eval echo configure:3162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3164 echo "configure: failed program was:" >&5
3165 cat conftest.$ac_ext >&5
3170 cat > conftest.$ac_ext <<EOF
3171 #line 3172 "configure"
3172 #include "confdefs.h"
3178 if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3181 echo "configure: failed program was:" >&5
3182 cat conftest.$ac_ext >&5
3187 cat > conftest.$ac_ext <<EOF
3188 #line 3189 "configure"
3189 #include "confdefs.h"
3195 if { (eval echo configure:3196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3198 echo "configure: failed program was:" >&5
3199 cat conftest.$ac_ext >&5
3204 cat > conftest.$ac_ext <<EOF
3205 #line 3206 "configure"
3206 #include "confdefs.h"
3209 isgreaterequal(0.0,0.0);
3212 if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3215 echo "configure: failed program was:" >&5
3216 cat conftest.$ac_ext >&5
3221 cat > conftest.$ac_ext <<EOF
3222 #line 3223 "configure"
3223 #include "confdefs.h"
3229 if { (eval echo configure:3230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3232 echo "configure: failed program was:" >&5
3233 cat conftest.$ac_ext >&5
3238 cat > conftest.$ac_ext <<EOF
3239 #line 3240 "configure"
3240 #include "confdefs.h"
3243 islessequal(0.0,0.0);
3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3249 echo "configure: failed program was:" >&5
3250 cat conftest.$ac_ext >&5
3255 cat > conftest.$ac_ext <<EOF
3256 #line 3257 "configure"
3257 #include "confdefs.h"
3260 islessgreater(0.0,0.0);
3263 if { (eval echo configure:3264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3266 echo "configure: failed program was:" >&5
3267 cat conftest.$ac_ext >&5
3272 cat > conftest.$ac_ext <<EOF
3273 #line 3274 "configure"
3274 #include "confdefs.h"
3277 isunordered(0.0,0.0);
3280 if { (eval echo configure:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3283 echo "configure: failed program was:" >&5
3284 cat conftest.$ac_ext >&5
3289 echo "$ac_t""$ac_c99_math" 1>&6
3291 # Check for the existence in <stdio.h> of vscanf, et. al.
3293 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3294 echo "configure:3295: checking for ISO C99 support in <stdio.h>" >&5
3295 cat > conftest.$ac_ext <<EOF
3296 #line 3297 "configure"
3297 #include "confdefs.h"
3300 snprintf("12", 0, "%i");
3303 if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3306 echo "configure: failed program was:" >&5
3307 cat conftest.$ac_ext >&5
3312 cat > conftest.$ac_ext <<EOF
3313 #line 3314 "configure"
3314 #include "confdefs.h"
3317 void foo(char* fmt, ...)
3318 {va_list args; va_start(args, fmt);
3319 vfscanf(stderr, "%i", args);}
3324 if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3327 echo "configure: failed program was:" >&5
3328 cat conftest.$ac_ext >&5
3333 cat > conftest.$ac_ext <<EOF
3334 #line 3335 "configure"
3335 #include "confdefs.h"
3338 void foo(char* fmt, ...)
3339 {va_list args; va_start(args, fmt);
3340 vscanf("%i", args);}
3345 if { (eval echo configure:3346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3348 echo "configure: failed program was:" >&5
3349 cat conftest.$ac_ext >&5
3354 cat > conftest.$ac_ext <<EOF
3355 #line 3356 "configure"
3356 #include "confdefs.h"
3359 void foo(char* fmt, ...)
3360 {va_list args; va_start(args, fmt);
3361 vsnprintf(fmt, 0, "%i", args);}
3366 if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3369 echo "configure: failed program was:" >&5
3370 cat conftest.$ac_ext >&5
3375 cat > conftest.$ac_ext <<EOF
3376 #line 3377 "configure"
3377 #include "confdefs.h"
3380 void foo(char* fmt, ...)
3381 {va_list args; va_start(args, fmt);
3382 vsscanf(fmt, "%i", args);}
3387 if { (eval echo configure:3388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3390 echo "configure: failed program was:" >&5
3391 cat conftest.$ac_ext >&5
3396 echo "$ac_t""$ac_c99_stdio" 1>&6
3398 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3400 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3401 echo "configure:3402: checking for lldiv_t declaration" >&5
3402 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3403 echo $ac_n "(cached) $ac_c" 1>&6
3406 cat > conftest.$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3414 if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3418 echo "configure: failed program was:" >&5
3419 cat conftest.$ac_ext >&5
3427 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3429 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3430 echo "configure:3431: checking for ISO C99 support in <stdlib.h>" >&5
3431 cat > conftest.$ac_ext <<EOF
3432 #line 3433 "configure"
3433 #include "confdefs.h"
3436 char* tmp; strtof("gnu", &tmp);
3439 if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3442 echo "configure: failed program was:" >&5
3443 cat conftest.$ac_ext >&5
3448 cat > conftest.$ac_ext <<EOF
3449 #line 3450 "configure"
3450 #include "confdefs.h"
3453 char* tmp; strtold("gnu", &tmp);
3456 if { (eval echo configure:3457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3459 echo "configure: failed program was:" >&5
3460 cat conftest.$ac_ext >&5
3465 cat > conftest.$ac_ext <<EOF
3466 #line 3467 "configure"
3467 #include "confdefs.h"
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure: failed program was:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure"
3484 #include "confdefs.h"
3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3493 echo "configure: failed program was:" >&5
3494 cat conftest.$ac_ext >&5
3499 cat > conftest.$ac_ext <<EOF
3500 #line 3501 "configure"
3501 #include "confdefs.h"
3507 if { (eval echo configure:3508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3510 echo "configure: failed program was:" >&5
3511 cat conftest.$ac_ext >&5
3516 cat > conftest.$ac_ext <<EOF
3517 #line 3518 "configure"
3518 #include "confdefs.h"
3524 if { (eval echo configure:3525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3527 echo "configure: failed program was:" >&5
3528 cat conftest.$ac_ext >&5
3533 if test x"$ac_c99_lldiv_t" = x"no"; then
3536 echo "$ac_t""$ac_c99_stdlib" 1>&6
3538 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3539 # XXX the wchar.h checks should be rolled into the general C99 bits.
3541 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3542 echo "configure:3543: checking for additional ISO C99 support in <wchar.h>" >&5
3543 cat > conftest.$ac_ext <<EOF
3544 #line 3545 "configure"
3545 #include "confdefs.h"
3548 wcstold(L"10.0", NULL);
3551 if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3554 echo "configure: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3565 wcstoll(L"10", NULL, 10);
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3571 echo "configure: failed program was:" >&5
3572 cat conftest.$ac_ext >&5
3577 cat > conftest.$ac_ext <<EOF
3578 #line 3579 "configure"
3579 #include "confdefs.h"
3582 wcstoull(L"10", NULL, 10);
3585 if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 echo "configure: failed program was:" >&5
3589 cat conftest.$ac_ext >&5
3594 echo "$ac_t""$ac_c99_wchar" 1>&6
3596 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3597 echo "configure:3598: checking for enabled ISO C99 support" >&5
3598 if test x"$ac_c99_math" = x"no" ||
3599 test x"$ac_c99_stdio" = x"no" ||
3600 test x"$ac_c99_stdlib" = x"no" ||
3601 test x"$ac_c99_wchar" = x"no"; then
3604 echo "$ac_t""$enable_c99" 1>&6
3606 # Option parsed, now set things appropriately
3607 if test x"$enable_c99" = x"yes"; then
3608 cat >> confdefs.h <<\EOF
3609 #define _GLIBCPP_USE_C99 1
3615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3616 ac_cpp='$CPP $CPPFLAGS'
3617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3619 cross_compiling=$ac_cv_prog_cc_cross
3623 # Check whether --enable-long-long or --disable-long-long was given.
3624 if test "${enable_long_long+set}" = set; then
3625 enableval="$enable_long_long"
3626 case "$enableval" in
3627 yes) enable_long_long=yes ;;
3628 no) enable_long_long=no ;;
3629 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3632 enable_long_long=yes
3637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3638 ac_cpp='$CXXCPP $CPPFLAGS'
3639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3641 cross_compiling=$ac_cv_prog_cxx_cross
3644 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3645 echo "configure:3646: checking for enabled long long I/O support" >&5
3646 # iostreams require strtoll, strtoull to compile
3647 cat > conftest.$ac_ext <<EOF
3648 #line 3649 "configure"
3649 #include "confdefs.h"
3652 char* tmp; strtoll("gnu", &tmp, 10);
3655 if { (eval echo configure:3656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3658 echo "configure: failed program was:" >&5
3659 cat conftest.$ac_ext >&5
3664 cat > conftest.$ac_ext <<EOF
3665 #line 3666 "configure"
3666 #include "confdefs.h"
3669 char* tmp; strtoull("gnu", &tmp, 10);
3672 if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3675 echo "configure: failed program was:" >&5
3676 cat conftest.$ac_ext >&5
3682 # Option parsed, now set things appropriately
3683 if test x"$enable_long_long" = xyes; then
3684 cat >> confdefs.h <<\EOF
3685 #define _GLIBCPP_USE_LONG_LONG 1
3689 echo "$ac_t""$enable_long_long" 1>&6
3692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3696 cross_compiling=$ac_cv_prog_cc_cross
3699 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3700 echo "configure:3701: checking for c header strategy to use" >&5
3701 # Check whether --enable-cheaders or --disable-cheaders was given.
3702 if test "${enable_cheaders+set}" = set; then
3703 enableval="$enable_cheaders"
3705 case "$enableval" in
3710 enable_cheaders=c_std
3713 enable_cheaders=c_shadow
3715 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3719 enable_cheaders=c_std
3722 echo "$ac_t""$enable_cheaders" 1>&6
3724 case "$enable_cheaders" in
3726 CSHADOW_FLAGS="-fno-builtin"
3727 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3728 cat >> confdefs.h <<\EOF
3729 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3735 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3739 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3747 if test "$enable_cheaders" = c_shadow; then
3748 GLIBCPP_USE_CSHADOW_TRUE=
3749 GLIBCPP_USE_CSHADOW_FALSE='#'
3751 GLIBCPP_USE_CSHADOW_TRUE='#'
3752 GLIBCPP_USE_CSHADOW_FALSE=
3756 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3757 echo "configure:3758: checking for thread model used by GCC" >&5
3758 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3759 echo "$ac_t""$target_thread_file" 1>&6
3761 if test $target_thread_file != single; then
3762 cat >> confdefs.h <<\EOF
3763 #define HAVE_GTHR_DEFAULT 1
3766 cat >> confdefs.h <<\EOF
3767 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3772 glibcpp_thread_h=gthr-$target_thread_file.h
3775 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3776 if test "${enable_cxx_flags+set}" = set; then
3777 enableval="$enable_cxx_flags"
3778 case "x$enableval" in
3780 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3782 enable_cxx_flags='' ;;
3784 enable_cxx_flags="$enableval" ;;
3787 enable_cxx_flags='none'
3791 if test "$enable_cxx_flags" = "none"; then
3792 enable_cxx_flags='';
3795 if test -n "$enable_cxx_flags"; then
3796 for f in $enable_cxx_flags; do
3800 *) # and we're trying to pass /what/ exactly?
3801 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3805 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3809 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3810 echo "configure:3811: checking for exception model to use" >&5
3813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3814 ac_cpp='$CXXCPP $CPPFLAGS'
3815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3817 cross_compiling=$ac_cv_prog_cxx_cross
3819 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3820 if test "${enable_sjlj_exceptions+set}" = set; then
3821 enableval="$enable_sjlj_exceptions"
3824 cat > conftest.$ac_ext << EOF
3825 #line 3826 "configure"
3834 old_CXXFLAGS="$CXXFLAGS"
3836 if { (eval echo configure:3837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3837 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3838 enable_sjlj_exceptions=yes
3839 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3840 enable_sjlj_exceptions=no
3843 CXXFLAGS="$old_CXXFLAGS"
3847 if test x$enable_sjlj_exceptions = xyes; then
3848 cat >> confdefs.h <<\EOF
3849 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3852 ac_exception_model_name=sjlj
3853 elif test x$enable_sjlj_exceptions = xno; then
3854 ac_exception_model_name="call frame"
3856 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3863 cross_compiling=$ac_cv_prog_cc_cross
3865 echo "$ac_t""$ac_exception_model_name" 1>&6
3867 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3868 if test "${enable_concept_checks+set}" = set; then
3869 enableval="$enable_concept_checks"
3870 case "$enableval" in
3871 yes) enable_concept_checks=yes ;;
3872 no) enable_concept_checks=no ;;
3873 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3876 enable_concept_checks=no
3878 if test x"$enable_concept_checks" = xyes; then
3879 cat >> confdefs.h <<\EOF
3880 #define _GLIBCPP_CONCEPT_CHECKS 1
3887 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3889 # This lets us hard-code the functionality we know
3890 # we'll have in the cross target environment. "Let" is a
3891 # sugar-coated word placed on an especially dull and tedious hack, actually.
3892 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3893 # that involve linking can't be used:
3894 # "cannot open sim-crt0.o"
3895 # "cannot open crt0.o"
3896 # etc. All this is because there currently exists no unified,
3897 # consistent way for top level CC information to be passed down
3898 # to target directories: newlib includes, newlib linking info,
3899 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3900 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3902 # We are being configured with some form of cross compiler.
3903 GLIBCPP_IS_CROSS_COMPILING=1
3905 # If Canadian cross, then don't pick up tools from the build
3907 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3913 # Construct crosses by hand, eliminating bits that need ld...
3914 # GLIBCPP_CHECK_COMPILER_FEATURES
3915 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3916 # GLIBCPP_CHECK_MATH_SUPPORT
3918 case "$target_alias" in
3920 # Check for available headers.
3921 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3922 machine/endian.h machine/param.h sys/machine.h sys/types.h \
3923 fp.h locale.h float.h inttypes.h
3925 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3926 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3927 echo "configure:3928: checking for $ac_hdr" >&5
3928 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3929 echo $ac_n "(cached) $ac_c" 1>&6
3931 cat > conftest.$ac_ext <<EOF
3932 #line 3933 "configure"
3933 #include "confdefs.h"
3936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3937 { (eval echo configure:3938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3939 if test -z "$ac_err"; then
3941 eval "ac_cv_header_$ac_safe=yes"
3944 echo "configure: failed program was:" >&5
3945 cat conftest.$ac_ext >&5
3947 eval "ac_cv_header_$ac_safe=no"
3951 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3952 echo "$ac_t""yes" 1>&6
3953 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3954 cat >> confdefs.h <<EOF
3955 #define $ac_tr_hdr 1
3959 echo "$ac_t""no" 1>&6
3963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3966 # If we're not using GNU ld, then there's no point in even trying these
3967 # tests. Check for that first. We should have already tested for gld
3968 # by now (in libtool), but require it now just to be safe...
3973 # Set --gc-sections.
3974 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3975 # GNU ld it is! Joy and bunny rabbits!
3977 # All these tests are for C++; save the language and the compiler flags.
3978 # Need to do this so that g++ won't try to link in libstdc++
3979 ac_test_CFLAGS="${CFLAGS+set}"
3980 ac_save_CFLAGS="$CFLAGS"
3981 CFLAGS='-x c++ -Wl,--gc-sections'
3983 # Check for -Wl,--gc-sections
3984 # XXX This test is broken at the moment, as symbols required for
3985 # linking are now in libsupc++ (not built yet.....). In addition,
3986 # this test has cored on solaris in the past. In addition,
3987 # --gc-sections doesn't really work at the moment (keeps on discarding
3988 # used sections, first .eh_frame and now some of the glibc sections for
3989 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3990 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3991 echo "configure:3992: checking for ld that supports -Wl,--gc-sections" >&5
3992 if test "$cross_compiling" = yes; then
3993 ac_sectionLDflags=yes
3995 cat > conftest.$ac_ext <<EOF
3996 #line 3997 "configure"
3997 #include "confdefs.h"
4007 if { (eval echo configure:4008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4009 ac_sectionLDflags=yes
4011 echo "configure: failed program was:" >&5
4012 cat conftest.$ac_ext >&5
4014 ac_sectionLFflags=no
4019 if test "$ac_test_CFLAGS" = set; then
4020 CFLAGS="$ac_save_CFLAGS"
4022 # this is the suspicious part
4025 if test "$ac_sectionLDflags" = "yes"; then
4026 SECTION_LDFLAGS='-Wl,--gc-sections'
4028 echo "$ac_t""$ac_sectionLDflags" 1>&6
4031 # Set linker optimization flags.
4032 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4033 test x"$enable_debug" = x"no"; then
4034 OPT_LDFLAGS='-Wl,-O1'
4041 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4042 echo "configure:4043: checking for main in -lm" >&5
4043 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4044 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4045 echo $ac_n "(cached) $ac_c" 1>&6
4047 ac_save_LIBS="$LIBS"
4049 cat > conftest.$ac_ext <<EOF
4050 #line 4051 "configure"
4051 #include "confdefs.h"
4057 if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4059 eval "ac_cv_lib_$ac_lib_var=yes"
4061 echo "configure: failed program was:" >&5
4062 cat conftest.$ac_ext >&5
4064 eval "ac_cv_lib_$ac_lib_var=no"
4067 LIBS="$ac_save_LIBS"
4070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4071 echo "$ac_t""yes" 1>&6
4072 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4073 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4074 cat >> confdefs.h <<EOF
4075 #define $ac_tr_lib 1
4081 echo "$ac_t""no" 1>&6
4084 for ac_func in nan copysignf
4086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4087 echo "configure:4088: checking for $ac_func" >&5
4088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4089 echo $ac_n "(cached) $ac_c" 1>&6
4091 cat > conftest.$ac_ext <<EOF
4092 #line 4093 "configure"
4093 #include "confdefs.h"
4094 /* System header to define __stub macros and hopefully few prototypes,
4095 which can conflict with char $ac_func(); below. */
4097 /* Override any gcc2 internal prototype to avoid an error. */
4098 /* We use char because int might match the return type of a gcc2
4099 builtin and then its argument prototype would still apply. */
4104 /* The GNU C library defines this for functions which it implements
4105 to always fail with ENOSYS. Some functions are actually named
4106 something starting with __ and the normal name is an alias. */
4107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4115 if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4117 eval "ac_cv_func_$ac_func=yes"
4119 echo "configure: failed program was:" >&5
4120 cat conftest.$ac_ext >&5
4122 eval "ac_cv_func_$ac_func=no"
4127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4128 echo "$ac_t""yes" 1>&6
4129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4130 cat >> confdefs.h <<EOF
4131 #define $ac_tr_func 1
4135 echo "$ac_t""no" 1>&6
4136 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4142 USE_COMPLEX_LONG_DOUBLE=no
4143 if test x$ac_cv_func_copysignl = x"yes"; then
4144 USE_COMPLEX_LONG_DOUBLE=yes
4145 for ac_func in signbitl
4147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4148 echo "configure:4149: checking for $ac_func" >&5
4149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4150 echo $ac_n "(cached) $ac_c" 1>&6
4152 cat > conftest.$ac_ext <<EOF
4153 #line 4154 "configure"
4154 #include "confdefs.h"
4155 /* System header to define __stub macros and hopefully few prototypes,
4156 which can conflict with char $ac_func(); below. */
4158 /* Override any gcc2 internal prototype to avoid an error. */
4159 /* We use char because int might match the return type of a gcc2
4160 builtin and then its argument prototype would still apply. */
4165 /* The GNU C library defines this for functions which it implements
4166 to always fail with ENOSYS. Some functions are actually named
4167 something starting with __ and the normal name is an alias. */
4168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4176 if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4178 eval "ac_cv_func_$ac_func=yes"
4180 echo "configure: failed program was:" >&5
4181 cat conftest.$ac_ext >&5
4183 eval "ac_cv_func_$ac_func=no"
4188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4189 echo "$ac_t""yes" 1>&6
4190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4191 cat >> confdefs.h <<EOF
4192 #define $ac_tr_func 1
4196 echo "$ac_t""no" 1>&6
4197 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4208 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4209 echo "configure:4210: checking for mbstate_t" >&5
4210 cat > conftest.$ac_ext <<EOF
4211 #line 4212 "configure"
4212 #include "confdefs.h"
4215 mbstate_t teststate;
4218 if { (eval echo configure:4219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4222 echo "configure: failed program was:" >&5
4223 cat conftest.$ac_ext >&5
4228 echo "$ac_t""$have_mbstate_t" 1>&6
4229 if test x"$have_mbstate_t" = xyes; then
4230 cat >> confdefs.h <<\EOF
4231 #define HAVE_MBSTATE_T 1
4236 for ac_hdr in wchar.h
4238 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4239 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4240 echo "configure:4241: checking for $ac_hdr" >&5
4241 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4242 echo $ac_n "(cached) $ac_c" 1>&6
4244 cat > conftest.$ac_ext <<EOF
4245 #line 4246 "configure"
4246 #include "confdefs.h"
4249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4250 { (eval echo configure:4251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4252 if test -z "$ac_err"; then
4254 eval "ac_cv_header_$ac_safe=yes"
4257 echo "configure: failed program was:" >&5
4258 cat conftest.$ac_ext >&5
4260 eval "ac_cv_header_$ac_safe=no"
4264 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4265 echo "$ac_t""yes" 1>&6
4266 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4267 cat >> confdefs.h <<EOF
4268 #define $ac_tr_hdr 1
4272 echo "$ac_t""no" 1>&6
4277 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4278 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4279 echo "configure:4280: checking for wctype.h" >&5
4280 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4281 echo $ac_n "(cached) $ac_c" 1>&6
4283 cat > conftest.$ac_ext <<EOF
4284 #line 4285 "configure"
4285 #include "confdefs.h"
4288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4289 { (eval echo configure:4290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4291 if test -z "$ac_err"; then
4293 eval "ac_cv_header_$ac_safe=yes"
4296 echo "configure: failed program was:" >&5
4297 cat conftest.$ac_ext >&5
4299 eval "ac_cv_header_$ac_safe=no"
4303 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4304 echo "$ac_t""yes" 1>&6
4307 echo "$ac_t""no" 1>&6
4312 if test x"$ac_has_wchar_h" = xyes &&
4313 test x"$ac_has_wctype_h" = xyes &&
4314 test x"$enable_c_mbchar" != xno; then
4316 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4317 echo "configure:4318: checking for WCHAR_MIN and WCHAR_MAX" >&5
4318 cat > conftest.$ac_ext <<EOF
4319 #line 4320 "configure"
4320 #include "confdefs.h"
4323 int i = WCHAR_MIN; int j = WCHAR_MAX;
4326 if { (eval echo configure:4327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4328 has_wchar_minmax=yes
4330 echo "configure: failed program was:" >&5
4331 cat conftest.$ac_ext >&5
4336 echo "$ac_t""$has_wchar_minmax" 1>&6
4338 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4339 echo "configure:4340: checking for WEOF" >&5
4340 cat > conftest.$ac_ext <<EOF
4341 #line 4342 "configure"
4342 #include "confdefs.h"
4350 if { (eval echo configure:4351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4354 echo "configure: failed program was:" >&5
4355 cat conftest.$ac_ext >&5
4360 echo "$ac_t""$has_weof" 1>&6
4363 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4366 echo "configure:4367: checking for $ac_func" >&5
4367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4368 echo $ac_n "(cached) $ac_c" 1>&6
4370 cat > conftest.$ac_ext <<EOF
4371 #line 4372 "configure"
4372 #include "confdefs.h"
4373 /* System header to define __stub macros and hopefully few prototypes,
4374 which can conflict with char $ac_func(); below. */
4376 /* Override any gcc2 internal prototype to avoid an error. */
4377 /* We use char because int might match the return type of a gcc2
4378 builtin and then its argument prototype would still apply. */
4383 /* The GNU C library defines this for functions which it implements
4384 to always fail with ENOSYS. Some functions are actually named
4385 something starting with __ and the normal name is an alias. */
4386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4396 eval "ac_cv_func_$ac_func=yes"
4398 echo "configure: failed program was:" >&5
4399 cat conftest.$ac_ext >&5
4401 eval "ac_cv_func_$ac_func=no"
4406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4407 echo "$ac_t""yes" 1>&6
4408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4409 cat >> confdefs.h <<EOF
4410 #define $ac_tr_func 1
4414 echo "$ac_t""no" 1>&6
4421 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4422 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4423 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4424 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4425 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4426 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4429 echo "configure:4430: checking for $ac_func" >&5
4430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4431 echo $ac_n "(cached) $ac_c" 1>&6
4433 cat > conftest.$ac_ext <<EOF
4434 #line 4435 "configure"
4435 #include "confdefs.h"
4436 /* System header to define __stub macros and hopefully few prototypes,
4437 which can conflict with char $ac_func(); below. */
4439 /* Override any gcc2 internal prototype to avoid an error. */
4440 /* We use char because int might match the return type of a gcc2
4441 builtin and then its argument prototype would still apply. */
4446 /* The GNU C library defines this for functions which it implements
4447 to always fail with ENOSYS. Some functions are actually named
4448 something starting with __ and the normal name is an alias. */
4449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4459 eval "ac_cv_func_$ac_func=yes"
4461 echo "configure: failed program was:" >&5
4462 cat conftest.$ac_ext >&5
4464 eval "ac_cv_func_$ac_func=no"
4469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4470 echo "$ac_t""yes" 1>&6
4471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4472 cat >> confdefs.h <<EOF
4473 #define $ac_tr_func 1
4477 echo "$ac_t""no" 1>&6
4484 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4485 echo "configure:4486: checking for ISO C99 wchar_t support" >&5
4486 if test x"$has_weof" = xyes &&
4487 test x"$has_wchar_minmax" = xyes &&
4488 test x"$ac_wfuncs" = xyes; then
4489 ac_isoC99_wchar_t=yes
4491 ac_isoC99_wchar_t=no
4493 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4495 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4496 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4497 echo "configure:4498: checking for iconv.h" >&5
4498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4499 echo $ac_n "(cached) $ac_c" 1>&6
4501 cat > conftest.$ac_ext <<EOF
4502 #line 4503 "configure"
4503 #include "confdefs.h"
4506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4507 { (eval echo configure:4508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4509 if test -z "$ac_err"; then
4511 eval "ac_cv_header_$ac_safe=yes"
4514 echo "configure: failed program was:" >&5
4515 cat conftest.$ac_ext >&5
4517 eval "ac_cv_header_$ac_safe=no"
4521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4522 echo "$ac_t""yes" 1>&6
4525 echo "$ac_t""no" 1>&6
4529 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4530 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4531 echo "configure:4532: checking for langinfo.h" >&5
4532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4533 echo $ac_n "(cached) $ac_c" 1>&6
4535 cat > conftest.$ac_ext <<EOF
4536 #line 4537 "configure"
4537 #include "confdefs.h"
4538 #include <langinfo.h>
4540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4541 { (eval echo configure:4542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4543 if test -z "$ac_err"; then
4545 eval "ac_cv_header_$ac_safe=yes"
4548 echo "configure: failed program was:" >&5
4549 cat conftest.$ac_ext >&5
4551 eval "ac_cv_header_$ac_safe=no"
4555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4556 echo "$ac_t""yes" 1>&6
4557 ac_has_langinfo_h=yes
4559 echo "$ac_t""no" 1>&6
4560 ac_has_langinfo_h=no
4564 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4565 echo "configure:4566: checking for iconv in -liconv" >&5
4566 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4567 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 ac_save_LIBS="$LIBS"
4571 LIBS="-liconv $LIBS"
4572 cat > conftest.$ac_ext <<EOF
4573 #line 4574 "configure"
4574 #include "confdefs.h"
4575 /* Override any gcc2 internal prototype to avoid an error. */
4576 /* We use char because int might match the return type of a gcc2
4577 builtin and then its argument prototype would still apply. */
4584 if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4586 eval "ac_cv_lib_$ac_lib_var=yes"
4588 echo "configure: failed program was:" >&5
4589 cat conftest.$ac_ext >&5
4591 eval "ac_cv_lib_$ac_lib_var=no"
4594 LIBS="$ac_save_LIBS"
4597 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4598 echo "$ac_t""yes" 1>&6
4601 echo "$ac_t""no" 1>&6
4604 ac_save_LIBS="$LIBS"
4605 LIBS="$LIBS $libiconv"
4607 for ac_func in iconv_open iconv_close iconv nl_langinfo
4609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4610 echo "configure:4611: checking for $ac_func" >&5
4611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4612 echo $ac_n "(cached) $ac_c" 1>&6
4614 cat > conftest.$ac_ext <<EOF
4615 #line 4616 "configure"
4616 #include "confdefs.h"
4617 /* System header to define __stub macros and hopefully few prototypes,
4618 which can conflict with char $ac_func(); below. */
4620 /* Override any gcc2 internal prototype to avoid an error. */
4621 /* We use char because int might match the return type of a gcc2
4622 builtin and then its argument prototype would still apply. */
4627 /* The GNU C library defines this for functions which it implements
4628 to always fail with ENOSYS. Some functions are actually named
4629 something starting with __ and the normal name is an alias. */
4630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4640 eval "ac_cv_func_$ac_func=yes"
4642 echo "configure: failed program was:" >&5
4643 cat conftest.$ac_ext >&5
4645 eval "ac_cv_func_$ac_func=no"
4650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4651 echo "$ac_t""yes" 1>&6
4652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4653 cat >> confdefs.h <<EOF
4654 #define $ac_tr_func 1
4659 echo "$ac_t""no" 1>&6
4665 LIBS="$ac_save_LIBS"
4667 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4668 echo "configure:4669: checking for XPG2 wchar_t support" >&5
4669 if test x"$ac_has_iconv_h" = xyes &&
4670 test x"$ac_has_langinfo_h" = xyes &&
4671 test x"$ac_XPG2funcs" = xyes; then
4676 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4678 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4679 echo "configure:4680: checking for enabled wchar_t specializations" >&5
4680 if test x"$ac_isoC99_wchar_t" = xyes &&
4681 test x"$ac_XPG2_wchar_t" = xyes; then
4682 cat >> confdefs.h <<\EOF
4683 #define _GLIBCPP_USE_WCHAR_T 1
4686 echo "$ac_t"""yes"" 1>&6
4688 echo "$ac_t"""no"" 1>&6
4691 echo "configure: warning: wchar_t support disabled." 1>&2
4694 os_include_dir="config/os/gnu-linux"
4695 cat >> confdefs.h <<\EOF
4696 #define HAVE_COPYSIGN 1
4699 cat >> confdefs.h <<\EOF
4700 #define HAVE_COPYSIGNF 1
4703 cat >> confdefs.h <<\EOF
4704 #define HAVE_FINITEF 1
4707 cat >> confdefs.h <<\EOF
4708 #define HAVE_FREXPF 1
4711 cat >> confdefs.h <<\EOF
4712 #define HAVE_HYPOTF 1
4715 cat >> confdefs.h <<\EOF
4716 #define HAVE_SINCOS 1
4719 cat >> confdefs.h <<\EOF
4720 #define HAVE_SINCOSF 1
4723 if test x"long_double_math_on_this_cpu" = x"yes"; then
4724 cat >> confdefs.h <<\EOF
4725 #define HAVE_HYPOTL 1
4731 # Check for available headers.
4732 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4733 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4734 fp.h locale.h float.h inttypes.h
4736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4738 echo "configure:4739: checking for $ac_hdr" >&5
4739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4740 echo $ac_n "(cached) $ac_c" 1>&6
4742 cat > conftest.$ac_ext <<EOF
4743 #line 4744 "configure"
4744 #include "confdefs.h"
4747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4748 { (eval echo configure:4749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4750 if test -z "$ac_err"; then
4752 eval "ac_cv_header_$ac_safe=yes"
4755 echo "configure: failed program was:" >&5
4756 cat conftest.$ac_ext >&5
4758 eval "ac_cv_header_$ac_safe=no"
4762 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4763 echo "$ac_t""yes" 1>&6
4764 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4765 cat >> confdefs.h <<EOF
4766 #define $ac_tr_hdr 1
4770 echo "$ac_t""no" 1>&6
4774 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4777 # If we're not using GNU ld, then there's no point in even trying these
4778 # tests. Check for that first. We should have already tested for gld
4779 # by now (in libtool), but require it now just to be safe...
4784 # Set --gc-sections.
4785 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4786 # GNU ld it is! Joy and bunny rabbits!
4788 # All these tests are for C++; save the language and the compiler flags.
4789 # Need to do this so that g++ won't try to link in libstdc++
4790 ac_test_CFLAGS="${CFLAGS+set}"
4791 ac_save_CFLAGS="$CFLAGS"
4792 CFLAGS='-x c++ -Wl,--gc-sections'
4794 # Check for -Wl,--gc-sections
4795 # XXX This test is broken at the moment, as symbols required for
4796 # linking are now in libsupc++ (not built yet.....). In addition,
4797 # this test has cored on solaris in the past. In addition,
4798 # --gc-sections doesn't really work at the moment (keeps on discarding
4799 # used sections, first .eh_frame and now some of the glibc sections for
4800 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4801 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4802 echo "configure:4803: checking for ld that supports -Wl,--gc-sections" >&5
4803 if test "$cross_compiling" = yes; then
4804 ac_sectionLDflags=yes
4806 cat > conftest.$ac_ext <<EOF
4807 #line 4808 "configure"
4808 #include "confdefs.h"
4818 if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4820 ac_sectionLDflags=yes
4822 echo "configure: failed program was:" >&5
4823 cat conftest.$ac_ext >&5
4825 ac_sectionLFflags=no
4830 if test "$ac_test_CFLAGS" = set; then
4831 CFLAGS="$ac_save_CFLAGS"
4833 # this is the suspicious part
4836 if test "$ac_sectionLDflags" = "yes"; then
4837 SECTION_LDFLAGS='-Wl,--gc-sections'
4839 echo "$ac_t""$ac_sectionLDflags" 1>&6
4842 # Set linker optimization flags.
4843 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4844 test x"$enable_debug" = x"no"; then
4845 OPT_LDFLAGS='-Wl,-O1'
4852 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4853 echo "configure:4854: checking for main in -lm" >&5
4854 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4856 echo $ac_n "(cached) $ac_c" 1>&6
4858 ac_save_LIBS="$LIBS"
4860 cat > conftest.$ac_ext <<EOF
4861 #line 4862 "configure"
4862 #include "confdefs.h"
4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4870 eval "ac_cv_lib_$ac_lib_var=yes"
4872 echo "configure: failed program was:" >&5
4873 cat conftest.$ac_ext >&5
4875 eval "ac_cv_lib_$ac_lib_var=no"
4878 LIBS="$ac_save_LIBS"
4881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4882 echo "$ac_t""yes" 1>&6
4883 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4884 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4885 cat >> confdefs.h <<EOF
4886 #define $ac_tr_lib 1
4892 echo "$ac_t""no" 1>&6
4895 for ac_func in nan copysignf
4897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4898 echo "configure:4899: checking for $ac_func" >&5
4899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4900 echo $ac_n "(cached) $ac_c" 1>&6
4902 cat > conftest.$ac_ext <<EOF
4903 #line 4904 "configure"
4904 #include "confdefs.h"
4905 /* System header to define __stub macros and hopefully few prototypes,
4906 which can conflict with char $ac_func(); below. */
4908 /* Override any gcc2 internal prototype to avoid an error. */
4909 /* We use char because int might match the return type of a gcc2
4910 builtin and then its argument prototype would still apply. */
4915 /* The GNU C library defines this for functions which it implements
4916 to always fail with ENOSYS. Some functions are actually named
4917 something starting with __ and the normal name is an alias. */
4918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4926 if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4928 eval "ac_cv_func_$ac_func=yes"
4930 echo "configure: failed program was:" >&5
4931 cat conftest.$ac_ext >&5
4933 eval "ac_cv_func_$ac_func=no"
4938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4939 echo "$ac_t""yes" 1>&6
4940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4941 cat >> confdefs.h <<EOF
4942 #define $ac_tr_func 1
4946 echo "$ac_t""no" 1>&6
4947 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4953 USE_COMPLEX_LONG_DOUBLE=no
4954 if test x$ac_cv_func_copysignl = x"yes"; then
4955 USE_COMPLEX_LONG_DOUBLE=yes
4956 for ac_func in signbitl
4958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4959 echo "configure:4960: checking for $ac_func" >&5
4960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4961 echo $ac_n "(cached) $ac_c" 1>&6
4963 cat > conftest.$ac_ext <<EOF
4964 #line 4965 "configure"
4965 #include "confdefs.h"
4966 /* System header to define __stub macros and hopefully few prototypes,
4967 which can conflict with char $ac_func(); below. */
4969 /* Override any gcc2 internal prototype to avoid an error. */
4970 /* We use char because int might match the return type of a gcc2
4971 builtin and then its argument prototype would still apply. */
4976 /* The GNU C library defines this for functions which it implements
4977 to always fail with ENOSYS. Some functions are actually named
4978 something starting with __ and the normal name is an alias. */
4979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4987 if { (eval echo configure:4988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4989 eval "ac_cv_func_$ac_func=yes"
4991 echo "configure: failed program was:" >&5
4992 cat conftest.$ac_ext >&5
4994 eval "ac_cv_func_$ac_func=no"
4999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5000 echo "$ac_t""yes" 1>&6
5001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5002 cat >> confdefs.h <<EOF
5003 #define $ac_tr_func 1
5007 echo "$ac_t""no" 1>&6
5008 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5019 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5020 echo "configure:5021: checking for mbstate_t" >&5
5021 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5026 mbstate_t teststate;
5029 if { (eval echo configure:5030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5033 echo "configure: failed program was:" >&5
5034 cat conftest.$ac_ext >&5
5039 echo "$ac_t""$have_mbstate_t" 1>&6
5040 if test x"$have_mbstate_t" = xyes; then
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_MBSTATE_T 1
5047 for ac_hdr in wchar.h
5049 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5050 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5051 echo "configure:5052: checking for $ac_hdr" >&5
5052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5053 echo $ac_n "(cached) $ac_c" 1>&6
5055 cat > conftest.$ac_ext <<EOF
5056 #line 5057 "configure"
5057 #include "confdefs.h"
5060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5061 { (eval echo configure:5062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5063 if test -z "$ac_err"; then
5065 eval "ac_cv_header_$ac_safe=yes"
5068 echo "configure: failed program was:" >&5
5069 cat conftest.$ac_ext >&5
5071 eval "ac_cv_header_$ac_safe=no"
5075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5076 echo "$ac_t""yes" 1>&6
5077 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5078 cat >> confdefs.h <<EOF
5079 #define $ac_tr_hdr 1
5083 echo "$ac_t""no" 1>&6
5088 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5089 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5090 echo "configure:5091: checking for wctype.h" >&5
5091 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5092 echo $ac_n "(cached) $ac_c" 1>&6
5094 cat > conftest.$ac_ext <<EOF
5095 #line 5096 "configure"
5096 #include "confdefs.h"
5099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5100 { (eval echo configure:5101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5101 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5102 if test -z "$ac_err"; then
5104 eval "ac_cv_header_$ac_safe=yes"
5107 echo "configure: failed program was:" >&5
5108 cat conftest.$ac_ext >&5
5110 eval "ac_cv_header_$ac_safe=no"
5114 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5115 echo "$ac_t""yes" 1>&6
5118 echo "$ac_t""no" 1>&6
5123 if test x"$ac_has_wchar_h" = xyes &&
5124 test x"$ac_has_wctype_h" = xyes &&
5125 test x"$enable_c_mbchar" != xno; then
5127 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5128 echo "configure:5129: checking for WCHAR_MIN and WCHAR_MAX" >&5
5129 cat > conftest.$ac_ext <<EOF
5130 #line 5131 "configure"
5131 #include "confdefs.h"
5134 int i = WCHAR_MIN; int j = WCHAR_MAX;
5137 if { (eval echo configure:5138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5139 has_wchar_minmax=yes
5141 echo "configure: failed program was:" >&5
5142 cat conftest.$ac_ext >&5
5147 echo "$ac_t""$has_wchar_minmax" 1>&6
5149 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5150 echo "configure:5151: checking for WEOF" >&5
5151 cat > conftest.$ac_ext <<EOF
5152 #line 5153 "configure"
5153 #include "confdefs.h"
5161 if { (eval echo configure:5162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5165 echo "configure: failed program was:" >&5
5166 cat conftest.$ac_ext >&5
5171 echo "$ac_t""$has_weof" 1>&6
5174 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5177 echo "configure:5178: checking for $ac_func" >&5
5178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5179 echo $ac_n "(cached) $ac_c" 1>&6
5181 cat > conftest.$ac_ext <<EOF
5182 #line 5183 "configure"
5183 #include "confdefs.h"
5184 /* System header to define __stub macros and hopefully few prototypes,
5185 which can conflict with char $ac_func(); below. */
5187 /* Override any gcc2 internal prototype to avoid an error. */
5188 /* We use char because int might match the return type of a gcc2
5189 builtin and then its argument prototype would still apply. */
5194 /* The GNU C library defines this for functions which it implements
5195 to always fail with ENOSYS. Some functions are actually named
5196 something starting with __ and the normal name is an alias. */
5197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5205 if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5207 eval "ac_cv_func_$ac_func=yes"
5209 echo "configure: failed program was:" >&5
5210 cat conftest.$ac_ext >&5
5212 eval "ac_cv_func_$ac_func=no"
5217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5218 echo "$ac_t""yes" 1>&6
5219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5220 cat >> confdefs.h <<EOF
5221 #define $ac_tr_func 1
5225 echo "$ac_t""no" 1>&6
5232 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5233 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5234 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5235 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5236 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5237 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5240 echo "configure:5241: checking for $ac_func" >&5
5241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5242 echo $ac_n "(cached) $ac_c" 1>&6
5244 cat > conftest.$ac_ext <<EOF
5245 #line 5246 "configure"
5246 #include "confdefs.h"
5247 /* System header to define __stub macros and hopefully few prototypes,
5248 which can conflict with char $ac_func(); below. */
5250 /* Override any gcc2 internal prototype to avoid an error. */
5251 /* We use char because int might match the return type of a gcc2
5252 builtin and then its argument prototype would still apply. */
5257 /* The GNU C library defines this for functions which it implements
5258 to always fail with ENOSYS. Some functions are actually named
5259 something starting with __ and the normal name is an alias. */
5260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5268 if { (eval echo configure:5269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5270 eval "ac_cv_func_$ac_func=yes"
5272 echo "configure: failed program was:" >&5
5273 cat conftest.$ac_ext >&5
5275 eval "ac_cv_func_$ac_func=no"
5280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5281 echo "$ac_t""yes" 1>&6
5282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5283 cat >> confdefs.h <<EOF
5284 #define $ac_tr_func 1
5288 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5296 echo "configure:5297: checking for ISO C99 wchar_t support" >&5
5297 if test x"$has_weof" = xyes &&
5298 test x"$has_wchar_minmax" = xyes &&
5299 test x"$ac_wfuncs" = xyes; then
5300 ac_isoC99_wchar_t=yes
5302 ac_isoC99_wchar_t=no
5304 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5306 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5307 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5308 echo "configure:5309: checking for iconv.h" >&5
5309 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5310 echo $ac_n "(cached) $ac_c" 1>&6
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure"
5314 #include "confdefs.h"
5317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5318 { (eval echo configure:5319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5320 if test -z "$ac_err"; then
5322 eval "ac_cv_header_$ac_safe=yes"
5325 echo "configure: failed program was:" >&5
5326 cat conftest.$ac_ext >&5
5328 eval "ac_cv_header_$ac_safe=no"
5332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5333 echo "$ac_t""yes" 1>&6
5336 echo "$ac_t""no" 1>&6
5340 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5341 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5342 echo "configure:5343: checking for langinfo.h" >&5
5343 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5344 echo $ac_n "(cached) $ac_c" 1>&6
5346 cat > conftest.$ac_ext <<EOF
5347 #line 5348 "configure"
5348 #include "confdefs.h"
5349 #include <langinfo.h>
5351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5354 if test -z "$ac_err"; then
5356 eval "ac_cv_header_$ac_safe=yes"
5359 echo "configure: failed program was:" >&5
5360 cat conftest.$ac_ext >&5
5362 eval "ac_cv_header_$ac_safe=no"
5366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5367 echo "$ac_t""yes" 1>&6
5368 ac_has_langinfo_h=yes
5370 echo "$ac_t""no" 1>&6
5371 ac_has_langinfo_h=no
5375 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5376 echo "configure:5377: checking for iconv in -liconv" >&5
5377 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5378 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5379 echo $ac_n "(cached) $ac_c" 1>&6
5381 ac_save_LIBS="$LIBS"
5382 LIBS="-liconv $LIBS"
5383 cat > conftest.$ac_ext <<EOF
5384 #line 5385 "configure"
5385 #include "confdefs.h"
5386 /* Override any gcc2 internal prototype to avoid an error. */
5387 /* We use char because int might match the return type of a gcc2
5388 builtin and then its argument prototype would still apply. */
5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5397 eval "ac_cv_lib_$ac_lib_var=yes"
5399 echo "configure: failed program was:" >&5
5400 cat conftest.$ac_ext >&5
5402 eval "ac_cv_lib_$ac_lib_var=no"
5405 LIBS="$ac_save_LIBS"
5408 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5409 echo "$ac_t""yes" 1>&6
5412 echo "$ac_t""no" 1>&6
5415 ac_save_LIBS="$LIBS"
5416 LIBS="$LIBS $libiconv"
5418 for ac_func in iconv_open iconv_close iconv nl_langinfo
5420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5421 echo "configure:5422: checking for $ac_func" >&5
5422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5423 echo $ac_n "(cached) $ac_c" 1>&6
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure"
5427 #include "confdefs.h"
5428 /* System header to define __stub macros and hopefully few prototypes,
5429 which can conflict with char $ac_func(); below. */
5431 /* Override any gcc2 internal prototype to avoid an error. */
5432 /* We use char because int might match the return type of a gcc2
5433 builtin and then its argument prototype would still apply. */
5438 /* The GNU C library defines this for functions which it implements
5439 to always fail with ENOSYS. Some functions are actually named
5440 something starting with __ and the normal name is an alias. */
5441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5451 eval "ac_cv_func_$ac_func=yes"
5453 echo "configure: failed program was:" >&5
5454 cat conftest.$ac_ext >&5
5456 eval "ac_cv_func_$ac_func=no"
5461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5462 echo "$ac_t""yes" 1>&6
5463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5464 cat >> confdefs.h <<EOF
5465 #define $ac_tr_func 1
5470 echo "$ac_t""no" 1>&6
5476 LIBS="$ac_save_LIBS"
5478 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5479 echo "configure:5480: checking for XPG2 wchar_t support" >&5
5480 if test x"$ac_has_iconv_h" = xyes &&
5481 test x"$ac_has_langinfo_h" = xyes &&
5482 test x"$ac_XPG2funcs" = xyes; then
5487 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5489 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5490 echo "configure:5491: checking for enabled wchar_t specializations" >&5
5491 if test x"$ac_isoC99_wchar_t" = xyes &&
5492 test x"$ac_XPG2_wchar_t" = xyes; then
5493 cat >> confdefs.h <<\EOF
5494 #define _GLIBCPP_USE_WCHAR_T 1
5497 echo "$ac_t"""yes"" 1>&6
5499 echo "$ac_t"""no"" 1>&6
5502 echo "configure: warning: wchar_t support disabled." 1>&2
5505 os_include_dir="config/os/hpux"
5506 cat >> confdefs.h <<\EOF
5507 #define HAVE_COPYSIGN 1
5510 cat >> confdefs.h <<\EOF
5511 #define HAVE_COPYSIGNF 1
5514 cat >> confdefs.h <<\EOF
5515 #define HAVE_FINITEF 1
5518 cat >> confdefs.h <<\EOF
5519 #define HAVE_FREXPF 1
5522 cat >> confdefs.h <<\EOF
5523 #define HAVE_HYPOT 1
5526 cat >> confdefs.h <<\EOF
5527 #define HAVE_SINCOS 1
5530 cat >> confdefs.h <<\EOF
5531 #define HAVE_SINCOSF 1
5536 os_include_dir="config/os/newlib"
5537 cat >> confdefs.h <<\EOF
5538 #define HAVE_HYPOT 1
5544 # GLIBCPP_CHECK_STDLIB_SUPPORT
5545 cat >> confdefs.h <<\EOF
5546 #define HAVE_STRTOF 1
5549 cat >> confdefs.h <<\EOF
5550 #define HAVE_STRTOLD 1
5554 cat >> confdefs.h <<\EOF
5559 cat >> confdefs.h <<\EOF
5560 #define HAVE_ACOSF 1
5563 cat >> confdefs.h <<\EOF
5564 #define HAVE_ASINF 1
5567 cat >> confdefs.h <<\EOF
5568 #define HAVE_ATAN2F 1
5571 cat >> confdefs.h <<\EOF
5572 #define HAVE_ATANF 1
5575 cat >> confdefs.h <<\EOF
5576 #define HAVE_CEILF 1
5579 cat >> confdefs.h <<\EOF
5580 #define HAVE_COPYSIGN 1
5583 cat >> confdefs.h <<\EOF
5584 #define HAVE_COPYSIGNF 1
5587 cat >> confdefs.h <<\EOF
5591 cat >> confdefs.h <<\EOF
5592 #define HAVE_COSHF 1
5595 cat >> confdefs.h <<\EOF
5599 cat >> confdefs.h <<\EOF
5600 #define HAVE_FABSF 1
5603 cat >> confdefs.h <<\EOF
5604 #define HAVE_FINITE 1
5607 cat >> confdefs.h <<\EOF
5608 #define HAVE_FINITEF 1
5611 cat >> confdefs.h <<\EOF
5612 #define HAVE_FLOORF 1
5615 cat >> confdefs.h <<\EOF
5616 #define HAVE_FMODF 1
5619 cat >> confdefs.h <<\EOF
5620 #define HAVE_FREXPF 1
5623 cat >> confdefs.h <<\EOF
5624 #define HAVE_ISINF 1
5627 cat >> confdefs.h <<\EOF
5628 #define HAVE_ISINFF 1
5631 cat >> confdefs.h <<\EOF
5632 #define HAVE_ISNAN 1
5635 cat >> confdefs.h <<\EOF
5636 #define HAVE_ISNANF 1
5639 cat >> confdefs.h <<\EOF
5640 #define HAVE_LDEXPF 1
5643 cat >> confdefs.h <<\EOF
5644 #define HAVE_LOG10F 1
5647 cat >> confdefs.h <<\EOF
5651 cat >> confdefs.h <<\EOF
5652 #define HAVE_MODFF 1
5655 cat >> confdefs.h <<\EOF
5659 cat >> confdefs.h <<\EOF
5663 cat >> confdefs.h <<\EOF
5664 #define HAVE_SINHF 1
5667 cat >> confdefs.h <<\EOF
5668 #define HAVE_SQRTF 1
5671 cat >> confdefs.h <<\EOF
5675 cat >> confdefs.h <<\EOF
5676 #define HAVE_TANHF 1
5680 # At some point, we should differentiate between architectures
5681 # like x86, which have long double versions, and alpha/powerpc/etc.,
5682 # which don't. For the time being, punt.
5683 if test x"long_double_math_on_this_cpu" = x"yes"; then
5684 cat >> confdefs.h <<\EOF
5685 #define HAVE_ACOSL 1
5688 cat >> confdefs.h <<\EOF
5689 #define HAVE_ASINL 1
5692 cat >> confdefs.h <<\EOF
5693 #define HAVE_ATAN2L 1
5696 cat >> confdefs.h <<\EOF
5697 #define HAVE_ATANL 1
5700 cat >> confdefs.h <<\EOF
5701 #define HAVE_CEILL 1
5704 cat >> confdefs.h <<\EOF
5705 #define HAVE_COPYSIGNL 1
5708 cat >> confdefs.h <<\EOF
5712 cat >> confdefs.h <<\EOF
5713 #define HAVE_COSHL 1
5716 cat >> confdefs.h <<\EOF
5720 cat >> confdefs.h <<\EOF
5721 #define HAVE_FABSL 1
5724 cat >> confdefs.h <<\EOF
5725 #define HAVE_FINITEL 1
5728 cat >> confdefs.h <<\EOF
5729 #define HAVE_FLOORL 1
5732 cat >> confdefs.h <<\EOF
5733 #define HAVE_FMODL 1
5736 cat >> confdefs.h <<\EOF
5737 #define HAVE_FREXPL 1
5740 cat >> confdefs.h <<\EOF
5741 #define HAVE_ISINFL 1
5744 cat >> confdefs.h <<\EOF
5745 #define HAVE_ISNANL 1
5748 cat >> confdefs.h <<\EOF
5749 #define HAVE_LDEXPL 1
5752 cat >> confdefs.h <<\EOF
5753 #define HAVE_LOG10L 1
5756 cat >> confdefs.h <<\EOF
5760 cat >> confdefs.h <<\EOF
5761 #define HAVE_MODFL 1
5764 cat >> confdefs.h <<\EOF
5768 cat >> confdefs.h <<\EOF
5769 #define HAVE_SINCOSL 1
5772 cat >> confdefs.h <<\EOF
5776 cat >> confdefs.h <<\EOF
5777 #define HAVE_SINHL 1
5780 cat >> confdefs.h <<\EOF
5781 #define HAVE_SQRTL 1
5784 cat >> confdefs.h <<\EOF
5788 cat >> confdefs.h <<\EOF
5789 #define HAVE_TANHL 1
5795 # We are being configured natively. We can do more elaborate tests
5796 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5798 GLIBCPP_IS_CROSS_COMPILING=0
5801 # Check for available headers.
5802 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5803 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5805 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5807 echo "configure:5808: checking for $ac_hdr" >&5
5808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5809 echo $ac_n "(cached) $ac_c" 1>&6
5811 cat > conftest.$ac_ext <<EOF
5812 #line 5813 "configure"
5813 #include "confdefs.h"
5816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5817 { (eval echo configure:5818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5819 if test -z "$ac_err"; then
5821 eval "ac_cv_header_$ac_safe=yes"
5824 echo "configure: failed program was:" >&5
5825 cat conftest.$ac_ext >&5
5827 eval "ac_cv_header_$ac_safe=no"
5831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5832 echo "$ac_t""yes" 1>&6
5833 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5834 cat >> confdefs.h <<EOF
5835 #define $ac_tr_hdr 1
5839 echo "$ac_t""no" 1>&6
5845 # All these tests are for C++; save the language and the compiler flags.
5846 # The CXXFLAGS thing is suspicious, but based on similar bits previously
5847 # found in GLIBCPP_CONFIGURE.
5850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5851 ac_cpp='$CXXCPP $CPPFLAGS'
5852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5854 cross_compiling=$ac_cv_prog_cxx_cross
5856 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5857 ac_save_CXXFLAGS="$CXXFLAGS"
5859 # Check for maintainer-mode bits.
5860 if test x"$USE_MAINTAINER_MODE" = xno; then
5866 # Check for -ffunction-sections -fdata-sections
5867 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5868 echo "configure:5869: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5869 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5870 cat > conftest.$ac_ext <<EOF
5871 #line 5872 "configure"
5872 #include "confdefs.h"
5879 if { (eval echo configure:5880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5883 echo "configure: failed program was:" >&5
5884 cat conftest.$ac_ext >&5
5889 if test "$ac_test_CXXFLAGS" = set; then
5890 CXXFLAGS="$ac_save_CXXFLAGS"
5892 # this is the suspicious part
5895 if test x"$ac_fdsections" = x"yes" &&
5896 test x"$enable_debug" = x"no"; then
5897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5899 echo "$ac_t""$ac_fdsections" 1>&6
5902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5903 ac_cpp='$CPP $CPPFLAGS'
5904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5906 cross_compiling=$ac_cv_prog_cc_cross
5912 # If we're not using GNU ld, then there's no point in even trying these
5913 # tests. Check for that first. We should have already tested for gld
5914 # by now (in libtool), but require it now just to be safe...
5919 # Set --gc-sections.
5920 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5921 # GNU ld it is! Joy and bunny rabbits!
5923 # All these tests are for C++; save the language and the compiler flags.
5924 # Need to do this so that g++ won't try to link in libstdc++
5925 ac_test_CFLAGS="${CFLAGS+set}"
5926 ac_save_CFLAGS="$CFLAGS"
5927 CFLAGS='-x c++ -Wl,--gc-sections'
5929 # Check for -Wl,--gc-sections
5930 # XXX This test is broken at the moment, as symbols required for
5931 # linking are now in libsupc++ (not built yet.....). In addition,
5932 # this test has cored on solaris in the past. In addition,
5933 # --gc-sections doesn't really work at the moment (keeps on discarding
5934 # used sections, first .eh_frame and now some of the glibc sections for
5935 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5936 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5937 echo "configure:5938: checking for ld that supports -Wl,--gc-sections" >&5
5938 if test "$cross_compiling" = yes; then
5939 ac_sectionLDflags=yes
5941 cat > conftest.$ac_ext <<EOF
5942 #line 5943 "configure"
5943 #include "confdefs.h"
5953 if { (eval echo configure:5954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5955 ac_sectionLDflags=yes
5957 echo "configure: failed program was:" >&5
5958 cat conftest.$ac_ext >&5
5960 ac_sectionLFflags=no
5965 if test "$ac_test_CFLAGS" = set; then
5966 CFLAGS="$ac_save_CFLAGS"
5968 # this is the suspicious part
5971 if test "$ac_sectionLDflags" = "yes"; then
5972 SECTION_LDFLAGS='-Wl,--gc-sections'
5974 echo "$ac_t""$ac_sectionLDflags" 1>&6
5977 # Set linker optimization flags.
5978 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5979 test x"$enable_debug" = x"no"; then
5980 OPT_LDFLAGS='-Wl,-O1'
5988 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5989 echo "configure:5990: checking for __builtin_abs declaration" >&5
5990 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5991 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5992 echo $ac_n "(cached) $ac_c" 1>&6
5997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5998 ac_cpp='$CXXCPP $CPPFLAGS'
5999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6001 cross_compiling=$ac_cv_prog_cxx_cross
6003 cat > conftest.$ac_ext <<EOF
6004 #line 6005 "configure"
6005 #include "confdefs.h"
6011 if { (eval echo configure:6012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6013 glibcpp_cv_func___builtin_abs_use=yes
6015 echo "configure: failed program was:" >&5
6016 cat conftest.$ac_ext >&5
6018 glibcpp_cv_func___builtin_abs_use=no
6022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6023 ac_cpp='$CPP $CPPFLAGS'
6024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6026 cross_compiling=$ac_cv_prog_cc_cross
6032 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
6033 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
6034 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
6035 echo "configure:6036: checking for __builtin_abs linkage" >&5
6036 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
6037 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
6038 echo $ac_n "(cached) $ac_c" 1>&6
6041 cat > conftest.$ac_ext <<EOF
6042 #line 6043 "configure"
6043 #include "confdefs.h"
6049 if { (eval echo configure:6050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6051 glibcpp_cv_func___builtin_abs_link=yes
6053 echo "configure: failed program was:" >&5
6054 cat conftest.$ac_ext >&5
6056 glibcpp_cv_func___builtin_abs_link=no
6063 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
6064 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
6065 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6066 cat >> confdefs.h <<EOF
6067 #define ${ac_tr_func} 1
6074 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
6075 echo "configure:6076: checking for __builtin_fabsf declaration" >&5
6076 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
6077 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
6078 echo $ac_n "(cached) $ac_c" 1>&6
6083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6084 ac_cpp='$CXXCPP $CPPFLAGS'
6085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6087 cross_compiling=$ac_cv_prog_cxx_cross
6089 cat > conftest.$ac_ext <<EOF
6090 #line 6091 "configure"
6091 #include "confdefs.h"
6097 if { (eval echo configure:6098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6099 glibcpp_cv_func___builtin_fabsf_use=yes
6101 echo "configure: failed program was:" >&5
6102 cat conftest.$ac_ext >&5
6104 glibcpp_cv_func___builtin_fabsf_use=no
6108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6109 ac_cpp='$CPP $CPPFLAGS'
6110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6112 cross_compiling=$ac_cv_prog_cc_cross
6118 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
6119 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
6120 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
6121 echo "configure:6122: checking for __builtin_fabsf linkage" >&5
6122 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
6123 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
6124 echo $ac_n "(cached) $ac_c" 1>&6
6127 cat > conftest.$ac_ext <<EOF
6128 #line 6129 "configure"
6129 #include "confdefs.h"
6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6137 glibcpp_cv_func___builtin_fabsf_link=yes
6139 echo "configure: failed program was:" >&5
6140 cat conftest.$ac_ext >&5
6142 glibcpp_cv_func___builtin_fabsf_link=no
6149 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
6150 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
6151 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6152 cat >> confdefs.h <<EOF
6153 #define ${ac_tr_func} 1
6160 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
6161 echo "configure:6162: checking for __builtin_fabs declaration" >&5
6162 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
6163 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
6164 echo $ac_n "(cached) $ac_c" 1>&6
6169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6170 ac_cpp='$CXXCPP $CPPFLAGS'
6171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6173 cross_compiling=$ac_cv_prog_cxx_cross
6175 cat > conftest.$ac_ext <<EOF
6176 #line 6177 "configure"
6177 #include "confdefs.h"
6183 if { (eval echo configure:6184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6185 glibcpp_cv_func___builtin_fabs_use=yes
6187 echo "configure: failed program was:" >&5
6188 cat conftest.$ac_ext >&5
6190 glibcpp_cv_func___builtin_fabs_use=no
6194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6195 ac_cpp='$CPP $CPPFLAGS'
6196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6198 cross_compiling=$ac_cv_prog_cc_cross
6204 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
6205 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
6206 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
6207 echo "configure:6208: checking for __builtin_fabs linkage" >&5
6208 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
6209 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
6210 echo $ac_n "(cached) $ac_c" 1>&6
6213 cat > conftest.$ac_ext <<EOF
6214 #line 6215 "configure"
6215 #include "confdefs.h"
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6223 glibcpp_cv_func___builtin_fabs_link=yes
6225 echo "configure: failed program was:" >&5
6226 cat conftest.$ac_ext >&5
6228 glibcpp_cv_func___builtin_fabs_link=no
6235 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
6236 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
6237 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6238 cat >> confdefs.h <<EOF
6239 #define ${ac_tr_func} 1
6246 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
6247 echo "configure:6248: checking for __builtin_fabsl declaration" >&5
6248 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
6249 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
6250 echo $ac_n "(cached) $ac_c" 1>&6
6255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6256 ac_cpp='$CXXCPP $CPPFLAGS'
6257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6259 cross_compiling=$ac_cv_prog_cxx_cross
6261 cat > conftest.$ac_ext <<EOF
6262 #line 6263 "configure"
6263 #include "confdefs.h"
6269 if { (eval echo configure:6270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6271 glibcpp_cv_func___builtin_fabsl_use=yes
6273 echo "configure: failed program was:" >&5
6274 cat conftest.$ac_ext >&5
6276 glibcpp_cv_func___builtin_fabsl_use=no
6280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6281 ac_cpp='$CPP $CPPFLAGS'
6282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6284 cross_compiling=$ac_cv_prog_cc_cross
6290 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
6291 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
6292 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
6293 echo "configure:6294: checking for __builtin_fabsl linkage" >&5
6294 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
6295 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
6296 echo $ac_n "(cached) $ac_c" 1>&6
6299 cat > conftest.$ac_ext <<EOF
6300 #line 6301 "configure"
6301 #include "confdefs.h"
6307 if { (eval echo configure:6308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6309 glibcpp_cv_func___builtin_fabsl_link=yes
6311 echo "configure: failed program was:" >&5
6312 cat conftest.$ac_ext >&5
6314 glibcpp_cv_func___builtin_fabsl_link=no
6321 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
6322 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
6323 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6324 cat >> confdefs.h <<EOF
6325 #define ${ac_tr_func} 1
6332 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
6333 echo "configure:6334: checking for __builtin_labs declaration" >&5
6334 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
6335 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
6336 echo $ac_n "(cached) $ac_c" 1>&6
6341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6342 ac_cpp='$CXXCPP $CPPFLAGS'
6343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6345 cross_compiling=$ac_cv_prog_cxx_cross
6347 cat > conftest.$ac_ext <<EOF
6348 #line 6349 "configure"
6349 #include "confdefs.h"
6355 if { (eval echo configure:6356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6357 glibcpp_cv_func___builtin_labs_use=yes
6359 echo "configure: failed program was:" >&5
6360 cat conftest.$ac_ext >&5
6362 glibcpp_cv_func___builtin_labs_use=no
6366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6367 ac_cpp='$CPP $CPPFLAGS'
6368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6370 cross_compiling=$ac_cv_prog_cc_cross
6376 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
6377 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
6378 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
6379 echo "configure:6380: checking for __builtin_labs linkage" >&5
6380 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
6381 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
6382 echo $ac_n "(cached) $ac_c" 1>&6
6385 cat > conftest.$ac_ext <<EOF
6386 #line 6387 "configure"
6387 #include "confdefs.h"
6393 if { (eval echo configure:6394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6395 glibcpp_cv_func___builtin_labs_link=yes
6397 echo "configure: failed program was:" >&5
6398 cat conftest.$ac_ext >&5
6400 glibcpp_cv_func___builtin_labs_link=no
6407 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
6408 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
6409 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6410 cat >> confdefs.h <<EOF
6411 #define ${ac_tr_func} 1
6419 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
6420 echo "configure:6421: checking for __builtin_sqrtf declaration" >&5
6421 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
6422 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
6423 echo $ac_n "(cached) $ac_c" 1>&6
6428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6429 ac_cpp='$CXXCPP $CPPFLAGS'
6430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6432 cross_compiling=$ac_cv_prog_cxx_cross
6434 cat > conftest.$ac_ext <<EOF
6435 #line 6436 "configure"
6436 #include "confdefs.h"
6442 if { (eval echo configure:6443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6444 glibcpp_cv_func___builtin_sqrtf_use=yes
6446 echo "configure: failed program was:" >&5
6447 cat conftest.$ac_ext >&5
6449 glibcpp_cv_func___builtin_sqrtf_use=no
6453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6454 ac_cpp='$CPP $CPPFLAGS'
6455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6457 cross_compiling=$ac_cv_prog_cc_cross
6463 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
6464 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
6465 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
6466 echo "configure:6467: checking for __builtin_sqrtf linkage" >&5
6467 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
6468 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
6469 echo $ac_n "(cached) $ac_c" 1>&6
6472 cat > conftest.$ac_ext <<EOF
6473 #line 6474 "configure"
6474 #include "confdefs.h"
6480 if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6482 glibcpp_cv_func___builtin_sqrtf_link=yes
6484 echo "configure: failed program was:" >&5
6485 cat conftest.$ac_ext >&5
6487 glibcpp_cv_func___builtin_sqrtf_link=no
6494 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
6495 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
6496 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6497 cat >> confdefs.h <<EOF
6498 #define ${ac_tr_func} 1
6505 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
6506 echo "configure:6507: checking for __builtin_sqrt declaration" >&5
6507 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
6508 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
6509 echo $ac_n "(cached) $ac_c" 1>&6
6514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6515 ac_cpp='$CXXCPP $CPPFLAGS'
6516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6518 cross_compiling=$ac_cv_prog_cxx_cross
6520 cat > conftest.$ac_ext <<EOF
6521 #line 6522 "configure"
6522 #include "confdefs.h"
6528 if { (eval echo configure:6529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6530 glibcpp_cv_func___builtin_sqrt_use=yes
6532 echo "configure: failed program was:" >&5
6533 cat conftest.$ac_ext >&5
6535 glibcpp_cv_func___builtin_sqrt_use=no
6539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6543 cross_compiling=$ac_cv_prog_cc_cross
6549 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
6550 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
6551 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
6552 echo "configure:6553: checking for __builtin_sqrt linkage" >&5
6553 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
6554 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
6555 echo $ac_n "(cached) $ac_c" 1>&6
6558 cat > conftest.$ac_ext <<EOF
6559 #line 6560 "configure"
6560 #include "confdefs.h"
6566 if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6568 glibcpp_cv_func___builtin_sqrt_link=yes
6570 echo "configure: failed program was:" >&5
6571 cat conftest.$ac_ext >&5
6573 glibcpp_cv_func___builtin_sqrt_link=no
6580 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
6581 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
6582 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6583 cat >> confdefs.h <<EOF
6584 #define ${ac_tr_func} 1
6591 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
6592 echo "configure:6593: checking for __builtin_sqrtl declaration" >&5
6593 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
6594 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
6595 echo $ac_n "(cached) $ac_c" 1>&6
6600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6601 ac_cpp='$CXXCPP $CPPFLAGS'
6602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6604 cross_compiling=$ac_cv_prog_cxx_cross
6606 cat > conftest.$ac_ext <<EOF
6607 #line 6608 "configure"
6608 #include "confdefs.h"
6614 if { (eval echo configure:6615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6616 glibcpp_cv_func___builtin_sqrtl_use=yes
6618 echo "configure: failed program was:" >&5
6619 cat conftest.$ac_ext >&5
6621 glibcpp_cv_func___builtin_sqrtl_use=no
6625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6626 ac_cpp='$CPP $CPPFLAGS'
6627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6629 cross_compiling=$ac_cv_prog_cc_cross
6635 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
6636 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
6637 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
6638 echo "configure:6639: checking for __builtin_sqrtl linkage" >&5
6639 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
6640 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
6641 echo $ac_n "(cached) $ac_c" 1>&6
6644 cat > conftest.$ac_ext <<EOF
6645 #line 6646 "configure"
6646 #include "confdefs.h"
6652 if { (eval echo configure:6653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6654 glibcpp_cv_func___builtin_sqrtl_link=yes
6656 echo "configure: failed program was:" >&5
6657 cat conftest.$ac_ext >&5
6659 glibcpp_cv_func___builtin_sqrtl_link=no
6666 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
6667 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
6668 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6669 cat >> confdefs.h <<EOF
6670 #define ${ac_tr_func} 1
6678 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
6679 echo "configure:6680: checking for __builtin_sinf declaration" >&5
6680 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
6681 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
6682 echo $ac_n "(cached) $ac_c" 1>&6
6687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6688 ac_cpp='$CXXCPP $CPPFLAGS'
6689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6691 cross_compiling=$ac_cv_prog_cxx_cross
6693 cat > conftest.$ac_ext <<EOF
6694 #line 6695 "configure"
6695 #include "confdefs.h"
6701 if { (eval echo configure:6702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6703 glibcpp_cv_func___builtin_sinf_use=yes
6705 echo "configure: failed program was:" >&5
6706 cat conftest.$ac_ext >&5
6708 glibcpp_cv_func___builtin_sinf_use=no
6712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6713 ac_cpp='$CPP $CPPFLAGS'
6714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6716 cross_compiling=$ac_cv_prog_cc_cross
6722 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
6723 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
6724 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
6725 echo "configure:6726: checking for __builtin_sinf linkage" >&5
6726 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
6727 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
6728 echo $ac_n "(cached) $ac_c" 1>&6
6731 cat > conftest.$ac_ext <<EOF
6732 #line 6733 "configure"
6733 #include "confdefs.h"
6739 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6741 glibcpp_cv_func___builtin_sinf_link=yes
6743 echo "configure: failed program was:" >&5
6744 cat conftest.$ac_ext >&5
6746 glibcpp_cv_func___builtin_sinf_link=no
6753 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6754 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
6755 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6756 cat >> confdefs.h <<EOF
6757 #define ${ac_tr_func} 1
6764 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
6765 echo "configure:6766: checking for __builtin_sin declaration" >&5
6766 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
6767 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6768 echo $ac_n "(cached) $ac_c" 1>&6
6773 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6774 ac_cpp='$CXXCPP $CPPFLAGS'
6775 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6776 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6777 cross_compiling=$ac_cv_prog_cxx_cross
6779 cat > conftest.$ac_ext <<EOF
6780 #line 6781 "configure"
6781 #include "confdefs.h"
6787 if { (eval echo configure:6788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6789 glibcpp_cv_func___builtin_sin_use=yes
6791 echo "configure: failed program was:" >&5
6792 cat conftest.$ac_ext >&5
6794 glibcpp_cv_func___builtin_sin_use=no
6798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6799 ac_cpp='$CPP $CPPFLAGS'
6800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6802 cross_compiling=$ac_cv_prog_cc_cross
6808 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6809 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6810 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6811 echo "configure:6812: checking for __builtin_sin linkage" >&5
6812 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6813 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6814 echo $ac_n "(cached) $ac_c" 1>&6
6817 cat > conftest.$ac_ext <<EOF
6818 #line 6819 "configure"
6819 #include "confdefs.h"
6825 if { (eval echo configure:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6827 glibcpp_cv_func___builtin_sin_link=yes
6829 echo "configure: failed program was:" >&5
6830 cat conftest.$ac_ext >&5
6832 glibcpp_cv_func___builtin_sin_link=no
6839 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6840 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6841 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6842 cat >> confdefs.h <<EOF
6843 #define ${ac_tr_func} 1
6850 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6851 echo "configure:6852: checking for __builtin_sinl declaration" >&5
6852 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6853 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6854 echo $ac_n "(cached) $ac_c" 1>&6
6859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6860 ac_cpp='$CXXCPP $CPPFLAGS'
6861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6863 cross_compiling=$ac_cv_prog_cxx_cross
6865 cat > conftest.$ac_ext <<EOF
6866 #line 6867 "configure"
6867 #include "confdefs.h"
6873 if { (eval echo configure:6874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6875 glibcpp_cv_func___builtin_sinl_use=yes
6877 echo "configure: failed program was:" >&5
6878 cat conftest.$ac_ext >&5
6880 glibcpp_cv_func___builtin_sinl_use=no
6884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6888 cross_compiling=$ac_cv_prog_cc_cross
6894 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6895 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6896 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6897 echo "configure:6898: checking for __builtin_sinl linkage" >&5
6898 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6899 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6900 echo $ac_n "(cached) $ac_c" 1>&6
6903 cat > conftest.$ac_ext <<EOF
6904 #line 6905 "configure"
6905 #include "confdefs.h"
6911 if { (eval echo configure:6912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6913 glibcpp_cv_func___builtin_sinl_link=yes
6915 echo "configure: failed program was:" >&5
6916 cat conftest.$ac_ext >&5
6918 glibcpp_cv_func___builtin_sinl_link=no
6925 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6926 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6927 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6928 cat >> confdefs.h <<EOF
6929 #define ${ac_tr_func} 1
6937 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6938 echo "configure:6939: checking for __builtin_cosf declaration" >&5
6939 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6940 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6941 echo $ac_n "(cached) $ac_c" 1>&6
6946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6947 ac_cpp='$CXXCPP $CPPFLAGS'
6948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6950 cross_compiling=$ac_cv_prog_cxx_cross
6952 cat > conftest.$ac_ext <<EOF
6953 #line 6954 "configure"
6954 #include "confdefs.h"
6960 if { (eval echo configure:6961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6962 glibcpp_cv_func___builtin_cosf_use=yes
6964 echo "configure: failed program was:" >&5
6965 cat conftest.$ac_ext >&5
6967 glibcpp_cv_func___builtin_cosf_use=no
6971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6972 ac_cpp='$CPP $CPPFLAGS'
6973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6975 cross_compiling=$ac_cv_prog_cc_cross
6981 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6982 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6983 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6984 echo "configure:6985: checking for __builtin_cosf linkage" >&5
6985 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6986 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6987 echo $ac_n "(cached) $ac_c" 1>&6
6990 cat > conftest.$ac_ext <<EOF
6991 #line 6992 "configure"
6992 #include "confdefs.h"
6998 if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7000 glibcpp_cv_func___builtin_cosf_link=yes
7002 echo "configure: failed program was:" >&5
7003 cat conftest.$ac_ext >&5
7005 glibcpp_cv_func___builtin_cosf_link=no
7012 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
7013 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
7014 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7015 cat >> confdefs.h <<EOF
7016 #define ${ac_tr_func} 1
7023 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
7024 echo "configure:7025: checking for __builtin_cos declaration" >&5
7025 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
7026 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
7027 echo $ac_n "(cached) $ac_c" 1>&6
7032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7033 ac_cpp='$CXXCPP $CPPFLAGS'
7034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7036 cross_compiling=$ac_cv_prog_cxx_cross
7038 cat > conftest.$ac_ext <<EOF
7039 #line 7040 "configure"
7040 #include "confdefs.h"
7046 if { (eval echo configure:7047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7048 glibcpp_cv_func___builtin_cos_use=yes
7050 echo "configure: failed program was:" >&5
7051 cat conftest.$ac_ext >&5
7053 glibcpp_cv_func___builtin_cos_use=no
7057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7058 ac_cpp='$CPP $CPPFLAGS'
7059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7061 cross_compiling=$ac_cv_prog_cc_cross
7067 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
7068 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
7069 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
7070 echo "configure:7071: checking for __builtin_cos linkage" >&5
7071 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
7072 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
7073 echo $ac_n "(cached) $ac_c" 1>&6
7076 cat > conftest.$ac_ext <<EOF
7077 #line 7078 "configure"
7078 #include "confdefs.h"
7084 if { (eval echo configure:7085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7086 glibcpp_cv_func___builtin_cos_link=yes
7088 echo "configure: failed program was:" >&5
7089 cat conftest.$ac_ext >&5
7091 glibcpp_cv_func___builtin_cos_link=no
7098 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
7099 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
7100 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7101 cat >> confdefs.h <<EOF
7102 #define ${ac_tr_func} 1
7109 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
7110 echo "configure:7111: checking for __builtin_cosl declaration" >&5
7111 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
7112 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
7113 echo $ac_n "(cached) $ac_c" 1>&6
7118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7119 ac_cpp='$CXXCPP $CPPFLAGS'
7120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7122 cross_compiling=$ac_cv_prog_cxx_cross
7124 cat > conftest.$ac_ext <<EOF
7125 #line 7126 "configure"
7126 #include "confdefs.h"
7132 if { (eval echo configure:7133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7134 glibcpp_cv_func___builtin_cosl_use=yes
7136 echo "configure: failed program was:" >&5
7137 cat conftest.$ac_ext >&5
7139 glibcpp_cv_func___builtin_cosl_use=no
7143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7144 ac_cpp='$CPP $CPPFLAGS'
7145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7147 cross_compiling=$ac_cv_prog_cc_cross
7153 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
7154 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
7155 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
7156 echo "configure:7157: checking for __builtin_cosl linkage" >&5
7157 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
7158 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
7159 echo $ac_n "(cached) $ac_c" 1>&6
7162 cat > conftest.$ac_ext <<EOF
7163 #line 7164 "configure"
7164 #include "confdefs.h"
7170 if { (eval echo configure:7171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7172 glibcpp_cv_func___builtin_cosl_link=yes
7174 echo "configure: failed program was:" >&5
7175 cat conftest.$ac_ext >&5
7177 glibcpp_cv_func___builtin_cosl_link=no
7184 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
7185 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
7186 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7187 cat >> confdefs.h <<EOF
7188 #define ${ac_tr_func} 1
7196 if test x$dummyvar = x"yes"; then
7197 cat >> confdefs.h <<\EOF
7198 #define HAVE___BUILTIN_ABS 1
7201 cat >> confdefs.h <<\EOF
7202 #define HAVE___BUILTIN_LABS 1
7205 cat >> confdefs.h <<\EOF
7206 #define HAVE___BUILTIN_COS 1
7209 cat >> confdefs.h <<\EOF
7210 #define HAVE___BUILTIN_COSF 1
7213 cat >> confdefs.h <<\EOF
7214 #define HAVE___BUILTIN_COSL 1
7217 cat >> confdefs.h <<\EOF
7218 #define HAVE___BUILTIN_FABS 1
7221 cat >> confdefs.h <<\EOF
7222 #define HAVE___BUILTIN_FABSF 1
7225 cat >> confdefs.h <<\EOF
7226 #define HAVE___BUILTIN_FABSL 1
7229 cat >> confdefs.h <<\EOF
7230 #define HAVE___BUILTIN_SIN 1
7233 cat >> confdefs.h <<\EOF
7234 #define HAVE___BUILTIN_SINF 1
7237 cat >> confdefs.h <<\EOF
7238 #define HAVE___BUILTIN_SINL 1
7241 cat >> confdefs.h <<\EOF
7242 #define HAVE___BUILTIN_SQRT 1
7245 cat >> confdefs.h <<\EOF
7246 #define HAVE___BUILTIN_SQRTF 1
7249 cat >> confdefs.h <<\EOF
7250 #define HAVE___BUILTIN_SQRTL 1
7256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7257 ac_save_CXXFLAGS="$CXXFLAGS"
7258 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
7260 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
7261 echo "configure:7262: checking for sin in -lm" >&5
7262 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
7263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7264 echo $ac_n "(cached) $ac_c" 1>&6
7266 ac_save_LIBS="$LIBS"
7268 cat > conftest.$ac_ext <<EOF
7269 #line 7270 "configure"
7270 #include "confdefs.h"
7271 /* Override any gcc2 internal prototype to avoid an error. */
7272 /* We use char because int might match the return type of a gcc2
7273 builtin and then its argument prototype would still apply. */
7280 if { (eval echo configure:7281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7282 eval "ac_cv_lib_$ac_lib_var=yes"
7284 echo "configure: failed program was:" >&5
7285 cat conftest.$ac_ext >&5
7287 eval "ac_cv_lib_$ac_lib_var=no"
7290 LIBS="$ac_save_LIBS"
7293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7294 echo "$ac_t""yes" 1>&6
7297 echo "$ac_t""no" 1>&6
7300 ac_save_LIBS="$LIBS"
7305 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
7306 echo "configure:7307: checking for isinf declaration" >&5
7307 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
7308 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
7309 echo $ac_n "(cached) $ac_c" 1>&6
7314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7315 ac_cpp='$CXXCPP $CPPFLAGS'
7316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7318 cross_compiling=$ac_cv_prog_cxx_cross
7320 cat > conftest.$ac_ext <<EOF
7321 #line 7322 "configure"
7322 #include "confdefs.h"
7324 #ifdef HAVE_IEEEFP_H
7332 if { (eval echo configure:7333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7334 glibcpp_cv_func_isinf_use=yes
7336 echo "configure: failed program was:" >&5
7337 cat conftest.$ac_ext >&5
7339 glibcpp_cv_func_isinf_use=no
7343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7344 ac_cpp='$CPP $CPPFLAGS'
7345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7347 cross_compiling=$ac_cv_prog_cc_cross
7353 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
7355 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
7356 for ac_func in isinf
7358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7359 echo "configure:7360: checking for $ac_func" >&5
7360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7361 echo $ac_n "(cached) $ac_c" 1>&6
7363 cat > conftest.$ac_ext <<EOF
7364 #line 7365 "configure"
7365 #include "confdefs.h"
7366 /* System header to define __stub macros and hopefully few prototypes,
7367 which can conflict with char $ac_func(); below. */
7369 /* Override any gcc2 internal prototype to avoid an error. */
7370 /* We use char because int might match the return type of a gcc2
7371 builtin and then its argument prototype would still apply. */
7376 /* The GNU C library defines this for functions which it implements
7377 to always fail with ENOSYS. Some functions are actually named
7378 something starting with __ and the normal name is an alias. */
7379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7389 eval "ac_cv_func_$ac_func=yes"
7391 echo "configure: failed program was:" >&5
7392 cat conftest.$ac_ext >&5
7394 eval "ac_cv_func_$ac_func=no"
7399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7400 echo "$ac_t""yes" 1>&6
7401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7402 cat >> confdefs.h <<EOF
7403 #define $ac_tr_func 1
7407 echo "$ac_t""no" 1>&6
7413 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
7414 echo "configure:7415: checking for _isinf declaration" >&5
7415 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
7416 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
7417 echo $ac_n "(cached) $ac_c" 1>&6
7422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7423 ac_cpp='$CXXCPP $CPPFLAGS'
7424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7426 cross_compiling=$ac_cv_prog_cxx_cross
7428 cat > conftest.$ac_ext <<EOF
7429 #line 7430 "configure"
7430 #include "confdefs.h"
7432 #ifdef HAVE_IEEEFP_H
7440 if { (eval echo configure:7441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7442 glibcpp_cv_func__isinf_use=yes
7444 echo "configure: failed program was:" >&5
7445 cat conftest.$ac_ext >&5
7447 glibcpp_cv_func__isinf_use=no
7451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7452 ac_cpp='$CPP $CPPFLAGS'
7453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7455 cross_compiling=$ac_cv_prog_cc_cross
7461 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
7463 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
7464 for ac_func in _isinf
7466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7467 echo "configure:7468: checking for $ac_func" >&5
7468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6
7471 cat > conftest.$ac_ext <<EOF
7472 #line 7473 "configure"
7473 #include "confdefs.h"
7474 /* System header to define __stub macros and hopefully few prototypes,
7475 which can conflict with char $ac_func(); below. */
7477 /* Override any gcc2 internal prototype to avoid an error. */
7478 /* We use char because int might match the return type of a gcc2
7479 builtin and then its argument prototype would still apply. */
7484 /* The GNU C library defines this for functions which it implements
7485 to always fail with ENOSYS. Some functions are actually named
7486 something starting with __ and the normal name is an alias. */
7487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7495 if { (eval echo configure:7496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7497 eval "ac_cv_func_$ac_func=yes"
7499 echo "configure: failed program was:" >&5
7500 cat conftest.$ac_ext >&5
7502 eval "ac_cv_func_$ac_func=no"
7507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7508 echo "$ac_t""yes" 1>&6
7509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7510 cat >> confdefs.h <<EOF
7511 #define $ac_tr_func 1
7515 echo "$ac_t""no" 1>&6
7524 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
7525 echo "configure:7526: checking for isnan declaration" >&5
7526 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
7527 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
7528 echo $ac_n "(cached) $ac_c" 1>&6
7533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7534 ac_cpp='$CXXCPP $CPPFLAGS'
7535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7537 cross_compiling=$ac_cv_prog_cxx_cross
7539 cat > conftest.$ac_ext <<EOF
7540 #line 7541 "configure"
7541 #include "confdefs.h"
7543 #ifdef HAVE_IEEEFP_H
7551 if { (eval echo configure:7552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7553 glibcpp_cv_func_isnan_use=yes
7555 echo "configure: failed program was:" >&5
7556 cat conftest.$ac_ext >&5
7558 glibcpp_cv_func_isnan_use=no
7562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7563 ac_cpp='$CPP $CPPFLAGS'
7564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7566 cross_compiling=$ac_cv_prog_cc_cross
7572 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
7574 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
7575 for ac_func in isnan
7577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7578 echo "configure:7579: checking for $ac_func" >&5
7579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7580 echo $ac_n "(cached) $ac_c" 1>&6
7582 cat > conftest.$ac_ext <<EOF
7583 #line 7584 "configure"
7584 #include "confdefs.h"
7585 /* System header to define __stub macros and hopefully few prototypes,
7586 which can conflict with char $ac_func(); below. */
7588 /* Override any gcc2 internal prototype to avoid an error. */
7589 /* We use char because int might match the return type of a gcc2
7590 builtin and then its argument prototype would still apply. */
7595 /* The GNU C library defines this for functions which it implements
7596 to always fail with ENOSYS. Some functions are actually named
7597 something starting with __ and the normal name is an alias. */
7598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7606 if { (eval echo configure:7607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7608 eval "ac_cv_func_$ac_func=yes"
7610 echo "configure: failed program was:" >&5
7611 cat conftest.$ac_ext >&5
7613 eval "ac_cv_func_$ac_func=no"
7618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7619 echo "$ac_t""yes" 1>&6
7620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7621 cat >> confdefs.h <<EOF
7622 #define $ac_tr_func 1
7626 echo "$ac_t""no" 1>&6
7632 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
7633 echo "configure:7634: checking for _isnan declaration" >&5
7634 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
7635 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
7636 echo $ac_n "(cached) $ac_c" 1>&6
7641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7642 ac_cpp='$CXXCPP $CPPFLAGS'
7643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7645 cross_compiling=$ac_cv_prog_cxx_cross
7647 cat > conftest.$ac_ext <<EOF
7648 #line 7649 "configure"
7649 #include "confdefs.h"
7651 #ifdef HAVE_IEEEFP_H
7659 if { (eval echo configure:7660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7661 glibcpp_cv_func__isnan_use=yes
7663 echo "configure: failed program was:" >&5
7664 cat conftest.$ac_ext >&5
7666 glibcpp_cv_func__isnan_use=no
7670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7671 ac_cpp='$CPP $CPPFLAGS'
7672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7674 cross_compiling=$ac_cv_prog_cc_cross
7680 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
7682 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
7683 for ac_func in _isnan
7685 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7686 echo "configure:7687: checking for $ac_func" >&5
7687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7688 echo $ac_n "(cached) $ac_c" 1>&6
7690 cat > conftest.$ac_ext <<EOF
7691 #line 7692 "configure"
7692 #include "confdefs.h"
7693 /* System header to define __stub macros and hopefully few prototypes,
7694 which can conflict with char $ac_func(); below. */
7696 /* Override any gcc2 internal prototype to avoid an error. */
7697 /* We use char because int might match the return type of a gcc2
7698 builtin and then its argument prototype would still apply. */
7703 /* The GNU C library defines this for functions which it implements
7704 to always fail with ENOSYS. Some functions are actually named
7705 something starting with __ and the normal name is an alias. */
7706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7714 if { (eval echo configure:7715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7716 eval "ac_cv_func_$ac_func=yes"
7718 echo "configure: failed program was:" >&5
7719 cat conftest.$ac_ext >&5
7721 eval "ac_cv_func_$ac_func=no"
7726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7727 echo "$ac_t""yes" 1>&6
7728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7729 cat >> confdefs.h <<EOF
7730 #define $ac_tr_func 1
7734 echo "$ac_t""no" 1>&6
7743 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
7744 echo "configure:7745: checking for finite declaration" >&5
7745 if test x${glibcpp_cv_func_finite_use+set} != xset; then
7746 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7747 echo $ac_n "(cached) $ac_c" 1>&6
7752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7753 ac_cpp='$CXXCPP $CPPFLAGS'
7754 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7755 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7756 cross_compiling=$ac_cv_prog_cxx_cross
7758 cat > conftest.$ac_ext <<EOF
7759 #line 7760 "configure"
7760 #include "confdefs.h"
7762 #ifdef HAVE_IEEEFP_H
7770 if { (eval echo configure:7771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7772 glibcpp_cv_func_finite_use=yes
7774 echo "configure: failed program was:" >&5
7775 cat conftest.$ac_ext >&5
7777 glibcpp_cv_func_finite_use=no
7781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7782 ac_cpp='$CPP $CPPFLAGS'
7783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7785 cross_compiling=$ac_cv_prog_cc_cross
7791 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7793 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7794 for ac_func in finite
7796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7797 echo "configure:7798: checking for $ac_func" >&5
7798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7799 echo $ac_n "(cached) $ac_c" 1>&6
7801 cat > conftest.$ac_ext <<EOF
7802 #line 7803 "configure"
7803 #include "confdefs.h"
7804 /* System header to define __stub macros and hopefully few prototypes,
7805 which can conflict with char $ac_func(); below. */
7807 /* Override any gcc2 internal prototype to avoid an error. */
7808 /* We use char because int might match the return type of a gcc2
7809 builtin and then its argument prototype would still apply. */
7814 /* The GNU C library defines this for functions which it implements
7815 to always fail with ENOSYS. Some functions are actually named
7816 something starting with __ and the normal name is an alias. */
7817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7825 if { (eval echo configure:7826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7827 eval "ac_cv_func_$ac_func=yes"
7829 echo "configure: failed program was:" >&5
7830 cat conftest.$ac_ext >&5
7832 eval "ac_cv_func_$ac_func=no"
7837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7838 echo "$ac_t""yes" 1>&6
7839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7840 cat >> confdefs.h <<EOF
7841 #define $ac_tr_func 1
7845 echo "$ac_t""no" 1>&6
7851 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7852 echo "configure:7853: checking for _finite declaration" >&5
7853 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7854 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7855 echo $ac_n "(cached) $ac_c" 1>&6
7860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7861 ac_cpp='$CXXCPP $CPPFLAGS'
7862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7864 cross_compiling=$ac_cv_prog_cxx_cross
7866 cat > conftest.$ac_ext <<EOF
7867 #line 7868 "configure"
7868 #include "confdefs.h"
7870 #ifdef HAVE_IEEEFP_H
7878 if { (eval echo configure:7879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7880 glibcpp_cv_func__finite_use=yes
7882 echo "configure: failed program was:" >&5
7883 cat conftest.$ac_ext >&5
7885 glibcpp_cv_func__finite_use=no
7889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7890 ac_cpp='$CPP $CPPFLAGS'
7891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7893 cross_compiling=$ac_cv_prog_cc_cross
7899 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7901 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7902 for ac_func in _finite
7904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7905 echo "configure:7906: checking for $ac_func" >&5
7906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7907 echo $ac_n "(cached) $ac_c" 1>&6
7909 cat > conftest.$ac_ext <<EOF
7910 #line 7911 "configure"
7911 #include "confdefs.h"
7912 /* System header to define __stub macros and hopefully few prototypes,
7913 which can conflict with char $ac_func(); below. */
7915 /* Override any gcc2 internal prototype to avoid an error. */
7916 /* We use char because int might match the return type of a gcc2
7917 builtin and then its argument prototype would still apply. */
7922 /* The GNU C library defines this for functions which it implements
7923 to always fail with ENOSYS. Some functions are actually named
7924 something starting with __ and the normal name is an alias. */
7925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7935 eval "ac_cv_func_$ac_func=yes"
7937 echo "configure: failed program was:" >&5
7938 cat conftest.$ac_ext >&5
7940 eval "ac_cv_func_$ac_func=no"
7945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7946 echo "$ac_t""yes" 1>&6
7947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7948 cat >> confdefs.h <<EOF
7949 #define $ac_tr_func 1
7953 echo "$ac_t""no" 1>&6
7962 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7963 echo "configure:7964: checking for copysign declaration" >&5
7964 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7965 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7966 echo $ac_n "(cached) $ac_c" 1>&6
7971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7972 ac_cpp='$CXXCPP $CPPFLAGS'
7973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7975 cross_compiling=$ac_cv_prog_cxx_cross
7977 cat > conftest.$ac_ext <<EOF
7978 #line 7979 "configure"
7979 #include "confdefs.h"
7985 if { (eval echo configure:7986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7987 glibcpp_cv_func_copysign_use=yes
7989 echo "configure: failed program was:" >&5
7990 cat conftest.$ac_ext >&5
7992 glibcpp_cv_func_copysign_use=no
7996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7997 ac_cpp='$CPP $CPPFLAGS'
7998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8000 cross_compiling=$ac_cv_prog_cc_cross
8006 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
8008 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
8009 for ac_func in copysign
8011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8012 echo "configure:8013: checking for $ac_func" >&5
8013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8014 echo $ac_n "(cached) $ac_c" 1>&6
8016 cat > conftest.$ac_ext <<EOF
8017 #line 8018 "configure"
8018 #include "confdefs.h"
8019 /* System header to define __stub macros and hopefully few prototypes,
8020 which can conflict with char $ac_func(); below. */
8022 /* Override any gcc2 internal prototype to avoid an error. */
8023 /* We use char because int might match the return type of a gcc2
8024 builtin and then its argument prototype would still apply. */
8029 /* The GNU C library defines this for functions which it implements
8030 to always fail with ENOSYS. Some functions are actually named
8031 something starting with __ and the normal name is an alias. */
8032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8040 if { (eval echo configure:8041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8042 eval "ac_cv_func_$ac_func=yes"
8044 echo "configure: failed program was:" >&5
8045 cat conftest.$ac_ext >&5
8047 eval "ac_cv_func_$ac_func=no"
8052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8053 echo "$ac_t""yes" 1>&6
8054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8055 cat >> confdefs.h <<EOF
8056 #define $ac_tr_func 1
8060 echo "$ac_t""no" 1>&6
8066 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
8067 echo "configure:8068: checking for _copysign declaration" >&5
8068 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
8069 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
8070 echo $ac_n "(cached) $ac_c" 1>&6
8075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8076 ac_cpp='$CXXCPP $CPPFLAGS'
8077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8079 cross_compiling=$ac_cv_prog_cxx_cross
8081 cat > conftest.$ac_ext <<EOF
8082 #line 8083 "configure"
8083 #include "confdefs.h"
8089 if { (eval echo configure:8090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8091 glibcpp_cv_func__copysign_use=yes
8093 echo "configure: failed program was:" >&5
8094 cat conftest.$ac_ext >&5
8096 glibcpp_cv_func__copysign_use=no
8100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8101 ac_cpp='$CPP $CPPFLAGS'
8102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8104 cross_compiling=$ac_cv_prog_cc_cross
8110 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
8112 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
8113 for ac_func in _copysign
8115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8116 echo "configure:8117: checking for $ac_func" >&5
8117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8118 echo $ac_n "(cached) $ac_c" 1>&6
8120 cat > conftest.$ac_ext <<EOF
8121 #line 8122 "configure"
8122 #include "confdefs.h"
8123 /* System header to define __stub macros and hopefully few prototypes,
8124 which can conflict with char $ac_func(); below. */
8126 /* Override any gcc2 internal prototype to avoid an error. */
8127 /* We use char because int might match the return type of a gcc2
8128 builtin and then its argument prototype would still apply. */
8133 /* The GNU C library defines this for functions which it implements
8134 to always fail with ENOSYS. Some functions are actually named
8135 something starting with __ and the normal name is an alias. */
8136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8144 if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8146 eval "ac_cv_func_$ac_func=yes"
8148 echo "configure: failed program was:" >&5
8149 cat conftest.$ac_ext >&5
8151 eval "ac_cv_func_$ac_func=no"
8156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8157 echo "$ac_t""yes" 1>&6
8158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8159 cat >> confdefs.h <<EOF
8160 #define $ac_tr_func 1
8164 echo "$ac_t""no" 1>&6
8173 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
8174 echo "configure:8175: checking for sincos declaration" >&5
8175 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
8176 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
8177 echo $ac_n "(cached) $ac_c" 1>&6
8182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8183 ac_cpp='$CXXCPP $CPPFLAGS'
8184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8186 cross_compiling=$ac_cv_prog_cxx_cross
8188 cat > conftest.$ac_ext <<EOF
8189 #line 8190 "configure"
8190 #include "confdefs.h"
8196 if { (eval echo configure:8197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8198 glibcpp_cv_func_sincos_use=yes
8200 echo "configure: failed program was:" >&5
8201 cat conftest.$ac_ext >&5
8203 glibcpp_cv_func_sincos_use=no
8207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8208 ac_cpp='$CPP $CPPFLAGS'
8209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8211 cross_compiling=$ac_cv_prog_cc_cross
8217 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
8219 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
8220 for ac_func in sincos
8222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8223 echo "configure:8224: checking for $ac_func" >&5
8224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8225 echo $ac_n "(cached) $ac_c" 1>&6
8227 cat > conftest.$ac_ext <<EOF
8228 #line 8229 "configure"
8229 #include "confdefs.h"
8230 /* System header to define __stub macros and hopefully few prototypes,
8231 which can conflict with char $ac_func(); below. */
8233 /* Override any gcc2 internal prototype to avoid an error. */
8234 /* We use char because int might match the return type of a gcc2
8235 builtin and then its argument prototype would still apply. */
8240 /* The GNU C library defines this for functions which it implements
8241 to always fail with ENOSYS. Some functions are actually named
8242 something starting with __ and the normal name is an alias. */
8243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8253 eval "ac_cv_func_$ac_func=yes"
8255 echo "configure: failed program was:" >&5
8256 cat conftest.$ac_ext >&5
8258 eval "ac_cv_func_$ac_func=no"
8263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8264 echo "$ac_t""yes" 1>&6
8265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8266 cat >> confdefs.h <<EOF
8267 #define $ac_tr_func 1
8271 echo "$ac_t""no" 1>&6
8277 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
8278 echo "configure:8279: checking for _sincos declaration" >&5
8279 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
8280 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
8281 echo $ac_n "(cached) $ac_c" 1>&6
8286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8287 ac_cpp='$CXXCPP $CPPFLAGS'
8288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8290 cross_compiling=$ac_cv_prog_cxx_cross
8292 cat > conftest.$ac_ext <<EOF
8293 #line 8294 "configure"
8294 #include "confdefs.h"
8300 if { (eval echo configure:8301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8302 glibcpp_cv_func__sincos_use=yes
8304 echo "configure: failed program was:" >&5
8305 cat conftest.$ac_ext >&5
8307 glibcpp_cv_func__sincos_use=no
8311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8312 ac_cpp='$CPP $CPPFLAGS'
8313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8315 cross_compiling=$ac_cv_prog_cc_cross
8321 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
8323 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
8324 for ac_func in _sincos
8326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8327 echo "configure:8328: checking for $ac_func" >&5
8328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8329 echo $ac_n "(cached) $ac_c" 1>&6
8331 cat > conftest.$ac_ext <<EOF
8332 #line 8333 "configure"
8333 #include "confdefs.h"
8334 /* System header to define __stub macros and hopefully few prototypes,
8335 which can conflict with char $ac_func(); below. */
8337 /* Override any gcc2 internal prototype to avoid an error. */
8338 /* We use char because int might match the return type of a gcc2
8339 builtin and then its argument prototype would still apply. */
8344 /* The GNU C library defines this for functions which it implements
8345 to always fail with ENOSYS. Some functions are actually named
8346 something starting with __ and the normal name is an alias. */
8347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8357 eval "ac_cv_func_$ac_func=yes"
8359 echo "configure: failed program was:" >&5
8360 cat conftest.$ac_ext >&5
8362 eval "ac_cv_func_$ac_func=no"
8367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8368 echo "$ac_t""yes" 1>&6
8369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8370 cat >> confdefs.h <<EOF
8371 #define $ac_tr_func 1
8375 echo "$ac_t""no" 1>&6
8384 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
8385 echo "configure:8386: checking for fpclass declaration" >&5
8386 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
8387 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
8388 echo $ac_n "(cached) $ac_c" 1>&6
8393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8394 ac_cpp='$CXXCPP $CPPFLAGS'
8395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8397 cross_compiling=$ac_cv_prog_cxx_cross
8399 cat > conftest.$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8403 #ifdef HAVE_IEEEFP_H
8411 if { (eval echo configure:8412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8413 glibcpp_cv_func_fpclass_use=yes
8415 echo "configure: failed program was:" >&5
8416 cat conftest.$ac_ext >&5
8418 glibcpp_cv_func_fpclass_use=no
8422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8423 ac_cpp='$CPP $CPPFLAGS'
8424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8426 cross_compiling=$ac_cv_prog_cc_cross
8432 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
8434 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
8435 for ac_func in fpclass
8437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8438 echo "configure:8439: checking for $ac_func" >&5
8439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8440 echo $ac_n "(cached) $ac_c" 1>&6
8442 cat > conftest.$ac_ext <<EOF
8443 #line 8444 "configure"
8444 #include "confdefs.h"
8445 /* System header to define __stub macros and hopefully few prototypes,
8446 which can conflict with char $ac_func(); below. */
8448 /* Override any gcc2 internal prototype to avoid an error. */
8449 /* We use char because int might match the return type of a gcc2
8450 builtin and then its argument prototype would still apply. */
8455 /* The GNU C library defines this for functions which it implements
8456 to always fail with ENOSYS. Some functions are actually named
8457 something starting with __ and the normal name is an alias. */
8458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8466 if { (eval echo configure:8467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8468 eval "ac_cv_func_$ac_func=yes"
8470 echo "configure: failed program was:" >&5
8471 cat conftest.$ac_ext >&5
8473 eval "ac_cv_func_$ac_func=no"
8478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8479 echo "$ac_t""yes" 1>&6
8480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8481 cat >> confdefs.h <<EOF
8482 #define $ac_tr_func 1
8486 echo "$ac_t""no" 1>&6
8492 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
8493 echo "configure:8494: checking for _fpclass declaration" >&5
8494 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
8495 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
8496 echo $ac_n "(cached) $ac_c" 1>&6
8501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8502 ac_cpp='$CXXCPP $CPPFLAGS'
8503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8505 cross_compiling=$ac_cv_prog_cxx_cross
8507 cat > conftest.$ac_ext <<EOF
8508 #line 8509 "configure"
8509 #include "confdefs.h"
8511 #ifdef HAVE_IEEEFP_H
8519 if { (eval echo configure:8520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8521 glibcpp_cv_func__fpclass_use=yes
8523 echo "configure: failed program was:" >&5
8524 cat conftest.$ac_ext >&5
8526 glibcpp_cv_func__fpclass_use=no
8530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8531 ac_cpp='$CPP $CPPFLAGS'
8532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8534 cross_compiling=$ac_cv_prog_cc_cross
8540 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
8542 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
8543 for ac_func in _fpclass
8545 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8546 echo "configure:8547: checking for $ac_func" >&5
8547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8548 echo $ac_n "(cached) $ac_c" 1>&6
8550 cat > conftest.$ac_ext <<EOF
8551 #line 8552 "configure"
8552 #include "confdefs.h"
8553 /* System header to define __stub macros and hopefully few prototypes,
8554 which can conflict with char $ac_func(); below. */
8556 /* Override any gcc2 internal prototype to avoid an error. */
8557 /* We use char because int might match the return type of a gcc2
8558 builtin and then its argument prototype would still apply. */
8563 /* The GNU C library defines this for functions which it implements
8564 to always fail with ENOSYS. Some functions are actually named
8565 something starting with __ and the normal name is an alias. */
8566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8574 if { (eval echo configure:8575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8576 eval "ac_cv_func_$ac_func=yes"
8578 echo "configure: failed program was:" >&5
8579 cat conftest.$ac_ext >&5
8581 eval "ac_cv_func_$ac_func=no"
8586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8587 echo "$ac_t""yes" 1>&6
8588 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8589 cat >> confdefs.h <<EOF
8590 #define $ac_tr_func 1
8594 echo "$ac_t""no" 1>&6
8603 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
8604 echo "configure:8605: checking for qfpclass declaration" >&5
8605 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
8606 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
8607 echo $ac_n "(cached) $ac_c" 1>&6
8612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8613 ac_cpp='$CXXCPP $CPPFLAGS'
8614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8616 cross_compiling=$ac_cv_prog_cxx_cross
8618 cat > conftest.$ac_ext <<EOF
8619 #line 8620 "configure"
8620 #include "confdefs.h"
8622 #ifdef HAVE_IEEEFP_H
8630 if { (eval echo configure:8631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8632 glibcpp_cv_func_qfpclass_use=yes
8634 echo "configure: failed program was:" >&5
8635 cat conftest.$ac_ext >&5
8637 glibcpp_cv_func_qfpclass_use=no
8641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8642 ac_cpp='$CPP $CPPFLAGS'
8643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8645 cross_compiling=$ac_cv_prog_cc_cross
8651 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
8653 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
8654 for ac_func in qfpclass
8656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8657 echo "configure:8658: checking for $ac_func" >&5
8658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8659 echo $ac_n "(cached) $ac_c" 1>&6
8661 cat > conftest.$ac_ext <<EOF
8662 #line 8663 "configure"
8663 #include "confdefs.h"
8664 /* System header to define __stub macros and hopefully few prototypes,
8665 which can conflict with char $ac_func(); below. */
8667 /* Override any gcc2 internal prototype to avoid an error. */
8668 /* We use char because int might match the return type of a gcc2
8669 builtin and then its argument prototype would still apply. */
8674 /* The GNU C library defines this for functions which it implements
8675 to always fail with ENOSYS. Some functions are actually named
8676 something starting with __ and the normal name is an alias. */
8677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8685 if { (eval echo configure:8686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8687 eval "ac_cv_func_$ac_func=yes"
8689 echo "configure: failed program was:" >&5
8690 cat conftest.$ac_ext >&5
8692 eval "ac_cv_func_$ac_func=no"
8697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8698 echo "$ac_t""yes" 1>&6
8699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8700 cat >> confdefs.h <<EOF
8701 #define $ac_tr_func 1
8705 echo "$ac_t""no" 1>&6
8711 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
8712 echo "configure:8713: checking for _qfpclass declaration" >&5
8713 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
8714 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
8715 echo $ac_n "(cached) $ac_c" 1>&6
8720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8721 ac_cpp='$CXXCPP $CPPFLAGS'
8722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8724 cross_compiling=$ac_cv_prog_cxx_cross
8726 cat > conftest.$ac_ext <<EOF
8727 #line 8728 "configure"
8728 #include "confdefs.h"
8730 #ifdef HAVE_IEEEFP_H
8738 if { (eval echo configure:8739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8740 glibcpp_cv_func__qfpclass_use=yes
8742 echo "configure: failed program was:" >&5
8743 cat conftest.$ac_ext >&5
8745 glibcpp_cv_func__qfpclass_use=no
8749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8750 ac_cpp='$CPP $CPPFLAGS'
8751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8753 cross_compiling=$ac_cv_prog_cc_cross
8759 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8761 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
8762 for ac_func in _qfpclass
8764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8765 echo "configure:8766: checking for $ac_func" >&5
8766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8767 echo $ac_n "(cached) $ac_c" 1>&6
8769 cat > conftest.$ac_ext <<EOF
8770 #line 8771 "configure"
8771 #include "confdefs.h"
8772 /* System header to define __stub macros and hopefully few prototypes,
8773 which can conflict with char $ac_func(); below. */
8775 /* Override any gcc2 internal prototype to avoid an error. */
8776 /* We use char because int might match the return type of a gcc2
8777 builtin and then its argument prototype would still apply. */
8782 /* The GNU C library defines this for functions which it implements
8783 to always fail with ENOSYS. Some functions are actually named
8784 something starting with __ and the normal name is an alias. */
8785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8793 if { (eval echo configure:8794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8795 eval "ac_cv_func_$ac_func=yes"
8797 echo "configure: failed program was:" >&5
8798 cat conftest.$ac_ext >&5
8800 eval "ac_cv_func_$ac_func=no"
8805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8806 echo "$ac_t""yes" 1>&6
8807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8808 cat >> confdefs.h <<EOF
8809 #define $ac_tr_func 1
8813 echo "$ac_t""no" 1>&6
8822 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
8823 echo "configure:8824: checking for hypot declaration" >&5
8824 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
8825 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
8826 echo $ac_n "(cached) $ac_c" 1>&6
8831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8832 ac_cpp='$CXXCPP $CPPFLAGS'
8833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8835 cross_compiling=$ac_cv_prog_cxx_cross
8837 cat > conftest.$ac_ext <<EOF
8838 #line 8839 "configure"
8839 #include "confdefs.h"
8845 if { (eval echo configure:8846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8847 glibcpp_cv_func_hypot_use=yes
8849 echo "configure: failed program was:" >&5
8850 cat conftest.$ac_ext >&5
8852 glibcpp_cv_func_hypot_use=no
8856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8857 ac_cpp='$CPP $CPPFLAGS'
8858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8860 cross_compiling=$ac_cv_prog_cc_cross
8866 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
8868 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
8869 for ac_func in hypot
8871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8872 echo "configure:8873: checking for $ac_func" >&5
8873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8874 echo $ac_n "(cached) $ac_c" 1>&6
8876 cat > conftest.$ac_ext <<EOF
8877 #line 8878 "configure"
8878 #include "confdefs.h"
8879 /* System header to define __stub macros and hopefully few prototypes,
8880 which can conflict with char $ac_func(); below. */
8882 /* Override any gcc2 internal prototype to avoid an error. */
8883 /* We use char because int might match the return type of a gcc2
8884 builtin and then its argument prototype would still apply. */
8889 /* The GNU C library defines this for functions which it implements
8890 to always fail with ENOSYS. Some functions are actually named
8891 something starting with __ and the normal name is an alias. */
8892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8900 if { (eval echo configure:8901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8902 eval "ac_cv_func_$ac_func=yes"
8904 echo "configure: failed program was:" >&5
8905 cat conftest.$ac_ext >&5
8907 eval "ac_cv_func_$ac_func=no"
8912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8913 echo "$ac_t""yes" 1>&6
8914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8915 cat >> confdefs.h <<EOF
8916 #define $ac_tr_func 1
8920 echo "$ac_t""no" 1>&6
8926 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
8927 echo "configure:8928: checking for _hypot declaration" >&5
8928 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
8929 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
8930 echo $ac_n "(cached) $ac_c" 1>&6
8935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8936 ac_cpp='$CXXCPP $CPPFLAGS'
8937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8939 cross_compiling=$ac_cv_prog_cxx_cross
8941 cat > conftest.$ac_ext <<EOF
8942 #line 8943 "configure"
8943 #include "confdefs.h"
8949 if { (eval echo configure:8950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8951 glibcpp_cv_func__hypot_use=yes
8953 echo "configure: failed program was:" >&5
8954 cat conftest.$ac_ext >&5
8956 glibcpp_cv_func__hypot_use=no
8960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8961 ac_cpp='$CPP $CPPFLAGS'
8962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8964 cross_compiling=$ac_cv_prog_cc_cross
8970 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
8972 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
8973 for ac_func in _hypot
8975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8976 echo "configure:8977: checking for $ac_func" >&5
8977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8978 echo $ac_n "(cached) $ac_c" 1>&6
8980 cat > conftest.$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8983 /* System header to define __stub macros and hopefully few prototypes,
8984 which can conflict with char $ac_func(); below. */
8986 /* Override any gcc2 internal prototype to avoid an error. */
8987 /* We use char because int might match the return type of a gcc2
8988 builtin and then its argument prototype would still apply. */
8993 /* The GNU C library defines this for functions which it implements
8994 to always fail with ENOSYS. Some functions are actually named
8995 something starting with __ and the normal name is an alias. */
8996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9004 if { (eval echo configure:9005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9006 eval "ac_cv_func_$ac_func=yes"
9008 echo "configure: failed program was:" >&5
9009 cat conftest.$ac_ext >&5
9011 eval "ac_cv_func_$ac_func=no"
9016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9017 echo "$ac_t""yes" 1>&6
9018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9019 cat >> confdefs.h <<EOF
9020 #define $ac_tr_func 1
9024 echo "$ac_t""no" 1>&6
9033 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
9034 echo "configure:9035: checking for float trig functions" >&5
9035 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
9036 echo $ac_n "(cached) $ac_c" 1>&6
9041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9042 ac_cpp='$CXXCPP $CPPFLAGS'
9043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9045 cross_compiling=$ac_cv_prog_cxx_cross
9047 cat > conftest.$ac_ext <<EOF
9048 #line 9049 "configure"
9049 #include "confdefs.h"
9052 `for x in acosf asinf atanf \
9054 coshf sinhf tanhf; do echo "$x (0);"; done`
9057 if { (eval echo configure:9058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9059 glibcpp_cv_func_float_trig_use=yes
9061 echo "configure: failed program was:" >&5
9062 cat conftest.$ac_ext >&5
9064 glibcpp_cv_func_float_trig_use=no
9068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9069 ac_cpp='$CPP $CPPFLAGS'
9070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9072 cross_compiling=$ac_cv_prog_cc_cross
9076 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
9077 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
9078 for ac_func in acosf asinf atanf \
9082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9083 echo "configure:9084: checking for $ac_func" >&5
9084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9085 echo $ac_n "(cached) $ac_c" 1>&6
9087 cat > conftest.$ac_ext <<EOF
9088 #line 9089 "configure"
9089 #include "confdefs.h"
9090 /* System header to define __stub macros and hopefully few prototypes,
9091 which can conflict with char $ac_func(); below. */
9093 /* Override any gcc2 internal prototype to avoid an error. */
9094 /* We use char because int might match the return type of a gcc2
9095 builtin and then its argument prototype would still apply. */
9100 /* The GNU C library defines this for functions which it implements
9101 to always fail with ENOSYS. Some functions are actually named
9102 something starting with __ and the normal name is an alias. */
9103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9111 if { (eval echo configure:9112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9113 eval "ac_cv_func_$ac_func=yes"
9115 echo "configure: failed program was:" >&5
9116 cat conftest.$ac_ext >&5
9118 eval "ac_cv_func_$ac_func=no"
9123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9124 echo "$ac_t""yes" 1>&6
9125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9126 cat >> confdefs.h <<EOF
9127 #define $ac_tr_func 1
9131 echo "$ac_t""no" 1>&6
9138 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
9139 echo "configure:9140: checking for float round functions" >&5
9140 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_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"
9157 `for x in ceilf floorf; do echo "$x (0);"; done`
9160 if { (eval echo configure:9161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9162 glibcpp_cv_func_float_round_use=yes
9164 echo "configure: failed program was:" >&5
9165 cat conftest.$ac_ext >&5
9167 glibcpp_cv_func_float_round_use=no
9171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9172 ac_cpp='$CPP $CPPFLAGS'
9173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9175 cross_compiling=$ac_cv_prog_cc_cross
9179 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
9180 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
9181 for ac_func in ceilf floorf
9183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9184 echo "configure:9185: checking for $ac_func" >&5
9185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9186 echo $ac_n "(cached) $ac_c" 1>&6
9188 cat > conftest.$ac_ext <<EOF
9189 #line 9190 "configure"
9190 #include "confdefs.h"
9191 /* System header to define __stub macros and hopefully few prototypes,
9192 which can conflict with char $ac_func(); below. */
9194 /* Override any gcc2 internal prototype to avoid an error. */
9195 /* We use char because int might match the return type of a gcc2
9196 builtin and then its argument prototype would still apply. */
9201 /* The GNU C library defines this for functions which it implements
9202 to always fail with ENOSYS. Some functions are actually named
9203 something starting with __ and the normal name is an alias. */
9204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9212 if { (eval echo configure:9213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9214 eval "ac_cv_func_$ac_func=yes"
9216 echo "configure: failed program was:" >&5
9217 cat conftest.$ac_ext >&5
9219 eval "ac_cv_func_$ac_func=no"
9224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9225 echo "$ac_t""yes" 1>&6
9226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9227 cat >> confdefs.h <<EOF
9228 #define $ac_tr_func 1
9232 echo "$ac_t""no" 1>&6
9240 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
9241 echo "configure:9242: checking for isnanf declaration" >&5
9242 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
9243 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
9244 echo $ac_n "(cached) $ac_c" 1>&6
9249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9250 ac_cpp='$CXXCPP $CPPFLAGS'
9251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9253 cross_compiling=$ac_cv_prog_cxx_cross
9255 cat > conftest.$ac_ext <<EOF
9256 #line 9257 "configure"
9257 #include "confdefs.h"
9259 #ifdef HAVE_IEEEFP_H
9267 if { (eval echo configure:9268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9269 glibcpp_cv_func_isnanf_use=yes
9271 echo "configure: failed program was:" >&5
9272 cat conftest.$ac_ext >&5
9274 glibcpp_cv_func_isnanf_use=no
9278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9279 ac_cpp='$CPP $CPPFLAGS'
9280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9282 cross_compiling=$ac_cv_prog_cc_cross
9288 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
9290 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
9291 for ac_func in isnanf
9293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9294 echo "configure:9295: checking for $ac_func" >&5
9295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9296 echo $ac_n "(cached) $ac_c" 1>&6
9298 cat > conftest.$ac_ext <<EOF
9299 #line 9300 "configure"
9300 #include "confdefs.h"
9301 /* System header to define __stub macros and hopefully few prototypes,
9302 which can conflict with char $ac_func(); below. */
9304 /* Override any gcc2 internal prototype to avoid an error. */
9305 /* We use char because int might match the return type of a gcc2
9306 builtin and then its argument prototype would still apply. */
9311 /* The GNU C library defines this for functions which it implements
9312 to always fail with ENOSYS. Some functions are actually named
9313 something starting with __ and the normal name is an alias. */
9314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9324 eval "ac_cv_func_$ac_func=yes"
9326 echo "configure: failed program was:" >&5
9327 cat conftest.$ac_ext >&5
9329 eval "ac_cv_func_$ac_func=no"
9334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9335 echo "$ac_t""yes" 1>&6
9336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9337 cat >> confdefs.h <<EOF
9338 #define $ac_tr_func 1
9342 echo "$ac_t""no" 1>&6
9348 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
9349 echo "configure:9350: checking for _isnanf declaration" >&5
9350 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
9351 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
9352 echo $ac_n "(cached) $ac_c" 1>&6
9357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9358 ac_cpp='$CXXCPP $CPPFLAGS'
9359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9361 cross_compiling=$ac_cv_prog_cxx_cross
9363 cat > conftest.$ac_ext <<EOF
9364 #line 9365 "configure"
9365 #include "confdefs.h"
9367 #ifdef HAVE_IEEEFP_H
9375 if { (eval echo configure:9376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9377 glibcpp_cv_func__isnanf_use=yes
9379 echo "configure: failed program was:" >&5
9380 cat conftest.$ac_ext >&5
9382 glibcpp_cv_func__isnanf_use=no
9386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9387 ac_cpp='$CPP $CPPFLAGS'
9388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9390 cross_compiling=$ac_cv_prog_cc_cross
9396 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
9398 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
9399 for ac_func in _isnanf
9401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9402 echo "configure:9403: checking for $ac_func" >&5
9403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9404 echo $ac_n "(cached) $ac_c" 1>&6
9406 cat > conftest.$ac_ext <<EOF
9407 #line 9408 "configure"
9408 #include "confdefs.h"
9409 /* System header to define __stub macros and hopefully few prototypes,
9410 which can conflict with char $ac_func(); below. */
9412 /* Override any gcc2 internal prototype to avoid an error. */
9413 /* We use char because int might match the return type of a gcc2
9414 builtin and then its argument prototype would still apply. */
9419 /* The GNU C library defines this for functions which it implements
9420 to always fail with ENOSYS. Some functions are actually named
9421 something starting with __ and the normal name is an alias. */
9422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9432 eval "ac_cv_func_$ac_func=yes"
9434 echo "configure: failed program was:" >&5
9435 cat conftest.$ac_ext >&5
9437 eval "ac_cv_func_$ac_func=no"
9442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9443 echo "$ac_t""yes" 1>&6
9444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9445 cat >> confdefs.h <<EOF
9446 #define $ac_tr_func 1
9450 echo "$ac_t""no" 1>&6
9459 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
9460 echo "configure:9461: checking for isinff declaration" >&5
9461 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
9462 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
9463 echo $ac_n "(cached) $ac_c" 1>&6
9468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9469 ac_cpp='$CXXCPP $CPPFLAGS'
9470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9472 cross_compiling=$ac_cv_prog_cxx_cross
9474 cat > conftest.$ac_ext <<EOF
9475 #line 9476 "configure"
9476 #include "confdefs.h"
9478 #ifdef HAVE_IEEEFP_H
9486 if { (eval echo configure:9487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9488 glibcpp_cv_func_isinff_use=yes
9490 echo "configure: failed program was:" >&5
9491 cat conftest.$ac_ext >&5
9493 glibcpp_cv_func_isinff_use=no
9497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9498 ac_cpp='$CPP $CPPFLAGS'
9499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9501 cross_compiling=$ac_cv_prog_cc_cross
9507 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
9509 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
9510 for ac_func in isinff
9512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9513 echo "configure:9514: checking for $ac_func" >&5
9514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9515 echo $ac_n "(cached) $ac_c" 1>&6
9517 cat > conftest.$ac_ext <<EOF
9518 #line 9519 "configure"
9519 #include "confdefs.h"
9520 /* System header to define __stub macros and hopefully few prototypes,
9521 which can conflict with char $ac_func(); below. */
9523 /* Override any gcc2 internal prototype to avoid an error. */
9524 /* We use char because int might match the return type of a gcc2
9525 builtin and then its argument prototype would still apply. */
9530 /* The GNU C library defines this for functions which it implements
9531 to always fail with ENOSYS. Some functions are actually named
9532 something starting with __ and the normal name is an alias. */
9533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9541 if { (eval echo configure:9542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9543 eval "ac_cv_func_$ac_func=yes"
9545 echo "configure: failed program was:" >&5
9546 cat conftest.$ac_ext >&5
9548 eval "ac_cv_func_$ac_func=no"
9553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9554 echo "$ac_t""yes" 1>&6
9555 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9556 cat >> confdefs.h <<EOF
9557 #define $ac_tr_func 1
9561 echo "$ac_t""no" 1>&6
9567 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
9568 echo "configure:9569: checking for _isinff declaration" >&5
9569 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
9570 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
9571 echo $ac_n "(cached) $ac_c" 1>&6
9576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9577 ac_cpp='$CXXCPP $CPPFLAGS'
9578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9580 cross_compiling=$ac_cv_prog_cxx_cross
9582 cat > conftest.$ac_ext <<EOF
9583 #line 9584 "configure"
9584 #include "confdefs.h"
9586 #ifdef HAVE_IEEEFP_H
9594 if { (eval echo configure:9595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9596 glibcpp_cv_func__isinff_use=yes
9598 echo "configure: failed program was:" >&5
9599 cat conftest.$ac_ext >&5
9601 glibcpp_cv_func__isinff_use=no
9605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9606 ac_cpp='$CPP $CPPFLAGS'
9607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9609 cross_compiling=$ac_cv_prog_cc_cross
9615 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
9617 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
9618 for ac_func in _isinff
9620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9621 echo "configure:9622: checking for $ac_func" >&5
9622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9623 echo $ac_n "(cached) $ac_c" 1>&6
9625 cat > conftest.$ac_ext <<EOF
9626 #line 9627 "configure"
9627 #include "confdefs.h"
9628 /* System header to define __stub macros and hopefully few prototypes,
9629 which can conflict with char $ac_func(); below. */
9631 /* Override any gcc2 internal prototype to avoid an error. */
9632 /* We use char because int might match the return type of a gcc2
9633 builtin and then its argument prototype would still apply. */
9638 /* The GNU C library defines this for functions which it implements
9639 to always fail with ENOSYS. Some functions are actually named
9640 something starting with __ and the normal name is an alias. */
9641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9649 if { (eval echo configure:9650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9651 eval "ac_cv_func_$ac_func=yes"
9653 echo "configure: failed program was:" >&5
9654 cat conftest.$ac_ext >&5
9656 eval "ac_cv_func_$ac_func=no"
9661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9662 echo "$ac_t""yes" 1>&6
9663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9664 cat >> confdefs.h <<EOF
9665 #define $ac_tr_func 1
9669 echo "$ac_t""no" 1>&6
9678 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
9679 echo "configure:9680: checking for atan2f declaration" >&5
9680 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
9681 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
9682 echo $ac_n "(cached) $ac_c" 1>&6
9687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9688 ac_cpp='$CXXCPP $CPPFLAGS'
9689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9691 cross_compiling=$ac_cv_prog_cxx_cross
9693 cat > conftest.$ac_ext <<EOF
9694 #line 9695 "configure"
9695 #include "confdefs.h"
9701 if { (eval echo configure:9702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9703 glibcpp_cv_func_atan2f_use=yes
9705 echo "configure: failed program was:" >&5
9706 cat conftest.$ac_ext >&5
9708 glibcpp_cv_func_atan2f_use=no
9712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9713 ac_cpp='$CPP $CPPFLAGS'
9714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9716 cross_compiling=$ac_cv_prog_cc_cross
9722 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
9724 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
9725 for ac_func in atan2f
9727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9728 echo "configure:9729: checking for $ac_func" >&5
9729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9730 echo $ac_n "(cached) $ac_c" 1>&6
9732 cat > conftest.$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9735 /* System header to define __stub macros and hopefully few prototypes,
9736 which can conflict with char $ac_func(); below. */
9738 /* Override any gcc2 internal prototype to avoid an error. */
9739 /* We use char because int might match the return type of a gcc2
9740 builtin and then its argument prototype would still apply. */
9745 /* The GNU C library defines this for functions which it implements
9746 to always fail with ENOSYS. Some functions are actually named
9747 something starting with __ and the normal name is an alias. */
9748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9756 if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9758 eval "ac_cv_func_$ac_func=yes"
9760 echo "configure: failed program was:" >&5
9761 cat conftest.$ac_ext >&5
9763 eval "ac_cv_func_$ac_func=no"
9768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9769 echo "$ac_t""yes" 1>&6
9770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9771 cat >> confdefs.h <<EOF
9772 #define $ac_tr_func 1
9776 echo "$ac_t""no" 1>&6
9782 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
9783 echo "configure:9784: checking for _atan2f declaration" >&5
9784 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
9785 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
9786 echo $ac_n "(cached) $ac_c" 1>&6
9791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9792 ac_cpp='$CXXCPP $CPPFLAGS'
9793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9795 cross_compiling=$ac_cv_prog_cxx_cross
9797 cat > conftest.$ac_ext <<EOF
9798 #line 9799 "configure"
9799 #include "confdefs.h"
9805 if { (eval echo configure:9806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9807 glibcpp_cv_func__atan2f_use=yes
9809 echo "configure: failed program was:" >&5
9810 cat conftest.$ac_ext >&5
9812 glibcpp_cv_func__atan2f_use=no
9816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9817 ac_cpp='$CPP $CPPFLAGS'
9818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9820 cross_compiling=$ac_cv_prog_cc_cross
9826 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
9828 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
9829 for ac_func in _atan2f
9831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9832 echo "configure:9833: checking for $ac_func" >&5
9833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9834 echo $ac_n "(cached) $ac_c" 1>&6
9836 cat > conftest.$ac_ext <<EOF
9837 #line 9838 "configure"
9838 #include "confdefs.h"
9839 /* System header to define __stub macros and hopefully few prototypes,
9840 which can conflict with char $ac_func(); below. */
9842 /* Override any gcc2 internal prototype to avoid an error. */
9843 /* We use char because int might match the return type of a gcc2
9844 builtin and then its argument prototype would still apply. */
9849 /* The GNU C library defines this for functions which it implements
9850 to always fail with ENOSYS. Some functions are actually named
9851 something starting with __ and the normal name is an alias. */
9852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9860 if { (eval echo configure:9861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9862 eval "ac_cv_func_$ac_func=yes"
9864 echo "configure: failed program was:" >&5
9865 cat conftest.$ac_ext >&5
9867 eval "ac_cv_func_$ac_func=no"
9872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9875 cat >> confdefs.h <<EOF
9876 #define $ac_tr_func 1
9880 echo "$ac_t""no" 1>&6
9889 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
9890 echo "configure:9891: checking for fabsf declaration" >&5
9891 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
9892 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
9893 echo $ac_n "(cached) $ac_c" 1>&6
9898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9899 ac_cpp='$CXXCPP $CPPFLAGS'
9900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9902 cross_compiling=$ac_cv_prog_cxx_cross
9904 cat > conftest.$ac_ext <<EOF
9905 #line 9906 "configure"
9906 #include "confdefs.h"
9908 #ifdef HAVE_IEEEFP_H
9916 if { (eval echo configure:9917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9918 glibcpp_cv_func_fabsf_use=yes
9920 echo "configure: failed program was:" >&5
9921 cat conftest.$ac_ext >&5
9923 glibcpp_cv_func_fabsf_use=no
9927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9928 ac_cpp='$CPP $CPPFLAGS'
9929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9931 cross_compiling=$ac_cv_prog_cc_cross
9937 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
9939 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
9940 for ac_func in fabsf
9942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9943 echo "configure:9944: checking for $ac_func" >&5
9944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9945 echo $ac_n "(cached) $ac_c" 1>&6
9947 cat > conftest.$ac_ext <<EOF
9948 #line 9949 "configure"
9949 #include "confdefs.h"
9950 /* System header to define __stub macros and hopefully few prototypes,
9951 which can conflict with char $ac_func(); below. */
9953 /* Override any gcc2 internal prototype to avoid an error. */
9954 /* We use char because int might match the return type of a gcc2
9955 builtin and then its argument prototype would still apply. */
9960 /* The GNU C library defines this for functions which it implements
9961 to always fail with ENOSYS. Some functions are actually named
9962 something starting with __ and the normal name is an alias. */
9963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9971 if { (eval echo configure:9972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9973 eval "ac_cv_func_$ac_func=yes"
9975 echo "configure: failed program was:" >&5
9976 cat conftest.$ac_ext >&5
9978 eval "ac_cv_func_$ac_func=no"
9983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9984 echo "$ac_t""yes" 1>&6
9985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9986 cat >> confdefs.h <<EOF
9987 #define $ac_tr_func 1
9991 echo "$ac_t""no" 1>&6
9997 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
9998 echo "configure:9999: checking for _fabsf declaration" >&5
9999 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10000 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
10001 echo $ac_n "(cached) $ac_c" 1>&6
10006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10007 ac_cpp='$CXXCPP $CPPFLAGS'
10008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10010 cross_compiling=$ac_cv_prog_cxx_cross
10012 cat > conftest.$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10016 #ifdef HAVE_IEEEFP_H
10017 #include <ieeefp.h>
10024 if { (eval echo configure:10025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10026 glibcpp_cv_func__fabsf_use=yes
10028 echo "configure: failed program was:" >&5
10029 cat conftest.$ac_ext >&5
10031 glibcpp_cv_func__fabsf_use=no
10035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10036 ac_cpp='$CPP $CPPFLAGS'
10037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10039 cross_compiling=$ac_cv_prog_cc_cross
10045 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
10047 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
10048 for ac_func in _fabsf
10050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10051 echo "configure:10052: checking for $ac_func" >&5
10052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10053 echo $ac_n "(cached) $ac_c" 1>&6
10055 cat > conftest.$ac_ext <<EOF
10056 #line 10057 "configure"
10057 #include "confdefs.h"
10058 /* System header to define __stub macros and hopefully few prototypes,
10059 which can conflict with char $ac_func(); below. */
10060 #include <assert.h>
10061 /* Override any gcc2 internal prototype to avoid an error. */
10062 /* We use char because int might match the return type of a gcc2
10063 builtin and then its argument prototype would still apply. */
10068 /* The GNU C library defines this for functions which it implements
10069 to always fail with ENOSYS. Some functions are actually named
10070 something starting with __ and the normal name is an alias. */
10071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10079 if { (eval echo configure:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10081 eval "ac_cv_func_$ac_func=yes"
10083 echo "configure: failed program was:" >&5
10084 cat conftest.$ac_ext >&5
10086 eval "ac_cv_func_$ac_func=no"
10091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10092 echo "$ac_t""yes" 1>&6
10093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10094 cat >> confdefs.h <<EOF
10095 #define $ac_tr_func 1
10099 echo "$ac_t""no" 1>&6
10108 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
10109 echo "configure:10110: checking for fmodf declaration" >&5
10110 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
10111 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
10112 echo $ac_n "(cached) $ac_c" 1>&6
10117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10118 ac_cpp='$CXXCPP $CPPFLAGS'
10119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10121 cross_compiling=$ac_cv_prog_cxx_cross
10123 cat > conftest.$ac_ext <<EOF
10124 #line 10125 "configure"
10125 #include "confdefs.h"
10131 if { (eval echo configure:10132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10133 glibcpp_cv_func_fmodf_use=yes
10135 echo "configure: failed program was:" >&5
10136 cat conftest.$ac_ext >&5
10138 glibcpp_cv_func_fmodf_use=no
10142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10143 ac_cpp='$CPP $CPPFLAGS'
10144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10146 cross_compiling=$ac_cv_prog_cc_cross
10152 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
10154 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
10155 for ac_func in fmodf
10157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10158 echo "configure:10159: checking for $ac_func" >&5
10159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10160 echo $ac_n "(cached) $ac_c" 1>&6
10162 cat > conftest.$ac_ext <<EOF
10163 #line 10164 "configure"
10164 #include "confdefs.h"
10165 /* System header to define __stub macros and hopefully few prototypes,
10166 which can conflict with char $ac_func(); below. */
10167 #include <assert.h>
10168 /* Override any gcc2 internal prototype to avoid an error. */
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10175 /* The GNU C library defines this for functions which it implements
10176 to always fail with ENOSYS. Some functions are actually named
10177 something starting with __ and the normal name is an alias. */
10178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10186 if { (eval echo configure:10187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10188 eval "ac_cv_func_$ac_func=yes"
10190 echo "configure: failed program was:" >&5
10191 cat conftest.$ac_ext >&5
10193 eval "ac_cv_func_$ac_func=no"
10198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10199 echo "$ac_t""yes" 1>&6
10200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10201 cat >> confdefs.h <<EOF
10202 #define $ac_tr_func 1
10206 echo "$ac_t""no" 1>&6
10212 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
10213 echo "configure:10214: checking for _fmodf declaration" >&5
10214 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
10215 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
10216 echo $ac_n "(cached) $ac_c" 1>&6
10221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10222 ac_cpp='$CXXCPP $CPPFLAGS'
10223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10225 cross_compiling=$ac_cv_prog_cxx_cross
10227 cat > conftest.$ac_ext <<EOF
10228 #line 10229 "configure"
10229 #include "confdefs.h"
10235 if { (eval echo configure:10236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10237 glibcpp_cv_func__fmodf_use=yes
10239 echo "configure: failed program was:" >&5
10240 cat conftest.$ac_ext >&5
10242 glibcpp_cv_func__fmodf_use=no
10246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10247 ac_cpp='$CPP $CPPFLAGS'
10248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10250 cross_compiling=$ac_cv_prog_cc_cross
10256 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
10258 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
10259 for ac_func in _fmodf
10261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10262 echo "configure:10263: checking for $ac_func" >&5
10263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10264 echo $ac_n "(cached) $ac_c" 1>&6
10266 cat > conftest.$ac_ext <<EOF
10267 #line 10268 "configure"
10268 #include "confdefs.h"
10269 /* System header to define __stub macros and hopefully few prototypes,
10270 which can conflict with char $ac_func(); below. */
10271 #include <assert.h>
10272 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10290 if { (eval echo configure:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10292 eval "ac_cv_func_$ac_func=yes"
10294 echo "configure: failed program was:" >&5
10295 cat conftest.$ac_ext >&5
10297 eval "ac_cv_func_$ac_func=no"
10302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10303 echo "$ac_t""yes" 1>&6
10304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10305 cat >> confdefs.h <<EOF
10306 #define $ac_tr_func 1
10310 echo "$ac_t""no" 1>&6
10319 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
10320 echo "configure:10321: checking for frexpf declaration" >&5
10321 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
10322 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
10323 echo $ac_n "(cached) $ac_c" 1>&6
10328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10329 ac_cpp='$CXXCPP $CPPFLAGS'
10330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10332 cross_compiling=$ac_cv_prog_cxx_cross
10334 cat > conftest.$ac_ext <<EOF
10335 #line 10336 "configure"
10336 #include "confdefs.h"
10342 if { (eval echo configure:10343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10344 glibcpp_cv_func_frexpf_use=yes
10346 echo "configure: failed program was:" >&5
10347 cat conftest.$ac_ext >&5
10349 glibcpp_cv_func_frexpf_use=no
10353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10354 ac_cpp='$CPP $CPPFLAGS'
10355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10357 cross_compiling=$ac_cv_prog_cc_cross
10363 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
10365 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
10366 for ac_func in frexpf
10368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10369 echo "configure:10370: checking for $ac_func" >&5
10370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10371 echo $ac_n "(cached) $ac_c" 1>&6
10373 cat > conftest.$ac_ext <<EOF
10374 #line 10375 "configure"
10375 #include "confdefs.h"
10376 /* System header to define __stub macros and hopefully few prototypes,
10377 which can conflict with char $ac_func(); below. */
10378 #include <assert.h>
10379 /* Override any gcc2 internal prototype to avoid an error. */
10380 /* We use char because int might match the return type of a gcc2
10381 builtin and then its argument prototype would still apply. */
10386 /* The GNU C library defines this for functions which it implements
10387 to always fail with ENOSYS. Some functions are actually named
10388 something starting with __ and the normal name is an alias. */
10389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10397 if { (eval echo configure:10398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10399 eval "ac_cv_func_$ac_func=yes"
10401 echo "configure: failed program was:" >&5
10402 cat conftest.$ac_ext >&5
10404 eval "ac_cv_func_$ac_func=no"
10409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10410 echo "$ac_t""yes" 1>&6
10411 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10412 cat >> confdefs.h <<EOF
10413 #define $ac_tr_func 1
10417 echo "$ac_t""no" 1>&6
10423 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
10424 echo "configure:10425: checking for _frexpf declaration" >&5
10425 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
10426 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
10427 echo $ac_n "(cached) $ac_c" 1>&6
10432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10433 ac_cpp='$CXXCPP $CPPFLAGS'
10434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10436 cross_compiling=$ac_cv_prog_cxx_cross
10438 cat > conftest.$ac_ext <<EOF
10439 #line 10440 "configure"
10440 #include "confdefs.h"
10446 if { (eval echo configure:10447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10448 glibcpp_cv_func__frexpf_use=yes
10450 echo "configure: failed program was:" >&5
10451 cat conftest.$ac_ext >&5
10453 glibcpp_cv_func__frexpf_use=no
10457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10458 ac_cpp='$CPP $CPPFLAGS'
10459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10461 cross_compiling=$ac_cv_prog_cc_cross
10467 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
10469 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
10470 for ac_func in _frexpf
10472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10473 echo "configure:10474: checking for $ac_func" >&5
10474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10475 echo $ac_n "(cached) $ac_c" 1>&6
10477 cat > conftest.$ac_ext <<EOF
10478 #line 10479 "configure"
10479 #include "confdefs.h"
10480 /* System header to define __stub macros and hopefully few prototypes,
10481 which can conflict with char $ac_func(); below. */
10482 #include <assert.h>
10483 /* Override any gcc2 internal prototype to avoid an error. */
10484 /* We use char because int might match the return type of a gcc2
10485 builtin and then its argument prototype would still apply. */
10490 /* The GNU C library defines this for functions which it implements
10491 to always fail with ENOSYS. Some functions are actually named
10492 something starting with __ and the normal name is an alias. */
10493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10501 if { (eval echo configure:10502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10503 eval "ac_cv_func_$ac_func=yes"
10505 echo "configure: failed program was:" >&5
10506 cat conftest.$ac_ext >&5
10508 eval "ac_cv_func_$ac_func=no"
10513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10514 echo "$ac_t""yes" 1>&6
10515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10516 cat >> confdefs.h <<EOF
10517 #define $ac_tr_func 1
10521 echo "$ac_t""no" 1>&6
10530 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
10531 echo "configure:10532: checking for hypotf declaration" >&5
10532 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
10533 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
10534 echo $ac_n "(cached) $ac_c" 1>&6
10539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10540 ac_cpp='$CXXCPP $CPPFLAGS'
10541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10543 cross_compiling=$ac_cv_prog_cxx_cross
10545 cat > conftest.$ac_ext <<EOF
10546 #line 10547 "configure"
10547 #include "confdefs.h"
10553 if { (eval echo configure:10554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10555 glibcpp_cv_func_hypotf_use=yes
10557 echo "configure: failed program was:" >&5
10558 cat conftest.$ac_ext >&5
10560 glibcpp_cv_func_hypotf_use=no
10564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10565 ac_cpp='$CPP $CPPFLAGS'
10566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10568 cross_compiling=$ac_cv_prog_cc_cross
10574 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
10576 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
10577 for ac_func in hypotf
10579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10580 echo "configure:10581: checking for $ac_func" >&5
10581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10582 echo $ac_n "(cached) $ac_c" 1>&6
10584 cat > conftest.$ac_ext <<EOF
10585 #line 10586 "configure"
10586 #include "confdefs.h"
10587 /* System header to define __stub macros and hopefully few prototypes,
10588 which can conflict with char $ac_func(); below. */
10589 #include <assert.h>
10590 /* Override any gcc2 internal prototype to avoid an error. */
10591 /* We use char because int might match the return type of a gcc2
10592 builtin and then its argument prototype would still apply. */
10597 /* The GNU C library defines this for functions which it implements
10598 to always fail with ENOSYS. Some functions are actually named
10599 something starting with __ and the normal name is an alias. */
10600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10608 if { (eval echo configure:10609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10610 eval "ac_cv_func_$ac_func=yes"
10612 echo "configure: failed program was:" >&5
10613 cat conftest.$ac_ext >&5
10615 eval "ac_cv_func_$ac_func=no"
10620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10621 echo "$ac_t""yes" 1>&6
10622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10623 cat >> confdefs.h <<EOF
10624 #define $ac_tr_func 1
10628 echo "$ac_t""no" 1>&6
10634 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
10635 echo "configure:10636: checking for _hypotf declaration" >&5
10636 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
10637 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
10638 echo $ac_n "(cached) $ac_c" 1>&6
10643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10644 ac_cpp='$CXXCPP $CPPFLAGS'
10645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10647 cross_compiling=$ac_cv_prog_cxx_cross
10649 cat > conftest.$ac_ext <<EOF
10650 #line 10651 "configure"
10651 #include "confdefs.h"
10657 if { (eval echo configure:10658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10659 glibcpp_cv_func__hypotf_use=yes
10661 echo "configure: failed program was:" >&5
10662 cat conftest.$ac_ext >&5
10664 glibcpp_cv_func__hypotf_use=no
10668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10669 ac_cpp='$CPP $CPPFLAGS'
10670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10672 cross_compiling=$ac_cv_prog_cc_cross
10678 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
10680 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
10681 for ac_func in _hypotf
10683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10684 echo "configure:10685: checking for $ac_func" >&5
10685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10686 echo $ac_n "(cached) $ac_c" 1>&6
10688 cat > conftest.$ac_ext <<EOF
10689 #line 10690 "configure"
10690 #include "confdefs.h"
10691 /* System header to define __stub macros and hopefully few prototypes,
10692 which can conflict with char $ac_func(); below. */
10693 #include <assert.h>
10694 /* Override any gcc2 internal prototype to avoid an error. */
10695 /* We use char because int might match the return type of a gcc2
10696 builtin and then its argument prototype would still apply. */
10701 /* The GNU C library defines this for functions which it implements
10702 to always fail with ENOSYS. Some functions are actually named
10703 something starting with __ and the normal name is an alias. */
10704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10712 if { (eval echo configure:10713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10714 eval "ac_cv_func_$ac_func=yes"
10716 echo "configure: failed program was:" >&5
10717 cat conftest.$ac_ext >&5
10719 eval "ac_cv_func_$ac_func=no"
10724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10725 echo "$ac_t""yes" 1>&6
10726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10727 cat >> confdefs.h <<EOF
10728 #define $ac_tr_func 1
10732 echo "$ac_t""no" 1>&6
10741 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
10742 echo "configure:10743: checking for ldexpf declaration" >&5
10743 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
10744 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
10745 echo $ac_n "(cached) $ac_c" 1>&6
10750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10751 ac_cpp='$CXXCPP $CPPFLAGS'
10752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10754 cross_compiling=$ac_cv_prog_cxx_cross
10756 cat > conftest.$ac_ext <<EOF
10757 #line 10758 "configure"
10758 #include "confdefs.h"
10764 if { (eval echo configure:10765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10766 glibcpp_cv_func_ldexpf_use=yes
10768 echo "configure: failed program was:" >&5
10769 cat conftest.$ac_ext >&5
10771 glibcpp_cv_func_ldexpf_use=no
10775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10776 ac_cpp='$CPP $CPPFLAGS'
10777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10779 cross_compiling=$ac_cv_prog_cc_cross
10785 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
10787 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
10788 for ac_func in ldexpf
10790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10791 echo "configure:10792: checking for $ac_func" >&5
10792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10793 echo $ac_n "(cached) $ac_c" 1>&6
10795 cat > conftest.$ac_ext <<EOF
10796 #line 10797 "configure"
10797 #include "confdefs.h"
10798 /* System header to define __stub macros and hopefully few prototypes,
10799 which can conflict with char $ac_func(); below. */
10800 #include <assert.h>
10801 /* Override any gcc2 internal prototype to avoid an error. */
10802 /* We use char because int might match the return type of a gcc2
10803 builtin and then its argument prototype would still apply. */
10808 /* The GNU C library defines this for functions which it implements
10809 to always fail with ENOSYS. Some functions are actually named
10810 something starting with __ and the normal name is an alias. */
10811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10819 if { (eval echo configure:10820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10821 eval "ac_cv_func_$ac_func=yes"
10823 echo "configure: failed program was:" >&5
10824 cat conftest.$ac_ext >&5
10826 eval "ac_cv_func_$ac_func=no"
10831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10832 echo "$ac_t""yes" 1>&6
10833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10834 cat >> confdefs.h <<EOF
10835 #define $ac_tr_func 1
10839 echo "$ac_t""no" 1>&6
10845 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
10846 echo "configure:10847: checking for _ldexpf declaration" >&5
10847 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
10848 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
10849 echo $ac_n "(cached) $ac_c" 1>&6
10854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10855 ac_cpp='$CXXCPP $CPPFLAGS'
10856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10858 cross_compiling=$ac_cv_prog_cxx_cross
10860 cat > conftest.$ac_ext <<EOF
10861 #line 10862 "configure"
10862 #include "confdefs.h"
10868 if { (eval echo configure:10869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10870 glibcpp_cv_func__ldexpf_use=yes
10872 echo "configure: failed program was:" >&5
10873 cat conftest.$ac_ext >&5
10875 glibcpp_cv_func__ldexpf_use=no
10879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10880 ac_cpp='$CPP $CPPFLAGS'
10881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10883 cross_compiling=$ac_cv_prog_cc_cross
10889 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
10891 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
10892 for ac_func in _ldexpf
10894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10895 echo "configure:10896: checking for $ac_func" >&5
10896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10897 echo $ac_n "(cached) $ac_c" 1>&6
10899 cat > conftest.$ac_ext <<EOF
10900 #line 10901 "configure"
10901 #include "confdefs.h"
10902 /* System header to define __stub macros and hopefully few prototypes,
10903 which can conflict with char $ac_func(); below. */
10904 #include <assert.h>
10905 /* Override any gcc2 internal prototype to avoid an error. */
10906 /* We use char because int might match the return type of a gcc2
10907 builtin and then its argument prototype would still apply. */
10912 /* The GNU C library defines this for functions which it implements
10913 to always fail with ENOSYS. Some functions are actually named
10914 something starting with __ and the normal name is an alias. */
10915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10923 if { (eval echo configure:10924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10925 eval "ac_cv_func_$ac_func=yes"
10927 echo "configure: failed program was:" >&5
10928 cat conftest.$ac_ext >&5
10930 eval "ac_cv_func_$ac_func=no"
10935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10936 echo "$ac_t""yes" 1>&6
10937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10938 cat >> confdefs.h <<EOF
10939 #define $ac_tr_func 1
10943 echo "$ac_t""no" 1>&6
10952 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
10953 echo "configure:10954: checking for logf declaration" >&5
10954 if test x${glibcpp_cv_func_logf_use+set} != xset; then
10955 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
10956 echo $ac_n "(cached) $ac_c" 1>&6
10961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10962 ac_cpp='$CXXCPP $CPPFLAGS'
10963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10965 cross_compiling=$ac_cv_prog_cxx_cross
10967 cat > conftest.$ac_ext <<EOF
10968 #line 10969 "configure"
10969 #include "confdefs.h"
10971 #ifdef HAVE_IEEEFP_H
10972 #include <ieeefp.h>
10979 if { (eval echo configure:10980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10981 glibcpp_cv_func_logf_use=yes
10983 echo "configure: failed program was:" >&5
10984 cat conftest.$ac_ext >&5
10986 glibcpp_cv_func_logf_use=no
10990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10991 ac_cpp='$CPP $CPPFLAGS'
10992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10994 cross_compiling=$ac_cv_prog_cc_cross
11000 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11002 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11003 for ac_func in logf
11005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11006 echo "configure:11007: checking for $ac_func" >&5
11007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11008 echo $ac_n "(cached) $ac_c" 1>&6
11010 cat > conftest.$ac_ext <<EOF
11011 #line 11012 "configure"
11012 #include "confdefs.h"
11013 /* System header to define __stub macros and hopefully few prototypes,
11014 which can conflict with char $ac_func(); below. */
11015 #include <assert.h>
11016 /* Override any gcc2 internal prototype to avoid an error. */
11017 /* We use char because int might match the return type of a gcc2
11018 builtin and then its argument prototype would still apply. */
11023 /* The GNU C library defines this for functions which it implements
11024 to always fail with ENOSYS. Some functions are actually named
11025 something starting with __ and the normal name is an alias. */
11026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11034 if { (eval echo configure:11035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11036 eval "ac_cv_func_$ac_func=yes"
11038 echo "configure: failed program was:" >&5
11039 cat conftest.$ac_ext >&5
11041 eval "ac_cv_func_$ac_func=no"
11046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11047 echo "$ac_t""yes" 1>&6
11048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11049 cat >> confdefs.h <<EOF
11050 #define $ac_tr_func 1
11054 echo "$ac_t""no" 1>&6
11060 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
11061 echo "configure:11062: checking for _logf declaration" >&5
11062 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11063 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11064 echo $ac_n "(cached) $ac_c" 1>&6
11069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11070 ac_cpp='$CXXCPP $CPPFLAGS'
11071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11073 cross_compiling=$ac_cv_prog_cxx_cross
11075 cat > conftest.$ac_ext <<EOF
11076 #line 11077 "configure"
11077 #include "confdefs.h"
11079 #ifdef HAVE_IEEEFP_H
11080 #include <ieeefp.h>
11087 if { (eval echo configure:11088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11089 glibcpp_cv_func__logf_use=yes
11091 echo "configure: failed program was:" >&5
11092 cat conftest.$ac_ext >&5
11094 glibcpp_cv_func__logf_use=no
11098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11099 ac_cpp='$CPP $CPPFLAGS'
11100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11102 cross_compiling=$ac_cv_prog_cc_cross
11108 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
11110 if test x$glibcpp_cv_func__logf_use = x"yes"; then
11111 for ac_func in _logf
11113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11114 echo "configure:11115: checking for $ac_func" >&5
11115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11116 echo $ac_n "(cached) $ac_c" 1>&6
11118 cat > conftest.$ac_ext <<EOF
11119 #line 11120 "configure"
11120 #include "confdefs.h"
11121 /* System header to define __stub macros and hopefully few prototypes,
11122 which can conflict with char $ac_func(); below. */
11123 #include <assert.h>
11124 /* Override any gcc2 internal prototype to avoid an error. */
11125 /* We use char because int might match the return type of a gcc2
11126 builtin and then its argument prototype would still apply. */
11131 /* The GNU C library defines this for functions which it implements
11132 to always fail with ENOSYS. Some functions are actually named
11133 something starting with __ and the normal name is an alias. */
11134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11142 if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11144 eval "ac_cv_func_$ac_func=yes"
11146 echo "configure: failed program was:" >&5
11147 cat conftest.$ac_ext >&5
11149 eval "ac_cv_func_$ac_func=no"
11154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11155 echo "$ac_t""yes" 1>&6
11156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11157 cat >> confdefs.h <<EOF
11158 #define $ac_tr_func 1
11162 echo "$ac_t""no" 1>&6
11171 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
11172 echo "configure:11173: checking for log10f declaration" >&5
11173 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
11174 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
11175 echo $ac_n "(cached) $ac_c" 1>&6
11180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11181 ac_cpp='$CXXCPP $CPPFLAGS'
11182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11184 cross_compiling=$ac_cv_prog_cxx_cross
11186 cat > conftest.$ac_ext <<EOF
11187 #line 11188 "configure"
11188 #include "confdefs.h"
11190 #ifdef HAVE_IEEEFP_H
11191 #include <ieeefp.h>
11198 if { (eval echo configure:11199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11200 glibcpp_cv_func_log10f_use=yes
11202 echo "configure: failed program was:" >&5
11203 cat conftest.$ac_ext >&5
11205 glibcpp_cv_func_log10f_use=no
11209 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11210 ac_cpp='$CPP $CPPFLAGS'
11211 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11212 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11213 cross_compiling=$ac_cv_prog_cc_cross
11219 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
11221 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
11222 for ac_func in log10f
11224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11225 echo "configure:11226: checking for $ac_func" >&5
11226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11227 echo $ac_n "(cached) $ac_c" 1>&6
11229 cat > conftest.$ac_ext <<EOF
11230 #line 11231 "configure"
11231 #include "confdefs.h"
11232 /* System header to define __stub macros and hopefully few prototypes,
11233 which can conflict with char $ac_func(); below. */
11234 #include <assert.h>
11235 /* Override any gcc2 internal prototype to avoid an error. */
11236 /* We use char because int might match the return type of a gcc2
11237 builtin and then its argument prototype would still apply. */
11242 /* The GNU C library defines this for functions which it implements
11243 to always fail with ENOSYS. Some functions are actually named
11244 something starting with __ and the normal name is an alias. */
11245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11253 if { (eval echo configure:11254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11255 eval "ac_cv_func_$ac_func=yes"
11257 echo "configure: failed program was:" >&5
11258 cat conftest.$ac_ext >&5
11260 eval "ac_cv_func_$ac_func=no"
11265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11266 echo "$ac_t""yes" 1>&6
11267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11268 cat >> confdefs.h <<EOF
11269 #define $ac_tr_func 1
11273 echo "$ac_t""no" 1>&6
11279 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
11280 echo "configure:11281: checking for _log10f declaration" >&5
11281 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
11282 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
11283 echo $ac_n "(cached) $ac_c" 1>&6
11288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11289 ac_cpp='$CXXCPP $CPPFLAGS'
11290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11292 cross_compiling=$ac_cv_prog_cxx_cross
11294 cat > conftest.$ac_ext <<EOF
11295 #line 11296 "configure"
11296 #include "confdefs.h"
11298 #ifdef HAVE_IEEEFP_H
11299 #include <ieeefp.h>
11306 if { (eval echo configure:11307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11308 glibcpp_cv_func__log10f_use=yes
11310 echo "configure: failed program was:" >&5
11311 cat conftest.$ac_ext >&5
11313 glibcpp_cv_func__log10f_use=no
11317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11318 ac_cpp='$CPP $CPPFLAGS'
11319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11321 cross_compiling=$ac_cv_prog_cc_cross
11327 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
11329 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
11330 for ac_func in _log10f
11332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11333 echo "configure:11334: checking for $ac_func" >&5
11334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11335 echo $ac_n "(cached) $ac_c" 1>&6
11337 cat > conftest.$ac_ext <<EOF
11338 #line 11339 "configure"
11339 #include "confdefs.h"
11340 /* System header to define __stub macros and hopefully few prototypes,
11341 which can conflict with char $ac_func(); below. */
11342 #include <assert.h>
11343 /* Override any gcc2 internal prototype to avoid an error. */
11344 /* We use char because int might match the return type of a gcc2
11345 builtin and then its argument prototype would still apply. */
11350 /* The GNU C library defines this for functions which it implements
11351 to always fail with ENOSYS. Some functions are actually named
11352 something starting with __ and the normal name is an alias. */
11353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11363 eval "ac_cv_func_$ac_func=yes"
11365 echo "configure: failed program was:" >&5
11366 cat conftest.$ac_ext >&5
11368 eval "ac_cv_func_$ac_func=no"
11373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11374 echo "$ac_t""yes" 1>&6
11375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11376 cat >> confdefs.h <<EOF
11377 #define $ac_tr_func 1
11381 echo "$ac_t""no" 1>&6
11390 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
11391 echo "configure:11392: checking for modff declaration" >&5
11392 if test x${glibcpp_cv_func_modff_use+set} != xset; then
11393 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
11394 echo $ac_n "(cached) $ac_c" 1>&6
11399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11400 ac_cpp='$CXXCPP $CPPFLAGS'
11401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11403 cross_compiling=$ac_cv_prog_cxx_cross
11405 cat > conftest.$ac_ext <<EOF
11406 #line 11407 "configure"
11407 #include "confdefs.h"
11413 if { (eval echo configure:11414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11415 glibcpp_cv_func_modff_use=yes
11417 echo "configure: failed program was:" >&5
11418 cat conftest.$ac_ext >&5
11420 glibcpp_cv_func_modff_use=no
11424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11425 ac_cpp='$CPP $CPPFLAGS'
11426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11428 cross_compiling=$ac_cv_prog_cc_cross
11434 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
11436 if test x$glibcpp_cv_func_modff_use = x"yes"; then
11437 for ac_func in modff
11439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11440 echo "configure:11441: checking for $ac_func" >&5
11441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11442 echo $ac_n "(cached) $ac_c" 1>&6
11444 cat > conftest.$ac_ext <<EOF
11445 #line 11446 "configure"
11446 #include "confdefs.h"
11447 /* System header to define __stub macros and hopefully few prototypes,
11448 which can conflict with char $ac_func(); below. */
11449 #include <assert.h>
11450 /* Override any gcc2 internal prototype to avoid an error. */
11451 /* We use char because int might match the return type of a gcc2
11452 builtin and then its argument prototype would still apply. */
11457 /* The GNU C library defines this for functions which it implements
11458 to always fail with ENOSYS. Some functions are actually named
11459 something starting with __ and the normal name is an alias. */
11460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11470 eval "ac_cv_func_$ac_func=yes"
11472 echo "configure: failed program was:" >&5
11473 cat conftest.$ac_ext >&5
11475 eval "ac_cv_func_$ac_func=no"
11480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11481 echo "$ac_t""yes" 1>&6
11482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11483 cat >> confdefs.h <<EOF
11484 #define $ac_tr_func 1
11488 echo "$ac_t""no" 1>&6
11494 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
11495 echo "configure:11496: checking for _modff declaration" >&5
11496 if test x${glibcpp_cv_func__modff_use+set} != xset; then
11497 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
11498 echo $ac_n "(cached) $ac_c" 1>&6
11503 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11504 ac_cpp='$CXXCPP $CPPFLAGS'
11505 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11506 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11507 cross_compiling=$ac_cv_prog_cxx_cross
11509 cat > conftest.$ac_ext <<EOF
11510 #line 11511 "configure"
11511 #include "confdefs.h"
11517 if { (eval echo configure:11518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11519 glibcpp_cv_func__modff_use=yes
11521 echo "configure: failed program was:" >&5
11522 cat conftest.$ac_ext >&5
11524 glibcpp_cv_func__modff_use=no
11528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11529 ac_cpp='$CPP $CPPFLAGS'
11530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11532 cross_compiling=$ac_cv_prog_cc_cross
11538 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
11540 if test x$glibcpp_cv_func__modff_use = x"yes"; then
11541 for ac_func in _modff
11543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11544 echo "configure:11545: checking for $ac_func" >&5
11545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11546 echo $ac_n "(cached) $ac_c" 1>&6
11548 cat > conftest.$ac_ext <<EOF
11549 #line 11550 "configure"
11550 #include "confdefs.h"
11551 /* System header to define __stub macros and hopefully few prototypes,
11552 which can conflict with char $ac_func(); below. */
11553 #include <assert.h>
11554 /* Override any gcc2 internal prototype to avoid an error. */
11555 /* We use char because int might match the return type of a gcc2
11556 builtin and then its argument prototype would still apply. */
11561 /* The GNU C library defines this for functions which it implements
11562 to always fail with ENOSYS. Some functions are actually named
11563 something starting with __ and the normal name is an alias. */
11564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11574 eval "ac_cv_func_$ac_func=yes"
11576 echo "configure: failed program was:" >&5
11577 cat conftest.$ac_ext >&5
11579 eval "ac_cv_func_$ac_func=no"
11584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11585 echo "$ac_t""yes" 1>&6
11586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11587 cat >> confdefs.h <<EOF
11588 #define $ac_tr_func 1
11592 echo "$ac_t""no" 1>&6
11601 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
11602 echo "configure:11603: checking for powf declaration" >&5
11603 if test x${glibcpp_cv_func_powf_use+set} != xset; then
11604 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
11605 echo $ac_n "(cached) $ac_c" 1>&6
11610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11611 ac_cpp='$CXXCPP $CPPFLAGS'
11612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11614 cross_compiling=$ac_cv_prog_cxx_cross
11616 cat > conftest.$ac_ext <<EOF
11617 #line 11618 "configure"
11618 #include "confdefs.h"
11624 if { (eval echo configure:11625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11626 glibcpp_cv_func_powf_use=yes
11628 echo "configure: failed program was:" >&5
11629 cat conftest.$ac_ext >&5
11631 glibcpp_cv_func_powf_use=no
11635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11636 ac_cpp='$CPP $CPPFLAGS'
11637 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11638 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11639 cross_compiling=$ac_cv_prog_cc_cross
11645 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
11647 if test x$glibcpp_cv_func_powf_use = x"yes"; then
11648 for ac_func in powf
11650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11651 echo "configure:11652: checking for $ac_func" >&5
11652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11653 echo $ac_n "(cached) $ac_c" 1>&6
11655 cat > conftest.$ac_ext <<EOF
11656 #line 11657 "configure"
11657 #include "confdefs.h"
11658 /* System header to define __stub macros and hopefully few prototypes,
11659 which can conflict with char $ac_func(); below. */
11660 #include <assert.h>
11661 /* Override any gcc2 internal prototype to avoid an error. */
11662 /* We use char because int might match the return type of a gcc2
11663 builtin and then its argument prototype would still apply. */
11668 /* The GNU C library defines this for functions which it implements
11669 to always fail with ENOSYS. Some functions are actually named
11670 something starting with __ and the normal name is an alias. */
11671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11681 eval "ac_cv_func_$ac_func=yes"
11683 echo "configure: failed program was:" >&5
11684 cat conftest.$ac_ext >&5
11686 eval "ac_cv_func_$ac_func=no"
11691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11692 echo "$ac_t""yes" 1>&6
11693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11694 cat >> confdefs.h <<EOF
11695 #define $ac_tr_func 1
11699 echo "$ac_t""no" 1>&6
11705 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
11706 echo "configure:11707: checking for _powf declaration" >&5
11707 if test x${glibcpp_cv_func__powf_use+set} != xset; then
11708 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
11709 echo $ac_n "(cached) $ac_c" 1>&6
11714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11715 ac_cpp='$CXXCPP $CPPFLAGS'
11716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11718 cross_compiling=$ac_cv_prog_cxx_cross
11720 cat > conftest.$ac_ext <<EOF
11721 #line 11722 "configure"
11722 #include "confdefs.h"
11728 if { (eval echo configure:11729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11730 glibcpp_cv_func__powf_use=yes
11732 echo "configure: failed program was:" >&5
11733 cat conftest.$ac_ext >&5
11735 glibcpp_cv_func__powf_use=no
11739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11740 ac_cpp='$CPP $CPPFLAGS'
11741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11743 cross_compiling=$ac_cv_prog_cc_cross
11749 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
11751 if test x$glibcpp_cv_func__powf_use = x"yes"; then
11752 for ac_func in _powf
11754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11755 echo "configure:11756: checking for $ac_func" >&5
11756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11757 echo $ac_n "(cached) $ac_c" 1>&6
11759 cat > conftest.$ac_ext <<EOF
11760 #line 11761 "configure"
11761 #include "confdefs.h"
11762 /* System header to define __stub macros and hopefully few prototypes,
11763 which can conflict with char $ac_func(); below. */
11764 #include <assert.h>
11765 /* Override any gcc2 internal prototype to avoid an error. */
11766 /* We use char because int might match the return type of a gcc2
11767 builtin and then its argument prototype would still apply. */
11772 /* The GNU C library defines this for functions which it implements
11773 to always fail with ENOSYS. Some functions are actually named
11774 something starting with __ and the normal name is an alias. */
11775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11783 if { (eval echo configure:11784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11785 eval "ac_cv_func_$ac_func=yes"
11787 echo "configure: failed program was:" >&5
11788 cat conftest.$ac_ext >&5
11790 eval "ac_cv_func_$ac_func=no"
11795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11796 echo "$ac_t""yes" 1>&6
11797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11798 cat >> confdefs.h <<EOF
11799 #define $ac_tr_func 1
11803 echo "$ac_t""no" 1>&6
11812 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
11813 echo "configure:11814: checking for sqrtf declaration" >&5
11814 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
11815 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
11816 echo $ac_n "(cached) $ac_c" 1>&6
11821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11822 ac_cpp='$CXXCPP $CPPFLAGS'
11823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11825 cross_compiling=$ac_cv_prog_cxx_cross
11827 cat > conftest.$ac_ext <<EOF
11828 #line 11829 "configure"
11829 #include "confdefs.h"
11831 #ifdef HAVE_IEEEFP_H
11832 #include <ieeefp.h>
11839 if { (eval echo configure:11840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11841 glibcpp_cv_func_sqrtf_use=yes
11843 echo "configure: failed program was:" >&5
11844 cat conftest.$ac_ext >&5
11846 glibcpp_cv_func_sqrtf_use=no
11850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11851 ac_cpp='$CPP $CPPFLAGS'
11852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11854 cross_compiling=$ac_cv_prog_cc_cross
11860 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
11862 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
11863 for ac_func in sqrtf
11865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11866 echo "configure:11867: checking for $ac_func" >&5
11867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11868 echo $ac_n "(cached) $ac_c" 1>&6
11870 cat > conftest.$ac_ext <<EOF
11871 #line 11872 "configure"
11872 #include "confdefs.h"
11873 /* System header to define __stub macros and hopefully few prototypes,
11874 which can conflict with char $ac_func(); below. */
11875 #include <assert.h>
11876 /* Override any gcc2 internal prototype to avoid an error. */
11877 /* We use char because int might match the return type of a gcc2
11878 builtin and then its argument prototype would still apply. */
11883 /* The GNU C library defines this for functions which it implements
11884 to always fail with ENOSYS. Some functions are actually named
11885 something starting with __ and the normal name is an alias. */
11886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11894 if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11896 eval "ac_cv_func_$ac_func=yes"
11898 echo "configure: failed program was:" >&5
11899 cat conftest.$ac_ext >&5
11901 eval "ac_cv_func_$ac_func=no"
11906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11907 echo "$ac_t""yes" 1>&6
11908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11909 cat >> confdefs.h <<EOF
11910 #define $ac_tr_func 1
11914 echo "$ac_t""no" 1>&6
11920 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
11921 echo "configure:11922: checking for _sqrtf declaration" >&5
11922 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
11923 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
11924 echo $ac_n "(cached) $ac_c" 1>&6
11929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11930 ac_cpp='$CXXCPP $CPPFLAGS'
11931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11933 cross_compiling=$ac_cv_prog_cxx_cross
11935 cat > conftest.$ac_ext <<EOF
11936 #line 11937 "configure"
11937 #include "confdefs.h"
11939 #ifdef HAVE_IEEEFP_H
11940 #include <ieeefp.h>
11947 if { (eval echo configure:11948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11949 glibcpp_cv_func__sqrtf_use=yes
11951 echo "configure: failed program was:" >&5
11952 cat conftest.$ac_ext >&5
11954 glibcpp_cv_func__sqrtf_use=no
11958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11959 ac_cpp='$CPP $CPPFLAGS'
11960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11962 cross_compiling=$ac_cv_prog_cc_cross
11968 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
11970 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
11971 for ac_func in _sqrtf
11973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11974 echo "configure:11975: checking for $ac_func" >&5
11975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11976 echo $ac_n "(cached) $ac_c" 1>&6
11978 cat > conftest.$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11981 /* System header to define __stub macros and hopefully few prototypes,
11982 which can conflict with char $ac_func(); below. */
11983 #include <assert.h>
11984 /* Override any gcc2 internal prototype to avoid an error. */
11985 /* We use char because int might match the return type of a gcc2
11986 builtin and then its argument prototype would still apply. */
11991 /* The GNU C library defines this for functions which it implements
11992 to always fail with ENOSYS. Some functions are actually named
11993 something starting with __ and the normal name is an alias. */
11994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12002 if { (eval echo configure:12003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12004 eval "ac_cv_func_$ac_func=yes"
12006 echo "configure: failed program was:" >&5
12007 cat conftest.$ac_ext >&5
12009 eval "ac_cv_func_$ac_func=no"
12014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12015 echo "$ac_t""yes" 1>&6
12016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12017 cat >> confdefs.h <<EOF
12018 #define $ac_tr_func 1
12022 echo "$ac_t""no" 1>&6
12031 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
12032 echo "configure:12033: checking for sincosf declaration" >&5
12033 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
12034 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
12035 echo $ac_n "(cached) $ac_c" 1>&6
12040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12041 ac_cpp='$CXXCPP $CPPFLAGS'
12042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12044 cross_compiling=$ac_cv_prog_cxx_cross
12046 cat > conftest.$ac_ext <<EOF
12047 #line 12048 "configure"
12048 #include "confdefs.h"
12054 if { (eval echo configure:12055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12056 glibcpp_cv_func_sincosf_use=yes
12058 echo "configure: failed program was:" >&5
12059 cat conftest.$ac_ext >&5
12061 glibcpp_cv_func_sincosf_use=no
12065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12066 ac_cpp='$CPP $CPPFLAGS'
12067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12069 cross_compiling=$ac_cv_prog_cc_cross
12075 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
12077 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
12078 for ac_func in sincosf
12080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12081 echo "configure:12082: checking for $ac_func" >&5
12082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12083 echo $ac_n "(cached) $ac_c" 1>&6
12085 cat > conftest.$ac_ext <<EOF
12086 #line 12087 "configure"
12087 #include "confdefs.h"
12088 /* System header to define __stub macros and hopefully few prototypes,
12089 which can conflict with char $ac_func(); below. */
12090 #include <assert.h>
12091 /* Override any gcc2 internal prototype to avoid an error. */
12092 /* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
12098 /* The GNU C library defines this for functions which it implements
12099 to always fail with ENOSYS. Some functions are actually named
12100 something starting with __ and the normal name is an alias. */
12101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12109 if { (eval echo configure:12110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12111 eval "ac_cv_func_$ac_func=yes"
12113 echo "configure: failed program was:" >&5
12114 cat conftest.$ac_ext >&5
12116 eval "ac_cv_func_$ac_func=no"
12121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12122 echo "$ac_t""yes" 1>&6
12123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12124 cat >> confdefs.h <<EOF
12125 #define $ac_tr_func 1
12129 echo "$ac_t""no" 1>&6
12135 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
12136 echo "configure:12137: checking for _sincosf declaration" >&5
12137 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
12138 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
12139 echo $ac_n "(cached) $ac_c" 1>&6
12144 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12145 ac_cpp='$CXXCPP $CPPFLAGS'
12146 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12147 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12148 cross_compiling=$ac_cv_prog_cxx_cross
12150 cat > conftest.$ac_ext <<EOF
12151 #line 12152 "configure"
12152 #include "confdefs.h"
12158 if { (eval echo configure:12159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12160 glibcpp_cv_func__sincosf_use=yes
12162 echo "configure: failed program was:" >&5
12163 cat conftest.$ac_ext >&5
12165 glibcpp_cv_func__sincosf_use=no
12169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12170 ac_cpp='$CPP $CPPFLAGS'
12171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12173 cross_compiling=$ac_cv_prog_cc_cross
12179 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
12181 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
12182 for ac_func in _sincosf
12184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12185 echo "configure:12186: checking for $ac_func" >&5
12186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12187 echo $ac_n "(cached) $ac_c" 1>&6
12189 cat > conftest.$ac_ext <<EOF
12190 #line 12191 "configure"
12191 #include "confdefs.h"
12192 /* System header to define __stub macros and hopefully few prototypes,
12193 which can conflict with char $ac_func(); below. */
12194 #include <assert.h>
12195 /* Override any gcc2 internal prototype to avoid an error. */
12196 /* We use char because int might match the return type of a gcc2
12197 builtin and then its argument prototype would still apply. */
12202 /* The GNU C library defines this for functions which it implements
12203 to always fail with ENOSYS. Some functions are actually named
12204 something starting with __ and the normal name is an alias. */
12205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12213 if { (eval echo configure:12214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12215 eval "ac_cv_func_$ac_func=yes"
12217 echo "configure: failed program was:" >&5
12218 cat conftest.$ac_ext >&5
12220 eval "ac_cv_func_$ac_func=no"
12225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12226 echo "$ac_t""yes" 1>&6
12227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12228 cat >> confdefs.h <<EOF
12229 #define $ac_tr_func 1
12233 echo "$ac_t""no" 1>&6
12242 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
12243 echo "configure:12244: checking for finitef declaration" >&5
12244 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
12245 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
12246 echo $ac_n "(cached) $ac_c" 1>&6
12251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12252 ac_cpp='$CXXCPP $CPPFLAGS'
12253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12255 cross_compiling=$ac_cv_prog_cxx_cross
12257 cat > conftest.$ac_ext <<EOF
12258 #line 12259 "configure"
12259 #include "confdefs.h"
12261 #ifdef HAVE_IEEEFP_H
12262 #include <ieeefp.h>
12269 if { (eval echo configure:12270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12271 glibcpp_cv_func_finitef_use=yes
12273 echo "configure: failed program was:" >&5
12274 cat conftest.$ac_ext >&5
12276 glibcpp_cv_func_finitef_use=no
12280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12281 ac_cpp='$CPP $CPPFLAGS'
12282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12284 cross_compiling=$ac_cv_prog_cc_cross
12290 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
12292 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
12293 for ac_func in finitef
12295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12296 echo "configure:12297: checking for $ac_func" >&5
12297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12298 echo $ac_n "(cached) $ac_c" 1>&6
12300 cat > conftest.$ac_ext <<EOF
12301 #line 12302 "configure"
12302 #include "confdefs.h"
12303 /* System header to define __stub macros and hopefully few prototypes,
12304 which can conflict with char $ac_func(); below. */
12305 #include <assert.h>
12306 /* Override any gcc2 internal prototype to avoid an error. */
12307 /* We use char because int might match the return type of a gcc2
12308 builtin and then its argument prototype would still apply. */
12313 /* The GNU C library defines this for functions which it implements
12314 to always fail with ENOSYS. Some functions are actually named
12315 something starting with __ and the normal name is an alias. */
12316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12324 if { (eval echo configure:12325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12326 eval "ac_cv_func_$ac_func=yes"
12328 echo "configure: failed program was:" >&5
12329 cat conftest.$ac_ext >&5
12331 eval "ac_cv_func_$ac_func=no"
12336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12337 echo "$ac_t""yes" 1>&6
12338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12339 cat >> confdefs.h <<EOF
12340 #define $ac_tr_func 1
12344 echo "$ac_t""no" 1>&6
12350 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
12351 echo "configure:12352: checking for _finitef declaration" >&5
12352 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
12353 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
12354 echo $ac_n "(cached) $ac_c" 1>&6
12359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12360 ac_cpp='$CXXCPP $CPPFLAGS'
12361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12363 cross_compiling=$ac_cv_prog_cxx_cross
12365 cat > conftest.$ac_ext <<EOF
12366 #line 12367 "configure"
12367 #include "confdefs.h"
12369 #ifdef HAVE_IEEEFP_H
12370 #include <ieeefp.h>
12377 if { (eval echo configure:12378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12379 glibcpp_cv_func__finitef_use=yes
12381 echo "configure: failed program was:" >&5
12382 cat conftest.$ac_ext >&5
12384 glibcpp_cv_func__finitef_use=no
12388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12389 ac_cpp='$CPP $CPPFLAGS'
12390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12392 cross_compiling=$ac_cv_prog_cc_cross
12398 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
12400 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
12401 for ac_func in _finitef
12403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12404 echo "configure:12405: checking for $ac_func" >&5
12405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12406 echo $ac_n "(cached) $ac_c" 1>&6
12408 cat > conftest.$ac_ext <<EOF
12409 #line 12410 "configure"
12410 #include "confdefs.h"
12411 /* System header to define __stub macros and hopefully few prototypes,
12412 which can conflict with char $ac_func(); below. */
12413 #include <assert.h>
12414 /* Override any gcc2 internal prototype to avoid an error. */
12415 /* We use char because int might match the return type of a gcc2
12416 builtin and then its argument prototype would still apply. */
12421 /* The GNU C library defines this for functions which it implements
12422 to always fail with ENOSYS. Some functions are actually named
12423 something starting with __ and the normal name is an alias. */
12424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12432 if { (eval echo configure:12433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12434 eval "ac_cv_func_$ac_func=yes"
12436 echo "configure: failed program was:" >&5
12437 cat conftest.$ac_ext >&5
12439 eval "ac_cv_func_$ac_func=no"
12444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12445 echo "$ac_t""yes" 1>&6
12446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12447 cat >> confdefs.h <<EOF
12448 #define $ac_tr_func 1
12452 echo "$ac_t""no" 1>&6
12461 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
12462 echo "configure:12463: checking for long double trig functions" >&5
12463 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
12464 echo $ac_n "(cached) $ac_c" 1>&6
12469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12470 ac_cpp='$CXXCPP $CPPFLAGS'
12471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12473 cross_compiling=$ac_cv_prog_cxx_cross
12475 cat > conftest.$ac_ext <<EOF
12476 #line 12477 "configure"
12477 #include "confdefs.h"
12480 `for x in acosl asinl atanl \
12482 coshl sinhl tanhl; do echo "$x (0);"; done`
12485 if { (eval echo configure:12486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12487 glibcpp_cv_func_long_double_trig_use=yes
12489 echo "configure: failed program was:" >&5
12490 cat conftest.$ac_ext >&5
12492 glibcpp_cv_func_long_double_trig_use=no
12496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12497 ac_cpp='$CPP $CPPFLAGS'
12498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12500 cross_compiling=$ac_cv_prog_cc_cross
12504 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
12505 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
12506 for ac_func in acosl asinl atanl \
12510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12511 echo "configure:12512: checking for $ac_func" >&5
12512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12513 echo $ac_n "(cached) $ac_c" 1>&6
12515 cat > conftest.$ac_ext <<EOF
12516 #line 12517 "configure"
12517 #include "confdefs.h"
12518 /* System header to define __stub macros and hopefully few prototypes,
12519 which can conflict with char $ac_func(); below. */
12520 #include <assert.h>
12521 /* Override any gcc2 internal prototype to avoid an error. */
12522 /* We use char because int might match the return type of a gcc2
12523 builtin and then its argument prototype would still apply. */
12528 /* The GNU C library defines this for functions which it implements
12529 to always fail with ENOSYS. Some functions are actually named
12530 something starting with __ and the normal name is an alias. */
12531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12539 if { (eval echo configure:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12541 eval "ac_cv_func_$ac_func=yes"
12543 echo "configure: failed program was:" >&5
12544 cat conftest.$ac_ext >&5
12546 eval "ac_cv_func_$ac_func=no"
12551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12552 echo "$ac_t""yes" 1>&6
12553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12554 cat >> confdefs.h <<EOF
12555 #define $ac_tr_func 1
12559 echo "$ac_t""no" 1>&6
12566 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
12567 echo "configure:12568: checking for long double round functions" >&5
12568 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
12569 echo $ac_n "(cached) $ac_c" 1>&6
12574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12575 ac_cpp='$CXXCPP $CPPFLAGS'
12576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12578 cross_compiling=$ac_cv_prog_cxx_cross
12580 cat > conftest.$ac_ext <<EOF
12581 #line 12582 "configure"
12582 #include "confdefs.h"
12585 `for x in ceill floorl; do echo "$x (0);"; done`
12588 if { (eval echo configure:12589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12590 glibcpp_cv_func_long_double_round_use=yes
12592 echo "configure: failed program was:" >&5
12593 cat conftest.$ac_ext >&5
12595 glibcpp_cv_func_long_double_round_use=no
12599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12600 ac_cpp='$CPP $CPPFLAGS'
12601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12603 cross_compiling=$ac_cv_prog_cc_cross
12607 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
12608 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
12609 for ac_func in ceill floorl
12611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12612 echo "configure:12613: checking for $ac_func" >&5
12613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12614 echo $ac_n "(cached) $ac_c" 1>&6
12616 cat > conftest.$ac_ext <<EOF
12617 #line 12618 "configure"
12618 #include "confdefs.h"
12619 /* System header to define __stub macros and hopefully few prototypes,
12620 which can conflict with char $ac_func(); below. */
12621 #include <assert.h>
12622 /* Override any gcc2 internal prototype to avoid an error. */
12623 /* We use char because int might match the return type of a gcc2
12624 builtin and then its argument prototype would still apply. */
12629 /* The GNU C library defines this for functions which it implements
12630 to always fail with ENOSYS. Some functions are actually named
12631 something starting with __ and the normal name is an alias. */
12632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12640 if { (eval echo configure:12641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12642 eval "ac_cv_func_$ac_func=yes"
12644 echo "configure: failed program was:" >&5
12645 cat conftest.$ac_ext >&5
12647 eval "ac_cv_func_$ac_func=no"
12652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12653 echo "$ac_t""yes" 1>&6
12654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12655 cat >> confdefs.h <<EOF
12656 #define $ac_tr_func 1
12660 echo "$ac_t""no" 1>&6
12668 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
12669 echo "configure:12670: checking for isnanl declaration" >&5
12670 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
12671 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
12672 echo $ac_n "(cached) $ac_c" 1>&6
12677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12678 ac_cpp='$CXXCPP $CPPFLAGS'
12679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12681 cross_compiling=$ac_cv_prog_cxx_cross
12683 cat > conftest.$ac_ext <<EOF
12684 #line 12685 "configure"
12685 #include "confdefs.h"
12687 #ifdef HAVE_IEEEFP_H
12688 #include <ieeefp.h>
12695 if { (eval echo configure:12696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12697 glibcpp_cv_func_isnanl_use=yes
12699 echo "configure: failed program was:" >&5
12700 cat conftest.$ac_ext >&5
12702 glibcpp_cv_func_isnanl_use=no
12706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12707 ac_cpp='$CPP $CPPFLAGS'
12708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12710 cross_compiling=$ac_cv_prog_cc_cross
12716 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
12718 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
12719 for ac_func in isnanl
12721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12722 echo "configure:12723: checking for $ac_func" >&5
12723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12724 echo $ac_n "(cached) $ac_c" 1>&6
12726 cat > conftest.$ac_ext <<EOF
12727 #line 12728 "configure"
12728 #include "confdefs.h"
12729 /* System header to define __stub macros and hopefully few prototypes,
12730 which can conflict with char $ac_func(); below. */
12731 #include <assert.h>
12732 /* Override any gcc2 internal prototype to avoid an error. */
12733 /* We use char because int might match the return type of a gcc2
12734 builtin and then its argument prototype would still apply. */
12739 /* The GNU C library defines this for functions which it implements
12740 to always fail with ENOSYS. Some functions are actually named
12741 something starting with __ and the normal name is an alias. */
12742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12750 if { (eval echo configure:12751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12752 eval "ac_cv_func_$ac_func=yes"
12754 echo "configure: failed program was:" >&5
12755 cat conftest.$ac_ext >&5
12757 eval "ac_cv_func_$ac_func=no"
12762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12763 echo "$ac_t""yes" 1>&6
12764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12765 cat >> confdefs.h <<EOF
12766 #define $ac_tr_func 1
12770 echo "$ac_t""no" 1>&6
12776 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
12777 echo "configure:12778: checking for _isnanl declaration" >&5
12778 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
12779 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
12780 echo $ac_n "(cached) $ac_c" 1>&6
12785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12786 ac_cpp='$CXXCPP $CPPFLAGS'
12787 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12788 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12789 cross_compiling=$ac_cv_prog_cxx_cross
12791 cat > conftest.$ac_ext <<EOF
12792 #line 12793 "configure"
12793 #include "confdefs.h"
12795 #ifdef HAVE_IEEEFP_H
12796 #include <ieeefp.h>
12803 if { (eval echo configure:12804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12805 glibcpp_cv_func__isnanl_use=yes
12807 echo "configure: failed program was:" >&5
12808 cat conftest.$ac_ext >&5
12810 glibcpp_cv_func__isnanl_use=no
12814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12815 ac_cpp='$CPP $CPPFLAGS'
12816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12818 cross_compiling=$ac_cv_prog_cc_cross
12824 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
12826 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
12827 for ac_func in _isnanl
12829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12830 echo "configure:12831: checking for $ac_func" >&5
12831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12832 echo $ac_n "(cached) $ac_c" 1>&6
12834 cat > conftest.$ac_ext <<EOF
12835 #line 12836 "configure"
12836 #include "confdefs.h"
12837 /* System header to define __stub macros and hopefully few prototypes,
12838 which can conflict with char $ac_func(); below. */
12839 #include <assert.h>
12840 /* Override any gcc2 internal prototype to avoid an error. */
12841 /* We use char because int might match the return type of a gcc2
12842 builtin and then its argument prototype would still apply. */
12847 /* The GNU C library defines this for functions which it implements
12848 to always fail with ENOSYS. Some functions are actually named
12849 something starting with __ and the normal name is an alias. */
12850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12858 if { (eval echo configure:12859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12860 eval "ac_cv_func_$ac_func=yes"
12862 echo "configure: failed program was:" >&5
12863 cat conftest.$ac_ext >&5
12865 eval "ac_cv_func_$ac_func=no"
12870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12871 echo "$ac_t""yes" 1>&6
12872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12873 cat >> confdefs.h <<EOF
12874 #define $ac_tr_func 1
12878 echo "$ac_t""no" 1>&6
12887 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
12888 echo "configure:12889: checking for isinfl declaration" >&5
12889 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
12890 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
12891 echo $ac_n "(cached) $ac_c" 1>&6
12896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12897 ac_cpp='$CXXCPP $CPPFLAGS'
12898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12900 cross_compiling=$ac_cv_prog_cxx_cross
12902 cat > conftest.$ac_ext <<EOF
12903 #line 12904 "configure"
12904 #include "confdefs.h"
12906 #ifdef HAVE_IEEEFP_H
12907 #include <ieeefp.h>
12914 if { (eval echo configure:12915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12916 glibcpp_cv_func_isinfl_use=yes
12918 echo "configure: failed program was:" >&5
12919 cat conftest.$ac_ext >&5
12921 glibcpp_cv_func_isinfl_use=no
12925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12926 ac_cpp='$CPP $CPPFLAGS'
12927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12929 cross_compiling=$ac_cv_prog_cc_cross
12935 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
12937 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
12938 for ac_func in isinfl
12940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12941 echo "configure:12942: checking for $ac_func" >&5
12942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12943 echo $ac_n "(cached) $ac_c" 1>&6
12945 cat > conftest.$ac_ext <<EOF
12946 #line 12947 "configure"
12947 #include "confdefs.h"
12948 /* System header to define __stub macros and hopefully few prototypes,
12949 which can conflict with char $ac_func(); below. */
12950 #include <assert.h>
12951 /* Override any gcc2 internal prototype to avoid an error. */
12952 /* We use char because int might match the return type of a gcc2
12953 builtin and then its argument prototype would still apply. */
12958 /* The GNU C library defines this for functions which it implements
12959 to always fail with ENOSYS. Some functions are actually named
12960 something starting with __ and the normal name is an alias. */
12961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12969 if { (eval echo configure:12970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12971 eval "ac_cv_func_$ac_func=yes"
12973 echo "configure: failed program was:" >&5
12974 cat conftest.$ac_ext >&5
12976 eval "ac_cv_func_$ac_func=no"
12981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12982 echo "$ac_t""yes" 1>&6
12983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12984 cat >> confdefs.h <<EOF
12985 #define $ac_tr_func 1
12989 echo "$ac_t""no" 1>&6
12995 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
12996 echo "configure:12997: checking for _isinfl declaration" >&5
12997 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12998 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12999 echo $ac_n "(cached) $ac_c" 1>&6
13004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13005 ac_cpp='$CXXCPP $CPPFLAGS'
13006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13008 cross_compiling=$ac_cv_prog_cxx_cross
13010 cat > conftest.$ac_ext <<EOF
13011 #line 13012 "configure"
13012 #include "confdefs.h"
13014 #ifdef HAVE_IEEEFP_H
13015 #include <ieeefp.h>
13022 if { (eval echo configure:13023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13024 glibcpp_cv_func__isinfl_use=yes
13026 echo "configure: failed program was:" >&5
13027 cat conftest.$ac_ext >&5
13029 glibcpp_cv_func__isinfl_use=no
13033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13034 ac_cpp='$CPP $CPPFLAGS'
13035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13037 cross_compiling=$ac_cv_prog_cc_cross
13043 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
13045 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
13046 for ac_func in _isinfl
13048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13049 echo "configure:13050: checking for $ac_func" >&5
13050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13051 echo $ac_n "(cached) $ac_c" 1>&6
13053 cat > conftest.$ac_ext <<EOF
13054 #line 13055 "configure"
13055 #include "confdefs.h"
13056 /* System header to define __stub macros and hopefully few prototypes,
13057 which can conflict with char $ac_func(); below. */
13058 #include <assert.h>
13059 /* Override any gcc2 internal prototype to avoid an error. */
13060 /* We use char because int might match the return type of a gcc2
13061 builtin and then its argument prototype would still apply. */
13066 /* The GNU C library defines this for functions which it implements
13067 to always fail with ENOSYS. Some functions are actually named
13068 something starting with __ and the normal name is an alias. */
13069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13077 if { (eval echo configure:13078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13079 eval "ac_cv_func_$ac_func=yes"
13081 echo "configure: failed program was:" >&5
13082 cat conftest.$ac_ext >&5
13084 eval "ac_cv_func_$ac_func=no"
13089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13090 echo "$ac_t""yes" 1>&6
13091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13092 cat >> confdefs.h <<EOF
13093 #define $ac_tr_func 1
13097 echo "$ac_t""no" 1>&6
13106 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
13107 echo "configure:13108: checking for copysignl declaration" >&5
13108 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
13109 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
13110 echo $ac_n "(cached) $ac_c" 1>&6
13115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13116 ac_cpp='$CXXCPP $CPPFLAGS'
13117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13119 cross_compiling=$ac_cv_prog_cxx_cross
13121 cat > conftest.$ac_ext <<EOF
13122 #line 13123 "configure"
13123 #include "confdefs.h"
13129 if { (eval echo configure:13130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13131 glibcpp_cv_func_copysignl_use=yes
13133 echo "configure: failed program was:" >&5
13134 cat conftest.$ac_ext >&5
13136 glibcpp_cv_func_copysignl_use=no
13140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13141 ac_cpp='$CPP $CPPFLAGS'
13142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13144 cross_compiling=$ac_cv_prog_cc_cross
13150 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
13152 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
13153 for ac_func in copysignl
13155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13156 echo "configure:13157: checking for $ac_func" >&5
13157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13158 echo $ac_n "(cached) $ac_c" 1>&6
13160 cat > conftest.$ac_ext <<EOF
13161 #line 13162 "configure"
13162 #include "confdefs.h"
13163 /* System header to define __stub macros and hopefully few prototypes,
13164 which can conflict with char $ac_func(); below. */
13165 #include <assert.h>
13166 /* Override any gcc2 internal prototype to avoid an error. */
13167 /* We use char because int might match the return type of a gcc2
13168 builtin and then its argument prototype would still apply. */
13173 /* The GNU C library defines this for functions which it implements
13174 to always fail with ENOSYS. Some functions are actually named
13175 something starting with __ and the normal name is an alias. */
13176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13184 if { (eval echo configure:13185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13186 eval "ac_cv_func_$ac_func=yes"
13188 echo "configure: failed program was:" >&5
13189 cat conftest.$ac_ext >&5
13191 eval "ac_cv_func_$ac_func=no"
13196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13197 echo "$ac_t""yes" 1>&6
13198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13199 cat >> confdefs.h <<EOF
13200 #define $ac_tr_func 1
13204 echo "$ac_t""no" 1>&6
13210 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
13211 echo "configure:13212: checking for _copysignl declaration" >&5
13212 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
13213 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
13214 echo $ac_n "(cached) $ac_c" 1>&6
13219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13220 ac_cpp='$CXXCPP $CPPFLAGS'
13221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13223 cross_compiling=$ac_cv_prog_cxx_cross
13225 cat > conftest.$ac_ext <<EOF
13226 #line 13227 "configure"
13227 #include "confdefs.h"
13233 if { (eval echo configure:13234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13235 glibcpp_cv_func__copysignl_use=yes
13237 echo "configure: failed program was:" >&5
13238 cat conftest.$ac_ext >&5
13240 glibcpp_cv_func__copysignl_use=no
13244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13245 ac_cpp='$CPP $CPPFLAGS'
13246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13248 cross_compiling=$ac_cv_prog_cc_cross
13254 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
13256 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
13257 for ac_func in _copysignl
13259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13260 echo "configure:13261: checking for $ac_func" >&5
13261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13262 echo $ac_n "(cached) $ac_c" 1>&6
13264 cat > conftest.$ac_ext <<EOF
13265 #line 13266 "configure"
13266 #include "confdefs.h"
13267 /* System header to define __stub macros and hopefully few prototypes,
13268 which can conflict with char $ac_func(); below. */
13269 #include <assert.h>
13270 /* Override any gcc2 internal prototype to avoid an error. */
13271 /* We use char because int might match the return type of a gcc2
13272 builtin and then its argument prototype would still apply. */
13277 /* The GNU C library defines this for functions which it implements
13278 to always fail with ENOSYS. Some functions are actually named
13279 something starting with __ and the normal name is an alias. */
13280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13288 if { (eval echo configure:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13290 eval "ac_cv_func_$ac_func=yes"
13292 echo "configure: failed program was:" >&5
13293 cat conftest.$ac_ext >&5
13295 eval "ac_cv_func_$ac_func=no"
13300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13301 echo "$ac_t""yes" 1>&6
13302 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13303 cat >> confdefs.h <<EOF
13304 #define $ac_tr_func 1
13308 echo "$ac_t""no" 1>&6
13317 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
13318 echo "configure:13319: checking for atan2l declaration" >&5
13319 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
13320 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
13321 echo $ac_n "(cached) $ac_c" 1>&6
13326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13327 ac_cpp='$CXXCPP $CPPFLAGS'
13328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13330 cross_compiling=$ac_cv_prog_cxx_cross
13332 cat > conftest.$ac_ext <<EOF
13333 #line 13334 "configure"
13334 #include "confdefs.h"
13340 if { (eval echo configure:13341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13342 glibcpp_cv_func_atan2l_use=yes
13344 echo "configure: failed program was:" >&5
13345 cat conftest.$ac_ext >&5
13347 glibcpp_cv_func_atan2l_use=no
13351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13352 ac_cpp='$CPP $CPPFLAGS'
13353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13355 cross_compiling=$ac_cv_prog_cc_cross
13361 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
13363 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
13364 for ac_func in atan2l
13366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13367 echo "configure:13368: checking for $ac_func" >&5
13368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13369 echo $ac_n "(cached) $ac_c" 1>&6
13371 cat > conftest.$ac_ext <<EOF
13372 #line 13373 "configure"
13373 #include "confdefs.h"
13374 /* System header to define __stub macros and hopefully few prototypes,
13375 which can conflict with char $ac_func(); below. */
13376 #include <assert.h>
13377 /* Override any gcc2 internal prototype to avoid an error. */
13378 /* We use char because int might match the return type of a gcc2
13379 builtin and then its argument prototype would still apply. */
13384 /* The GNU C library defines this for functions which it implements
13385 to always fail with ENOSYS. Some functions are actually named
13386 something starting with __ and the normal name is an alias. */
13387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13395 if { (eval echo configure:13396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13397 eval "ac_cv_func_$ac_func=yes"
13399 echo "configure: failed program was:" >&5
13400 cat conftest.$ac_ext >&5
13402 eval "ac_cv_func_$ac_func=no"
13407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13408 echo "$ac_t""yes" 1>&6
13409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13410 cat >> confdefs.h <<EOF
13411 #define $ac_tr_func 1
13415 echo "$ac_t""no" 1>&6
13421 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
13422 echo "configure:13423: checking for _atan2l declaration" >&5
13423 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
13424 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
13425 echo $ac_n "(cached) $ac_c" 1>&6
13430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13431 ac_cpp='$CXXCPP $CPPFLAGS'
13432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13434 cross_compiling=$ac_cv_prog_cxx_cross
13436 cat > conftest.$ac_ext <<EOF
13437 #line 13438 "configure"
13438 #include "confdefs.h"
13444 if { (eval echo configure:13445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13446 glibcpp_cv_func__atan2l_use=yes
13448 echo "configure: failed program was:" >&5
13449 cat conftest.$ac_ext >&5
13451 glibcpp_cv_func__atan2l_use=no
13455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13456 ac_cpp='$CPP $CPPFLAGS'
13457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13459 cross_compiling=$ac_cv_prog_cc_cross
13465 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
13467 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
13468 for ac_func in _atan2l
13470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13471 echo "configure:13472: checking for $ac_func" >&5
13472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13473 echo $ac_n "(cached) $ac_c" 1>&6
13475 cat > conftest.$ac_ext <<EOF
13476 #line 13477 "configure"
13477 #include "confdefs.h"
13478 /* System header to define __stub macros and hopefully few prototypes,
13479 which can conflict with char $ac_func(); below. */
13480 #include <assert.h>
13481 /* Override any gcc2 internal prototype to avoid an error. */
13482 /* We use char because int might match the return type of a gcc2
13483 builtin and then its argument prototype would still apply. */
13488 /* The GNU C library defines this for functions which it implements
13489 to always fail with ENOSYS. Some functions are actually named
13490 something starting with __ and the normal name is an alias. */
13491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13499 if { (eval echo configure:13500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13501 eval "ac_cv_func_$ac_func=yes"
13503 echo "configure: failed program was:" >&5
13504 cat conftest.$ac_ext >&5
13506 eval "ac_cv_func_$ac_func=no"
13511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13512 echo "$ac_t""yes" 1>&6
13513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13514 cat >> confdefs.h <<EOF
13515 #define $ac_tr_func 1
13519 echo "$ac_t""no" 1>&6
13528 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
13529 echo "configure:13530: checking for expl declaration" >&5
13530 if test x${glibcpp_cv_func_expl_use+set} != xset; then
13531 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
13532 echo $ac_n "(cached) $ac_c" 1>&6
13537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13538 ac_cpp='$CXXCPP $CPPFLAGS'
13539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13541 cross_compiling=$ac_cv_prog_cxx_cross
13543 cat > conftest.$ac_ext <<EOF
13544 #line 13545 "configure"
13545 #include "confdefs.h"
13547 #ifdef HAVE_IEEEFP_H
13548 #include <ieeefp.h>
13555 if { (eval echo configure:13556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13557 glibcpp_cv_func_expl_use=yes
13559 echo "configure: failed program was:" >&5
13560 cat conftest.$ac_ext >&5
13562 glibcpp_cv_func_expl_use=no
13566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13567 ac_cpp='$CPP $CPPFLAGS'
13568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13570 cross_compiling=$ac_cv_prog_cc_cross
13576 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
13578 if test x$glibcpp_cv_func_expl_use = x"yes"; then
13579 for ac_func in expl
13581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13582 echo "configure:13583: checking for $ac_func" >&5
13583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13584 echo $ac_n "(cached) $ac_c" 1>&6
13586 cat > conftest.$ac_ext <<EOF
13587 #line 13588 "configure"
13588 #include "confdefs.h"
13589 /* System header to define __stub macros and hopefully few prototypes,
13590 which can conflict with char $ac_func(); below. */
13591 #include <assert.h>
13592 /* Override any gcc2 internal prototype to avoid an error. */
13593 /* We use char because int might match the return type of a gcc2
13594 builtin and then its argument prototype would still apply. */
13599 /* The GNU C library defines this for functions which it implements
13600 to always fail with ENOSYS. Some functions are actually named
13601 something starting with __ and the normal name is an alias. */
13602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13610 if { (eval echo configure:13611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13612 eval "ac_cv_func_$ac_func=yes"
13614 echo "configure: failed program was:" >&5
13615 cat conftest.$ac_ext >&5
13617 eval "ac_cv_func_$ac_func=no"
13622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13623 echo "$ac_t""yes" 1>&6
13624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13625 cat >> confdefs.h <<EOF
13626 #define $ac_tr_func 1
13630 echo "$ac_t""no" 1>&6
13636 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
13637 echo "configure:13638: checking for _expl declaration" >&5
13638 if test x${glibcpp_cv_func__expl_use+set} != xset; then
13639 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
13640 echo $ac_n "(cached) $ac_c" 1>&6
13645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13646 ac_cpp='$CXXCPP $CPPFLAGS'
13647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13649 cross_compiling=$ac_cv_prog_cxx_cross
13651 cat > conftest.$ac_ext <<EOF
13652 #line 13653 "configure"
13653 #include "confdefs.h"
13655 #ifdef HAVE_IEEEFP_H
13656 #include <ieeefp.h>
13663 if { (eval echo configure:13664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13665 glibcpp_cv_func__expl_use=yes
13667 echo "configure: failed program was:" >&5
13668 cat conftest.$ac_ext >&5
13670 glibcpp_cv_func__expl_use=no
13674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13675 ac_cpp='$CPP $CPPFLAGS'
13676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13678 cross_compiling=$ac_cv_prog_cc_cross
13684 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
13686 if test x$glibcpp_cv_func__expl_use = x"yes"; then
13687 for ac_func in _expl
13689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13690 echo "configure:13691: checking for $ac_func" >&5
13691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13692 echo $ac_n "(cached) $ac_c" 1>&6
13694 cat > conftest.$ac_ext <<EOF
13695 #line 13696 "configure"
13696 #include "confdefs.h"
13697 /* System header to define __stub macros and hopefully few prototypes,
13698 which can conflict with char $ac_func(); below. */
13699 #include <assert.h>
13700 /* Override any gcc2 internal prototype to avoid an error. */
13701 /* We use char because int might match the return type of a gcc2
13702 builtin and then its argument prototype would still apply. */
13707 /* The GNU C library defines this for functions which it implements
13708 to always fail with ENOSYS. Some functions are actually named
13709 something starting with __ and the normal name is an alias. */
13710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13718 if { (eval echo configure:13719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13720 eval "ac_cv_func_$ac_func=yes"
13722 echo "configure: failed program was:" >&5
13723 cat conftest.$ac_ext >&5
13725 eval "ac_cv_func_$ac_func=no"
13730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13731 echo "$ac_t""yes" 1>&6
13732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13733 cat >> confdefs.h <<EOF
13734 #define $ac_tr_func 1
13738 echo "$ac_t""no" 1>&6
13747 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
13748 echo "configure:13749: checking for fabsl declaration" >&5
13749 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
13750 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
13751 echo $ac_n "(cached) $ac_c" 1>&6
13756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13757 ac_cpp='$CXXCPP $CPPFLAGS'
13758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13760 cross_compiling=$ac_cv_prog_cxx_cross
13762 cat > conftest.$ac_ext <<EOF
13763 #line 13764 "configure"
13764 #include "confdefs.h"
13766 #ifdef HAVE_IEEEFP_H
13767 #include <ieeefp.h>
13774 if { (eval echo configure:13775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13776 glibcpp_cv_func_fabsl_use=yes
13778 echo "configure: failed program was:" >&5
13779 cat conftest.$ac_ext >&5
13781 glibcpp_cv_func_fabsl_use=no
13785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13786 ac_cpp='$CPP $CPPFLAGS'
13787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13789 cross_compiling=$ac_cv_prog_cc_cross
13795 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
13797 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
13798 for ac_func in fabsl
13800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13801 echo "configure:13802: checking for $ac_func" >&5
13802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13803 echo $ac_n "(cached) $ac_c" 1>&6
13805 cat > conftest.$ac_ext <<EOF
13806 #line 13807 "configure"
13807 #include "confdefs.h"
13808 /* System header to define __stub macros and hopefully few prototypes,
13809 which can conflict with char $ac_func(); below. */
13810 #include <assert.h>
13811 /* Override any gcc2 internal prototype to avoid an error. */
13812 /* We use char because int might match the return type of a gcc2
13813 builtin and then its argument prototype would still apply. */
13818 /* The GNU C library defines this for functions which it implements
13819 to always fail with ENOSYS. Some functions are actually named
13820 something starting with __ and the normal name is an alias. */
13821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13829 if { (eval echo configure:13830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13831 eval "ac_cv_func_$ac_func=yes"
13833 echo "configure: failed program was:" >&5
13834 cat conftest.$ac_ext >&5
13836 eval "ac_cv_func_$ac_func=no"
13841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13842 echo "$ac_t""yes" 1>&6
13843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13844 cat >> confdefs.h <<EOF
13845 #define $ac_tr_func 1
13849 echo "$ac_t""no" 1>&6
13855 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
13856 echo "configure:13857: checking for _fabsl declaration" >&5
13857 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
13858 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
13859 echo $ac_n "(cached) $ac_c" 1>&6
13864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13865 ac_cpp='$CXXCPP $CPPFLAGS'
13866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13868 cross_compiling=$ac_cv_prog_cxx_cross
13870 cat > conftest.$ac_ext <<EOF
13871 #line 13872 "configure"
13872 #include "confdefs.h"
13874 #ifdef HAVE_IEEEFP_H
13875 #include <ieeefp.h>
13882 if { (eval echo configure:13883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13884 glibcpp_cv_func__fabsl_use=yes
13886 echo "configure: failed program was:" >&5
13887 cat conftest.$ac_ext >&5
13889 glibcpp_cv_func__fabsl_use=no
13893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13894 ac_cpp='$CPP $CPPFLAGS'
13895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13897 cross_compiling=$ac_cv_prog_cc_cross
13903 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13905 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13906 for ac_func in _fabsl
13908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13909 echo "configure:13910: checking for $ac_func" >&5
13910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13911 echo $ac_n "(cached) $ac_c" 1>&6
13913 cat > conftest.$ac_ext <<EOF
13914 #line 13915 "configure"
13915 #include "confdefs.h"
13916 /* System header to define __stub macros and hopefully few prototypes,
13917 which can conflict with char $ac_func(); below. */
13918 #include <assert.h>
13919 /* Override any gcc2 internal prototype to avoid an error. */
13920 /* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13926 /* The GNU C library defines this for functions which it implements
13927 to always fail with ENOSYS. Some functions are actually named
13928 something starting with __ and the normal name is an alias. */
13929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13937 if { (eval echo configure:13938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13939 eval "ac_cv_func_$ac_func=yes"
13941 echo "configure: failed program was:" >&5
13942 cat conftest.$ac_ext >&5
13944 eval "ac_cv_func_$ac_func=no"
13949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13950 echo "$ac_t""yes" 1>&6
13951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13952 cat >> confdefs.h <<EOF
13953 #define $ac_tr_func 1
13957 echo "$ac_t""no" 1>&6
13966 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
13967 echo "configure:13968: checking for fmodl declaration" >&5
13968 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
13969 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
13970 echo $ac_n "(cached) $ac_c" 1>&6
13975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13976 ac_cpp='$CXXCPP $CPPFLAGS'
13977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13979 cross_compiling=$ac_cv_prog_cxx_cross
13981 cat > conftest.$ac_ext <<EOF
13982 #line 13983 "configure"
13983 #include "confdefs.h"
13989 if { (eval echo configure:13990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13991 glibcpp_cv_func_fmodl_use=yes
13993 echo "configure: failed program was:" >&5
13994 cat conftest.$ac_ext >&5
13996 glibcpp_cv_func_fmodl_use=no
14000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14001 ac_cpp='$CPP $CPPFLAGS'
14002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14004 cross_compiling=$ac_cv_prog_cc_cross
14010 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
14012 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
14013 for ac_func in fmodl
14015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14016 echo "configure:14017: checking for $ac_func" >&5
14017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14018 echo $ac_n "(cached) $ac_c" 1>&6
14020 cat > conftest.$ac_ext <<EOF
14021 #line 14022 "configure"
14022 #include "confdefs.h"
14023 /* System header to define __stub macros and hopefully few prototypes,
14024 which can conflict with char $ac_func(); below. */
14025 #include <assert.h>
14026 /* Override any gcc2 internal prototype to avoid an error. */
14027 /* We use char because int might match the return type of a gcc2
14028 builtin and then its argument prototype would still apply. */
14033 /* The GNU C library defines this for functions which it implements
14034 to always fail with ENOSYS. Some functions are actually named
14035 something starting with __ and the normal name is an alias. */
14036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14044 if { (eval echo configure:14045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14046 eval "ac_cv_func_$ac_func=yes"
14048 echo "configure: failed program was:" >&5
14049 cat conftest.$ac_ext >&5
14051 eval "ac_cv_func_$ac_func=no"
14056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14057 echo "$ac_t""yes" 1>&6
14058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14059 cat >> confdefs.h <<EOF
14060 #define $ac_tr_func 1
14064 echo "$ac_t""no" 1>&6
14070 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
14071 echo "configure:14072: checking for _fmodl declaration" >&5
14072 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
14073 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
14074 echo $ac_n "(cached) $ac_c" 1>&6
14079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14080 ac_cpp='$CXXCPP $CPPFLAGS'
14081 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14082 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14083 cross_compiling=$ac_cv_prog_cxx_cross
14085 cat > conftest.$ac_ext <<EOF
14086 #line 14087 "configure"
14087 #include "confdefs.h"
14093 if { (eval echo configure:14094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14095 glibcpp_cv_func__fmodl_use=yes
14097 echo "configure: failed program was:" >&5
14098 cat conftest.$ac_ext >&5
14100 glibcpp_cv_func__fmodl_use=no
14104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14105 ac_cpp='$CPP $CPPFLAGS'
14106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14108 cross_compiling=$ac_cv_prog_cc_cross
14114 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
14116 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
14117 for ac_func in _fmodl
14119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14120 echo "configure:14121: checking for $ac_func" >&5
14121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14122 echo $ac_n "(cached) $ac_c" 1>&6
14124 cat > conftest.$ac_ext <<EOF
14125 #line 14126 "configure"
14126 #include "confdefs.h"
14127 /* System header to define __stub macros and hopefully few prototypes,
14128 which can conflict with char $ac_func(); below. */
14129 #include <assert.h>
14130 /* Override any gcc2 internal prototype to avoid an error. */
14131 /* We use char because int might match the return type of a gcc2
14132 builtin and then its argument prototype would still apply. */
14137 /* The GNU C library defines this for functions which it implements
14138 to always fail with ENOSYS. Some functions are actually named
14139 something starting with __ and the normal name is an alias. */
14140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14148 if { (eval echo configure:14149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14150 eval "ac_cv_func_$ac_func=yes"
14152 echo "configure: failed program was:" >&5
14153 cat conftest.$ac_ext >&5
14155 eval "ac_cv_func_$ac_func=no"
14160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14161 echo "$ac_t""yes" 1>&6
14162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14163 cat >> confdefs.h <<EOF
14164 #define $ac_tr_func 1
14168 echo "$ac_t""no" 1>&6
14177 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
14178 echo "configure:14179: checking for frexpl declaration" >&5
14179 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
14180 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
14181 echo $ac_n "(cached) $ac_c" 1>&6
14186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14187 ac_cpp='$CXXCPP $CPPFLAGS'
14188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14190 cross_compiling=$ac_cv_prog_cxx_cross
14192 cat > conftest.$ac_ext <<EOF
14193 #line 14194 "configure"
14194 #include "confdefs.h"
14200 if { (eval echo configure:14201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14202 glibcpp_cv_func_frexpl_use=yes
14204 echo "configure: failed program was:" >&5
14205 cat conftest.$ac_ext >&5
14207 glibcpp_cv_func_frexpl_use=no
14211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14212 ac_cpp='$CPP $CPPFLAGS'
14213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14215 cross_compiling=$ac_cv_prog_cc_cross
14221 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
14223 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
14224 for ac_func in frexpl
14226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14227 echo "configure:14228: checking for $ac_func" >&5
14228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14229 echo $ac_n "(cached) $ac_c" 1>&6
14231 cat > conftest.$ac_ext <<EOF
14232 #line 14233 "configure"
14233 #include "confdefs.h"
14234 /* System header to define __stub macros and hopefully few prototypes,
14235 which can conflict with char $ac_func(); below. */
14236 #include <assert.h>
14237 /* Override any gcc2 internal prototype to avoid an error. */
14238 /* We use char because int might match the return type of a gcc2
14239 builtin and then its argument prototype would still apply. */
14244 /* The GNU C library defines this for functions which it implements
14245 to always fail with ENOSYS. Some functions are actually named
14246 something starting with __ and the normal name is an alias. */
14247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14255 if { (eval echo configure:14256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14257 eval "ac_cv_func_$ac_func=yes"
14259 echo "configure: failed program was:" >&5
14260 cat conftest.$ac_ext >&5
14262 eval "ac_cv_func_$ac_func=no"
14267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14268 echo "$ac_t""yes" 1>&6
14269 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14270 cat >> confdefs.h <<EOF
14271 #define $ac_tr_func 1
14275 echo "$ac_t""no" 1>&6
14281 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
14282 echo "configure:14283: checking for _frexpl declaration" >&5
14283 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
14284 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
14285 echo $ac_n "(cached) $ac_c" 1>&6
14290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14291 ac_cpp='$CXXCPP $CPPFLAGS'
14292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14294 cross_compiling=$ac_cv_prog_cxx_cross
14296 cat > conftest.$ac_ext <<EOF
14297 #line 14298 "configure"
14298 #include "confdefs.h"
14304 if { (eval echo configure:14305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14306 glibcpp_cv_func__frexpl_use=yes
14308 echo "configure: failed program was:" >&5
14309 cat conftest.$ac_ext >&5
14311 glibcpp_cv_func__frexpl_use=no
14315 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14316 ac_cpp='$CPP $CPPFLAGS'
14317 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14318 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14319 cross_compiling=$ac_cv_prog_cc_cross
14325 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
14327 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
14328 for ac_func in _frexpl
14330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14331 echo "configure:14332: checking for $ac_func" >&5
14332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14333 echo $ac_n "(cached) $ac_c" 1>&6
14335 cat > conftest.$ac_ext <<EOF
14336 #line 14337 "configure"
14337 #include "confdefs.h"
14338 /* System header to define __stub macros and hopefully few prototypes,
14339 which can conflict with char $ac_func(); below. */
14340 #include <assert.h>
14341 /* Override any gcc2 internal prototype to avoid an error. */
14342 /* We use char because int might match the return type of a gcc2
14343 builtin and then its argument prototype would still apply. */
14348 /* The GNU C library defines this for functions which it implements
14349 to always fail with ENOSYS. Some functions are actually named
14350 something starting with __ and the normal name is an alias. */
14351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14359 if { (eval echo configure:14360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14361 eval "ac_cv_func_$ac_func=yes"
14363 echo "configure: failed program was:" >&5
14364 cat conftest.$ac_ext >&5
14366 eval "ac_cv_func_$ac_func=no"
14371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14372 echo "$ac_t""yes" 1>&6
14373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14374 cat >> confdefs.h <<EOF
14375 #define $ac_tr_func 1
14379 echo "$ac_t""no" 1>&6
14388 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
14389 echo "configure:14390: checking for hypotl declaration" >&5
14390 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
14391 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
14392 echo $ac_n "(cached) $ac_c" 1>&6
14397 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14398 ac_cpp='$CXXCPP $CPPFLAGS'
14399 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14400 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14401 cross_compiling=$ac_cv_prog_cxx_cross
14403 cat > conftest.$ac_ext <<EOF
14404 #line 14405 "configure"
14405 #include "confdefs.h"
14411 if { (eval echo configure:14412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14413 glibcpp_cv_func_hypotl_use=yes
14415 echo "configure: failed program was:" >&5
14416 cat conftest.$ac_ext >&5
14418 glibcpp_cv_func_hypotl_use=no
14422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14423 ac_cpp='$CPP $CPPFLAGS'
14424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14426 cross_compiling=$ac_cv_prog_cc_cross
14432 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
14434 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
14435 for ac_func in hypotl
14437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14438 echo "configure:14439: checking for $ac_func" >&5
14439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14440 echo $ac_n "(cached) $ac_c" 1>&6
14442 cat > conftest.$ac_ext <<EOF
14443 #line 14444 "configure"
14444 #include "confdefs.h"
14445 /* System header to define __stub macros and hopefully few prototypes,
14446 which can conflict with char $ac_func(); below. */
14447 #include <assert.h>
14448 /* Override any gcc2 internal prototype to avoid an error. */
14449 /* We use char because int might match the return type of a gcc2
14450 builtin and then its argument prototype would still apply. */
14455 /* The GNU C library defines this for functions which it implements
14456 to always fail with ENOSYS. Some functions are actually named
14457 something starting with __ and the normal name is an alias. */
14458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14466 if { (eval echo configure:14467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14468 eval "ac_cv_func_$ac_func=yes"
14470 echo "configure: failed program was:" >&5
14471 cat conftest.$ac_ext >&5
14473 eval "ac_cv_func_$ac_func=no"
14478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14479 echo "$ac_t""yes" 1>&6
14480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14481 cat >> confdefs.h <<EOF
14482 #define $ac_tr_func 1
14486 echo "$ac_t""no" 1>&6
14492 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
14493 echo "configure:14494: checking for _hypotl declaration" >&5
14494 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
14495 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
14496 echo $ac_n "(cached) $ac_c" 1>&6
14501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14502 ac_cpp='$CXXCPP $CPPFLAGS'
14503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14505 cross_compiling=$ac_cv_prog_cxx_cross
14507 cat > conftest.$ac_ext <<EOF
14508 #line 14509 "configure"
14509 #include "confdefs.h"
14515 if { (eval echo configure:14516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14517 glibcpp_cv_func__hypotl_use=yes
14519 echo "configure: failed program was:" >&5
14520 cat conftest.$ac_ext >&5
14522 glibcpp_cv_func__hypotl_use=no
14526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14527 ac_cpp='$CPP $CPPFLAGS'
14528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14530 cross_compiling=$ac_cv_prog_cc_cross
14536 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
14538 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
14539 for ac_func in _hypotl
14541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14542 echo "configure:14543: checking for $ac_func" >&5
14543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14544 echo $ac_n "(cached) $ac_c" 1>&6
14546 cat > conftest.$ac_ext <<EOF
14547 #line 14548 "configure"
14548 #include "confdefs.h"
14549 /* System header to define __stub macros and hopefully few prototypes,
14550 which can conflict with char $ac_func(); below. */
14551 #include <assert.h>
14552 /* Override any gcc2 internal prototype to avoid an error. */
14553 /* We use char because int might match the return type of a gcc2
14554 builtin and then its argument prototype would still apply. */
14559 /* The GNU C library defines this for functions which it implements
14560 to always fail with ENOSYS. Some functions are actually named
14561 something starting with __ and the normal name is an alias. */
14562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14570 if { (eval echo configure:14571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14572 eval "ac_cv_func_$ac_func=yes"
14574 echo "configure: failed program was:" >&5
14575 cat conftest.$ac_ext >&5
14577 eval "ac_cv_func_$ac_func=no"
14582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14583 echo "$ac_t""yes" 1>&6
14584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14585 cat >> confdefs.h <<EOF
14586 #define $ac_tr_func 1
14590 echo "$ac_t""no" 1>&6
14599 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
14600 echo "configure:14601: checking for ldexpl declaration" >&5
14601 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
14602 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
14603 echo $ac_n "(cached) $ac_c" 1>&6
14608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14609 ac_cpp='$CXXCPP $CPPFLAGS'
14610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14612 cross_compiling=$ac_cv_prog_cxx_cross
14614 cat > conftest.$ac_ext <<EOF
14615 #line 14616 "configure"
14616 #include "confdefs.h"
14622 if { (eval echo configure:14623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14624 glibcpp_cv_func_ldexpl_use=yes
14626 echo "configure: failed program was:" >&5
14627 cat conftest.$ac_ext >&5
14629 glibcpp_cv_func_ldexpl_use=no
14633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14634 ac_cpp='$CPP $CPPFLAGS'
14635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14637 cross_compiling=$ac_cv_prog_cc_cross
14643 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
14645 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
14646 for ac_func in ldexpl
14648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14649 echo "configure:14650: checking for $ac_func" >&5
14650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14651 echo $ac_n "(cached) $ac_c" 1>&6
14653 cat > conftest.$ac_ext <<EOF
14654 #line 14655 "configure"
14655 #include "confdefs.h"
14656 /* System header to define __stub macros and hopefully few prototypes,
14657 which can conflict with char $ac_func(); below. */
14658 #include <assert.h>
14659 /* Override any gcc2 internal prototype to avoid an error. */
14660 /* We use char because int might match the return type of a gcc2
14661 builtin and then its argument prototype would still apply. */
14666 /* The GNU C library defines this for functions which it implements
14667 to always fail with ENOSYS. Some functions are actually named
14668 something starting with __ and the normal name is an alias. */
14669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14677 if { (eval echo configure:14678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14679 eval "ac_cv_func_$ac_func=yes"
14681 echo "configure: failed program was:" >&5
14682 cat conftest.$ac_ext >&5
14684 eval "ac_cv_func_$ac_func=no"
14689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14690 echo "$ac_t""yes" 1>&6
14691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14692 cat >> confdefs.h <<EOF
14693 #define $ac_tr_func 1
14697 echo "$ac_t""no" 1>&6
14703 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
14704 echo "configure:14705: checking for _ldexpl declaration" >&5
14705 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
14706 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
14707 echo $ac_n "(cached) $ac_c" 1>&6
14712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14713 ac_cpp='$CXXCPP $CPPFLAGS'
14714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14716 cross_compiling=$ac_cv_prog_cxx_cross
14718 cat > conftest.$ac_ext <<EOF
14719 #line 14720 "configure"
14720 #include "confdefs.h"
14726 if { (eval echo configure:14727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14728 glibcpp_cv_func__ldexpl_use=yes
14730 echo "configure: failed program was:" >&5
14731 cat conftest.$ac_ext >&5
14733 glibcpp_cv_func__ldexpl_use=no
14737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14738 ac_cpp='$CPP $CPPFLAGS'
14739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14741 cross_compiling=$ac_cv_prog_cc_cross
14747 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
14749 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
14750 for ac_func in _ldexpl
14752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14753 echo "configure:14754: checking for $ac_func" >&5
14754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14755 echo $ac_n "(cached) $ac_c" 1>&6
14757 cat > conftest.$ac_ext <<EOF
14758 #line 14759 "configure"
14759 #include "confdefs.h"
14760 /* System header to define __stub macros and hopefully few prototypes,
14761 which can conflict with char $ac_func(); below. */
14762 #include <assert.h>
14763 /* Override any gcc2 internal prototype to avoid an error. */
14764 /* We use char because int might match the return type of a gcc2
14765 builtin and then its argument prototype would still apply. */
14770 /* The GNU C library defines this for functions which it implements
14771 to always fail with ENOSYS. Some functions are actually named
14772 something starting with __ and the normal name is an alias. */
14773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14781 if { (eval echo configure:14782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14783 eval "ac_cv_func_$ac_func=yes"
14785 echo "configure: failed program was:" >&5
14786 cat conftest.$ac_ext >&5
14788 eval "ac_cv_func_$ac_func=no"
14793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14794 echo "$ac_t""yes" 1>&6
14795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14796 cat >> confdefs.h <<EOF
14797 #define $ac_tr_func 1
14801 echo "$ac_t""no" 1>&6
14810 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
14811 echo "configure:14812: checking for logl declaration" >&5
14812 if test x${glibcpp_cv_func_logl_use+set} != xset; then
14813 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
14814 echo $ac_n "(cached) $ac_c" 1>&6
14819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14820 ac_cpp='$CXXCPP $CPPFLAGS'
14821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14823 cross_compiling=$ac_cv_prog_cxx_cross
14825 cat > conftest.$ac_ext <<EOF
14826 #line 14827 "configure"
14827 #include "confdefs.h"
14829 #ifdef HAVE_IEEEFP_H
14830 #include <ieeefp.h>
14837 if { (eval echo configure:14838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14839 glibcpp_cv_func_logl_use=yes
14841 echo "configure: failed program was:" >&5
14842 cat conftest.$ac_ext >&5
14844 glibcpp_cv_func_logl_use=no
14848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14852 cross_compiling=$ac_cv_prog_cc_cross
14858 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
14860 if test x$glibcpp_cv_func_logl_use = x"yes"; then
14861 for ac_func in logl
14863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14864 echo "configure:14865: checking for $ac_func" >&5
14865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14866 echo $ac_n "(cached) $ac_c" 1>&6
14868 cat > conftest.$ac_ext <<EOF
14869 #line 14870 "configure"
14870 #include "confdefs.h"
14871 /* System header to define __stub macros and hopefully few prototypes,
14872 which can conflict with char $ac_func(); below. */
14873 #include <assert.h>
14874 /* Override any gcc2 internal prototype to avoid an error. */
14875 /* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14881 /* The GNU C library defines this for functions which it implements
14882 to always fail with ENOSYS. Some functions are actually named
14883 something starting with __ and the normal name is an alias. */
14884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14892 if { (eval echo configure:14893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14894 eval "ac_cv_func_$ac_func=yes"
14896 echo "configure: failed program was:" >&5
14897 cat conftest.$ac_ext >&5
14899 eval "ac_cv_func_$ac_func=no"
14904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14905 echo "$ac_t""yes" 1>&6
14906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14907 cat >> confdefs.h <<EOF
14908 #define $ac_tr_func 1
14912 echo "$ac_t""no" 1>&6
14918 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
14919 echo "configure:14920: checking for _logl declaration" >&5
14920 if test x${glibcpp_cv_func__logl_use+set} != xset; then
14921 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
14922 echo $ac_n "(cached) $ac_c" 1>&6
14927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14928 ac_cpp='$CXXCPP $CPPFLAGS'
14929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14931 cross_compiling=$ac_cv_prog_cxx_cross
14933 cat > conftest.$ac_ext <<EOF
14934 #line 14935 "configure"
14935 #include "confdefs.h"
14937 #ifdef HAVE_IEEEFP_H
14938 #include <ieeefp.h>
14945 if { (eval echo configure:14946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14947 glibcpp_cv_func__logl_use=yes
14949 echo "configure: failed program was:" >&5
14950 cat conftest.$ac_ext >&5
14952 glibcpp_cv_func__logl_use=no
14956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14957 ac_cpp='$CPP $CPPFLAGS'
14958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14960 cross_compiling=$ac_cv_prog_cc_cross
14966 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
14968 if test x$glibcpp_cv_func__logl_use = x"yes"; then
14969 for ac_func in _logl
14971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14972 echo "configure:14973: checking for $ac_func" >&5
14973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14974 echo $ac_n "(cached) $ac_c" 1>&6
14976 cat > conftest.$ac_ext <<EOF
14977 #line 14978 "configure"
14978 #include "confdefs.h"
14979 /* System header to define __stub macros and hopefully few prototypes,
14980 which can conflict with char $ac_func(); below. */
14981 #include <assert.h>
14982 /* Override any gcc2 internal prototype to avoid an error. */
14983 /* We use char because int might match the return type of a gcc2
14984 builtin and then its argument prototype would still apply. */
14989 /* The GNU C library defines this for functions which it implements
14990 to always fail with ENOSYS. Some functions are actually named
14991 something starting with __ and the normal name is an alias. */
14992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15000 if { (eval echo configure:15001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15002 eval "ac_cv_func_$ac_func=yes"
15004 echo "configure: failed program was:" >&5
15005 cat conftest.$ac_ext >&5
15007 eval "ac_cv_func_$ac_func=no"
15012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15013 echo "$ac_t""yes" 1>&6
15014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15015 cat >> confdefs.h <<EOF
15016 #define $ac_tr_func 1
15020 echo "$ac_t""no" 1>&6
15029 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
15030 echo "configure:15031: checking for log10l declaration" >&5
15031 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
15032 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
15033 echo $ac_n "(cached) $ac_c" 1>&6
15038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15039 ac_cpp='$CXXCPP $CPPFLAGS'
15040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15042 cross_compiling=$ac_cv_prog_cxx_cross
15044 cat > conftest.$ac_ext <<EOF
15045 #line 15046 "configure"
15046 #include "confdefs.h"
15048 #ifdef HAVE_IEEEFP_H
15049 #include <ieeefp.h>
15056 if { (eval echo configure:15057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15058 glibcpp_cv_func_log10l_use=yes
15060 echo "configure: failed program was:" >&5
15061 cat conftest.$ac_ext >&5
15063 glibcpp_cv_func_log10l_use=no
15067 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15068 ac_cpp='$CPP $CPPFLAGS'
15069 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15070 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15071 cross_compiling=$ac_cv_prog_cc_cross
15077 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
15079 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
15080 for ac_func in log10l
15082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15083 echo "configure:15084: checking for $ac_func" >&5
15084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15085 echo $ac_n "(cached) $ac_c" 1>&6
15087 cat > conftest.$ac_ext <<EOF
15088 #line 15089 "configure"
15089 #include "confdefs.h"
15090 /* System header to define __stub macros and hopefully few prototypes,
15091 which can conflict with char $ac_func(); below. */
15092 #include <assert.h>
15093 /* Override any gcc2 internal prototype to avoid an error. */
15094 /* We use char because int might match the return type of a gcc2
15095 builtin and then its argument prototype would still apply. */
15100 /* The GNU C library defines this for functions which it implements
15101 to always fail with ENOSYS. Some functions are actually named
15102 something starting with __ and the normal name is an alias. */
15103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15111 if { (eval echo configure:15112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15113 eval "ac_cv_func_$ac_func=yes"
15115 echo "configure: failed program was:" >&5
15116 cat conftest.$ac_ext >&5
15118 eval "ac_cv_func_$ac_func=no"
15123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15124 echo "$ac_t""yes" 1>&6
15125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15126 cat >> confdefs.h <<EOF
15127 #define $ac_tr_func 1
15131 echo "$ac_t""no" 1>&6
15137 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
15138 echo "configure:15139: checking for _log10l declaration" >&5
15139 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
15140 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
15141 echo $ac_n "(cached) $ac_c" 1>&6
15146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15147 ac_cpp='$CXXCPP $CPPFLAGS'
15148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15150 cross_compiling=$ac_cv_prog_cxx_cross
15152 cat > conftest.$ac_ext <<EOF
15153 #line 15154 "configure"
15154 #include "confdefs.h"
15156 #ifdef HAVE_IEEEFP_H
15157 #include <ieeefp.h>
15164 if { (eval echo configure:15165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15166 glibcpp_cv_func__log10l_use=yes
15168 echo "configure: failed program was:" >&5
15169 cat conftest.$ac_ext >&5
15171 glibcpp_cv_func__log10l_use=no
15175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15176 ac_cpp='$CPP $CPPFLAGS'
15177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15179 cross_compiling=$ac_cv_prog_cc_cross
15185 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
15187 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
15188 for ac_func in _log10l
15190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15191 echo "configure:15192: checking for $ac_func" >&5
15192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15193 echo $ac_n "(cached) $ac_c" 1>&6
15195 cat > conftest.$ac_ext <<EOF
15196 #line 15197 "configure"
15197 #include "confdefs.h"
15198 /* System header to define __stub macros and hopefully few prototypes,
15199 which can conflict with char $ac_func(); below. */
15200 #include <assert.h>
15201 /* Override any gcc2 internal prototype to avoid an error. */
15202 /* We use char because int might match the return type of a gcc2
15203 builtin and then its argument prototype would still apply. */
15208 /* The GNU C library defines this for functions which it implements
15209 to always fail with ENOSYS. Some functions are actually named
15210 something starting with __ and the normal name is an alias. */
15211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15219 if { (eval echo configure:15220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15221 eval "ac_cv_func_$ac_func=yes"
15223 echo "configure: failed program was:" >&5
15224 cat conftest.$ac_ext >&5
15226 eval "ac_cv_func_$ac_func=no"
15231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15232 echo "$ac_t""yes" 1>&6
15233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15234 cat >> confdefs.h <<EOF
15235 #define $ac_tr_func 1
15239 echo "$ac_t""no" 1>&6
15248 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
15249 echo "configure:15250: checking for modfl declaration" >&5
15250 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
15251 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
15252 echo $ac_n "(cached) $ac_c" 1>&6
15257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15258 ac_cpp='$CXXCPP $CPPFLAGS'
15259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15261 cross_compiling=$ac_cv_prog_cxx_cross
15263 cat > conftest.$ac_ext <<EOF
15264 #line 15265 "configure"
15265 #include "confdefs.h"
15271 if { (eval echo configure:15272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15273 glibcpp_cv_func_modfl_use=yes
15275 echo "configure: failed program was:" >&5
15276 cat conftest.$ac_ext >&5
15278 glibcpp_cv_func_modfl_use=no
15282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15283 ac_cpp='$CPP $CPPFLAGS'
15284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15286 cross_compiling=$ac_cv_prog_cc_cross
15292 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
15294 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
15295 for ac_func in modfl
15297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15298 echo "configure:15299: checking for $ac_func" >&5
15299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15300 echo $ac_n "(cached) $ac_c" 1>&6
15302 cat > conftest.$ac_ext <<EOF
15303 #line 15304 "configure"
15304 #include "confdefs.h"
15305 /* System header to define __stub macros and hopefully few prototypes,
15306 which can conflict with char $ac_func(); below. */
15307 #include <assert.h>
15308 /* Override any gcc2 internal prototype to avoid an error. */
15309 /* We use char because int might match the return type of a gcc2
15310 builtin and then its argument prototype would still apply. */
15315 /* The GNU C library defines this for functions which it implements
15316 to always fail with ENOSYS. Some functions are actually named
15317 something starting with __ and the normal name is an alias. */
15318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15326 if { (eval echo configure:15327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15328 eval "ac_cv_func_$ac_func=yes"
15330 echo "configure: failed program was:" >&5
15331 cat conftest.$ac_ext >&5
15333 eval "ac_cv_func_$ac_func=no"
15338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15339 echo "$ac_t""yes" 1>&6
15340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15341 cat >> confdefs.h <<EOF
15342 #define $ac_tr_func 1
15346 echo "$ac_t""no" 1>&6
15352 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
15353 echo "configure:15354: checking for _modfl declaration" >&5
15354 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
15355 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
15356 echo $ac_n "(cached) $ac_c" 1>&6
15361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15362 ac_cpp='$CXXCPP $CPPFLAGS'
15363 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15364 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15365 cross_compiling=$ac_cv_prog_cxx_cross
15367 cat > conftest.$ac_ext <<EOF
15368 #line 15369 "configure"
15369 #include "confdefs.h"
15375 if { (eval echo configure:15376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15377 glibcpp_cv_func__modfl_use=yes
15379 echo "configure: failed program was:" >&5
15380 cat conftest.$ac_ext >&5
15382 glibcpp_cv_func__modfl_use=no
15386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15387 ac_cpp='$CPP $CPPFLAGS'
15388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15390 cross_compiling=$ac_cv_prog_cc_cross
15396 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
15398 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
15399 for ac_func in _modfl
15401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15402 echo "configure:15403: checking for $ac_func" >&5
15403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15404 echo $ac_n "(cached) $ac_c" 1>&6
15406 cat > conftest.$ac_ext <<EOF
15407 #line 15408 "configure"
15408 #include "confdefs.h"
15409 /* System header to define __stub macros and hopefully few prototypes,
15410 which can conflict with char $ac_func(); below. */
15411 #include <assert.h>
15412 /* Override any gcc2 internal prototype to avoid an error. */
15413 /* We use char because int might match the return type of a gcc2
15414 builtin and then its argument prototype would still apply. */
15419 /* The GNU C library defines this for functions which it implements
15420 to always fail with ENOSYS. Some functions are actually named
15421 something starting with __ and the normal name is an alias. */
15422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15430 if { (eval echo configure:15431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15432 eval "ac_cv_func_$ac_func=yes"
15434 echo "configure: failed program was:" >&5
15435 cat conftest.$ac_ext >&5
15437 eval "ac_cv_func_$ac_func=no"
15442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15443 echo "$ac_t""yes" 1>&6
15444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15445 cat >> confdefs.h <<EOF
15446 #define $ac_tr_func 1
15450 echo "$ac_t""no" 1>&6
15459 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
15460 echo "configure:15461: checking for powl declaration" >&5
15461 if test x${glibcpp_cv_func_powl_use+set} != xset; then
15462 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
15463 echo $ac_n "(cached) $ac_c" 1>&6
15468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15469 ac_cpp='$CXXCPP $CPPFLAGS'
15470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15472 cross_compiling=$ac_cv_prog_cxx_cross
15474 cat > conftest.$ac_ext <<EOF
15475 #line 15476 "configure"
15476 #include "confdefs.h"
15482 if { (eval echo configure:15483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15484 glibcpp_cv_func_powl_use=yes
15486 echo "configure: failed program was:" >&5
15487 cat conftest.$ac_ext >&5
15489 glibcpp_cv_func_powl_use=no
15493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15494 ac_cpp='$CPP $CPPFLAGS'
15495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15497 cross_compiling=$ac_cv_prog_cc_cross
15503 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
15505 if test x$glibcpp_cv_func_powl_use = x"yes"; then
15506 for ac_func in powl
15508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15509 echo "configure:15510: checking for $ac_func" >&5
15510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15511 echo $ac_n "(cached) $ac_c" 1>&6
15513 cat > conftest.$ac_ext <<EOF
15514 #line 15515 "configure"
15515 #include "confdefs.h"
15516 /* System header to define __stub macros and hopefully few prototypes,
15517 which can conflict with char $ac_func(); below. */
15518 #include <assert.h>
15519 /* Override any gcc2 internal prototype to avoid an error. */
15520 /* We use char because int might match the return type of a gcc2
15521 builtin and then its argument prototype would still apply. */
15526 /* The GNU C library defines this for functions which it implements
15527 to always fail with ENOSYS. Some functions are actually named
15528 something starting with __ and the normal name is an alias. */
15529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15537 if { (eval echo configure:15538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15539 eval "ac_cv_func_$ac_func=yes"
15541 echo "configure: failed program was:" >&5
15542 cat conftest.$ac_ext >&5
15544 eval "ac_cv_func_$ac_func=no"
15549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15550 echo "$ac_t""yes" 1>&6
15551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15552 cat >> confdefs.h <<EOF
15553 #define $ac_tr_func 1
15557 echo "$ac_t""no" 1>&6
15563 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
15564 echo "configure:15565: checking for _powl declaration" >&5
15565 if test x${glibcpp_cv_func__powl_use+set} != xset; then
15566 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
15567 echo $ac_n "(cached) $ac_c" 1>&6
15572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15573 ac_cpp='$CXXCPP $CPPFLAGS'
15574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15576 cross_compiling=$ac_cv_prog_cxx_cross
15578 cat > conftest.$ac_ext <<EOF
15579 #line 15580 "configure"
15580 #include "confdefs.h"
15586 if { (eval echo configure:15587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15588 glibcpp_cv_func__powl_use=yes
15590 echo "configure: failed program was:" >&5
15591 cat conftest.$ac_ext >&5
15593 glibcpp_cv_func__powl_use=no
15597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15598 ac_cpp='$CPP $CPPFLAGS'
15599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15601 cross_compiling=$ac_cv_prog_cc_cross
15607 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
15609 if test x$glibcpp_cv_func__powl_use = x"yes"; then
15610 for ac_func in _powl
15612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15613 echo "configure:15614: checking for $ac_func" >&5
15614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15615 echo $ac_n "(cached) $ac_c" 1>&6
15617 cat > conftest.$ac_ext <<EOF
15618 #line 15619 "configure"
15619 #include "confdefs.h"
15620 /* System header to define __stub macros and hopefully few prototypes,
15621 which can conflict with char $ac_func(); below. */
15622 #include <assert.h>
15623 /* Override any gcc2 internal prototype to avoid an error. */
15624 /* We use char because int might match the return type of a gcc2
15625 builtin and then its argument prototype would still apply. */
15630 /* The GNU C library defines this for functions which it implements
15631 to always fail with ENOSYS. Some functions are actually named
15632 something starting with __ and the normal name is an alias. */
15633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15641 if { (eval echo configure:15642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15643 eval "ac_cv_func_$ac_func=yes"
15645 echo "configure: failed program was:" >&5
15646 cat conftest.$ac_ext >&5
15648 eval "ac_cv_func_$ac_func=no"
15653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15654 echo "$ac_t""yes" 1>&6
15655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15656 cat >> confdefs.h <<EOF
15657 #define $ac_tr_func 1
15661 echo "$ac_t""no" 1>&6
15670 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
15671 echo "configure:15672: checking for sqrtl declaration" >&5
15672 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
15673 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
15674 echo $ac_n "(cached) $ac_c" 1>&6
15679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15680 ac_cpp='$CXXCPP $CPPFLAGS'
15681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15683 cross_compiling=$ac_cv_prog_cxx_cross
15685 cat > conftest.$ac_ext <<EOF
15686 #line 15687 "configure"
15687 #include "confdefs.h"
15689 #ifdef HAVE_IEEEFP_H
15690 #include <ieeefp.h>
15697 if { (eval echo configure:15698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15699 glibcpp_cv_func_sqrtl_use=yes
15701 echo "configure: failed program was:" >&5
15702 cat conftest.$ac_ext >&5
15704 glibcpp_cv_func_sqrtl_use=no
15708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15712 cross_compiling=$ac_cv_prog_cc_cross
15718 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
15720 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
15721 for ac_func in sqrtl
15723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15724 echo "configure:15725: checking for $ac_func" >&5
15725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15726 echo $ac_n "(cached) $ac_c" 1>&6
15728 cat > conftest.$ac_ext <<EOF
15729 #line 15730 "configure"
15730 #include "confdefs.h"
15731 /* System header to define __stub macros and hopefully few prototypes,
15732 which can conflict with char $ac_func(); below. */
15733 #include <assert.h>
15734 /* Override any gcc2 internal prototype to avoid an error. */
15735 /* We use char because int might match the return type of a gcc2
15736 builtin and then its argument prototype would still apply. */
15741 /* The GNU C library defines this for functions which it implements
15742 to always fail with ENOSYS. Some functions are actually named
15743 something starting with __ and the normal name is an alias. */
15744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15752 if { (eval echo configure:15753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15754 eval "ac_cv_func_$ac_func=yes"
15756 echo "configure: failed program was:" >&5
15757 cat conftest.$ac_ext >&5
15759 eval "ac_cv_func_$ac_func=no"
15764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15765 echo "$ac_t""yes" 1>&6
15766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15767 cat >> confdefs.h <<EOF
15768 #define $ac_tr_func 1
15772 echo "$ac_t""no" 1>&6
15778 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
15779 echo "configure:15780: checking for _sqrtl declaration" >&5
15780 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
15781 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
15782 echo $ac_n "(cached) $ac_c" 1>&6
15787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15788 ac_cpp='$CXXCPP $CPPFLAGS'
15789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15791 cross_compiling=$ac_cv_prog_cxx_cross
15793 cat > conftest.$ac_ext <<EOF
15794 #line 15795 "configure"
15795 #include "confdefs.h"
15797 #ifdef HAVE_IEEEFP_H
15798 #include <ieeefp.h>
15805 if { (eval echo configure:15806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15807 glibcpp_cv_func__sqrtl_use=yes
15809 echo "configure: failed program was:" >&5
15810 cat conftest.$ac_ext >&5
15812 glibcpp_cv_func__sqrtl_use=no
15816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15817 ac_cpp='$CPP $CPPFLAGS'
15818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15820 cross_compiling=$ac_cv_prog_cc_cross
15826 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
15828 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
15829 for ac_func in _sqrtl
15831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15832 echo "configure:15833: checking for $ac_func" >&5
15833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15834 echo $ac_n "(cached) $ac_c" 1>&6
15836 cat > conftest.$ac_ext <<EOF
15837 #line 15838 "configure"
15838 #include "confdefs.h"
15839 /* System header to define __stub macros and hopefully few prototypes,
15840 which can conflict with char $ac_func(); below. */
15841 #include <assert.h>
15842 /* Override any gcc2 internal prototype to avoid an error. */
15843 /* We use char because int might match the return type of a gcc2
15844 builtin and then its argument prototype would still apply. */
15849 /* The GNU C library defines this for functions which it implements
15850 to always fail with ENOSYS. Some functions are actually named
15851 something starting with __ and the normal name is an alias. */
15852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15860 if { (eval echo configure:15861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15862 eval "ac_cv_func_$ac_func=yes"
15864 echo "configure: failed program was:" >&5
15865 cat conftest.$ac_ext >&5
15867 eval "ac_cv_func_$ac_func=no"
15872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15873 echo "$ac_t""yes" 1>&6
15874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15875 cat >> confdefs.h <<EOF
15876 #define $ac_tr_func 1
15880 echo "$ac_t""no" 1>&6
15889 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
15890 echo "configure:15891: checking for sincosl declaration" >&5
15891 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
15892 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
15893 echo $ac_n "(cached) $ac_c" 1>&6
15898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15899 ac_cpp='$CXXCPP $CPPFLAGS'
15900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15902 cross_compiling=$ac_cv_prog_cxx_cross
15904 cat > conftest.$ac_ext <<EOF
15905 #line 15906 "configure"
15906 #include "confdefs.h"
15912 if { (eval echo configure:15913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15914 glibcpp_cv_func_sincosl_use=yes
15916 echo "configure: failed program was:" >&5
15917 cat conftest.$ac_ext >&5
15919 glibcpp_cv_func_sincosl_use=no
15923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15924 ac_cpp='$CPP $CPPFLAGS'
15925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15927 cross_compiling=$ac_cv_prog_cc_cross
15933 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
15935 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
15936 for ac_func in sincosl
15938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15939 echo "configure:15940: checking for $ac_func" >&5
15940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15941 echo $ac_n "(cached) $ac_c" 1>&6
15943 cat > conftest.$ac_ext <<EOF
15944 #line 15945 "configure"
15945 #include "confdefs.h"
15946 /* System header to define __stub macros and hopefully few prototypes,
15947 which can conflict with char $ac_func(); below. */
15948 #include <assert.h>
15949 /* Override any gcc2 internal prototype to avoid an error. */
15950 /* We use char because int might match the return type of a gcc2
15951 builtin and then its argument prototype would still apply. */
15956 /* The GNU C library defines this for functions which it implements
15957 to always fail with ENOSYS. Some functions are actually named
15958 something starting with __ and the normal name is an alias. */
15959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15967 if { (eval echo configure:15968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15969 eval "ac_cv_func_$ac_func=yes"
15971 echo "configure: failed program was:" >&5
15972 cat conftest.$ac_ext >&5
15974 eval "ac_cv_func_$ac_func=no"
15979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15980 echo "$ac_t""yes" 1>&6
15981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15982 cat >> confdefs.h <<EOF
15983 #define $ac_tr_func 1
15987 echo "$ac_t""no" 1>&6
15993 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
15994 echo "configure:15995: checking for _sincosl declaration" >&5
15995 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
15996 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
15997 echo $ac_n "(cached) $ac_c" 1>&6
16002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16003 ac_cpp='$CXXCPP $CPPFLAGS'
16004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16006 cross_compiling=$ac_cv_prog_cxx_cross
16008 cat > conftest.$ac_ext <<EOF
16009 #line 16010 "configure"
16010 #include "confdefs.h"
16016 if { (eval echo configure:16017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16018 glibcpp_cv_func__sincosl_use=yes
16020 echo "configure: failed program was:" >&5
16021 cat conftest.$ac_ext >&5
16023 glibcpp_cv_func__sincosl_use=no
16027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16031 cross_compiling=$ac_cv_prog_cc_cross
16037 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16039 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16040 for ac_func in _sincosl
16042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16043 echo "configure:16044: checking for $ac_func" >&5
16044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16045 echo $ac_n "(cached) $ac_c" 1>&6
16047 cat > conftest.$ac_ext <<EOF
16048 #line 16049 "configure"
16049 #include "confdefs.h"
16050 /* System header to define __stub macros and hopefully few prototypes,
16051 which can conflict with char $ac_func(); below. */
16052 #include <assert.h>
16053 /* Override any gcc2 internal prototype to avoid an error. */
16054 /* We use char because int might match the return type of a gcc2
16055 builtin and then its argument prototype would still apply. */
16060 /* The GNU C library defines this for functions which it implements
16061 to always fail with ENOSYS. Some functions are actually named
16062 something starting with __ and the normal name is an alias. */
16063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16071 if { (eval echo configure:16072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16073 eval "ac_cv_func_$ac_func=yes"
16075 echo "configure: failed program was:" >&5
16076 cat conftest.$ac_ext >&5
16078 eval "ac_cv_func_$ac_func=no"
16083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16084 echo "$ac_t""yes" 1>&6
16085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16086 cat >> confdefs.h <<EOF
16087 #define $ac_tr_func 1
16091 echo "$ac_t""no" 1>&6
16100 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
16101 echo "configure:16102: checking for finitel declaration" >&5
16102 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
16103 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
16104 echo $ac_n "(cached) $ac_c" 1>&6
16109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16110 ac_cpp='$CXXCPP $CPPFLAGS'
16111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16113 cross_compiling=$ac_cv_prog_cxx_cross
16115 cat > conftest.$ac_ext <<EOF
16116 #line 16117 "configure"
16117 #include "confdefs.h"
16119 #ifdef HAVE_IEEEFP_H
16120 #include <ieeefp.h>
16127 if { (eval echo configure:16128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16129 glibcpp_cv_func_finitel_use=yes
16131 echo "configure: failed program was:" >&5
16132 cat conftest.$ac_ext >&5
16134 glibcpp_cv_func_finitel_use=no
16138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16139 ac_cpp='$CPP $CPPFLAGS'
16140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16142 cross_compiling=$ac_cv_prog_cc_cross
16148 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
16150 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
16151 for ac_func in finitel
16153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16154 echo "configure:16155: checking for $ac_func" >&5
16155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16156 echo $ac_n "(cached) $ac_c" 1>&6
16158 cat > conftest.$ac_ext <<EOF
16159 #line 16160 "configure"
16160 #include "confdefs.h"
16161 /* System header to define __stub macros and hopefully few prototypes,
16162 which can conflict with char $ac_func(); below. */
16163 #include <assert.h>
16164 /* Override any gcc2 internal prototype to avoid an error. */
16165 /* We use char because int might match the return type of a gcc2
16166 builtin and then its argument prototype would still apply. */
16171 /* The GNU C library defines this for functions which it implements
16172 to always fail with ENOSYS. Some functions are actually named
16173 something starting with __ and the normal name is an alias. */
16174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16182 if { (eval echo configure:16183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16184 eval "ac_cv_func_$ac_func=yes"
16186 echo "configure: failed program was:" >&5
16187 cat conftest.$ac_ext >&5
16189 eval "ac_cv_func_$ac_func=no"
16194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16195 echo "$ac_t""yes" 1>&6
16196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16197 cat >> confdefs.h <<EOF
16198 #define $ac_tr_func 1
16202 echo "$ac_t""no" 1>&6
16208 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16209 echo "configure:16210: checking for _finitel declaration" >&5
16210 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
16211 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16212 echo $ac_n "(cached) $ac_c" 1>&6
16217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16218 ac_cpp='$CXXCPP $CPPFLAGS'
16219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16221 cross_compiling=$ac_cv_prog_cxx_cross
16223 cat > conftest.$ac_ext <<EOF
16224 #line 16225 "configure"
16225 #include "confdefs.h"
16227 #ifdef HAVE_IEEEFP_H
16228 #include <ieeefp.h>
16235 if { (eval echo configure:16236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16237 glibcpp_cv_func__finitel_use=yes
16239 echo "configure: failed program was:" >&5
16240 cat conftest.$ac_ext >&5
16242 glibcpp_cv_func__finitel_use=no
16246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16247 ac_cpp='$CPP $CPPFLAGS'
16248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16250 cross_compiling=$ac_cv_prog_cc_cross
16256 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16258 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16259 for ac_func in _finitel
16261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16262 echo "configure:16263: checking for $ac_func" >&5
16263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16264 echo $ac_n "(cached) $ac_c" 1>&6
16266 cat > conftest.$ac_ext <<EOF
16267 #line 16268 "configure"
16268 #include "confdefs.h"
16269 /* System header to define __stub macros and hopefully few prototypes,
16270 which can conflict with char $ac_func(); below. */
16271 #include <assert.h>
16272 /* Override any gcc2 internal prototype to avoid an error. */
16273 /* We use char because int might match the return type of a gcc2
16274 builtin and then its argument prototype would still apply. */
16279 /* The GNU C library defines this for functions which it implements
16280 to always fail with ENOSYS. Some functions are actually named
16281 something starting with __ and the normal name is an alias. */
16282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16290 if { (eval echo configure:16291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16292 eval "ac_cv_func_$ac_func=yes"
16294 echo "configure: failed program was:" >&5
16295 cat conftest.$ac_ext >&5
16297 eval "ac_cv_func_$ac_func=no"
16302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16303 echo "$ac_t""yes" 1>&6
16304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16305 cat >> confdefs.h <<EOF
16306 #define $ac_tr_func 1
16310 echo "$ac_t""no" 1>&6
16320 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
16321 echo "configure:16322: checking for _float trig functions" >&5
16322 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
16323 echo $ac_n "(cached) $ac_c" 1>&6
16328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16329 ac_cpp='$CXXCPP $CPPFLAGS'
16330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16332 cross_compiling=$ac_cv_prog_cxx_cross
16334 cat > conftest.$ac_ext <<EOF
16335 #line 16336 "configure"
16336 #include "confdefs.h"
16339 `for x in _acosf _asinf _atanf \
16340 _cosf _sinf _tanf \
16341 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
16344 if { (eval echo configure:16345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16346 glibcpp_cv_func__float_trig_use=yes
16348 echo "configure: failed program was:" >&5
16349 cat conftest.$ac_ext >&5
16351 glibcpp_cv_func__float_trig_use=no
16355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16359 cross_compiling=$ac_cv_prog_cc_cross
16363 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
16364 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
16365 for ac_func in _acosf _asinf _atanf \
16366 _cosf _sinf _tanf \
16367 _coshf _sinhf _tanhf
16369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16370 echo "configure:16371: checking for $ac_func" >&5
16371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16372 echo $ac_n "(cached) $ac_c" 1>&6
16374 cat > conftest.$ac_ext <<EOF
16375 #line 16376 "configure"
16376 #include "confdefs.h"
16377 /* System header to define __stub macros and hopefully few prototypes,
16378 which can conflict with char $ac_func(); below. */
16379 #include <assert.h>
16380 /* Override any gcc2 internal prototype to avoid an error. */
16381 /* We use char because int might match the return type of a gcc2
16382 builtin and then its argument prototype would still apply. */
16387 /* The GNU C library defines this for functions which it implements
16388 to always fail with ENOSYS. Some functions are actually named
16389 something starting with __ and the normal name is an alias. */
16390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16398 if { (eval echo configure:16399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16400 eval "ac_cv_func_$ac_func=yes"
16402 echo "configure: failed program was:" >&5
16403 cat conftest.$ac_ext >&5
16405 eval "ac_cv_func_$ac_func=no"
16410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16411 echo "$ac_t""yes" 1>&6
16412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16413 cat >> confdefs.h <<EOF
16414 #define $ac_tr_func 1
16418 echo "$ac_t""no" 1>&6
16425 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
16426 echo "configure:16427: checking for _float round functions" >&5
16427 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
16428 echo $ac_n "(cached) $ac_c" 1>&6
16433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16437 cross_compiling=$ac_cv_prog_cxx_cross
16439 cat > conftest.$ac_ext <<EOF
16440 #line 16441 "configure"
16441 #include "confdefs.h"
16444 `for x in _ceilf _floorf; do echo "$x (0);"; done`
16447 if { (eval echo configure:16448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16449 glibcpp_cv_func__float_round_use=yes
16451 echo "configure: failed program was:" >&5
16452 cat conftest.$ac_ext >&5
16454 glibcpp_cv_func__float_round_use=no
16458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16459 ac_cpp='$CPP $CPPFLAGS'
16460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16462 cross_compiling=$ac_cv_prog_cc_cross
16466 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
16467 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
16468 for ac_func in _ceilf _floorf
16470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16471 echo "configure:16472: checking for $ac_func" >&5
16472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16473 echo $ac_n "(cached) $ac_c" 1>&6
16475 cat > conftest.$ac_ext <<EOF
16476 #line 16477 "configure"
16477 #include "confdefs.h"
16478 /* System header to define __stub macros and hopefully few prototypes,
16479 which can conflict with char $ac_func(); below. */
16480 #include <assert.h>
16481 /* Override any gcc2 internal prototype to avoid an error. */
16482 /* We use char because int might match the return type of a gcc2
16483 builtin and then its argument prototype would still apply. */
16488 /* The GNU C library defines this for functions which it implements
16489 to always fail with ENOSYS. Some functions are actually named
16490 something starting with __ and the normal name is an alias. */
16491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16499 if { (eval echo configure:16500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16501 eval "ac_cv_func_$ac_func=yes"
16503 echo "configure: failed program was:" >&5
16504 cat conftest.$ac_ext >&5
16506 eval "ac_cv_func_$ac_func=no"
16511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16512 echo "$ac_t""yes" 1>&6
16513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16514 cat >> confdefs.h <<EOF
16515 #define $ac_tr_func 1
16519 echo "$ac_t""no" 1>&6
16527 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
16528 echo "configure:16529: checking for _long double trig functions" >&5
16529 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
16530 echo $ac_n "(cached) $ac_c" 1>&6
16535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16536 ac_cpp='$CXXCPP $CPPFLAGS'
16537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16539 cross_compiling=$ac_cv_prog_cxx_cross
16541 cat > conftest.$ac_ext <<EOF
16542 #line 16543 "configure"
16543 #include "confdefs.h"
16546 `for x in _acosl _asinl _atanl \
16547 _cosl _sinl _tanl \
16548 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
16551 if { (eval echo configure:16552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16553 glibcpp_cv_func__long_double_trig_use=yes
16555 echo "configure: failed program was:" >&5
16556 cat conftest.$ac_ext >&5
16558 glibcpp_cv_func__long_double_trig_use=no
16562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16563 ac_cpp='$CPP $CPPFLAGS'
16564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16566 cross_compiling=$ac_cv_prog_cc_cross
16570 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
16571 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
16572 for ac_func in _acosl _asinl _atanl \
16573 _cosl _sinl _tanl \
16574 _coshl _sinhl _tanhl
16576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16577 echo "configure:16578: checking for $ac_func" >&5
16578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16579 echo $ac_n "(cached) $ac_c" 1>&6
16581 cat > conftest.$ac_ext <<EOF
16582 #line 16583 "configure"
16583 #include "confdefs.h"
16584 /* System header to define __stub macros and hopefully few prototypes,
16585 which can conflict with char $ac_func(); below. */
16586 #include <assert.h>
16587 /* Override any gcc2 internal prototype to avoid an error. */
16588 /* We use char because int might match the return type of a gcc2
16589 builtin and then its argument prototype would still apply. */
16594 /* The GNU C library defines this for functions which it implements
16595 to always fail with ENOSYS. Some functions are actually named
16596 something starting with __ and the normal name is an alias. */
16597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16605 if { (eval echo configure:16606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16607 eval "ac_cv_func_$ac_func=yes"
16609 echo "configure: failed program was:" >&5
16610 cat conftest.$ac_ext >&5
16612 eval "ac_cv_func_$ac_func=no"
16617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16618 echo "$ac_t""yes" 1>&6
16619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16620 cat >> confdefs.h <<EOF
16621 #define $ac_tr_func 1
16625 echo "$ac_t""no" 1>&6
16632 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
16633 echo "configure:16634: checking for _long double round functions" >&5
16634 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
16635 echo $ac_n "(cached) $ac_c" 1>&6
16640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16641 ac_cpp='$CXXCPP $CPPFLAGS'
16642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16644 cross_compiling=$ac_cv_prog_cxx_cross
16646 cat > conftest.$ac_ext <<EOF
16647 #line 16648 "configure"
16648 #include "confdefs.h"
16651 `for x in _ceill _floorl; do echo "$x (0);"; done`
16654 if { (eval echo configure:16655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16656 glibcpp_cv_func__long_double_round_use=yes
16658 echo "configure: failed program was:" >&5
16659 cat conftest.$ac_ext >&5
16661 glibcpp_cv_func__long_double_round_use=no
16665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16669 cross_compiling=$ac_cv_prog_cc_cross
16673 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
16674 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
16675 for ac_func in _ceill _floorl
16677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16678 echo "configure:16679: checking for $ac_func" >&5
16679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16680 echo $ac_n "(cached) $ac_c" 1>&6
16682 cat > conftest.$ac_ext <<EOF
16683 #line 16684 "configure"
16684 #include "confdefs.h"
16685 /* System header to define __stub macros and hopefully few prototypes,
16686 which can conflict with char $ac_func(); below. */
16687 #include <assert.h>
16688 /* Override any gcc2 internal prototype to avoid an error. */
16689 /* We use char because int might match the return type of a gcc2
16690 builtin and then its argument prototype would still apply. */
16695 /* The GNU C library defines this for functions which it implements
16696 to always fail with ENOSYS. Some functions are actually named
16697 something starting with __ and the normal name is an alias. */
16698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16706 if { (eval echo configure:16707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16708 eval "ac_cv_func_$ac_func=yes"
16710 echo "configure: failed program was:" >&5
16711 cat conftest.$ac_ext >&5
16713 eval "ac_cv_func_$ac_func=no"
16718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16719 echo "$ac_t""yes" 1>&6
16720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16721 cat >> confdefs.h <<EOF
16722 #define $ac_tr_func 1
16726 echo "$ac_t""no" 1>&6
16733 LIBS="$ac_save_LIBS"
16734 CXXFLAGS="$ac_save_CXXFLAGS"
16737 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
16738 echo "configure:16739: checking for main in -lm" >&5
16739 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
16740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16741 echo $ac_n "(cached) $ac_c" 1>&6
16743 ac_save_LIBS="$LIBS"
16745 cat > conftest.$ac_ext <<EOF
16746 #line 16747 "configure"
16747 #include "confdefs.h"
16753 if { (eval echo configure:16754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16755 eval "ac_cv_lib_$ac_lib_var=yes"
16757 echo "configure: failed program was:" >&5
16758 cat conftest.$ac_ext >&5
16760 eval "ac_cv_lib_$ac_lib_var=no"
16763 LIBS="$ac_save_LIBS"
16766 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16767 echo "$ac_t""yes" 1>&6
16768 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16769 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16770 cat >> confdefs.h <<EOF
16771 #define $ac_tr_lib 1
16777 echo "$ac_t""no" 1>&6
16780 for ac_func in nan copysignf
16782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16783 echo "configure:16784: checking for $ac_func" >&5
16784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16785 echo $ac_n "(cached) $ac_c" 1>&6
16787 cat > conftest.$ac_ext <<EOF
16788 #line 16789 "configure"
16789 #include "confdefs.h"
16790 /* System header to define __stub macros and hopefully few prototypes,
16791 which can conflict with char $ac_func(); below. */
16792 #include <assert.h>
16793 /* Override any gcc2 internal prototype to avoid an error. */
16794 /* We use char because int might match the return type of a gcc2
16795 builtin and then its argument prototype would still apply. */
16800 /* The GNU C library defines this for functions which it implements
16801 to always fail with ENOSYS. Some functions are actually named
16802 something starting with __ and the normal name is an alias. */
16803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16811 if { (eval echo configure:16812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16813 eval "ac_cv_func_$ac_func=yes"
16815 echo "configure: failed program was:" >&5
16816 cat conftest.$ac_ext >&5
16818 eval "ac_cv_func_$ac_func=no"
16823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16824 echo "$ac_t""yes" 1>&6
16825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16826 cat >> confdefs.h <<EOF
16827 #define $ac_tr_func 1
16831 echo "$ac_t""no" 1>&6
16832 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16838 USE_COMPLEX_LONG_DOUBLE=no
16839 if test x$ac_cv_func_copysignl = x"yes"; then
16840 USE_COMPLEX_LONG_DOUBLE=yes
16841 for ac_func in signbitl
16843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16844 echo "configure:16845: checking for $ac_func" >&5
16845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16846 echo $ac_n "(cached) $ac_c" 1>&6
16848 cat > conftest.$ac_ext <<EOF
16849 #line 16850 "configure"
16850 #include "confdefs.h"
16851 /* System header to define __stub macros and hopefully few prototypes,
16852 which can conflict with char $ac_func(); below. */
16853 #include <assert.h>
16854 /* Override any gcc2 internal prototype to avoid an error. */
16855 /* We use char because int might match the return type of a gcc2
16856 builtin and then its argument prototype would still apply. */
16861 /* The GNU C library defines this for functions which it implements
16862 to always fail with ENOSYS. Some functions are actually named
16863 something starting with __ and the normal name is an alias. */
16864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16872 if { (eval echo configure:16873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16874 eval "ac_cv_func_$ac_func=yes"
16876 echo "configure: failed program was:" >&5
16877 cat conftest.$ac_ext >&5
16879 eval "ac_cv_func_$ac_func=no"
16884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16885 echo "$ac_t""yes" 1>&6
16886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16887 cat >> confdefs.h <<EOF
16888 #define $ac_tr_func 1
16892 echo "$ac_t""no" 1>&6
16893 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16904 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
16905 echo "configure:16906: checking for mbstate_t" >&5
16906 cat > conftest.$ac_ext <<EOF
16907 #line 16908 "configure"
16908 #include "confdefs.h"
16911 mbstate_t teststate;
16914 if { (eval echo configure:16915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16918 echo "configure: failed program was:" >&5
16919 cat conftest.$ac_ext >&5
16924 echo "$ac_t""$have_mbstate_t" 1>&6
16925 if test x"$have_mbstate_t" = xyes; then
16926 cat >> confdefs.h <<\EOF
16927 #define HAVE_MBSTATE_T 1
16932 for ac_hdr in wchar.h
16934 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16936 echo "configure:16937: checking for $ac_hdr" >&5
16937 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16938 echo $ac_n "(cached) $ac_c" 1>&6
16940 cat > conftest.$ac_ext <<EOF
16941 #line 16942 "configure"
16942 #include "confdefs.h"
16945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16946 { (eval echo configure:16947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16948 if test -z "$ac_err"; then
16950 eval "ac_cv_header_$ac_safe=yes"
16953 echo "configure: failed program was:" >&5
16954 cat conftest.$ac_ext >&5
16956 eval "ac_cv_header_$ac_safe=no"
16960 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16961 echo "$ac_t""yes" 1>&6
16962 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16963 cat >> confdefs.h <<EOF
16964 #define $ac_tr_hdr 1
16968 echo "$ac_t""no" 1>&6
16973 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
16974 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
16975 echo "configure:16976: checking for wctype.h" >&5
16976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16977 echo $ac_n "(cached) $ac_c" 1>&6
16979 cat > conftest.$ac_ext <<EOF
16980 #line 16981 "configure"
16981 #include "confdefs.h"
16982 #include <wctype.h>
16984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16985 { (eval echo configure:16986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16987 if test -z "$ac_err"; then
16989 eval "ac_cv_header_$ac_safe=yes"
16992 echo "configure: failed program was:" >&5
16993 cat conftest.$ac_ext >&5
16995 eval "ac_cv_header_$ac_safe=no"
16999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17000 echo "$ac_t""yes" 1>&6
17001 ac_has_wctype_h=yes
17003 echo "$ac_t""no" 1>&6
17008 if test x"$ac_has_wchar_h" = xyes &&
17009 test x"$ac_has_wctype_h" = xyes &&
17010 test x"$enable_c_mbchar" != xno; then
17012 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17013 echo "configure:17014: checking for WCHAR_MIN and WCHAR_MAX" >&5
17014 cat > conftest.$ac_ext <<EOF
17015 #line 17016 "configure"
17016 #include "confdefs.h"
17019 int i = WCHAR_MIN; int j = WCHAR_MAX;
17022 if { (eval echo configure:17023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17024 has_wchar_minmax=yes
17026 echo "configure: failed program was:" >&5
17027 cat conftest.$ac_ext >&5
17029 has_wchar_minmax=no
17032 echo "$ac_t""$has_wchar_minmax" 1>&6
17034 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17035 echo "configure:17036: checking for WEOF" >&5
17036 cat > conftest.$ac_ext <<EOF
17037 #line 17038 "configure"
17038 #include "confdefs.h"
17041 #include <stddef.h>
17046 if { (eval echo configure:17047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17050 echo "configure: failed program was:" >&5
17051 cat conftest.$ac_ext >&5
17056 echo "$ac_t""$has_weof" 1>&6
17059 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17062 echo "configure:17063: checking for $ac_func" >&5
17063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17064 echo $ac_n "(cached) $ac_c" 1>&6
17066 cat > conftest.$ac_ext <<EOF
17067 #line 17068 "configure"
17068 #include "confdefs.h"
17069 /* System header to define __stub macros and hopefully few prototypes,
17070 which can conflict with char $ac_func(); below. */
17071 #include <assert.h>
17072 /* Override any gcc2 internal prototype to avoid an error. */
17073 /* We use char because int might match the return type of a gcc2
17074 builtin and then its argument prototype would still apply. */
17079 /* The GNU C library defines this for functions which it implements
17080 to always fail with ENOSYS. Some functions are actually named
17081 something starting with __ and the normal name is an alias. */
17082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17090 if { (eval echo configure:17091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17092 eval "ac_cv_func_$ac_func=yes"
17094 echo "configure: failed program was:" >&5
17095 cat conftest.$ac_ext >&5
17097 eval "ac_cv_func_$ac_func=no"
17102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17103 echo "$ac_t""yes" 1>&6
17104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17105 cat >> confdefs.h <<EOF
17106 #define $ac_tr_func 1
17110 echo "$ac_t""no" 1>&6
17117 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
17118 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
17119 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
17120 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
17121 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
17122 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
17124 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17125 echo "configure:17126: checking for $ac_func" >&5
17126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17127 echo $ac_n "(cached) $ac_c" 1>&6
17129 cat > conftest.$ac_ext <<EOF
17130 #line 17131 "configure"
17131 #include "confdefs.h"
17132 /* System header to define __stub macros and hopefully few prototypes,
17133 which can conflict with char $ac_func(); below. */
17134 #include <assert.h>
17135 /* Override any gcc2 internal prototype to avoid an error. */
17136 /* We use char because int might match the return type of a gcc2
17137 builtin and then its argument prototype would still apply. */
17142 /* The GNU C library defines this for functions which it implements
17143 to always fail with ENOSYS. Some functions are actually named
17144 something starting with __ and the normal name is an alias. */
17145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17153 if { (eval echo configure:17154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17155 eval "ac_cv_func_$ac_func=yes"
17157 echo "configure: failed program was:" >&5
17158 cat conftest.$ac_ext >&5
17160 eval "ac_cv_func_$ac_func=no"
17165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17166 echo "$ac_t""yes" 1>&6
17167 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17168 cat >> confdefs.h <<EOF
17169 #define $ac_tr_func 1
17173 echo "$ac_t""no" 1>&6
17180 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
17181 echo "configure:17182: checking for ISO C99 wchar_t support" >&5
17182 if test x"$has_weof" = xyes &&
17183 test x"$has_wchar_minmax" = xyes &&
17184 test x"$ac_wfuncs" = xyes; then
17185 ac_isoC99_wchar_t=yes
17187 ac_isoC99_wchar_t=no
17189 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
17191 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17192 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17193 echo "configure:17194: checking for iconv.h" >&5
17194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17195 echo $ac_n "(cached) $ac_c" 1>&6
17197 cat > conftest.$ac_ext <<EOF
17198 #line 17199 "configure"
17199 #include "confdefs.h"
17202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17203 { (eval echo configure:17204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17205 if test -z "$ac_err"; then
17207 eval "ac_cv_header_$ac_safe=yes"
17210 echo "configure: failed program was:" >&5
17211 cat conftest.$ac_ext >&5
17213 eval "ac_cv_header_$ac_safe=no"
17217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17218 echo "$ac_t""yes" 1>&6
17221 echo "$ac_t""no" 1>&6
17225 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17226 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17227 echo "configure:17228: checking for langinfo.h" >&5
17228 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17229 echo $ac_n "(cached) $ac_c" 1>&6
17231 cat > conftest.$ac_ext <<EOF
17232 #line 17233 "configure"
17233 #include "confdefs.h"
17234 #include <langinfo.h>
17236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17237 { (eval echo configure:17238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17239 if test -z "$ac_err"; then
17241 eval "ac_cv_header_$ac_safe=yes"
17244 echo "configure: failed program was:" >&5
17245 cat conftest.$ac_ext >&5
17247 eval "ac_cv_header_$ac_safe=no"
17251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17252 echo "$ac_t""yes" 1>&6
17253 ac_has_langinfo_h=yes
17255 echo "$ac_t""no" 1>&6
17256 ac_has_langinfo_h=no
17260 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
17261 echo "configure:17262: checking for iconv in -liconv" >&5
17262 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
17263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17264 echo $ac_n "(cached) $ac_c" 1>&6
17266 ac_save_LIBS="$LIBS"
17267 LIBS="-liconv $LIBS"
17268 cat > conftest.$ac_ext <<EOF
17269 #line 17270 "configure"
17270 #include "confdefs.h"
17271 /* Override any gcc2 internal prototype to avoid an error. */
17272 /* We use char because int might match the return type of a gcc2
17273 builtin and then its argument prototype would still apply. */
17280 if { (eval echo configure:17281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17282 eval "ac_cv_lib_$ac_lib_var=yes"
17284 echo "configure: failed program was:" >&5
17285 cat conftest.$ac_ext >&5
17287 eval "ac_cv_lib_$ac_lib_var=no"
17290 LIBS="$ac_save_LIBS"
17293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17294 echo "$ac_t""yes" 1>&6
17297 echo "$ac_t""no" 1>&6
17300 ac_save_LIBS="$LIBS"
17301 LIBS="$LIBS $libiconv"
17303 for ac_func in iconv_open iconv_close iconv nl_langinfo
17305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17306 echo "configure:17307: checking for $ac_func" >&5
17307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17308 echo $ac_n "(cached) $ac_c" 1>&6
17310 cat > conftest.$ac_ext <<EOF
17311 #line 17312 "configure"
17312 #include "confdefs.h"
17313 /* System header to define __stub macros and hopefully few prototypes,
17314 which can conflict with char $ac_func(); below. */
17315 #include <assert.h>
17316 /* Override any gcc2 internal prototype to avoid an error. */
17317 /* We use char because int might match the return type of a gcc2
17318 builtin and then its argument prototype would still apply. */
17323 /* The GNU C library defines this for functions which it implements
17324 to always fail with ENOSYS. Some functions are actually named
17325 something starting with __ and the normal name is an alias. */
17326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17334 if { (eval echo configure:17335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17336 eval "ac_cv_func_$ac_func=yes"
17338 echo "configure: failed program was:" >&5
17339 cat conftest.$ac_ext >&5
17341 eval "ac_cv_func_$ac_func=no"
17346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17347 echo "$ac_t""yes" 1>&6
17348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17349 cat >> confdefs.h <<EOF
17350 #define $ac_tr_func 1
17355 echo "$ac_t""no" 1>&6
17361 LIBS="$ac_save_LIBS"
17363 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17364 echo "configure:17365: checking for XPG2 wchar_t support" >&5
17365 if test x"$ac_has_iconv_h" = xyes &&
17366 test x"$ac_has_langinfo_h" = xyes &&
17367 test x"$ac_XPG2funcs" = xyes; then
17368 ac_XPG2_wchar_t=yes
17372 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17374 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17375 echo "configure:17376: checking for enabled wchar_t specializations" >&5
17376 if test x"$ac_isoC99_wchar_t" = xyes &&
17377 test x"$ac_XPG2_wchar_t" = xyes; then
17378 cat >> confdefs.h <<\EOF
17379 #define _GLIBCPP_USE_WCHAR_T 1
17382 echo "$ac_t"""yes"" 1>&6
17384 echo "$ac_t"""no"" 1>&6
17387 echo "configure: warning: wchar_t support disabled." 1>&2
17391 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17392 ac_save_CXXFLAGS="$CXXFLAGS"
17393 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
17396 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
17397 echo "configure:17398: checking for strtold declaration" >&5
17398 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
17399 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
17400 echo $ac_n "(cached) $ac_c" 1>&6
17405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17406 ac_cpp='$CXXCPP $CPPFLAGS'
17407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17409 cross_compiling=$ac_cv_prog_cxx_cross
17411 cat > conftest.$ac_ext <<EOF
17412 #line 17413 "configure"
17413 #include "confdefs.h"
17414 #include <stdlib.h>
17419 if { (eval echo configure:17420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17421 glibcpp_cv_func_strtold_use=yes
17423 echo "configure: failed program was:" >&5
17424 cat conftest.$ac_ext >&5
17426 glibcpp_cv_func_strtold_use=no
17430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17434 cross_compiling=$ac_cv_prog_cc_cross
17440 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
17441 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
17442 for ac_func in strtold
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
17499 for ac_func in drand48
17501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17502 echo "configure:17503: checking for $ac_func" >&5
17503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17504 echo $ac_n "(cached) $ac_c" 1>&6
17506 cat > conftest.$ac_ext <<EOF
17507 #line 17508 "configure"
17508 #include "confdefs.h"
17509 /* System header to define __stub macros and hopefully few prototypes,
17510 which can conflict with char $ac_func(); below. */
17511 #include <assert.h>
17512 /* Override any gcc2 internal prototype to avoid an error. */
17513 /* We use char because int might match the return type of a gcc2
17514 builtin and then its argument prototype would still apply. */
17519 /* The GNU C library defines this for functions which it implements
17520 to always fail with ENOSYS. Some functions are actually named
17521 something starting with __ and the normal name is an alias. */
17522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17530 if { (eval echo configure:17531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17532 eval "ac_cv_func_$ac_func=yes"
17534 echo "configure: failed program was:" >&5
17535 cat conftest.$ac_ext >&5
17537 eval "ac_cv_func_$ac_func=no"
17542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17543 echo "$ac_t""yes" 1>&6
17544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17545 cat >> confdefs.h <<EOF
17546 #define $ac_tr_func 1
17550 echo "$ac_t""no" 1>&6
17555 CXXFLAGS="$ac_save_CXXFLAGS"
17558 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
17559 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
17560 echo "configure:17561: checking for locale.h" >&5
17561 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17562 echo $ac_n "(cached) $ac_c" 1>&6
17564 cat > conftest.$ac_ext <<EOF
17565 #line 17566 "configure"
17566 #include "confdefs.h"
17567 #include <locale.h>
17569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17570 { (eval echo configure:17571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17572 if test -z "$ac_err"; then
17574 eval "ac_cv_header_$ac_safe=yes"
17577 echo "configure: failed program was:" >&5
17578 cat conftest.$ac_ext >&5
17580 eval "ac_cv_header_$ac_safe=no"
17584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17585 echo "$ac_t""yes" 1>&6
17587 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
17588 echo "configure:17589: checking for LC_MESSAGES" >&5
17589 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
17590 echo $ac_n "(cached) $ac_c" 1>&6
17592 cat > conftest.$ac_ext <<EOF
17593 #line 17594 "configure"
17594 #include "confdefs.h"
17595 #include <locale.h>
17600 if { (eval echo configure:17601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17602 ac_cv_val_LC_MESSAGES=yes
17604 echo "configure: failed program was:" >&5
17605 cat conftest.$ac_ext >&5
17607 ac_cv_val_LC_MESSAGES=no
17612 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
17613 if test $ac_cv_val_LC_MESSAGES = yes; then
17614 cat >> confdefs.h <<\EOF
17615 #define HAVE_LC_MESSAGES 1
17621 echo "$ac_t""no" 1>&6
17626 cat > conftest.$ac_ext <<EOF
17627 #line 17628 "configure"
17628 #include "confdefs.h"
17630 #include <setjmp.h>
17633 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
17636 if { (eval echo configure:17637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17638 cat >> confdefs.h <<\EOF
17639 #define HAVE_SIGSETJMP 1
17644 echo "configure: failed program was:" >&5
17645 cat conftest.$ac_ext >&5
17649 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
17651 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17652 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17653 echo "configure:17654: checking for $ac_hdr" >&5
17654 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17655 echo $ac_n "(cached) $ac_c" 1>&6
17657 cat > conftest.$ac_ext <<EOF
17658 #line 17659 "configure"
17659 #include "confdefs.h"
17662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17663 { (eval echo configure:17664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17665 if test -z "$ac_err"; then
17667 eval "ac_cv_header_$ac_safe=yes"
17670 echo "configure: failed program was:" >&5
17671 cat conftest.$ac_ext >&5
17673 eval "ac_cv_header_$ac_safe=no"
17677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17678 echo "$ac_t""yes" 1>&6
17679 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17680 cat >> confdefs.h <<EOF
17681 #define $ac_tr_hdr 1
17685 echo "$ac_t""no" 1>&6
17689 for ac_func in getpagesize
17691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17692 echo "configure:17693: checking for $ac_func" >&5
17693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17694 echo $ac_n "(cached) $ac_c" 1>&6
17696 cat > conftest.$ac_ext <<EOF
17697 #line 17698 "configure"
17698 #include "confdefs.h"
17699 /* System header to define __stub macros and hopefully few prototypes,
17700 which can conflict with char $ac_func(); below. */
17701 #include <assert.h>
17702 /* Override any gcc2 internal prototype to avoid an error. */
17703 /* We use char because int might match the return type of a gcc2
17704 builtin and then its argument prototype would still apply. */
17709 /* The GNU C library defines this for functions which it implements
17710 to always fail with ENOSYS. Some functions are actually named
17711 something starting with __ and the normal name is an alias. */
17712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17720 if { (eval echo configure:17721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17722 eval "ac_cv_func_$ac_func=yes"
17724 echo "configure: failed program was:" >&5
17725 cat conftest.$ac_ext >&5
17727 eval "ac_cv_func_$ac_func=no"
17732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17733 echo "$ac_t""yes" 1>&6
17734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17735 cat >> confdefs.h <<EOF
17736 #define $ac_tr_func 1
17740 echo "$ac_t""no" 1>&6
17744 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
17745 echo "configure:17746: checking for working mmap" >&5
17746 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
17747 echo $ac_n "(cached) $ac_c" 1>&6
17749 if test "$cross_compiling" = yes; then
17750 ac_cv_func_mmap_fixed_mapped=no
17752 cat > conftest.$ac_ext <<EOF
17753 #line 17754 "configure"
17754 #include "confdefs.h"
17756 /* Thanks to Mike Haertel and Jim Avera for this test.
17757 Here is a matrix of mmap possibilities:
17758 mmap private not fixed
17759 mmap private fixed at somewhere currently unmapped
17760 mmap private fixed at somewhere already mapped
17761 mmap shared not fixed
17762 mmap shared fixed at somewhere currently unmapped
17763 mmap shared fixed at somewhere already mapped
17764 For private mappings, we should verify that changes cannot be read()
17765 back from the file, nor mmap's back from the file at a different
17766 address. (There have been systems where private was not correctly
17767 implemented like the infamous i386 svr4.0, and systems where the
17768 VM page cache was not coherent with the filesystem buffer cache
17769 like early versions of FreeBSD and possibly contemporary NetBSD.)
17770 For shared mappings, we should conversely verify that changes get
17771 propogated back to all the places they're supposed to be.
17773 Grep wants private fixed already mapped.
17774 The main things grep needs to know about mmap are:
17775 * does it exist and is it safe to write into the mmap'd area
17776 * how to use it (BSD variants) */
17777 #include <sys/types.h>
17779 #include <sys/mman.h>
17781 #if HAVE_SYS_TYPES_H
17782 # include <sys/types.h>
17786 # include <stdlib.h>
17789 #if HAVE_SYS_STAT_H
17790 # include <sys/stat.h>
17794 # include <unistd.h>
17797 /* This mess was copied from the GNU getpagesize.h. */
17798 #ifndef HAVE_GETPAGESIZE
17800 /* Assume that all systems that can run configure have sys/param.h. */
17801 # ifndef HAVE_SYS_PARAM_H
17802 # define HAVE_SYS_PARAM_H 1
17805 # ifdef _SC_PAGESIZE
17806 # define getpagesize() sysconf(_SC_PAGESIZE)
17807 # else /* no _SC_PAGESIZE */
17808 # ifdef HAVE_SYS_PARAM_H
17809 # include <sys/param.h>
17810 # ifdef EXEC_PAGESIZE
17811 # define getpagesize() EXEC_PAGESIZE
17812 # else /* no EXEC_PAGESIZE */
17814 # define getpagesize() NBPG * CLSIZE
17817 # endif /* no CLSIZE */
17818 # else /* no NBPG */
17820 # define getpagesize() NBPC
17821 # else /* no NBPC */
17823 # define getpagesize() PAGESIZE
17824 # endif /* PAGESIZE */
17825 # endif /* no NBPC */
17826 # endif /* no NBPG */
17827 # endif /* no EXEC_PAGESIZE */
17828 # else /* no HAVE_SYS_PARAM_H */
17829 # define getpagesize() 8192 /* punt totally */
17830 # endif /* no HAVE_SYS_PARAM_H */
17831 # endif /* no _SC_PAGESIZE */
17833 #endif /* no HAVE_GETPAGESIZE */
17836 extern "C" { void *malloc(unsigned); }
17844 char *data, *data2, *data3;
17848 pagesize = getpagesize();
17851 * First, make a file with some known garbage in it.
17853 data = malloc(pagesize);
17856 for (i = 0; i < pagesize; ++i)
17857 *(data + i) = rand();
17859 fd = creat("conftestmmap", 0600);
17862 if (write(fd, data, pagesize) != pagesize)
17867 * Next, try to mmap the file at a fixed address which
17868 * already has something else allocated at it. If we can,
17869 * also make sure that we see the same garbage.
17871 fd = open("conftestmmap", O_RDWR);
17874 data2 = malloc(2 * pagesize);
17877 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
17878 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
17879 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17881 for (i = 0; i < pagesize; ++i)
17882 if (*(data + i) != *(data2 + i))
17886 * Finally, make sure that changes to the mapped area
17887 * do not percolate back to the file as seen by read().
17888 * (This is a bug on some variants of i386 svr4.0.)
17890 for (i = 0; i < pagesize; ++i)
17891 *(data2 + i) = *(data2 + i) + 1;
17892 data3 = malloc(pagesize);
17895 if (read(fd, data3, pagesize) != pagesize)
17897 for (i = 0; i < pagesize; ++i)
17898 if (*(data + i) != *(data3 + i))
17901 unlink("conftestmmap");
17906 if { (eval echo configure:17907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17908 ac_cv_func_mmap_fixed_mapped=yes
17910 echo "configure: failed program was:" >&5
17911 cat conftest.$ac_ext >&5
17913 ac_cv_func_mmap_fixed_mapped=no
17920 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
17921 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17922 cat >> confdefs.h <<\EOF
17923 #define HAVE_MMAP 1
17929 # Establish limits on memory usage during 'make check'
17932 setrlimit_have_headers=yes
17933 for ac_hdr in sys/resource.h unistd.h
17935 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17937 echo "configure:17938: checking for $ac_hdr" >&5
17938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17939 echo $ac_n "(cached) $ac_c" 1>&6
17941 cat > conftest.$ac_ext <<EOF
17942 #line 17943 "configure"
17943 #include "confdefs.h"
17946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17947 { (eval echo configure:17948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17949 if test -z "$ac_err"; then
17951 eval "ac_cv_header_$ac_safe=yes"
17954 echo "configure: failed program was:" >&5
17955 cat conftest.$ac_ext >&5
17957 eval "ac_cv_header_$ac_safe=no"
17961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17962 echo "$ac_t""yes" 1>&6
17963 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17964 cat >> confdefs.h <<EOF
17965 #define $ac_tr_hdr 1
17969 echo "$ac_t""no" 1>&6
17970 setrlimit_have_headers=no
17974 # If don't have the headers, then we can't run the tests now, and we
17975 # won't be seeing any of these during testsuite compilation.
17976 if test $setrlimit_have_headers = yes; then
17977 # Can't do these in a loop, else the resulting syntax is wrong.
17979 cat > conftest.$ac_ext <<EOF
17980 #line 17981 "configure"
17981 #include "confdefs.h"
17982 #include <sys/resource.h>
17983 #include <unistd.h>
17986 int f = RLIMIT_DATA ;
17989 if { (eval echo configure:17990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17993 echo "configure: failed program was:" >&5
17994 cat conftest.$ac_ext >&5
17999 cat >> confdefs.h <<EOF
18000 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
18005 cat > conftest.$ac_ext <<EOF
18006 #line 18007 "configure"
18007 #include "confdefs.h"
18008 #include <sys/resource.h>
18009 #include <unistd.h>
18012 int f = RLIMIT_RSS ;
18015 if { (eval echo configure:18016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18019 echo "configure: failed program was:" >&5
18020 cat conftest.$ac_ext >&5
18025 cat >> confdefs.h <<EOF
18026 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
18031 cat > conftest.$ac_ext <<EOF
18032 #line 18033 "configure"
18033 #include "confdefs.h"
18034 #include <sys/resource.h>
18035 #include <unistd.h>
18038 int f = RLIMIT_VMEM ;
18041 if { (eval echo configure:18042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18045 echo "configure: failed program was:" >&5
18046 cat conftest.$ac_ext >&5
18051 cat >> confdefs.h <<EOF
18052 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
18057 cat > conftest.$ac_ext <<EOF
18058 #line 18059 "configure"
18059 #include "confdefs.h"
18060 #include <sys/resource.h>
18061 #include <unistd.h>
18064 int f = RLIMIT_AS ;
18067 if { (eval echo configure:18068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18071 echo "configure: failed program was:" >&5
18072 cat conftest.$ac_ext >&5
18077 cat >> confdefs.h <<EOF
18078 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
18083 # Check for rlimit, setrlimit.
18084 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
18085 echo $ac_n "(cached) $ac_c" 1>&6
18088 cat > conftest.$ac_ext <<EOF
18089 #line 18090 "configure"
18090 #include "confdefs.h"
18091 #include <sys/resource.h>
18092 #include <unistd.h>
18095 struct rlimit r; setrlimit(0, &r);
18098 if { (eval echo configure:18099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18102 echo "configure: failed program was:" >&5
18103 cat conftest.$ac_ext >&5
18113 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
18114 echo "configure:18115: checking for testsuite memory limit support" >&5
18115 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
18117 cat >> confdefs.h <<\EOF
18118 #define _GLIBCPP_MEM_LIMITS 1
18124 echo "$ac_t""$ac_mem_limits" 1>&6
18130 # Propagate the target-specific source directories through the build chain.
18131 OS_INC_SRCDIR=$os_include_dir/bits
18132 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
18133 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
18138 # Set up cross-compile flags
18142 if test "$CANADIAN" = yes; then
18150 cat > confcache <<\EOF
18151 # This file is a shell script that caches the results of configure
18152 # tests run on this system so they can be shared between configure
18153 # scripts and configure runs. It is not useful on other systems.
18154 # If it contains results you don't want to keep, you may remove or edit it.
18156 # By default, configure uses ./config.cache as the cache file,
18157 # creating it if it does not exist already. You can give configure
18158 # the --cache-file=FILE option to use a different cache file; that is
18159 # what configure does when it calls configure scripts in
18160 # subdirectories, so they share the cache.
18161 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18162 # config.status only pays attention to the cache file if you give it the
18163 # --recheck option to rerun configure.
18166 # The following way of writing the cache mishandles newlines in values,
18167 # but we know of no workaround that is simple, portable, and efficient.
18168 # So, don't put newlines in cache variables' values.
18169 # Ultrix sh set writes to stderr and can't be redirected directly,
18170 # and sets the high bit in the cache file unless we assign to the vars.
18172 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18174 # `set' does not quote correctly, so add quotes (double-quote substitution
18175 # turns \\\\ into \\, and sed turns \\ into \).
18177 -e "s/'/'\\\\''/g" \
18178 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18181 # `set' quotes correctly as required by POSIX, so do not add quotes.
18182 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18185 if cmp -s $cache_file confcache; then
18188 if test -w $cache_file; then
18189 echo "updating cache $cache_file"
18190 cat confcache > $cache_file
18192 echo "not updating unwritable cache $cache_file"
18198 if test "${multilib}" = "yes"; then
18199 multilib_arg="--enable-multilib"
18204 # Needed so that g++ can find the correct include subdir automatically.
18207 # Export all the install information
18209 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
18210 # exported correctly in GLIBCPP_CONFIGURE.
18211 glibcpp_toolexecdir=no
18212 glibcpp_toolexeclibdir=no
18213 glibcpp_prefixdir=${prefix}
18215 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18216 echo "configure:18217: checking for interface version number" >&5
18217 libstdcxx_interface=$INTERFACE
18218 echo "$ac_t""$libstdcxx_interface" 1>&6
18220 # Process the option --with-gxx-include-dir=<path to include-files directory>
18221 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18222 echo "configure:18223: checking for --with-gxx-include-dir" >&5
18223 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18224 if test "${with_gxx_include_dir+set}" = set; then
18225 withval="$with_gxx_include_dir"
18226 case "${withval}" in
18228 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18235 gxx_include_dir=${withval}
18242 echo "$ac_t""$gxx_include_dir" 1>&6
18244 # Process the option "--enable-version-specific-runtime-libs"
18245 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18246 echo "configure:18247: checking for --enable-version-specific-runtime-libs" >&5
18247 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18248 if test "${enable_version_specific_runtime_libs+set}" = set; then
18249 enableval="$enable_version_specific_runtime_libs"
18250 case "$enableval" in
18251 yes) version_specific_libs=yes ;;
18252 no) version_specific_libs=no ;;
18253 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
18256 version_specific_libs=no
18258 # Option set, now we can test it.
18259 echo "$ac_t""$version_specific_libs" 1>&6
18261 if test $version_specific_libs = yes; then
18262 # Need the gcc compiler version to know where to install libraries
18263 # and header files if --enable-version-specific-runtime-libs option
18265 gcc_version_trigger=${srcdir}/../gcc/version.c
18266 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
18267 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
18268 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
18269 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
18270 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
18273 # Default case for install directory for include files.
18274 if test $version_specific_libs = no &&
18275 test $gxx_include_dir = no; then
18276 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
18279 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
18280 # Install a library built with a cross compiler in tooldir, not libdir.
18281 if test x"$glibcpp_toolexecdir" = x"no"; then
18282 if test -n "$with_cross_host" &&
18283 test x"$with_cross_host" != x"no"; then
18284 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
18285 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
18287 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
18288 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
18292 echo $ac_n "checking for install location""... $ac_c" 1>&6
18293 echo "configure:18294: checking for install location" >&5
18294 echo "$ac_t""$gxx_include_dir" 1>&6
18302 # Export all the include and flag information to makefiles.
18304 # Root level of the build directory include sources.
18305 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
18307 # Passed down for canadian crosses.
18308 if test x"$CANADIAN" = xyes; then
18309 TOPLEVEL_INCLUDES='-I$(includedir)'
18312 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18314 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18316 if test x"$need_libio" = xyes; then
18317 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18321 # Now, export this to all the little Makefiles....
18328 # Optimization flags that are probably a good idea for thrill-seekers. Just
18329 # uncomment the lines below and make, everything else is ready to go...
18330 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18334 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18338 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
18339 grep "enable shared" > /dev/null; then
18340 LIBSUPCXX_PICFLAGS=-prefer-pic
18342 LIBSUPCXX_PICFLAGS=
18346 # Generate the various Makefiles, include files, and scripts.
18347 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18348 # and libsupc++/Makefile.am so that multilib installs will end up
18349 # installed in the correct place. To work around this not being passed
18350 # down from config-ml.in -> top_srcdir/Makefile.am ->
18351 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
18353 cat > confcache <<\EOF
18354 # This file is a shell script that caches the results of configure
18355 # tests run on this system so they can be shared between configure
18356 # scripts and configure runs. It is not useful on other systems.
18357 # If it contains results you don't want to keep, you may remove or edit it.
18359 # By default, configure uses ./config.cache as the cache file,
18360 # creating it if it does not exist already. You can give configure
18361 # the --cache-file=FILE option to use a different cache file; that is
18362 # what configure does when it calls configure scripts in
18363 # subdirectories, so they share the cache.
18364 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18365 # config.status only pays attention to the cache file if you give it the
18366 # --recheck option to rerun configure.
18369 # The following way of writing the cache mishandles newlines in values,
18370 # but we know of no workaround that is simple, portable, and efficient.
18371 # So, don't put newlines in cache variables' values.
18372 # Ultrix sh set writes to stderr and can't be redirected directly,
18373 # and sets the high bit in the cache file unless we assign to the vars.
18375 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18377 # `set' does not quote correctly, so add quotes (double-quote substitution
18378 # turns \\\\ into \\, and sed turns \\ into \).
18380 -e "s/'/'\\\\''/g" \
18381 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18384 # `set' quotes correctly as required by POSIX, so do not add quotes.
18385 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18388 if cmp -s $cache_file confcache; then
18391 if test -w $cache_file; then
18392 echo "updating cache $cache_file"
18393 cat confcache > $cache_file
18395 echo "not updating unwritable cache $cache_file"
18400 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18403 # Let make expand exec_prefix.
18404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18406 # Any assignment to VPATH causes Sun make to only execute
18407 # the first set of double-colon rules, so remove it if not needed.
18408 # If there is a colon in the path, we need to keep it.
18409 if test "x$srcdir" = x.; then
18410 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18413 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18415 DEFS=-DHAVE_CONFIG_H
18417 # Without the "./", some shells look in PATH for config.status.
18418 : ${CONFIG_STATUS=./config.status}
18420 echo creating $CONFIG_STATUS
18421 rm -f $CONFIG_STATUS
18422 cat > $CONFIG_STATUS <<EOF
18424 # Generated automatically by configure.
18425 # Run this file to recreate the current configuration.
18426 # This directory was configured as follows,
18427 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18429 # $0 $ac_configure_args
18431 # Compiler output produced by configure, useful for debugging
18432 # configure, is in ./config.log if it exists.
18434 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18437 case "\$ac_option" in
18438 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18439 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18440 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18441 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18442 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18444 -help | --help | --hel | --he | --h)
18445 echo "\$ac_cs_usage"; exit 0 ;;
18446 *) echo "\$ac_cs_usage"; exit 1 ;;
18450 ac_given_srcdir=$srcdir
18451 ac_given_INSTALL="$INSTALL"
18453 trap 'rm -fr `echo "Makefile \
18454 include/Makefile src/Makefile \
18455 libmath/Makefile libio/Makefile libsupc++/Makefile \
18456 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18458 cat >> $CONFIG_STATUS <<EOF
18460 # Protect against being on the right side of a sed subst in config.status.
18461 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18462 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18466 s%@CFLAGS@%$CFLAGS%g
18467 s%@CPPFLAGS@%$CPPFLAGS%g
18468 s%@CXXFLAGS@%$CXXFLAGS%g
18469 s%@FFLAGS@%$FFLAGS%g
18471 s%@LDFLAGS@%$LDFLAGS%g
18473 s%@exec_prefix@%$exec_prefix%g
18474 s%@prefix@%$prefix%g
18475 s%@program_transform_name@%$program_transform_name%g
18476 s%@bindir@%$bindir%g
18477 s%@sbindir@%$sbindir%g
18478 s%@libexecdir@%$libexecdir%g
18479 s%@datadir@%$datadir%g
18480 s%@sysconfdir@%$sysconfdir%g
18481 s%@sharedstatedir@%$sharedstatedir%g
18482 s%@localstatedir@%$localstatedir%g
18483 s%@libdir@%$libdir%g
18484 s%@includedir@%$includedir%g
18485 s%@oldincludedir@%$oldincludedir%g
18486 s%@infodir@%$infodir%g
18487 s%@mandir@%$mandir%g
18488 s%@PACKAGE@%$PACKAGE%g
18489 s%@release_VERSION@%$release_VERSION%g
18490 s%@libtool_VERSION@%$libtool_VERSION%g
18492 s%@host_alias@%$host_alias%g
18493 s%@host_cpu@%$host_cpu%g
18494 s%@host_vendor@%$host_vendor%g
18495 s%@host_os@%$host_os%g
18496 s%@target@%$target%g
18497 s%@target_alias@%$target_alias%g
18498 s%@target_cpu@%$target_cpu%g
18499 s%@target_vendor@%$target_vendor%g
18500 s%@target_os@%$target_os%g
18502 s%@build_alias@%$build_alias%g
18503 s%@build_cpu@%$build_cpu%g
18504 s%@build_vendor@%$build_vendor%g
18505 s%@build_os@%$build_os%g
18506 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18507 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18508 s%@INSTALL_DATA@%$INSTALL_DATA%g
18509 s%@VERSION@%$VERSION%g
18510 s%@ACLOCAL@%$ACLOCAL%g
18511 s%@AUTOCONF@%$AUTOCONF%g
18512 s%@AUTOMAKE@%$AUTOMAKE%g
18513 s%@AUTOHEADER@%$AUTOHEADER%g
18514 s%@MAKEINFO@%$MAKEINFO%g
18515 s%@SET_MAKE@%$SET_MAKE%g
18516 s%@toplevel_srcdir@%$toplevel_srcdir%g
18517 s%@glibcpp_builddir@%$glibcpp_builddir%g
18518 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
18520 s%@glibcpp_basedir@%$glibcpp_basedir%g
18522 s%@glibcpp_CXX@%$glibcpp_CXX%g
18525 s%@RANLIB@%$RANLIB%g
18526 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18527 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18529 s%@EXEEXT@%$EXEEXT%g
18530 s%@OBJEXT@%$OBJEXT%g
18532 s%@LIBTOOL@%$LIBTOOL%g
18533 s%@CXXCPP@%$CXXCPP%g
18534 s%@enable_shared@%$enable_shared%g
18535 s%@enable_static@%$enable_static%g
18536 s%@ifGNUmake@%$ifGNUmake%g
18537 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18539 s%@CSTDIO_H@%$CSTDIO_H%g
18540 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
18541 s%@CCODECVT_C@%$CCODECVT_C%g
18542 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
18543 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
18544 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18545 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18546 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18547 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18548 s%@libio_la@%$libio_la%g
18549 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
18550 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
18551 s%@glibcpp_localedir@%$glibcpp_localedir%g
18552 s%@USE_NLS@%$USE_NLS%g
18553 s%@CLOCALE_H@%$CLOCALE_H%g
18554 s%@CCODECVT_H@%$CCODECVT_H%g
18555 s%@CMESSAGES_H@%$CMESSAGES_H%g
18556 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18557 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18558 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18559 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18560 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
18561 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18562 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18563 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18564 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18565 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18566 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18567 s%@WERROR@%$WERROR%g
18568 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
18569 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
18570 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
18571 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
18572 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18573 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18574 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
18575 s%@gxx_include_dir@%$gxx_include_dir%g
18576 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
18577 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
18578 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
18579 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
18580 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
18581 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
18582 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
18583 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
18584 s%@WARN_FLAGS@%$WARN_FLAGS%g
18585 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
18590 cat >> $CONFIG_STATUS <<\EOF
18592 # Split the substitutions into bite-sized pieces for seds with
18593 # small command number limits, like on Digital OSF/1 and HP-UX.
18594 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18595 ac_file=1 # Number of current file.
18596 ac_beg=1 # First line for current file.
18597 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18600 while $ac_more_lines; do
18601 if test $ac_beg -gt 1; then
18602 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18604 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18606 if test ! -s conftest.s$ac_file; then
18607 ac_more_lines=false
18608 rm -f conftest.s$ac_file
18610 if test -z "$ac_sed_cmds"; then
18611 ac_sed_cmds="sed -f conftest.s$ac_file"
18613 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18615 ac_file=`expr $ac_file + 1`
18617 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18620 if test -z "$ac_sed_cmds"; then
18625 cat >> $CONFIG_STATUS <<EOF
18627 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
18628 include/Makefile src/Makefile \
18629 libmath/Makefile libio/Makefile libsupc++/Makefile \
18630 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
18632 cat >> $CONFIG_STATUS <<\EOF
18633 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18634 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18636 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18637 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18638 *) ac_file_in="${ac_file}.in" ;;
18641 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18643 # Remove last slash and all that follows it. Not all systems have dirname.
18644 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18645 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18646 # The file is in a subdirectory.
18647 test ! -d "$ac_dir" && mkdir "$ac_dir"
18648 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18649 # A "../" for each directory in $ac_dir_suffix.
18650 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18652 ac_dir_suffix= ac_dots=
18655 case "$ac_given_srcdir" in
18657 if test -z "$ac_dots"; then top_srcdir=.
18658 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18659 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18660 *) # Relative path.
18661 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18662 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18665 case "$ac_given_INSTALL" in
18666 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18667 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18670 echo creating "$ac_file"
18672 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18674 *Makefile*) ac_comsub="1i\\
18675 # $configure_input" ;;
18679 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18681 s%@configure_input@%$configure_input%g
18682 s%@srcdir@%$srcdir%g
18683 s%@top_srcdir@%$top_srcdir%g
18684 s%@INSTALL@%$INSTALL%g
18685 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18689 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18690 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18692 # ac_d sets the value in "#define NAME VALUE" lines.
18693 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18694 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18697 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18698 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18699 ac_uB='\([ ]\)%\1#\2define\3'
18702 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18703 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18704 ac_eB='$%\1#\2define\3'
18708 if test "${CONFIG_HEADERS+set}" != set; then
18710 cat >> $CONFIG_STATUS <<EOF
18711 CONFIG_HEADERS="config.h"
18713 cat >> $CONFIG_STATUS <<\EOF
18715 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18718 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18719 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18720 *) ac_file_in="${ac_file}.in" ;;
18723 echo creating $ac_file
18725 rm -f conftest.frag conftest.in conftest.out
18726 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18727 cat $ac_file_inputs > conftest.in
18731 # Transform confdefs.h into a sed script conftest.vals that substitutes
18732 # the proper values into config.h.in to produce config.h. And first:
18733 # Protect against being on the right side of a sed subst in config.status.
18734 # Protect against being in an unquoted here document in config.status.
18735 rm -f conftest.vals
18736 cat > conftest.hdr <<\EOF
18739 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18743 sed -n -f conftest.hdr confdefs.h > conftest.vals
18746 # This sed command replaces #undef with comments. This is necessary, for
18747 # example, in the case of _POSIX_SOURCE, which is predefined and required
18748 # on some systems where configure will not decide to define it.
18749 cat >> conftest.vals <<\EOF
18750 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18753 # Break up conftest.vals because some shells have a limit on
18754 # the size of here documents, and old seds have small limits too.
18756 rm -f conftest.tail
18759 ac_lines=`grep -c . conftest.vals`
18760 # grep -c gives empty output for an empty file on some AIX systems.
18761 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18762 # Write a limited-size here document to conftest.frag.
18763 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18764 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18766 sed -f conftest.frag conftest.in > conftest.out
18768 mv conftest.out conftest.in
18769 ' >> $CONFIG_STATUS
18770 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18771 rm -f conftest.vals
18772 mv conftest.tail conftest.vals
18774 rm -f conftest.vals
18776 cat >> $CONFIG_STATUS <<\EOF
18777 rm -f conftest.frag conftest.h
18778 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18779 cat conftest.in >> conftest.h
18781 if cmp -s $ac_file conftest.h 2>/dev/null; then
18782 echo "$ac_file is unchanged"
18785 # Remove last slash and all that follows it. Not all systems have dirname.
18786 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18787 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18788 # The file is in a subdirectory.
18789 test ! -d "$ac_dir" && mkdir "$ac_dir"
18792 mv conftest.h $ac_file
18798 cat >> $CONFIG_STATUS <<EOF
18799 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
18800 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/messages.cc src/moneypunct.cc src/numpunct.cc src/time.cc"
18803 cat >> $CONFIG_STATUS <<\EOF
18804 srcdir=$ac_given_srcdir
18805 while test -n "$ac_sources"; do
18806 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18807 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18809 echo "linking $srcdir/$ac_source to $ac_dest"
18811 if test ! -r $srcdir/$ac_source; then
18812 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18816 # Make relative symlinks.
18817 # Remove last slash and all that follows it. Not all systems have dirname.
18818 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18819 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18820 # The dest file is in a subdirectory.
18821 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18822 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18823 # A "../" for each directory in $ac_dest_dir_suffix.
18824 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18826 ac_dest_dir_suffix= ac_dots=
18830 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18831 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18834 # Make a symlink if possible; otherwise try a hard link.
18835 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18836 ln $srcdir/$ac_source $ac_dest; then :
18838 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18842 cat >> $CONFIG_STATUS <<EOF
18847 with_multisubdir=${with_multisubdir}
18848 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18849 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18850 glibcpp_basedir=${glibcpp_basedir}
18855 cat >> $CONFIG_STATUS <<\EOF
18856 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18857 if test -n "$CONFIG_FILES"; then
18858 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18859 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18860 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
18863 chmod +x testsuite_flags
18867 chmod +x $CONFIG_STATUS
18868 rm -fr confdefs* $ac_clean_files
18869 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18873 # Sanity checking & User-visible messages.
18874 # Checks down here, otherwise they get scrolled off before
18875 # the user will notice.
18877 # Trying to get more people to read documentation. Possibly remove
18878 # check and warn all the time. There is no "informational" AC_MSG_
18879 # macro, so these are going to be printed even when --quiet/--silent
18881 if test ! -f stamp-sanity-warned; then
18882 touch stamp-sanity-warned
18884 echo "Please make certain that you read the installation information here:"
18885 echo " faster => ${srcdir}/docs/install.html"
18886 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
18888 echo "and the configuration information here:"
18889 echo " faster => ${srcdir}/docs/configopts.html"
18890 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
18892 echo "before proceeding with ${_cv_gnu_make_command}."