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.
1373 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1374 echo "configure:1375: checking for POSIXized ISC" >&5
1375 if test -d /etc/conf/kconfig.d &&
1376 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1378 echo "$ac_t""yes" 1>&6
1379 ISC=yes # If later tests want to check for ISC.
1380 cat >> confdefs.h <<\EOF
1381 #define _POSIX_SOURCE 1
1384 if test "$GCC" = yes; then
1390 echo "$ac_t""no" 1>&6
1395 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1396 set dummy ${ac_tool_prefix}as; ac_word=$2
1397 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1398 echo "configure:1399: checking for $ac_word" >&5
1399 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1400 echo $ac_n "(cached) $ac_c" 1>&6
1402 if test -n "$AS"; then
1403 ac_cv_prog_AS="$AS" # Let the user override the test.
1405 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1407 for ac_dir in $ac_dummy; do
1408 test -z "$ac_dir" && ac_dir=.
1409 if test -f $ac_dir/$ac_word; then
1410 ac_cv_prog_AS="${ac_tool_prefix}as"
1415 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1419 if test -n "$AS"; then
1420 echo "$ac_t""$AS" 1>&6
1422 echo "$ac_t""no" 1>&6
1427 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1428 set dummy ${ac_tool_prefix}ar; ac_word=$2
1429 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1430 echo "configure:1431: checking for $ac_word" >&5
1431 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1432 echo $ac_n "(cached) $ac_c" 1>&6
1434 if test -n "$AR"; then
1435 ac_cv_prog_AR="$AR" # Let the user override the test.
1437 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1439 for ac_dir in $ac_dummy; do
1440 test -z "$ac_dir" && ac_dir=.
1441 if test -f $ac_dir/$ac_word; then
1442 ac_cv_prog_AR="${ac_tool_prefix}ar"
1447 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1451 if test -n "$AR"; then
1452 echo "$ac_t""$AR" 1>&6
1454 echo "$ac_t""no" 1>&6
1459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1461 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1462 echo "configure:1463: checking for $ac_word" >&5
1463 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1464 echo $ac_n "(cached) $ac_c" 1>&6
1466 if test -n "$RANLIB"; then
1467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1469 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1471 for ac_dir in $ac_dummy; do
1472 test -z "$ac_dir" && ac_dir=.
1473 if test -f $ac_dir/$ac_word; then
1474 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1481 RANLIB="$ac_cv_prog_RANLIB"
1482 if test -n "$RANLIB"; then
1483 echo "$ac_t""$RANLIB" 1>&6
1485 echo "$ac_t""no" 1>&6
1489 if test -z "$ac_cv_prog_RANLIB"; then
1490 if test -n "$ac_tool_prefix"; then
1491 # Extract the first word of "ranlib", so it can be a program name with args.
1492 set dummy ranlib; ac_word=$2
1493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1494 echo "configure:1495: checking for $ac_word" >&5
1495 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1496 echo $ac_n "(cached) $ac_c" 1>&6
1498 if test -n "$RANLIB"; then
1499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1501 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1503 for ac_dir in $ac_dummy; do
1504 test -z "$ac_dir" && ac_dir=.
1505 if test -f $ac_dir/$ac_word; then
1506 ac_cv_prog_RANLIB="ranlib"
1511 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1514 RANLIB="$ac_cv_prog_RANLIB"
1515 if test -n "$RANLIB"; then
1516 echo "$ac_t""$RANLIB" 1>&6
1518 echo "$ac_t""no" 1>&6
1522 RANLIB="ranlib-not-found-in-path-error"
1526 # Find a good install program. We prefer a C program (faster),
1527 # so one script is as good as another. But avoid the broken or
1528 # incompatible versions:
1529 # SysV /etc/install, /usr/sbin/install
1530 # SunOS /usr/etc/install
1531 # IRIX /sbin/install
1533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1536 # ./install, which can be erroneously created by make from ./install.sh.
1537 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1538 echo "configure:1539: checking for a BSD compatible install" >&5
1539 if test -z "$INSTALL"; then
1540 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1541 echo $ac_n "(cached) $ac_c" 1>&6
1543 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1544 for ac_dir in $PATH; do
1545 # Account for people who put trailing slashes in PATH elements.
1547 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1549 # OSF1 and SCO ODT 3.0 have their own names for install.
1550 # Don't use installbsd from OSF since it installs stuff as root
1552 for ac_prog in ginstall scoinst install; do
1553 if test -f $ac_dir/$ac_prog; then
1554 if test $ac_prog = install &&
1555 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1556 # AIX install. It has an incompatible calling convention.
1559 ac_cv_path_install="$ac_dir/$ac_prog -c"
1570 if test "${ac_cv_path_install+set}" = set; then
1571 INSTALL="$ac_cv_path_install"
1573 # As a last resort, use the slow shell script. We don't cache a
1574 # path for INSTALL within a source directory, because that will
1575 # break other packages using the cache if that directory is
1576 # removed, or if the path is relative.
1577 INSTALL="$ac_install_sh"
1580 echo "$ac_t""$INSTALL" 1>&6
1582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1583 # It thinks the first close brace ends the variable substitution.
1584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1588 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1591 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1592 echo "configure:1593: checking whether to enable maintainer-specific portions of Makefiles" >&5
1593 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1594 if test "${enable_maintainer_mode+set}" = set; then
1595 enableval="$enable_maintainer_mode"
1596 USE_MAINTAINER_MODE=$enableval
1598 USE_MAINTAINER_MODE=no
1601 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1604 if test $USE_MAINTAINER_MODE = yes; then
1605 MAINTAINER_MODE_TRUE=
1606 MAINTAINER_MODE_FALSE='#'
1608 MAINTAINER_MODE_TRUE='#'
1609 MAINTAINER_MODE_FALSE=
1611 MAINT=$MAINTAINER_MODE_TRUE
1615 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1616 # at least currently, we never actually build a program, so we never
1617 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1618 # fails, because we are probably configuring with a cross compiler
1619 # which can't create executables. So we include AC_EXEEXT to keep
1620 # automake happy, but we don't execute it, since we don't care about
1623 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1624 # to nothing, so nothing would remain between `then' and `fi' if it
1625 # were not for the `:' below.
1629 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1630 echo "configure:1631: checking for executable suffix" >&5
1631 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1632 echo $ac_n "(cached) $ac_c" 1>&6
1634 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1638 echo 'int main () { return 0; }' > conftest.$ac_ext
1640 if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1641 for file in conftest.*; do
1643 *.c | *.C | *.o | *.obj) ;;
1644 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1648 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1651 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1656 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1657 echo "$ac_t""${ac_cv_exeext}" 1>&6
1662 . ${glibcpp_basedir}/configure.host
1664 case ${glibcpp_basedir} in
1665 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1666 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1669 # This does for the target what configure.host does for the host. In
1670 # addition to possibly modifying the same flags, it also sets up symlinks.
1672 . ${glibcpp_basedir}/configure.target
1673 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1674 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1681 # Check whether --enable-shared or --disable-shared was given.
1682 if test "${enable_shared+set}" = set; then
1683 enableval="$enable_shared"
1684 p=${PACKAGE-default}
1686 yes) enable_shared=yes ;;
1687 no) enable_shared=no ;;
1690 # Look at the argument we got. We use all the common list separators.
1691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1692 for pkg in $enableval; do
1693 if test "X$pkg" = "X$p"; then
1704 # Check whether --enable-static or --disable-static was given.
1705 if test "${enable_static+set}" = set; then
1706 enableval="$enable_static"
1707 p=${PACKAGE-default}
1709 yes) enable_static=yes ;;
1710 no) enable_static=no ;;
1713 # Look at the argument we got. We use all the common list separators.
1714 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1715 for pkg in $enableval; do
1716 if test "X$pkg" = "X$p"; then
1727 # Check whether --enable-fast-install or --disable-fast-install was given.
1728 if test "${enable_fast_install+set}" = set; then
1729 enableval="$enable_fast_install"
1730 p=${PACKAGE-default}
1732 yes) enable_fast_install=yes ;;
1733 no) enable_fast_install=no ;;
1735 enable_fast_install=no
1736 # Look at the argument we got. We use all the common list separators.
1737 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1738 for pkg in $enableval; do
1739 if test "X$pkg" = "X$p"; then
1740 enable_fast_install=yes
1747 enable_fast_install=yes
1750 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1751 if test "${with_gnu_ld+set}" = set; then
1752 withval="$with_gnu_ld"
1753 test "$withval" = no || with_gnu_ld=yes
1759 if test "$GCC" = yes; then
1760 # Check if gcc -print-prog-name=ld gives a path.
1761 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1762 echo "configure:1763: checking for ld used by GCC" >&5
1765 # gcc leaves a trailing carriage return which upsets mingw
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1768 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1771 # Accept absolute paths.
1772 [\\/]* | [A-Za-z]:[\\/]*)
1773 re_direlt='/[^/][^/]*/\.\./'
1774 # Canonicalize the path of ld
1775 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1776 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1777 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1779 test -z "$LD" && LD="$ac_prog"
1782 # If it fails, then pretend we aren't using GCC.
1786 # If it is relative, then search for the first ld in PATH.
1790 elif test "$with_gnu_ld" = yes; then
1791 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1792 echo "configure:1793: checking for GNU ld" >&5
1794 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1795 echo "configure:1796: checking for non-GNU ld" >&5
1797 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1798 echo $ac_n "(cached) $ac_c" 1>&6
1800 if test -z "$LD"; then
1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1802 for ac_dir in $PATH; do
1803 test -z "$ac_dir" && ac_dir=.
1804 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1805 lt_cv_path_LD="$ac_dir/$ac_prog"
1806 # Check to see if the program is GNU ld. I'd rather use --version,
1807 # but apparently some GNU ld's only accept -v.
1808 # Break only if it was the GNU/non-GNU ld that we prefer.
1809 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1810 test "$with_gnu_ld" != no && break
1812 test "$with_gnu_ld" != yes && break
1818 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1823 if test -n "$LD"; then
1824 echo "$ac_t""$LD" 1>&6
1826 echo "$ac_t""no" 1>&6
1828 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1829 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1830 echo "configure:1831: checking if the linker ($LD) is GNU ld" >&5
1831 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1832 echo $ac_n "(cached) $ac_c" 1>&6
1834 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1835 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1836 lt_cv_prog_gnu_ld=yes
1838 lt_cv_prog_gnu_ld=no
1842 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1843 with_gnu_ld=$lt_cv_prog_gnu_ld
1846 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1847 echo "configure:1848: checking for $LD option to reload object files" >&5
1848 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1849 echo $ac_n "(cached) $ac_c" 1>&6
1851 lt_cv_ld_reload_flag='-r'
1854 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1855 reload_flag=$lt_cv_ld_reload_flag
1856 test -n "$reload_flag" && reload_flag=" $reload_flag"
1858 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1859 echo "configure:1860: checking for BSD-compatible nm" >&5
1860 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1861 echo $ac_n "(cached) $ac_c" 1>&6
1863 if test -n "$NM"; then
1864 # Let the user override the test.
1867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1868 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1869 test -z "$ac_dir" && ac_dir=.
1870 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1871 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1872 # Check to see if the nm accepts a BSD-compat flag.
1873 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1874 # nm: unknown option "B" ignored
1875 # Tru64's nm complains that /dev/null is an invalid object file
1876 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1877 lt_cv_path_NM="$tmp_nm -B"
1879 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1880 lt_cv_path_NM="$tmp_nm -p"
1883 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1884 continue # so that we can try to find one that supports BSD flags
1889 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1894 echo "$ac_t""$NM" 1>&6
1896 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1897 echo "configure:1898: checking how to recognise dependant libraries" >&5
1898 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1899 echo $ac_n "(cached) $ac_c" 1>&6
1901 lt_cv_file_magic_cmd='$MAGIC_CMD'
1902 lt_cv_file_magic_test_file=
1903 lt_cv_deplibs_check_method='unknown'
1904 # Need to set the preceding variable on all platforms that support
1905 # interlibrary dependencies.
1906 # 'none' -- dependencies not supported.
1907 # `unknown' -- same as none, but documents that we really don't know.
1908 # 'pass_all' -- all dependencies passed with no checks.
1909 # 'test_compile' -- check by making test program.
1910 # 'file_magic [regex]' -- check by looking for files in library path
1911 # which responds to the $file_magic_cmd with a given egrep regex.
1912 # If you have `file' or equivalent on your system and you're not sure
1913 # whether `pass_all' will *always* work, you probably want this one.
1917 lt_cv_deplibs_check_method=pass_all
1921 lt_cv_deplibs_check_method=pass_all
1925 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1926 lt_cv_file_magic_cmd='/usr/bin/file -L'
1927 lt_cv_file_magic_test_file=/shlib/libc.so
1930 cygwin* | mingw* |pw32*)
1931 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1932 lt_cv_file_magic_cmd='$OBJDUMP -f'
1935 darwin* | rhapsody*)
1936 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1937 lt_cv_file_magic_cmd='/usr/bin/file -L'
1939 rhapsody* | darwin1.012)
1940 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1943 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1949 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1952 # Not sure whether the presence of OpenBSD here was a mistake.
1953 # Let's accept both of them until this is cleared up.
1954 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1955 lt_cv_file_magic_cmd=/usr/bin/file
1956 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1960 lt_cv_deplibs_check_method=pass_all
1965 lt_cv_deplibs_check_method=pass_all
1969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1977 # this will be overridden with pass_all, but let us keep it just in case
1978 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1982 *-32|*"-32 ") libmagic=32-bit;;
1983 *-n32|*"-n32 ") libmagic=N32;;
1984 *-64|*"-64 ") libmagic=64-bit;;
1985 *) libmagic=never-match;;
1987 # this will be overridden with pass_all, but let us keep it just in case
1988 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1991 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1992 lt_cv_deplibs_check_method=pass_all
1995 # This must be Linux ELF.
1998 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1999 lt_cv_deplibs_check_method=pass_all ;;
2001 # glibc up to 2.1.1 does not perform some relocations on ARM
2002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2004 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2008 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2009 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2011 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2016 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2017 lt_cv_file_magic_cmd=/usr/bin/file
2018 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2021 osf3* | osf4* | osf5*)
2022 # this will be overridden with pass_all, but let us keep it just in case
2023 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2024 lt_cv_file_magic_test_file=/shlib/libc.so
2025 lt_cv_deplibs_check_method=pass_all
2029 lt_cv_deplibs_check_method=pass_all
2033 lt_cv_deplibs_check_method=pass_all
2034 lt_cv_file_magic_test_file=/lib/libc.so
2037 sysv5uw[78]* | sysv4*uw2*)
2038 lt_cv_deplibs_check_method=pass_all
2041 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2042 case $host_vendor in
2044 lt_cv_deplibs_check_method=pass_all
2047 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]'
2048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2056 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2057 file_magic_cmd=$lt_cv_file_magic_cmd
2058 deplibs_check_method=$lt_cv_deplibs_check_method
2060 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2061 echo "configure:2062: checking for object suffix" >&5
2062 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2063 echo $ac_n "(cached) $ac_c" 1>&6
2066 echo 'int i = 1;' > conftest.$ac_ext
2067 if { (eval echo configure:2068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2068 for ac_file in conftest.*; do
2071 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2075 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2080 echo "$ac_t""$ac_cv_objext" 1>&6
2081 OBJEXT=$ac_cv_objext
2082 ac_objext=$ac_cv_objext
2084 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2086 # Only perform the check for file, if the check method requires it
2087 case $deplibs_check_method in
2089 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2090 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2091 echo "configure:2092: checking for ${ac_tool_prefix}file" >&5
2092 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2093 echo $ac_n "(cached) $ac_c" 1>&6
2097 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2100 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2103 ac_save_MAGIC_CMD="$MAGIC_CMD"
2104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2105 ac_dummy="/usr/bin:$PATH"
2106 for ac_dir in $ac_dummy; do
2107 test -z "$ac_dir" && ac_dir=.
2108 if test -f $ac_dir/${ac_tool_prefix}file; then
2109 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2110 if test -n "$file_magic_test_file"; then
2111 case $deplibs_check_method in
2113 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2114 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2115 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2116 egrep "$file_magic_regex" > /dev/null; then
2121 *** Warning: the command libtool uses to detect shared libraries,
2122 *** $file_magic_cmd, produces output that libtool cannot recognize.
2123 *** The result is that libtool may fail to recognize shared libraries
2124 *** as such. This will affect the creation of libtool libraries that
2125 *** depend on shared libraries, but programs linked with such libtool
2126 *** libraries will work regardless of this problem. Nevertheless, you
2127 *** may want to report the problem to your system manager and/or to
2128 *** bug-libtool@gnu.org
2138 MAGIC_CMD="$ac_save_MAGIC_CMD"
2143 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2144 if test -n "$MAGIC_CMD"; then
2145 echo "$ac_t""$MAGIC_CMD" 1>&6
2147 echo "$ac_t""no" 1>&6
2150 if test -z "$lt_cv_path_MAGIC_CMD"; then
2151 if test -n "$ac_tool_prefix"; then
2152 echo $ac_n "checking for file""... $ac_c" 1>&6
2153 echo "configure:2154: checking for file" >&5
2154 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2155 echo $ac_n "(cached) $ac_c" 1>&6
2159 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2162 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2165 ac_save_MAGIC_CMD="$MAGIC_CMD"
2166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2167 ac_dummy="/usr/bin:$PATH"
2168 for ac_dir in $ac_dummy; do
2169 test -z "$ac_dir" && ac_dir=.
2170 if test -f $ac_dir/file; then
2171 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2172 if test -n "$file_magic_test_file"; then
2173 case $deplibs_check_method in
2175 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2177 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2178 egrep "$file_magic_regex" > /dev/null; then
2183 *** Warning: the command libtool uses to detect shared libraries,
2184 *** $file_magic_cmd, produces output that libtool cannot recognize.
2185 *** The result is that libtool may fail to recognize shared libraries
2186 *** as such. This will affect the creation of libtool libraries that
2187 *** depend on shared libraries, but programs linked with such libtool
2188 *** libraries will work regardless of this problem. Nevertheless, you
2189 *** may want to report the problem to your system manager and/or to
2190 *** bug-libtool@gnu.org
2200 MAGIC_CMD="$ac_save_MAGIC_CMD"
2205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2206 if test -n "$MAGIC_CMD"; then
2207 echo "$ac_t""$MAGIC_CMD" 1>&6
2209 echo "$ac_t""no" 1>&6
2221 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2222 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2224 echo "configure:2225: checking for $ac_word" >&5
2225 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2226 echo $ac_n "(cached) $ac_c" 1>&6
2228 if test -n "$RANLIB"; then
2229 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2231 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2233 for ac_dir in $ac_dummy; do
2234 test -z "$ac_dir" && ac_dir=.
2235 if test -f $ac_dir/$ac_word; then
2236 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2243 RANLIB="$ac_cv_prog_RANLIB"
2244 if test -n "$RANLIB"; then
2245 echo "$ac_t""$RANLIB" 1>&6
2247 echo "$ac_t""no" 1>&6
2251 if test -z "$ac_cv_prog_RANLIB"; then
2252 if test -n "$ac_tool_prefix"; then
2253 # Extract the first word of "ranlib", so it can be a program name with args.
2254 set dummy ranlib; ac_word=$2
2255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2256 echo "configure:2257: checking for $ac_word" >&5
2257 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2258 echo $ac_n "(cached) $ac_c" 1>&6
2260 if test -n "$RANLIB"; then
2261 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2263 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2265 for ac_dir in $ac_dummy; do
2266 test -z "$ac_dir" && ac_dir=.
2267 if test -f $ac_dir/$ac_word; then
2268 ac_cv_prog_RANLIB="ranlib"
2273 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2276 RANLIB="$ac_cv_prog_RANLIB"
2277 if test -n "$RANLIB"; then
2278 echo "$ac_t""$RANLIB" 1>&6
2280 echo "$ac_t""no" 1>&6
2288 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}strip; ac_word=$2
2290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2291 echo "configure:2292: checking for $ac_word" >&5
2292 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2293 echo $ac_n "(cached) $ac_c" 1>&6
2295 if test -n "$STRIP"; then
2296 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2300 for ac_dir in $ac_dummy; do
2301 test -z "$ac_dir" && ac_dir=.
2302 if test -f $ac_dir/$ac_word; then
2303 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2310 STRIP="$ac_cv_prog_STRIP"
2311 if test -n "$STRIP"; then
2312 echo "$ac_t""$STRIP" 1>&6
2314 echo "$ac_t""no" 1>&6
2318 if test -z "$ac_cv_prog_STRIP"; then
2319 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "strip", so it can be a program name with args.
2321 set dummy strip; ac_word=$2
2322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2323 echo "configure:2324: checking for $ac_word" >&5
2324 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2325 echo $ac_n "(cached) $ac_c" 1>&6
2327 if test -n "$STRIP"; then
2328 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2332 for ac_dir in $ac_dummy; do
2333 test -z "$ac_dir" && ac_dir=.
2334 if test -f $ac_dir/$ac_word; then
2335 ac_cv_prog_STRIP="strip"
2340 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2343 STRIP="$ac_cv_prog_STRIP"
2344 if test -n "$STRIP"; then
2345 echo "$ac_t""$STRIP" 1>&6
2347 echo "$ac_t""no" 1>&6
2356 # Check for any special flags to pass to ltconfig.
2357 libtool_flags="--cache-file=$cache_file"
2358 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2359 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2360 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2361 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2362 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2363 libtool_flags="$libtool_flags --enable-dlopen"
2365 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2366 if test "${enable_libtool_lock+set}" = set; then
2367 enableval="$enable_libtool_lock"
2371 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2372 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2374 # Check whether --with-pic or --without-pic was given.
2375 if test "${with_pic+set}" = set; then
2382 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2383 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2385 # Some flags need to be propagated to the compiler or linker for good
2389 # Find out which ABI we are using.
2390 echo '#line 2391 "configure"' > conftest.$ac_ext
2391 if { (eval echo configure:2392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2392 case `/usr/bin/file conftest.$ac_objext` in
2408 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2409 SAVE_CFLAGS="$CFLAGS"
2410 CFLAGS="$CFLAGS -belf"
2411 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2412 echo "configure:2413: checking whether the C compiler needs -belf" >&5
2413 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2414 echo $ac_n "(cached) $ac_c" 1>&6
2418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2422 cross_compiling=$ac_cv_prog_cc_cross
2424 cat > conftest.$ac_ext <<EOF
2425 #line 2426 "configure"
2426 #include "confdefs.h"
2432 if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2434 lt_cv_cc_needs_belf=yes
2436 echo "configure: failed program was:" >&5
2437 cat conftest.$ac_ext >&5
2439 lt_cv_cc_needs_belf=no
2443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2447 cross_compiling=$ac_cv_prog_cc_cross
2451 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2452 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2453 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2454 CFLAGS="$SAVE_CFLAGS"
2461 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2462 echo "configure:2463: checking how to run the C++ preprocessor" >&5
2463 if test -z "$CXXCPP"; then
2464 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2465 echo $ac_n "(cached) $ac_c" 1>&6
2468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2469 ac_cpp='$CXXCPP $CPPFLAGS'
2470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2472 cross_compiling=$ac_cv_prog_cxx_cross
2473 CXXCPP="${CXX-g++} -E"
2474 cat > conftest.$ac_ext <<EOF
2475 #line 2476 "configure"
2476 #include "confdefs.h"
2479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2480 { (eval echo configure:2481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2482 if test -z "$ac_err"; then
2486 echo "configure: failed program was:" >&5
2487 cat conftest.$ac_ext >&5
2492 ac_cv_prog_CXXCPP="$CXXCPP"
2494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2495 ac_cpp='$CPP $CPPFLAGS'
2496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2498 cross_compiling=$ac_cv_prog_cc_cross
2501 CXXCPP="$ac_cv_prog_CXXCPP"
2502 echo "$ac_t""$CXXCPP" 1>&6
2505 # Save cache, so that ltconfig can load it
2506 cat > confcache <<\EOF
2507 # This file is a shell script that caches the results of configure
2508 # tests run on this system so they can be shared between configure
2509 # scripts and configure runs. It is not useful on other systems.
2510 # If it contains results you don't want to keep, you may remove or edit it.
2512 # By default, configure uses ./config.cache as the cache file,
2513 # creating it if it does not exist already. You can give configure
2514 # the --cache-file=FILE option to use a different cache file; that is
2515 # what configure does when it calls configure scripts in
2516 # subdirectories, so they share the cache.
2517 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2518 # config.status only pays attention to the cache file if you give it the
2519 # --recheck option to rerun configure.
2522 # The following way of writing the cache mishandles newlines in values,
2523 # but we know of no workaround that is simple, portable, and efficient.
2524 # So, don't put newlines in cache variables' values.
2525 # Ultrix sh set writes to stderr and can't be redirected directly,
2526 # and sets the high bit in the cache file unless we assign to the vars.
2528 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2530 # `set' does not quote correctly, so add quotes (double-quote substitution
2531 # turns \\\\ into \\, and sed turns \\ into \).
2533 -e "s/'/'\\\\''/g" \
2534 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2537 # `set' quotes correctly as required by POSIX, so do not add quotes.
2538 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2541 if cmp -s $cache_file confcache; then
2544 if test -w $cache_file; then
2545 echo "updating cache $cache_file"
2546 cat confcache > $cache_file
2548 echo "not updating unwritable cache $cache_file"
2554 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2555 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2556 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2557 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2558 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2559 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2560 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2561 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2562 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2563 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2565 # Reload cache, that may have been modified by ltconfig
2566 if test -r "$cache_file"; then
2567 echo "loading cache $cache_file"
2570 echo "creating cache $cache_file"
2575 # This can be used to rebuild libtool when needed
2576 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2578 # Always use our own libtool.
2579 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2581 # Redirect the config.log output again, so that the ltconfig log is not
2582 # clobbered by the next message.
2583 exec 5>>./config.log
2587 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2589 lt_save_CFLAGS="$CFLAGS"
2590 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2591 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2592 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2593 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2594 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2595 deplibs_check_method="$deplibs_check_method" \
2596 file_magic_cmd="$file_magic_cmd" \
2597 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2598 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2599 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2601 CFLAGS="$lt_save_CFLAGS"
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
2615 # Check for c++ or library specific bits that don't require linking.
2616 #GLIBCPP_CHECK_COMPILER_VERSION
2617 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2618 echo "configure:2619: checking for GNU make" >&5
2619 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2620 echo $ac_n "(cached) $ac_c" 1>&6
2622 _cv_gnu_make_command='' ;
2623 for a in "${MAKE-make}" make gmake gnumake ; do
2624 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2626 _cv_gnu_make_command=$a ;
2633 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2634 if test "x$_cv_gnu_make_command" != "x" ; then
2642 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2643 # Check whether --enable-debug or --disable-debug was given.
2644 if test "${enable_debug+set}" = set; then
2645 enableval="$enable_debug"
2646 case "${enableval}" in
2647 yes) enable_debug=yes ;;
2648 no) enable_debug=no ;;
2649 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2655 case "${enable_debug}" in
2657 DEBUG_FLAGS='-O0 -ggdb3'
2665 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2666 echo "configure:2667: checking how to run the C preprocessor" >&5
2667 # On Suns, sometimes $CPP names a directory.
2668 if test -n "$CPP" && test -d "$CPP"; then
2671 if test -z "$CPP"; then
2672 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2673 echo $ac_n "(cached) $ac_c" 1>&6
2675 # This must be in double quotes, not single quotes, because CPP may get
2676 # substituted into the Makefile and "${CC-cc}" will confuse make.
2678 # On the NeXT, cc -E runs the code through the compiler's parser,
2679 # not just through cpp.
2680 cat > conftest.$ac_ext <<EOF
2681 #line 2682 "configure"
2682 #include "confdefs.h"
2686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2687 { (eval echo configure:2688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2689 if test -z "$ac_err"; then
2693 echo "configure: failed program was:" >&5
2694 cat conftest.$ac_ext >&5
2696 CPP="${CC-cc} -E -traditional-cpp"
2697 cat > conftest.$ac_ext <<EOF
2698 #line 2699 "configure"
2699 #include "confdefs.h"
2703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2704 { (eval echo configure:2705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2706 if test -z "$ac_err"; then
2710 echo "configure: failed program was:" >&5
2711 cat conftest.$ac_ext >&5
2713 CPP="${CC-cc} -nologo -E"
2714 cat > conftest.$ac_ext <<EOF
2715 #line 2716 "configure"
2716 #include "confdefs.h"
2720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2721 { (eval echo configure:2722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2723 if test -z "$ac_err"; then
2727 echo "configure: failed program was:" >&5
2728 cat conftest.$ac_ext >&5
2737 ac_cv_prog_CPP="$CPP"
2739 CPP="$ac_cv_prog_CPP"
2741 ac_cv_prog_CPP="$CPP"
2743 echo "$ac_t""$CPP" 1>&6
2746 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2747 echo "configure:2748: checking for cstdio to use" >&5
2748 # Check whether --enable-cstdio or --disable-cstdio was given.
2749 if test "${enable_cstdio+set}" = set; then
2750 enableval="$enable_cstdio"
2751 if test x$enable_cstdio = xno; then
2759 enable_cstdio_flag=$enable_cstdio
2761 case x${enable_cstdio_flag} in
2763 CSTDIO_H=config/io/c_io_libio.h
2764 BASIC_FILE_H=config/io/basic_file_libio.h
2765 BASIC_FILE_CC=config/io/basic_file_libio.cc
2766 echo "$ac_t""libio" 1>&6
2768 # see if we are on a system with libio native (ie, linux)
2769 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2770 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2771 echo "configure:2772: checking for libio.h" >&5
2772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2773 echo $ac_n "(cached) $ac_c" 1>&6
2775 cat > conftest.$ac_ext <<EOF
2776 #line 2777 "configure"
2777 #include "confdefs.h"
2780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2781 { (eval echo configure:2782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2783 if test -z "$ac_err"; then
2785 eval "ac_cv_header_$ac_safe=yes"
2788 echo "configure: failed program was:" >&5
2789 cat conftest.$ac_ext >&5
2791 eval "ac_cv_header_$ac_safe=no"
2795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2796 echo "$ac_t""yes" 1>&6
2799 echo "$ac_t""no" 1>&6
2804 # Need to check and see what version of glibc is being used. If
2805 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2806 # compile most of libio for linux systems.
2807 if test x$has_libio = x"yes"; then
2810 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2811 echo "configure:2812: checking for glibc version >= 2.2" >&5
2812 cat > conftest.$ac_ext <<EOF
2813 #line 2814 "configure"
2814 #include "confdefs.h"
2816 #include <features.h>
2817 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2823 egrep "ok" >/dev/null 2>&1; then
2825 glibc_satisfactory=yes
2828 glibc_satisfactory=no
2832 echo "$ac_t""$glibc_satisfactory" 1>&6
2836 # XXX at the moment, admit defeat and force the recompilation
2837 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2838 glibc_satisfactory=no
2840 if test x$glibc_satisfactory = x"yes"; then
2845 # bkoz XXX need to add checks to enable this
2846 # pme XXX here's a first pass at such a check
2847 if test x$enable_c_mbchar != xno; then
2855 # Using libio, but <libio.h> doesn't exist on the target system. . .
2857 # bkoz XXX need to add checks to enable this
2858 # pme XXX here's a first pass at such a check
2859 if test x$enable_c_mbchar != xno; then
2866 xstdio | x | xno | xnone | xyes)
2868 CSTDIO_H=config/io/c_io_stdio.h
2869 BASIC_FILE_H=config/io/basic_file_stdio.h
2870 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2871 echo "$ac_t""stdio" 1>&6
2873 # We're not using stdio.
2878 echo "$enable_cstdio is an unknown io package" 1>&2
2886 # 2000-08-04 bkoz hack
2887 CCODECVT_C=config/io/c_io_libio_codecvt.c
2889 # 2000-08-04 bkoz hack
2893 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2894 GLIBCPP_BUILD_LIBIO_TRUE=
2895 GLIBCPP_BUILD_LIBIO_FALSE='#'
2897 GLIBCPP_BUILD_LIBIO_TRUE='#'
2898 GLIBCPP_BUILD_LIBIO_FALSE=
2902 if test "$need_libio" = yes; then
2903 GLIBCPP_NEED_LIBIO_TRUE=
2904 GLIBCPP_NEED_LIBIO_FALSE='#'
2906 GLIBCPP_NEED_LIBIO_TRUE='#'
2907 GLIBCPP_NEED_LIBIO_FALSE=
2911 if test "$need_wlibio" = yes; then
2912 GLIBCPP_NEED_WLIBIO_TRUE=
2913 GLIBCPP_NEED_WLIBIO_FALSE='#'
2915 GLIBCPP_NEED_WLIBIO_TRUE='#'
2916 GLIBCPP_NEED_WLIBIO_FALSE=
2918 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2919 libio_la=../libio/libio.la
2926 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2927 echo "configure:2928: checking for clocale to use" >&5
2928 # Check whether --enable-clocale or --disable-clocale was given.
2929 if test "${enable_clocale+set}" = set; then
2930 enableval="$enable_clocale"
2931 if test x$enable_clocale = xno; then
2939 enable_clocale_flag=$enable_clocale
2941 if test x$enable_clocale_flag = xno; then
2942 case x${target_os} in
2944 cat > conftest.$ac_ext <<EOF
2945 #line 2946 "configure"
2946 #include "confdefs.h"
2948 #include <features.h>
2949 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2955 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2957 enable_clocale_flag=gnu
2960 enable_clocale_flag=generic
2965 # Test for bugs early in glibc-2.2.x series
2966 if test x$enable_clocale_flag = xgnu; then
2967 if test "$cross_compiling" = yes; then
2968 enable_clocale_flag=generic
2970 cat > conftest.$ac_ext <<EOF
2971 #line 2972 "configure"
2972 #include "confdefs.h"
2974 #define _GNU_SOURCE 1
2978 const char __one[] = "Äuglein Augmen";
2979 const char __two[] = "Äuglein";
2984 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
2985 loc_dup = __duplocale(loc);
2986 i = __strcoll_l(__one, __two, loc);
2987 j = __strcoll_l(__one, __two, loc_dup);
2992 if { (eval echo configure:2993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2994 enable_clocale_flag=gnu
2996 echo "configure: failed program was:" >&5
2997 cat conftest.$ac_ext >&5
2999 enable_clocale_flag=generic
3006 # ... at some point put __strxfrm_l tests in as well.
3009 enable_clocale_flag=generic
3014 case x${enable_clocale_flag} in
3016 echo "$ac_t""generic" 1>&6
3018 # Don't use gettext.
3021 CLOCALE_H=config/locale/c_locale_generic.h
3022 CLOCALE_CC=config/locale/c_locale_generic.cc
3023 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3024 CCOLLATE_CC=config/locale/collate_members_generic.cc
3025 CCTYPE_CC=config/locale/ctype_members_generic.cc
3026 CMESSAGES_H=config/locale/messages_members_generic.h
3027 CMESSAGES_CC=config/locale/messages_members_generic.cc
3028 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3029 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3030 CTIME_CC=config/locale/time_members_generic.cc
3033 echo "$ac_t""gnu" 1>&6
3035 # Declare intention to use gettext, and add support for specific
3037 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3039 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3040 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3043 # Export the build objects.
3044 for ling in $ALL_LINGUAS; do \
3045 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3046 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3051 CLOCALE_H=config/locale/c_locale_gnu.h
3052 CLOCALE_CC=config/locale/c_locale_gnu.cc
3053 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3054 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3055 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3056 CMESSAGES_H=config/locale/messages_members_gnu.h
3057 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3058 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3059 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3060 CTIME_CC=config/locale/time_members_gnu.cc
3063 echo "$ac_t""generic" 1>&6
3065 # Don't use gettext.
3068 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3069 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3070 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3071 CCOLLATE_CC=config/locale/collate_members_generic.cc
3072 CCTYPE_CC=config/locale/ctype_members_generic.cc
3073 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3074 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3075 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3076 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3077 CTIME_CC=config/locale/time_members_generic.cc
3080 echo "$enable_clocale is an unknown locale package" 1>&2
3085 # This is where the testsuite looks for locale catalogs, using the
3086 # -DLOCALEDIR define during testsuite compilation.
3087 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3102 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3103 if test "${enable_c_mbchar+set}" = set; then
3104 enableval="$enable_c_mbchar"
3105 case "$enableval" in
3106 yes) enable_c_mbchar=yes ;;
3107 no) enable_c_mbchar=no ;;
3108 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3115 # Check whether --enable-c99 or --disable-c99 was given.
3116 if test "${enable_c99+set}" = set; then
3117 enableval="$enable_c99"
3118 case "$enableval" in
3119 yes) enable_c99=yes ;;
3120 no) enable_c99=no ;;
3121 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3130 ac_cpp='$CXXCPP $CPPFLAGS'
3131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3133 cross_compiling=$ac_cv_prog_cxx_cross
3136 # Check for the existence of <math.h> functions used if C99 is enabled.
3138 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3139 echo "configure:3140: checking for ISO C99 support in <math.h>" >&5
3140 cat > conftest.$ac_ext <<EOF
3141 #line 3142 "configure"
3142 #include "confdefs.h"
3148 if { (eval echo configure:3149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3151 echo "configure: failed program was:" >&5
3152 cat conftest.$ac_ext >&5
3157 cat > conftest.$ac_ext <<EOF
3158 #line 3159 "configure"
3159 #include "confdefs.h"
3165 if { (eval echo configure:3166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3168 echo "configure: failed program was:" >&5
3169 cat conftest.$ac_ext >&5
3174 cat > conftest.$ac_ext <<EOF
3175 #line 3176 "configure"
3176 #include "confdefs.h"
3182 if { (eval echo configure:3183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3185 echo "configure: failed program was:" >&5
3186 cat conftest.$ac_ext >&5
3191 cat > conftest.$ac_ext <<EOF
3192 #line 3193 "configure"
3193 #include "confdefs.h"
3199 if { (eval echo configure:3200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3202 echo "configure: failed program was:" >&5
3203 cat conftest.$ac_ext >&5
3208 cat > conftest.$ac_ext <<EOF
3209 #line 3210 "configure"
3210 #include "confdefs.h"
3216 if { (eval echo configure:3217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3219 echo "configure: failed program was:" >&5
3220 cat conftest.$ac_ext >&5
3225 cat > conftest.$ac_ext <<EOF
3226 #line 3227 "configure"
3227 #include "confdefs.h"
3233 if { (eval echo configure:3234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3236 echo "configure: failed program was:" >&5
3237 cat conftest.$ac_ext >&5
3242 cat > conftest.$ac_ext <<EOF
3243 #line 3244 "configure"
3244 #include "confdefs.h"
3250 if { (eval echo configure:3251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3253 echo "configure: failed program was:" >&5
3254 cat conftest.$ac_ext >&5
3259 cat > conftest.$ac_ext <<EOF
3260 #line 3261 "configure"
3261 #include "confdefs.h"
3264 isgreaterequal(0.0,0.0);
3267 if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3270 echo "configure: failed program was:" >&5
3271 cat conftest.$ac_ext >&5
3276 cat > conftest.$ac_ext <<EOF
3277 #line 3278 "configure"
3278 #include "confdefs.h"
3284 if { (eval echo configure:3285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3287 echo "configure: failed program was:" >&5
3288 cat conftest.$ac_ext >&5
3293 cat > conftest.$ac_ext <<EOF
3294 #line 3295 "configure"
3295 #include "confdefs.h"
3298 islessequal(0.0,0.0);
3301 if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3304 echo "configure: failed program was:" >&5
3305 cat conftest.$ac_ext >&5
3310 cat > conftest.$ac_ext <<EOF
3311 #line 3312 "configure"
3312 #include "confdefs.h"
3315 islessgreater(0.0,0.0);
3318 if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3321 echo "configure: failed program was:" >&5
3322 cat conftest.$ac_ext >&5
3327 cat > conftest.$ac_ext <<EOF
3328 #line 3329 "configure"
3329 #include "confdefs.h"
3332 isunordered(0.0,0.0);
3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3338 echo "configure: failed program was:" >&5
3339 cat conftest.$ac_ext >&5
3344 echo "$ac_t""$ac_c99_math" 1>&6
3346 # Check for the existence in <stdio.h> of vscanf, et. al.
3348 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3349 echo "configure:3350: checking for ISO C99 support in <stdio.h>" >&5
3350 cat > conftest.$ac_ext <<EOF
3351 #line 3352 "configure"
3352 #include "confdefs.h"
3355 snprintf("12", 0, "%i");
3358 if { (eval echo configure:3359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3361 echo "configure: failed program was:" >&5
3362 cat conftest.$ac_ext >&5
3367 cat > conftest.$ac_ext <<EOF
3368 #line 3369 "configure"
3369 #include "confdefs.h"
3372 void foo(char* fmt, ...)
3373 {va_list args; va_start(args, fmt);
3374 vfscanf(stderr, "%i", args);}
3379 if { (eval echo configure:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3382 echo "configure: failed program was:" >&5
3383 cat conftest.$ac_ext >&5
3388 cat > conftest.$ac_ext <<EOF
3389 #line 3390 "configure"
3390 #include "confdefs.h"
3393 void foo(char* fmt, ...)
3394 {va_list args; va_start(args, fmt);
3395 vscanf("%i", args);}
3400 if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3403 echo "configure: failed program was:" >&5
3404 cat conftest.$ac_ext >&5
3409 cat > conftest.$ac_ext <<EOF
3410 #line 3411 "configure"
3411 #include "confdefs.h"
3414 void foo(char* fmt, ...)
3415 {va_list args; va_start(args, fmt);
3416 vsnprintf(fmt, 0, "%i", args);}
3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3424 echo "configure: failed program was:" >&5
3425 cat conftest.$ac_ext >&5
3430 cat > conftest.$ac_ext <<EOF
3431 #line 3432 "configure"
3432 #include "confdefs.h"
3435 void foo(char* fmt, ...)
3436 {va_list args; va_start(args, fmt);
3437 vsscanf(fmt, "%i", args);}
3442 if { (eval echo configure:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3445 echo "configure: failed program was:" >&5
3446 cat conftest.$ac_ext >&5
3451 echo "$ac_t""$ac_c99_stdio" 1>&6
3453 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3455 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3456 echo "configure:3457: checking for lldiv_t declaration" >&5
3457 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3458 echo $ac_n "(cached) $ac_c" 1>&6
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure"
3463 #include "confdefs.h"
3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3473 echo "configure: failed program was:" >&5
3474 cat conftest.$ac_ext >&5
3482 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3484 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3485 echo "configure:3486: checking for ISO C99 support in <stdlib.h>" >&5
3486 cat > conftest.$ac_ext <<EOF
3487 #line 3488 "configure"
3488 #include "confdefs.h"
3491 char* tmp; strtof("gnu", &tmp);
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure: failed program was:" >&5
3498 cat conftest.$ac_ext >&5
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure"
3505 #include "confdefs.h"
3508 char* tmp; strtold("gnu", &tmp);
3511 if { (eval echo configure:3512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3514 echo "configure: failed program was:" >&5
3515 cat conftest.$ac_ext >&5
3520 cat > conftest.$ac_ext <<EOF
3521 #line 3522 "configure"
3522 #include "confdefs.h"
3528 if { (eval echo configure:3529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3531 echo "configure: failed program was:" >&5
3532 cat conftest.$ac_ext >&5
3537 cat > conftest.$ac_ext <<EOF
3538 #line 3539 "configure"
3539 #include "confdefs.h"
3545 if { (eval echo configure:3546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3548 echo "configure: failed program was:" >&5
3549 cat conftest.$ac_ext >&5
3554 cat > conftest.$ac_ext <<EOF
3555 #line 3556 "configure"
3556 #include "confdefs.h"
3562 if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3565 echo "configure: failed program was:" >&5
3566 cat conftest.$ac_ext >&5
3571 cat > conftest.$ac_ext <<EOF
3572 #line 3573 "configure"
3573 #include "confdefs.h"
3579 if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3582 echo "configure: failed program was:" >&5
3583 cat conftest.$ac_ext >&5
3588 if test x"$ac_c99_lldiv_t" = x"no"; then
3591 echo "$ac_t""$ac_c99_stdlib" 1>&6
3593 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3594 # XXX the wchar.h checks should be rolled into the general C99 bits.
3596 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3597 echo "configure:3598: checking for additional ISO C99 support in <wchar.h>" >&5
3598 cat > conftest.$ac_ext <<EOF
3599 #line 3600 "configure"
3600 #include "confdefs.h"
3603 wcstold(L"10.0", NULL);
3606 if { (eval echo configure:3607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3609 echo "configure: failed program was:" >&5
3610 cat conftest.$ac_ext >&5
3615 cat > conftest.$ac_ext <<EOF
3616 #line 3617 "configure"
3617 #include "confdefs.h"
3620 wcstoll(L"10", NULL, 10);
3623 if { (eval echo configure:3624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3626 echo "configure: failed program was:" >&5
3627 cat conftest.$ac_ext >&5
3632 cat > conftest.$ac_ext <<EOF
3633 #line 3634 "configure"
3634 #include "confdefs.h"
3637 wcstoull(L"10", NULL, 10);
3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3643 echo "configure: failed program was:" >&5
3644 cat conftest.$ac_ext >&5
3649 echo "$ac_t""$ac_c99_wchar" 1>&6
3651 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3652 echo "configure:3653: checking for enabled ISO C99 support" >&5
3653 if test x"$ac_c99_math" = x"no" ||
3654 test x"$ac_c99_stdio" = x"no" ||
3655 test x"$ac_c99_stdlib" = x"no" ||
3656 test x"$ac_c99_wchar" = x"no"; then
3659 echo "$ac_t""$enable_c99" 1>&6
3661 # Option parsed, now set things appropriately
3662 if test x"$enable_c99" = x"yes"; then
3663 cat >> confdefs.h <<\EOF
3664 #define _GLIBCPP_USE_C99 1
3670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3674 cross_compiling=$ac_cv_prog_cc_cross
3678 # Check whether --enable-long-long or --disable-long-long was given.
3679 if test "${enable_long_long+set}" = set; then
3680 enableval="$enable_long_long"
3681 case "$enableval" in
3682 yes) enable_long_long=yes ;;
3683 no) enable_long_long=no ;;
3684 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3687 enable_long_long=yes
3692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3693 ac_cpp='$CXXCPP $CPPFLAGS'
3694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3696 cross_compiling=$ac_cv_prog_cxx_cross
3699 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3700 echo "configure:3701: checking for enabled long long I/O support" >&5
3701 # iostreams require strtoll, strtoull to compile
3702 cat > conftest.$ac_ext <<EOF
3703 #line 3704 "configure"
3704 #include "confdefs.h"
3707 char* tmp; strtoll("gnu", &tmp, 10);
3710 if { (eval echo configure:3711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3713 echo "configure: failed program was:" >&5
3714 cat conftest.$ac_ext >&5
3719 cat > conftest.$ac_ext <<EOF
3720 #line 3721 "configure"
3721 #include "confdefs.h"
3724 char* tmp; strtoull("gnu", &tmp, 10);
3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730 echo "configure: failed program was:" >&5
3731 cat conftest.$ac_ext >&5
3737 # Option parsed, now set things appropriately
3738 if test x"$enable_long_long" = xyes; then
3739 cat >> confdefs.h <<\EOF
3740 #define _GLIBCPP_USE_LONG_LONG 1
3744 echo "$ac_t""$enable_long_long" 1>&6
3747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3748 ac_cpp='$CPP $CPPFLAGS'
3749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3751 cross_compiling=$ac_cv_prog_cc_cross
3754 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3755 echo "configure:3756: checking for c header strategy to use" >&5
3756 # Check whether --enable-cheaders or --disable-cheaders was given.
3757 if test "${enable_cheaders+set}" = set; then
3758 enableval="$enable_cheaders"
3760 case "$enableval" in
3765 enable_cheaders=c_std
3768 enable_cheaders=c_shadow
3770 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3774 enable_cheaders=c_std
3777 echo "$ac_t""$enable_cheaders" 1>&6
3779 case "$enable_cheaders" in
3781 CSHADOW_FLAGS="-fno-builtin"
3782 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3783 cat >> confdefs.h <<\EOF
3784 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3790 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3794 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3802 if test "$enable_cheaders" = c_shadow; then
3803 GLIBCPP_USE_CSHADOW_TRUE=
3804 GLIBCPP_USE_CSHADOW_FALSE='#'
3806 GLIBCPP_USE_CSHADOW_TRUE='#'
3807 GLIBCPP_USE_CSHADOW_FALSE=
3811 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3812 echo "configure:3813: checking for thread model used by GCC" >&5
3813 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3814 echo "$ac_t""$target_thread_file" 1>&6
3816 if test $target_thread_file != single; then
3817 cat >> confdefs.h <<\EOF
3818 #define HAVE_GTHR_DEFAULT 1
3821 cat >> confdefs.h <<\EOF
3822 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3827 glibcpp_thread_h=gthr-$target_thread_file.h
3830 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3831 if test "${enable_cxx_flags+set}" = set; then
3832 enableval="$enable_cxx_flags"
3833 case "x$enableval" in
3835 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3837 enable_cxx_flags='' ;;
3839 enable_cxx_flags="$enableval" ;;
3842 enable_cxx_flags='none'
3846 if test "$enable_cxx_flags" = "none"; then
3847 enable_cxx_flags='';
3850 if test -n "$enable_cxx_flags"; then
3851 for f in $enable_cxx_flags; do
3855 *) # and we're trying to pass /what/ exactly?
3856 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3860 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3864 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3865 echo "configure:3866: checking for exception model to use" >&5
3868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3869 ac_cpp='$CXXCPP $CPPFLAGS'
3870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3872 cross_compiling=$ac_cv_prog_cxx_cross
3874 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3875 if test "${enable_sjlj_exceptions+set}" = set; then
3876 enableval="$enable_sjlj_exceptions"
3879 cat > conftest.$ac_ext << EOF
3880 #line 3881 "configure"
3889 old_CXXFLAGS="$CXXFLAGS"
3891 if { (eval echo configure:3892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3892 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3893 enable_sjlj_exceptions=yes
3894 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3895 enable_sjlj_exceptions=no
3898 CXXFLAGS="$old_CXXFLAGS"
3902 if test x$enable_sjlj_exceptions = xyes; then
3903 cat >> confdefs.h <<\EOF
3904 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3907 ac_exception_model_name=sjlj
3908 elif test x$enable_sjlj_exceptions = xno; then
3909 ac_exception_model_name="call frame"
3911 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3915 ac_cpp='$CPP $CPPFLAGS'
3916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3918 cross_compiling=$ac_cv_prog_cc_cross
3920 echo "$ac_t""$ac_exception_model_name" 1>&6
3922 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3923 if test "${enable_concept_checks+set}" = set; then
3924 enableval="$enable_concept_checks"
3925 case "$enableval" in
3926 yes) enable_concept_checks=yes ;;
3927 no) enable_concept_checks=no ;;
3928 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3931 enable_concept_checks=no
3933 if test x"$enable_concept_checks" = xyes; then
3934 cat >> confdefs.h <<\EOF
3935 #define _GLIBCPP_CONCEPT_CHECKS 1
3942 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3944 # This lets us hard-code the functionality we know
3945 # we'll have in the cross target environment. "Let" is a
3946 # sugar-coated word placed on an especially dull and tedious hack, actually.
3947 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3948 # that involve linking can't be used:
3949 # "cannot open sim-crt0.o"
3950 # "cannot open crt0.o"
3951 # etc. All this is because there currently exists no unified,
3952 # consistent way for top level CC information to be passed down
3953 # to target directories: newlib includes, newlib linking info,
3954 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3955 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3957 # We are being configured with some form of cross compiler.
3958 GLIBCPP_IS_CROSS_COMPILING=1
3960 # If Canadian cross, then don't pick up tools from the build
3962 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3968 # Construct crosses by hand, eliminating bits that need ld...
3969 # GLIBCPP_CHECK_COMPILER_FEATURES
3970 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3971 # GLIBCPP_CHECK_MATH_SUPPORT
3973 case "$target_alias" in
3975 # Check for available headers.
3976 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3977 machine/endian.h machine/param.h sys/machine.h sys/types.h \
3978 fp.h locale.h float.h inttypes.h
3980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3982 echo "configure:3983: checking for $ac_hdr" >&5
3983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3984 echo $ac_n "(cached) $ac_c" 1>&6
3986 cat > conftest.$ac_ext <<EOF
3987 #line 3988 "configure"
3988 #include "confdefs.h"
3991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3992 { (eval echo configure:3993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3994 if test -z "$ac_err"; then
3996 eval "ac_cv_header_$ac_safe=yes"
3999 echo "configure: failed program was:" >&5
4000 cat conftest.$ac_ext >&5
4002 eval "ac_cv_header_$ac_safe=no"
4006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4007 echo "$ac_t""yes" 1>&6
4008 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4009 cat >> confdefs.h <<EOF
4010 #define $ac_tr_hdr 1
4014 echo "$ac_t""no" 1>&6
4018 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4021 # If we're not using GNU ld, then there's no point in even trying these
4022 # tests. Check for that first. We should have already tested for gld
4023 # by now (in libtool), but require it now just to be safe...
4024 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4025 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4028 # Set --gc-sections.
4029 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4030 # GNU ld it is! Joy and bunny rabbits!
4032 # All these tests are for C++; save the language and the compiler flags.
4033 # Need to do this so that g++ won't try to link in libstdc++
4034 ac_test_CFLAGS="${CFLAGS+set}"
4035 ac_save_CFLAGS="$CFLAGS"
4036 CFLAGS='-x c++ -Wl,--gc-sections'
4038 # Check for -Wl,--gc-sections
4039 # XXX This test is broken at the moment, as symbols required for
4040 # linking are now in libsupc++ (not built yet.....). In addition,
4041 # this test has cored on solaris in the past. In addition,
4042 # --gc-sections doesn't really work at the moment (keeps on discarding
4043 # used sections, first .eh_frame and now some of the glibc sections for
4044 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4045 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4046 echo "configure:4047: checking for ld that supports -Wl,--gc-sections" >&5
4047 if test "$cross_compiling" = yes; then
4048 ac_sectionLDflags=yes
4050 cat > conftest.$ac_ext <<EOF
4051 #line 4052 "configure"
4052 #include "confdefs.h"
4062 if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4064 ac_sectionLDflags=yes
4066 echo "configure: failed program was:" >&5
4067 cat conftest.$ac_ext >&5
4069 ac_sectionLDflags=no
4074 if test "$ac_test_CFLAGS" = set; then
4075 CFLAGS="$ac_save_CFLAGS"
4077 # this is the suspicious part
4080 if test "$ac_sectionLDflags" = "yes"; then
4081 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4083 echo "$ac_t""$ac_sectionLDflags" 1>&6
4086 # Set linker optimization flags.
4087 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4088 test x"$enable_debug" = x"no"; then
4089 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4096 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4097 echo "configure:4098: checking for main in -lm" >&5
4098 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4099 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4100 echo $ac_n "(cached) $ac_c" 1>&6
4102 ac_save_LIBS="$LIBS"
4104 cat > conftest.$ac_ext <<EOF
4105 #line 4106 "configure"
4106 #include "confdefs.h"
4112 if { (eval echo configure:4113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4114 eval "ac_cv_lib_$ac_lib_var=yes"
4116 echo "configure: failed program was:" >&5
4117 cat conftest.$ac_ext >&5
4119 eval "ac_cv_lib_$ac_lib_var=no"
4122 LIBS="$ac_save_LIBS"
4125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4126 echo "$ac_t""yes" 1>&6
4127 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4128 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4129 cat >> confdefs.h <<EOF
4130 #define $ac_tr_lib 1
4136 echo "$ac_t""no" 1>&6
4139 for ac_func in nan copysignf
4141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4142 echo "configure:4143: checking for $ac_func" >&5
4143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4144 echo $ac_n "(cached) $ac_c" 1>&6
4146 cat > conftest.$ac_ext <<EOF
4147 #line 4148 "configure"
4148 #include "confdefs.h"
4149 /* System header to define __stub macros and hopefully few prototypes,
4150 which can conflict with char $ac_func(); below. */
4152 /* Override any gcc2 internal prototype to avoid an error. */
4153 /* We use char because int might match the return type of a gcc2
4154 builtin and then its argument prototype would still apply. */
4159 /* The GNU C library defines this for functions which it implements
4160 to always fail with ENOSYS. Some functions are actually named
4161 something starting with __ and the normal name is an alias. */
4162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4170 if { (eval echo configure:4171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4172 eval "ac_cv_func_$ac_func=yes"
4174 echo "configure: failed program was:" >&5
4175 cat conftest.$ac_ext >&5
4177 eval "ac_cv_func_$ac_func=no"
4182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4183 echo "$ac_t""yes" 1>&6
4184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4185 cat >> confdefs.h <<EOF
4186 #define $ac_tr_func 1
4190 echo "$ac_t""no" 1>&6
4191 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4197 USE_COMPLEX_LONG_DOUBLE=no
4198 if test x$ac_cv_func_copysignl = x"yes"; then
4199 USE_COMPLEX_LONG_DOUBLE=yes
4200 for ac_func in signbitl
4202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4203 echo "configure:4204: checking for $ac_func" >&5
4204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4205 echo $ac_n "(cached) $ac_c" 1>&6
4207 cat > conftest.$ac_ext <<EOF
4208 #line 4209 "configure"
4209 #include "confdefs.h"
4210 /* System header to define __stub macros and hopefully few prototypes,
4211 which can conflict with char $ac_func(); below. */
4213 /* Override any gcc2 internal prototype to avoid an error. */
4214 /* We use char because int might match the return type of a gcc2
4215 builtin and then its argument prototype would still apply. */
4220 /* The GNU C library defines this for functions which it implements
4221 to always fail with ENOSYS. Some functions are actually named
4222 something starting with __ and the normal name is an alias. */
4223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4231 if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4233 eval "ac_cv_func_$ac_func=yes"
4235 echo "configure: failed program was:" >&5
4236 cat conftest.$ac_ext >&5
4238 eval "ac_cv_func_$ac_func=no"
4243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4244 echo "$ac_t""yes" 1>&6
4245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4246 cat >> confdefs.h <<EOF
4247 #define $ac_tr_func 1
4251 echo "$ac_t""no" 1>&6
4252 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4263 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4264 echo "configure:4265: checking for mbstate_t" >&5
4265 cat > conftest.$ac_ext <<EOF
4266 #line 4267 "configure"
4267 #include "confdefs.h"
4270 mbstate_t teststate;
4273 if { (eval echo configure:4274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4277 echo "configure: failed program was:" >&5
4278 cat conftest.$ac_ext >&5
4283 echo "$ac_t""$have_mbstate_t" 1>&6
4284 if test x"$have_mbstate_t" = xyes; then
4285 cat >> confdefs.h <<\EOF
4286 #define HAVE_MBSTATE_T 1
4291 for ac_hdr in wchar.h
4293 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4295 echo "configure:4296: checking for $ac_hdr" >&5
4296 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4297 echo $ac_n "(cached) $ac_c" 1>&6
4299 cat > conftest.$ac_ext <<EOF
4300 #line 4301 "configure"
4301 #include "confdefs.h"
4304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4305 { (eval echo configure:4306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4307 if test -z "$ac_err"; then
4309 eval "ac_cv_header_$ac_safe=yes"
4312 echo "configure: failed program was:" >&5
4313 cat conftest.$ac_ext >&5
4315 eval "ac_cv_header_$ac_safe=no"
4319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4320 echo "$ac_t""yes" 1>&6
4321 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4322 cat >> confdefs.h <<EOF
4323 #define $ac_tr_hdr 1
4327 echo "$ac_t""no" 1>&6
4332 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4333 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4334 echo "configure:4335: checking for wctype.h" >&5
4335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4336 echo $ac_n "(cached) $ac_c" 1>&6
4338 cat > conftest.$ac_ext <<EOF
4339 #line 4340 "configure"
4340 #include "confdefs.h"
4343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4344 { (eval echo configure:4345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4346 if test -z "$ac_err"; then
4348 eval "ac_cv_header_$ac_safe=yes"
4351 echo "configure: failed program was:" >&5
4352 cat conftest.$ac_ext >&5
4354 eval "ac_cv_header_$ac_safe=no"
4358 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4359 echo "$ac_t""yes" 1>&6
4362 echo "$ac_t""no" 1>&6
4367 if test x"$ac_has_wchar_h" = xyes &&
4368 test x"$ac_has_wctype_h" = xyes &&
4369 test x"$enable_c_mbchar" != xno; then
4371 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4372 echo "configure:4373: checking for WCHAR_MIN and WCHAR_MAX" >&5
4373 cat > conftest.$ac_ext <<EOF
4374 #line 4375 "configure"
4375 #include "confdefs.h"
4378 int i = WCHAR_MIN; int j = WCHAR_MAX;
4381 if { (eval echo configure:4382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4383 has_wchar_minmax=yes
4385 echo "configure: failed program was:" >&5
4386 cat conftest.$ac_ext >&5
4391 echo "$ac_t""$has_wchar_minmax" 1>&6
4393 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4394 echo "configure:4395: checking for WEOF" >&5
4395 cat > conftest.$ac_ext <<EOF
4396 #line 4397 "configure"
4397 #include "confdefs.h"
4405 if { (eval echo configure:4406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4409 echo "configure: failed program was:" >&5
4410 cat conftest.$ac_ext >&5
4415 echo "$ac_t""$has_weof" 1>&6
4418 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4421 echo "configure:4422: checking for $ac_func" >&5
4422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4423 echo $ac_n "(cached) $ac_c" 1>&6
4425 cat > conftest.$ac_ext <<EOF
4426 #line 4427 "configure"
4427 #include "confdefs.h"
4428 /* System header to define __stub macros and hopefully few prototypes,
4429 which can conflict with char $ac_func(); below. */
4431 /* Override any gcc2 internal prototype to avoid an error. */
4432 /* We use char because int might match the return type of a gcc2
4433 builtin and then its argument prototype would still apply. */
4438 /* The GNU C library defines this for functions which it implements
4439 to always fail with ENOSYS. Some functions are actually named
4440 something starting with __ and the normal name is an alias. */
4441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4451 eval "ac_cv_func_$ac_func=yes"
4453 echo "configure: failed program was:" >&5
4454 cat conftest.$ac_ext >&5
4456 eval "ac_cv_func_$ac_func=no"
4461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4462 echo "$ac_t""yes" 1>&6
4463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4464 cat >> confdefs.h <<EOF
4465 #define $ac_tr_func 1
4469 echo "$ac_t""no" 1>&6
4476 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4477 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4478 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4479 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4480 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4481 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4484 echo "configure:4485: checking for $ac_func" >&5
4485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4486 echo $ac_n "(cached) $ac_c" 1>&6
4488 cat > conftest.$ac_ext <<EOF
4489 #line 4490 "configure"
4490 #include "confdefs.h"
4491 /* System header to define __stub macros and hopefully few prototypes,
4492 which can conflict with char $ac_func(); below. */
4494 /* Override any gcc2 internal prototype to avoid an error. */
4495 /* We use char because int might match the return type of a gcc2
4496 builtin and then its argument prototype would still apply. */
4501 /* The GNU C library defines this for functions which it implements
4502 to always fail with ENOSYS. Some functions are actually named
4503 something starting with __ and the normal name is an alias. */
4504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4512 if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4514 eval "ac_cv_func_$ac_func=yes"
4516 echo "configure: failed program was:" >&5
4517 cat conftest.$ac_ext >&5
4519 eval "ac_cv_func_$ac_func=no"
4524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4525 echo "$ac_t""yes" 1>&6
4526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4527 cat >> confdefs.h <<EOF
4528 #define $ac_tr_func 1
4532 echo "$ac_t""no" 1>&6
4539 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4540 echo "configure:4541: checking for ISO C99 wchar_t support" >&5
4541 if test x"$has_weof" = xyes &&
4542 test x"$has_wchar_minmax" = xyes &&
4543 test x"$ac_wfuncs" = xyes; then
4544 ac_isoC99_wchar_t=yes
4546 ac_isoC99_wchar_t=no
4548 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4550 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4551 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4552 echo "configure:4553: checking for iconv.h" >&5
4553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4554 echo $ac_n "(cached) $ac_c" 1>&6
4556 cat > conftest.$ac_ext <<EOF
4557 #line 4558 "configure"
4558 #include "confdefs.h"
4561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4562 { (eval echo configure:4563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4564 if test -z "$ac_err"; then
4566 eval "ac_cv_header_$ac_safe=yes"
4569 echo "configure: failed program was:" >&5
4570 cat conftest.$ac_ext >&5
4572 eval "ac_cv_header_$ac_safe=no"
4576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4577 echo "$ac_t""yes" 1>&6
4580 echo "$ac_t""no" 1>&6
4584 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4585 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4586 echo "configure:4587: checking for langinfo.h" >&5
4587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4588 echo $ac_n "(cached) $ac_c" 1>&6
4590 cat > conftest.$ac_ext <<EOF
4591 #line 4592 "configure"
4592 #include "confdefs.h"
4593 #include <langinfo.h>
4595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4596 { (eval echo configure:4597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4598 if test -z "$ac_err"; then
4600 eval "ac_cv_header_$ac_safe=yes"
4603 echo "configure: failed program was:" >&5
4604 cat conftest.$ac_ext >&5
4606 eval "ac_cv_header_$ac_safe=no"
4610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4611 echo "$ac_t""yes" 1>&6
4612 ac_has_langinfo_h=yes
4614 echo "$ac_t""no" 1>&6
4615 ac_has_langinfo_h=no
4619 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4620 echo "configure:4621: checking for iconv in -liconv" >&5
4621 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4623 echo $ac_n "(cached) $ac_c" 1>&6
4625 ac_save_LIBS="$LIBS"
4626 LIBS="-liconv $LIBS"
4627 cat > conftest.$ac_ext <<EOF
4628 #line 4629 "configure"
4629 #include "confdefs.h"
4630 /* Override any gcc2 internal prototype to avoid an error. */
4631 /* We use char because int might match the return type of a gcc2
4632 builtin and then its argument prototype would still apply. */
4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4641 eval "ac_cv_lib_$ac_lib_var=yes"
4643 echo "configure: failed program was:" >&5
4644 cat conftest.$ac_ext >&5
4646 eval "ac_cv_lib_$ac_lib_var=no"
4649 LIBS="$ac_save_LIBS"
4652 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4653 echo "$ac_t""yes" 1>&6
4656 echo "$ac_t""no" 1>&6
4659 ac_save_LIBS="$LIBS"
4660 LIBS="$LIBS $libiconv"
4662 for ac_func in iconv_open iconv_close iconv nl_langinfo
4664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4665 echo "configure:4666: checking for $ac_func" >&5
4666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4667 echo $ac_n "(cached) $ac_c" 1>&6
4669 cat > conftest.$ac_ext <<EOF
4670 #line 4671 "configure"
4671 #include "confdefs.h"
4672 /* System header to define __stub macros and hopefully few prototypes,
4673 which can conflict with char $ac_func(); below. */
4675 /* Override any gcc2 internal prototype to avoid an error. */
4676 /* We use char because int might match the return type of a gcc2
4677 builtin and then its argument prototype would still apply. */
4682 /* The GNU C library defines this for functions which it implements
4683 to always fail with ENOSYS. Some functions are actually named
4684 something starting with __ and the normal name is an alias. */
4685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4693 if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4695 eval "ac_cv_func_$ac_func=yes"
4697 echo "configure: failed program was:" >&5
4698 cat conftest.$ac_ext >&5
4700 eval "ac_cv_func_$ac_func=no"
4705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4706 echo "$ac_t""yes" 1>&6
4707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4708 cat >> confdefs.h <<EOF
4709 #define $ac_tr_func 1
4714 echo "$ac_t""no" 1>&6
4720 LIBS="$ac_save_LIBS"
4722 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4723 echo "configure:4724: checking for XPG2 wchar_t support" >&5
4724 if test x"$ac_has_iconv_h" = xyes &&
4725 test x"$ac_has_langinfo_h" = xyes &&
4726 test x"$ac_XPG2funcs" = xyes; then
4731 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4733 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4734 echo "configure:4735: checking for enabled wchar_t specializations" >&5
4735 if test x"$ac_isoC99_wchar_t" = xyes &&
4736 test x"$ac_XPG2_wchar_t" = xyes; then
4737 cat >> confdefs.h <<\EOF
4738 #define _GLIBCPP_USE_WCHAR_T 1
4741 echo "$ac_t"""yes"" 1>&6
4743 echo "$ac_t"""no"" 1>&6
4746 echo "configure: warning: wchar_t support disabled." 1>&2
4749 os_include_dir="config/os/gnu-linux"
4750 cat >> confdefs.h <<\EOF
4751 #define HAVE_COPYSIGN 1
4754 cat >> confdefs.h <<\EOF
4755 #define HAVE_COPYSIGNF 1
4758 cat >> confdefs.h <<\EOF
4759 #define HAVE_FINITEF 1
4762 cat >> confdefs.h <<\EOF
4763 #define HAVE_FREXPF 1
4766 cat >> confdefs.h <<\EOF
4767 #define HAVE_HYPOTF 1
4770 cat >> confdefs.h <<\EOF
4771 #define HAVE_SINCOS 1
4774 cat >> confdefs.h <<\EOF
4775 #define HAVE_SINCOSF 1
4778 if test x"long_double_math_on_this_cpu" = x"yes"; then
4779 cat >> confdefs.h <<\EOF
4780 #define HAVE_HYPOTL 1
4786 # Check for available headers.
4787 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4788 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4789 fp.h locale.h float.h inttypes.h
4791 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4792 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4793 echo "configure:4794: checking for $ac_hdr" >&5
4794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4795 echo $ac_n "(cached) $ac_c" 1>&6
4797 cat > conftest.$ac_ext <<EOF
4798 #line 4799 "configure"
4799 #include "confdefs.h"
4802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4803 { (eval echo configure:4804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4805 if test -z "$ac_err"; then
4807 eval "ac_cv_header_$ac_safe=yes"
4810 echo "configure: failed program was:" >&5
4811 cat conftest.$ac_ext >&5
4813 eval "ac_cv_header_$ac_safe=no"
4817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4818 echo "$ac_t""yes" 1>&6
4819 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4820 cat >> confdefs.h <<EOF
4821 #define $ac_tr_hdr 1
4825 echo "$ac_t""no" 1>&6
4829 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4832 # If we're not using GNU ld, then there's no point in even trying these
4833 # tests. Check for that first. We should have already tested for gld
4834 # by now (in libtool), but require it now just to be safe...
4835 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4836 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4839 # Set --gc-sections.
4840 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4841 # GNU ld it is! Joy and bunny rabbits!
4843 # All these tests are for C++; save the language and the compiler flags.
4844 # Need to do this so that g++ won't try to link in libstdc++
4845 ac_test_CFLAGS="${CFLAGS+set}"
4846 ac_save_CFLAGS="$CFLAGS"
4847 CFLAGS='-x c++ -Wl,--gc-sections'
4849 # Check for -Wl,--gc-sections
4850 # XXX This test is broken at the moment, as symbols required for
4851 # linking are now in libsupc++ (not built yet.....). In addition,
4852 # this test has cored on solaris in the past. In addition,
4853 # --gc-sections doesn't really work at the moment (keeps on discarding
4854 # used sections, first .eh_frame and now some of the glibc sections for
4855 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4856 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4857 echo "configure:4858: checking for ld that supports -Wl,--gc-sections" >&5
4858 if test "$cross_compiling" = yes; then
4859 ac_sectionLDflags=yes
4861 cat > conftest.$ac_ext <<EOF
4862 #line 4863 "configure"
4863 #include "confdefs.h"
4873 if { (eval echo configure:4874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4875 ac_sectionLDflags=yes
4877 echo "configure: failed program was:" >&5
4878 cat conftest.$ac_ext >&5
4880 ac_sectionLDflags=no
4885 if test "$ac_test_CFLAGS" = set; then
4886 CFLAGS="$ac_save_CFLAGS"
4888 # this is the suspicious part
4891 if test "$ac_sectionLDflags" = "yes"; then
4892 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4894 echo "$ac_t""$ac_sectionLDflags" 1>&6
4897 # Set linker optimization flags.
4898 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4899 test x"$enable_debug" = x"no"; then
4900 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4907 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4908 echo "configure:4909: checking for main in -lm" >&5
4909 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4911 echo $ac_n "(cached) $ac_c" 1>&6
4913 ac_save_LIBS="$LIBS"
4915 cat > conftest.$ac_ext <<EOF
4916 #line 4917 "configure"
4917 #include "confdefs.h"
4923 if { (eval echo configure:4924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4925 eval "ac_cv_lib_$ac_lib_var=yes"
4927 echo "configure: failed program was:" >&5
4928 cat conftest.$ac_ext >&5
4930 eval "ac_cv_lib_$ac_lib_var=no"
4933 LIBS="$ac_save_LIBS"
4936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4937 echo "$ac_t""yes" 1>&6
4938 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4939 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4940 cat >> confdefs.h <<EOF
4941 #define $ac_tr_lib 1
4947 echo "$ac_t""no" 1>&6
4950 for ac_func in nan copysignf
4952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4953 echo "configure:4954: checking for $ac_func" >&5
4954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4955 echo $ac_n "(cached) $ac_c" 1>&6
4957 cat > conftest.$ac_ext <<EOF
4958 #line 4959 "configure"
4959 #include "confdefs.h"
4960 /* System header to define __stub macros and hopefully few prototypes,
4961 which can conflict with char $ac_func(); below. */
4963 /* Override any gcc2 internal prototype to avoid an error. */
4964 /* We use char because int might match the return type of a gcc2
4965 builtin and then its argument prototype would still apply. */
4970 /* The GNU C library defines this for functions which it implements
4971 to always fail with ENOSYS. Some functions are actually named
4972 something starting with __ and the normal name is an alias. */
4973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4981 if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4983 eval "ac_cv_func_$ac_func=yes"
4985 echo "configure: failed program was:" >&5
4986 cat conftest.$ac_ext >&5
4988 eval "ac_cv_func_$ac_func=no"
4993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4994 echo "$ac_t""yes" 1>&6
4995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4996 cat >> confdefs.h <<EOF
4997 #define $ac_tr_func 1
5001 echo "$ac_t""no" 1>&6
5002 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5008 USE_COMPLEX_LONG_DOUBLE=no
5009 if test x$ac_cv_func_copysignl = x"yes"; then
5010 USE_COMPLEX_LONG_DOUBLE=yes
5011 for ac_func in signbitl
5013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5014 echo "configure:5015: checking for $ac_func" >&5
5015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5016 echo $ac_n "(cached) $ac_c" 1>&6
5018 cat > conftest.$ac_ext <<EOF
5019 #line 5020 "configure"
5020 #include "confdefs.h"
5021 /* System header to define __stub macros and hopefully few prototypes,
5022 which can conflict with char $ac_func(); below. */
5024 /* Override any gcc2 internal prototype to avoid an error. */
5025 /* We use char because int might match the return type of a gcc2
5026 builtin and then its argument prototype would still apply. */
5031 /* The GNU C library defines this for functions which it implements
5032 to always fail with ENOSYS. Some functions are actually named
5033 something starting with __ and the normal name is an alias. */
5034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5042 if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5044 eval "ac_cv_func_$ac_func=yes"
5046 echo "configure: failed program was:" >&5
5047 cat conftest.$ac_ext >&5
5049 eval "ac_cv_func_$ac_func=no"
5054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5055 echo "$ac_t""yes" 1>&6
5056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5057 cat >> confdefs.h <<EOF
5058 #define $ac_tr_func 1
5062 echo "$ac_t""no" 1>&6
5063 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5074 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5075 echo "configure:5076: checking for mbstate_t" >&5
5076 cat > conftest.$ac_ext <<EOF
5077 #line 5078 "configure"
5078 #include "confdefs.h"
5081 mbstate_t teststate;
5084 if { (eval echo configure:5085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5088 echo "configure: failed program was:" >&5
5089 cat conftest.$ac_ext >&5
5094 echo "$ac_t""$have_mbstate_t" 1>&6
5095 if test x"$have_mbstate_t" = xyes; then
5096 cat >> confdefs.h <<\EOF
5097 #define HAVE_MBSTATE_T 1
5102 for ac_hdr in wchar.h
5104 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5106 echo "configure:5107: checking for $ac_hdr" >&5
5107 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5108 echo $ac_n "(cached) $ac_c" 1>&6
5110 cat > conftest.$ac_ext <<EOF
5111 #line 5112 "configure"
5112 #include "confdefs.h"
5115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5116 { (eval echo configure:5117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5118 if test -z "$ac_err"; then
5120 eval "ac_cv_header_$ac_safe=yes"
5123 echo "configure: failed program was:" >&5
5124 cat conftest.$ac_ext >&5
5126 eval "ac_cv_header_$ac_safe=no"
5130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5131 echo "$ac_t""yes" 1>&6
5132 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5133 cat >> confdefs.h <<EOF
5134 #define $ac_tr_hdr 1
5138 echo "$ac_t""no" 1>&6
5143 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5144 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5145 echo "configure:5146: checking for wctype.h" >&5
5146 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5147 echo $ac_n "(cached) $ac_c" 1>&6
5149 cat > conftest.$ac_ext <<EOF
5150 #line 5151 "configure"
5151 #include "confdefs.h"
5154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5155 { (eval echo configure:5156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5157 if test -z "$ac_err"; then
5159 eval "ac_cv_header_$ac_safe=yes"
5162 echo "configure: failed program was:" >&5
5163 cat conftest.$ac_ext >&5
5165 eval "ac_cv_header_$ac_safe=no"
5169 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5170 echo "$ac_t""yes" 1>&6
5173 echo "$ac_t""no" 1>&6
5178 if test x"$ac_has_wchar_h" = xyes &&
5179 test x"$ac_has_wctype_h" = xyes &&
5180 test x"$enable_c_mbchar" != xno; then
5182 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5183 echo "configure:5184: checking for WCHAR_MIN and WCHAR_MAX" >&5
5184 cat > conftest.$ac_ext <<EOF
5185 #line 5186 "configure"
5186 #include "confdefs.h"
5189 int i = WCHAR_MIN; int j = WCHAR_MAX;
5192 if { (eval echo configure:5193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5194 has_wchar_minmax=yes
5196 echo "configure: failed program was:" >&5
5197 cat conftest.$ac_ext >&5
5202 echo "$ac_t""$has_wchar_minmax" 1>&6
5204 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5205 echo "configure:5206: checking for WEOF" >&5
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure"
5208 #include "confdefs.h"
5216 if { (eval echo configure:5217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5220 echo "configure: failed program was:" >&5
5221 cat conftest.$ac_ext >&5
5226 echo "$ac_t""$has_weof" 1>&6
5229 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5232 echo "configure:5233: checking for $ac_func" >&5
5233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5234 echo $ac_n "(cached) $ac_c" 1>&6
5236 cat > conftest.$ac_ext <<EOF
5237 #line 5238 "configure"
5238 #include "confdefs.h"
5239 /* System header to define __stub macros and hopefully few prototypes,
5240 which can conflict with char $ac_func(); below. */
5242 /* Override any gcc2 internal prototype to avoid an error. */
5243 /* We use char because int might match the return type of a gcc2
5244 builtin and then its argument prototype would still apply. */
5249 /* The GNU C library defines this for functions which it implements
5250 to always fail with ENOSYS. Some functions are actually named
5251 something starting with __ and the normal name is an alias. */
5252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5260 if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5262 eval "ac_cv_func_$ac_func=yes"
5264 echo "configure: failed program was:" >&5
5265 cat conftest.$ac_ext >&5
5267 eval "ac_cv_func_$ac_func=no"
5272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5273 echo "$ac_t""yes" 1>&6
5274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5275 cat >> confdefs.h <<EOF
5276 #define $ac_tr_func 1
5280 echo "$ac_t""no" 1>&6
5287 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5288 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5289 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5290 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5291 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5292 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5295 echo "configure:5296: checking for $ac_func" >&5
5296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5297 echo $ac_n "(cached) $ac_c" 1>&6
5299 cat > conftest.$ac_ext <<EOF
5300 #line 5301 "configure"
5301 #include "confdefs.h"
5302 /* System header to define __stub macros and hopefully few prototypes,
5303 which can conflict with char $ac_func(); below. */
5305 /* Override any gcc2 internal prototype to avoid an error. */
5306 /* We use char because int might match the return type of a gcc2
5307 builtin and then its argument prototype would still apply. */
5312 /* The GNU C library defines this for functions which it implements
5313 to always fail with ENOSYS. Some functions are actually named
5314 something starting with __ and the normal name is an alias. */
5315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5323 if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5325 eval "ac_cv_func_$ac_func=yes"
5327 echo "configure: failed program was:" >&5
5328 cat conftest.$ac_ext >&5
5330 eval "ac_cv_func_$ac_func=no"
5335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5336 echo "$ac_t""yes" 1>&6
5337 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5338 cat >> confdefs.h <<EOF
5339 #define $ac_tr_func 1
5343 echo "$ac_t""no" 1>&6
5350 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5351 echo "configure:5352: checking for ISO C99 wchar_t support" >&5
5352 if test x"$has_weof" = xyes &&
5353 test x"$has_wchar_minmax" = xyes &&
5354 test x"$ac_wfuncs" = xyes; then
5355 ac_isoC99_wchar_t=yes
5357 ac_isoC99_wchar_t=no
5359 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5361 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5362 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5363 echo "configure:5364: checking for iconv.h" >&5
5364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5365 echo $ac_n "(cached) $ac_c" 1>&6
5367 cat > conftest.$ac_ext <<EOF
5368 #line 5369 "configure"
5369 #include "confdefs.h"
5372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5373 { (eval echo configure:5374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5375 if test -z "$ac_err"; then
5377 eval "ac_cv_header_$ac_safe=yes"
5380 echo "configure: failed program was:" >&5
5381 cat conftest.$ac_ext >&5
5383 eval "ac_cv_header_$ac_safe=no"
5387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5388 echo "$ac_t""yes" 1>&6
5391 echo "$ac_t""no" 1>&6
5395 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5396 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5397 echo "configure:5398: checking for langinfo.h" >&5
5398 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5399 echo $ac_n "(cached) $ac_c" 1>&6
5401 cat > conftest.$ac_ext <<EOF
5402 #line 5403 "configure"
5403 #include "confdefs.h"
5404 #include <langinfo.h>
5406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5407 { (eval echo configure:5408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5409 if test -z "$ac_err"; then
5411 eval "ac_cv_header_$ac_safe=yes"
5414 echo "configure: failed program was:" >&5
5415 cat conftest.$ac_ext >&5
5417 eval "ac_cv_header_$ac_safe=no"
5421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5422 echo "$ac_t""yes" 1>&6
5423 ac_has_langinfo_h=yes
5425 echo "$ac_t""no" 1>&6
5426 ac_has_langinfo_h=no
5430 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5431 echo "configure:5432: checking for iconv in -liconv" >&5
5432 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5434 echo $ac_n "(cached) $ac_c" 1>&6
5436 ac_save_LIBS="$LIBS"
5437 LIBS="-liconv $LIBS"
5438 cat > conftest.$ac_ext <<EOF
5439 #line 5440 "configure"
5440 #include "confdefs.h"
5441 /* Override any gcc2 internal prototype to avoid an error. */
5442 /* We use char because int might match the return type of a gcc2
5443 builtin and then its argument prototype would still apply. */
5450 if { (eval echo configure:5451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5452 eval "ac_cv_lib_$ac_lib_var=yes"
5454 echo "configure: failed program was:" >&5
5455 cat conftest.$ac_ext >&5
5457 eval "ac_cv_lib_$ac_lib_var=no"
5460 LIBS="$ac_save_LIBS"
5463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5464 echo "$ac_t""yes" 1>&6
5467 echo "$ac_t""no" 1>&6
5470 ac_save_LIBS="$LIBS"
5471 LIBS="$LIBS $libiconv"
5473 for ac_func in iconv_open iconv_close iconv nl_langinfo
5475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5476 echo "configure:5477: checking for $ac_func" >&5
5477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5478 echo $ac_n "(cached) $ac_c" 1>&6
5480 cat > conftest.$ac_ext <<EOF
5481 #line 5482 "configure"
5482 #include "confdefs.h"
5483 /* System header to define __stub macros and hopefully few prototypes,
5484 which can conflict with char $ac_func(); below. */
5486 /* Override any gcc2 internal prototype to avoid an error. */
5487 /* We use char because int might match the return type of a gcc2
5488 builtin and then its argument prototype would still apply. */
5493 /* The GNU C library defines this for functions which it implements
5494 to always fail with ENOSYS. Some functions are actually named
5495 something starting with __ and the normal name is an alias. */
5496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5504 if { (eval echo configure:5505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5506 eval "ac_cv_func_$ac_func=yes"
5508 echo "configure: failed program was:" >&5
5509 cat conftest.$ac_ext >&5
5511 eval "ac_cv_func_$ac_func=no"
5516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5517 echo "$ac_t""yes" 1>&6
5518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5519 cat >> confdefs.h <<EOF
5520 #define $ac_tr_func 1
5525 echo "$ac_t""no" 1>&6
5531 LIBS="$ac_save_LIBS"
5533 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5534 echo "configure:5535: checking for XPG2 wchar_t support" >&5
5535 if test x"$ac_has_iconv_h" = xyes &&
5536 test x"$ac_has_langinfo_h" = xyes &&
5537 test x"$ac_XPG2funcs" = xyes; then
5542 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5544 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5545 echo "configure:5546: checking for enabled wchar_t specializations" >&5
5546 if test x"$ac_isoC99_wchar_t" = xyes &&
5547 test x"$ac_XPG2_wchar_t" = xyes; then
5548 cat >> confdefs.h <<\EOF
5549 #define _GLIBCPP_USE_WCHAR_T 1
5552 echo "$ac_t"""yes"" 1>&6
5554 echo "$ac_t"""no"" 1>&6
5557 echo "configure: warning: wchar_t support disabled." 1>&2
5560 os_include_dir="config/os/hpux"
5561 cat >> confdefs.h <<\EOF
5562 #define HAVE_COPYSIGN 1
5565 cat >> confdefs.h <<\EOF
5566 #define HAVE_COPYSIGNF 1
5569 cat >> confdefs.h <<\EOF
5570 #define HAVE_FINITEF 1
5573 cat >> confdefs.h <<\EOF
5574 #define HAVE_FREXPF 1
5577 cat >> confdefs.h <<\EOF
5578 #define HAVE_HYPOT 1
5581 cat >> confdefs.h <<\EOF
5582 #define HAVE_SINCOS 1
5585 cat >> confdefs.h <<\EOF
5586 #define HAVE_SINCOSF 1
5591 # Check for available headers.
5592 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5593 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5594 fp.h locale.h float.h inttypes.h
5596 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5597 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5598 echo "configure:5599: checking for $ac_hdr" >&5
5599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5600 echo $ac_n "(cached) $ac_c" 1>&6
5602 cat > conftest.$ac_ext <<EOF
5603 #line 5604 "configure"
5604 #include "confdefs.h"
5607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5608 { (eval echo configure:5609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5610 if test -z "$ac_err"; then
5612 eval "ac_cv_header_$ac_safe=yes"
5615 echo "configure: failed program was:" >&5
5616 cat conftest.$ac_ext >&5
5618 eval "ac_cv_header_$ac_safe=no"
5622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5623 echo "$ac_t""yes" 1>&6
5624 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5625 cat >> confdefs.h <<EOF
5626 #define $ac_tr_hdr 1
5630 echo "$ac_t""no" 1>&6
5634 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5637 # If we're not using GNU ld, then there's no point in even trying these
5638 # tests. Check for that first. We should have already tested for gld
5639 # by now (in libtool), but require it now just to be safe...
5640 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5641 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5644 # Set --gc-sections.
5645 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5646 # GNU ld it is! Joy and bunny rabbits!
5648 # All these tests are for C++; save the language and the compiler flags.
5649 # Need to do this so that g++ won't try to link in libstdc++
5650 ac_test_CFLAGS="${CFLAGS+set}"
5651 ac_save_CFLAGS="$CFLAGS"
5652 CFLAGS='-x c++ -Wl,--gc-sections'
5654 # Check for -Wl,--gc-sections
5655 # XXX This test is broken at the moment, as symbols required for
5656 # linking are now in libsupc++ (not built yet.....). In addition,
5657 # this test has cored on solaris in the past. In addition,
5658 # --gc-sections doesn't really work at the moment (keeps on discarding
5659 # used sections, first .eh_frame and now some of the glibc sections for
5660 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5661 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5662 echo "configure:5663: checking for ld that supports -Wl,--gc-sections" >&5
5663 if test "$cross_compiling" = yes; then
5664 ac_sectionLDflags=yes
5666 cat > conftest.$ac_ext <<EOF
5667 #line 5668 "configure"
5668 #include "confdefs.h"
5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5680 ac_sectionLDflags=yes
5682 echo "configure: failed program was:" >&5
5683 cat conftest.$ac_ext >&5
5685 ac_sectionLDflags=no
5690 if test "$ac_test_CFLAGS" = set; then
5691 CFLAGS="$ac_save_CFLAGS"
5693 # this is the suspicious part
5696 if test "$ac_sectionLDflags" = "yes"; then
5697 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5699 echo "$ac_t""$ac_sectionLDflags" 1>&6
5702 # Set linker optimization flags.
5703 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5704 test x"$enable_debug" = x"no"; then
5705 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5712 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5713 echo "configure:5714: checking for main in -lm" >&5
5714 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5715 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5716 echo $ac_n "(cached) $ac_c" 1>&6
5718 ac_save_LIBS="$LIBS"
5720 cat > conftest.$ac_ext <<EOF
5721 #line 5722 "configure"
5722 #include "confdefs.h"
5728 if { (eval echo configure:5729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5730 eval "ac_cv_lib_$ac_lib_var=yes"
5732 echo "configure: failed program was:" >&5
5733 cat conftest.$ac_ext >&5
5735 eval "ac_cv_lib_$ac_lib_var=no"
5738 LIBS="$ac_save_LIBS"
5741 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5742 echo "$ac_t""yes" 1>&6
5743 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5744 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5745 cat >> confdefs.h <<EOF
5746 #define $ac_tr_lib 1
5752 echo "$ac_t""no" 1>&6
5755 for ac_func in nan copysignf
5757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5758 echo "configure:5759: checking for $ac_func" >&5
5759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5760 echo $ac_n "(cached) $ac_c" 1>&6
5762 cat > conftest.$ac_ext <<EOF
5763 #line 5764 "configure"
5764 #include "confdefs.h"
5765 /* System header to define __stub macros and hopefully few prototypes,
5766 which can conflict with char $ac_func(); below. */
5768 /* Override any gcc2 internal prototype to avoid an error. */
5769 /* We use char because int might match the return type of a gcc2
5770 builtin and then its argument prototype would still apply. */
5775 /* The GNU C library defines this for functions which it implements
5776 to always fail with ENOSYS. Some functions are actually named
5777 something starting with __ and the normal name is an alias. */
5778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5786 if { (eval echo configure:5787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5788 eval "ac_cv_func_$ac_func=yes"
5790 echo "configure: failed program was:" >&5
5791 cat conftest.$ac_ext >&5
5793 eval "ac_cv_func_$ac_func=no"
5798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5799 echo "$ac_t""yes" 1>&6
5800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5801 cat >> confdefs.h <<EOF
5802 #define $ac_tr_func 1
5806 echo "$ac_t""no" 1>&6
5807 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5813 USE_COMPLEX_LONG_DOUBLE=no
5814 if test x$ac_cv_func_copysignl = x"yes"; then
5815 USE_COMPLEX_LONG_DOUBLE=yes
5816 for ac_func in signbitl
5818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5819 echo "configure:5820: checking for $ac_func" >&5
5820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5821 echo $ac_n "(cached) $ac_c" 1>&6
5823 cat > conftest.$ac_ext <<EOF
5824 #line 5825 "configure"
5825 #include "confdefs.h"
5826 /* System header to define __stub macros and hopefully few prototypes,
5827 which can conflict with char $ac_func(); below. */
5829 /* Override any gcc2 internal prototype to avoid an error. */
5830 /* We use char because int might match the return type of a gcc2
5831 builtin and then its argument prototype would still apply. */
5836 /* The GNU C library defines this for functions which it implements
5837 to always fail with ENOSYS. Some functions are actually named
5838 something starting with __ and the normal name is an alias. */
5839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5847 if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5849 eval "ac_cv_func_$ac_func=yes"
5851 echo "configure: failed program was:" >&5
5852 cat conftest.$ac_ext >&5
5854 eval "ac_cv_func_$ac_func=no"
5859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5860 echo "$ac_t""yes" 1>&6
5861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5862 cat >> confdefs.h <<EOF
5863 #define $ac_tr_func 1
5867 echo "$ac_t""no" 1>&6
5868 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5879 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5880 echo "configure:5881: checking for mbstate_t" >&5
5881 cat > conftest.$ac_ext <<EOF
5882 #line 5883 "configure"
5883 #include "confdefs.h"
5886 mbstate_t teststate;
5889 if { (eval echo configure:5890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5893 echo "configure: failed program was:" >&5
5894 cat conftest.$ac_ext >&5
5899 echo "$ac_t""$have_mbstate_t" 1>&6
5900 if test x"$have_mbstate_t" = xyes; then
5901 cat >> confdefs.h <<\EOF
5902 #define HAVE_MBSTATE_T 1
5907 for ac_hdr in wchar.h
5909 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5910 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5911 echo "configure:5912: checking for $ac_hdr" >&5
5912 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5913 echo $ac_n "(cached) $ac_c" 1>&6
5915 cat > conftest.$ac_ext <<EOF
5916 #line 5917 "configure"
5917 #include "confdefs.h"
5920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5921 { (eval echo configure:5922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5923 if test -z "$ac_err"; then
5925 eval "ac_cv_header_$ac_safe=yes"
5928 echo "configure: failed program was:" >&5
5929 cat conftest.$ac_ext >&5
5931 eval "ac_cv_header_$ac_safe=no"
5935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5936 echo "$ac_t""yes" 1>&6
5937 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5938 cat >> confdefs.h <<EOF
5939 #define $ac_tr_hdr 1
5943 echo "$ac_t""no" 1>&6
5948 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5949 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5950 echo "configure:5951: checking for wctype.h" >&5
5951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5952 echo $ac_n "(cached) $ac_c" 1>&6
5954 cat > conftest.$ac_ext <<EOF
5955 #line 5956 "configure"
5956 #include "confdefs.h"
5959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5960 { (eval echo configure:5961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5962 if test -z "$ac_err"; then
5964 eval "ac_cv_header_$ac_safe=yes"
5967 echo "configure: failed program was:" >&5
5968 cat conftest.$ac_ext >&5
5970 eval "ac_cv_header_$ac_safe=no"
5974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5975 echo "$ac_t""yes" 1>&6
5978 echo "$ac_t""no" 1>&6
5983 if test x"$ac_has_wchar_h" = xyes &&
5984 test x"$ac_has_wctype_h" = xyes &&
5985 test x"$enable_c_mbchar" != xno; then
5987 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5988 echo "configure:5989: checking for WCHAR_MIN and WCHAR_MAX" >&5
5989 cat > conftest.$ac_ext <<EOF
5990 #line 5991 "configure"
5991 #include "confdefs.h"
5994 int i = WCHAR_MIN; int j = WCHAR_MAX;
5997 if { (eval echo configure:5998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5999 has_wchar_minmax=yes
6001 echo "configure: failed program was:" >&5
6002 cat conftest.$ac_ext >&5
6007 echo "$ac_t""$has_wchar_minmax" 1>&6
6009 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6010 echo "configure:6011: checking for WEOF" >&5
6011 cat > conftest.$ac_ext <<EOF
6012 #line 6013 "configure"
6013 #include "confdefs.h"
6021 if { (eval echo configure:6022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6025 echo "configure: failed program was:" >&5
6026 cat conftest.$ac_ext >&5
6031 echo "$ac_t""$has_weof" 1>&6
6034 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6037 echo "configure:6038: checking for $ac_func" >&5
6038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6039 echo $ac_n "(cached) $ac_c" 1>&6
6041 cat > conftest.$ac_ext <<EOF
6042 #line 6043 "configure"
6043 #include "confdefs.h"
6044 /* System header to define __stub macros and hopefully few prototypes,
6045 which can conflict with char $ac_func(); below. */
6047 /* Override any gcc2 internal prototype to avoid an error. */
6048 /* We use char because int might match the return type of a gcc2
6049 builtin and then its argument prototype would still apply. */
6054 /* The GNU C library defines this for functions which it implements
6055 to always fail with ENOSYS. Some functions are actually named
6056 something starting with __ and the normal name is an alias. */
6057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6065 if { (eval echo configure:6066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6067 eval "ac_cv_func_$ac_func=yes"
6069 echo "configure: failed program was:" >&5
6070 cat conftest.$ac_ext >&5
6072 eval "ac_cv_func_$ac_func=no"
6077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6078 echo "$ac_t""yes" 1>&6
6079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6080 cat >> confdefs.h <<EOF
6081 #define $ac_tr_func 1
6085 echo "$ac_t""no" 1>&6
6092 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6093 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6094 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6095 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6096 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6097 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6100 echo "configure:6101: checking for $ac_func" >&5
6101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6102 echo $ac_n "(cached) $ac_c" 1>&6
6104 cat > conftest.$ac_ext <<EOF
6105 #line 6106 "configure"
6106 #include "confdefs.h"
6107 /* System header to define __stub macros and hopefully few prototypes,
6108 which can conflict with char $ac_func(); below. */
6110 /* Override any gcc2 internal prototype to avoid an error. */
6111 /* We use char because int might match the return type of a gcc2
6112 builtin and then its argument prototype would still apply. */
6117 /* The GNU C library defines this for functions which it implements
6118 to always fail with ENOSYS. Some functions are actually named
6119 something starting with __ and the normal name is an alias. */
6120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6130 eval "ac_cv_func_$ac_func=yes"
6132 echo "configure: failed program was:" >&5
6133 cat conftest.$ac_ext >&5
6135 eval "ac_cv_func_$ac_func=no"
6140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6141 echo "$ac_t""yes" 1>&6
6142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6143 cat >> confdefs.h <<EOF
6144 #define $ac_tr_func 1
6148 echo "$ac_t""no" 1>&6
6155 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6156 echo "configure:6157: checking for ISO C99 wchar_t support" >&5
6157 if test x"$has_weof" = xyes &&
6158 test x"$has_wchar_minmax" = xyes &&
6159 test x"$ac_wfuncs" = xyes; then
6160 ac_isoC99_wchar_t=yes
6162 ac_isoC99_wchar_t=no
6164 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6166 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6167 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6168 echo "configure:6169: checking for iconv.h" >&5
6169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6
6172 cat > conftest.$ac_ext <<EOF
6173 #line 6174 "configure"
6174 #include "confdefs.h"
6177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6178 { (eval echo configure:6179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6180 if test -z "$ac_err"; then
6182 eval "ac_cv_header_$ac_safe=yes"
6185 echo "configure: failed program was:" >&5
6186 cat conftest.$ac_ext >&5
6188 eval "ac_cv_header_$ac_safe=no"
6192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6193 echo "$ac_t""yes" 1>&6
6196 echo "$ac_t""no" 1>&6
6200 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6201 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6202 echo "configure:6203: checking for langinfo.h" >&5
6203 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6206 cat > conftest.$ac_ext <<EOF
6207 #line 6208 "configure"
6208 #include "confdefs.h"
6209 #include <langinfo.h>
6211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6212 { (eval echo configure:6213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6214 if test -z "$ac_err"; then
6216 eval "ac_cv_header_$ac_safe=yes"
6219 echo "configure: failed program was:" >&5
6220 cat conftest.$ac_ext >&5
6222 eval "ac_cv_header_$ac_safe=no"
6226 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6227 echo "$ac_t""yes" 1>&6
6228 ac_has_langinfo_h=yes
6230 echo "$ac_t""no" 1>&6
6231 ac_has_langinfo_h=no
6235 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6236 echo "configure:6237: checking for iconv in -liconv" >&5
6237 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6239 echo $ac_n "(cached) $ac_c" 1>&6
6241 ac_save_LIBS="$LIBS"
6242 LIBS="-liconv $LIBS"
6243 cat > conftest.$ac_ext <<EOF
6244 #line 6245 "configure"
6245 #include "confdefs.h"
6246 /* Override any gcc2 internal prototype to avoid an error. */
6247 /* We use char because int might match the return type of a gcc2
6248 builtin and then its argument prototype would still apply. */
6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6257 eval "ac_cv_lib_$ac_lib_var=yes"
6259 echo "configure: failed program was:" >&5
6260 cat conftest.$ac_ext >&5
6262 eval "ac_cv_lib_$ac_lib_var=no"
6265 LIBS="$ac_save_LIBS"
6268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6269 echo "$ac_t""yes" 1>&6
6272 echo "$ac_t""no" 1>&6
6275 ac_save_LIBS="$LIBS"
6276 LIBS="$LIBS $libiconv"
6278 for ac_func in iconv_open iconv_close iconv nl_langinfo
6280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6281 echo "configure:6282: checking for $ac_func" >&5
6282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6283 echo $ac_n "(cached) $ac_c" 1>&6
6285 cat > conftest.$ac_ext <<EOF
6286 #line 6287 "configure"
6287 #include "confdefs.h"
6288 /* System header to define __stub macros and hopefully few prototypes,
6289 which can conflict with char $ac_func(); below. */
6291 /* Override any gcc2 internal prototype to avoid an error. */
6292 /* We use char because int might match the return type of a gcc2
6293 builtin and then its argument prototype would still apply. */
6298 /* The GNU C library defines this for functions which it implements
6299 to always fail with ENOSYS. Some functions are actually named
6300 something starting with __ and the normal name is an alias. */
6301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6309 if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6311 eval "ac_cv_func_$ac_func=yes"
6313 echo "configure: failed program was:" >&5
6314 cat conftest.$ac_ext >&5
6316 eval "ac_cv_func_$ac_func=no"
6321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6322 echo "$ac_t""yes" 1>&6
6323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6324 cat >> confdefs.h <<EOF
6325 #define $ac_tr_func 1
6330 echo "$ac_t""no" 1>&6
6336 LIBS="$ac_save_LIBS"
6338 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6339 echo "configure:6340: checking for XPG2 wchar_t support" >&5
6340 if test x"$ac_has_iconv_h" = xyes &&
6341 test x"$ac_has_langinfo_h" = xyes &&
6342 test x"$ac_XPG2funcs" = xyes; then
6347 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6349 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6350 echo "configure:6351: checking for enabled wchar_t specializations" >&5
6351 if test x"$ac_isoC99_wchar_t" = xyes &&
6352 test x"$ac_XPG2_wchar_t" = xyes; then
6353 cat >> confdefs.h <<\EOF
6354 #define _GLIBCPP_USE_WCHAR_T 1
6357 echo "$ac_t"""yes"" 1>&6
6359 echo "$ac_t"""no"" 1>&6
6362 echo "configure: warning: wchar_t support disabled." 1>&2
6365 os_include_dir="config/os/bsd/netbsd"
6366 cat >> confdefs.h <<\EOF
6367 #define HAVE_COPYSIGN 1
6370 cat >> confdefs.h <<\EOF
6371 #define HAVE_COPYSIGNF 1
6374 cat >> confdefs.h <<\EOF
6375 #define HAVE_FINITEF 1
6378 cat >> confdefs.h <<\EOF
6379 #define HAVE_FREXPF 1
6382 cat >> confdefs.h <<\EOF
6383 #define HAVE_HYPOTF 1
6388 os_include_dir="config/os/newlib"
6389 cat >> confdefs.h <<\EOF
6390 #define HAVE_HYPOT 1
6396 # GLIBCPP_CHECK_STDLIB_SUPPORT
6397 cat >> confdefs.h <<\EOF
6398 #define HAVE_STRTOF 1
6401 cat >> confdefs.h <<\EOF
6402 #define HAVE_STRTOLD 1
6406 cat >> confdefs.h <<\EOF
6411 cat >> confdefs.h <<\EOF
6412 #define HAVE_ACOSF 1
6415 cat >> confdefs.h <<\EOF
6416 #define HAVE_ASINF 1
6419 cat >> confdefs.h <<\EOF
6420 #define HAVE_ATAN2F 1
6423 cat >> confdefs.h <<\EOF
6424 #define HAVE_ATANF 1
6427 cat >> confdefs.h <<\EOF
6428 #define HAVE_CEILF 1
6431 cat >> confdefs.h <<\EOF
6432 #define HAVE_COPYSIGN 1
6435 cat >> confdefs.h <<\EOF
6436 #define HAVE_COPYSIGNF 1
6439 cat >> confdefs.h <<\EOF
6443 cat >> confdefs.h <<\EOF
6444 #define HAVE_COSHF 1
6447 cat >> confdefs.h <<\EOF
6451 cat >> confdefs.h <<\EOF
6452 #define HAVE_FABSF 1
6455 cat >> confdefs.h <<\EOF
6456 #define HAVE_FINITE 1
6459 cat >> confdefs.h <<\EOF
6460 #define HAVE_FINITEF 1
6463 cat >> confdefs.h <<\EOF
6464 #define HAVE_FLOORF 1
6467 cat >> confdefs.h <<\EOF
6468 #define HAVE_FMODF 1
6471 cat >> confdefs.h <<\EOF
6472 #define HAVE_FREXPF 1
6475 cat >> confdefs.h <<\EOF
6476 #define HAVE_ISINF 1
6479 cat >> confdefs.h <<\EOF
6480 #define HAVE_ISINFF 1
6483 cat >> confdefs.h <<\EOF
6484 #define HAVE_ISNAN 1
6487 cat >> confdefs.h <<\EOF
6488 #define HAVE_ISNANF 1
6491 cat >> confdefs.h <<\EOF
6492 #define HAVE_LDEXPF 1
6495 cat >> confdefs.h <<\EOF
6496 #define HAVE_LOG10F 1
6499 cat >> confdefs.h <<\EOF
6503 cat >> confdefs.h <<\EOF
6504 #define HAVE_MODFF 1
6507 cat >> confdefs.h <<\EOF
6511 cat >> confdefs.h <<\EOF
6515 cat >> confdefs.h <<\EOF
6516 #define HAVE_SINHF 1
6519 cat >> confdefs.h <<\EOF
6520 #define HAVE_SQRTF 1
6523 cat >> confdefs.h <<\EOF
6527 cat >> confdefs.h <<\EOF
6528 #define HAVE_TANHF 1
6532 # At some point, we should differentiate between architectures
6533 # like x86, which have long double versions, and alpha/powerpc/etc.,
6534 # which don't. For the time being, punt.
6535 if test x"long_double_math_on_this_cpu" = x"yes"; then
6536 cat >> confdefs.h <<\EOF
6537 #define HAVE_ACOSL 1
6540 cat >> confdefs.h <<\EOF
6541 #define HAVE_ASINL 1
6544 cat >> confdefs.h <<\EOF
6545 #define HAVE_ATAN2L 1
6548 cat >> confdefs.h <<\EOF
6549 #define HAVE_ATANL 1
6552 cat >> confdefs.h <<\EOF
6553 #define HAVE_CEILL 1
6556 cat >> confdefs.h <<\EOF
6557 #define HAVE_COPYSIGNL 1
6560 cat >> confdefs.h <<\EOF
6564 cat >> confdefs.h <<\EOF
6565 #define HAVE_COSHL 1
6568 cat >> confdefs.h <<\EOF
6572 cat >> confdefs.h <<\EOF
6573 #define HAVE_FABSL 1
6576 cat >> confdefs.h <<\EOF
6577 #define HAVE_FINITEL 1
6580 cat >> confdefs.h <<\EOF
6581 #define HAVE_FLOORL 1
6584 cat >> confdefs.h <<\EOF
6585 #define HAVE_FMODL 1
6588 cat >> confdefs.h <<\EOF
6589 #define HAVE_FREXPL 1
6592 cat >> confdefs.h <<\EOF
6593 #define HAVE_ISINFL 1
6596 cat >> confdefs.h <<\EOF
6597 #define HAVE_ISNANL 1
6600 cat >> confdefs.h <<\EOF
6601 #define HAVE_LDEXPL 1
6604 cat >> confdefs.h <<\EOF
6605 #define HAVE_LOG10L 1
6608 cat >> confdefs.h <<\EOF
6612 cat >> confdefs.h <<\EOF
6613 #define HAVE_MODFL 1
6616 cat >> confdefs.h <<\EOF
6620 cat >> confdefs.h <<\EOF
6621 #define HAVE_SINCOSL 1
6624 cat >> confdefs.h <<\EOF
6628 cat >> confdefs.h <<\EOF
6629 #define HAVE_SINHL 1
6632 cat >> confdefs.h <<\EOF
6633 #define HAVE_SQRTL 1
6636 cat >> confdefs.h <<\EOF
6640 cat >> confdefs.h <<\EOF
6641 #define HAVE_TANHL 1
6647 # We are being configured natively. We can do more elaborate tests
6648 # that include AC_TRY_COMPILE now, as the linker is assumed to be
6650 GLIBCPP_IS_CROSS_COMPILING=0
6653 # Check for available headers.
6654 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
6655 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
6657 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6659 echo "configure:6660: checking for $ac_hdr" >&5
6660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6661 echo $ac_n "(cached) $ac_c" 1>&6
6663 cat > conftest.$ac_ext <<EOF
6664 #line 6665 "configure"
6665 #include "confdefs.h"
6668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6669 { (eval echo configure:6670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6671 if test -z "$ac_err"; then
6673 eval "ac_cv_header_$ac_safe=yes"
6676 echo "configure: failed program was:" >&5
6677 cat conftest.$ac_ext >&5
6679 eval "ac_cv_header_$ac_safe=no"
6683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6684 echo "$ac_t""yes" 1>&6
6685 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6686 cat >> confdefs.h <<EOF
6687 #define $ac_tr_hdr 1
6691 echo "$ac_t""no" 1>&6
6697 # All these tests are for C++; save the language and the compiler flags.
6698 # The CXXFLAGS thing is suspicious, but based on similar bits previously
6699 # found in GLIBCPP_CONFIGURE.
6702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6703 ac_cpp='$CXXCPP $CPPFLAGS'
6704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6706 cross_compiling=$ac_cv_prog_cxx_cross
6708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6709 ac_save_CXXFLAGS="$CXXFLAGS"
6711 # Check for maintainer-mode bits.
6712 if test x"$USE_MAINTAINER_MODE" = xno; then
6718 # Check for -ffunction-sections -fdata-sections
6719 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
6720 echo "configure:6721: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
6721 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
6722 cat > conftest.$ac_ext <<EOF
6723 #line 6724 "configure"
6724 #include "confdefs.h"
6731 if { (eval echo configure:6732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6735 echo "configure: failed program was:" >&5
6736 cat conftest.$ac_ext >&5
6741 if test "$ac_test_CXXFLAGS" = set; then
6742 CXXFLAGS="$ac_save_CXXFLAGS"
6744 # this is the suspicious part
6747 if test x"$ac_fdsections" = x"yes" &&
6748 test x"$enable_debug" = x"no"; then
6749 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6751 echo "$ac_t""$ac_fdsections" 1>&6
6754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6755 ac_cpp='$CPP $CPPFLAGS'
6756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6758 cross_compiling=$ac_cv_prog_cc_cross
6764 # If we're not using GNU ld, then there's no point in even trying these
6765 # tests. Check for that first. We should have already tested for gld
6766 # by now (in libtool), but require it now just to be safe...
6767 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6768 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6771 # Set --gc-sections.
6772 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
6773 # GNU ld it is! Joy and bunny rabbits!
6775 # All these tests are for C++; save the language and the compiler flags.
6776 # Need to do this so that g++ won't try to link in libstdc++
6777 ac_test_CFLAGS="${CFLAGS+set}"
6778 ac_save_CFLAGS="$CFLAGS"
6779 CFLAGS='-x c++ -Wl,--gc-sections'
6781 # Check for -Wl,--gc-sections
6782 # XXX This test is broken at the moment, as symbols required for
6783 # linking are now in libsupc++ (not built yet.....). In addition,
6784 # this test has cored on solaris in the past. In addition,
6785 # --gc-sections doesn't really work at the moment (keeps on discarding
6786 # used sections, first .eh_frame and now some of the glibc sections for
6787 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6788 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6789 echo "configure:6790: checking for ld that supports -Wl,--gc-sections" >&5
6790 if test "$cross_compiling" = yes; then
6791 ac_sectionLDflags=yes
6793 cat > conftest.$ac_ext <<EOF
6794 #line 6795 "configure"
6795 #include "confdefs.h"
6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6807 ac_sectionLDflags=yes
6809 echo "configure: failed program was:" >&5
6810 cat conftest.$ac_ext >&5
6812 ac_sectionLDflags=no
6817 if test "$ac_test_CFLAGS" = set; then
6818 CFLAGS="$ac_save_CFLAGS"
6820 # this is the suspicious part
6823 if test "$ac_sectionLDflags" = "yes"; then
6824 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6826 echo "$ac_t""$ac_sectionLDflags" 1>&6
6829 # Set linker optimization flags.
6830 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
6831 test x"$enable_debug" = x"no"; then
6832 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6840 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
6841 echo "configure:6842: checking for __builtin_abs declaration" >&5
6842 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6843 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6844 echo $ac_n "(cached) $ac_c" 1>&6
6849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6850 ac_cpp='$CXXCPP $CPPFLAGS'
6851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6853 cross_compiling=$ac_cv_prog_cxx_cross
6855 cat > conftest.$ac_ext <<EOF
6856 #line 6857 "configure"
6857 #include "confdefs.h"
6863 if { (eval echo configure:6864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6865 glibcpp_cv_func___builtin_abs_use=yes
6867 echo "configure: failed program was:" >&5
6868 cat conftest.$ac_ext >&5
6870 glibcpp_cv_func___builtin_abs_use=no
6874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6875 ac_cpp='$CPP $CPPFLAGS'
6876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6878 cross_compiling=$ac_cv_prog_cc_cross
6884 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
6885 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
6886 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
6887 echo "configure:6888: checking for __builtin_abs linkage" >&5
6888 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
6889 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
6890 echo $ac_n "(cached) $ac_c" 1>&6
6893 cat > conftest.$ac_ext <<EOF
6894 #line 6895 "configure"
6895 #include "confdefs.h"
6901 if { (eval echo configure:6902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6903 glibcpp_cv_func___builtin_abs_link=yes
6905 echo "configure: failed program was:" >&5
6906 cat conftest.$ac_ext >&5
6908 glibcpp_cv_func___builtin_abs_link=no
6915 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
6916 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
6917 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6918 cat >> confdefs.h <<EOF
6919 #define ${ac_tr_func} 1
6926 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
6927 echo "configure:6928: checking for __builtin_fabsf declaration" >&5
6928 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
6929 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
6930 echo $ac_n "(cached) $ac_c" 1>&6
6935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6936 ac_cpp='$CXXCPP $CPPFLAGS'
6937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6939 cross_compiling=$ac_cv_prog_cxx_cross
6941 cat > conftest.$ac_ext <<EOF
6942 #line 6943 "configure"
6943 #include "confdefs.h"
6949 if { (eval echo configure:6950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6951 glibcpp_cv_func___builtin_fabsf_use=yes
6953 echo "configure: failed program was:" >&5
6954 cat conftest.$ac_ext >&5
6956 glibcpp_cv_func___builtin_fabsf_use=no
6960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6961 ac_cpp='$CPP $CPPFLAGS'
6962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6964 cross_compiling=$ac_cv_prog_cc_cross
6970 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
6971 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
6972 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
6973 echo "configure:6974: checking for __builtin_fabsf linkage" >&5
6974 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
6975 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
6976 echo $ac_n "(cached) $ac_c" 1>&6
6979 cat > conftest.$ac_ext <<EOF
6980 #line 6981 "configure"
6981 #include "confdefs.h"
6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6989 glibcpp_cv_func___builtin_fabsf_link=yes
6991 echo "configure: failed program was:" >&5
6992 cat conftest.$ac_ext >&5
6994 glibcpp_cv_func___builtin_fabsf_link=no
7001 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7002 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7003 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7004 cat >> confdefs.h <<EOF
7005 #define ${ac_tr_func} 1
7012 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
7013 echo "configure:7014: checking for __builtin_fabs declaration" >&5
7014 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7015 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7016 echo $ac_n "(cached) $ac_c" 1>&6
7021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7022 ac_cpp='$CXXCPP $CPPFLAGS'
7023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7025 cross_compiling=$ac_cv_prog_cxx_cross
7027 cat > conftest.$ac_ext <<EOF
7028 #line 7029 "configure"
7029 #include "confdefs.h"
7035 if { (eval echo configure:7036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7037 glibcpp_cv_func___builtin_fabs_use=yes
7039 echo "configure: failed program was:" >&5
7040 cat conftest.$ac_ext >&5
7042 glibcpp_cv_func___builtin_fabs_use=no
7046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7047 ac_cpp='$CPP $CPPFLAGS'
7048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7050 cross_compiling=$ac_cv_prog_cc_cross
7056 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
7057 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
7058 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
7059 echo "configure:7060: checking for __builtin_fabs linkage" >&5
7060 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
7061 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
7062 echo $ac_n "(cached) $ac_c" 1>&6
7065 cat > conftest.$ac_ext <<EOF
7066 #line 7067 "configure"
7067 #include "confdefs.h"
7073 if { (eval echo configure:7074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7075 glibcpp_cv_func___builtin_fabs_link=yes
7077 echo "configure: failed program was:" >&5
7078 cat conftest.$ac_ext >&5
7080 glibcpp_cv_func___builtin_fabs_link=no
7087 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
7088 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
7089 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7090 cat >> confdefs.h <<EOF
7091 #define ${ac_tr_func} 1
7098 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
7099 echo "configure:7100: checking for __builtin_fabsl declaration" >&5
7100 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
7101 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
7102 echo $ac_n "(cached) $ac_c" 1>&6
7107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7108 ac_cpp='$CXXCPP $CPPFLAGS'
7109 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7110 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7111 cross_compiling=$ac_cv_prog_cxx_cross
7113 cat > conftest.$ac_ext <<EOF
7114 #line 7115 "configure"
7115 #include "confdefs.h"
7121 if { (eval echo configure:7122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7123 glibcpp_cv_func___builtin_fabsl_use=yes
7125 echo "configure: failed program was:" >&5
7126 cat conftest.$ac_ext >&5
7128 glibcpp_cv_func___builtin_fabsl_use=no
7132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7133 ac_cpp='$CPP $CPPFLAGS'
7134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7136 cross_compiling=$ac_cv_prog_cc_cross
7142 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
7143 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
7144 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
7145 echo "configure:7146: checking for __builtin_fabsl linkage" >&5
7146 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
7147 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
7148 echo $ac_n "(cached) $ac_c" 1>&6
7151 cat > conftest.$ac_ext <<EOF
7152 #line 7153 "configure"
7153 #include "confdefs.h"
7159 if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7161 glibcpp_cv_func___builtin_fabsl_link=yes
7163 echo "configure: failed program was:" >&5
7164 cat conftest.$ac_ext >&5
7166 glibcpp_cv_func___builtin_fabsl_link=no
7173 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
7174 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
7175 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7176 cat >> confdefs.h <<EOF
7177 #define ${ac_tr_func} 1
7184 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
7185 echo "configure:7186: checking for __builtin_labs declaration" >&5
7186 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
7187 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
7188 echo $ac_n "(cached) $ac_c" 1>&6
7193 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7194 ac_cpp='$CXXCPP $CPPFLAGS'
7195 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7196 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7197 cross_compiling=$ac_cv_prog_cxx_cross
7199 cat > conftest.$ac_ext <<EOF
7200 #line 7201 "configure"
7201 #include "confdefs.h"
7207 if { (eval echo configure:7208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7209 glibcpp_cv_func___builtin_labs_use=yes
7211 echo "configure: failed program was:" >&5
7212 cat conftest.$ac_ext >&5
7214 glibcpp_cv_func___builtin_labs_use=no
7218 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7219 ac_cpp='$CPP $CPPFLAGS'
7220 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7221 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7222 cross_compiling=$ac_cv_prog_cc_cross
7228 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
7229 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
7230 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
7231 echo "configure:7232: checking for __builtin_labs linkage" >&5
7232 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
7233 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
7234 echo $ac_n "(cached) $ac_c" 1>&6
7237 cat > conftest.$ac_ext <<EOF
7238 #line 7239 "configure"
7239 #include "confdefs.h"
7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7247 glibcpp_cv_func___builtin_labs_link=yes
7249 echo "configure: failed program was:" >&5
7250 cat conftest.$ac_ext >&5
7252 glibcpp_cv_func___builtin_labs_link=no
7259 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
7260 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
7261 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7262 cat >> confdefs.h <<EOF
7263 #define ${ac_tr_func} 1
7271 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
7272 echo "configure:7273: checking for __builtin_sqrtf declaration" >&5
7273 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
7274 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
7275 echo $ac_n "(cached) $ac_c" 1>&6
7280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7281 ac_cpp='$CXXCPP $CPPFLAGS'
7282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7284 cross_compiling=$ac_cv_prog_cxx_cross
7286 cat > conftest.$ac_ext <<EOF
7287 #line 7288 "configure"
7288 #include "confdefs.h"
7294 if { (eval echo configure:7295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7296 glibcpp_cv_func___builtin_sqrtf_use=yes
7298 echo "configure: failed program was:" >&5
7299 cat conftest.$ac_ext >&5
7301 glibcpp_cv_func___builtin_sqrtf_use=no
7305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7306 ac_cpp='$CPP $CPPFLAGS'
7307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7309 cross_compiling=$ac_cv_prog_cc_cross
7315 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
7316 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
7317 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
7318 echo "configure:7319: checking for __builtin_sqrtf linkage" >&5
7319 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
7320 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
7321 echo $ac_n "(cached) $ac_c" 1>&6
7324 cat > conftest.$ac_ext <<EOF
7325 #line 7326 "configure"
7326 #include "confdefs.h"
7332 if { (eval echo configure:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7334 glibcpp_cv_func___builtin_sqrtf_link=yes
7336 echo "configure: failed program was:" >&5
7337 cat conftest.$ac_ext >&5
7339 glibcpp_cv_func___builtin_sqrtf_link=no
7346 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
7347 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
7348 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7349 cat >> confdefs.h <<EOF
7350 #define ${ac_tr_func} 1
7357 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
7358 echo "configure:7359: checking for __builtin_sqrt declaration" >&5
7359 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
7360 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
7361 echo $ac_n "(cached) $ac_c" 1>&6
7366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7367 ac_cpp='$CXXCPP $CPPFLAGS'
7368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7370 cross_compiling=$ac_cv_prog_cxx_cross
7372 cat > conftest.$ac_ext <<EOF
7373 #line 7374 "configure"
7374 #include "confdefs.h"
7380 if { (eval echo configure:7381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7382 glibcpp_cv_func___builtin_sqrt_use=yes
7384 echo "configure: failed program was:" >&5
7385 cat conftest.$ac_ext >&5
7387 glibcpp_cv_func___builtin_sqrt_use=no
7391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7392 ac_cpp='$CPP $CPPFLAGS'
7393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7395 cross_compiling=$ac_cv_prog_cc_cross
7401 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
7402 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
7403 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
7404 echo "configure:7405: checking for __builtin_sqrt linkage" >&5
7405 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
7406 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
7407 echo $ac_n "(cached) $ac_c" 1>&6
7410 cat > conftest.$ac_ext <<EOF
7411 #line 7412 "configure"
7412 #include "confdefs.h"
7418 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7420 glibcpp_cv_func___builtin_sqrt_link=yes
7422 echo "configure: failed program was:" >&5
7423 cat conftest.$ac_ext >&5
7425 glibcpp_cv_func___builtin_sqrt_link=no
7432 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
7433 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
7434 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7435 cat >> confdefs.h <<EOF
7436 #define ${ac_tr_func} 1
7443 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
7444 echo "configure:7445: checking for __builtin_sqrtl declaration" >&5
7445 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
7446 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
7447 echo $ac_n "(cached) $ac_c" 1>&6
7452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7453 ac_cpp='$CXXCPP $CPPFLAGS'
7454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7456 cross_compiling=$ac_cv_prog_cxx_cross
7458 cat > conftest.$ac_ext <<EOF
7459 #line 7460 "configure"
7460 #include "confdefs.h"
7466 if { (eval echo configure:7467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7468 glibcpp_cv_func___builtin_sqrtl_use=yes
7470 echo "configure: failed program was:" >&5
7471 cat conftest.$ac_ext >&5
7473 glibcpp_cv_func___builtin_sqrtl_use=no
7477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7478 ac_cpp='$CPP $CPPFLAGS'
7479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7481 cross_compiling=$ac_cv_prog_cc_cross
7487 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
7488 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
7489 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
7490 echo "configure:7491: checking for __builtin_sqrtl linkage" >&5
7491 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
7492 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
7493 echo $ac_n "(cached) $ac_c" 1>&6
7496 cat > conftest.$ac_ext <<EOF
7497 #line 7498 "configure"
7498 #include "confdefs.h"
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7506 glibcpp_cv_func___builtin_sqrtl_link=yes
7508 echo "configure: failed program was:" >&5
7509 cat conftest.$ac_ext >&5
7511 glibcpp_cv_func___builtin_sqrtl_link=no
7518 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
7519 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
7520 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7521 cat >> confdefs.h <<EOF
7522 #define ${ac_tr_func} 1
7530 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
7531 echo "configure:7532: checking for __builtin_sinf declaration" >&5
7532 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
7533 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
7534 echo $ac_n "(cached) $ac_c" 1>&6
7539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7540 ac_cpp='$CXXCPP $CPPFLAGS'
7541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7543 cross_compiling=$ac_cv_prog_cxx_cross
7545 cat > conftest.$ac_ext <<EOF
7546 #line 7547 "configure"
7547 #include "confdefs.h"
7553 if { (eval echo configure:7554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7555 glibcpp_cv_func___builtin_sinf_use=yes
7557 echo "configure: failed program was:" >&5
7558 cat conftest.$ac_ext >&5
7560 glibcpp_cv_func___builtin_sinf_use=no
7564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7565 ac_cpp='$CPP $CPPFLAGS'
7566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7568 cross_compiling=$ac_cv_prog_cc_cross
7574 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
7575 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
7576 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
7577 echo "configure:7578: checking for __builtin_sinf linkage" >&5
7578 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
7579 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
7580 echo $ac_n "(cached) $ac_c" 1>&6
7583 cat > conftest.$ac_ext <<EOF
7584 #line 7585 "configure"
7585 #include "confdefs.h"
7591 if { (eval echo configure:7592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7593 glibcpp_cv_func___builtin_sinf_link=yes
7595 echo "configure: failed program was:" >&5
7596 cat conftest.$ac_ext >&5
7598 glibcpp_cv_func___builtin_sinf_link=no
7605 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
7606 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
7607 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7608 cat >> confdefs.h <<EOF
7609 #define ${ac_tr_func} 1
7616 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
7617 echo "configure:7618: checking for __builtin_sin declaration" >&5
7618 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
7619 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7626 ac_cpp='$CXXCPP $CPPFLAGS'
7627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7629 cross_compiling=$ac_cv_prog_cxx_cross
7631 cat > conftest.$ac_ext <<EOF
7632 #line 7633 "configure"
7633 #include "confdefs.h"
7639 if { (eval echo configure:7640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7641 glibcpp_cv_func___builtin_sin_use=yes
7643 echo "configure: failed program was:" >&5
7644 cat conftest.$ac_ext >&5
7646 glibcpp_cv_func___builtin_sin_use=no
7650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7651 ac_cpp='$CPP $CPPFLAGS'
7652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7654 cross_compiling=$ac_cv_prog_cc_cross
7660 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
7661 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
7662 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
7663 echo "configure:7664: checking for __builtin_sin linkage" >&5
7664 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
7665 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
7666 echo $ac_n "(cached) $ac_c" 1>&6
7669 cat > conftest.$ac_ext <<EOF
7670 #line 7671 "configure"
7671 #include "confdefs.h"
7677 if { (eval echo configure:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7679 glibcpp_cv_func___builtin_sin_link=yes
7681 echo "configure: failed program was:" >&5
7682 cat conftest.$ac_ext >&5
7684 glibcpp_cv_func___builtin_sin_link=no
7691 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
7692 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
7693 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7694 cat >> confdefs.h <<EOF
7695 #define ${ac_tr_func} 1
7702 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
7703 echo "configure:7704: checking for __builtin_sinl declaration" >&5
7704 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
7705 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
7706 echo $ac_n "(cached) $ac_c" 1>&6
7711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7712 ac_cpp='$CXXCPP $CPPFLAGS'
7713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7715 cross_compiling=$ac_cv_prog_cxx_cross
7717 cat > conftest.$ac_ext <<EOF
7718 #line 7719 "configure"
7719 #include "confdefs.h"
7725 if { (eval echo configure:7726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7727 glibcpp_cv_func___builtin_sinl_use=yes
7729 echo "configure: failed program was:" >&5
7730 cat conftest.$ac_ext >&5
7732 glibcpp_cv_func___builtin_sinl_use=no
7736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7737 ac_cpp='$CPP $CPPFLAGS'
7738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7740 cross_compiling=$ac_cv_prog_cc_cross
7746 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
7747 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
7748 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
7749 echo "configure:7750: checking for __builtin_sinl linkage" >&5
7750 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
7751 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
7752 echo $ac_n "(cached) $ac_c" 1>&6
7755 cat > conftest.$ac_ext <<EOF
7756 #line 7757 "configure"
7757 #include "confdefs.h"
7763 if { (eval echo configure:7764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7765 glibcpp_cv_func___builtin_sinl_link=yes
7767 echo "configure: failed program was:" >&5
7768 cat conftest.$ac_ext >&5
7770 glibcpp_cv_func___builtin_sinl_link=no
7777 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
7778 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
7779 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7780 cat >> confdefs.h <<EOF
7781 #define ${ac_tr_func} 1
7789 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
7790 echo "configure:7791: checking for __builtin_cosf declaration" >&5
7791 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
7792 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
7793 echo $ac_n "(cached) $ac_c" 1>&6
7798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7799 ac_cpp='$CXXCPP $CPPFLAGS'
7800 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7801 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7802 cross_compiling=$ac_cv_prog_cxx_cross
7804 cat > conftest.$ac_ext <<EOF
7805 #line 7806 "configure"
7806 #include "confdefs.h"
7812 if { (eval echo configure:7813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7814 glibcpp_cv_func___builtin_cosf_use=yes
7816 echo "configure: failed program was:" >&5
7817 cat conftest.$ac_ext >&5
7819 glibcpp_cv_func___builtin_cosf_use=no
7823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7824 ac_cpp='$CPP $CPPFLAGS'
7825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7827 cross_compiling=$ac_cv_prog_cc_cross
7833 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7834 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7835 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
7836 echo "configure:7837: checking for __builtin_cosf linkage" >&5
7837 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7838 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7839 echo $ac_n "(cached) $ac_c" 1>&6
7842 cat > conftest.$ac_ext <<EOF
7843 #line 7844 "configure"
7844 #include "confdefs.h"
7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7852 glibcpp_cv_func___builtin_cosf_link=yes
7854 echo "configure: failed program was:" >&5
7855 cat conftest.$ac_ext >&5
7857 glibcpp_cv_func___builtin_cosf_link=no
7864 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
7865 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
7866 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7867 cat >> confdefs.h <<EOF
7868 #define ${ac_tr_func} 1
7875 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
7876 echo "configure:7877: checking for __builtin_cos declaration" >&5
7877 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
7878 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
7879 echo $ac_n "(cached) $ac_c" 1>&6
7884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7885 ac_cpp='$CXXCPP $CPPFLAGS'
7886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7888 cross_compiling=$ac_cv_prog_cxx_cross
7890 cat > conftest.$ac_ext <<EOF
7891 #line 7892 "configure"
7892 #include "confdefs.h"
7898 if { (eval echo configure:7899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7900 glibcpp_cv_func___builtin_cos_use=yes
7902 echo "configure: failed program was:" >&5
7903 cat conftest.$ac_ext >&5
7905 glibcpp_cv_func___builtin_cos_use=no
7909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7910 ac_cpp='$CPP $CPPFLAGS'
7911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7913 cross_compiling=$ac_cv_prog_cc_cross
7919 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
7920 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
7921 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
7922 echo "configure:7923: checking for __builtin_cos linkage" >&5
7923 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
7924 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
7925 echo $ac_n "(cached) $ac_c" 1>&6
7928 cat > conftest.$ac_ext <<EOF
7929 #line 7930 "configure"
7930 #include "confdefs.h"
7936 if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7938 glibcpp_cv_func___builtin_cos_link=yes
7940 echo "configure: failed program was:" >&5
7941 cat conftest.$ac_ext >&5
7943 glibcpp_cv_func___builtin_cos_link=no
7950 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
7951 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
7952 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7953 cat >> confdefs.h <<EOF
7954 #define ${ac_tr_func} 1
7961 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
7962 echo "configure:7963: checking for __builtin_cosl declaration" >&5
7963 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
7964 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
7965 echo $ac_n "(cached) $ac_c" 1>&6
7970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7971 ac_cpp='$CXXCPP $CPPFLAGS'
7972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7974 cross_compiling=$ac_cv_prog_cxx_cross
7976 cat > conftest.$ac_ext <<EOF
7977 #line 7978 "configure"
7978 #include "confdefs.h"
7984 if { (eval echo configure:7985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7986 glibcpp_cv_func___builtin_cosl_use=yes
7988 echo "configure: failed program was:" >&5
7989 cat conftest.$ac_ext >&5
7991 glibcpp_cv_func___builtin_cosl_use=no
7995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7996 ac_cpp='$CPP $CPPFLAGS'
7997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7999 cross_compiling=$ac_cv_prog_cc_cross
8005 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8006 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8007 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
8008 echo "configure:8009: checking for __builtin_cosl linkage" >&5
8009 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8010 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8011 echo $ac_n "(cached) $ac_c" 1>&6
8014 cat > conftest.$ac_ext <<EOF
8015 #line 8016 "configure"
8016 #include "confdefs.h"
8022 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8024 glibcpp_cv_func___builtin_cosl_link=yes
8026 echo "configure: failed program was:" >&5
8027 cat conftest.$ac_ext >&5
8029 glibcpp_cv_func___builtin_cosl_link=no
8036 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
8037 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
8038 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8039 cat >> confdefs.h <<EOF
8040 #define ${ac_tr_func} 1
8048 if test x$dummyvar = x"yes"; then
8049 cat >> confdefs.h <<\EOF
8050 #define HAVE___BUILTIN_ABS 1
8053 cat >> confdefs.h <<\EOF
8054 #define HAVE___BUILTIN_LABS 1
8057 cat >> confdefs.h <<\EOF
8058 #define HAVE___BUILTIN_COS 1
8061 cat >> confdefs.h <<\EOF
8062 #define HAVE___BUILTIN_COSF 1
8065 cat >> confdefs.h <<\EOF
8066 #define HAVE___BUILTIN_COSL 1
8069 cat >> confdefs.h <<\EOF
8070 #define HAVE___BUILTIN_FABS 1
8073 cat >> confdefs.h <<\EOF
8074 #define HAVE___BUILTIN_FABSF 1
8077 cat >> confdefs.h <<\EOF
8078 #define HAVE___BUILTIN_FABSL 1
8081 cat >> confdefs.h <<\EOF
8082 #define HAVE___BUILTIN_SIN 1
8085 cat >> confdefs.h <<\EOF
8086 #define HAVE___BUILTIN_SINF 1
8089 cat >> confdefs.h <<\EOF
8090 #define HAVE___BUILTIN_SINL 1
8093 cat >> confdefs.h <<\EOF
8094 #define HAVE___BUILTIN_SQRT 1
8097 cat >> confdefs.h <<\EOF
8098 #define HAVE___BUILTIN_SQRTF 1
8101 cat >> confdefs.h <<\EOF
8102 #define HAVE___BUILTIN_SQRTL 1
8108 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8109 ac_save_CXXFLAGS="$CXXFLAGS"
8110 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
8112 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
8113 echo "configure:8114: checking for sin in -lm" >&5
8114 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
8115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8116 echo $ac_n "(cached) $ac_c" 1>&6
8118 ac_save_LIBS="$LIBS"
8120 cat > conftest.$ac_ext <<EOF
8121 #line 8122 "configure"
8122 #include "confdefs.h"
8123 /* Override any gcc2 internal prototype to avoid an error. */
8124 /* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */
8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8134 eval "ac_cv_lib_$ac_lib_var=yes"
8136 echo "configure: failed program was:" >&5
8137 cat conftest.$ac_ext >&5
8139 eval "ac_cv_lib_$ac_lib_var=no"
8142 LIBS="$ac_save_LIBS"
8145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8146 echo "$ac_t""yes" 1>&6
8149 echo "$ac_t""no" 1>&6
8152 ac_save_LIBS="$LIBS"
8157 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
8158 echo "configure:8159: checking for isinf declaration" >&5
8159 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
8160 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
8161 echo $ac_n "(cached) $ac_c" 1>&6
8166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8167 ac_cpp='$CXXCPP $CPPFLAGS'
8168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8170 cross_compiling=$ac_cv_prog_cxx_cross
8172 cat > conftest.$ac_ext <<EOF
8173 #line 8174 "configure"
8174 #include "confdefs.h"
8176 #ifdef HAVE_IEEEFP_H
8184 if { (eval echo configure:8185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8186 glibcpp_cv_func_isinf_use=yes
8188 echo "configure: failed program was:" >&5
8189 cat conftest.$ac_ext >&5
8191 glibcpp_cv_func_isinf_use=no
8195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8196 ac_cpp='$CPP $CPPFLAGS'
8197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8199 cross_compiling=$ac_cv_prog_cc_cross
8205 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
8207 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
8208 for ac_func in isinf
8210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8211 echo "configure:8212: checking for $ac_func" >&5
8212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8213 echo $ac_n "(cached) $ac_c" 1>&6
8215 cat > conftest.$ac_ext <<EOF
8216 #line 8217 "configure"
8217 #include "confdefs.h"
8218 /* System header to define __stub macros and hopefully few prototypes,
8219 which can conflict with char $ac_func(); below. */
8221 /* Override any gcc2 internal prototype to avoid an error. */
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8228 /* The GNU C library defines this for functions which it implements
8229 to always fail with ENOSYS. Some functions are actually named
8230 something starting with __ and the normal name is an alias. */
8231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8239 if { (eval echo configure:8240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8241 eval "ac_cv_func_$ac_func=yes"
8243 echo "configure: failed program was:" >&5
8244 cat conftest.$ac_ext >&5
8246 eval "ac_cv_func_$ac_func=no"
8251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8252 echo "$ac_t""yes" 1>&6
8253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8254 cat >> confdefs.h <<EOF
8255 #define $ac_tr_func 1
8259 echo "$ac_t""no" 1>&6
8265 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
8266 echo "configure:8267: checking for _isinf declaration" >&5
8267 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
8268 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
8269 echo $ac_n "(cached) $ac_c" 1>&6
8274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8275 ac_cpp='$CXXCPP $CPPFLAGS'
8276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8278 cross_compiling=$ac_cv_prog_cxx_cross
8280 cat > conftest.$ac_ext <<EOF
8281 #line 8282 "configure"
8282 #include "confdefs.h"
8284 #ifdef HAVE_IEEEFP_H
8292 if { (eval echo configure:8293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8294 glibcpp_cv_func__isinf_use=yes
8296 echo "configure: failed program was:" >&5
8297 cat conftest.$ac_ext >&5
8299 glibcpp_cv_func__isinf_use=no
8303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8304 ac_cpp='$CPP $CPPFLAGS'
8305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8307 cross_compiling=$ac_cv_prog_cc_cross
8313 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
8315 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
8316 for ac_func in _isinf
8318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8319 echo "configure:8320: checking for $ac_func" >&5
8320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8321 echo $ac_n "(cached) $ac_c" 1>&6
8323 cat > conftest.$ac_ext <<EOF
8324 #line 8325 "configure"
8325 #include "confdefs.h"
8326 /* System header to define __stub macros and hopefully few prototypes,
8327 which can conflict with char $ac_func(); below. */
8329 /* Override any gcc2 internal prototype to avoid an error. */
8330 /* We use char because int might match the return type of a gcc2
8331 builtin and then its argument prototype would still apply. */
8336 /* The GNU C library defines this for functions which it implements
8337 to always fail with ENOSYS. Some functions are actually named
8338 something starting with __ and the normal name is an alias. */
8339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8347 if { (eval echo configure:8348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8349 eval "ac_cv_func_$ac_func=yes"
8351 echo "configure: failed program was:" >&5
8352 cat conftest.$ac_ext >&5
8354 eval "ac_cv_func_$ac_func=no"
8359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8360 echo "$ac_t""yes" 1>&6
8361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8362 cat >> confdefs.h <<EOF
8363 #define $ac_tr_func 1
8367 echo "$ac_t""no" 1>&6
8376 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
8377 echo "configure:8378: checking for isnan declaration" >&5
8378 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
8379 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
8380 echo $ac_n "(cached) $ac_c" 1>&6
8385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8386 ac_cpp='$CXXCPP $CPPFLAGS'
8387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8389 cross_compiling=$ac_cv_prog_cxx_cross
8391 cat > conftest.$ac_ext <<EOF
8392 #line 8393 "configure"
8393 #include "confdefs.h"
8395 #ifdef HAVE_IEEEFP_H
8403 if { (eval echo configure:8404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8405 glibcpp_cv_func_isnan_use=yes
8407 echo "configure: failed program was:" >&5
8408 cat conftest.$ac_ext >&5
8410 glibcpp_cv_func_isnan_use=no
8414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8415 ac_cpp='$CPP $CPPFLAGS'
8416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8418 cross_compiling=$ac_cv_prog_cc_cross
8424 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
8426 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
8427 for ac_func in isnan
8429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8430 echo "configure:8431: checking for $ac_func" >&5
8431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8432 echo $ac_n "(cached) $ac_c" 1>&6
8434 cat > conftest.$ac_ext <<EOF
8435 #line 8436 "configure"
8436 #include "confdefs.h"
8437 /* System header to define __stub macros and hopefully few prototypes,
8438 which can conflict with char $ac_func(); below. */
8440 /* Override any gcc2 internal prototype to avoid an error. */
8441 /* We use char because int might match the return type of a gcc2
8442 builtin and then its argument prototype would still apply. */
8447 /* The GNU C library defines this for functions which it implements
8448 to always fail with ENOSYS. Some functions are actually named
8449 something starting with __ and the normal name is an alias. */
8450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8458 if { (eval echo configure:8459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8460 eval "ac_cv_func_$ac_func=yes"
8462 echo "configure: failed program was:" >&5
8463 cat conftest.$ac_ext >&5
8465 eval "ac_cv_func_$ac_func=no"
8470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8471 echo "$ac_t""yes" 1>&6
8472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8473 cat >> confdefs.h <<EOF
8474 #define $ac_tr_func 1
8478 echo "$ac_t""no" 1>&6
8484 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
8485 echo "configure:8486: checking for _isnan declaration" >&5
8486 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
8487 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
8488 echo $ac_n "(cached) $ac_c" 1>&6
8493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8494 ac_cpp='$CXXCPP $CPPFLAGS'
8495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8497 cross_compiling=$ac_cv_prog_cxx_cross
8499 cat > conftest.$ac_ext <<EOF
8500 #line 8501 "configure"
8501 #include "confdefs.h"
8503 #ifdef HAVE_IEEEFP_H
8511 if { (eval echo configure:8512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8513 glibcpp_cv_func__isnan_use=yes
8515 echo "configure: failed program was:" >&5
8516 cat conftest.$ac_ext >&5
8518 glibcpp_cv_func__isnan_use=no
8522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8523 ac_cpp='$CPP $CPPFLAGS'
8524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8526 cross_compiling=$ac_cv_prog_cc_cross
8532 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
8534 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
8535 for ac_func in _isnan
8537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8538 echo "configure:8539: checking for $ac_func" >&5
8539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8542 cat > conftest.$ac_ext <<EOF
8543 #line 8544 "configure"
8544 #include "confdefs.h"
8545 /* System header to define __stub macros and hopefully few prototypes,
8546 which can conflict with char $ac_func(); below. */
8548 /* Override any gcc2 internal prototype to avoid an error. */
8549 /* We use char because int might match the return type of a gcc2
8550 builtin and then its argument prototype would still apply. */
8555 /* The GNU C library defines this for functions which it implements
8556 to always fail with ENOSYS. Some functions are actually named
8557 something starting with __ and the normal name is an alias. */
8558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8568 eval "ac_cv_func_$ac_func=yes"
8570 echo "configure: failed program was:" >&5
8571 cat conftest.$ac_ext >&5
8573 eval "ac_cv_func_$ac_func=no"
8578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8579 echo "$ac_t""yes" 1>&6
8580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8581 cat >> confdefs.h <<EOF
8582 #define $ac_tr_func 1
8586 echo "$ac_t""no" 1>&6
8595 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
8596 echo "configure:8597: checking for finite declaration" >&5
8597 if test x${glibcpp_cv_func_finite_use+set} != xset; then
8598 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
8599 echo $ac_n "(cached) $ac_c" 1>&6
8604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8605 ac_cpp='$CXXCPP $CPPFLAGS'
8606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8608 cross_compiling=$ac_cv_prog_cxx_cross
8610 cat > conftest.$ac_ext <<EOF
8611 #line 8612 "configure"
8612 #include "confdefs.h"
8614 #ifdef HAVE_IEEEFP_H
8622 if { (eval echo configure:8623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8624 glibcpp_cv_func_finite_use=yes
8626 echo "configure: failed program was:" >&5
8627 cat conftest.$ac_ext >&5
8629 glibcpp_cv_func_finite_use=no
8633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8637 cross_compiling=$ac_cv_prog_cc_cross
8643 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
8645 if test x$glibcpp_cv_func_finite_use = x"yes"; then
8646 for ac_func in finite
8648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8649 echo "configure:8650: checking for $ac_func" >&5
8650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8651 echo $ac_n "(cached) $ac_c" 1>&6
8653 cat > conftest.$ac_ext <<EOF
8654 #line 8655 "configure"
8655 #include "confdefs.h"
8656 /* System header to define __stub macros and hopefully few prototypes,
8657 which can conflict with char $ac_func(); below. */
8659 /* Override any gcc2 internal prototype to avoid an error. */
8660 /* We use char because int might match the return type of a gcc2
8661 builtin and then its argument prototype would still apply. */
8666 /* The GNU C library defines this for functions which it implements
8667 to always fail with ENOSYS. Some functions are actually named
8668 something starting with __ and the normal name is an alias. */
8669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8677 if { (eval echo configure:8678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8679 eval "ac_cv_func_$ac_func=yes"
8681 echo "configure: failed program was:" >&5
8682 cat conftest.$ac_ext >&5
8684 eval "ac_cv_func_$ac_func=no"
8689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8690 echo "$ac_t""yes" 1>&6
8691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8692 cat >> confdefs.h <<EOF
8693 #define $ac_tr_func 1
8697 echo "$ac_t""no" 1>&6
8703 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
8704 echo "configure:8705: checking for _finite declaration" >&5
8705 if test x${glibcpp_cv_func__finite_use+set} != xset; then
8706 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
8707 echo $ac_n "(cached) $ac_c" 1>&6
8712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8713 ac_cpp='$CXXCPP $CPPFLAGS'
8714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8716 cross_compiling=$ac_cv_prog_cxx_cross
8718 cat > conftest.$ac_ext <<EOF
8719 #line 8720 "configure"
8720 #include "confdefs.h"
8722 #ifdef HAVE_IEEEFP_H
8730 if { (eval echo configure:8731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8732 glibcpp_cv_func__finite_use=yes
8734 echo "configure: failed program was:" >&5
8735 cat conftest.$ac_ext >&5
8737 glibcpp_cv_func__finite_use=no
8741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8742 ac_cpp='$CPP $CPPFLAGS'
8743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8745 cross_compiling=$ac_cv_prog_cc_cross
8751 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
8753 if test x$glibcpp_cv_func__finite_use = x"yes"; then
8754 for ac_func in _finite
8756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8757 echo "configure:8758: checking for $ac_func" >&5
8758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8759 echo $ac_n "(cached) $ac_c" 1>&6
8761 cat > conftest.$ac_ext <<EOF
8762 #line 8763 "configure"
8763 #include "confdefs.h"
8764 /* System header to define __stub macros and hopefully few prototypes,
8765 which can conflict with char $ac_func(); below. */
8767 /* Override any gcc2 internal prototype to avoid an error. */
8768 /* We use char because int might match the return type of a gcc2
8769 builtin and then its argument prototype would still apply. */
8774 /* The GNU C library defines this for functions which it implements
8775 to always fail with ENOSYS. Some functions are actually named
8776 something starting with __ and the normal name is an alias. */
8777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8785 if { (eval echo configure:8786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8787 eval "ac_cv_func_$ac_func=yes"
8789 echo "configure: failed program was:" >&5
8790 cat conftest.$ac_ext >&5
8792 eval "ac_cv_func_$ac_func=no"
8797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8798 echo "$ac_t""yes" 1>&6
8799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8800 cat >> confdefs.h <<EOF
8801 #define $ac_tr_func 1
8805 echo "$ac_t""no" 1>&6
8814 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
8815 echo "configure:8816: checking for copysign declaration" >&5
8816 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
8817 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8818 echo $ac_n "(cached) $ac_c" 1>&6
8823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8824 ac_cpp='$CXXCPP $CPPFLAGS'
8825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8827 cross_compiling=$ac_cv_prog_cxx_cross
8829 cat > conftest.$ac_ext <<EOF
8830 #line 8831 "configure"
8831 #include "confdefs.h"
8837 if { (eval echo configure:8838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8839 glibcpp_cv_func_copysign_use=yes
8841 echo "configure: failed program was:" >&5
8842 cat conftest.$ac_ext >&5
8844 glibcpp_cv_func_copysign_use=no
8848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8849 ac_cpp='$CPP $CPPFLAGS'
8850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8852 cross_compiling=$ac_cv_prog_cc_cross
8858 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
8860 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
8861 for ac_func in copysign
8863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8864 echo "configure:8865: checking for $ac_func" >&5
8865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8866 echo $ac_n "(cached) $ac_c" 1>&6
8868 cat > conftest.$ac_ext <<EOF
8869 #line 8870 "configure"
8870 #include "confdefs.h"
8871 /* System header to define __stub macros and hopefully few prototypes,
8872 which can conflict with char $ac_func(); below. */
8874 /* Override any gcc2 internal prototype to avoid an error. */
8875 /* We use char because int might match the return type of a gcc2
8876 builtin and then its argument prototype would still apply. */
8881 /* The GNU C library defines this for functions which it implements
8882 to always fail with ENOSYS. Some functions are actually named
8883 something starting with __ and the normal name is an alias. */
8884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8892 if { (eval echo configure:8893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8894 eval "ac_cv_func_$ac_func=yes"
8896 echo "configure: failed program was:" >&5
8897 cat conftest.$ac_ext >&5
8899 eval "ac_cv_func_$ac_func=no"
8904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8905 echo "$ac_t""yes" 1>&6
8906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8907 cat >> confdefs.h <<EOF
8908 #define $ac_tr_func 1
8912 echo "$ac_t""no" 1>&6
8918 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
8919 echo "configure:8920: checking for _copysign declaration" >&5
8920 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
8921 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
8922 echo $ac_n "(cached) $ac_c" 1>&6
8927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8928 ac_cpp='$CXXCPP $CPPFLAGS'
8929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8931 cross_compiling=$ac_cv_prog_cxx_cross
8933 cat > conftest.$ac_ext <<EOF
8934 #line 8935 "configure"
8935 #include "confdefs.h"
8941 if { (eval echo configure:8942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8943 glibcpp_cv_func__copysign_use=yes
8945 echo "configure: failed program was:" >&5
8946 cat conftest.$ac_ext >&5
8948 glibcpp_cv_func__copysign_use=no
8952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8953 ac_cpp='$CPP $CPPFLAGS'
8954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8956 cross_compiling=$ac_cv_prog_cc_cross
8962 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
8964 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
8965 for ac_func in _copysign
8967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8968 echo "configure:8969: checking for $ac_func" >&5
8969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8970 echo $ac_n "(cached) $ac_c" 1>&6
8972 cat > conftest.$ac_ext <<EOF
8973 #line 8974 "configure"
8974 #include "confdefs.h"
8975 /* System header to define __stub macros and hopefully few prototypes,
8976 which can conflict with char $ac_func(); below. */
8978 /* Override any gcc2 internal prototype to avoid an error. */
8979 /* We use char because int might match the return type of a gcc2
8980 builtin and then its argument prototype would still apply. */
8985 /* The GNU C library defines this for functions which it implements
8986 to always fail with ENOSYS. Some functions are actually named
8987 something starting with __ and the normal name is an alias. */
8988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8996 if { (eval echo configure:8997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8998 eval "ac_cv_func_$ac_func=yes"
9000 echo "configure: failed program was:" >&5
9001 cat conftest.$ac_ext >&5
9003 eval "ac_cv_func_$ac_func=no"
9008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9009 echo "$ac_t""yes" 1>&6
9010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9011 cat >> confdefs.h <<EOF
9012 #define $ac_tr_func 1
9016 echo "$ac_t""no" 1>&6
9025 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
9026 echo "configure:9027: checking for sincos declaration" >&5
9027 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
9028 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
9029 echo $ac_n "(cached) $ac_c" 1>&6
9034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9035 ac_cpp='$CXXCPP $CPPFLAGS'
9036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9038 cross_compiling=$ac_cv_prog_cxx_cross
9040 cat > conftest.$ac_ext <<EOF
9041 #line 9042 "configure"
9042 #include "confdefs.h"
9048 if { (eval echo configure:9049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9050 glibcpp_cv_func_sincos_use=yes
9052 echo "configure: failed program was:" >&5
9053 cat conftest.$ac_ext >&5
9055 glibcpp_cv_func_sincos_use=no
9059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9060 ac_cpp='$CPP $CPPFLAGS'
9061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9063 cross_compiling=$ac_cv_prog_cc_cross
9069 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
9071 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
9072 for ac_func in sincos
9074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9075 echo "configure:9076: checking for $ac_func" >&5
9076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9077 echo $ac_n "(cached) $ac_c" 1>&6
9079 cat > conftest.$ac_ext <<EOF
9080 #line 9081 "configure"
9081 #include "confdefs.h"
9082 /* System header to define __stub macros and hopefully few prototypes,
9083 which can conflict with char $ac_func(); below. */
9085 /* Override any gcc2 internal prototype to avoid an error. */
9086 /* We use char because int might match the return type of a gcc2
9087 builtin and then its argument prototype would still apply. */
9092 /* The GNU C library defines this for functions which it implements
9093 to always fail with ENOSYS. Some functions are actually named
9094 something starting with __ and the normal name is an alias. */
9095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9103 if { (eval echo configure:9104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9105 eval "ac_cv_func_$ac_func=yes"
9107 echo "configure: failed program was:" >&5
9108 cat conftest.$ac_ext >&5
9110 eval "ac_cv_func_$ac_func=no"
9115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9116 echo "$ac_t""yes" 1>&6
9117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9118 cat >> confdefs.h <<EOF
9119 #define $ac_tr_func 1
9123 echo "$ac_t""no" 1>&6
9129 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
9130 echo "configure:9131: checking for _sincos declaration" >&5
9131 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
9132 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
9133 echo $ac_n "(cached) $ac_c" 1>&6
9138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9139 ac_cpp='$CXXCPP $CPPFLAGS'
9140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9142 cross_compiling=$ac_cv_prog_cxx_cross
9144 cat > conftest.$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9152 if { (eval echo configure:9153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9154 glibcpp_cv_func__sincos_use=yes
9156 echo "configure: failed program was:" >&5
9157 cat conftest.$ac_ext >&5
9159 glibcpp_cv_func__sincos_use=no
9163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9164 ac_cpp='$CPP $CPPFLAGS'
9165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9167 cross_compiling=$ac_cv_prog_cc_cross
9173 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
9175 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
9176 for ac_func in _sincos
9178 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9179 echo "configure:9180: checking for $ac_func" >&5
9180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9181 echo $ac_n "(cached) $ac_c" 1>&6
9183 cat > conftest.$ac_ext <<EOF
9184 #line 9185 "configure"
9185 #include "confdefs.h"
9186 /* System header to define __stub macros and hopefully few prototypes,
9187 which can conflict with char $ac_func(); below. */
9189 /* Override any gcc2 internal prototype to avoid an error. */
9190 /* We use char because int might match the return type of a gcc2
9191 builtin and then its argument prototype would still apply. */
9196 /* The GNU C library defines this for functions which it implements
9197 to always fail with ENOSYS. Some functions are actually named
9198 something starting with __ and the normal name is an alias. */
9199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9207 if { (eval echo configure:9208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9209 eval "ac_cv_func_$ac_func=yes"
9211 echo "configure: failed program was:" >&5
9212 cat conftest.$ac_ext >&5
9214 eval "ac_cv_func_$ac_func=no"
9219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9220 echo "$ac_t""yes" 1>&6
9221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9222 cat >> confdefs.h <<EOF
9223 #define $ac_tr_func 1
9227 echo "$ac_t""no" 1>&6
9236 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
9237 echo "configure:9238: checking for fpclass declaration" >&5
9238 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
9239 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
9240 echo $ac_n "(cached) $ac_c" 1>&6
9245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9246 ac_cpp='$CXXCPP $CPPFLAGS'
9247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9249 cross_compiling=$ac_cv_prog_cxx_cross
9251 cat > conftest.$ac_ext <<EOF
9252 #line 9253 "configure"
9253 #include "confdefs.h"
9255 #ifdef HAVE_IEEEFP_H
9263 if { (eval echo configure:9264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9265 glibcpp_cv_func_fpclass_use=yes
9267 echo "configure: failed program was:" >&5
9268 cat conftest.$ac_ext >&5
9270 glibcpp_cv_func_fpclass_use=no
9274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9275 ac_cpp='$CPP $CPPFLAGS'
9276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9278 cross_compiling=$ac_cv_prog_cc_cross
9284 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
9286 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
9287 for ac_func in fpclass
9289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9290 echo "configure:9291: checking for $ac_func" >&5
9291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9292 echo $ac_n "(cached) $ac_c" 1>&6
9294 cat > conftest.$ac_ext <<EOF
9295 #line 9296 "configure"
9296 #include "confdefs.h"
9297 /* System header to define __stub macros and hopefully few prototypes,
9298 which can conflict with char $ac_func(); below. */
9300 /* Override any gcc2 internal prototype to avoid an error. */
9301 /* We use char because int might match the return type of a gcc2
9302 builtin and then its argument prototype would still apply. */
9307 /* The GNU C library defines this for functions which it implements
9308 to always fail with ENOSYS. Some functions are actually named
9309 something starting with __ and the normal name is an alias. */
9310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9318 if { (eval echo configure:9319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9320 eval "ac_cv_func_$ac_func=yes"
9322 echo "configure: failed program was:" >&5
9323 cat conftest.$ac_ext >&5
9325 eval "ac_cv_func_$ac_func=no"
9330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9331 echo "$ac_t""yes" 1>&6
9332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9333 cat >> confdefs.h <<EOF
9334 #define $ac_tr_func 1
9338 echo "$ac_t""no" 1>&6
9344 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
9345 echo "configure:9346: checking for _fpclass declaration" >&5
9346 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
9347 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
9348 echo $ac_n "(cached) $ac_c" 1>&6
9353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9354 ac_cpp='$CXXCPP $CPPFLAGS'
9355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9357 cross_compiling=$ac_cv_prog_cxx_cross
9359 cat > conftest.$ac_ext <<EOF
9360 #line 9361 "configure"
9361 #include "confdefs.h"
9363 #ifdef HAVE_IEEEFP_H
9371 if { (eval echo configure:9372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9373 glibcpp_cv_func__fpclass_use=yes
9375 echo "configure: failed program was:" >&5
9376 cat conftest.$ac_ext >&5
9378 glibcpp_cv_func__fpclass_use=no
9382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9386 cross_compiling=$ac_cv_prog_cc_cross
9392 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
9394 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
9395 for ac_func in _fpclass
9397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9398 echo "configure:9399: checking for $ac_func" >&5
9399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9400 echo $ac_n "(cached) $ac_c" 1>&6
9402 cat > conftest.$ac_ext <<EOF
9403 #line 9404 "configure"
9404 #include "confdefs.h"
9405 /* System header to define __stub macros and hopefully few prototypes,
9406 which can conflict with char $ac_func(); below. */
9408 /* Override any gcc2 internal prototype to avoid an error. */
9409 /* We use char because int might match the return type of a gcc2
9410 builtin and then its argument prototype would still apply. */
9415 /* The GNU C library defines this for functions which it implements
9416 to always fail with ENOSYS. Some functions are actually named
9417 something starting with __ and the normal name is an alias. */
9418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9426 if { (eval echo configure:9427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9428 eval "ac_cv_func_$ac_func=yes"
9430 echo "configure: failed program was:" >&5
9431 cat conftest.$ac_ext >&5
9433 eval "ac_cv_func_$ac_func=no"
9438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9439 echo "$ac_t""yes" 1>&6
9440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9441 cat >> confdefs.h <<EOF
9442 #define $ac_tr_func 1
9446 echo "$ac_t""no" 1>&6
9455 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
9456 echo "configure:9457: checking for qfpclass declaration" >&5
9457 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
9458 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
9459 echo $ac_n "(cached) $ac_c" 1>&6
9464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9465 ac_cpp='$CXXCPP $CPPFLAGS'
9466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9468 cross_compiling=$ac_cv_prog_cxx_cross
9470 cat > conftest.$ac_ext <<EOF
9471 #line 9472 "configure"
9472 #include "confdefs.h"
9474 #ifdef HAVE_IEEEFP_H
9482 if { (eval echo configure:9483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9484 glibcpp_cv_func_qfpclass_use=yes
9486 echo "configure: failed program was:" >&5
9487 cat conftest.$ac_ext >&5
9489 glibcpp_cv_func_qfpclass_use=no
9493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9494 ac_cpp='$CPP $CPPFLAGS'
9495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9497 cross_compiling=$ac_cv_prog_cc_cross
9503 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
9505 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
9506 for ac_func in qfpclass
9508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9509 echo "configure:9510: checking for $ac_func" >&5
9510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9511 echo $ac_n "(cached) $ac_c" 1>&6
9513 cat > conftest.$ac_ext <<EOF
9514 #line 9515 "configure"
9515 #include "confdefs.h"
9516 /* System header to define __stub macros and hopefully few prototypes,
9517 which can conflict with char $ac_func(); below. */
9519 /* Override any gcc2 internal prototype to avoid an error. */
9520 /* We use char because int might match the return type of a gcc2
9521 builtin and then its argument prototype would still apply. */
9526 /* The GNU C library defines this for functions which it implements
9527 to always fail with ENOSYS. Some functions are actually named
9528 something starting with __ and the normal name is an alias. */
9529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9537 if { (eval echo configure:9538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9539 eval "ac_cv_func_$ac_func=yes"
9541 echo "configure: failed program was:" >&5
9542 cat conftest.$ac_ext >&5
9544 eval "ac_cv_func_$ac_func=no"
9549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9550 echo "$ac_t""yes" 1>&6
9551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9552 cat >> confdefs.h <<EOF
9553 #define $ac_tr_func 1
9557 echo "$ac_t""no" 1>&6
9563 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
9564 echo "configure:9565: checking for _qfpclass declaration" >&5
9565 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
9566 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
9567 echo $ac_n "(cached) $ac_c" 1>&6
9572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9573 ac_cpp='$CXXCPP $CPPFLAGS'
9574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9576 cross_compiling=$ac_cv_prog_cxx_cross
9578 cat > conftest.$ac_ext <<EOF
9579 #line 9580 "configure"
9580 #include "confdefs.h"
9582 #ifdef HAVE_IEEEFP_H
9590 if { (eval echo configure:9591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9592 glibcpp_cv_func__qfpclass_use=yes
9594 echo "configure: failed program was:" >&5
9595 cat conftest.$ac_ext >&5
9597 glibcpp_cv_func__qfpclass_use=no
9601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9602 ac_cpp='$CPP $CPPFLAGS'
9603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9605 cross_compiling=$ac_cv_prog_cc_cross
9611 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
9613 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
9614 for ac_func in _qfpclass
9616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9617 echo "configure:9618: checking for $ac_func" >&5
9618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9619 echo $ac_n "(cached) $ac_c" 1>&6
9621 cat > conftest.$ac_ext <<EOF
9622 #line 9623 "configure"
9623 #include "confdefs.h"
9624 /* System header to define __stub macros and hopefully few prototypes,
9625 which can conflict with char $ac_func(); below. */
9627 /* Override any gcc2 internal prototype to avoid an error. */
9628 /* We use char because int might match the return type of a gcc2
9629 builtin and then its argument prototype would still apply. */
9634 /* The GNU C library defines this for functions which it implements
9635 to always fail with ENOSYS. Some functions are actually named
9636 something starting with __ and the normal name is an alias. */
9637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9645 if { (eval echo configure:9646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9647 eval "ac_cv_func_$ac_func=yes"
9649 echo "configure: failed program was:" >&5
9650 cat conftest.$ac_ext >&5
9652 eval "ac_cv_func_$ac_func=no"
9657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9658 echo "$ac_t""yes" 1>&6
9659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9660 cat >> confdefs.h <<EOF
9661 #define $ac_tr_func 1
9665 echo "$ac_t""no" 1>&6
9674 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
9675 echo "configure:9676: checking for hypot declaration" >&5
9676 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
9677 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
9678 echo $ac_n "(cached) $ac_c" 1>&6
9683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9684 ac_cpp='$CXXCPP $CPPFLAGS'
9685 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9686 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9687 cross_compiling=$ac_cv_prog_cxx_cross
9689 cat > conftest.$ac_ext <<EOF
9690 #line 9691 "configure"
9691 #include "confdefs.h"
9697 if { (eval echo configure:9698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9699 glibcpp_cv_func_hypot_use=yes
9701 echo "configure: failed program was:" >&5
9702 cat conftest.$ac_ext >&5
9704 glibcpp_cv_func_hypot_use=no
9708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9709 ac_cpp='$CPP $CPPFLAGS'
9710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9712 cross_compiling=$ac_cv_prog_cc_cross
9718 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
9720 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
9721 for ac_func in hypot
9723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9724 echo "configure:9725: checking for $ac_func" >&5
9725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9726 echo $ac_n "(cached) $ac_c" 1>&6
9728 cat > conftest.$ac_ext <<EOF
9729 #line 9730 "configure"
9730 #include "confdefs.h"
9731 /* System header to define __stub macros and hopefully few prototypes,
9732 which can conflict with char $ac_func(); below. */
9734 /* Override any gcc2 internal prototype to avoid an error. */
9735 /* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
9741 /* The GNU C library defines this for functions which it implements
9742 to always fail with ENOSYS. Some functions are actually named
9743 something starting with __ and the normal name is an alias. */
9744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9754 eval "ac_cv_func_$ac_func=yes"
9756 echo "configure: failed program was:" >&5
9757 cat conftest.$ac_ext >&5
9759 eval "ac_cv_func_$ac_func=no"
9764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9765 echo "$ac_t""yes" 1>&6
9766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9767 cat >> confdefs.h <<EOF
9768 #define $ac_tr_func 1
9772 echo "$ac_t""no" 1>&6
9778 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
9779 echo "configure:9780: checking for _hypot declaration" >&5
9780 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
9781 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
9782 echo $ac_n "(cached) $ac_c" 1>&6
9787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9788 ac_cpp='$CXXCPP $CPPFLAGS'
9789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9791 cross_compiling=$ac_cv_prog_cxx_cross
9793 cat > conftest.$ac_ext <<EOF
9794 #line 9795 "configure"
9795 #include "confdefs.h"
9801 if { (eval echo configure:9802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9803 glibcpp_cv_func__hypot_use=yes
9805 echo "configure: failed program was:" >&5
9806 cat conftest.$ac_ext >&5
9808 glibcpp_cv_func__hypot_use=no
9812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9813 ac_cpp='$CPP $CPPFLAGS'
9814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9816 cross_compiling=$ac_cv_prog_cc_cross
9822 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9824 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9825 for ac_func in _hypot
9827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9828 echo "configure:9829: checking for $ac_func" >&5
9829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 cat > conftest.$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char $ac_func(); below. */
9838 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9845 /* The GNU C library defines this for functions which it implements
9846 to always fail with ENOSYS. Some functions are actually named
9847 something starting with __ and the normal name is an alias. */
9848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9856 if { (eval echo configure:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9858 eval "ac_cv_func_$ac_func=yes"
9860 echo "configure: failed program was:" >&5
9861 cat conftest.$ac_ext >&5
9863 eval "ac_cv_func_$ac_func=no"
9868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6
9870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9871 cat >> confdefs.h <<EOF
9872 #define $ac_tr_func 1
9876 echo "$ac_t""no" 1>&6
9885 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
9886 echo "configure:9887: checking for float trig functions" >&5
9887 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
9888 echo $ac_n "(cached) $ac_c" 1>&6
9893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9894 ac_cpp='$CXXCPP $CPPFLAGS'
9895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9897 cross_compiling=$ac_cv_prog_cxx_cross
9899 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure"
9901 #include "confdefs.h"
9904 `for x in acosf asinf atanf \
9906 coshf sinhf tanhf; do echo "$x (0);"; done`
9909 if { (eval echo configure:9910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9911 glibcpp_cv_func_float_trig_use=yes
9913 echo "configure: failed program was:" >&5
9914 cat conftest.$ac_ext >&5
9916 glibcpp_cv_func_float_trig_use=no
9920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9921 ac_cpp='$CPP $CPPFLAGS'
9922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9924 cross_compiling=$ac_cv_prog_cc_cross
9928 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
9929 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
9930 for ac_func in acosf asinf atanf \
9934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9935 echo "configure:9936: checking for $ac_func" >&5
9936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9937 echo $ac_n "(cached) $ac_c" 1>&6
9939 cat > conftest.$ac_ext <<EOF
9940 #line 9941 "configure"
9941 #include "confdefs.h"
9942 /* System header to define __stub macros and hopefully few prototypes,
9943 which can conflict with char $ac_func(); below. */
9945 /* Override any gcc2 internal prototype to avoid an error. */
9946 /* We use char because int might match the return type of a gcc2
9947 builtin and then its argument prototype would still apply. */
9952 /* The GNU C library defines this for functions which it implements
9953 to always fail with ENOSYS. Some functions are actually named
9954 something starting with __ and the normal name is an alias. */
9955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9963 if { (eval echo configure:9964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9965 eval "ac_cv_func_$ac_func=yes"
9967 echo "configure: failed program was:" >&5
9968 cat conftest.$ac_ext >&5
9970 eval "ac_cv_func_$ac_func=no"
9975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9976 echo "$ac_t""yes" 1>&6
9977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9978 cat >> confdefs.h <<EOF
9979 #define $ac_tr_func 1
9983 echo "$ac_t""no" 1>&6
9990 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
9991 echo "configure:9992: checking for float round functions" >&5
9992 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
9993 echo $ac_n "(cached) $ac_c" 1>&6
9998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9999 ac_cpp='$CXXCPP $CPPFLAGS'
10000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10002 cross_compiling=$ac_cv_prog_cxx_cross
10004 cat > conftest.$ac_ext <<EOF
10005 #line 10006 "configure"
10006 #include "confdefs.h"
10009 `for x in ceilf floorf; do echo "$x (0);"; done`
10012 if { (eval echo configure:10013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10014 glibcpp_cv_func_float_round_use=yes
10016 echo "configure: failed program was:" >&5
10017 cat conftest.$ac_ext >&5
10019 glibcpp_cv_func_float_round_use=no
10023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10024 ac_cpp='$CPP $CPPFLAGS'
10025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10027 cross_compiling=$ac_cv_prog_cc_cross
10031 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
10032 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
10033 for ac_func in ceilf floorf
10035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10036 echo "configure:10037: checking for $ac_func" >&5
10037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10038 echo $ac_n "(cached) $ac_c" 1>&6
10040 cat > conftest.$ac_ext <<EOF
10041 #line 10042 "configure"
10042 #include "confdefs.h"
10043 /* System header to define __stub macros and hopefully few prototypes,
10044 which can conflict with char $ac_func(); below. */
10045 #include <assert.h>
10046 /* Override any gcc2 internal prototype to avoid an error. */
10047 /* We use char because int might match the return type of a gcc2
10048 builtin and then its argument prototype would still apply. */
10053 /* The GNU C library defines this for functions which it implements
10054 to always fail with ENOSYS. Some functions are actually named
10055 something starting with __ and the normal name is an alias. */
10056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10064 if { (eval echo configure:10065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10066 eval "ac_cv_func_$ac_func=yes"
10068 echo "configure: failed program was:" >&5
10069 cat conftest.$ac_ext >&5
10071 eval "ac_cv_func_$ac_func=no"
10076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10077 echo "$ac_t""yes" 1>&6
10078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10079 cat >> confdefs.h <<EOF
10080 #define $ac_tr_func 1
10084 echo "$ac_t""no" 1>&6
10092 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
10093 echo "configure:10094: checking for isnanf declaration" >&5
10094 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
10095 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
10096 echo $ac_n "(cached) $ac_c" 1>&6
10101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10102 ac_cpp='$CXXCPP $CPPFLAGS'
10103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10105 cross_compiling=$ac_cv_prog_cxx_cross
10107 cat > conftest.$ac_ext <<EOF
10108 #line 10109 "configure"
10109 #include "confdefs.h"
10111 #ifdef HAVE_IEEEFP_H
10112 #include <ieeefp.h>
10119 if { (eval echo configure:10120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10121 glibcpp_cv_func_isnanf_use=yes
10123 echo "configure: failed program was:" >&5
10124 cat conftest.$ac_ext >&5
10126 glibcpp_cv_func_isnanf_use=no
10130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10131 ac_cpp='$CPP $CPPFLAGS'
10132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10134 cross_compiling=$ac_cv_prog_cc_cross
10140 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
10142 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
10143 for ac_func in isnanf
10145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10146 echo "configure:10147: checking for $ac_func" >&5
10147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10148 echo $ac_n "(cached) $ac_c" 1>&6
10150 cat > conftest.$ac_ext <<EOF
10151 #line 10152 "configure"
10152 #include "confdefs.h"
10153 /* System header to define __stub macros and hopefully few prototypes,
10154 which can conflict with char $ac_func(); below. */
10155 #include <assert.h>
10156 /* Override any gcc2 internal prototype to avoid an error. */
10157 /* We use char because int might match the return type of a gcc2
10158 builtin and then its argument prototype would still apply. */
10163 /* The GNU C library defines this for functions which it implements
10164 to always fail with ENOSYS. Some functions are actually named
10165 something starting with __ and the normal name is an alias. */
10166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10174 if { (eval echo configure:10175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10176 eval "ac_cv_func_$ac_func=yes"
10178 echo "configure: failed program was:" >&5
10179 cat conftest.$ac_ext >&5
10181 eval "ac_cv_func_$ac_func=no"
10186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10187 echo "$ac_t""yes" 1>&6
10188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10189 cat >> confdefs.h <<EOF
10190 #define $ac_tr_func 1
10194 echo "$ac_t""no" 1>&6
10200 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
10201 echo "configure:10202: checking for _isnanf declaration" >&5
10202 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
10203 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
10204 echo $ac_n "(cached) $ac_c" 1>&6
10209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10210 ac_cpp='$CXXCPP $CPPFLAGS'
10211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10213 cross_compiling=$ac_cv_prog_cxx_cross
10215 cat > conftest.$ac_ext <<EOF
10216 #line 10217 "configure"
10217 #include "confdefs.h"
10219 #ifdef HAVE_IEEEFP_H
10220 #include <ieeefp.h>
10227 if { (eval echo configure:10228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10229 glibcpp_cv_func__isnanf_use=yes
10231 echo "configure: failed program was:" >&5
10232 cat conftest.$ac_ext >&5
10234 glibcpp_cv_func__isnanf_use=no
10238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10239 ac_cpp='$CPP $CPPFLAGS'
10240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10242 cross_compiling=$ac_cv_prog_cc_cross
10248 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
10250 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
10251 for ac_func in _isnanf
10253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10254 echo "configure:10255: checking for $ac_func" >&5
10255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10256 echo $ac_n "(cached) $ac_c" 1>&6
10258 cat > conftest.$ac_ext <<EOF
10259 #line 10260 "configure"
10260 #include "confdefs.h"
10261 /* System header to define __stub macros and hopefully few prototypes,
10262 which can conflict with char $ac_func(); below. */
10263 #include <assert.h>
10264 /* Override any gcc2 internal prototype to avoid an error. */
10265 /* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */
10271 /* The GNU C library defines this for functions which it implements
10272 to always fail with ENOSYS. Some functions are actually named
10273 something starting with __ and the normal name is an alias. */
10274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10282 if { (eval echo configure:10283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10284 eval "ac_cv_func_$ac_func=yes"
10286 echo "configure: failed program was:" >&5
10287 cat conftest.$ac_ext >&5
10289 eval "ac_cv_func_$ac_func=no"
10294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10295 echo "$ac_t""yes" 1>&6
10296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10297 cat >> confdefs.h <<EOF
10298 #define $ac_tr_func 1
10302 echo "$ac_t""no" 1>&6
10311 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
10312 echo "configure:10313: checking for isinff declaration" >&5
10313 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
10314 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
10315 echo $ac_n "(cached) $ac_c" 1>&6
10320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10321 ac_cpp='$CXXCPP $CPPFLAGS'
10322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10324 cross_compiling=$ac_cv_prog_cxx_cross
10326 cat > conftest.$ac_ext <<EOF
10327 #line 10328 "configure"
10328 #include "confdefs.h"
10330 #ifdef HAVE_IEEEFP_H
10331 #include <ieeefp.h>
10338 if { (eval echo configure:10339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10340 glibcpp_cv_func_isinff_use=yes
10342 echo "configure: failed program was:" >&5
10343 cat conftest.$ac_ext >&5
10345 glibcpp_cv_func_isinff_use=no
10349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10350 ac_cpp='$CPP $CPPFLAGS'
10351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10353 cross_compiling=$ac_cv_prog_cc_cross
10359 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
10361 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
10362 for ac_func in isinff
10364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10365 echo "configure:10366: checking for $ac_func" >&5
10366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10367 echo $ac_n "(cached) $ac_c" 1>&6
10369 cat > conftest.$ac_ext <<EOF
10370 #line 10371 "configure"
10371 #include "confdefs.h"
10372 /* System header to define __stub macros and hopefully few prototypes,
10373 which can conflict with char $ac_func(); below. */
10374 #include <assert.h>
10375 /* Override any gcc2 internal prototype to avoid an error. */
10376 /* We use char because int might match the return type of a gcc2
10377 builtin and then its argument prototype would still apply. */
10382 /* The GNU C library defines this for functions which it implements
10383 to always fail with ENOSYS. Some functions are actually named
10384 something starting with __ and the normal name is an alias. */
10385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10393 if { (eval echo configure:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10395 eval "ac_cv_func_$ac_func=yes"
10397 echo "configure: failed program was:" >&5
10398 cat conftest.$ac_ext >&5
10400 eval "ac_cv_func_$ac_func=no"
10405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10406 echo "$ac_t""yes" 1>&6
10407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10408 cat >> confdefs.h <<EOF
10409 #define $ac_tr_func 1
10413 echo "$ac_t""no" 1>&6
10419 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
10420 echo "configure:10421: checking for _isinff declaration" >&5
10421 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
10422 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10429 ac_cpp='$CXXCPP $CPPFLAGS'
10430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10432 cross_compiling=$ac_cv_prog_cxx_cross
10434 cat > conftest.$ac_ext <<EOF
10435 #line 10436 "configure"
10436 #include "confdefs.h"
10438 #ifdef HAVE_IEEEFP_H
10439 #include <ieeefp.h>
10446 if { (eval echo configure:10447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10448 glibcpp_cv_func__isinff_use=yes
10450 echo "configure: failed program was:" >&5
10451 cat conftest.$ac_ext >&5
10453 glibcpp_cv_func__isinff_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__isinff_use" 1>&6
10469 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
10470 for ac_func in _isinff
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 atan2f declaration""... $ac_c" 1>&6
10531 echo "configure:10532: checking for atan2f declaration" >&5
10532 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
10533 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_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_atan2f_use=yes
10557 echo "configure: failed program was:" >&5
10558 cat conftest.$ac_ext >&5
10560 glibcpp_cv_func_atan2f_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_atan2f_use" 1>&6
10576 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
10577 for ac_func in atan2f
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 _atan2f declaration""... $ac_c" 1>&6
10635 echo "configure:10636: checking for _atan2f declaration" >&5
10636 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
10637 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_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__atan2f_use=yes
10661 echo "configure: failed program was:" >&5
10662 cat conftest.$ac_ext >&5
10664 glibcpp_cv_func__atan2f_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__atan2f_use" 1>&6
10680 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
10681 for ac_func in _atan2f
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 fabsf declaration""... $ac_c" 1>&6
10742 echo "configure:10743: checking for fabsf declaration" >&5
10743 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
10744 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_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"
10760 #ifdef HAVE_IEEEFP_H
10761 #include <ieeefp.h>
10768 if { (eval echo configure:10769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10770 glibcpp_cv_func_fabsf_use=yes
10772 echo "configure: failed program was:" >&5
10773 cat conftest.$ac_ext >&5
10775 glibcpp_cv_func_fabsf_use=no
10779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10780 ac_cpp='$CPP $CPPFLAGS'
10781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10783 cross_compiling=$ac_cv_prog_cc_cross
10789 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
10791 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
10792 for ac_func in fabsf
10794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10795 echo "configure:10796: checking for $ac_func" >&5
10796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10797 echo $ac_n "(cached) $ac_c" 1>&6
10799 cat > conftest.$ac_ext <<EOF
10800 #line 10801 "configure"
10801 #include "confdefs.h"
10802 /* System header to define __stub macros and hopefully few prototypes,
10803 which can conflict with char $ac_func(); below. */
10804 #include <assert.h>
10805 /* Override any gcc2 internal prototype to avoid an error. */
10806 /* We use char because int might match the return type of a gcc2
10807 builtin and then its argument prototype would still apply. */
10812 /* The GNU C library defines this for functions which it implements
10813 to always fail with ENOSYS. Some functions are actually named
10814 something starting with __ and the normal name is an alias. */
10815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10823 if { (eval echo configure:10824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10825 eval "ac_cv_func_$ac_func=yes"
10827 echo "configure: failed program was:" >&5
10828 cat conftest.$ac_ext >&5
10830 eval "ac_cv_func_$ac_func=no"
10835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10836 echo "$ac_t""yes" 1>&6
10837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10838 cat >> confdefs.h <<EOF
10839 #define $ac_tr_func 1
10843 echo "$ac_t""no" 1>&6
10849 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
10850 echo "configure:10851: checking for _fabsf declaration" >&5
10851 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10852 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
10853 echo $ac_n "(cached) $ac_c" 1>&6
10858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10859 ac_cpp='$CXXCPP $CPPFLAGS'
10860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10862 cross_compiling=$ac_cv_prog_cxx_cross
10864 cat > conftest.$ac_ext <<EOF
10865 #line 10866 "configure"
10866 #include "confdefs.h"
10868 #ifdef HAVE_IEEEFP_H
10869 #include <ieeefp.h>
10876 if { (eval echo configure:10877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10878 glibcpp_cv_func__fabsf_use=yes
10880 echo "configure: failed program was:" >&5
10881 cat conftest.$ac_ext >&5
10883 glibcpp_cv_func__fabsf_use=no
10887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10888 ac_cpp='$CPP $CPPFLAGS'
10889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10891 cross_compiling=$ac_cv_prog_cc_cross
10897 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
10899 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
10900 for ac_func in _fabsf
10902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10903 echo "configure:10904: checking for $ac_func" >&5
10904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10905 echo $ac_n "(cached) $ac_c" 1>&6
10907 cat > conftest.$ac_ext <<EOF
10908 #line 10909 "configure"
10909 #include "confdefs.h"
10910 /* System header to define __stub macros and hopefully few prototypes,
10911 which can conflict with char $ac_func(); below. */
10912 #include <assert.h>
10913 /* Override any gcc2 internal prototype to avoid an error. */
10914 /* We use char because int might match the return type of a gcc2
10915 builtin and then its argument prototype would still apply. */
10920 /* The GNU C library defines this for functions which it implements
10921 to always fail with ENOSYS. Some functions are actually named
10922 something starting with __ and the normal name is an alias. */
10923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10931 if { (eval echo configure:10932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10933 eval "ac_cv_func_$ac_func=yes"
10935 echo "configure: failed program was:" >&5
10936 cat conftest.$ac_ext >&5
10938 eval "ac_cv_func_$ac_func=no"
10943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10944 echo "$ac_t""yes" 1>&6
10945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10946 cat >> confdefs.h <<EOF
10947 #define $ac_tr_func 1
10951 echo "$ac_t""no" 1>&6
10960 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
10961 echo "configure:10962: checking for fmodf declaration" >&5
10962 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
10963 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
10964 echo $ac_n "(cached) $ac_c" 1>&6
10969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10970 ac_cpp='$CXXCPP $CPPFLAGS'
10971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10973 cross_compiling=$ac_cv_prog_cxx_cross
10975 cat > conftest.$ac_ext <<EOF
10976 #line 10977 "configure"
10977 #include "confdefs.h"
10983 if { (eval echo configure:10984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10985 glibcpp_cv_func_fmodf_use=yes
10987 echo "configure: failed program was:" >&5
10988 cat conftest.$ac_ext >&5
10990 glibcpp_cv_func_fmodf_use=no
10994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10995 ac_cpp='$CPP $CPPFLAGS'
10996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10998 cross_compiling=$ac_cv_prog_cc_cross
11004 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
11006 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11007 for ac_func in fmodf
11009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11010 echo "configure:11011: checking for $ac_func" >&5
11011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11012 echo $ac_n "(cached) $ac_c" 1>&6
11014 cat > conftest.$ac_ext <<EOF
11015 #line 11016 "configure"
11016 #include "confdefs.h"
11017 /* System header to define __stub macros and hopefully few prototypes,
11018 which can conflict with char $ac_func(); below. */
11019 #include <assert.h>
11020 /* Override any gcc2 internal prototype to avoid an error. */
11021 /* We use char because int might match the return type of a gcc2
11022 builtin and then its argument prototype would still apply. */
11027 /* The GNU C library defines this for functions which it implements
11028 to always fail with ENOSYS. Some functions are actually named
11029 something starting with __ and the normal name is an alias. */
11030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11038 if { (eval echo configure:11039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11040 eval "ac_cv_func_$ac_func=yes"
11042 echo "configure: failed program was:" >&5
11043 cat conftest.$ac_ext >&5
11045 eval "ac_cv_func_$ac_func=no"
11050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11051 echo "$ac_t""yes" 1>&6
11052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11053 cat >> confdefs.h <<EOF
11054 #define $ac_tr_func 1
11058 echo "$ac_t""no" 1>&6
11064 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
11065 echo "configure:11066: checking for _fmodf declaration" >&5
11066 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
11067 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
11068 echo $ac_n "(cached) $ac_c" 1>&6
11073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11074 ac_cpp='$CXXCPP $CPPFLAGS'
11075 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11076 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11077 cross_compiling=$ac_cv_prog_cxx_cross
11079 cat > conftest.$ac_ext <<EOF
11080 #line 11081 "configure"
11081 #include "confdefs.h"
11087 if { (eval echo configure:11088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11089 glibcpp_cv_func__fmodf_use=yes
11091 echo "configure: failed program was:" >&5
11092 cat conftest.$ac_ext >&5
11094 glibcpp_cv_func__fmodf_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__fmodf_use" 1>&6
11110 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
11111 for ac_func in _fmodf
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 frexpf declaration""... $ac_c" 1>&6
11172 echo "configure:11173: checking for frexpf declaration" >&5
11173 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
11174 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_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"
11194 if { (eval echo configure:11195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11196 glibcpp_cv_func_frexpf_use=yes
11198 echo "configure: failed program was:" >&5
11199 cat conftest.$ac_ext >&5
11201 glibcpp_cv_func_frexpf_use=no
11205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11206 ac_cpp='$CPP $CPPFLAGS'
11207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11209 cross_compiling=$ac_cv_prog_cc_cross
11215 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
11217 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
11218 for ac_func in frexpf
11220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11221 echo "configure:11222: checking for $ac_func" >&5
11222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11223 echo $ac_n "(cached) $ac_c" 1>&6
11225 cat > conftest.$ac_ext <<EOF
11226 #line 11227 "configure"
11227 #include "confdefs.h"
11228 /* System header to define __stub macros and hopefully few prototypes,
11229 which can conflict with char $ac_func(); below. */
11230 #include <assert.h>
11231 /* Override any gcc2 internal prototype to avoid an error. */
11232 /* We use char because int might match the return type of a gcc2
11233 builtin and then its argument prototype would still apply. */
11238 /* The GNU C library defines this for functions which it implements
11239 to always fail with ENOSYS. Some functions are actually named
11240 something starting with __ and the normal name is an alias. */
11241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11249 if { (eval echo configure:11250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11251 eval "ac_cv_func_$ac_func=yes"
11253 echo "configure: failed program was:" >&5
11254 cat conftest.$ac_ext >&5
11256 eval "ac_cv_func_$ac_func=no"
11261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11262 echo "$ac_t""yes" 1>&6
11263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11264 cat >> confdefs.h <<EOF
11265 #define $ac_tr_func 1
11269 echo "$ac_t""no" 1>&6
11275 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
11276 echo "configure:11277: checking for _frexpf declaration" >&5
11277 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
11278 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
11279 echo $ac_n "(cached) $ac_c" 1>&6
11284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11285 ac_cpp='$CXXCPP $CPPFLAGS'
11286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11288 cross_compiling=$ac_cv_prog_cxx_cross
11290 cat > conftest.$ac_ext <<EOF
11291 #line 11292 "configure"
11292 #include "confdefs.h"
11298 if { (eval echo configure:11299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11300 glibcpp_cv_func__frexpf_use=yes
11302 echo "configure: failed program was:" >&5
11303 cat conftest.$ac_ext >&5
11305 glibcpp_cv_func__frexpf_use=no
11309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11310 ac_cpp='$CPP $CPPFLAGS'
11311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11313 cross_compiling=$ac_cv_prog_cc_cross
11319 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
11321 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
11322 for ac_func in _frexpf
11324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11325 echo "configure:11326: checking for $ac_func" >&5
11326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11327 echo $ac_n "(cached) $ac_c" 1>&6
11329 cat > conftest.$ac_ext <<EOF
11330 #line 11331 "configure"
11331 #include "confdefs.h"
11332 /* System header to define __stub macros and hopefully few prototypes,
11333 which can conflict with char $ac_func(); below. */
11334 #include <assert.h>
11335 /* Override any gcc2 internal prototype to avoid an error. */
11336 /* We use char because int might match the return type of a gcc2
11337 builtin and then its argument prototype would still apply. */
11342 /* The GNU C library defines this for functions which it implements
11343 to always fail with ENOSYS. Some functions are actually named
11344 something starting with __ and the normal name is an alias. */
11345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11353 if { (eval echo configure:11354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11355 eval "ac_cv_func_$ac_func=yes"
11357 echo "configure: failed program was:" >&5
11358 cat conftest.$ac_ext >&5
11360 eval "ac_cv_func_$ac_func=no"
11365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11366 echo "$ac_t""yes" 1>&6
11367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11368 cat >> confdefs.h <<EOF
11369 #define $ac_tr_func 1
11373 echo "$ac_t""no" 1>&6
11382 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
11383 echo "configure:11384: checking for hypotf declaration" >&5
11384 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
11385 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
11386 echo $ac_n "(cached) $ac_c" 1>&6
11391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11392 ac_cpp='$CXXCPP $CPPFLAGS'
11393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11395 cross_compiling=$ac_cv_prog_cxx_cross
11397 cat > conftest.$ac_ext <<EOF
11398 #line 11399 "configure"
11399 #include "confdefs.h"
11405 if { (eval echo configure:11406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11407 glibcpp_cv_func_hypotf_use=yes
11409 echo "configure: failed program was:" >&5
11410 cat conftest.$ac_ext >&5
11412 glibcpp_cv_func_hypotf_use=no
11416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11417 ac_cpp='$CPP $CPPFLAGS'
11418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11420 cross_compiling=$ac_cv_prog_cc_cross
11426 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
11428 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
11429 for ac_func in hypotf
11431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11432 echo "configure:11433: checking for $ac_func" >&5
11433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11434 echo $ac_n "(cached) $ac_c" 1>&6
11436 cat > conftest.$ac_ext <<EOF
11437 #line 11438 "configure"
11438 #include "confdefs.h"
11439 /* System header to define __stub macros and hopefully few prototypes,
11440 which can conflict with char $ac_func(); below. */
11441 #include <assert.h>
11442 /* Override any gcc2 internal prototype to avoid an error. */
11443 /* We use char because int might match the return type of a gcc2
11444 builtin and then its argument prototype would still apply. */
11449 /* The GNU C library defines this for functions which it implements
11450 to always fail with ENOSYS. Some functions are actually named
11451 something starting with __ and the normal name is an alias. */
11452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11460 if { (eval echo configure:11461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11462 eval "ac_cv_func_$ac_func=yes"
11464 echo "configure: failed program was:" >&5
11465 cat conftest.$ac_ext >&5
11467 eval "ac_cv_func_$ac_func=no"
11472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11473 echo "$ac_t""yes" 1>&6
11474 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11475 cat >> confdefs.h <<EOF
11476 #define $ac_tr_func 1
11480 echo "$ac_t""no" 1>&6
11486 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
11487 echo "configure:11488: checking for _hypotf declaration" >&5
11488 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
11489 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
11490 echo $ac_n "(cached) $ac_c" 1>&6
11495 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11496 ac_cpp='$CXXCPP $CPPFLAGS'
11497 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11498 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11499 cross_compiling=$ac_cv_prog_cxx_cross
11501 cat > conftest.$ac_ext <<EOF
11502 #line 11503 "configure"
11503 #include "confdefs.h"
11509 if { (eval echo configure:11510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11511 glibcpp_cv_func__hypotf_use=yes
11513 echo "configure: failed program was:" >&5
11514 cat conftest.$ac_ext >&5
11516 glibcpp_cv_func__hypotf_use=no
11520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11523 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11524 cross_compiling=$ac_cv_prog_cc_cross
11530 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
11532 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
11533 for ac_func in _hypotf
11535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11536 echo "configure:11537: checking for $ac_func" >&5
11537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11538 echo $ac_n "(cached) $ac_c" 1>&6
11540 cat > conftest.$ac_ext <<EOF
11541 #line 11542 "configure"
11542 #include "confdefs.h"
11543 /* System header to define __stub macros and hopefully few prototypes,
11544 which can conflict with char $ac_func(); below. */
11545 #include <assert.h>
11546 /* Override any gcc2 internal prototype to avoid an error. */
11547 /* We use char because int might match the return type of a gcc2
11548 builtin and then its argument prototype would still apply. */
11553 /* The GNU C library defines this for functions which it implements
11554 to always fail with ENOSYS. Some functions are actually named
11555 something starting with __ and the normal name is an alias. */
11556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11564 if { (eval echo configure:11565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11566 eval "ac_cv_func_$ac_func=yes"
11568 echo "configure: failed program was:" >&5
11569 cat conftest.$ac_ext >&5
11571 eval "ac_cv_func_$ac_func=no"
11576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11577 echo "$ac_t""yes" 1>&6
11578 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11579 cat >> confdefs.h <<EOF
11580 #define $ac_tr_func 1
11584 echo "$ac_t""no" 1>&6
11593 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
11594 echo "configure:11595: checking for ldexpf declaration" >&5
11595 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
11596 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
11597 echo $ac_n "(cached) $ac_c" 1>&6
11602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11603 ac_cpp='$CXXCPP $CPPFLAGS'
11604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11606 cross_compiling=$ac_cv_prog_cxx_cross
11608 cat > conftest.$ac_ext <<EOF
11609 #line 11610 "configure"
11610 #include "confdefs.h"
11616 if { (eval echo configure:11617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11618 glibcpp_cv_func_ldexpf_use=yes
11620 echo "configure: failed program was:" >&5
11621 cat conftest.$ac_ext >&5
11623 glibcpp_cv_func_ldexpf_use=no
11627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11628 ac_cpp='$CPP $CPPFLAGS'
11629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11631 cross_compiling=$ac_cv_prog_cc_cross
11637 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
11639 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
11640 for ac_func in ldexpf
11642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11643 echo "configure:11644: checking for $ac_func" >&5
11644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11645 echo $ac_n "(cached) $ac_c" 1>&6
11647 cat > conftest.$ac_ext <<EOF
11648 #line 11649 "configure"
11649 #include "confdefs.h"
11650 /* System header to define __stub macros and hopefully few prototypes,
11651 which can conflict with char $ac_func(); below. */
11652 #include <assert.h>
11653 /* Override any gcc2 internal prototype to avoid an error. */
11654 /* We use char because int might match the return type of a gcc2
11655 builtin and then its argument prototype would still apply. */
11660 /* The GNU C library defines this for functions which it implements
11661 to always fail with ENOSYS. Some functions are actually named
11662 something starting with __ and the normal name is an alias. */
11663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11671 if { (eval echo configure:11672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11673 eval "ac_cv_func_$ac_func=yes"
11675 echo "configure: failed program was:" >&5
11676 cat conftest.$ac_ext >&5
11678 eval "ac_cv_func_$ac_func=no"
11683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11684 echo "$ac_t""yes" 1>&6
11685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11686 cat >> confdefs.h <<EOF
11687 #define $ac_tr_func 1
11691 echo "$ac_t""no" 1>&6
11697 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
11698 echo "configure:11699: checking for _ldexpf declaration" >&5
11699 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
11700 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
11701 echo $ac_n "(cached) $ac_c" 1>&6
11706 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11707 ac_cpp='$CXXCPP $CPPFLAGS'
11708 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11709 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11710 cross_compiling=$ac_cv_prog_cxx_cross
11712 cat > conftest.$ac_ext <<EOF
11713 #line 11714 "configure"
11714 #include "confdefs.h"
11720 if { (eval echo configure:11721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11722 glibcpp_cv_func__ldexpf_use=yes
11724 echo "configure: failed program was:" >&5
11725 cat conftest.$ac_ext >&5
11727 glibcpp_cv_func__ldexpf_use=no
11731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11732 ac_cpp='$CPP $CPPFLAGS'
11733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11735 cross_compiling=$ac_cv_prog_cc_cross
11741 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
11743 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
11744 for ac_func in _ldexpf
11746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11747 echo "configure:11748: checking for $ac_func" >&5
11748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11749 echo $ac_n "(cached) $ac_c" 1>&6
11751 cat > conftest.$ac_ext <<EOF
11752 #line 11753 "configure"
11753 #include "confdefs.h"
11754 /* System header to define __stub macros and hopefully few prototypes,
11755 which can conflict with char $ac_func(); below. */
11756 #include <assert.h>
11757 /* Override any gcc2 internal prototype to avoid an error. */
11758 /* We use char because int might match the return type of a gcc2
11759 builtin and then its argument prototype would still apply. */
11764 /* The GNU C library defines this for functions which it implements
11765 to always fail with ENOSYS. Some functions are actually named
11766 something starting with __ and the normal name is an alias. */
11767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11775 if { (eval echo configure:11776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11777 eval "ac_cv_func_$ac_func=yes"
11779 echo "configure: failed program was:" >&5
11780 cat conftest.$ac_ext >&5
11782 eval "ac_cv_func_$ac_func=no"
11787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11788 echo "$ac_t""yes" 1>&6
11789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11790 cat >> confdefs.h <<EOF
11791 #define $ac_tr_func 1
11795 echo "$ac_t""no" 1>&6
11804 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
11805 echo "configure:11806: checking for logf declaration" >&5
11806 if test x${glibcpp_cv_func_logf_use+set} != xset; then
11807 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11814 ac_cpp='$CXXCPP $CPPFLAGS'
11815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11817 cross_compiling=$ac_cv_prog_cxx_cross
11819 cat > conftest.$ac_ext <<EOF
11820 #line 11821 "configure"
11821 #include "confdefs.h"
11823 #ifdef HAVE_IEEEFP_H
11824 #include <ieeefp.h>
11831 if { (eval echo configure:11832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11833 glibcpp_cv_func_logf_use=yes
11835 echo "configure: failed program was:" >&5
11836 cat conftest.$ac_ext >&5
11838 glibcpp_cv_func_logf_use=no
11842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11843 ac_cpp='$CPP $CPPFLAGS'
11844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11846 cross_compiling=$ac_cv_prog_cc_cross
11852 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11854 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11855 for ac_func in logf
11857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11858 echo "configure:11859: checking for $ac_func" >&5
11859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11860 echo $ac_n "(cached) $ac_c" 1>&6
11862 cat > conftest.$ac_ext <<EOF
11863 #line 11864 "configure"
11864 #include "confdefs.h"
11865 /* System header to define __stub macros and hopefully few prototypes,
11866 which can conflict with char $ac_func(); below. */
11867 #include <assert.h>
11868 /* Override any gcc2 internal prototype to avoid an error. */
11869 /* We use char because int might match the return type of a gcc2
11870 builtin and then its argument prototype would still apply. */
11875 /* The GNU C library defines this for functions which it implements
11876 to always fail with ENOSYS. Some functions are actually named
11877 something starting with __ and the normal name is an alias. */
11878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11886 if { (eval echo configure:11887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11888 eval "ac_cv_func_$ac_func=yes"
11890 echo "configure: failed program was:" >&5
11891 cat conftest.$ac_ext >&5
11893 eval "ac_cv_func_$ac_func=no"
11898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11899 echo "$ac_t""yes" 1>&6
11900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11901 cat >> confdefs.h <<EOF
11902 #define $ac_tr_func 1
11906 echo "$ac_t""no" 1>&6
11912 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
11913 echo "configure:11914: checking for _logf declaration" >&5
11914 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11915 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11916 echo $ac_n "(cached) $ac_c" 1>&6
11921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11922 ac_cpp='$CXXCPP $CPPFLAGS'
11923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11925 cross_compiling=$ac_cv_prog_cxx_cross
11927 cat > conftest.$ac_ext <<EOF
11928 #line 11929 "configure"
11929 #include "confdefs.h"
11931 #ifdef HAVE_IEEEFP_H
11932 #include <ieeefp.h>
11939 if { (eval echo configure:11940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11941 glibcpp_cv_func__logf_use=yes
11943 echo "configure: failed program was:" >&5
11944 cat conftest.$ac_ext >&5
11946 glibcpp_cv_func__logf_use=no
11950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11951 ac_cpp='$CPP $CPPFLAGS'
11952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11954 cross_compiling=$ac_cv_prog_cc_cross
11960 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
11962 if test x$glibcpp_cv_func__logf_use = x"yes"; then
11963 for ac_func in _logf
11965 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11966 echo "configure:11967: checking for $ac_func" >&5
11967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11968 echo $ac_n "(cached) $ac_c" 1>&6
11970 cat > conftest.$ac_ext <<EOF
11971 #line 11972 "configure"
11972 #include "confdefs.h"
11973 /* System header to define __stub macros and hopefully few prototypes,
11974 which can conflict with char $ac_func(); below. */
11975 #include <assert.h>
11976 /* Override any gcc2 internal prototype to avoid an error. */
11977 /* We use char because int might match the return type of a gcc2
11978 builtin and then its argument prototype would still apply. */
11983 /* The GNU C library defines this for functions which it implements
11984 to always fail with ENOSYS. Some functions are actually named
11985 something starting with __ and the normal name is an alias. */
11986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11994 if { (eval echo configure:11995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11996 eval "ac_cv_func_$ac_func=yes"
11998 echo "configure: failed program was:" >&5
11999 cat conftest.$ac_ext >&5
12001 eval "ac_cv_func_$ac_func=no"
12006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12007 echo "$ac_t""yes" 1>&6
12008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12009 cat >> confdefs.h <<EOF
12010 #define $ac_tr_func 1
12014 echo "$ac_t""no" 1>&6
12023 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
12024 echo "configure:12025: checking for log10f declaration" >&5
12025 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
12026 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
12027 echo $ac_n "(cached) $ac_c" 1>&6
12032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12033 ac_cpp='$CXXCPP $CPPFLAGS'
12034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12036 cross_compiling=$ac_cv_prog_cxx_cross
12038 cat > conftest.$ac_ext <<EOF
12039 #line 12040 "configure"
12040 #include "confdefs.h"
12042 #ifdef HAVE_IEEEFP_H
12043 #include <ieeefp.h>
12050 if { (eval echo configure:12051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12052 glibcpp_cv_func_log10f_use=yes
12054 echo "configure: failed program was:" >&5
12055 cat conftest.$ac_ext >&5
12057 glibcpp_cv_func_log10f_use=no
12061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12062 ac_cpp='$CPP $CPPFLAGS'
12063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12065 cross_compiling=$ac_cv_prog_cc_cross
12071 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
12073 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
12074 for ac_func in log10f
12076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12077 echo "configure:12078: checking for $ac_func" >&5
12078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12079 echo $ac_n "(cached) $ac_c" 1>&6
12081 cat > conftest.$ac_ext <<EOF
12082 #line 12083 "configure"
12083 #include "confdefs.h"
12084 /* System header to define __stub macros and hopefully few prototypes,
12085 which can conflict with char $ac_func(); below. */
12086 #include <assert.h>
12087 /* Override any gcc2 internal prototype to avoid an error. */
12088 /* We use char because int might match the return type of a gcc2
12089 builtin and then its argument prototype would still apply. */
12094 /* The GNU C library defines this for functions which it implements
12095 to always fail with ENOSYS. Some functions are actually named
12096 something starting with __ and the normal name is an alias. */
12097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12105 if { (eval echo configure:12106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12107 eval "ac_cv_func_$ac_func=yes"
12109 echo "configure: failed program was:" >&5
12110 cat conftest.$ac_ext >&5
12112 eval "ac_cv_func_$ac_func=no"
12117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12118 echo "$ac_t""yes" 1>&6
12119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12120 cat >> confdefs.h <<EOF
12121 #define $ac_tr_func 1
12125 echo "$ac_t""no" 1>&6
12131 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
12132 echo "configure:12133: checking for _log10f declaration" >&5
12133 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
12134 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
12135 echo $ac_n "(cached) $ac_c" 1>&6
12140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12141 ac_cpp='$CXXCPP $CPPFLAGS'
12142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12144 cross_compiling=$ac_cv_prog_cxx_cross
12146 cat > conftest.$ac_ext <<EOF
12147 #line 12148 "configure"
12148 #include "confdefs.h"
12150 #ifdef HAVE_IEEEFP_H
12151 #include <ieeefp.h>
12158 if { (eval echo configure:12159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12160 glibcpp_cv_func__log10f_use=yes
12162 echo "configure: failed program was:" >&5
12163 cat conftest.$ac_ext >&5
12165 glibcpp_cv_func__log10f_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__log10f_use" 1>&6
12181 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
12182 for ac_func in _log10f
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 modff declaration""... $ac_c" 1>&6
12243 echo "configure:12244: checking for modff declaration" >&5
12244 if test x${glibcpp_cv_func_modff_use+set} != xset; then
12245 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_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"
12265 if { (eval echo configure:12266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12267 glibcpp_cv_func_modff_use=yes
12269 echo "configure: failed program was:" >&5
12270 cat conftest.$ac_ext >&5
12272 glibcpp_cv_func_modff_use=no
12276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12277 ac_cpp='$CPP $CPPFLAGS'
12278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12280 cross_compiling=$ac_cv_prog_cc_cross
12286 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
12288 if test x$glibcpp_cv_func_modff_use = x"yes"; then
12289 for ac_func in modff
12291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12292 echo "configure:12293: checking for $ac_func" >&5
12293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12294 echo $ac_n "(cached) $ac_c" 1>&6
12296 cat > conftest.$ac_ext <<EOF
12297 #line 12298 "configure"
12298 #include "confdefs.h"
12299 /* System header to define __stub macros and hopefully few prototypes,
12300 which can conflict with char $ac_func(); below. */
12301 #include <assert.h>
12302 /* Override any gcc2 internal prototype to avoid an error. */
12303 /* We use char because int might match the return type of a gcc2
12304 builtin and then its argument prototype would still apply. */
12309 /* The GNU C library defines this for functions which it implements
12310 to always fail with ENOSYS. Some functions are actually named
12311 something starting with __ and the normal name is an alias. */
12312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12320 if { (eval echo configure:12321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12322 eval "ac_cv_func_$ac_func=yes"
12324 echo "configure: failed program was:" >&5
12325 cat conftest.$ac_ext >&5
12327 eval "ac_cv_func_$ac_func=no"
12332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12333 echo "$ac_t""yes" 1>&6
12334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12335 cat >> confdefs.h <<EOF
12336 #define $ac_tr_func 1
12340 echo "$ac_t""no" 1>&6
12346 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
12347 echo "configure:12348: checking for _modff declaration" >&5
12348 if test x${glibcpp_cv_func__modff_use+set} != xset; then
12349 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
12350 echo $ac_n "(cached) $ac_c" 1>&6
12355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12356 ac_cpp='$CXXCPP $CPPFLAGS'
12357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12359 cross_compiling=$ac_cv_prog_cxx_cross
12361 cat > conftest.$ac_ext <<EOF
12362 #line 12363 "configure"
12363 #include "confdefs.h"
12369 if { (eval echo configure:12370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12371 glibcpp_cv_func__modff_use=yes
12373 echo "configure: failed program was:" >&5
12374 cat conftest.$ac_ext >&5
12376 glibcpp_cv_func__modff_use=no
12380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12381 ac_cpp='$CPP $CPPFLAGS'
12382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12384 cross_compiling=$ac_cv_prog_cc_cross
12390 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
12392 if test x$glibcpp_cv_func__modff_use = x"yes"; then
12393 for ac_func in _modff
12395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12396 echo "configure:12397: checking for $ac_func" >&5
12397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12398 echo $ac_n "(cached) $ac_c" 1>&6
12400 cat > conftest.$ac_ext <<EOF
12401 #line 12402 "configure"
12402 #include "confdefs.h"
12403 /* System header to define __stub macros and hopefully few prototypes,
12404 which can conflict with char $ac_func(); below. */
12405 #include <assert.h>
12406 /* Override any gcc2 internal prototype to avoid an error. */
12407 /* We use char because int might match the return type of a gcc2
12408 builtin and then its argument prototype would still apply. */
12413 /* The GNU C library defines this for functions which it implements
12414 to always fail with ENOSYS. Some functions are actually named
12415 something starting with __ and the normal name is an alias. */
12416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12424 if { (eval echo configure:12425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12426 eval "ac_cv_func_$ac_func=yes"
12428 echo "configure: failed program was:" >&5
12429 cat conftest.$ac_ext >&5
12431 eval "ac_cv_func_$ac_func=no"
12436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12437 echo "$ac_t""yes" 1>&6
12438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12439 cat >> confdefs.h <<EOF
12440 #define $ac_tr_func 1
12444 echo "$ac_t""no" 1>&6
12453 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
12454 echo "configure:12455: checking for powf declaration" >&5
12455 if test x${glibcpp_cv_func_powf_use+set} != xset; then
12456 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
12457 echo $ac_n "(cached) $ac_c" 1>&6
12462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12463 ac_cpp='$CXXCPP $CPPFLAGS'
12464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12466 cross_compiling=$ac_cv_prog_cxx_cross
12468 cat > conftest.$ac_ext <<EOF
12469 #line 12470 "configure"
12470 #include "confdefs.h"
12476 if { (eval echo configure:12477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12478 glibcpp_cv_func_powf_use=yes
12480 echo "configure: failed program was:" >&5
12481 cat conftest.$ac_ext >&5
12483 glibcpp_cv_func_powf_use=no
12487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12488 ac_cpp='$CPP $CPPFLAGS'
12489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12491 cross_compiling=$ac_cv_prog_cc_cross
12497 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
12499 if test x$glibcpp_cv_func_powf_use = x"yes"; then
12500 for ac_func in powf
12502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12503 echo "configure:12504: checking for $ac_func" >&5
12504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12505 echo $ac_n "(cached) $ac_c" 1>&6
12507 cat > conftest.$ac_ext <<EOF
12508 #line 12509 "configure"
12509 #include "confdefs.h"
12510 /* System header to define __stub macros and hopefully few prototypes,
12511 which can conflict with char $ac_func(); below. */
12512 #include <assert.h>
12513 /* Override any gcc2 internal prototype to avoid an error. */
12514 /* We use char because int might match the return type of a gcc2
12515 builtin and then its argument prototype would still apply. */
12520 /* The GNU C library defines this for functions which it implements
12521 to always fail with ENOSYS. Some functions are actually named
12522 something starting with __ and the normal name is an alias. */
12523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12531 if { (eval echo configure:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12533 eval "ac_cv_func_$ac_func=yes"
12535 echo "configure: failed program was:" >&5
12536 cat conftest.$ac_ext >&5
12538 eval "ac_cv_func_$ac_func=no"
12543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12544 echo "$ac_t""yes" 1>&6
12545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12546 cat >> confdefs.h <<EOF
12547 #define $ac_tr_func 1
12551 echo "$ac_t""no" 1>&6
12557 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
12558 echo "configure:12559: checking for _powf declaration" >&5
12559 if test x${glibcpp_cv_func__powf_use+set} != xset; then
12560 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
12561 echo $ac_n "(cached) $ac_c" 1>&6
12566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12567 ac_cpp='$CXXCPP $CPPFLAGS'
12568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12570 cross_compiling=$ac_cv_prog_cxx_cross
12572 cat > conftest.$ac_ext <<EOF
12573 #line 12574 "configure"
12574 #include "confdefs.h"
12580 if { (eval echo configure:12581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12582 glibcpp_cv_func__powf_use=yes
12584 echo "configure: failed program was:" >&5
12585 cat conftest.$ac_ext >&5
12587 glibcpp_cv_func__powf_use=no
12591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12592 ac_cpp='$CPP $CPPFLAGS'
12593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12595 cross_compiling=$ac_cv_prog_cc_cross
12601 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
12603 if test x$glibcpp_cv_func__powf_use = x"yes"; then
12604 for ac_func in _powf
12606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12607 echo "configure:12608: checking for $ac_func" >&5
12608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12609 echo $ac_n "(cached) $ac_c" 1>&6
12611 cat > conftest.$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12614 /* System header to define __stub macros and hopefully few prototypes,
12615 which can conflict with char $ac_func(); below. */
12616 #include <assert.h>
12617 /* Override any gcc2 internal prototype to avoid an error. */
12618 /* We use char because int might match the return type of a gcc2
12619 builtin and then its argument prototype would still apply. */
12624 /* The GNU C library defines this for functions which it implements
12625 to always fail with ENOSYS. Some functions are actually named
12626 something starting with __ and the normal name is an alias. */
12627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12635 if { (eval echo configure:12636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12637 eval "ac_cv_func_$ac_func=yes"
12639 echo "configure: failed program was:" >&5
12640 cat conftest.$ac_ext >&5
12642 eval "ac_cv_func_$ac_func=no"
12647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12648 echo "$ac_t""yes" 1>&6
12649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12650 cat >> confdefs.h <<EOF
12651 #define $ac_tr_func 1
12655 echo "$ac_t""no" 1>&6
12664 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
12665 echo "configure:12666: checking for sqrtf declaration" >&5
12666 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
12667 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
12668 echo $ac_n "(cached) $ac_c" 1>&6
12673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12674 ac_cpp='$CXXCPP $CPPFLAGS'
12675 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12676 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12677 cross_compiling=$ac_cv_prog_cxx_cross
12679 cat > conftest.$ac_ext <<EOF
12680 #line 12681 "configure"
12681 #include "confdefs.h"
12683 #ifdef HAVE_IEEEFP_H
12684 #include <ieeefp.h>
12691 if { (eval echo configure:12692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12693 glibcpp_cv_func_sqrtf_use=yes
12695 echo "configure: failed program was:" >&5
12696 cat conftest.$ac_ext >&5
12698 glibcpp_cv_func_sqrtf_use=no
12702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12703 ac_cpp='$CPP $CPPFLAGS'
12704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12706 cross_compiling=$ac_cv_prog_cc_cross
12712 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
12714 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
12715 for ac_func in sqrtf
12717 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12718 echo "configure:12719: checking for $ac_func" >&5
12719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12720 echo $ac_n "(cached) $ac_c" 1>&6
12722 cat > conftest.$ac_ext <<EOF
12723 #line 12724 "configure"
12724 #include "confdefs.h"
12725 /* System header to define __stub macros and hopefully few prototypes,
12726 which can conflict with char $ac_func(); below. */
12727 #include <assert.h>
12728 /* Override any gcc2 internal prototype to avoid an error. */
12729 /* We use char because int might match the return type of a gcc2
12730 builtin and then its argument prototype would still apply. */
12735 /* The GNU C library defines this for functions which it implements
12736 to always fail with ENOSYS. Some functions are actually named
12737 something starting with __ and the normal name is an alias. */
12738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12746 if { (eval echo configure:12747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12748 eval "ac_cv_func_$ac_func=yes"
12750 echo "configure: failed program was:" >&5
12751 cat conftest.$ac_ext >&5
12753 eval "ac_cv_func_$ac_func=no"
12758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12759 echo "$ac_t""yes" 1>&6
12760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12761 cat >> confdefs.h <<EOF
12762 #define $ac_tr_func 1
12766 echo "$ac_t""no" 1>&6
12772 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
12773 echo "configure:12774: checking for _sqrtf declaration" >&5
12774 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12775 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12776 echo $ac_n "(cached) $ac_c" 1>&6
12781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12782 ac_cpp='$CXXCPP $CPPFLAGS'
12783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12785 cross_compiling=$ac_cv_prog_cxx_cross
12787 cat > conftest.$ac_ext <<EOF
12788 #line 12789 "configure"
12789 #include "confdefs.h"
12791 #ifdef HAVE_IEEEFP_H
12792 #include <ieeefp.h>
12799 if { (eval echo configure:12800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12801 glibcpp_cv_func__sqrtf_use=yes
12803 echo "configure: failed program was:" >&5
12804 cat conftest.$ac_ext >&5
12806 glibcpp_cv_func__sqrtf_use=no
12810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12811 ac_cpp='$CPP $CPPFLAGS'
12812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12813 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12814 cross_compiling=$ac_cv_prog_cc_cross
12820 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12822 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12823 for ac_func in _sqrtf
12825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12826 echo "configure:12827: checking for $ac_func" >&5
12827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12828 echo $ac_n "(cached) $ac_c" 1>&6
12830 cat > conftest.$ac_ext <<EOF
12831 #line 12832 "configure"
12832 #include "confdefs.h"
12833 /* System header to define __stub macros and hopefully few prototypes,
12834 which can conflict with char $ac_func(); below. */
12835 #include <assert.h>
12836 /* Override any gcc2 internal prototype to avoid an error. */
12837 /* We use char because int might match the return type of a gcc2
12838 builtin and then its argument prototype would still apply. */
12843 /* The GNU C library defines this for functions which it implements
12844 to always fail with ENOSYS. Some functions are actually named
12845 something starting with __ and the normal name is an alias. */
12846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12854 if { (eval echo configure:12855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12856 eval "ac_cv_func_$ac_func=yes"
12858 echo "configure: failed program was:" >&5
12859 cat conftest.$ac_ext >&5
12861 eval "ac_cv_func_$ac_func=no"
12866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12867 echo "$ac_t""yes" 1>&6
12868 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12869 cat >> confdefs.h <<EOF
12870 #define $ac_tr_func 1
12874 echo "$ac_t""no" 1>&6
12883 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
12884 echo "configure:12885: checking for sincosf declaration" >&5
12885 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
12886 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
12887 echo $ac_n "(cached) $ac_c" 1>&6
12892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12893 ac_cpp='$CXXCPP $CPPFLAGS'
12894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12896 cross_compiling=$ac_cv_prog_cxx_cross
12898 cat > conftest.$ac_ext <<EOF
12899 #line 12900 "configure"
12900 #include "confdefs.h"
12906 if { (eval echo configure:12907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12908 glibcpp_cv_func_sincosf_use=yes
12910 echo "configure: failed program was:" >&5
12911 cat conftest.$ac_ext >&5
12913 glibcpp_cv_func_sincosf_use=no
12917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12918 ac_cpp='$CPP $CPPFLAGS'
12919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12921 cross_compiling=$ac_cv_prog_cc_cross
12927 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
12929 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
12930 for ac_func in sincosf
12932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12933 echo "configure:12934: checking for $ac_func" >&5
12934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12935 echo $ac_n "(cached) $ac_c" 1>&6
12937 cat > conftest.$ac_ext <<EOF
12938 #line 12939 "configure"
12939 #include "confdefs.h"
12940 /* System header to define __stub macros and hopefully few prototypes,
12941 which can conflict with char $ac_func(); below. */
12942 #include <assert.h>
12943 /* Override any gcc2 internal prototype to avoid an error. */
12944 /* We use char because int might match the return type of a gcc2
12945 builtin and then its argument prototype would still apply. */
12950 /* The GNU C library defines this for functions which it implements
12951 to always fail with ENOSYS. Some functions are actually named
12952 something starting with __ and the normal name is an alias. */
12953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12961 if { (eval echo configure:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12963 eval "ac_cv_func_$ac_func=yes"
12965 echo "configure: failed program was:" >&5
12966 cat conftest.$ac_ext >&5
12968 eval "ac_cv_func_$ac_func=no"
12973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12974 echo "$ac_t""yes" 1>&6
12975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12976 cat >> confdefs.h <<EOF
12977 #define $ac_tr_func 1
12981 echo "$ac_t""no" 1>&6
12987 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
12988 echo "configure:12989: checking for _sincosf declaration" >&5
12989 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
12990 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
12991 echo $ac_n "(cached) $ac_c" 1>&6
12996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12997 ac_cpp='$CXXCPP $CPPFLAGS'
12998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13000 cross_compiling=$ac_cv_prog_cxx_cross
13002 cat > conftest.$ac_ext <<EOF
13003 #line 13004 "configure"
13004 #include "confdefs.h"
13010 if { (eval echo configure:13011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13012 glibcpp_cv_func__sincosf_use=yes
13014 echo "configure: failed program was:" >&5
13015 cat conftest.$ac_ext >&5
13017 glibcpp_cv_func__sincosf_use=no
13021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13022 ac_cpp='$CPP $CPPFLAGS'
13023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13025 cross_compiling=$ac_cv_prog_cc_cross
13031 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
13033 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
13034 for ac_func in _sincosf
13036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13037 echo "configure:13038: checking for $ac_func" >&5
13038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13039 echo $ac_n "(cached) $ac_c" 1>&6
13041 cat > conftest.$ac_ext <<EOF
13042 #line 13043 "configure"
13043 #include "confdefs.h"
13044 /* System header to define __stub macros and hopefully few prototypes,
13045 which can conflict with char $ac_func(); below. */
13046 #include <assert.h>
13047 /* Override any gcc2 internal prototype to avoid an error. */
13048 /* We use char because int might match the return type of a gcc2
13049 builtin and then its argument prototype would still apply. */
13054 /* The GNU C library defines this for functions which it implements
13055 to always fail with ENOSYS. Some functions are actually named
13056 something starting with __ and the normal name is an alias. */
13057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13065 if { (eval echo configure:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13067 eval "ac_cv_func_$ac_func=yes"
13069 echo "configure: failed program was:" >&5
13070 cat conftest.$ac_ext >&5
13072 eval "ac_cv_func_$ac_func=no"
13077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13078 echo "$ac_t""yes" 1>&6
13079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13080 cat >> confdefs.h <<EOF
13081 #define $ac_tr_func 1
13085 echo "$ac_t""no" 1>&6
13094 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
13095 echo "configure:13096: checking for finitef declaration" >&5
13096 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
13097 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
13098 echo $ac_n "(cached) $ac_c" 1>&6
13103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13104 ac_cpp='$CXXCPP $CPPFLAGS'
13105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13107 cross_compiling=$ac_cv_prog_cxx_cross
13109 cat > conftest.$ac_ext <<EOF
13110 #line 13111 "configure"
13111 #include "confdefs.h"
13113 #ifdef HAVE_IEEEFP_H
13114 #include <ieeefp.h>
13121 if { (eval echo configure:13122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13123 glibcpp_cv_func_finitef_use=yes
13125 echo "configure: failed program was:" >&5
13126 cat conftest.$ac_ext >&5
13128 glibcpp_cv_func_finitef_use=no
13132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13133 ac_cpp='$CPP $CPPFLAGS'
13134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13136 cross_compiling=$ac_cv_prog_cc_cross
13142 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
13144 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
13145 for ac_func in finitef
13147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13148 echo "configure:13149: checking for $ac_func" >&5
13149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13150 echo $ac_n "(cached) $ac_c" 1>&6
13152 cat > conftest.$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13155 /* System header to define __stub macros and hopefully few prototypes,
13156 which can conflict with char $ac_func(); below. */
13157 #include <assert.h>
13158 /* Override any gcc2 internal prototype to avoid an error. */
13159 /* We use char because int might match the return type of a gcc2
13160 builtin and then its argument prototype would still apply. */
13165 /* The GNU C library defines this for functions which it implements
13166 to always fail with ENOSYS. Some functions are actually named
13167 something starting with __ and the normal name is an alias. */
13168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13176 if { (eval echo configure:13177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13178 eval "ac_cv_func_$ac_func=yes"
13180 echo "configure: failed program was:" >&5
13181 cat conftest.$ac_ext >&5
13183 eval "ac_cv_func_$ac_func=no"
13188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13189 echo "$ac_t""yes" 1>&6
13190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13191 cat >> confdefs.h <<EOF
13192 #define $ac_tr_func 1
13196 echo "$ac_t""no" 1>&6
13202 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
13203 echo "configure:13204: checking for _finitef declaration" >&5
13204 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
13205 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
13206 echo $ac_n "(cached) $ac_c" 1>&6
13211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13212 ac_cpp='$CXXCPP $CPPFLAGS'
13213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13215 cross_compiling=$ac_cv_prog_cxx_cross
13217 cat > conftest.$ac_ext <<EOF
13218 #line 13219 "configure"
13219 #include "confdefs.h"
13221 #ifdef HAVE_IEEEFP_H
13222 #include <ieeefp.h>
13229 if { (eval echo configure:13230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13231 glibcpp_cv_func__finitef_use=yes
13233 echo "configure: failed program was:" >&5
13234 cat conftest.$ac_ext >&5
13236 glibcpp_cv_func__finitef_use=no
13240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13241 ac_cpp='$CPP $CPPFLAGS'
13242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13244 cross_compiling=$ac_cv_prog_cc_cross
13250 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
13252 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
13253 for ac_func in _finitef
13255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13256 echo "configure:13257: checking for $ac_func" >&5
13257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13258 echo $ac_n "(cached) $ac_c" 1>&6
13260 cat > conftest.$ac_ext <<EOF
13261 #line 13262 "configure"
13262 #include "confdefs.h"
13263 /* System header to define __stub macros and hopefully few prototypes,
13264 which can conflict with char $ac_func(); below. */
13265 #include <assert.h>
13266 /* Override any gcc2 internal prototype to avoid an error. */
13267 /* We use char because int might match the return type of a gcc2
13268 builtin and then its argument prototype would still apply. */
13273 /* The GNU C library defines this for functions which it implements
13274 to always fail with ENOSYS. Some functions are actually named
13275 something starting with __ and the normal name is an alias. */
13276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13284 if { (eval echo configure:13285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13286 eval "ac_cv_func_$ac_func=yes"
13288 echo "configure: failed program was:" >&5
13289 cat conftest.$ac_ext >&5
13291 eval "ac_cv_func_$ac_func=no"
13296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13297 echo "$ac_t""yes" 1>&6
13298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13299 cat >> confdefs.h <<EOF
13300 #define $ac_tr_func 1
13304 echo "$ac_t""no" 1>&6
13313 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
13314 echo "configure:13315: checking for long double trig functions" >&5
13315 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
13316 echo $ac_n "(cached) $ac_c" 1>&6
13321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CXXCPP $CPPFLAGS'
13323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cxx_cross
13327 cat > conftest.$ac_ext <<EOF
13328 #line 13329 "configure"
13329 #include "confdefs.h"
13332 `for x in acosl asinl atanl \
13334 coshl sinhl tanhl; do echo "$x (0);"; done`
13337 if { (eval echo configure:13338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13339 glibcpp_cv_func_long_double_trig_use=yes
13341 echo "configure: failed program was:" >&5
13342 cat conftest.$ac_ext >&5
13344 glibcpp_cv_func_long_double_trig_use=no
13348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13349 ac_cpp='$CPP $CPPFLAGS'
13350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13352 cross_compiling=$ac_cv_prog_cc_cross
13356 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
13357 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
13358 for ac_func in acosl asinl atanl \
13362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13363 echo "configure:13364: checking for $ac_func" >&5
13364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13365 echo $ac_n "(cached) $ac_c" 1>&6
13367 cat > conftest.$ac_ext <<EOF
13368 #line 13369 "configure"
13369 #include "confdefs.h"
13370 /* System header to define __stub macros and hopefully few prototypes,
13371 which can conflict with char $ac_func(); below. */
13372 #include <assert.h>
13373 /* Override any gcc2 internal prototype to avoid an error. */
13374 /* We use char because int might match the return type of a gcc2
13375 builtin and then its argument prototype would still apply. */
13380 /* The GNU C library defines this for functions which it implements
13381 to always fail with ENOSYS. Some functions are actually named
13382 something starting with __ and the normal name is an alias. */
13383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13391 if { (eval echo configure:13392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13393 eval "ac_cv_func_$ac_func=yes"
13395 echo "configure: failed program was:" >&5
13396 cat conftest.$ac_ext >&5
13398 eval "ac_cv_func_$ac_func=no"
13403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13404 echo "$ac_t""yes" 1>&6
13405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13406 cat >> confdefs.h <<EOF
13407 #define $ac_tr_func 1
13411 echo "$ac_t""no" 1>&6
13418 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
13419 echo "configure:13420: checking for long double round functions" >&5
13420 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
13421 echo $ac_n "(cached) $ac_c" 1>&6
13426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13427 ac_cpp='$CXXCPP $CPPFLAGS'
13428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13430 cross_compiling=$ac_cv_prog_cxx_cross
13432 cat > conftest.$ac_ext <<EOF
13433 #line 13434 "configure"
13434 #include "confdefs.h"
13437 `for x in ceill floorl; do echo "$x (0);"; done`
13440 if { (eval echo configure:13441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13442 glibcpp_cv_func_long_double_round_use=yes
13444 echo "configure: failed program was:" >&5
13445 cat conftest.$ac_ext >&5
13447 glibcpp_cv_func_long_double_round_use=no
13451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13452 ac_cpp='$CPP $CPPFLAGS'
13453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13455 cross_compiling=$ac_cv_prog_cc_cross
13459 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
13460 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
13461 for ac_func in ceill floorl
13463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13464 echo "configure:13465: checking for $ac_func" >&5
13465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13466 echo $ac_n "(cached) $ac_c" 1>&6
13468 cat > conftest.$ac_ext <<EOF
13469 #line 13470 "configure"
13470 #include "confdefs.h"
13471 /* System header to define __stub macros and hopefully few prototypes,
13472 which can conflict with char $ac_func(); below. */
13473 #include <assert.h>
13474 /* Override any gcc2 internal prototype to avoid an error. */
13475 /* We use char because int might match the return type of a gcc2
13476 builtin and then its argument prototype would still apply. */
13481 /* The GNU C library defines this for functions which it implements
13482 to always fail with ENOSYS. Some functions are actually named
13483 something starting with __ and the normal name is an alias. */
13484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13492 if { (eval echo configure:13493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13494 eval "ac_cv_func_$ac_func=yes"
13496 echo "configure: failed program was:" >&5
13497 cat conftest.$ac_ext >&5
13499 eval "ac_cv_func_$ac_func=no"
13504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13505 echo "$ac_t""yes" 1>&6
13506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13507 cat >> confdefs.h <<EOF
13508 #define $ac_tr_func 1
13512 echo "$ac_t""no" 1>&6
13520 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
13521 echo "configure:13522: checking for isnanl declaration" >&5
13522 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
13523 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
13524 echo $ac_n "(cached) $ac_c" 1>&6
13529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13530 ac_cpp='$CXXCPP $CPPFLAGS'
13531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13533 cross_compiling=$ac_cv_prog_cxx_cross
13535 cat > conftest.$ac_ext <<EOF
13536 #line 13537 "configure"
13537 #include "confdefs.h"
13539 #ifdef HAVE_IEEEFP_H
13540 #include <ieeefp.h>
13547 if { (eval echo configure:13548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13549 glibcpp_cv_func_isnanl_use=yes
13551 echo "configure: failed program was:" >&5
13552 cat conftest.$ac_ext >&5
13554 glibcpp_cv_func_isnanl_use=no
13558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13559 ac_cpp='$CPP $CPPFLAGS'
13560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13562 cross_compiling=$ac_cv_prog_cc_cross
13568 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
13570 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
13571 for ac_func in isnanl
13573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13574 echo "configure:13575: checking for $ac_func" >&5
13575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13576 echo $ac_n "(cached) $ac_c" 1>&6
13578 cat > conftest.$ac_ext <<EOF
13579 #line 13580 "configure"
13580 #include "confdefs.h"
13581 /* System header to define __stub macros and hopefully few prototypes,
13582 which can conflict with char $ac_func(); below. */
13583 #include <assert.h>
13584 /* Override any gcc2 internal prototype to avoid an error. */
13585 /* We use char because int might match the return type of a gcc2
13586 builtin and then its argument prototype would still apply. */
13591 /* The GNU C library defines this for functions which it implements
13592 to always fail with ENOSYS. Some functions are actually named
13593 something starting with __ and the normal name is an alias. */
13594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13602 if { (eval echo configure:13603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13604 eval "ac_cv_func_$ac_func=yes"
13606 echo "configure: failed program was:" >&5
13607 cat conftest.$ac_ext >&5
13609 eval "ac_cv_func_$ac_func=no"
13614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13615 echo "$ac_t""yes" 1>&6
13616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13617 cat >> confdefs.h <<EOF
13618 #define $ac_tr_func 1
13622 echo "$ac_t""no" 1>&6
13628 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
13629 echo "configure:13630: checking for _isnanl declaration" >&5
13630 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
13631 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
13632 echo $ac_n "(cached) $ac_c" 1>&6
13637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13638 ac_cpp='$CXXCPP $CPPFLAGS'
13639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13641 cross_compiling=$ac_cv_prog_cxx_cross
13643 cat > conftest.$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13647 #ifdef HAVE_IEEEFP_H
13648 #include <ieeefp.h>
13655 if { (eval echo configure:13656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13657 glibcpp_cv_func__isnanl_use=yes
13659 echo "configure: failed program was:" >&5
13660 cat conftest.$ac_ext >&5
13662 glibcpp_cv_func__isnanl_use=no
13666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13667 ac_cpp='$CPP $CPPFLAGS'
13668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13670 cross_compiling=$ac_cv_prog_cc_cross
13676 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
13678 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
13679 for ac_func in _isnanl
13681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13682 echo "configure:13683: checking for $ac_func" >&5
13683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13684 echo $ac_n "(cached) $ac_c" 1>&6
13686 cat > conftest.$ac_ext <<EOF
13687 #line 13688 "configure"
13688 #include "confdefs.h"
13689 /* System header to define __stub macros and hopefully few prototypes,
13690 which can conflict with char $ac_func(); below. */
13691 #include <assert.h>
13692 /* Override any gcc2 internal prototype to avoid an error. */
13693 /* We use char because int might match the return type of a gcc2
13694 builtin and then its argument prototype would still apply. */
13699 /* The GNU C library defines this for functions which it implements
13700 to always fail with ENOSYS. Some functions are actually named
13701 something starting with __ and the normal name is an alias. */
13702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13710 if { (eval echo configure:13711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13712 eval "ac_cv_func_$ac_func=yes"
13714 echo "configure: failed program was:" >&5
13715 cat conftest.$ac_ext >&5
13717 eval "ac_cv_func_$ac_func=no"
13722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13723 echo "$ac_t""yes" 1>&6
13724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13725 cat >> confdefs.h <<EOF
13726 #define $ac_tr_func 1
13730 echo "$ac_t""no" 1>&6
13739 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
13740 echo "configure:13741: checking for isinfl declaration" >&5
13741 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
13742 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
13743 echo $ac_n "(cached) $ac_c" 1>&6
13748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13749 ac_cpp='$CXXCPP $CPPFLAGS'
13750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13752 cross_compiling=$ac_cv_prog_cxx_cross
13754 cat > conftest.$ac_ext <<EOF
13755 #line 13756 "configure"
13756 #include "confdefs.h"
13758 #ifdef HAVE_IEEEFP_H
13759 #include <ieeefp.h>
13766 if { (eval echo configure:13767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13768 glibcpp_cv_func_isinfl_use=yes
13770 echo "configure: failed program was:" >&5
13771 cat conftest.$ac_ext >&5
13773 glibcpp_cv_func_isinfl_use=no
13777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13778 ac_cpp='$CPP $CPPFLAGS'
13779 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13780 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13781 cross_compiling=$ac_cv_prog_cc_cross
13787 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
13789 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
13790 for ac_func in isinfl
13792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13793 echo "configure:13794: checking for $ac_func" >&5
13794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13795 echo $ac_n "(cached) $ac_c" 1>&6
13797 cat > conftest.$ac_ext <<EOF
13798 #line 13799 "configure"
13799 #include "confdefs.h"
13800 /* System header to define __stub macros and hopefully few prototypes,
13801 which can conflict with char $ac_func(); below. */
13802 #include <assert.h>
13803 /* Override any gcc2 internal prototype to avoid an error. */
13804 /* We use char because int might match the return type of a gcc2
13805 builtin and then its argument prototype would still apply. */
13810 /* The GNU C library defines this for functions which it implements
13811 to always fail with ENOSYS. Some functions are actually named
13812 something starting with __ and the normal name is an alias. */
13813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13821 if { (eval echo configure:13822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13823 eval "ac_cv_func_$ac_func=yes"
13825 echo "configure: failed program was:" >&5
13826 cat conftest.$ac_ext >&5
13828 eval "ac_cv_func_$ac_func=no"
13833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13834 echo "$ac_t""yes" 1>&6
13835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13836 cat >> confdefs.h <<EOF
13837 #define $ac_tr_func 1
13841 echo "$ac_t""no" 1>&6
13847 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
13848 echo "configure:13849: checking for _isinfl declaration" >&5
13849 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
13850 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
13851 echo $ac_n "(cached) $ac_c" 1>&6
13856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13857 ac_cpp='$CXXCPP $CPPFLAGS'
13858 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13859 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13860 cross_compiling=$ac_cv_prog_cxx_cross
13862 cat > conftest.$ac_ext <<EOF
13863 #line 13864 "configure"
13864 #include "confdefs.h"
13866 #ifdef HAVE_IEEEFP_H
13867 #include <ieeefp.h>
13874 if { (eval echo configure:13875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13876 glibcpp_cv_func__isinfl_use=yes
13878 echo "configure: failed program was:" >&5
13879 cat conftest.$ac_ext >&5
13881 glibcpp_cv_func__isinfl_use=no
13885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13886 ac_cpp='$CPP $CPPFLAGS'
13887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13889 cross_compiling=$ac_cv_prog_cc_cross
13895 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
13897 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
13898 for ac_func in _isinfl
13900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13901 echo "configure:13902: checking for $ac_func" >&5
13902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13903 echo $ac_n "(cached) $ac_c" 1>&6
13905 cat > conftest.$ac_ext <<EOF
13906 #line 13907 "configure"
13907 #include "confdefs.h"
13908 /* System header to define __stub macros and hopefully few prototypes,
13909 which can conflict with char $ac_func(); below. */
13910 #include <assert.h>
13911 /* Override any gcc2 internal prototype to avoid an error. */
13912 /* We use char because int might match the return type of a gcc2
13913 builtin and then its argument prototype would still apply. */
13918 /* The GNU C library defines this for functions which it implements
13919 to always fail with ENOSYS. Some functions are actually named
13920 something starting with __ and the normal name is an alias. */
13921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13929 if { (eval echo configure:13930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13931 eval "ac_cv_func_$ac_func=yes"
13933 echo "configure: failed program was:" >&5
13934 cat conftest.$ac_ext >&5
13936 eval "ac_cv_func_$ac_func=no"
13941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13942 echo "$ac_t""yes" 1>&6
13943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13944 cat >> confdefs.h <<EOF
13945 #define $ac_tr_func 1
13949 echo "$ac_t""no" 1>&6
13958 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
13959 echo "configure:13960: checking for copysignl declaration" >&5
13960 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
13961 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
13962 echo $ac_n "(cached) $ac_c" 1>&6
13967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13968 ac_cpp='$CXXCPP $CPPFLAGS'
13969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13971 cross_compiling=$ac_cv_prog_cxx_cross
13973 cat > conftest.$ac_ext <<EOF
13974 #line 13975 "configure"
13975 #include "confdefs.h"
13981 if { (eval echo configure:13982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13983 glibcpp_cv_func_copysignl_use=yes
13985 echo "configure: failed program was:" >&5
13986 cat conftest.$ac_ext >&5
13988 glibcpp_cv_func_copysignl_use=no
13992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13993 ac_cpp='$CPP $CPPFLAGS'
13994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13996 cross_compiling=$ac_cv_prog_cc_cross
14002 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14004 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14005 for ac_func in copysignl
14007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14008 echo "configure:14009: checking for $ac_func" >&5
14009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14010 echo $ac_n "(cached) $ac_c" 1>&6
14012 cat > conftest.$ac_ext <<EOF
14013 #line 14014 "configure"
14014 #include "confdefs.h"
14015 /* System header to define __stub macros and hopefully few prototypes,
14016 which can conflict with char $ac_func(); below. */
14017 #include <assert.h>
14018 /* Override any gcc2 internal prototype to avoid an error. */
14019 /* We use char because int might match the return type of a gcc2
14020 builtin and then its argument prototype would still apply. */
14025 /* The GNU C library defines this for functions which it implements
14026 to always fail with ENOSYS. Some functions are actually named
14027 something starting with __ and the normal name is an alias. */
14028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14036 if { (eval echo configure:14037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14038 eval "ac_cv_func_$ac_func=yes"
14040 echo "configure: failed program was:" >&5
14041 cat conftest.$ac_ext >&5
14043 eval "ac_cv_func_$ac_func=no"
14048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14049 echo "$ac_t""yes" 1>&6
14050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14051 cat >> confdefs.h <<EOF
14052 #define $ac_tr_func 1
14056 echo "$ac_t""no" 1>&6
14062 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14063 echo "configure:14064: checking for _copysignl declaration" >&5
14064 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
14065 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14066 echo $ac_n "(cached) $ac_c" 1>&6
14071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14072 ac_cpp='$CXXCPP $CPPFLAGS'
14073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14075 cross_compiling=$ac_cv_prog_cxx_cross
14077 cat > conftest.$ac_ext <<EOF
14078 #line 14079 "configure"
14079 #include "confdefs.h"
14085 if { (eval echo configure:14086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14087 glibcpp_cv_func__copysignl_use=yes
14089 echo "configure: failed program was:" >&5
14090 cat conftest.$ac_ext >&5
14092 glibcpp_cv_func__copysignl_use=no
14096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14097 ac_cpp='$CPP $CPPFLAGS'
14098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14100 cross_compiling=$ac_cv_prog_cc_cross
14106 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14108 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14109 for ac_func in _copysignl
14111 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14112 echo "configure:14113: checking for $ac_func" >&5
14113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14114 echo $ac_n "(cached) $ac_c" 1>&6
14116 cat > conftest.$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 /* System header to define __stub macros and hopefully few prototypes,
14120 which can conflict with char $ac_func(); below. */
14121 #include <assert.h>
14122 /* Override any gcc2 internal prototype to avoid an error. */
14123 /* We use char because int might match the return type of a gcc2
14124 builtin and then its argument prototype would still apply. */
14129 /* The GNU C library defines this for functions which it implements
14130 to always fail with ENOSYS. Some functions are actually named
14131 something starting with __ and the normal name is an alias. */
14132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14140 if { (eval echo configure:14141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14142 eval "ac_cv_func_$ac_func=yes"
14144 echo "configure: failed program was:" >&5
14145 cat conftest.$ac_ext >&5
14147 eval "ac_cv_func_$ac_func=no"
14152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14153 echo "$ac_t""yes" 1>&6
14154 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14155 cat >> confdefs.h <<EOF
14156 #define $ac_tr_func 1
14160 echo "$ac_t""no" 1>&6
14169 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
14170 echo "configure:14171: checking for atan2l declaration" >&5
14171 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
14172 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
14173 echo $ac_n "(cached) $ac_c" 1>&6
14178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14179 ac_cpp='$CXXCPP $CPPFLAGS'
14180 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14181 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14182 cross_compiling=$ac_cv_prog_cxx_cross
14184 cat > conftest.$ac_ext <<EOF
14185 #line 14186 "configure"
14186 #include "confdefs.h"
14192 if { (eval echo configure:14193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14194 glibcpp_cv_func_atan2l_use=yes
14196 echo "configure: failed program was:" >&5
14197 cat conftest.$ac_ext >&5
14199 glibcpp_cv_func_atan2l_use=no
14203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14204 ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14207 cross_compiling=$ac_cv_prog_cc_cross
14213 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
14215 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
14216 for ac_func in atan2l
14218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14219 echo "configure:14220: checking for $ac_func" >&5
14220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14221 echo $ac_n "(cached) $ac_c" 1>&6
14223 cat > conftest.$ac_ext <<EOF
14224 #line 14225 "configure"
14225 #include "confdefs.h"
14226 /* System header to define __stub macros and hopefully few prototypes,
14227 which can conflict with char $ac_func(); below. */
14228 #include <assert.h>
14229 /* Override any gcc2 internal prototype to avoid an error. */
14230 /* We use char because int might match the return type of a gcc2
14231 builtin and then its argument prototype would still apply. */
14236 /* The GNU C library defines this for functions which it implements
14237 to always fail with ENOSYS. Some functions are actually named
14238 something starting with __ and the normal name is an alias. */
14239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14247 if { (eval echo configure:14248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14249 eval "ac_cv_func_$ac_func=yes"
14251 echo "configure: failed program was:" >&5
14252 cat conftest.$ac_ext >&5
14254 eval "ac_cv_func_$ac_func=no"
14259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14260 echo "$ac_t""yes" 1>&6
14261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14262 cat >> confdefs.h <<EOF
14263 #define $ac_tr_func 1
14267 echo "$ac_t""no" 1>&6
14273 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14274 echo "configure:14275: checking for _atan2l declaration" >&5
14275 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
14276 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14277 echo $ac_n "(cached) $ac_c" 1>&6
14282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14283 ac_cpp='$CXXCPP $CPPFLAGS'
14284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14286 cross_compiling=$ac_cv_prog_cxx_cross
14288 cat > conftest.$ac_ext <<EOF
14289 #line 14290 "configure"
14290 #include "confdefs.h"
14296 if { (eval echo configure:14297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14298 glibcpp_cv_func__atan2l_use=yes
14300 echo "configure: failed program was:" >&5
14301 cat conftest.$ac_ext >&5
14303 glibcpp_cv_func__atan2l_use=no
14307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14308 ac_cpp='$CPP $CPPFLAGS'
14309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14311 cross_compiling=$ac_cv_prog_cc_cross
14317 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14319 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14320 for ac_func in _atan2l
14322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14323 echo "configure:14324: checking for $ac_func" >&5
14324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14325 echo $ac_n "(cached) $ac_c" 1>&6
14327 cat > conftest.$ac_ext <<EOF
14328 #line 14329 "configure"
14329 #include "confdefs.h"
14330 /* System header to define __stub macros and hopefully few prototypes,
14331 which can conflict with char $ac_func(); below. */
14332 #include <assert.h>
14333 /* Override any gcc2 internal prototype to avoid an error. */
14334 /* We use char because int might match the return type of a gcc2
14335 builtin and then its argument prototype would still apply. */
14340 /* The GNU C library defines this for functions which it implements
14341 to always fail with ENOSYS. Some functions are actually named
14342 something starting with __ and the normal name is an alias. */
14343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14351 if { (eval echo configure:14352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14353 eval "ac_cv_func_$ac_func=yes"
14355 echo "configure: failed program was:" >&5
14356 cat conftest.$ac_ext >&5
14358 eval "ac_cv_func_$ac_func=no"
14363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14364 echo "$ac_t""yes" 1>&6
14365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14366 cat >> confdefs.h <<EOF
14367 #define $ac_tr_func 1
14371 echo "$ac_t""no" 1>&6
14380 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
14381 echo "configure:14382: checking for expl declaration" >&5
14382 if test x${glibcpp_cv_func_expl_use+set} != xset; then
14383 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
14384 echo $ac_n "(cached) $ac_c" 1>&6
14389 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14390 ac_cpp='$CXXCPP $CPPFLAGS'
14391 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14392 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14393 cross_compiling=$ac_cv_prog_cxx_cross
14395 cat > conftest.$ac_ext <<EOF
14396 #line 14397 "configure"
14397 #include "confdefs.h"
14399 #ifdef HAVE_IEEEFP_H
14400 #include <ieeefp.h>
14407 if { (eval echo configure:14408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14409 glibcpp_cv_func_expl_use=yes
14411 echo "configure: failed program was:" >&5
14412 cat conftest.$ac_ext >&5
14414 glibcpp_cv_func_expl_use=no
14418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14419 ac_cpp='$CPP $CPPFLAGS'
14420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14422 cross_compiling=$ac_cv_prog_cc_cross
14428 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
14430 if test x$glibcpp_cv_func_expl_use = x"yes"; then
14431 for ac_func in expl
14433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14434 echo "configure:14435: checking for $ac_func" >&5
14435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14436 echo $ac_n "(cached) $ac_c" 1>&6
14438 cat > conftest.$ac_ext <<EOF
14439 #line 14440 "configure"
14440 #include "confdefs.h"
14441 /* System header to define __stub macros and hopefully few prototypes,
14442 which can conflict with char $ac_func(); below. */
14443 #include <assert.h>
14444 /* Override any gcc2 internal prototype to avoid an error. */
14445 /* We use char because int might match the return type of a gcc2
14446 builtin and then its argument prototype would still apply. */
14451 /* The GNU C library defines this for functions which it implements
14452 to always fail with ENOSYS. Some functions are actually named
14453 something starting with __ and the normal name is an alias. */
14454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14462 if { (eval echo configure:14463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14464 eval "ac_cv_func_$ac_func=yes"
14466 echo "configure: failed program was:" >&5
14467 cat conftest.$ac_ext >&5
14469 eval "ac_cv_func_$ac_func=no"
14474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14475 echo "$ac_t""yes" 1>&6
14476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14477 cat >> confdefs.h <<EOF
14478 #define $ac_tr_func 1
14482 echo "$ac_t""no" 1>&6
14488 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
14489 echo "configure:14490: checking for _expl declaration" >&5
14490 if test x${glibcpp_cv_func__expl_use+set} != xset; then
14491 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
14492 echo $ac_n "(cached) $ac_c" 1>&6
14497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14498 ac_cpp='$CXXCPP $CPPFLAGS'
14499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14501 cross_compiling=$ac_cv_prog_cxx_cross
14503 cat > conftest.$ac_ext <<EOF
14504 #line 14505 "configure"
14505 #include "confdefs.h"
14507 #ifdef HAVE_IEEEFP_H
14508 #include <ieeefp.h>
14515 if { (eval echo configure:14516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14517 glibcpp_cv_func__expl_use=yes
14519 echo "configure: failed program was:" >&5
14520 cat conftest.$ac_ext >&5
14522 glibcpp_cv_func__expl_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__expl_use" 1>&6
14538 if test x$glibcpp_cv_func__expl_use = x"yes"; then
14539 for ac_func in _expl
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 fabsl declaration""... $ac_c" 1>&6
14600 echo "configure:14601: checking for fabsl declaration" >&5
14601 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
14602 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_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"
14618 #ifdef HAVE_IEEEFP_H
14619 #include <ieeefp.h>
14626 if { (eval echo configure:14627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14628 glibcpp_cv_func_fabsl_use=yes
14630 echo "configure: failed program was:" >&5
14631 cat conftest.$ac_ext >&5
14633 glibcpp_cv_func_fabsl_use=no
14637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14638 ac_cpp='$CPP $CPPFLAGS'
14639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14641 cross_compiling=$ac_cv_prog_cc_cross
14647 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
14649 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
14650 for ac_func in fabsl
14652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14653 echo "configure:14654: checking for $ac_func" >&5
14654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14655 echo $ac_n "(cached) $ac_c" 1>&6
14657 cat > conftest.$ac_ext <<EOF
14658 #line 14659 "configure"
14659 #include "confdefs.h"
14660 /* System header to define __stub macros and hopefully few prototypes,
14661 which can conflict with char $ac_func(); below. */
14662 #include <assert.h>
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 /* We use char because int might match the return type of a gcc2
14665 builtin and then its argument prototype would still apply. */
14670 /* The GNU C library defines this for functions which it implements
14671 to always fail with ENOSYS. Some functions are actually named
14672 something starting with __ and the normal name is an alias. */
14673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14681 if { (eval echo configure:14682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14683 eval "ac_cv_func_$ac_func=yes"
14685 echo "configure: failed program was:" >&5
14686 cat conftest.$ac_ext >&5
14688 eval "ac_cv_func_$ac_func=no"
14693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14694 echo "$ac_t""yes" 1>&6
14695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14696 cat >> confdefs.h <<EOF
14697 #define $ac_tr_func 1
14701 echo "$ac_t""no" 1>&6
14707 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
14708 echo "configure:14709: checking for _fabsl declaration" >&5
14709 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
14710 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
14711 echo $ac_n "(cached) $ac_c" 1>&6
14716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14717 ac_cpp='$CXXCPP $CPPFLAGS'
14718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14720 cross_compiling=$ac_cv_prog_cxx_cross
14722 cat > conftest.$ac_ext <<EOF
14723 #line 14724 "configure"
14724 #include "confdefs.h"
14726 #ifdef HAVE_IEEEFP_H
14727 #include <ieeefp.h>
14734 if { (eval echo configure:14735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14736 glibcpp_cv_func__fabsl_use=yes
14738 echo "configure: failed program was:" >&5
14739 cat conftest.$ac_ext >&5
14741 glibcpp_cv_func__fabsl_use=no
14745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14746 ac_cpp='$CPP $CPPFLAGS'
14747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14749 cross_compiling=$ac_cv_prog_cc_cross
14755 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
14757 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
14758 for ac_func in _fabsl
14760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14761 echo "configure:14762: checking for $ac_func" >&5
14762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14763 echo $ac_n "(cached) $ac_c" 1>&6
14765 cat > conftest.$ac_ext <<EOF
14766 #line 14767 "configure"
14767 #include "confdefs.h"
14768 /* System header to define __stub macros and hopefully few prototypes,
14769 which can conflict with char $ac_func(); below. */
14770 #include <assert.h>
14771 /* Override any gcc2 internal prototype to avoid an error. */
14772 /* We use char because int might match the return type of a gcc2
14773 builtin and then its argument prototype would still apply. */
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14789 if { (eval echo configure:14790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14791 eval "ac_cv_func_$ac_func=yes"
14793 echo "configure: failed program was:" >&5
14794 cat conftest.$ac_ext >&5
14796 eval "ac_cv_func_$ac_func=no"
14801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14802 echo "$ac_t""yes" 1>&6
14803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14804 cat >> confdefs.h <<EOF
14805 #define $ac_tr_func 1
14809 echo "$ac_t""no" 1>&6
14818 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
14819 echo "configure:14820: checking for fmodl declaration" >&5
14820 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14821 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14822 echo $ac_n "(cached) $ac_c" 1>&6
14827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14828 ac_cpp='$CXXCPP $CPPFLAGS'
14829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14831 cross_compiling=$ac_cv_prog_cxx_cross
14833 cat > conftest.$ac_ext <<EOF
14834 #line 14835 "configure"
14835 #include "confdefs.h"
14841 if { (eval echo configure:14842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14843 glibcpp_cv_func_fmodl_use=yes
14845 echo "configure: failed program was:" >&5
14846 cat conftest.$ac_ext >&5
14848 glibcpp_cv_func_fmodl_use=no
14852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14853 ac_cpp='$CPP $CPPFLAGS'
14854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14856 cross_compiling=$ac_cv_prog_cc_cross
14862 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
14864 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
14865 for ac_func in fmodl
14867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14868 echo "configure:14869: checking for $ac_func" >&5
14869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14870 echo $ac_n "(cached) $ac_c" 1>&6
14872 cat > conftest.$ac_ext <<EOF
14873 #line 14874 "configure"
14874 #include "confdefs.h"
14875 /* System header to define __stub macros and hopefully few prototypes,
14876 which can conflict with char $ac_func(); below. */
14877 #include <assert.h>
14878 /* Override any gcc2 internal prototype to avoid an error. */
14879 /* We use char because int might match the return type of a gcc2
14880 builtin and then its argument prototype would still apply. */
14885 /* The GNU C library defines this for functions which it implements
14886 to always fail with ENOSYS. Some functions are actually named
14887 something starting with __ and the normal name is an alias. */
14888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14896 if { (eval echo configure:14897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14898 eval "ac_cv_func_$ac_func=yes"
14900 echo "configure: failed program was:" >&5
14901 cat conftest.$ac_ext >&5
14903 eval "ac_cv_func_$ac_func=no"
14908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14909 echo "$ac_t""yes" 1>&6
14910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14911 cat >> confdefs.h <<EOF
14912 #define $ac_tr_func 1
14916 echo "$ac_t""no" 1>&6
14922 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
14923 echo "configure:14924: checking for _fmodl declaration" >&5
14924 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
14925 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
14926 echo $ac_n "(cached) $ac_c" 1>&6
14931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14932 ac_cpp='$CXXCPP $CPPFLAGS'
14933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14935 cross_compiling=$ac_cv_prog_cxx_cross
14937 cat > conftest.$ac_ext <<EOF
14938 #line 14939 "configure"
14939 #include "confdefs.h"
14945 if { (eval echo configure:14946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14947 glibcpp_cv_func__fmodl_use=yes
14949 echo "configure: failed program was:" >&5
14950 cat conftest.$ac_ext >&5
14952 glibcpp_cv_func__fmodl_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__fmodl_use" 1>&6
14968 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
14969 for ac_func in _fmodl
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 frexpl declaration""... $ac_c" 1>&6
15030 echo "configure:15031: checking for frexpl declaration" >&5
15031 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
15032 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_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"
15052 if { (eval echo configure:15053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15054 glibcpp_cv_func_frexpl_use=yes
15056 echo "configure: failed program was:" >&5
15057 cat conftest.$ac_ext >&5
15059 glibcpp_cv_func_frexpl_use=no
15063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15064 ac_cpp='$CPP $CPPFLAGS'
15065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15067 cross_compiling=$ac_cv_prog_cc_cross
15073 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
15075 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
15076 for ac_func in frexpl
15078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15079 echo "configure:15080: checking for $ac_func" >&5
15080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15081 echo $ac_n "(cached) $ac_c" 1>&6
15083 cat > conftest.$ac_ext <<EOF
15084 #line 15085 "configure"
15085 #include "confdefs.h"
15086 /* System header to define __stub macros and hopefully few prototypes,
15087 which can conflict with char $ac_func(); below. */
15088 #include <assert.h>
15089 /* Override any gcc2 internal prototype to avoid an error. */
15090 /* We use char because int might match the return type of a gcc2
15091 builtin and then its argument prototype would still apply. */
15096 /* The GNU C library defines this for functions which it implements
15097 to always fail with ENOSYS. Some functions are actually named
15098 something starting with __ and the normal name is an alias. */
15099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15107 if { (eval echo configure:15108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15109 eval "ac_cv_func_$ac_func=yes"
15111 echo "configure: failed program was:" >&5
15112 cat conftest.$ac_ext >&5
15114 eval "ac_cv_func_$ac_func=no"
15119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15120 echo "$ac_t""yes" 1>&6
15121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15122 cat >> confdefs.h <<EOF
15123 #define $ac_tr_func 1
15127 echo "$ac_t""no" 1>&6
15133 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15134 echo "configure:15135: checking for _frexpl declaration" >&5
15135 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
15136 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15137 echo $ac_n "(cached) $ac_c" 1>&6
15142 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15143 ac_cpp='$CXXCPP $CPPFLAGS'
15144 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15145 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15146 cross_compiling=$ac_cv_prog_cxx_cross
15148 cat > conftest.$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15156 if { (eval echo configure:15157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15158 glibcpp_cv_func__frexpl_use=yes
15160 echo "configure: failed program was:" >&5
15161 cat conftest.$ac_ext >&5
15163 glibcpp_cv_func__frexpl_use=no
15167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15168 ac_cpp='$CPP $CPPFLAGS'
15169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15171 cross_compiling=$ac_cv_prog_cc_cross
15177 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15179 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15180 for ac_func in _frexpl
15182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15183 echo "configure:15184: checking for $ac_func" >&5
15184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15185 echo $ac_n "(cached) $ac_c" 1>&6
15187 cat > conftest.$ac_ext <<EOF
15188 #line 15189 "configure"
15189 #include "confdefs.h"
15190 /* System header to define __stub macros and hopefully few prototypes,
15191 which can conflict with char $ac_func(); below. */
15192 #include <assert.h>
15193 /* Override any gcc2 internal prototype to avoid an error. */
15194 /* We use char because int might match the return type of a gcc2
15195 builtin and then its argument prototype would still apply. */
15200 /* The GNU C library defines this for functions which it implements
15201 to always fail with ENOSYS. Some functions are actually named
15202 something starting with __ and the normal name is an alias. */
15203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15211 if { (eval echo configure:15212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15213 eval "ac_cv_func_$ac_func=yes"
15215 echo "configure: failed program was:" >&5
15216 cat conftest.$ac_ext >&5
15218 eval "ac_cv_func_$ac_func=no"
15223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15224 echo "$ac_t""yes" 1>&6
15225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15226 cat >> confdefs.h <<EOF
15227 #define $ac_tr_func 1
15231 echo "$ac_t""no" 1>&6
15240 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
15241 echo "configure:15242: checking for hypotl declaration" >&5
15242 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
15243 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
15244 echo $ac_n "(cached) $ac_c" 1>&6
15249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15250 ac_cpp='$CXXCPP $CPPFLAGS'
15251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15253 cross_compiling=$ac_cv_prog_cxx_cross
15255 cat > conftest.$ac_ext <<EOF
15256 #line 15257 "configure"
15257 #include "confdefs.h"
15263 if { (eval echo configure:15264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15265 glibcpp_cv_func_hypotl_use=yes
15267 echo "configure: failed program was:" >&5
15268 cat conftest.$ac_ext >&5
15270 glibcpp_cv_func_hypotl_use=no
15274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15275 ac_cpp='$CPP $CPPFLAGS'
15276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15278 cross_compiling=$ac_cv_prog_cc_cross
15284 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
15286 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
15287 for ac_func in hypotl
15289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15290 echo "configure:15291: checking for $ac_func" >&5
15291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15292 echo $ac_n "(cached) $ac_c" 1>&6
15294 cat > conftest.$ac_ext <<EOF
15295 #line 15296 "configure"
15296 #include "confdefs.h"
15297 /* System header to define __stub macros and hopefully few prototypes,
15298 which can conflict with char $ac_func(); below. */
15299 #include <assert.h>
15300 /* Override any gcc2 internal prototype to avoid an error. */
15301 /* We use char because int might match the return type of a gcc2
15302 builtin and then its argument prototype would still apply. */
15307 /* The GNU C library defines this for functions which it implements
15308 to always fail with ENOSYS. Some functions are actually named
15309 something starting with __ and the normal name is an alias. */
15310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15318 if { (eval echo configure:15319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15320 eval "ac_cv_func_$ac_func=yes"
15322 echo "configure: failed program was:" >&5
15323 cat conftest.$ac_ext >&5
15325 eval "ac_cv_func_$ac_func=no"
15330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15331 echo "$ac_t""yes" 1>&6
15332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15333 cat >> confdefs.h <<EOF
15334 #define $ac_tr_func 1
15338 echo "$ac_t""no" 1>&6
15344 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
15345 echo "configure:15346: checking for _hypotl declaration" >&5
15346 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
15347 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
15348 echo $ac_n "(cached) $ac_c" 1>&6
15353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15354 ac_cpp='$CXXCPP $CPPFLAGS'
15355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15357 cross_compiling=$ac_cv_prog_cxx_cross
15359 cat > conftest.$ac_ext <<EOF
15360 #line 15361 "configure"
15361 #include "confdefs.h"
15367 if { (eval echo configure:15368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15369 glibcpp_cv_func__hypotl_use=yes
15371 echo "configure: failed program was:" >&5
15372 cat conftest.$ac_ext >&5
15374 glibcpp_cv_func__hypotl_use=no
15378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15379 ac_cpp='$CPP $CPPFLAGS'
15380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15382 cross_compiling=$ac_cv_prog_cc_cross
15388 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
15390 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
15391 for ac_func in _hypotl
15393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15394 echo "configure:15395: checking for $ac_func" >&5
15395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15396 echo $ac_n "(cached) $ac_c" 1>&6
15398 cat > conftest.$ac_ext <<EOF
15399 #line 15400 "configure"
15400 #include "confdefs.h"
15401 /* System header to define __stub macros and hopefully few prototypes,
15402 which can conflict with char $ac_func(); below. */
15403 #include <assert.h>
15404 /* Override any gcc2 internal prototype to avoid an error. */
15405 /* We use char because int might match the return type of a gcc2
15406 builtin and then its argument prototype would still apply. */
15411 /* The GNU C library defines this for functions which it implements
15412 to always fail with ENOSYS. Some functions are actually named
15413 something starting with __ and the normal name is an alias. */
15414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15422 if { (eval echo configure:15423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15424 eval "ac_cv_func_$ac_func=yes"
15426 echo "configure: failed program was:" >&5
15427 cat conftest.$ac_ext >&5
15429 eval "ac_cv_func_$ac_func=no"
15434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15435 echo "$ac_t""yes" 1>&6
15436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15437 cat >> confdefs.h <<EOF
15438 #define $ac_tr_func 1
15442 echo "$ac_t""no" 1>&6
15451 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
15452 echo "configure:15453: checking for ldexpl declaration" >&5
15453 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
15454 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
15455 echo $ac_n "(cached) $ac_c" 1>&6
15460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15461 ac_cpp='$CXXCPP $CPPFLAGS'
15462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15464 cross_compiling=$ac_cv_prog_cxx_cross
15466 cat > conftest.$ac_ext <<EOF
15467 #line 15468 "configure"
15468 #include "confdefs.h"
15474 if { (eval echo configure:15475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15476 glibcpp_cv_func_ldexpl_use=yes
15478 echo "configure: failed program was:" >&5
15479 cat conftest.$ac_ext >&5
15481 glibcpp_cv_func_ldexpl_use=no
15485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15486 ac_cpp='$CPP $CPPFLAGS'
15487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15489 cross_compiling=$ac_cv_prog_cc_cross
15495 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
15497 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
15498 for ac_func in ldexpl
15500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15501 echo "configure:15502: checking for $ac_func" >&5
15502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15503 echo $ac_n "(cached) $ac_c" 1>&6
15505 cat > conftest.$ac_ext <<EOF
15506 #line 15507 "configure"
15507 #include "confdefs.h"
15508 /* System header to define __stub macros and hopefully few prototypes,
15509 which can conflict with char $ac_func(); below. */
15510 #include <assert.h>
15511 /* Override any gcc2 internal prototype to avoid an error. */
15512 /* We use char because int might match the return type of a gcc2
15513 builtin and then its argument prototype would still apply. */
15518 /* The GNU C library defines this for functions which it implements
15519 to always fail with ENOSYS. Some functions are actually named
15520 something starting with __ and the normal name is an alias. */
15521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15529 if { (eval echo configure:15530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15531 eval "ac_cv_func_$ac_func=yes"
15533 echo "configure: failed program was:" >&5
15534 cat conftest.$ac_ext >&5
15536 eval "ac_cv_func_$ac_func=no"
15541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15542 echo "$ac_t""yes" 1>&6
15543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15544 cat >> confdefs.h <<EOF
15545 #define $ac_tr_func 1
15549 echo "$ac_t""no" 1>&6
15555 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15556 echo "configure:15557: checking for _ldexpl declaration" >&5
15557 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
15558 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15559 echo $ac_n "(cached) $ac_c" 1>&6
15564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15565 ac_cpp='$CXXCPP $CPPFLAGS'
15566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15568 cross_compiling=$ac_cv_prog_cxx_cross
15570 cat > conftest.$ac_ext <<EOF
15571 #line 15572 "configure"
15572 #include "confdefs.h"
15578 if { (eval echo configure:15579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15580 glibcpp_cv_func__ldexpl_use=yes
15582 echo "configure: failed program was:" >&5
15583 cat conftest.$ac_ext >&5
15585 glibcpp_cv_func__ldexpl_use=no
15589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15590 ac_cpp='$CPP $CPPFLAGS'
15591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15593 cross_compiling=$ac_cv_prog_cc_cross
15599 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15601 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15602 for ac_func in _ldexpl
15604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15605 echo "configure:15606: checking for $ac_func" >&5
15606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15607 echo $ac_n "(cached) $ac_c" 1>&6
15609 cat > conftest.$ac_ext <<EOF
15610 #line 15611 "configure"
15611 #include "confdefs.h"
15612 /* System header to define __stub macros and hopefully few prototypes,
15613 which can conflict with char $ac_func(); below. */
15614 #include <assert.h>
15615 /* Override any gcc2 internal prototype to avoid an error. */
15616 /* We use char because int might match the return type of a gcc2
15617 builtin and then its argument prototype would still apply. */
15622 /* The GNU C library defines this for functions which it implements
15623 to always fail with ENOSYS. Some functions are actually named
15624 something starting with __ and the normal name is an alias. */
15625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15633 if { (eval echo configure:15634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15635 eval "ac_cv_func_$ac_func=yes"
15637 echo "configure: failed program was:" >&5
15638 cat conftest.$ac_ext >&5
15640 eval "ac_cv_func_$ac_func=no"
15645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15646 echo "$ac_t""yes" 1>&6
15647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15648 cat >> confdefs.h <<EOF
15649 #define $ac_tr_func 1
15653 echo "$ac_t""no" 1>&6
15662 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
15663 echo "configure:15664: checking for logl declaration" >&5
15664 if test x${glibcpp_cv_func_logl_use+set} != xset; then
15665 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
15666 echo $ac_n "(cached) $ac_c" 1>&6
15671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15672 ac_cpp='$CXXCPP $CPPFLAGS'
15673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15675 cross_compiling=$ac_cv_prog_cxx_cross
15677 cat > conftest.$ac_ext <<EOF
15678 #line 15679 "configure"
15679 #include "confdefs.h"
15681 #ifdef HAVE_IEEEFP_H
15682 #include <ieeefp.h>
15689 if { (eval echo configure:15690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15691 glibcpp_cv_func_logl_use=yes
15693 echo "configure: failed program was:" >&5
15694 cat conftest.$ac_ext >&5
15696 glibcpp_cv_func_logl_use=no
15700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15701 ac_cpp='$CPP $CPPFLAGS'
15702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15704 cross_compiling=$ac_cv_prog_cc_cross
15710 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
15712 if test x$glibcpp_cv_func_logl_use = x"yes"; then
15713 for ac_func in logl
15715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15716 echo "configure:15717: checking for $ac_func" >&5
15717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15718 echo $ac_n "(cached) $ac_c" 1>&6
15720 cat > conftest.$ac_ext <<EOF
15721 #line 15722 "configure"
15722 #include "confdefs.h"
15723 /* System header to define __stub macros and hopefully few prototypes,
15724 which can conflict with char $ac_func(); below. */
15725 #include <assert.h>
15726 /* Override any gcc2 internal prototype to avoid an error. */
15727 /* We use char because int might match the return type of a gcc2
15728 builtin and then its argument prototype would still apply. */
15733 /* The GNU C library defines this for functions which it implements
15734 to always fail with ENOSYS. Some functions are actually named
15735 something starting with __ and the normal name is an alias. */
15736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15744 if { (eval echo configure:15745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15746 eval "ac_cv_func_$ac_func=yes"
15748 echo "configure: failed program was:" >&5
15749 cat conftest.$ac_ext >&5
15751 eval "ac_cv_func_$ac_func=no"
15756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15757 echo "$ac_t""yes" 1>&6
15758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15759 cat >> confdefs.h <<EOF
15760 #define $ac_tr_func 1
15764 echo "$ac_t""no" 1>&6
15770 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15771 echo "configure:15772: checking for _logl declaration" >&5
15772 if test x${glibcpp_cv_func__logl_use+set} != xset; then
15773 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15774 echo $ac_n "(cached) $ac_c" 1>&6
15779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15780 ac_cpp='$CXXCPP $CPPFLAGS'
15781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15783 cross_compiling=$ac_cv_prog_cxx_cross
15785 cat > conftest.$ac_ext <<EOF
15786 #line 15787 "configure"
15787 #include "confdefs.h"
15789 #ifdef HAVE_IEEEFP_H
15790 #include <ieeefp.h>
15797 if { (eval echo configure:15798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15799 glibcpp_cv_func__logl_use=yes
15801 echo "configure: failed program was:" >&5
15802 cat conftest.$ac_ext >&5
15804 glibcpp_cv_func__logl_use=no
15808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15809 ac_cpp='$CPP $CPPFLAGS'
15810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15812 cross_compiling=$ac_cv_prog_cc_cross
15818 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15820 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15821 for ac_func in _logl
15823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15824 echo "configure:15825: checking for $ac_func" >&5
15825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15826 echo $ac_n "(cached) $ac_c" 1>&6
15828 cat > conftest.$ac_ext <<EOF
15829 #line 15830 "configure"
15830 #include "confdefs.h"
15831 /* System header to define __stub macros and hopefully few prototypes,
15832 which can conflict with char $ac_func(); below. */
15833 #include <assert.h>
15834 /* Override any gcc2 internal prototype to avoid an error. */
15835 /* We use char because int might match the return type of a gcc2
15836 builtin and then its argument prototype would still apply. */
15841 /* The GNU C library defines this for functions which it implements
15842 to always fail with ENOSYS. Some functions are actually named
15843 something starting with __ and the normal name is an alias. */
15844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15852 if { (eval echo configure:15853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15854 eval "ac_cv_func_$ac_func=yes"
15856 echo "configure: failed program was:" >&5
15857 cat conftest.$ac_ext >&5
15859 eval "ac_cv_func_$ac_func=no"
15864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15865 echo "$ac_t""yes" 1>&6
15866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15867 cat >> confdefs.h <<EOF
15868 #define $ac_tr_func 1
15872 echo "$ac_t""no" 1>&6
15881 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
15882 echo "configure:15883: checking for log10l declaration" >&5
15883 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
15884 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
15885 echo $ac_n "(cached) $ac_c" 1>&6
15890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15891 ac_cpp='$CXXCPP $CPPFLAGS'
15892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15894 cross_compiling=$ac_cv_prog_cxx_cross
15896 cat > conftest.$ac_ext <<EOF
15897 #line 15898 "configure"
15898 #include "confdefs.h"
15900 #ifdef HAVE_IEEEFP_H
15901 #include <ieeefp.h>
15908 if { (eval echo configure:15909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15910 glibcpp_cv_func_log10l_use=yes
15912 echo "configure: failed program was:" >&5
15913 cat conftest.$ac_ext >&5
15915 glibcpp_cv_func_log10l_use=no
15919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15923 cross_compiling=$ac_cv_prog_cc_cross
15929 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
15931 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
15932 for ac_func in log10l
15934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15935 echo "configure:15936: checking for $ac_func" >&5
15936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15937 echo $ac_n "(cached) $ac_c" 1>&6
15939 cat > conftest.$ac_ext <<EOF
15940 #line 15941 "configure"
15941 #include "confdefs.h"
15942 /* System header to define __stub macros and hopefully few prototypes,
15943 which can conflict with char $ac_func(); below. */
15944 #include <assert.h>
15945 /* Override any gcc2 internal prototype to avoid an error. */
15946 /* We use char because int might match the return type of a gcc2
15947 builtin and then its argument prototype would still apply. */
15952 /* The GNU C library defines this for functions which it implements
15953 to always fail with ENOSYS. Some functions are actually named
15954 something starting with __ and the normal name is an alias. */
15955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15963 if { (eval echo configure:15964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15965 eval "ac_cv_func_$ac_func=yes"
15967 echo "configure: failed program was:" >&5
15968 cat conftest.$ac_ext >&5
15970 eval "ac_cv_func_$ac_func=no"
15975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15976 echo "$ac_t""yes" 1>&6
15977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15978 cat >> confdefs.h <<EOF
15979 #define $ac_tr_func 1
15983 echo "$ac_t""no" 1>&6
15989 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
15990 echo "configure:15991: checking for _log10l declaration" >&5
15991 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
15992 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
15993 echo $ac_n "(cached) $ac_c" 1>&6
15998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16002 cross_compiling=$ac_cv_prog_cxx_cross
16004 cat > conftest.$ac_ext <<EOF
16005 #line 16006 "configure"
16006 #include "confdefs.h"
16008 #ifdef HAVE_IEEEFP_H
16009 #include <ieeefp.h>
16016 if { (eval echo configure:16017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16018 glibcpp_cv_func__log10l_use=yes
16020 echo "configure: failed program was:" >&5
16021 cat conftest.$ac_ext >&5
16023 glibcpp_cv_func__log10l_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__log10l_use" 1>&6
16039 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16040 for ac_func in _log10l
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 modfl declaration""... $ac_c" 1>&6
16101 echo "configure:16102: checking for modfl declaration" >&5
16102 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
16103 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_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"
16123 if { (eval echo configure:16124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16125 glibcpp_cv_func_modfl_use=yes
16127 echo "configure: failed program was:" >&5
16128 cat conftest.$ac_ext >&5
16130 glibcpp_cv_func_modfl_use=no
16134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16135 ac_cpp='$CPP $CPPFLAGS'
16136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16138 cross_compiling=$ac_cv_prog_cc_cross
16144 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
16146 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
16147 for ac_func in modfl
16149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16150 echo "configure:16151: checking for $ac_func" >&5
16151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16152 echo $ac_n "(cached) $ac_c" 1>&6
16154 cat > conftest.$ac_ext <<EOF
16155 #line 16156 "configure"
16156 #include "confdefs.h"
16157 /* System header to define __stub macros and hopefully few prototypes,
16158 which can conflict with char $ac_func(); below. */
16159 #include <assert.h>
16160 /* Override any gcc2 internal prototype to avoid an error. */
16161 /* We use char because int might match the return type of a gcc2
16162 builtin and then its argument prototype would still apply. */
16167 /* The GNU C library defines this for functions which it implements
16168 to always fail with ENOSYS. Some functions are actually named
16169 something starting with __ and the normal name is an alias. */
16170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16178 if { (eval echo configure:16179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16180 eval "ac_cv_func_$ac_func=yes"
16182 echo "configure: failed program was:" >&5
16183 cat conftest.$ac_ext >&5
16185 eval "ac_cv_func_$ac_func=no"
16190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16191 echo "$ac_t""yes" 1>&6
16192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16193 cat >> confdefs.h <<EOF
16194 #define $ac_tr_func 1
16198 echo "$ac_t""no" 1>&6
16204 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16205 echo "configure:16206: checking for _modfl declaration" >&5
16206 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
16207 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16208 echo $ac_n "(cached) $ac_c" 1>&6
16213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16214 ac_cpp='$CXXCPP $CPPFLAGS'
16215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16217 cross_compiling=$ac_cv_prog_cxx_cross
16219 cat > conftest.$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16227 if { (eval echo configure:16228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16229 glibcpp_cv_func__modfl_use=yes
16231 echo "configure: failed program was:" >&5
16232 cat conftest.$ac_ext >&5
16234 glibcpp_cv_func__modfl_use=no
16238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16239 ac_cpp='$CPP $CPPFLAGS'
16240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16242 cross_compiling=$ac_cv_prog_cc_cross
16248 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16250 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16251 for ac_func in _modfl
16253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16254 echo "configure:16255: checking for $ac_func" >&5
16255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16256 echo $ac_n "(cached) $ac_c" 1>&6
16258 cat > conftest.$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16261 /* System header to define __stub macros and hopefully few prototypes,
16262 which can conflict with char $ac_func(); below. */
16263 #include <assert.h>
16264 /* Override any gcc2 internal prototype to avoid an error. */
16265 /* We use char because int might match the return type of a gcc2
16266 builtin and then its argument prototype would still apply. */
16271 /* The GNU C library defines this for functions which it implements
16272 to always fail with ENOSYS. Some functions are actually named
16273 something starting with __ and the normal name is an alias. */
16274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16282 if { (eval echo configure:16283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16284 eval "ac_cv_func_$ac_func=yes"
16286 echo "configure: failed program was:" >&5
16287 cat conftest.$ac_ext >&5
16289 eval "ac_cv_func_$ac_func=no"
16294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16295 echo "$ac_t""yes" 1>&6
16296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16297 cat >> confdefs.h <<EOF
16298 #define $ac_tr_func 1
16302 echo "$ac_t""no" 1>&6
16311 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
16312 echo "configure:16313: checking for powl declaration" >&5
16313 if test x${glibcpp_cv_func_powl_use+set} != xset; then
16314 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
16315 echo $ac_n "(cached) $ac_c" 1>&6
16320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16321 ac_cpp='$CXXCPP $CPPFLAGS'
16322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16324 cross_compiling=$ac_cv_prog_cxx_cross
16326 cat > conftest.$ac_ext <<EOF
16327 #line 16328 "configure"
16328 #include "confdefs.h"
16334 if { (eval echo configure:16335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16336 glibcpp_cv_func_powl_use=yes
16338 echo "configure: failed program was:" >&5
16339 cat conftest.$ac_ext >&5
16341 glibcpp_cv_func_powl_use=no
16345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16346 ac_cpp='$CPP $CPPFLAGS'
16347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16349 cross_compiling=$ac_cv_prog_cc_cross
16355 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
16357 if test x$glibcpp_cv_func_powl_use = x"yes"; then
16358 for ac_func in powl
16360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16361 echo "configure:16362: checking for $ac_func" >&5
16362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16363 echo $ac_n "(cached) $ac_c" 1>&6
16365 cat > conftest.$ac_ext <<EOF
16366 #line 16367 "configure"
16367 #include "confdefs.h"
16368 /* System header to define __stub macros and hopefully few prototypes,
16369 which can conflict with char $ac_func(); below. */
16370 #include <assert.h>
16371 /* Override any gcc2 internal prototype to avoid an error. */
16372 /* We use char because int might match the return type of a gcc2
16373 builtin and then its argument prototype would still apply. */
16378 /* The GNU C library defines this for functions which it implements
16379 to always fail with ENOSYS. Some functions are actually named
16380 something starting with __ and the normal name is an alias. */
16381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16389 if { (eval echo configure:16390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16391 eval "ac_cv_func_$ac_func=yes"
16393 echo "configure: failed program was:" >&5
16394 cat conftest.$ac_ext >&5
16396 eval "ac_cv_func_$ac_func=no"
16401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16402 echo "$ac_t""yes" 1>&6
16403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16404 cat >> confdefs.h <<EOF
16405 #define $ac_tr_func 1
16409 echo "$ac_t""no" 1>&6
16415 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16416 echo "configure:16417: checking for _powl declaration" >&5
16417 if test x${glibcpp_cv_func__powl_use+set} != xset; then
16418 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16419 echo $ac_n "(cached) $ac_c" 1>&6
16424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16425 ac_cpp='$CXXCPP $CPPFLAGS'
16426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16428 cross_compiling=$ac_cv_prog_cxx_cross
16430 cat > conftest.$ac_ext <<EOF
16431 #line 16432 "configure"
16432 #include "confdefs.h"
16438 if { (eval echo configure:16439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16440 glibcpp_cv_func__powl_use=yes
16442 echo "configure: failed program was:" >&5
16443 cat conftest.$ac_ext >&5
16445 glibcpp_cv_func__powl_use=no
16449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16450 ac_cpp='$CPP $CPPFLAGS'
16451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16453 cross_compiling=$ac_cv_prog_cc_cross
16459 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16461 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16462 for ac_func in _powl
16464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16465 echo "configure:16466: checking for $ac_func" >&5
16466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16467 echo $ac_n "(cached) $ac_c" 1>&6
16469 cat > conftest.$ac_ext <<EOF
16470 #line 16471 "configure"
16471 #include "confdefs.h"
16472 /* System header to define __stub macros and hopefully few prototypes,
16473 which can conflict with char $ac_func(); below. */
16474 #include <assert.h>
16475 /* Override any gcc2 internal prototype to avoid an error. */
16476 /* We use char because int might match the return type of a gcc2
16477 builtin and then its argument prototype would still apply. */
16482 /* The GNU C library defines this for functions which it implements
16483 to always fail with ENOSYS. Some functions are actually named
16484 something starting with __ and the normal name is an alias. */
16485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16493 if { (eval echo configure:16494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16495 eval "ac_cv_func_$ac_func=yes"
16497 echo "configure: failed program was:" >&5
16498 cat conftest.$ac_ext >&5
16500 eval "ac_cv_func_$ac_func=no"
16505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16506 echo "$ac_t""yes" 1>&6
16507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16508 cat >> confdefs.h <<EOF
16509 #define $ac_tr_func 1
16513 echo "$ac_t""no" 1>&6
16522 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
16523 echo "configure:16524: checking for sqrtl declaration" >&5
16524 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
16525 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
16526 echo $ac_n "(cached) $ac_c" 1>&6
16531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16532 ac_cpp='$CXXCPP $CPPFLAGS'
16533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16535 cross_compiling=$ac_cv_prog_cxx_cross
16537 cat > conftest.$ac_ext <<EOF
16538 #line 16539 "configure"
16539 #include "confdefs.h"
16541 #ifdef HAVE_IEEEFP_H
16542 #include <ieeefp.h>
16549 if { (eval echo configure:16550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16551 glibcpp_cv_func_sqrtl_use=yes
16553 echo "configure: failed program was:" >&5
16554 cat conftest.$ac_ext >&5
16556 glibcpp_cv_func_sqrtl_use=no
16560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16561 ac_cpp='$CPP $CPPFLAGS'
16562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16564 cross_compiling=$ac_cv_prog_cc_cross
16570 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
16572 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
16573 for ac_func in sqrtl
16575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16576 echo "configure:16577: checking for $ac_func" >&5
16577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16578 echo $ac_n "(cached) $ac_c" 1>&6
16580 cat > conftest.$ac_ext <<EOF
16581 #line 16582 "configure"
16582 #include "confdefs.h"
16583 /* System header to define __stub macros and hopefully few prototypes,
16584 which can conflict with char $ac_func(); below. */
16585 #include <assert.h>
16586 /* Override any gcc2 internal prototype to avoid an error. */
16587 /* We use char because int might match the return type of a gcc2
16588 builtin and then its argument prototype would still apply. */
16593 /* The GNU C library defines this for functions which it implements
16594 to always fail with ENOSYS. Some functions are actually named
16595 something starting with __ and the normal name is an alias. */
16596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16604 if { (eval echo configure:16605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16606 eval "ac_cv_func_$ac_func=yes"
16608 echo "configure: failed program was:" >&5
16609 cat conftest.$ac_ext >&5
16611 eval "ac_cv_func_$ac_func=no"
16616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16617 echo "$ac_t""yes" 1>&6
16618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16619 cat >> confdefs.h <<EOF
16620 #define $ac_tr_func 1
16624 echo "$ac_t""no" 1>&6
16630 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16631 echo "configure:16632: checking for _sqrtl declaration" >&5
16632 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
16633 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16634 echo $ac_n "(cached) $ac_c" 1>&6
16639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16640 ac_cpp='$CXXCPP $CPPFLAGS'
16641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16643 cross_compiling=$ac_cv_prog_cxx_cross
16645 cat > conftest.$ac_ext <<EOF
16646 #line 16647 "configure"
16647 #include "confdefs.h"
16649 #ifdef HAVE_IEEEFP_H
16650 #include <ieeefp.h>
16657 if { (eval echo configure:16658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16659 glibcpp_cv_func__sqrtl_use=yes
16661 echo "configure: failed program was:" >&5
16662 cat conftest.$ac_ext >&5
16664 glibcpp_cv_func__sqrtl_use=no
16668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16669 ac_cpp='$CPP $CPPFLAGS'
16670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16672 cross_compiling=$ac_cv_prog_cc_cross
16678 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16680 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16681 for ac_func in _sqrtl
16683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16684 echo "configure:16685: checking for $ac_func" >&5
16685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16686 echo $ac_n "(cached) $ac_c" 1>&6
16688 cat > conftest.$ac_ext <<EOF
16689 #line 16690 "configure"
16690 #include "confdefs.h"
16691 /* System header to define __stub macros and hopefully few prototypes,
16692 which can conflict with char $ac_func(); below. */
16693 #include <assert.h>
16694 /* Override any gcc2 internal prototype to avoid an error. */
16695 /* We use char because int might match the return type of a gcc2
16696 builtin and then its argument prototype would still apply. */
16701 /* The GNU C library defines this for functions which it implements
16702 to always fail with ENOSYS. Some functions are actually named
16703 something starting with __ and the normal name is an alias. */
16704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16712 if { (eval echo configure:16713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16714 eval "ac_cv_func_$ac_func=yes"
16716 echo "configure: failed program was:" >&5
16717 cat conftest.$ac_ext >&5
16719 eval "ac_cv_func_$ac_func=no"
16724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16725 echo "$ac_t""yes" 1>&6
16726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16727 cat >> confdefs.h <<EOF
16728 #define $ac_tr_func 1
16732 echo "$ac_t""no" 1>&6
16741 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
16742 echo "configure:16743: checking for sincosl declaration" >&5
16743 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
16744 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
16745 echo $ac_n "(cached) $ac_c" 1>&6
16750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16751 ac_cpp='$CXXCPP $CPPFLAGS'
16752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16754 cross_compiling=$ac_cv_prog_cxx_cross
16756 cat > conftest.$ac_ext <<EOF
16757 #line 16758 "configure"
16758 #include "confdefs.h"
16764 if { (eval echo configure:16765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16766 glibcpp_cv_func_sincosl_use=yes
16768 echo "configure: failed program was:" >&5
16769 cat conftest.$ac_ext >&5
16771 glibcpp_cv_func_sincosl_use=no
16775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16776 ac_cpp='$CPP $CPPFLAGS'
16777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16779 cross_compiling=$ac_cv_prog_cc_cross
16785 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
16787 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
16788 for ac_func in sincosl
16790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16791 echo "configure:16792: checking for $ac_func" >&5
16792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16793 echo $ac_n "(cached) $ac_c" 1>&6
16795 cat > conftest.$ac_ext <<EOF
16796 #line 16797 "configure"
16797 #include "confdefs.h"
16798 /* System header to define __stub macros and hopefully few prototypes,
16799 which can conflict with char $ac_func(); below. */
16800 #include <assert.h>
16801 /* Override any gcc2 internal prototype to avoid an error. */
16802 /* We use char because int might match the return type of a gcc2
16803 builtin and then its argument prototype would still apply. */
16808 /* The GNU C library defines this for functions which it implements
16809 to always fail with ENOSYS. Some functions are actually named
16810 something starting with __ and the normal name is an alias. */
16811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16819 if { (eval echo configure:16820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16821 eval "ac_cv_func_$ac_func=yes"
16823 echo "configure: failed program was:" >&5
16824 cat conftest.$ac_ext >&5
16826 eval "ac_cv_func_$ac_func=no"
16831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16832 echo "$ac_t""yes" 1>&6
16833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16834 cat >> confdefs.h <<EOF
16835 #define $ac_tr_func 1
16839 echo "$ac_t""no" 1>&6
16845 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16846 echo "configure:16847: checking for _sincosl declaration" >&5
16847 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
16848 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16849 echo $ac_n "(cached) $ac_c" 1>&6
16854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16855 ac_cpp='$CXXCPP $CPPFLAGS'
16856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16858 cross_compiling=$ac_cv_prog_cxx_cross
16860 cat > conftest.$ac_ext <<EOF
16861 #line 16862 "configure"
16862 #include "confdefs.h"
16868 if { (eval echo configure:16869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16870 glibcpp_cv_func__sincosl_use=yes
16872 echo "configure: failed program was:" >&5
16873 cat conftest.$ac_ext >&5
16875 glibcpp_cv_func__sincosl_use=no
16879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16880 ac_cpp='$CPP $CPPFLAGS'
16881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16883 cross_compiling=$ac_cv_prog_cc_cross
16889 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16891 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16892 for ac_func in _sincosl
16894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16895 echo "configure:16896: checking for $ac_func" >&5
16896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16897 echo $ac_n "(cached) $ac_c" 1>&6
16899 cat > conftest.$ac_ext <<EOF
16900 #line 16901 "configure"
16901 #include "confdefs.h"
16902 /* System header to define __stub macros and hopefully few prototypes,
16903 which can conflict with char $ac_func(); below. */
16904 #include <assert.h>
16905 /* Override any gcc2 internal prototype to avoid an error. */
16906 /* We use char because int might match the return type of a gcc2
16907 builtin and then its argument prototype would still apply. */
16912 /* The GNU C library defines this for functions which it implements
16913 to always fail with ENOSYS. Some functions are actually named
16914 something starting with __ and the normal name is an alias. */
16915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16923 if { (eval echo configure:16924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16925 eval "ac_cv_func_$ac_func=yes"
16927 echo "configure: failed program was:" >&5
16928 cat conftest.$ac_ext >&5
16930 eval "ac_cv_func_$ac_func=no"
16935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16936 echo "$ac_t""yes" 1>&6
16937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16938 cat >> confdefs.h <<EOF
16939 #define $ac_tr_func 1
16943 echo "$ac_t""no" 1>&6
16952 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
16953 echo "configure:16954: checking for finitel declaration" >&5
16954 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
16955 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
16956 echo $ac_n "(cached) $ac_c" 1>&6
16961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16962 ac_cpp='$CXXCPP $CPPFLAGS'
16963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16965 cross_compiling=$ac_cv_prog_cxx_cross
16967 cat > conftest.$ac_ext <<EOF
16968 #line 16969 "configure"
16969 #include "confdefs.h"
16971 #ifdef HAVE_IEEEFP_H
16972 #include <ieeefp.h>
16979 if { (eval echo configure:16980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16981 glibcpp_cv_func_finitel_use=yes
16983 echo "configure: failed program was:" >&5
16984 cat conftest.$ac_ext >&5
16986 glibcpp_cv_func_finitel_use=no
16990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16991 ac_cpp='$CPP $CPPFLAGS'
16992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16994 cross_compiling=$ac_cv_prog_cc_cross
17000 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17002 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17003 for ac_func in finitel
17005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17006 echo "configure:17007: checking for $ac_func" >&5
17007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17008 echo $ac_n "(cached) $ac_c" 1>&6
17010 cat > conftest.$ac_ext <<EOF
17011 #line 17012 "configure"
17012 #include "confdefs.h"
17013 /* System header to define __stub macros and hopefully few prototypes,
17014 which can conflict with char $ac_func(); below. */
17015 #include <assert.h>
17016 /* Override any gcc2 internal prototype to avoid an error. */
17017 /* We use char because int might match the return type of a gcc2
17018 builtin and then its argument prototype would still apply. */
17023 /* The GNU C library defines this for functions which it implements
17024 to always fail with ENOSYS. Some functions are actually named
17025 something starting with __ and the normal name is an alias. */
17026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17034 if { (eval echo configure:17035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17036 eval "ac_cv_func_$ac_func=yes"
17038 echo "configure: failed program was:" >&5
17039 cat conftest.$ac_ext >&5
17041 eval "ac_cv_func_$ac_func=no"
17046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17047 echo "$ac_t""yes" 1>&6
17048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17049 cat >> confdefs.h <<EOF
17050 #define $ac_tr_func 1
17054 echo "$ac_t""no" 1>&6
17060 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17061 echo "configure:17062: checking for _finitel declaration" >&5
17062 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
17063 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17064 echo $ac_n "(cached) $ac_c" 1>&6
17069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17070 ac_cpp='$CXXCPP $CPPFLAGS'
17071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17073 cross_compiling=$ac_cv_prog_cxx_cross
17075 cat > conftest.$ac_ext <<EOF
17076 #line 17077 "configure"
17077 #include "confdefs.h"
17079 #ifdef HAVE_IEEEFP_H
17080 #include <ieeefp.h>
17087 if { (eval echo configure:17088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17089 glibcpp_cv_func__finitel_use=yes
17091 echo "configure: failed program was:" >&5
17092 cat conftest.$ac_ext >&5
17094 glibcpp_cv_func__finitel_use=no
17098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17099 ac_cpp='$CPP $CPPFLAGS'
17100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17102 cross_compiling=$ac_cv_prog_cc_cross
17108 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17110 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17111 for ac_func in _finitel
17113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17114 echo "configure:17115: checking for $ac_func" >&5
17115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17116 echo $ac_n "(cached) $ac_c" 1>&6
17118 cat > conftest.$ac_ext <<EOF
17119 #line 17120 "configure"
17120 #include "confdefs.h"
17121 /* System header to define __stub macros and hopefully few prototypes,
17122 which can conflict with char $ac_func(); below. */
17123 #include <assert.h>
17124 /* Override any gcc2 internal prototype to avoid an error. */
17125 /* We use char because int might match the return type of a gcc2
17126 builtin and then its argument prototype would still apply. */
17131 /* The GNU C library defines this for functions which it implements
17132 to always fail with ENOSYS. Some functions are actually named
17133 something starting with __ and the normal name is an alias. */
17134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17142 if { (eval echo configure:17143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17144 eval "ac_cv_func_$ac_func=yes"
17146 echo "configure: failed program was:" >&5
17147 cat conftest.$ac_ext >&5
17149 eval "ac_cv_func_$ac_func=no"
17154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17155 echo "$ac_t""yes" 1>&6
17156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17157 cat >> confdefs.h <<EOF
17158 #define $ac_tr_func 1
17162 echo "$ac_t""no" 1>&6
17172 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
17173 echo "configure:17174: checking for _float trig functions" >&5
17174 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
17175 echo $ac_n "(cached) $ac_c" 1>&6
17180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17181 ac_cpp='$CXXCPP $CPPFLAGS'
17182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17184 cross_compiling=$ac_cv_prog_cxx_cross
17186 cat > conftest.$ac_ext <<EOF
17187 #line 17188 "configure"
17188 #include "confdefs.h"
17191 `for x in _acosf _asinf _atanf \
17192 _cosf _sinf _tanf \
17193 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
17196 if { (eval echo configure:17197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17198 glibcpp_cv_func__float_trig_use=yes
17200 echo "configure: failed program was:" >&5
17201 cat conftest.$ac_ext >&5
17203 glibcpp_cv_func__float_trig_use=no
17207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17208 ac_cpp='$CPP $CPPFLAGS'
17209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17211 cross_compiling=$ac_cv_prog_cc_cross
17215 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
17216 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
17217 for ac_func in _acosf _asinf _atanf \
17218 _cosf _sinf _tanf \
17219 _coshf _sinhf _tanhf
17221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17222 echo "configure:17223: checking for $ac_func" >&5
17223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17224 echo $ac_n "(cached) $ac_c" 1>&6
17226 cat > conftest.$ac_ext <<EOF
17227 #line 17228 "configure"
17228 #include "confdefs.h"
17229 /* System header to define __stub macros and hopefully few prototypes,
17230 which can conflict with char $ac_func(); below. */
17231 #include <assert.h>
17232 /* Override any gcc2 internal prototype to avoid an error. */
17233 /* We use char because int might match the return type of a gcc2
17234 builtin and then its argument prototype would still apply. */
17239 /* The GNU C library defines this for functions which it implements
17240 to always fail with ENOSYS. Some functions are actually named
17241 something starting with __ and the normal name is an alias. */
17242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17250 if { (eval echo configure:17251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17252 eval "ac_cv_func_$ac_func=yes"
17254 echo "configure: failed program was:" >&5
17255 cat conftest.$ac_ext >&5
17257 eval "ac_cv_func_$ac_func=no"
17262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17263 echo "$ac_t""yes" 1>&6
17264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17265 cat >> confdefs.h <<EOF
17266 #define $ac_tr_func 1
17270 echo "$ac_t""no" 1>&6
17277 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
17278 echo "configure:17279: checking for _float round functions" >&5
17279 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
17280 echo $ac_n "(cached) $ac_c" 1>&6
17285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17286 ac_cpp='$CXXCPP $CPPFLAGS'
17287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17289 cross_compiling=$ac_cv_prog_cxx_cross
17291 cat > conftest.$ac_ext <<EOF
17292 #line 17293 "configure"
17293 #include "confdefs.h"
17296 `for x in _ceilf _floorf; do echo "$x (0);"; done`
17299 if { (eval echo configure:17300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17301 glibcpp_cv_func__float_round_use=yes
17303 echo "configure: failed program was:" >&5
17304 cat conftest.$ac_ext >&5
17306 glibcpp_cv_func__float_round_use=no
17310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17311 ac_cpp='$CPP $CPPFLAGS'
17312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17314 cross_compiling=$ac_cv_prog_cc_cross
17318 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
17319 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
17320 for ac_func in _ceilf _floorf
17322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17323 echo "configure:17324: checking for $ac_func" >&5
17324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17325 echo $ac_n "(cached) $ac_c" 1>&6
17327 cat > conftest.$ac_ext <<EOF
17328 #line 17329 "configure"
17329 #include "confdefs.h"
17330 /* System header to define __stub macros and hopefully few prototypes,
17331 which can conflict with char $ac_func(); below. */
17332 #include <assert.h>
17333 /* Override any gcc2 internal prototype to avoid an error. */
17334 /* We use char because int might match the return type of a gcc2
17335 builtin and then its argument prototype would still apply. */
17340 /* The GNU C library defines this for functions which it implements
17341 to always fail with ENOSYS. Some functions are actually named
17342 something starting with __ and the normal name is an alias. */
17343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17351 if { (eval echo configure:17352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17353 eval "ac_cv_func_$ac_func=yes"
17355 echo "configure: failed program was:" >&5
17356 cat conftest.$ac_ext >&5
17358 eval "ac_cv_func_$ac_func=no"
17363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17364 echo "$ac_t""yes" 1>&6
17365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17366 cat >> confdefs.h <<EOF
17367 #define $ac_tr_func 1
17371 echo "$ac_t""no" 1>&6
17379 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
17380 echo "configure:17381: checking for _long double trig functions" >&5
17381 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
17382 echo $ac_n "(cached) $ac_c" 1>&6
17387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17388 ac_cpp='$CXXCPP $CPPFLAGS'
17389 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17390 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17391 cross_compiling=$ac_cv_prog_cxx_cross
17393 cat > conftest.$ac_ext <<EOF
17394 #line 17395 "configure"
17395 #include "confdefs.h"
17398 `for x in _acosl _asinl _atanl \
17399 _cosl _sinl _tanl \
17400 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
17403 if { (eval echo configure:17404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17405 glibcpp_cv_func__long_double_trig_use=yes
17407 echo "configure: failed program was:" >&5
17408 cat conftest.$ac_ext >&5
17410 glibcpp_cv_func__long_double_trig_use=no
17414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17415 ac_cpp='$CPP $CPPFLAGS'
17416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17418 cross_compiling=$ac_cv_prog_cc_cross
17422 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
17423 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
17424 for ac_func in _acosl _asinl _atanl \
17425 _cosl _sinl _tanl \
17426 _coshl _sinhl _tanhl
17428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17429 echo "configure:17430: checking for $ac_func" >&5
17430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17431 echo $ac_n "(cached) $ac_c" 1>&6
17433 cat > conftest.$ac_ext <<EOF
17434 #line 17435 "configure"
17435 #include "confdefs.h"
17436 /* System header to define __stub macros and hopefully few prototypes,
17437 which can conflict with char $ac_func(); below. */
17438 #include <assert.h>
17439 /* Override any gcc2 internal prototype to avoid an error. */
17440 /* We use char because int might match the return type of a gcc2
17441 builtin and then its argument prototype would still apply. */
17446 /* The GNU C library defines this for functions which it implements
17447 to always fail with ENOSYS. Some functions are actually named
17448 something starting with __ and the normal name is an alias. */
17449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17457 if { (eval echo configure:17458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17459 eval "ac_cv_func_$ac_func=yes"
17461 echo "configure: failed program was:" >&5
17462 cat conftest.$ac_ext >&5
17464 eval "ac_cv_func_$ac_func=no"
17469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17470 echo "$ac_t""yes" 1>&6
17471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17472 cat >> confdefs.h <<EOF
17473 #define $ac_tr_func 1
17477 echo "$ac_t""no" 1>&6
17484 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
17485 echo "configure:17486: checking for _long double round functions" >&5
17486 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
17487 echo $ac_n "(cached) $ac_c" 1>&6
17492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17493 ac_cpp='$CXXCPP $CPPFLAGS'
17494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17496 cross_compiling=$ac_cv_prog_cxx_cross
17498 cat > conftest.$ac_ext <<EOF
17499 #line 17500 "configure"
17500 #include "confdefs.h"
17503 `for x in _ceill _floorl; do echo "$x (0);"; done`
17506 if { (eval echo configure:17507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17508 glibcpp_cv_func__long_double_round_use=yes
17510 echo "configure: failed program was:" >&5
17511 cat conftest.$ac_ext >&5
17513 glibcpp_cv_func__long_double_round_use=no
17517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17518 ac_cpp='$CPP $CPPFLAGS'
17519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17521 cross_compiling=$ac_cv_prog_cc_cross
17525 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
17526 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
17527 for ac_func in _ceill _floorl
17529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17530 echo "configure:17531: checking for $ac_func" >&5
17531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17532 echo $ac_n "(cached) $ac_c" 1>&6
17534 cat > conftest.$ac_ext <<EOF
17535 #line 17536 "configure"
17536 #include "confdefs.h"
17537 /* System header to define __stub macros and hopefully few prototypes,
17538 which can conflict with char $ac_func(); below. */
17539 #include <assert.h>
17540 /* Override any gcc2 internal prototype to avoid an error. */
17541 /* We use char because int might match the return type of a gcc2
17542 builtin and then its argument prototype would still apply. */
17547 /* The GNU C library defines this for functions which it implements
17548 to always fail with ENOSYS. Some functions are actually named
17549 something starting with __ and the normal name is an alias. */
17550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17558 if { (eval echo configure:17559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17560 eval "ac_cv_func_$ac_func=yes"
17562 echo "configure: failed program was:" >&5
17563 cat conftest.$ac_ext >&5
17565 eval "ac_cv_func_$ac_func=no"
17570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17571 echo "$ac_t""yes" 1>&6
17572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17573 cat >> confdefs.h <<EOF
17574 #define $ac_tr_func 1
17578 echo "$ac_t""no" 1>&6
17585 LIBS="$ac_save_LIBS"
17586 CXXFLAGS="$ac_save_CXXFLAGS"
17589 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17590 echo "configure:17591: checking for main in -lm" >&5
17591 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17593 echo $ac_n "(cached) $ac_c" 1>&6
17595 ac_save_LIBS="$LIBS"
17597 cat > conftest.$ac_ext <<EOF
17598 #line 17599 "configure"
17599 #include "confdefs.h"
17605 if { (eval echo configure:17606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17607 eval "ac_cv_lib_$ac_lib_var=yes"
17609 echo "configure: failed program was:" >&5
17610 cat conftest.$ac_ext >&5
17612 eval "ac_cv_lib_$ac_lib_var=no"
17615 LIBS="$ac_save_LIBS"
17618 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17619 echo "$ac_t""yes" 1>&6
17620 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17621 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17622 cat >> confdefs.h <<EOF
17623 #define $ac_tr_lib 1
17629 echo "$ac_t""no" 1>&6
17632 for ac_func in nan copysignf
17634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17635 echo "configure:17636: checking for $ac_func" >&5
17636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17637 echo $ac_n "(cached) $ac_c" 1>&6
17639 cat > conftest.$ac_ext <<EOF
17640 #line 17641 "configure"
17641 #include "confdefs.h"
17642 /* System header to define __stub macros and hopefully few prototypes,
17643 which can conflict with char $ac_func(); below. */
17644 #include <assert.h>
17645 /* Override any gcc2 internal prototype to avoid an error. */
17646 /* We use char because int might match the return type of a gcc2
17647 builtin and then its argument prototype would still apply. */
17652 /* The GNU C library defines this for functions which it implements
17653 to always fail with ENOSYS. Some functions are actually named
17654 something starting with __ and the normal name is an alias. */
17655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17663 if { (eval echo configure:17664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17665 eval "ac_cv_func_$ac_func=yes"
17667 echo "configure: failed program was:" >&5
17668 cat conftest.$ac_ext >&5
17670 eval "ac_cv_func_$ac_func=no"
17675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17676 echo "$ac_t""yes" 1>&6
17677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17678 cat >> confdefs.h <<EOF
17679 #define $ac_tr_func 1
17683 echo "$ac_t""no" 1>&6
17684 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17690 USE_COMPLEX_LONG_DOUBLE=no
17691 if test x$ac_cv_func_copysignl = x"yes"; then
17692 USE_COMPLEX_LONG_DOUBLE=yes
17693 for ac_func in signbitl
17695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17696 echo "configure:17697: checking for $ac_func" >&5
17697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17698 echo $ac_n "(cached) $ac_c" 1>&6
17700 cat > conftest.$ac_ext <<EOF
17701 #line 17702 "configure"
17702 #include "confdefs.h"
17703 /* System header to define __stub macros and hopefully few prototypes,
17704 which can conflict with char $ac_func(); below. */
17705 #include <assert.h>
17706 /* Override any gcc2 internal prototype to avoid an error. */
17707 /* We use char because int might match the return type of a gcc2
17708 builtin and then its argument prototype would still apply. */
17713 /* The GNU C library defines this for functions which it implements
17714 to always fail with ENOSYS. Some functions are actually named
17715 something starting with __ and the normal name is an alias. */
17716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17724 if { (eval echo configure:17725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17726 eval "ac_cv_func_$ac_func=yes"
17728 echo "configure: failed program was:" >&5
17729 cat conftest.$ac_ext >&5
17731 eval "ac_cv_func_$ac_func=no"
17736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17737 echo "$ac_t""yes" 1>&6
17738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17739 cat >> confdefs.h <<EOF
17740 #define $ac_tr_func 1
17744 echo "$ac_t""no" 1>&6
17745 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17756 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17757 echo "configure:17758: checking for mbstate_t" >&5
17758 cat > conftest.$ac_ext <<EOF
17759 #line 17760 "configure"
17760 #include "confdefs.h"
17763 mbstate_t teststate;
17766 if { (eval echo configure:17767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17770 echo "configure: failed program was:" >&5
17771 cat conftest.$ac_ext >&5
17776 echo "$ac_t""$have_mbstate_t" 1>&6
17777 if test x"$have_mbstate_t" = xyes; then
17778 cat >> confdefs.h <<\EOF
17779 #define HAVE_MBSTATE_T 1
17784 for ac_hdr in wchar.h
17786 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17787 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17788 echo "configure:17789: checking for $ac_hdr" >&5
17789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17790 echo $ac_n "(cached) $ac_c" 1>&6
17792 cat > conftest.$ac_ext <<EOF
17793 #line 17794 "configure"
17794 #include "confdefs.h"
17797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17798 { (eval echo configure:17799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17800 if test -z "$ac_err"; then
17802 eval "ac_cv_header_$ac_safe=yes"
17805 echo "configure: failed program was:" >&5
17806 cat conftest.$ac_ext >&5
17808 eval "ac_cv_header_$ac_safe=no"
17812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17813 echo "$ac_t""yes" 1>&6
17814 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17815 cat >> confdefs.h <<EOF
17816 #define $ac_tr_hdr 1
17820 echo "$ac_t""no" 1>&6
17825 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17826 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17827 echo "configure:17828: checking for wctype.h" >&5
17828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17829 echo $ac_n "(cached) $ac_c" 1>&6
17831 cat > conftest.$ac_ext <<EOF
17832 #line 17833 "configure"
17833 #include "confdefs.h"
17834 #include <wctype.h>
17836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17837 { (eval echo configure:17838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17839 if test -z "$ac_err"; then
17841 eval "ac_cv_header_$ac_safe=yes"
17844 echo "configure: failed program was:" >&5
17845 cat conftest.$ac_ext >&5
17847 eval "ac_cv_header_$ac_safe=no"
17851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17852 echo "$ac_t""yes" 1>&6
17853 ac_has_wctype_h=yes
17855 echo "$ac_t""no" 1>&6
17860 if test x"$ac_has_wchar_h" = xyes &&
17861 test x"$ac_has_wctype_h" = xyes &&
17862 test x"$enable_c_mbchar" != xno; then
17864 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17865 echo "configure:17866: checking for WCHAR_MIN and WCHAR_MAX" >&5
17866 cat > conftest.$ac_ext <<EOF
17867 #line 17868 "configure"
17868 #include "confdefs.h"
17871 int i = WCHAR_MIN; int j = WCHAR_MAX;
17874 if { (eval echo configure:17875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17876 has_wchar_minmax=yes
17878 echo "configure: failed program was:" >&5
17879 cat conftest.$ac_ext >&5
17881 has_wchar_minmax=no
17884 echo "$ac_t""$has_wchar_minmax" 1>&6
17886 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17887 echo "configure:17888: checking for WEOF" >&5
17888 cat > conftest.$ac_ext <<EOF
17889 #line 17890 "configure"
17890 #include "confdefs.h"
17893 #include <stddef.h>
17898 if { (eval echo configure:17899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17902 echo "configure: failed program was:" >&5
17903 cat conftest.$ac_ext >&5
17908 echo "$ac_t""$has_weof" 1>&6
17911 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17914 echo "configure:17915: checking for $ac_func" >&5
17915 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17916 echo $ac_n "(cached) $ac_c" 1>&6
17918 cat > conftest.$ac_ext <<EOF
17919 #line 17920 "configure"
17920 #include "confdefs.h"
17921 /* System header to define __stub macros and hopefully few prototypes,
17922 which can conflict with char $ac_func(); below. */
17923 #include <assert.h>
17924 /* Override any gcc2 internal prototype to avoid an error. */
17925 /* We use char because int might match the return type of a gcc2
17926 builtin and then its argument prototype would still apply. */
17931 /* The GNU C library defines this for functions which it implements
17932 to always fail with ENOSYS. Some functions are actually named
17933 something starting with __ and the normal name is an alias. */
17934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17942 if { (eval echo configure:17943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17944 eval "ac_cv_func_$ac_func=yes"
17946 echo "configure: failed program was:" >&5
17947 cat conftest.$ac_ext >&5
17949 eval "ac_cv_func_$ac_func=no"
17954 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17955 echo "$ac_t""yes" 1>&6
17956 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17957 cat >> confdefs.h <<EOF
17958 #define $ac_tr_func 1
17962 echo "$ac_t""no" 1>&6
17969 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
17970 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
17971 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
17972 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
17973 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
17974 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
17976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17977 echo "configure:17978: checking for $ac_func" >&5
17978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17979 echo $ac_n "(cached) $ac_c" 1>&6
17981 cat > conftest.$ac_ext <<EOF
17982 #line 17983 "configure"
17983 #include "confdefs.h"
17984 /* System header to define __stub macros and hopefully few prototypes,
17985 which can conflict with char $ac_func(); below. */
17986 #include <assert.h>
17987 /* Override any gcc2 internal prototype to avoid an error. */
17988 /* We use char because int might match the return type of a gcc2
17989 builtin and then its argument prototype would still apply. */
17994 /* The GNU C library defines this for functions which it implements
17995 to always fail with ENOSYS. Some functions are actually named
17996 something starting with __ and the normal name is an alias. */
17997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18005 if { (eval echo configure:18006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18007 eval "ac_cv_func_$ac_func=yes"
18009 echo "configure: failed program was:" >&5
18010 cat conftest.$ac_ext >&5
18012 eval "ac_cv_func_$ac_func=no"
18017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18018 echo "$ac_t""yes" 1>&6
18019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18020 cat >> confdefs.h <<EOF
18021 #define $ac_tr_func 1
18025 echo "$ac_t""no" 1>&6
18032 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
18033 echo "configure:18034: checking for ISO C99 wchar_t support" >&5
18034 if test x"$has_weof" = xyes &&
18035 test x"$has_wchar_minmax" = xyes &&
18036 test x"$ac_wfuncs" = xyes; then
18037 ac_isoC99_wchar_t=yes
18039 ac_isoC99_wchar_t=no
18041 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
18043 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
18044 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
18045 echo "configure:18046: checking for iconv.h" >&5
18046 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18047 echo $ac_n "(cached) $ac_c" 1>&6
18049 cat > conftest.$ac_ext <<EOF
18050 #line 18051 "configure"
18051 #include "confdefs.h"
18054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18055 { (eval echo configure:18056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18057 if test -z "$ac_err"; then
18059 eval "ac_cv_header_$ac_safe=yes"
18062 echo "configure: failed program was:" >&5
18063 cat conftest.$ac_ext >&5
18065 eval "ac_cv_header_$ac_safe=no"
18069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18070 echo "$ac_t""yes" 1>&6
18073 echo "$ac_t""no" 1>&6
18077 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
18078 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
18079 echo "configure:18080: checking for langinfo.h" >&5
18080 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18081 echo $ac_n "(cached) $ac_c" 1>&6
18083 cat > conftest.$ac_ext <<EOF
18084 #line 18085 "configure"
18085 #include "confdefs.h"
18086 #include <langinfo.h>
18088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18089 { (eval echo configure:18090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18090 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18091 if test -z "$ac_err"; then
18093 eval "ac_cv_header_$ac_safe=yes"
18096 echo "configure: failed program was:" >&5
18097 cat conftest.$ac_ext >&5
18099 eval "ac_cv_header_$ac_safe=no"
18103 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18104 echo "$ac_t""yes" 1>&6
18105 ac_has_langinfo_h=yes
18107 echo "$ac_t""no" 1>&6
18108 ac_has_langinfo_h=no
18112 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
18113 echo "configure:18114: checking for iconv in -liconv" >&5
18114 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
18115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18116 echo $ac_n "(cached) $ac_c" 1>&6
18118 ac_save_LIBS="$LIBS"
18119 LIBS="-liconv $LIBS"
18120 cat > conftest.$ac_ext <<EOF
18121 #line 18122 "configure"
18122 #include "confdefs.h"
18123 /* Override any gcc2 internal prototype to avoid an error. */
18124 /* We use char because int might match the return type of a gcc2
18125 builtin and then its argument prototype would still apply. */
18132 if { (eval echo configure:18133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18134 eval "ac_cv_lib_$ac_lib_var=yes"
18136 echo "configure: failed program was:" >&5
18137 cat conftest.$ac_ext >&5
18139 eval "ac_cv_lib_$ac_lib_var=no"
18142 LIBS="$ac_save_LIBS"
18145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18146 echo "$ac_t""yes" 1>&6
18149 echo "$ac_t""no" 1>&6
18152 ac_save_LIBS="$LIBS"
18153 LIBS="$LIBS $libiconv"
18155 for ac_func in iconv_open iconv_close iconv nl_langinfo
18157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18158 echo "configure:18159: checking for $ac_func" >&5
18159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18160 echo $ac_n "(cached) $ac_c" 1>&6
18162 cat > conftest.$ac_ext <<EOF
18163 #line 18164 "configure"
18164 #include "confdefs.h"
18165 /* System header to define __stub macros and hopefully few prototypes,
18166 which can conflict with char $ac_func(); below. */
18167 #include <assert.h>
18168 /* Override any gcc2 internal prototype to avoid an error. */
18169 /* We use char because int might match the return type of a gcc2
18170 builtin and then its argument prototype would still apply. */
18175 /* The GNU C library defines this for functions which it implements
18176 to always fail with ENOSYS. Some functions are actually named
18177 something starting with __ and the normal name is an alias. */
18178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18186 if { (eval echo configure:18187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18188 eval "ac_cv_func_$ac_func=yes"
18190 echo "configure: failed program was:" >&5
18191 cat conftest.$ac_ext >&5
18193 eval "ac_cv_func_$ac_func=no"
18198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18199 echo "$ac_t""yes" 1>&6
18200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18201 cat >> confdefs.h <<EOF
18202 #define $ac_tr_func 1
18207 echo "$ac_t""no" 1>&6
18213 LIBS="$ac_save_LIBS"
18215 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
18216 echo "configure:18217: checking for XPG2 wchar_t support" >&5
18217 if test x"$ac_has_iconv_h" = xyes &&
18218 test x"$ac_has_langinfo_h" = xyes &&
18219 test x"$ac_XPG2funcs" = xyes; then
18220 ac_XPG2_wchar_t=yes
18224 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
18226 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
18227 echo "configure:18228: checking for enabled wchar_t specializations" >&5
18228 if test x"$ac_isoC99_wchar_t" = xyes &&
18229 test x"$ac_XPG2_wchar_t" = xyes; then
18230 cat >> confdefs.h <<\EOF
18231 #define _GLIBCPP_USE_WCHAR_T 1
18234 echo "$ac_t"""yes"" 1>&6
18236 echo "$ac_t"""no"" 1>&6
18239 echo "configure: warning: wchar_t support disabled." 1>&2
18243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18244 ac_save_CXXFLAGS="$CXXFLAGS"
18245 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18248 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18249 echo "configure:18250: checking for strtold declaration" >&5
18250 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
18251 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18252 echo $ac_n "(cached) $ac_c" 1>&6
18257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18258 ac_cpp='$CXXCPP $CPPFLAGS'
18259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18261 cross_compiling=$ac_cv_prog_cxx_cross
18263 cat > conftest.$ac_ext <<EOF
18264 #line 18265 "configure"
18265 #include "confdefs.h"
18266 #include <stdlib.h>
18271 if { (eval echo configure:18272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18273 glibcpp_cv_func_strtold_use=yes
18275 echo "configure: failed program was:" >&5
18276 cat conftest.$ac_ext >&5
18278 glibcpp_cv_func_strtold_use=no
18282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18286 cross_compiling=$ac_cv_prog_cc_cross
18292 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18293 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18294 for ac_func in strtold
18296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18297 echo "configure:18298: checking for $ac_func" >&5
18298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18299 echo $ac_n "(cached) $ac_c" 1>&6
18301 cat > conftest.$ac_ext <<EOF
18302 #line 18303 "configure"
18303 #include "confdefs.h"
18304 /* System header to define __stub macros and hopefully few prototypes,
18305 which can conflict with char $ac_func(); below. */
18306 #include <assert.h>
18307 /* Override any gcc2 internal prototype to avoid an error. */
18308 /* We use char because int might match the return type of a gcc2
18309 builtin and then its argument prototype would still apply. */
18314 /* The GNU C library defines this for functions which it implements
18315 to always fail with ENOSYS. Some functions are actually named
18316 something starting with __ and the normal name is an alias. */
18317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18325 if { (eval echo configure:18326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18327 eval "ac_cv_func_$ac_func=yes"
18329 echo "configure: failed program was:" >&5
18330 cat conftest.$ac_ext >&5
18332 eval "ac_cv_func_$ac_func=no"
18337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18338 echo "$ac_t""yes" 1>&6
18339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18340 cat >> confdefs.h <<EOF
18341 #define $ac_tr_func 1
18345 echo "$ac_t""no" 1>&6
18352 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
18353 echo "configure:18354: checking for strtof declaration" >&5
18354 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
18355 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
18356 echo $ac_n "(cached) $ac_c" 1>&6
18361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18362 ac_cpp='$CXXCPP $CPPFLAGS'
18363 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18364 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18365 cross_compiling=$ac_cv_prog_cxx_cross
18367 cat > conftest.$ac_ext <<EOF
18368 #line 18369 "configure"
18369 #include "confdefs.h"
18370 #include <stdlib.h>
18375 if { (eval echo configure:18376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18377 glibcpp_cv_func_strtof_use=yes
18379 echo "configure: failed program was:" >&5
18380 cat conftest.$ac_ext >&5
18382 glibcpp_cv_func_strtof_use=no
18386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18390 cross_compiling=$ac_cv_prog_cc_cross
18396 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
18397 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
18398 for ac_func in strtof
18400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18401 echo "configure:18402: checking for $ac_func" >&5
18402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18403 echo $ac_n "(cached) $ac_c" 1>&6
18405 cat > conftest.$ac_ext <<EOF
18406 #line 18407 "configure"
18407 #include "confdefs.h"
18408 /* System header to define __stub macros and hopefully few prototypes,
18409 which can conflict with char $ac_func(); below. */
18410 #include <assert.h>
18411 /* Override any gcc2 internal prototype to avoid an error. */
18412 /* We use char because int might match the return type of a gcc2
18413 builtin and then its argument prototype would still apply. */
18418 /* The GNU C library defines this for functions which it implements
18419 to always fail with ENOSYS. Some functions are actually named
18420 something starting with __ and the normal name is an alias. */
18421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18429 if { (eval echo configure:18430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18431 eval "ac_cv_func_$ac_func=yes"
18433 echo "configure: failed program was:" >&5
18434 cat conftest.$ac_ext >&5
18436 eval "ac_cv_func_$ac_func=no"
18441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18442 echo "$ac_t""yes" 1>&6
18443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18444 cat >> confdefs.h <<EOF
18445 #define $ac_tr_func 1
18449 echo "$ac_t""no" 1>&6
18455 for ac_func in drand48
18457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18458 echo "configure:18459: checking for $ac_func" >&5
18459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18460 echo $ac_n "(cached) $ac_c" 1>&6
18462 cat > conftest.$ac_ext <<EOF
18463 #line 18464 "configure"
18464 #include "confdefs.h"
18465 /* System header to define __stub macros and hopefully few prototypes,
18466 which can conflict with char $ac_func(); below. */
18467 #include <assert.h>
18468 /* Override any gcc2 internal prototype to avoid an error. */
18469 /* We use char because int might match the return type of a gcc2
18470 builtin and then its argument prototype would still apply. */
18475 /* The GNU C library defines this for functions which it implements
18476 to always fail with ENOSYS. Some functions are actually named
18477 something starting with __ and the normal name is an alias. */
18478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18486 if { (eval echo configure:18487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18488 eval "ac_cv_func_$ac_func=yes"
18490 echo "configure: failed program was:" >&5
18491 cat conftest.$ac_ext >&5
18493 eval "ac_cv_func_$ac_func=no"
18498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18499 echo "$ac_t""yes" 1>&6
18500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18501 cat >> confdefs.h <<EOF
18502 #define $ac_tr_func 1
18506 echo "$ac_t""no" 1>&6
18511 CXXFLAGS="$ac_save_CXXFLAGS"
18514 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
18515 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
18516 echo "configure:18517: checking for locale.h" >&5
18517 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18518 echo $ac_n "(cached) $ac_c" 1>&6
18520 cat > conftest.$ac_ext <<EOF
18521 #line 18522 "configure"
18522 #include "confdefs.h"
18523 #include <locale.h>
18525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18526 { (eval echo configure:18527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18528 if test -z "$ac_err"; then
18530 eval "ac_cv_header_$ac_safe=yes"
18533 echo "configure: failed program was:" >&5
18534 cat conftest.$ac_ext >&5
18536 eval "ac_cv_header_$ac_safe=no"
18540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18541 echo "$ac_t""yes" 1>&6
18543 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18544 echo "configure:18545: checking for LC_MESSAGES" >&5
18545 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18546 echo $ac_n "(cached) $ac_c" 1>&6
18548 cat > conftest.$ac_ext <<EOF
18549 #line 18550 "configure"
18550 #include "confdefs.h"
18551 #include <locale.h>
18556 if { (eval echo configure:18557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18558 ac_cv_val_LC_MESSAGES=yes
18560 echo "configure: failed program was:" >&5
18561 cat conftest.$ac_ext >&5
18563 ac_cv_val_LC_MESSAGES=no
18568 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18569 if test $ac_cv_val_LC_MESSAGES = yes; then
18570 cat >> confdefs.h <<\EOF
18571 #define HAVE_LC_MESSAGES 1
18577 echo "$ac_t""no" 1>&6
18582 cat > conftest.$ac_ext <<EOF
18583 #line 18584 "configure"
18584 #include "confdefs.h"
18586 #include <setjmp.h>
18589 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18592 if { (eval echo configure:18593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18594 cat >> confdefs.h <<\EOF
18595 #define HAVE_SIGSETJMP 1
18600 echo "configure: failed program was:" >&5
18601 cat conftest.$ac_ext >&5
18605 for ac_hdr in unistd.h
18607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18608 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18609 echo "configure:18610: checking for $ac_hdr" >&5
18610 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18611 echo $ac_n "(cached) $ac_c" 1>&6
18613 cat > conftest.$ac_ext <<EOF
18614 #line 18615 "configure"
18615 #include "confdefs.h"
18618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18619 { (eval echo configure:18620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18621 if test -z "$ac_err"; then
18623 eval "ac_cv_header_$ac_safe=yes"
18626 echo "configure: failed program was:" >&5
18627 cat conftest.$ac_ext >&5
18629 eval "ac_cv_header_$ac_safe=no"
18633 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18634 echo "$ac_t""yes" 1>&6
18635 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18636 cat >> confdefs.h <<EOF
18637 #define $ac_tr_hdr 1
18641 echo "$ac_t""no" 1>&6
18645 for ac_func in getpagesize
18647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18648 echo "configure:18649: checking for $ac_func" >&5
18649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18650 echo $ac_n "(cached) $ac_c" 1>&6
18652 cat > conftest.$ac_ext <<EOF
18653 #line 18654 "configure"
18654 #include "confdefs.h"
18655 /* System header to define __stub macros and hopefully few prototypes,
18656 which can conflict with char $ac_func(); below. */
18657 #include <assert.h>
18658 /* Override any gcc2 internal prototype to avoid an error. */
18659 /* We use char because int might match the return type of a gcc2
18660 builtin and then its argument prototype would still apply. */
18665 /* The GNU C library defines this for functions which it implements
18666 to always fail with ENOSYS. Some functions are actually named
18667 something starting with __ and the normal name is an alias. */
18668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18676 if { (eval echo configure:18677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18678 eval "ac_cv_func_$ac_func=yes"
18680 echo "configure: failed program was:" >&5
18681 cat conftest.$ac_ext >&5
18683 eval "ac_cv_func_$ac_func=no"
18688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18689 echo "$ac_t""yes" 1>&6
18690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18691 cat >> confdefs.h <<EOF
18692 #define $ac_tr_func 1
18696 echo "$ac_t""no" 1>&6
18700 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18701 echo "configure:18702: checking for working mmap" >&5
18702 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18703 echo $ac_n "(cached) $ac_c" 1>&6
18705 if test "$cross_compiling" = yes; then
18706 ac_cv_func_mmap_fixed_mapped=no
18708 cat > conftest.$ac_ext <<EOF
18709 #line 18710 "configure"
18710 #include "confdefs.h"
18712 /* Thanks to Mike Haertel and Jim Avera for this test.
18713 Here is a matrix of mmap possibilities:
18714 mmap private not fixed
18715 mmap private fixed at somewhere currently unmapped
18716 mmap private fixed at somewhere already mapped
18717 mmap shared not fixed
18718 mmap shared fixed at somewhere currently unmapped
18719 mmap shared fixed at somewhere already mapped
18720 For private mappings, we should verify that changes cannot be read()
18721 back from the file, nor mmap's back from the file at a different
18722 address. (There have been systems where private was not correctly
18723 implemented like the infamous i386 svr4.0, and systems where the
18724 VM page cache was not coherent with the filesystem buffer cache
18725 like early versions of FreeBSD and possibly contemporary NetBSD.)
18726 For shared mappings, we should conversely verify that changes get
18727 propogated back to all the places they're supposed to be.
18729 Grep wants private fixed already mapped.
18730 The main things grep needs to know about mmap are:
18731 * does it exist and is it safe to write into the mmap'd area
18732 * how to use it (BSD variants) */
18733 #include <sys/types.h>
18735 #include <sys/mman.h>
18737 /* This mess was copied from the GNU getpagesize.h. */
18738 #ifndef HAVE_GETPAGESIZE
18739 # ifdef HAVE_UNISTD_H
18740 # include <unistd.h>
18743 /* Assume that all systems that can run configure have sys/param.h. */
18744 # ifndef HAVE_SYS_PARAM_H
18745 # define HAVE_SYS_PARAM_H 1
18748 # ifdef _SC_PAGESIZE
18749 # define getpagesize() sysconf(_SC_PAGESIZE)
18750 # else /* no _SC_PAGESIZE */
18751 # ifdef HAVE_SYS_PARAM_H
18752 # include <sys/param.h>
18753 # ifdef EXEC_PAGESIZE
18754 # define getpagesize() EXEC_PAGESIZE
18755 # else /* no EXEC_PAGESIZE */
18757 # define getpagesize() NBPG * CLSIZE
18760 # endif /* no CLSIZE */
18761 # else /* no NBPG */
18763 # define getpagesize() NBPC
18764 # else /* no NBPC */
18766 # define getpagesize() PAGESIZE
18767 # endif /* PAGESIZE */
18768 # endif /* no NBPC */
18769 # endif /* no NBPG */
18770 # endif /* no EXEC_PAGESIZE */
18771 # else /* no HAVE_SYS_PARAM_H */
18772 # define getpagesize() 8192 /* punt totally */
18773 # endif /* no HAVE_SYS_PARAM_H */
18774 # endif /* no _SC_PAGESIZE */
18776 #endif /* no HAVE_GETPAGESIZE */
18779 extern "C" { void *malloc(unsigned); }
18787 char *data, *data2, *data3;
18791 pagesize = getpagesize();
18794 * First, make a file with some known garbage in it.
18796 data = malloc(pagesize);
18799 for (i = 0; i < pagesize; ++i)
18800 *(data + i) = rand();
18802 fd = creat("conftestmmap", 0600);
18805 if (write(fd, data, pagesize) != pagesize)
18810 * Next, try to mmap the file at a fixed address which
18811 * already has something else allocated at it. If we can,
18812 * also make sure that we see the same garbage.
18814 fd = open("conftestmmap", O_RDWR);
18817 data2 = malloc(2 * pagesize);
18820 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18821 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18822 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18824 for (i = 0; i < pagesize; ++i)
18825 if (*(data + i) != *(data2 + i))
18829 * Finally, make sure that changes to the mapped area
18830 * do not percolate back to the file as seen by read().
18831 * (This is a bug on some variants of i386 svr4.0.)
18833 for (i = 0; i < pagesize; ++i)
18834 *(data2 + i) = *(data2 + i) + 1;
18835 data3 = malloc(pagesize);
18838 if (read(fd, data3, pagesize) != pagesize)
18840 for (i = 0; i < pagesize; ++i)
18841 if (*(data + i) != *(data3 + i))
18844 unlink("conftestmmap");
18849 if { (eval echo configure:18850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18851 ac_cv_func_mmap_fixed_mapped=yes
18853 echo "configure: failed program was:" >&5
18854 cat conftest.$ac_ext >&5
18856 ac_cv_func_mmap_fixed_mapped=no
18863 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18864 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18865 cat >> confdefs.h <<\EOF
18866 #define HAVE_MMAP 1
18872 # Establish limits on memory usage during 'make check'
18875 setrlimit_have_headers=yes
18876 for ac_hdr in sys/resource.h unistd.h
18878 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18879 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18880 echo "configure:18881: checking for $ac_hdr" >&5
18881 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18882 echo $ac_n "(cached) $ac_c" 1>&6
18884 cat > conftest.$ac_ext <<EOF
18885 #line 18886 "configure"
18886 #include "confdefs.h"
18889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18890 { (eval echo configure:18891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18892 if test -z "$ac_err"; then
18894 eval "ac_cv_header_$ac_safe=yes"
18897 echo "configure: failed program was:" >&5
18898 cat conftest.$ac_ext >&5
18900 eval "ac_cv_header_$ac_safe=no"
18904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18905 echo "$ac_t""yes" 1>&6
18906 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18907 cat >> confdefs.h <<EOF
18908 #define $ac_tr_hdr 1
18912 echo "$ac_t""no" 1>&6
18913 setrlimit_have_headers=no
18917 # If don't have the headers, then we can't run the tests now, and we
18918 # won't be seeing any of these during testsuite compilation.
18919 if test $setrlimit_have_headers = yes; then
18920 # Can't do these in a loop, else the resulting syntax is wrong.
18922 cat > conftest.$ac_ext <<EOF
18923 #line 18924 "configure"
18924 #include "confdefs.h"
18925 #include <sys/resource.h>
18926 #include <unistd.h>
18929 int f = RLIMIT_DATA ;
18932 if { (eval echo configure:18933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18936 echo "configure: failed program was:" >&5
18937 cat conftest.$ac_ext >&5
18942 cat >> confdefs.h <<EOF
18943 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
18948 cat > conftest.$ac_ext <<EOF
18949 #line 18950 "configure"
18950 #include "confdefs.h"
18951 #include <sys/resource.h>
18952 #include <unistd.h>
18955 int f = RLIMIT_RSS ;
18958 if { (eval echo configure:18959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18962 echo "configure: failed program was:" >&5
18963 cat conftest.$ac_ext >&5
18968 cat >> confdefs.h <<EOF
18969 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
18974 cat > conftest.$ac_ext <<EOF
18975 #line 18976 "configure"
18976 #include "confdefs.h"
18977 #include <sys/resource.h>
18978 #include <unistd.h>
18981 int f = RLIMIT_VMEM ;
18984 if { (eval echo configure:18985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18988 echo "configure: failed program was:" >&5
18989 cat conftest.$ac_ext >&5
18994 cat >> confdefs.h <<EOF
18995 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
19000 cat > conftest.$ac_ext <<EOF
19001 #line 19002 "configure"
19002 #include "confdefs.h"
19003 #include <sys/resource.h>
19004 #include <unistd.h>
19007 int f = RLIMIT_AS ;
19010 if { (eval echo configure:19011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19014 echo "configure: failed program was:" >&5
19015 cat conftest.$ac_ext >&5
19020 cat >> confdefs.h <<EOF
19021 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
19026 # Check for rlimit, setrlimit.
19027 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
19028 echo $ac_n "(cached) $ac_c" 1>&6
19031 cat > conftest.$ac_ext <<EOF
19032 #line 19033 "configure"
19033 #include "confdefs.h"
19034 #include <sys/resource.h>
19035 #include <unistd.h>
19038 struct rlimit r; setrlimit(0, &r);
19041 if { (eval echo configure:19042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19045 echo "configure: failed program was:" >&5
19046 cat conftest.$ac_ext >&5
19056 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
19057 echo "configure:19058: checking for testsuite memory limit support" >&5
19058 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
19060 cat >> confdefs.h <<\EOF
19061 #define _GLIBCPP_MEM_LIMITS 1
19067 echo "$ac_t""$ac_mem_limits" 1>&6
19070 # Look for setenv, so that extended locale tests can be performed.
19071 for ac_func in setenv
19073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19074 echo "configure:19075: checking for $ac_func" >&5
19075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19076 echo $ac_n "(cached) $ac_c" 1>&6
19078 cat > conftest.$ac_ext <<EOF
19079 #line 19080 "configure"
19080 #include "confdefs.h"
19081 /* System header to define __stub macros and hopefully few prototypes,
19082 which can conflict with char $ac_func(); below. */
19083 #include <assert.h>
19084 /* Override any gcc2 internal prototype to avoid an error. */
19085 /* We use char because int might match the return type of a gcc2
19086 builtin and then its argument prototype would still apply. */
19091 /* The GNU C library defines this for functions which it implements
19092 to always fail with ENOSYS. Some functions are actually named
19093 something starting with __ and the normal name is an alias. */
19094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19102 if { (eval echo configure:19103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19104 eval "ac_cv_func_$ac_func=yes"
19106 echo "configure: failed program was:" >&5
19107 cat conftest.$ac_ext >&5
19109 eval "ac_cv_func_$ac_func=no"
19114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19115 echo "$ac_t""yes" 1>&6
19116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19117 cat >> confdefs.h <<EOF
19118 #define $ac_tr_func 1
19122 echo "$ac_t""no" 1>&6
19130 # Propagate the target-specific source directories through the build chain.
19131 OS_INC_SRCDIR=$os_include_dir/bits
19132 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
19133 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
19138 # Set up cross-compile flags
19142 if test "$CANADIAN" = yes; then
19150 cat > confcache <<\EOF
19151 # This file is a shell script that caches the results of configure
19152 # tests run on this system so they can be shared between configure
19153 # scripts and configure runs. It is not useful on other systems.
19154 # If it contains results you don't want to keep, you may remove or edit it.
19156 # By default, configure uses ./config.cache as the cache file,
19157 # creating it if it does not exist already. You can give configure
19158 # the --cache-file=FILE option to use a different cache file; that is
19159 # what configure does when it calls configure scripts in
19160 # subdirectories, so they share the cache.
19161 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19162 # config.status only pays attention to the cache file if you give it the
19163 # --recheck option to rerun configure.
19166 # The following way of writing the cache mishandles newlines in values,
19167 # but we know of no workaround that is simple, portable, and efficient.
19168 # So, don't put newlines in cache variables' values.
19169 # Ultrix sh set writes to stderr and can't be redirected directly,
19170 # and sets the high bit in the cache file unless we assign to the vars.
19172 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19174 # `set' does not quote correctly, so add quotes (double-quote substitution
19175 # turns \\\\ into \\, and sed turns \\ into \).
19177 -e "s/'/'\\\\''/g" \
19178 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19181 # `set' quotes correctly as required by POSIX, so do not add quotes.
19182 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19185 if cmp -s $cache_file confcache; then
19188 if test -w $cache_file; then
19189 echo "updating cache $cache_file"
19190 cat confcache > $cache_file
19192 echo "not updating unwritable cache $cache_file"
19198 if test "${multilib}" = "yes"; then
19199 multilib_arg="--enable-multilib"
19204 # Needed so that g++ can find the correct include subdir automatically.
19207 # Export all the install information
19209 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
19210 # exported correctly in GLIBCPP_CONFIGURE.
19211 glibcpp_toolexecdir=no
19212 glibcpp_toolexeclibdir=no
19213 glibcpp_prefixdir=${prefix}
19215 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
19216 echo "configure:19217: checking for interface version number" >&5
19217 libstdcxx_interface=$INTERFACE
19218 echo "$ac_t""$libstdcxx_interface" 1>&6
19220 # Process the option --with-gxx-include-dir=<path to include-files directory>
19221 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
19222 echo "configure:19223: checking for --with-gxx-include-dir" >&5
19223 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
19224 if test "${with_gxx_include_dir+set}" = set; then
19225 withval="$with_gxx_include_dir"
19226 case "${withval}" in
19228 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
19235 gxx_include_dir=${withval}
19242 echo "$ac_t""$gxx_include_dir" 1>&6
19244 # Process the option "--enable-version-specific-runtime-libs"
19245 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
19246 echo "configure:19247: checking for --enable-version-specific-runtime-libs" >&5
19247 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
19248 if test "${enable_version_specific_runtime_libs+set}" = set; then
19249 enableval="$enable_version_specific_runtime_libs"
19250 case "$enableval" in
19251 yes) version_specific_libs=yes ;;
19252 no) version_specific_libs=no ;;
19253 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
19256 version_specific_libs=no
19258 # Option set, now we can test it.
19259 echo "$ac_t""$version_specific_libs" 1>&6
19261 if test $version_specific_libs = yes; then
19262 # Need the gcc compiler version to know where to install libraries
19263 # and header files if --enable-version-specific-runtime-libs option
19265 gcc_version_trigger=${srcdir}/../gcc/version.c
19266 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
19267 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
19268 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
19269 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19270 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
19273 # Default case for install directory for include files.
19274 if test $version_specific_libs = no &&
19275 test $gxx_include_dir = no; then
19276 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
19279 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
19280 # Install a library built with a cross compiler in tooldir, not libdir.
19281 if test x"$glibcpp_toolexecdir" = x"no"; then
19282 if test -n "$with_cross_host" &&
19283 test x"$with_cross_host" != x"no"; then
19284 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
19285 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
19287 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19288 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
19292 echo $ac_n "checking for install location""... $ac_c" 1>&6
19293 echo "configure:19294: checking for install location" >&5
19294 echo "$ac_t""$gxx_include_dir" 1>&6
19302 # Export all the include and flag information to makefiles.
19304 # Root level of the build directory include sources.
19305 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
19307 # Passed down for canadian crosses.
19308 if test x"$CANADIAN" = xyes; then
19309 TOPLEVEL_INCLUDES='-I$(includedir)'
19312 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
19314 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
19316 if test x"$need_libio" = xyes; then
19317 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
19321 # Now, export this to all the little Makefiles....
19328 # Optimization flags that are probably a good idea for thrill-seekers. Just
19329 # uncomment the lines below and make, everything else is ready to go...
19330 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
19334 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
19338 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
19339 grep "enable shared" > /dev/null; then
19340 LIBSUPCXX_PICFLAGS=-prefer-pic
19342 LIBSUPCXX_PICFLAGS=
19346 # Generate the various Makefiles, include files, and scripts.
19347 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
19348 # and libsupc++/Makefile.am so that multilib installs will end up
19349 # installed in the correct place. To work around this not being passed
19350 # down from config-ml.in -> top_srcdir/Makefile.am ->
19351 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
19353 cat > confcache <<\EOF
19354 # This file is a shell script that caches the results of configure
19355 # tests run on this system so they can be shared between configure
19356 # scripts and configure runs. It is not useful on other systems.
19357 # If it contains results you don't want to keep, you may remove or edit it.
19359 # By default, configure uses ./config.cache as the cache file,
19360 # creating it if it does not exist already. You can give configure
19361 # the --cache-file=FILE option to use a different cache file; that is
19362 # what configure does when it calls configure scripts in
19363 # subdirectories, so they share the cache.
19364 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19365 # config.status only pays attention to the cache file if you give it the
19366 # --recheck option to rerun configure.
19369 # The following way of writing the cache mishandles newlines in values,
19370 # but we know of no workaround that is simple, portable, and efficient.
19371 # So, don't put newlines in cache variables' values.
19372 # Ultrix sh set writes to stderr and can't be redirected directly,
19373 # and sets the high bit in the cache file unless we assign to the vars.
19375 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19377 # `set' does not quote correctly, so add quotes (double-quote substitution
19378 # turns \\\\ into \\, and sed turns \\ into \).
19380 -e "s/'/'\\\\''/g" \
19381 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19384 # `set' quotes correctly as required by POSIX, so do not add quotes.
19385 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19388 if cmp -s $cache_file confcache; then
19391 if test -w $cache_file; then
19392 echo "updating cache $cache_file"
19393 cat confcache > $cache_file
19395 echo "not updating unwritable cache $cache_file"
19400 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19403 # Let make expand exec_prefix.
19404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19406 # Any assignment to VPATH causes Sun make to only execute
19407 # the first set of double-colon rules, so remove it if not needed.
19408 # If there is a colon in the path, we need to keep it.
19409 if test "x$srcdir" = x.; then
19410 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19413 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19415 DEFS=-DHAVE_CONFIG_H
19417 # Without the "./", some shells look in PATH for config.status.
19418 : ${CONFIG_STATUS=./config.status}
19420 echo creating $CONFIG_STATUS
19421 rm -f $CONFIG_STATUS
19422 cat > $CONFIG_STATUS <<EOF
19424 # Generated automatically by configure.
19425 # Run this file to recreate the current configuration.
19426 # This directory was configured as follows,
19427 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19429 # $0 $ac_configure_args
19431 # Compiler output produced by configure, useful for debugging
19432 # configure, is in ./config.log if it exists.
19434 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19437 case "\$ac_option" in
19438 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19439 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19440 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19441 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19442 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19444 -help | --help | --hel | --he | --h)
19445 echo "\$ac_cs_usage"; exit 0 ;;
19446 *) echo "\$ac_cs_usage"; exit 1 ;;
19450 ac_given_srcdir=$srcdir
19451 ac_given_INSTALL="$INSTALL"
19453 trap 'rm -fr `echo "Makefile \
19454 include/Makefile src/Makefile \
19455 libmath/Makefile libio/Makefile libsupc++/Makefile \
19456 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19458 cat >> $CONFIG_STATUS <<EOF
19460 # Protect against being on the right side of a sed subst in config.status.
19461 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19462 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19466 s%@CFLAGS@%$CFLAGS%g
19467 s%@CPPFLAGS@%$CPPFLAGS%g
19468 s%@CXXFLAGS@%$CXXFLAGS%g
19469 s%@FFLAGS@%$FFLAGS%g
19471 s%@LDFLAGS@%$LDFLAGS%g
19473 s%@exec_prefix@%$exec_prefix%g
19474 s%@prefix@%$prefix%g
19475 s%@program_transform_name@%$program_transform_name%g
19476 s%@bindir@%$bindir%g
19477 s%@sbindir@%$sbindir%g
19478 s%@libexecdir@%$libexecdir%g
19479 s%@datadir@%$datadir%g
19480 s%@sysconfdir@%$sysconfdir%g
19481 s%@sharedstatedir@%$sharedstatedir%g
19482 s%@localstatedir@%$localstatedir%g
19483 s%@libdir@%$libdir%g
19484 s%@includedir@%$includedir%g
19485 s%@oldincludedir@%$oldincludedir%g
19486 s%@infodir@%$infodir%g
19487 s%@mandir@%$mandir%g
19488 s%@PACKAGE@%$PACKAGE%g
19489 s%@release_VERSION@%$release_VERSION%g
19490 s%@libtool_VERSION@%$libtool_VERSION%g
19492 s%@host_alias@%$host_alias%g
19493 s%@host_cpu@%$host_cpu%g
19494 s%@host_vendor@%$host_vendor%g
19495 s%@host_os@%$host_os%g
19496 s%@target@%$target%g
19497 s%@target_alias@%$target_alias%g
19498 s%@target_cpu@%$target_cpu%g
19499 s%@target_vendor@%$target_vendor%g
19500 s%@target_os@%$target_os%g
19502 s%@build_alias@%$build_alias%g
19503 s%@build_cpu@%$build_cpu%g
19504 s%@build_vendor@%$build_vendor%g
19505 s%@build_os@%$build_os%g
19506 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19507 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19508 s%@INSTALL_DATA@%$INSTALL_DATA%g
19509 s%@VERSION@%$VERSION%g
19510 s%@ACLOCAL@%$ACLOCAL%g
19511 s%@AUTOCONF@%$AUTOCONF%g
19512 s%@AUTOMAKE@%$AUTOMAKE%g
19513 s%@AUTOHEADER@%$AUTOHEADER%g
19514 s%@MAKEINFO@%$MAKEINFO%g
19515 s%@SET_MAKE@%$SET_MAKE%g
19516 s%@toplevel_srcdir@%$toplevel_srcdir%g
19517 s%@glibcpp_builddir@%$glibcpp_builddir%g
19518 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
19520 s%@glibcpp_basedir@%$glibcpp_basedir%g
19522 s%@glibcpp_CXX@%$glibcpp_CXX%g
19525 s%@RANLIB@%$RANLIB%g
19526 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19527 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19529 s%@EXEEXT@%$EXEEXT%g
19530 s%@OBJEXT@%$OBJEXT%g
19532 s%@LIBTOOL@%$LIBTOOL%g
19533 s%@CXXCPP@%$CXXCPP%g
19534 s%@enable_shared@%$enable_shared%g
19535 s%@enable_static@%$enable_static%g
19536 s%@ifGNUmake@%$ifGNUmake%g
19537 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19539 s%@CSTDIO_H@%$CSTDIO_H%g
19540 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
19541 s%@CCODECVT_C@%$CCODECVT_C%g
19542 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
19543 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
19544 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19545 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19546 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19547 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19548 s%@libio_la@%$libio_la%g
19549 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
19550 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
19551 s%@glibcpp_localedir@%$glibcpp_localedir%g
19552 s%@USE_NLS@%$USE_NLS%g
19553 s%@CLOCALE_H@%$CLOCALE_H%g
19554 s%@CCODECVT_H@%$CCODECVT_H%g
19555 s%@CMESSAGES_H@%$CMESSAGES_H%g
19556 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19557 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19558 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19559 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19560 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
19561 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19562 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19563 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19564 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19565 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19566 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19567 s%@WERROR@%$WERROR%g
19568 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
19569 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
19570 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
19571 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
19572 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19573 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19574 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
19575 s%@gxx_include_dir@%$gxx_include_dir%g
19576 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
19577 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
19578 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19579 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
19580 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19581 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19582 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19583 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19584 s%@WARN_FLAGS@%$WARN_FLAGS%g
19585 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
19590 cat >> $CONFIG_STATUS <<\EOF
19592 # Split the substitutions into bite-sized pieces for seds with
19593 # small command number limits, like on Digital OSF/1 and HP-UX.
19594 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19595 ac_file=1 # Number of current file.
19596 ac_beg=1 # First line for current file.
19597 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19600 while $ac_more_lines; do
19601 if test $ac_beg -gt 1; then
19602 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19604 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19606 if test ! -s conftest.s$ac_file; then
19607 ac_more_lines=false
19608 rm -f conftest.s$ac_file
19610 if test -z "$ac_sed_cmds"; then
19611 ac_sed_cmds="sed -f conftest.s$ac_file"
19613 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19615 ac_file=`expr $ac_file + 1`
19617 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19620 if test -z "$ac_sed_cmds"; then
19625 cat >> $CONFIG_STATUS <<EOF
19627 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
19628 include/Makefile src/Makefile \
19629 libmath/Makefile libio/Makefile libsupc++/Makefile \
19630 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
19632 cat >> $CONFIG_STATUS <<\EOF
19633 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19634 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19636 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19637 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19638 *) ac_file_in="${ac_file}.in" ;;
19641 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19643 # Remove last slash and all that follows it. Not all systems have dirname.
19644 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19645 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19646 # The file is in a subdirectory.
19647 test ! -d "$ac_dir" && mkdir "$ac_dir"
19648 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19649 # A "../" for each directory in $ac_dir_suffix.
19650 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19652 ac_dir_suffix= ac_dots=
19655 case "$ac_given_srcdir" in
19657 if test -z "$ac_dots"; then top_srcdir=.
19658 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19659 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19660 *) # Relative path.
19661 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19662 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19665 case "$ac_given_INSTALL" in
19666 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19667 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19670 echo creating "$ac_file"
19672 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19674 *Makefile*) ac_comsub="1i\\
19675 # $configure_input" ;;
19679 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19681 s%@configure_input@%$configure_input%g
19682 s%@srcdir@%$srcdir%g
19683 s%@top_srcdir@%$top_srcdir%g
19684 s%@INSTALL@%$INSTALL%g
19685 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19689 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19690 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19692 # ac_d sets the value in "#define NAME VALUE" lines.
19693 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19694 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19697 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19698 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19699 ac_uB='\([ ]\)%\1#\2define\3'
19702 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19703 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19704 ac_eB='$%\1#\2define\3'
19708 if test "${CONFIG_HEADERS+set}" != set; then
19710 cat >> $CONFIG_STATUS <<EOF
19711 CONFIG_HEADERS="config.h"
19713 cat >> $CONFIG_STATUS <<\EOF
19715 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19718 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19719 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19720 *) ac_file_in="${ac_file}.in" ;;
19723 echo creating $ac_file
19725 rm -f conftest.frag conftest.in conftest.out
19726 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19727 cat $ac_file_inputs > conftest.in
19731 # Transform confdefs.h into a sed script conftest.vals that substitutes
19732 # the proper values into config.h.in to produce config.h. And first:
19733 # Protect against being on the right side of a sed subst in config.status.
19734 # Protect against being in an unquoted here document in config.status.
19735 rm -f conftest.vals
19736 cat > conftest.hdr <<\EOF
19739 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19743 sed -n -f conftest.hdr confdefs.h > conftest.vals
19746 # This sed command replaces #undef with comments. This is necessary, for
19747 # example, in the case of _POSIX_SOURCE, which is predefined and required
19748 # on some systems where configure will not decide to define it.
19749 cat >> conftest.vals <<\EOF
19750 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19753 # Break up conftest.vals because some shells have a limit on
19754 # the size of here documents, and old seds have small limits too.
19756 rm -f conftest.tail
19759 ac_lines=`grep -c . conftest.vals`
19760 # grep -c gives empty output for an empty file on some AIX systems.
19761 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19762 # Write a limited-size here document to conftest.frag.
19763 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19764 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19766 sed -f conftest.frag conftest.in > conftest.out
19768 mv conftest.out conftest.in
19769 ' >> $CONFIG_STATUS
19770 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19771 rm -f conftest.vals
19772 mv conftest.tail conftest.vals
19774 rm -f conftest.vals
19776 cat >> $CONFIG_STATUS <<\EOF
19777 rm -f conftest.frag conftest.h
19778 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19779 cat conftest.in >> conftest.h
19781 if cmp -s $ac_file conftest.h 2>/dev/null; then
19782 echo "$ac_file is unchanged"
19785 # Remove last slash and all that follows it. Not all systems have dirname.
19786 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19787 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19788 # The file is in a subdirectory.
19789 test ! -d "$ac_dir" && mkdir "$ac_dir"
19792 mv conftest.h $ac_file
19798 cat >> $CONFIG_STATUS <<EOF
19799 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
19800 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/moneypunct.cc src/numpunct.cc src/time.cc"
19803 cat >> $CONFIG_STATUS <<\EOF
19804 srcdir=$ac_given_srcdir
19805 while test -n "$ac_sources"; do
19806 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19807 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19809 echo "linking $srcdir/$ac_source to $ac_dest"
19811 if test ! -r $srcdir/$ac_source; then
19812 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19816 # Make relative symlinks.
19817 # Remove last slash and all that follows it. Not all systems have dirname.
19818 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19819 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19820 # The dest file is in a subdirectory.
19821 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19822 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19823 # A "../" for each directory in $ac_dest_dir_suffix.
19824 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19826 ac_dest_dir_suffix= ac_dots=
19830 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19831 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19834 # Make a symlink if possible; otherwise try a hard link.
19835 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19836 ln $srcdir/$ac_source $ac_dest; then :
19838 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19842 cat >> $CONFIG_STATUS <<EOF
19847 with_multisubdir=${with_multisubdir}
19848 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19849 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19850 glibcpp_basedir=${glibcpp_basedir}
19855 cat >> $CONFIG_STATUS <<\EOF
19856 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19857 if test -n "$CONFIG_FILES"; then
19858 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19859 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19860 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
19863 chmod +x testsuite_flags
19867 chmod +x $CONFIG_STATUS
19868 rm -fr confdefs* $ac_clean_files
19869 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19873 # Sanity checking & User-visible messages.
19874 # Checks down here, otherwise they get scrolled off before
19875 # the user will notice.
19877 # Trying to get more people to read documentation. Possibly remove
19878 # check and warn all the time. There is no "informational" AC_MSG_
19879 # macro, so these are going to be printed even when --quiet/--silent
19881 if test ! -f stamp-sanity-warned; then
19882 touch stamp-sanity-warned
19884 echo "Please make certain that you read the installation information here:"
19885 echo " faster => ${srcdir}/docs/install.html"
19886 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
19888 echo "and the configuration information here:"
19889 echo " faster => ${srcdir}/docs/configopts.html"
19890 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
19892 echo "before proceeding with ${_cv_gnu_make_command}."