3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --enable-concept-checks use Boost-derived template checks [default=no]"
62 --with-gxx-include-dir the installation directory for include files"
64 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
66 # Initialize some variables set by options.
67 # The variables have the same names as the options, with
68 # dashes changed to underlines.
70 cache_file=./config.cache
79 program_transform_name=s,x,x,
87 bindir='${exec_prefix}/bin'
88 sbindir='${exec_prefix}/sbin'
89 libexecdir='${exec_prefix}/libexec'
90 datadir='${prefix}/share'
91 sysconfdir='${prefix}/etc'
92 sharedstatedir='${prefix}/com'
93 localstatedir='${prefix}/var'
94 libdir='${exec_prefix}/lib'
95 includedir='${prefix}/include'
96 oldincludedir='/usr/include'
97 infodir='${prefix}/info'
98 mandir='${prefix}/man'
100 # Initialize some other variables.
103 SHELL=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
111 # If the previous option needs an argument, assign it.
112 if test -n "$ac_prev"; then
113 eval "$ac_prev=\$ac_option"
119 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
123 # Accept the important Cygnus configure options, so we can diagnose typos.
127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
130 bindir="$ac_optarg" ;;
132 -build | --build | --buil | --bui | --bu)
134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
135 build="$ac_optarg" ;;
137 -cache-file | --cache-file | --cache-fil | --cache-fi \
138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
139 ac_prev=cache_file ;;
140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
142 cache_file="$ac_optarg" ;;
144 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
146 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
148 datadir="$ac_optarg" ;;
150 -disable-* | --disable-*)
151 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
156 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
157 eval "enable_${ac_feature}=no" ;;
159 -enable-* | --enable-*)
160 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}='$ac_optarg'" ;;
172 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
173 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
174 | --exec | --exe | --ex)
175 ac_prev=exec_prefix ;;
176 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
177 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
178 | --exec=* | --exe=* | --ex=*)
179 exec_prefix="$ac_optarg" ;;
181 -gas | --gas | --ga | --g)
182 # Obsolete; use --with-gas.
185 -help | --help | --hel | --he)
186 # Omit some internal or obsolete options to make the list less imposing.
187 # This message is too long to be a string in the A/UX 3.1 sh.
189 Usage: configure [options] [host]
190 Options: [defaults in brackets after descriptions]
192 --cache-file=FILE cache test results in FILE
193 --help print this message
194 --no-create do not create output files
195 --quiet, --silent do not print \`checking...' messages
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host | --host | --hos | --ho)
242 -host=* | --host=* | --hos=* | --ho=*)
245 -includedir | --includedir | --includedi | --included | --include \
246 | --includ | --inclu | --incl | --inc)
247 ac_prev=includedir ;;
248 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249 | --includ=* | --inclu=* | --incl=* | --inc=*)
250 includedir="$ac_optarg" ;;
252 -infodir | --infodir | --infodi | --infod | --info | --inf)
254 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255 infodir="$ac_optarg" ;;
257 -libdir | --libdir | --libdi | --libd)
259 -libdir=* | --libdir=* | --libdi=* | --libd=*)
260 libdir="$ac_optarg" ;;
262 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263 | --libexe | --libex | --libe)
264 ac_prev=libexecdir ;;
265 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266 | --libexe=* | --libex=* | --libe=*)
267 libexecdir="$ac_optarg" ;;
269 -localstatedir | --localstatedir | --localstatedi | --localstated \
270 | --localstate | --localstat | --localsta | --localst \
271 | --locals | --local | --loca | --loc | --lo)
272 ac_prev=localstatedir ;;
273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276 localstatedir="$ac_optarg" ;;
278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281 mandir="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297 | --oldin | --oldi | --old | --ol | --o)
298 ac_prev=oldincludedir ;;
299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302 oldincludedir="$ac_optarg" ;;
304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307 prefix="$ac_optarg" ;;
309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
310 | --program-pre | --program-pr | --program-p)
311 ac_prev=program_prefix ;;
312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314 program_prefix="$ac_optarg" ;;
316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
317 | --program-suf | --program-su | --program-s)
318 ac_prev=program_suffix ;;
319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321 program_suffix="$ac_optarg" ;;
323 -program-transform-name | --program-transform-name \
324 | --program-transform-nam | --program-transform-na \
325 | --program-transform-n | --program-transform- \
326 | --program-transform | --program-transfor \
327 | --program-transfo | --program-transf \
328 | --program-trans | --program-tran \
329 | --progr-tra | --program-tr | --program-t)
330 ac_prev=program_transform_name ;;
331 -program-transform-name=* | --program-transform-name=* \
332 | --program-transform-nam=* | --program-transform-na=* \
333 | --program-transform-n=* | --program-transform-=* \
334 | --program-transform=* | --program-transfor=* \
335 | --program-transfo=* | --program-transf=* \
336 | --program-trans=* | --program-tran=* \
337 | --progr-tra=* | --program-tr=* | --program-t=*)
338 program_transform_name="$ac_optarg" ;;
340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341 | -silent | --silent | --silen | --sile | --sil)
344 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348 sbindir="$ac_optarg" ;;
350 -sharedstatedir | --sharedstatedir | --sharedstatedi \
351 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352 | --sharedst | --shareds | --shared | --share | --shar \
354 ac_prev=sharedstatedir ;;
355 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359 sharedstatedir="$ac_optarg" ;;
361 -site | --site | --sit)
363 -site=* | --site=* | --sit=*)
366 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
368 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369 srcdir="$ac_optarg" ;;
371 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372 | --syscon | --sysco | --sysc | --sys | --sy)
373 ac_prev=sysconfdir ;;
374 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376 sysconfdir="$ac_optarg" ;;
378 -target | --target | --targe | --targ | --tar | --ta | --t)
380 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381 target="$ac_optarg" ;;
383 -v | -verbose | --verbose | --verbos | --verbo | --verb)
386 -version | --version | --versio | --versi | --vers)
387 echo "configure generated by autoconf version 2.13"
391 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package=`echo $ac_package| sed 's/-/_/g'`
401 eval "with_${ac_package}='$ac_optarg'" ;;
403 -without-* | --without-*)
404 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}=no" ;;
413 # Obsolete; use --with-x.
416 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
417 | --x-incl | --x-inc | --x-in | --x-i)
418 ac_prev=x_includes ;;
419 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
420 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
421 x_includes="$ac_optarg" ;;
423 -x-libraries | --x-libraries | --x-librarie | --x-librari \
424 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
425 ac_prev=x_libraries ;;
426 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
427 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
428 x_libraries="$ac_optarg" ;;
430 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
434 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
435 echo "configure: warning: $ac_option: invalid host type" 1>&2
437 if test "x$nonopt" != xNONE; then
438 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
446 if test -n "$ac_prev"; then
447 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
450 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
452 # File descriptor usage:
455 # 2 errors and warnings
456 # 3 some systems may open it to /dev/tty
457 # 4 used on the Kubota Titan
458 # 6 checking for... messages and results
459 # 5 compiler messages saved in config.log
460 if test "$silent" = yes; then
468 This file contains any messages produced by compilers while
469 running configure, to aid debugging if configure makes a mistake.
472 # Strip out --no-create and --no-recursion so they do not pile up.
473 # Also quote any args containing shell metacharacters.
478 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
479 | --no-cr | --no-c) ;;
480 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
481 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
482 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
483 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
484 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
489 # Only set these to C if already set. These must not be set unconditionally
490 # because not all systems understand e.g. LANG=C (notably SCO).
491 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
492 # Non-C LC_CTYPE values break the ctype check.
493 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
494 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
495 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
496 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
499 rm -rf conftest* confdefs.h
500 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
503 # A filename unique to this package, relative to the directory that
504 # configure is in, which we can look for to find out if srcdir is correct.
505 ac_unique_file=src/ios.cc
507 # Find the source files, if location was not specified.
508 if test -z "$srcdir"; then
509 ac_srcdir_defaulted=yes
510 # Try the directory containing this script, then its parent.
512 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
513 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
515 if test ! -r $srcdir/$ac_unique_file; then
519 ac_srcdir_defaulted=no
521 if test ! -r $srcdir/$ac_unique_file; then
522 if test "$ac_srcdir_defaulted" = yes; then
523 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
525 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
528 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
530 # Prefer explicitly selected file to automatically selected ones.
531 if test -z "$CONFIG_SITE"; then
532 if test "x$prefix" != xNONE; then
533 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
535 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
538 for ac_site_file in $CONFIG_SITE; do
539 if test -r "$ac_site_file"; then
540 echo "loading site script $ac_site_file"
545 if test -r "$cache_file"; then
546 echo "loading cache $cache_file"
549 echo "creating cache $cache_file"
554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
555 ac_cpp='$CPP $CPPFLAGS'
556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
558 cross_compiling=$ac_cv_prog_cc_cross
562 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
563 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
564 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
571 ac_n= ac_c='\c' ac_t=
578 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
579 release_VERSION=3.1.0
581 # For libtool versioning info, format is CURRENT:REVISION:AGE
582 libtool_VERSION=4:0:0
585 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
586 # AC 2.50 sets target_alias iff the user specified --target, but we use it
587 # everywhere, so we set it here just to be sure.
589 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
590 if test -f $ac_dir/install-sh; then
592 ac_install_sh="$ac_aux_dir/install-sh -c"
594 elif test -f $ac_dir/install.sh; then
596 ac_install_sh="$ac_aux_dir/install.sh -c"
600 if test -z "$ac_aux_dir"; then
601 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
603 ac_config_guess=$ac_aux_dir/config.guess
604 ac_config_sub=$ac_aux_dir/config.sub
605 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
608 # Do some error checking and defaulting for the host and target type.
610 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
613 # 1. You are not allowed to specify --host, --target, and nonopt at the
615 # 2. Host defaults to nonopt.
616 # 3. If nonopt is not specified, then host defaults to the current host,
617 # as determined by config.guess.
618 # 4. Target and build default to nonopt.
619 # 5. If nonopt is not specified, then target and build default to host.
621 # The aliases save the names the user supplied, while $host etc.
622 # will get canonicalized.
623 case $host---$target---$nonopt in
624 NONE---*---* | *---NONE---* | *---*---NONE) ;;
625 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
629 # Make sure we can run config.sub.
630 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
631 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
634 echo $ac_n "checking host system type""... $ac_c" 1>&6
635 echo "configure:636: checking host system type" >&5
638 case "$host_alias" in
642 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
643 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
645 *) host_alias=$nonopt ;;
649 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
650 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
651 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
652 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
653 echo "$ac_t""$host" 1>&6
655 echo $ac_n "checking target system type""... $ac_c" 1>&6
656 echo "configure:657: checking target system type" >&5
659 case "$target_alias" in
662 NONE) target_alias=$host_alias ;;
663 *) target_alias=$nonopt ;;
667 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
668 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
669 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
670 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
671 echo "$ac_t""$target" 1>&6
673 echo $ac_n "checking build system type""... $ac_c" 1>&6
674 echo "configure:675: checking build system type" >&5
677 case "$build_alias" in
680 NONE) build_alias=$host_alias ;;
681 *) build_alias=$nonopt ;;
685 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
686 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
687 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
688 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
689 echo "$ac_t""$build" 1>&6
691 test "$host_alias" != "$target_alias" &&
692 test "$program_prefix$program_suffix$program_transform_name" = \
694 program_prefix=${target_alias}-
696 target_alias=${target_alias-$target}
699 # Find a good install program. We prefer a C program (faster),
700 # so one script is as good as another. But avoid the broken or
701 # incompatible versions:
702 # SysV /etc/install, /usr/sbin/install
703 # SunOS /usr/etc/install
706 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
708 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
709 # ./install, which can be erroneously created by make from ./install.sh.
710 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
711 echo "configure:712: checking for a BSD compatible install" >&5
712 if test -z "$INSTALL"; then
713 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
714 echo $ac_n "(cached) $ac_c" 1>&6
716 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
717 for ac_dir in $PATH; do
718 # Account for people who put trailing slashes in PATH elements.
720 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
722 # OSF1 and SCO ODT 3.0 have their own names for install.
723 # Don't use installbsd from OSF since it installs stuff as root
725 for ac_prog in ginstall scoinst install; do
726 if test -f $ac_dir/$ac_prog; then
727 if test $ac_prog = install &&
728 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
729 # AIX install. It has an incompatible calling convention.
732 ac_cv_path_install="$ac_dir/$ac_prog -c"
743 if test "${ac_cv_path_install+set}" = set; then
744 INSTALL="$ac_cv_path_install"
746 # As a last resort, use the slow shell script. We don't cache a
747 # path for INSTALL within a source directory, because that will
748 # break other packages using the cache if that directory is
749 # removed, or if the path is relative.
750 INSTALL="$ac_install_sh"
753 echo "$ac_t""$INSTALL" 1>&6
755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
756 # It thinks the first close brace ends the variable substitution.
757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
763 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
764 echo "configure:765: checking whether build environment is sane" >&5
767 echo timestamp > conftestfile
768 # Do `set' in a subshell so we don't clobber the current shell's
769 # arguments. Must try -L first in case configure is actually a
770 # symlink; some systems play weird games with the mod time of symlinks
771 # (eg FreeBSD returns the mod time of the symlink's containing
774 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
775 if test "$*" = "X"; then
777 set X `ls -t $srcdir/configure conftestfile`
779 if test "$*" != "X $srcdir/configure conftestfile" \
780 && test "$*" != "X conftestfile $srcdir/configure"; then
782 # If neither matched, then we have a broken ls. This can happen
783 # if, for instance, CONFIG_SHELL is bash and it inherits a
784 # broken ls alias from the environment. This has actually
785 # happened. Such a system could not be considered "sane".
786 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
787 alias in your environment" 1>&2; exit 1; }
790 test "$2" = conftestfile
796 { echo "configure: error: newly created file is older than distributed files!
797 Check your system clock" 1>&2; exit 1; }
800 echo "$ac_t""yes" 1>&6
801 if test "$program_transform_name" = s,x,x,; then
802 program_transform_name=
804 # Double any \ or $. echo might interpret backslashes.
805 cat <<\EOF_SED > conftestsed
806 s,\\,\\\\,g; s,\$,$$,g
808 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
811 test "$program_prefix" != NONE &&
812 program_transform_name="s,^,${program_prefix},; $program_transform_name"
813 # Use a double $ so make ignores it.
814 test "$program_suffix" != NONE &&
815 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
817 # sed with no file args requires a program.
818 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
820 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
821 echo "configure:822: checking whether ${MAKE-make} sets \${MAKE}" >&5
822 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
823 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
824 echo $ac_n "(cached) $ac_c" 1>&6
826 cat > conftestmake <<\EOF
828 @echo 'ac_maketemp="${MAKE}"'
830 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
831 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
832 if test -n "$ac_maketemp"; then
833 eval ac_cv_prog_make_${ac_make}_set=yes
835 eval ac_cv_prog_make_${ac_make}_set=no
839 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
840 echo "$ac_t""yes" 1>&6
843 echo "$ac_t""no" 1>&6
844 SET_MAKE="MAKE=${MAKE-make}"
850 VERSION=$release_VERSION
852 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
853 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
855 cat >> confdefs.h <<EOF
856 #define PACKAGE "$PACKAGE"
859 cat >> confdefs.h <<EOF
860 #define VERSION "$VERSION"
865 missing_dir=`cd $ac_aux_dir && pwd`
866 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
867 echo "configure:868: checking for working aclocal" >&5
868 # Run test in a subshell; some versions of sh will print an error if
869 # an executable is not found, even if stderr is redirected.
870 # Redirect stdin to placate older versions of autoconf. Sigh.
871 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
873 echo "$ac_t""found" 1>&6
875 ACLOCAL="$missing_dir/missing aclocal"
876 echo "$ac_t""missing" 1>&6
879 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
880 echo "configure:881: checking for working autoconf" >&5
881 # Run test in a subshell; some versions of sh will print an error if
882 # an executable is not found, even if stderr is redirected.
883 # Redirect stdin to placate older versions of autoconf. Sigh.
884 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
886 echo "$ac_t""found" 1>&6
888 AUTOCONF="$missing_dir/missing autoconf"
889 echo "$ac_t""missing" 1>&6
892 echo $ac_n "checking for working automake""... $ac_c" 1>&6
893 echo "configure:894: checking for working automake" >&5
894 # Run test in a subshell; some versions of sh will print an error if
895 # an executable is not found, even if stderr is redirected.
896 # Redirect stdin to placate older versions of autoconf. Sigh.
897 if (automake --version) < /dev/null > /dev/null 2>&1; then
899 echo "$ac_t""found" 1>&6
901 AUTOMAKE="$missing_dir/missing automake"
902 echo "$ac_t""missing" 1>&6
905 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
906 echo "configure:907: checking for working autoheader" >&5
907 # Run test in a subshell; some versions of sh will print an error if
908 # an executable is not found, even if stderr is redirected.
909 # Redirect stdin to placate older versions of autoconf. Sigh.
910 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
911 AUTOHEADER=autoheader
912 echo "$ac_t""found" 1>&6
914 AUTOHEADER="$missing_dir/missing autoheader"
915 echo "$ac_t""missing" 1>&6
918 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
919 echo "configure:920: checking for working makeinfo" >&5
920 # Run test in a subshell; some versions of sh will print an error if
921 # an executable is not found, even if stderr is redirected.
922 # Redirect stdin to placate older versions of autoconf. Sigh.
923 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
925 echo "$ac_t""found" 1>&6
927 MAKEINFO="$missing_dir/missing makeinfo"
928 echo "$ac_t""missing" 1>&6
936 # Runs configure.host and configure.target, as well as finds CC, CXX
937 # and assorted other critical bits. Have to run this before the
938 # GLIBCPP_ENABLE_* macros below.
939 if test $host != $build; then
940 ac_tool_prefix=${host_alias}-
945 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
946 echo "configure:947: checking for Cygwin environment" >&5
947 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
948 echo $ac_n "(cached) $ac_c" 1>&6
950 cat > conftest.$ac_ext <<EOF
951 #line 952 "configure"
952 #include "confdefs.h"
957 #define __CYGWIN__ __CYGWIN32__
962 if { (eval echo configure:963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
966 echo "configure: failed program was:" >&5
967 cat conftest.$ac_ext >&5
975 echo "$ac_t""$ac_cv_cygwin" 1>&6
977 test "$ac_cv_cygwin" = yes && CYGWIN=yes
978 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
979 echo "configure:980: checking for mingw32 environment" >&5
980 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
981 echo $ac_n "(cached) $ac_c" 1>&6
983 cat > conftest.$ac_ext <<EOF
984 #line 985 "configure"
985 #include "confdefs.h"
991 if { (eval echo configure:992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
995 echo "configure: failed program was:" >&5
996 cat conftest.$ac_ext >&5
1004 echo "$ac_t""$ac_cv_mingw32" 1>&6
1006 test "$ac_cv_mingw32" = yes && MINGW32=yes
1008 # Check whether --enable-multilib or --disable-multilib was given.
1009 if test "${enable_multilib+set}" = set; then
1010 enableval="$enable_multilib"
1011 case "${enableval}" in
1012 yes) multilib=yes ;;
1014 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1020 # When building with srcdir == objdir, links to the source files will
1021 # be created in directories within the target_subdir. We have to
1022 # adjust toplevel_srcdir accordingly, so that configure finds
1023 # install-sh and other auxiliary files that live in the top-level
1025 if test "${srcdir}" = "."; then
1026 if test -z "${with_target_subdir}"; then
1029 if test "${with_target_subdir}" != "."; then
1030 toprel="${with_multisrctop}../.."
1032 toprel="${with_multisrctop}.."
1039 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1040 if test -f $ac_dir/install-sh; then
1042 ac_install_sh="$ac_aux_dir/install-sh -c"
1044 elif test -f $ac_dir/install.sh; then
1046 ac_install_sh="$ac_aux_dir/install.sh -c"
1050 if test -z "$ac_aux_dir"; then
1051 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1053 ac_config_guess=$ac_aux_dir/config.guess
1054 ac_config_sub=$ac_aux_dir/config.sub
1055 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1057 toplevel_srcdir=\${top_srcdir}/$toprel
1060 # Export build and source directories.
1061 # These need to be absolute paths, yet at the same time need to
1062 # canonicalize only relative paths, because then amd will not unmount
1063 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1064 glibcpp_builddir=`pwd`
1066 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1067 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1074 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1075 # be 'cp -p' if linking isn't available.
1076 #ac_cv_prog_LN_S='cp -p'
1077 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1078 echo "configure:1079: checking whether ln -s works" >&5
1079 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1080 echo $ac_n "(cached) $ac_c" 1>&6
1083 if ln -s X conftestdata 2>/dev/null
1086 ac_cv_prog_LN_S="ln -s"
1091 LN_S="$ac_cv_prog_LN_S"
1092 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1093 echo "$ac_t""yes" 1>&6
1095 echo "$ac_t""no" 1>&6
1099 # We use these options to decide which functions to include.
1100 # Check whether --with-target-subdir or --without-target-subdir was given.
1101 if test "${with_target_subdir+set}" = set; then
1102 withval="$with_target_subdir"
1106 # Check whether --with-cross-host or --without-cross-host was given.
1107 if test "${with_cross_host+set}" = set; then
1108 withval="$with_cross_host"
1113 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1116 # Never versions of autoconf add an underscore to these functions.
1117 # Prevent future problems ...
1125 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1126 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1127 # are probably using a cross compiler, which will not be able to fully
1128 # link an executable. This should really be fixed in autoconf
1134 # Extract the first word of "gcc", so it can be a program name with args.
1135 set dummy gcc; ac_word=$2
1136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1137 echo "configure:1138: checking for $ac_word" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1139 echo $ac_n "(cached) $ac_c" 1>&6
1141 if test -n "$CC"; then
1142 ac_cv_prog_CC="$CC" # Let the user override the test.
1144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1146 for ac_dir in $ac_dummy; do
1147 test -z "$ac_dir" && ac_dir=.
1148 if test -f $ac_dir/$ac_word; then
1157 if test -n "$CC"; then
1158 echo "$ac_t""$CC" 1>&6
1160 echo "$ac_t""no" 1>&6
1163 if test -z "$CC"; then
1164 # Extract the first word of "cc", so it can be a program name with args.
1165 set dummy cc; ac_word=$2
1166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1167 echo "configure:1168: checking for $ac_word" >&5
1168 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1169 echo $ac_n "(cached) $ac_c" 1>&6
1171 if test -n "$CC"; then
1172 ac_cv_prog_CC="$CC" # Let the user override the test.
1174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1177 for ac_dir in $ac_dummy; do
1178 test -z "$ac_dir" && ac_dir=.
1179 if test -f $ac_dir/$ac_word; then
1180 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1181 ac_prog_rejected=yes
1189 if test $ac_prog_rejected = yes; then
1190 # We found a bogon in the path, so make sure we never use it.
1191 set dummy $ac_cv_prog_CC
1193 if test $# -gt 0; then
1194 # We chose a different compiler from the bogus one.
1195 # However, it has the same basename, so the bogon will be chosen
1196 # first if we set CC to just the basename; use the full file name.
1198 set dummy "$ac_dir/$ac_word" "$@"
1206 if test -n "$CC"; then
1207 echo "$ac_t""$CC" 1>&6
1209 echo "$ac_t""no" 1>&6
1212 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1215 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1216 echo "configure:1217: checking whether we are using GNU C" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1220 cat > conftest.c <<EOF
1225 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1232 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1234 if test $ac_cv_prog_gcc = yes; then
1236 ac_test_CFLAGS="${CFLAGS+set}"
1237 ac_save_CFLAGS="$CFLAGS"
1239 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1240 echo "configure:1241: checking whether ${CC-cc} accepts -g" >&5
1241 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1242 echo $ac_n "(cached) $ac_c" 1>&6
1244 echo 'void f(){}' > conftest.c
1245 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1254 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1255 if test "$ac_test_CFLAGS" = set; then
1256 CFLAGS="$ac_save_CFLAGS"
1257 elif test $ac_cv_prog_cc_g = yes; then
1264 test "${CFLAGS+set}" = set || CFLAGS="-g"
1268 # Can't just call these here as g++ requires libstc++ to be built....
1271 # Likewise for AC_PROG_CXX.
1275 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1276 # flags that come in CXX while configuring libstdc++. They're different
1277 # from those used for all other target libraries. If CXX is set in
1278 # the environment, respect that here.
1280 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1282 # Extract the first word of "$ac_prog", so it can be a program name with args.
1283 set dummy $ac_prog; ac_word=$2
1284 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1285 echo "configure:1286: checking for $ac_word" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1289 if test -n "$glibcpp_CXX"; then
1290 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1292 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1294 for ac_dir in $ac_dummy; do
1295 test -z "$ac_dir" && ac_dir=.
1296 if test -f $ac_dir/$ac_word; then
1297 ac_cv_prog_glibcpp_CXX="$ac_prog"
1304 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1305 if test -n "$glibcpp_CXX"; then
1306 echo "$ac_t""$glibcpp_CXX" 1>&6
1308 echo "$ac_t""no" 1>&6
1311 test -n "$glibcpp_CXX" && break
1313 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1317 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1319 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1320 echo "configure:1321: checking whether we are using GNU C++" >&5
1321 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1322 echo $ac_n "(cached) $ac_c" 1>&6
1324 cat > conftest.C <<EOF
1329 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1336 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1338 if test $ac_cv_prog_gxx = yes; then
1340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1341 ac_save_CXXFLAGS="$CXXFLAGS"
1343 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1344 echo "configure:1345: checking whether ${CXX-g++} accepts -g" >&5
1345 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1346 echo $ac_n "(cached) $ac_c" 1>&6
1348 echo 'void f(){}' > conftest.cc
1349 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1350 ac_cv_prog_cxx_g=yes
1358 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1359 if test "$ac_test_CXXFLAGS" = set; then
1360 CXXFLAGS="$ac_save_CXXFLAGS"
1361 elif test $ac_cv_prog_cxx_g = yes; then
1368 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1372 # For some reason, gettext needs this.
1374 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1375 echo "configure:1376: checking for strerror in -lcposix" >&5
1376 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1378 echo $ac_n "(cached) $ac_c" 1>&6
1380 ac_save_LIBS="$LIBS"
1381 LIBS="-lcposix $LIBS"
1382 cat > conftest.$ac_ext <<EOF
1383 #line 1384 "configure"
1384 #include "confdefs.h"
1385 /* Override any gcc2 internal prototype to avoid an error. */
1386 /* We use char because int might match the return type of a gcc2
1387 builtin and then its argument prototype would still apply. */
1394 if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1396 eval "ac_cv_lib_$ac_lib_var=yes"
1398 echo "configure: failed program was:" >&5
1399 cat conftest.$ac_ext >&5
1401 eval "ac_cv_lib_$ac_lib_var=no"
1404 LIBS="$ac_save_LIBS"
1407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1408 echo "$ac_t""yes" 1>&6
1409 LIBS="$LIBS -lcposix"
1411 echo "$ac_t""no" 1>&6
1417 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1418 set dummy ${ac_tool_prefix}as; ac_word=$2
1419 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1420 echo "configure:1421: checking for $ac_word" >&5
1421 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1422 echo $ac_n "(cached) $ac_c" 1>&6
1424 if test -n "$AS"; then
1425 ac_cv_prog_AS="$AS" # Let the user override the test.
1427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1429 for ac_dir in $ac_dummy; do
1430 test -z "$ac_dir" && ac_dir=.
1431 if test -f $ac_dir/$ac_word; then
1432 ac_cv_prog_AS="${ac_tool_prefix}as"
1437 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1441 if test -n "$AS"; then
1442 echo "$ac_t""$AS" 1>&6
1444 echo "$ac_t""no" 1>&6
1449 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1450 set dummy ${ac_tool_prefix}ar; ac_word=$2
1451 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1452 echo "configure:1453: checking for $ac_word" >&5
1453 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1454 echo $ac_n "(cached) $ac_c" 1>&6
1456 if test -n "$AR"; then
1457 ac_cv_prog_AR="$AR" # Let the user override the test.
1459 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1461 for ac_dir in $ac_dummy; do
1462 test -z "$ac_dir" && ac_dir=.
1463 if test -f $ac_dir/$ac_word; then
1464 ac_cv_prog_AR="${ac_tool_prefix}ar"
1469 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1473 if test -n "$AR"; then
1474 echo "$ac_t""$AR" 1>&6
1476 echo "$ac_t""no" 1>&6
1481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1482 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1483 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1484 echo "configure:1485: checking for $ac_word" >&5
1485 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1486 echo $ac_n "(cached) $ac_c" 1>&6
1488 if test -n "$RANLIB"; then
1489 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1493 for ac_dir in $ac_dummy; do
1494 test -z "$ac_dir" && ac_dir=.
1495 if test -f $ac_dir/$ac_word; then
1496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1503 RANLIB="$ac_cv_prog_RANLIB"
1504 if test -n "$RANLIB"; then
1505 echo "$ac_t""$RANLIB" 1>&6
1507 echo "$ac_t""no" 1>&6
1511 if test -z "$ac_cv_prog_RANLIB"; then
1512 if test -n "$ac_tool_prefix"; then
1513 # Extract the first word of "ranlib", so it can be a program name with args.
1514 set dummy ranlib; ac_word=$2
1515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1516 echo "configure:1517: checking for $ac_word" >&5
1517 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1518 echo $ac_n "(cached) $ac_c" 1>&6
1520 if test -n "$RANLIB"; then
1521 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1525 for ac_dir in $ac_dummy; do
1526 test -z "$ac_dir" && ac_dir=.
1527 if test -f $ac_dir/$ac_word; then
1528 ac_cv_prog_RANLIB="ranlib"
1533 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1536 RANLIB="$ac_cv_prog_RANLIB"
1537 if test -n "$RANLIB"; then
1538 echo "$ac_t""$RANLIB" 1>&6
1540 echo "$ac_t""no" 1>&6
1544 RANLIB="ranlib-not-found-in-path-error"
1548 # Find a good install program. We prefer a C program (faster),
1549 # so one script is as good as another. But avoid the broken or
1550 # incompatible versions:
1551 # SysV /etc/install, /usr/sbin/install
1552 # SunOS /usr/etc/install
1553 # IRIX /sbin/install
1555 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1556 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1557 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1558 # ./install, which can be erroneously created by make from ./install.sh.
1559 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1560 echo "configure:1561: checking for a BSD compatible install" >&5
1561 if test -z "$INSTALL"; then
1562 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1563 echo $ac_n "(cached) $ac_c" 1>&6
1565 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1566 for ac_dir in $PATH; do
1567 # Account for people who put trailing slashes in PATH elements.
1569 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1574 for ac_prog in ginstall scoinst install; do
1575 if test -f $ac_dir/$ac_prog; then
1576 if test $ac_prog = install &&
1577 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1578 # AIX install. It has an incompatible calling convention.
1581 ac_cv_path_install="$ac_dir/$ac_prog -c"
1592 if test "${ac_cv_path_install+set}" = set; then
1593 INSTALL="$ac_cv_path_install"
1595 # As a last resort, use the slow shell script. We don't cache a
1596 # path for INSTALL within a source directory, because that will
1597 # break other packages using the cache if that directory is
1598 # removed, or if the path is relative.
1599 INSTALL="$ac_install_sh"
1602 echo "$ac_t""$INSTALL" 1>&6
1604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1605 # It thinks the first close brace ends the variable substitution.
1606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1610 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1613 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1614 echo "configure:1615: checking whether to enable maintainer-specific portions of Makefiles" >&5
1615 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1616 if test "${enable_maintainer_mode+set}" = set; then
1617 enableval="$enable_maintainer_mode"
1618 USE_MAINTAINER_MODE=$enableval
1620 USE_MAINTAINER_MODE=no
1623 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1626 if test $USE_MAINTAINER_MODE = yes; then
1627 MAINTAINER_MODE_TRUE=
1628 MAINTAINER_MODE_FALSE='#'
1630 MAINTAINER_MODE_TRUE='#'
1631 MAINTAINER_MODE_FALSE=
1633 MAINT=$MAINTAINER_MODE_TRUE
1637 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1638 # at least currently, we never actually build a program, so we never
1639 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1640 # fails, because we are probably configuring with a cross compiler
1641 # which can't create executables. So we include AC_EXEEXT to keep
1642 # automake happy, but we don't execute it, since we don't care about
1645 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1646 # to nothing, so nothing would remain between `then' and `fi' if it
1647 # were not for the `:' below.
1651 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1652 echo "configure:1653: checking for executable suffix" >&5
1653 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1654 echo $ac_n "(cached) $ac_c" 1>&6
1656 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1660 echo 'int main () { return 0; }' > conftest.$ac_ext
1662 if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1663 for file in conftest.*; do
1665 *.c | *.o | *.obj) ;;
1666 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1670 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1673 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1678 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1679 echo "$ac_t""${ac_cv_exeext}" 1>&6
1684 . ${glibcpp_basedir}/configure.host
1686 case ${glibcpp_basedir} in
1687 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1688 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1691 # This does for the target what configure.host does for the host. In
1692 # addition to possibly modifying the same flags, it also sets up symlinks.
1694 . ${glibcpp_basedir}/configure.target
1695 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1696 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1703 # Check whether --enable-shared or --disable-shared was given.
1704 if test "${enable_shared+set}" = set; then
1705 enableval="$enable_shared"
1706 p=${PACKAGE-default}
1708 yes) enable_shared=yes ;;
1709 no) enable_shared=no ;;
1712 # Look at the argument we got. We use all the common list separators.
1713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1714 for pkg in $enableval; do
1715 if test "X$pkg" = "X$p"; then
1726 # Check whether --enable-static or --disable-static was given.
1727 if test "${enable_static+set}" = set; then
1728 enableval="$enable_static"
1729 p=${PACKAGE-default}
1731 yes) enable_static=yes ;;
1732 no) enable_static=no ;;
1735 # Look at the argument we got. We use all the common list separators.
1736 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1737 for pkg in $enableval; do
1738 if test "X$pkg" = "X$p"; then
1749 # Check whether --enable-fast-install or --disable-fast-install was given.
1750 if test "${enable_fast_install+set}" = set; then
1751 enableval="$enable_fast_install"
1752 p=${PACKAGE-default}
1754 yes) enable_fast_install=yes ;;
1755 no) enable_fast_install=no ;;
1757 enable_fast_install=no
1758 # Look at the argument we got. We use all the common list separators.
1759 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1760 for pkg in $enableval; do
1761 if test "X$pkg" = "X$p"; then
1762 enable_fast_install=yes
1769 enable_fast_install=yes
1772 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1773 if test "${with_gnu_ld+set}" = set; then
1774 withval="$with_gnu_ld"
1775 test "$withval" = no || with_gnu_ld=yes
1781 if test "$GCC" = yes; then
1782 # Check if gcc -print-prog-name=ld gives a path.
1783 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1784 echo "configure:1785: checking for ld used by GCC" >&5
1787 # gcc leaves a trailing carriage return which upsets mingw
1788 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1790 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1793 # Accept absolute paths.
1794 [\\/]* | [A-Za-z]:[\\/]*)
1795 re_direlt='/[^/][^/]*/\.\./'
1796 # Canonicalize the path of ld
1797 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1798 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1799 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1801 test -z "$LD" && LD="$ac_prog"
1804 # If it fails, then pretend we aren't using GCC.
1808 # If it is relative, then search for the first ld in PATH.
1812 elif test "$with_gnu_ld" = yes; then
1813 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1814 echo "configure:1815: checking for GNU ld" >&5
1816 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1817 echo "configure:1818: checking for non-GNU ld" >&5
1819 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1820 echo $ac_n "(cached) $ac_c" 1>&6
1822 if test -z "$LD"; then
1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1824 for ac_dir in $PATH; do
1825 test -z "$ac_dir" && ac_dir=.
1826 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1827 lt_cv_path_LD="$ac_dir/$ac_prog"
1828 # Check to see if the program is GNU ld. I'd rather use --version,
1829 # but apparently some GNU ld's only accept -v.
1830 # Break only if it was the GNU/non-GNU ld that we prefer.
1831 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1832 test "$with_gnu_ld" != no && break
1834 test "$with_gnu_ld" != yes && break
1840 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1845 if test -n "$LD"; then
1846 echo "$ac_t""$LD" 1>&6
1848 echo "$ac_t""no" 1>&6
1850 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1851 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1852 echo "configure:1853: checking if the linker ($LD) is GNU ld" >&5
1853 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1854 echo $ac_n "(cached) $ac_c" 1>&6
1856 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1857 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1858 lt_cv_prog_gnu_ld=yes
1860 lt_cv_prog_gnu_ld=no
1864 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1865 with_gnu_ld=$lt_cv_prog_gnu_ld
1868 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1869 echo "configure:1870: checking for $LD option to reload object files" >&5
1870 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1871 echo $ac_n "(cached) $ac_c" 1>&6
1873 lt_cv_ld_reload_flag='-r'
1876 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1877 reload_flag=$lt_cv_ld_reload_flag
1878 test -n "$reload_flag" && reload_flag=" $reload_flag"
1880 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1881 echo "configure:1882: checking for BSD-compatible nm" >&5
1882 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1883 echo $ac_n "(cached) $ac_c" 1>&6
1885 if test -n "$NM"; then
1886 # Let the user override the test.
1889 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1890 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1891 test -z "$ac_dir" && ac_dir=.
1892 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1893 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1894 # Check to see if the nm accepts a BSD-compat flag.
1895 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1896 # nm: unknown option "B" ignored
1897 # Tru64's nm complains that /dev/null is an invalid object file
1898 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1899 lt_cv_path_NM="$tmp_nm -B"
1901 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1902 lt_cv_path_NM="$tmp_nm -p"
1905 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1906 continue # so that we can try to find one that supports BSD flags
1911 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1916 echo "$ac_t""$NM" 1>&6
1918 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1919 echo "configure:1920: checking how to recognise dependant libraries" >&5
1920 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1921 echo $ac_n "(cached) $ac_c" 1>&6
1923 lt_cv_file_magic_cmd='$MAGIC_CMD'
1924 lt_cv_file_magic_test_file=
1925 lt_cv_deplibs_check_method='unknown'
1926 # Need to set the preceding variable on all platforms that support
1927 # interlibrary dependencies.
1928 # 'none' -- dependencies not supported.
1929 # `unknown' -- same as none, but documents that we really don't know.
1930 # 'pass_all' -- all dependencies passed with no checks.
1931 # 'test_compile' -- check by making test program.
1932 # 'file_magic [regex]' -- check by looking for files in library path
1933 # which responds to the $file_magic_cmd with a given egrep regex.
1934 # If you have `file' or equivalent on your system and you're not sure
1935 # whether `pass_all' will *always* work, you probably want this one.
1939 lt_cv_deplibs_check_method=pass_all
1943 lt_cv_deplibs_check_method=pass_all
1947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1948 lt_cv_file_magic_cmd='/usr/bin/file -L'
1949 lt_cv_file_magic_test_file=/shlib/libc.so
1952 cygwin* | mingw* |pw32*)
1953 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1954 lt_cv_file_magic_cmd='$OBJDUMP -f'
1957 darwin* | rhapsody*)
1958 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1959 lt_cv_file_magic_cmd='/usr/bin/file -L'
1961 rhapsody* | darwin1.012)
1962 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1965 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1971 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1974 # Not sure whether the presence of OpenBSD here was a mistake.
1975 # Let's accept both of them until this is cleared up.
1976 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1977 lt_cv_file_magic_cmd=/usr/bin/file
1978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1982 lt_cv_deplibs_check_method=pass_all
1987 lt_cv_deplibs_check_method=pass_all
1991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1992 lt_cv_file_magic_cmd=/usr/bin/file
1993 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1999 # this will be overridden with pass_all, but let us keep it just in case
2000 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2004 *-32|*"-32 ") libmagic=32-bit;;
2005 *-n32|*"-n32 ") libmagic=N32;;
2006 *-64|*"-64 ") libmagic=64-bit;;
2007 *) libmagic=never-match;;
2009 # this will be overridden with pass_all, but let us keep it just in case
2010 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2013 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2014 lt_cv_deplibs_check_method=pass_all
2017 # This must be Linux ELF.
2020 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2021 lt_cv_deplibs_check_method=pass_all ;;
2023 # glibc up to 2.1.1 does not perform some relocations on ARM
2024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2026 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2030 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2031 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2039 lt_cv_file_magic_cmd=/usr/bin/file
2040 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2043 osf3* | osf4* | osf5*)
2044 # this will be overridden with pass_all, but let us keep it just in case
2045 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2046 lt_cv_file_magic_test_file=/shlib/libc.so
2047 lt_cv_deplibs_check_method=pass_all
2051 lt_cv_deplibs_check_method=pass_all
2055 lt_cv_deplibs_check_method=pass_all
2056 lt_cv_file_magic_test_file=/lib/libc.so
2059 sysv5uw[78]* | sysv4*uw2*)
2060 lt_cv_deplibs_check_method=pass_all
2063 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2064 case $host_vendor in
2066 lt_cv_deplibs_check_method=pass_all
2069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2070 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2078 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2079 file_magic_cmd=$lt_cv_file_magic_cmd
2080 deplibs_check_method=$lt_cv_deplibs_check_method
2082 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2083 echo "configure:2084: checking for object suffix" >&5
2084 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2085 echo $ac_n "(cached) $ac_c" 1>&6
2088 echo 'int i = 1;' > conftest.$ac_ext
2089 if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2090 for ac_file in conftest.*; do
2093 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2097 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2102 echo "$ac_t""$ac_cv_objext" 1>&6
2103 OBJEXT=$ac_cv_objext
2104 ac_objext=$ac_cv_objext
2106 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2108 # Only perform the check for file, if the check method requires it
2109 case $deplibs_check_method in
2111 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2112 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2113 echo "configure:2114: checking for ${ac_tool_prefix}file" >&5
2114 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2115 echo $ac_n "(cached) $ac_c" 1>&6
2119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2125 ac_save_MAGIC_CMD="$MAGIC_CMD"
2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2127 ac_dummy="/usr/bin:$PATH"
2128 for ac_dir in $ac_dummy; do
2129 test -z "$ac_dir" && ac_dir=.
2130 if test -f $ac_dir/${ac_tool_prefix}file; then
2131 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2132 if test -n "$file_magic_test_file"; then
2133 case $deplibs_check_method in
2135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2138 egrep "$file_magic_regex" > /dev/null; then
2143 *** Warning: the command libtool uses to detect shared libraries,
2144 *** $file_magic_cmd, produces output that libtool cannot recognize.
2145 *** The result is that libtool may fail to recognize shared libraries
2146 *** as such. This will affect the creation of libtool libraries that
2147 *** depend on shared libraries, but programs linked with such libtool
2148 *** libraries will work regardless of this problem. Nevertheless, you
2149 *** may want to report the problem to your system manager and/or to
2150 *** bug-libtool@gnu.org
2160 MAGIC_CMD="$ac_save_MAGIC_CMD"
2165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2166 if test -n "$MAGIC_CMD"; then
2167 echo "$ac_t""$MAGIC_CMD" 1>&6
2169 echo "$ac_t""no" 1>&6
2172 if test -z "$lt_cv_path_MAGIC_CMD"; then
2173 if test -n "$ac_tool_prefix"; then
2174 echo $ac_n "checking for file""... $ac_c" 1>&6
2175 echo "configure:2176: checking for file" >&5
2176 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2177 echo $ac_n "(cached) $ac_c" 1>&6
2181 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2187 ac_save_MAGIC_CMD="$MAGIC_CMD"
2188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2189 ac_dummy="/usr/bin:$PATH"
2190 for ac_dir in $ac_dummy; do
2191 test -z "$ac_dir" && ac_dir=.
2192 if test -f $ac_dir/file; then
2193 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2194 if test -n "$file_magic_test_file"; then
2195 case $deplibs_check_method in
2197 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2199 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2200 egrep "$file_magic_regex" > /dev/null; then
2205 *** Warning: the command libtool uses to detect shared libraries,
2206 *** $file_magic_cmd, produces output that libtool cannot recognize.
2207 *** The result is that libtool may fail to recognize shared libraries
2208 *** as such. This will affect the creation of libtool libraries that
2209 *** depend on shared libraries, but programs linked with such libtool
2210 *** libraries will work regardless of this problem. Nevertheless, you
2211 *** may want to report the problem to your system manager and/or to
2212 *** bug-libtool@gnu.org
2222 MAGIC_CMD="$ac_save_MAGIC_CMD"
2227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2228 if test -n "$MAGIC_CMD"; then
2229 echo "$ac_t""$MAGIC_CMD" 1>&6
2231 echo "$ac_t""no" 1>&6
2243 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2246 echo "configure:2247: checking for $ac_word" >&5
2247 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2248 echo $ac_n "(cached) $ac_c" 1>&6
2250 if test -n "$RANLIB"; then
2251 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2253 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2255 for ac_dir in $ac_dummy; do
2256 test -z "$ac_dir" && ac_dir=.
2257 if test -f $ac_dir/$ac_word; then
2258 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2265 RANLIB="$ac_cv_prog_RANLIB"
2266 if test -n "$RANLIB"; then
2267 echo "$ac_t""$RANLIB" 1>&6
2269 echo "$ac_t""no" 1>&6
2273 if test -z "$ac_cv_prog_RANLIB"; then
2274 if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "ranlib", so it can be a program name with args.
2276 set dummy ranlib; ac_word=$2
2277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2278 echo "configure:2279: checking for $ac_word" >&5
2279 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2280 echo $ac_n "(cached) $ac_c" 1>&6
2282 if test -n "$RANLIB"; then
2283 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2287 for ac_dir in $ac_dummy; do
2288 test -z "$ac_dir" && ac_dir=.
2289 if test -f $ac_dir/$ac_word; then
2290 ac_cv_prog_RANLIB="ranlib"
2295 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2298 RANLIB="$ac_cv_prog_RANLIB"
2299 if test -n "$RANLIB"; then
2300 echo "$ac_t""$RANLIB" 1>&6
2302 echo "$ac_t""no" 1>&6
2310 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}strip; ac_word=$2
2312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2313 echo "configure:2314: checking for $ac_word" >&5
2314 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2315 echo $ac_n "(cached) $ac_c" 1>&6
2317 if test -n "$STRIP"; then
2318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2320 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2322 for ac_dir in $ac_dummy; do
2323 test -z "$ac_dir" && ac_dir=.
2324 if test -f $ac_dir/$ac_word; then
2325 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2332 STRIP="$ac_cv_prog_STRIP"
2333 if test -n "$STRIP"; then
2334 echo "$ac_t""$STRIP" 1>&6
2336 echo "$ac_t""no" 1>&6
2340 if test -z "$ac_cv_prog_STRIP"; then
2341 if test -n "$ac_tool_prefix"; then
2342 # Extract the first word of "strip", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2345 echo "configure:2346: checking for $ac_word" >&5
2346 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2347 echo $ac_n "(cached) $ac_c" 1>&6
2349 if test -n "$STRIP"; then
2350 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2354 for ac_dir in $ac_dummy; do
2355 test -z "$ac_dir" && ac_dir=.
2356 if test -f $ac_dir/$ac_word; then
2357 ac_cv_prog_STRIP="strip"
2362 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2365 STRIP="$ac_cv_prog_STRIP"
2366 if test -n "$STRIP"; then
2367 echo "$ac_t""$STRIP" 1>&6
2369 echo "$ac_t""no" 1>&6
2378 # Check for any special flags to pass to ltconfig.
2379 libtool_flags="--cache-file=$cache_file"
2380 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2381 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2382 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2383 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2384 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2385 libtool_flags="$libtool_flags --enable-dlopen"
2387 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2388 if test "${enable_libtool_lock+set}" = set; then
2389 enableval="$enable_libtool_lock"
2393 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2394 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2396 # Check whether --with-pic or --without-pic was given.
2397 if test "${with_pic+set}" = set; then
2404 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2405 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2407 # Some flags need to be propagated to the compiler or linker for good
2411 # Find out which ABI we are using.
2412 echo '#line 2413 "configure"' > conftest.$ac_ext
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 case `/usr/bin/file conftest.$ac_objext` in
2430 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2431 SAVE_CFLAGS="$CFLAGS"
2432 CFLAGS="$CFLAGS -belf"
2433 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2434 echo "configure:2435: checking whether the C compiler needs -belf" >&5
2435 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2436 echo $ac_n "(cached) $ac_c" 1>&6
2440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2444 cross_compiling=$ac_cv_prog_cc_cross
2446 cat > conftest.$ac_ext <<EOF
2447 #line 2448 "configure"
2448 #include "confdefs.h"
2454 if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2456 lt_cv_cc_needs_belf=yes
2458 echo "configure: failed program was:" >&5
2459 cat conftest.$ac_ext >&5
2461 lt_cv_cc_needs_belf=no
2465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2466 ac_cpp='$CPP $CPPFLAGS'
2467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2469 cross_compiling=$ac_cv_prog_cc_cross
2473 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2474 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2475 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2476 CFLAGS="$SAVE_CFLAGS"
2483 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2484 echo "configure:2485: checking how to run the C++ preprocessor" >&5
2485 if test -z "$CXXCPP"; then
2486 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2487 echo $ac_n "(cached) $ac_c" 1>&6
2490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2491 ac_cpp='$CXXCPP $CPPFLAGS'
2492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2494 cross_compiling=$ac_cv_prog_cxx_cross
2495 CXXCPP="${CXX-g++} -E"
2496 cat > conftest.$ac_ext <<EOF
2497 #line 2498 "configure"
2498 #include "confdefs.h"
2501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2502 { (eval echo configure:2503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2504 if test -z "$ac_err"; then
2508 echo "configure: failed program was:" >&5
2509 cat conftest.$ac_ext >&5
2514 ac_cv_prog_CXXCPP="$CXXCPP"
2516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2520 cross_compiling=$ac_cv_prog_cc_cross
2523 CXXCPP="$ac_cv_prog_CXXCPP"
2524 echo "$ac_t""$CXXCPP" 1>&6
2527 # Save cache, so that ltconfig can load it
2528 cat > confcache <<\EOF
2529 # This file is a shell script that caches the results of configure
2530 # tests run on this system so they can be shared between configure
2531 # scripts and configure runs. It is not useful on other systems.
2532 # If it contains results you don't want to keep, you may remove or edit it.
2534 # By default, configure uses ./config.cache as the cache file,
2535 # creating it if it does not exist already. You can give configure
2536 # the --cache-file=FILE option to use a different cache file; that is
2537 # what configure does when it calls configure scripts in
2538 # subdirectories, so they share the cache.
2539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2540 # config.status only pays attention to the cache file if you give it the
2541 # --recheck option to rerun configure.
2544 # The following way of writing the cache mishandles newlines in values,
2545 # but we know of no workaround that is simple, portable, and efficient.
2546 # So, don't put newlines in cache variables' values.
2547 # Ultrix sh set writes to stderr and can't be redirected directly,
2548 # and sets the high bit in the cache file unless we assign to the vars.
2550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2552 # `set' does not quote correctly, so add quotes (double-quote substitution
2553 # turns \\\\ into \\, and sed turns \\ into \).
2555 -e "s/'/'\\\\''/g" \
2556 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2559 # `set' quotes correctly as required by POSIX, so do not add quotes.
2560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2563 if cmp -s $cache_file confcache; then
2566 if test -w $cache_file; then
2567 echo "updating cache $cache_file"
2568 cat confcache > $cache_file
2570 echo "not updating unwritable cache $cache_file"
2576 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2577 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2578 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2579 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2580 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2581 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2582 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2583 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2584 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2585 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2587 # Reload cache, that may have been modified by ltconfig
2588 if test -r "$cache_file"; then
2589 echo "loading cache $cache_file"
2592 echo "creating cache $cache_file"
2597 # This can be used to rebuild libtool when needed
2598 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2600 # Always use our own libtool.
2601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2603 # Redirect the config.log output again, so that the ltconfig log is not
2604 # clobbered by the next message.
2605 exec 5>>./config.log
2609 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2611 lt_save_CFLAGS="$CFLAGS"
2612 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2613 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2614 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2615 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2616 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2617 deplibs_check_method="$deplibs_check_method" \
2618 file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2620 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2621 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2623 CFLAGS="$lt_save_CFLAGS"
2625 # Redirect the config.log output again, so that the ltconfig log is not
2626 # clobbered by the next message.
2627 exec 5>>./config.log
2637 # Check for c++ or library specific bits that don't require linking.
2638 #GLIBCPP_CHECK_COMPILER_VERSION
2639 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2640 echo "configure:2641: checking for GNU make" >&5
2641 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2642 echo $ac_n "(cached) $ac_c" 1>&6
2644 _cv_gnu_make_command='' ;
2645 for a in "${MAKE-make}" make gmake gnumake ; do
2646 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2648 _cv_gnu_make_command=$a ;
2655 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2656 if test "x$_cv_gnu_make_command" != "x" ; then
2664 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2665 # Check whether --enable-debug or --disable-debug was given.
2666 if test "${enable_debug+set}" = set; then
2667 enableval="$enable_debug"
2668 case "${enableval}" in
2669 yes) enable_debug=yes ;;
2670 no) enable_debug=no ;;
2671 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2677 case "${enable_debug}" in
2679 DEBUG_FLAGS='-O0 -ggdb3'
2687 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2688 echo "configure:2689: checking how to run the C preprocessor" >&5
2689 # On Suns, sometimes $CPP names a directory.
2690 if test -n "$CPP" && test -d "$CPP"; then
2693 if test -z "$CPP"; then
2694 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2695 echo $ac_n "(cached) $ac_c" 1>&6
2697 # This must be in double quotes, not single quotes, because CPP may get
2698 # substituted into the Makefile and "${CC-cc}" will confuse make.
2700 # On the NeXT, cc -E runs the code through the compiler's parser,
2701 # not just through cpp.
2702 cat > conftest.$ac_ext <<EOF
2703 #line 2704 "configure"
2704 #include "confdefs.h"
2708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2711 if test -z "$ac_err"; then
2715 echo "configure: failed program was:" >&5
2716 cat conftest.$ac_ext >&5
2718 CPP="${CC-cc} -E -traditional-cpp"
2719 cat > conftest.$ac_ext <<EOF
2720 #line 2721 "configure"
2721 #include "confdefs.h"
2725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2726 { (eval echo configure:2727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2728 if test -z "$ac_err"; then
2732 echo "configure: failed program was:" >&5
2733 cat conftest.$ac_ext >&5
2735 CPP="${CC-cc} -nologo -E"
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2745 if test -z "$ac_err"; then
2749 echo "configure: failed program was:" >&5
2750 cat conftest.$ac_ext >&5
2759 ac_cv_prog_CPP="$CPP"
2761 CPP="$ac_cv_prog_CPP"
2763 ac_cv_prog_CPP="$CPP"
2765 echo "$ac_t""$CPP" 1>&6
2768 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2769 echo "configure:2770: checking for cstdio to use" >&5
2770 # Check whether --enable-cstdio or --disable-cstdio was given.
2771 if test "${enable_cstdio+set}" = set; then
2772 enableval="$enable_cstdio"
2773 if test x$enable_cstdio = xno; then
2781 enable_cstdio_flag=$enable_cstdio
2783 case x${enable_cstdio_flag} in
2785 CSTDIO_H=config/io/c_io_libio.h
2786 BASIC_FILE_H=config/io/basic_file_libio.h
2787 BASIC_FILE_CC=config/io/basic_file_libio.cc
2788 echo "$ac_t""libio" 1>&6
2790 # see if we are on a system with libio native (ie, linux)
2791 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2792 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2793 echo "configure:2794: checking for libio.h" >&5
2794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2795 echo $ac_n "(cached) $ac_c" 1>&6
2797 cat > conftest.$ac_ext <<EOF
2798 #line 2799 "configure"
2799 #include "confdefs.h"
2802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2803 { (eval echo configure:2804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2805 if test -z "$ac_err"; then
2807 eval "ac_cv_header_$ac_safe=yes"
2810 echo "configure: failed program was:" >&5
2811 cat conftest.$ac_ext >&5
2813 eval "ac_cv_header_$ac_safe=no"
2817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2818 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no" 1>&6
2826 # Need to check and see what version of glibc is being used. If
2827 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2828 # compile most of libio for linux systems.
2829 if test x$has_libio = x"yes"; then
2832 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2833 echo "configure:2834: checking for glibc version >= 2.2" >&5
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure"
2836 #include "confdefs.h"
2838 #include <features.h>
2839 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2845 egrep "ok" >/dev/null 2>&1; then
2847 glibc_satisfactory=yes
2850 glibc_satisfactory=no
2854 echo "$ac_t""$glibc_satisfactory" 1>&6
2858 # XXX at the moment, admit defeat and force the recompilation
2859 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2860 glibc_satisfactory=no
2862 if test x$glibc_satisfactory = x"yes"; then
2867 # bkoz XXX need to add checks to enable this
2868 # pme XXX here's a first pass at such a check
2869 if test x$enable_c_mbchar != xno; then
2877 # Using libio, but <libio.h> doesn't exist on the target system. . .
2879 # bkoz XXX need to add checks to enable this
2880 # pme XXX here's a first pass at such a check
2881 if test x$enable_c_mbchar != xno; then
2888 xstdio | x | xno | xnone | xyes)
2890 CSTDIO_H=config/io/c_io_stdio.h
2891 BASIC_FILE_H=config/io/basic_file_stdio.h
2892 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2893 echo "$ac_t""stdio" 1>&6
2895 # We're not using stdio.
2900 echo "$enable_cstdio is an unknown io package" 1>&2
2908 # 2000-08-04 bkoz hack
2909 CCODECVT_C=config/io/c_io_libio_codecvt.c
2911 # 2000-08-04 bkoz hack
2915 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2916 GLIBCPP_BUILD_LIBIO_TRUE=
2917 GLIBCPP_BUILD_LIBIO_FALSE='#'
2919 GLIBCPP_BUILD_LIBIO_TRUE='#'
2920 GLIBCPP_BUILD_LIBIO_FALSE=
2924 if test "$need_libio" = yes; then
2925 GLIBCPP_NEED_LIBIO_TRUE=
2926 GLIBCPP_NEED_LIBIO_FALSE='#'
2928 GLIBCPP_NEED_LIBIO_TRUE='#'
2929 GLIBCPP_NEED_LIBIO_FALSE=
2933 if test "$need_wlibio" = yes; then
2934 GLIBCPP_NEED_WLIBIO_TRUE=
2935 GLIBCPP_NEED_WLIBIO_FALSE='#'
2937 GLIBCPP_NEED_WLIBIO_TRUE='#'
2938 GLIBCPP_NEED_WLIBIO_FALSE=
2940 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2941 libio_la=../libio/libio.la
2948 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2949 echo "configure:2950: checking for clocale to use" >&5
2950 # Check whether --enable-clocale or --disable-clocale was given.
2951 if test "${enable_clocale+set}" = set; then
2952 enableval="$enable_clocale"
2953 if test x$enable_clocale = xno; then
2961 enable_clocale_flag=$enable_clocale
2963 if test x$enable_clocale_flag = xno; then
2964 case x${target_os} in
2966 cat > conftest.$ac_ext <<EOF
2967 #line 2968 "configure"
2968 #include "confdefs.h"
2970 #include <features.h>
2971 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2977 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2979 enable_clocale_flag=gnu
2982 enable_clocale_flag=generic
2987 # Test for bugs early in glibc-2.2.x series
2988 if test x$enable_clocale_flag = xgnu; then
2989 if test "$cross_compiling" = yes; then
2990 enable_clocale_flag=generic
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure"
2994 #include "confdefs.h"
2996 #define _GNU_SOURCE 1
3000 const char __one[] = "Äuglein Augmen";
3001 const char __two[] = "Äuglein";
3006 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3007 loc_dup = __duplocale(loc);
3008 i = __strcoll_l(__one, __two, loc);
3009 j = __strcoll_l(__one, __two, loc_dup);
3014 if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3016 enable_clocale_flag=gnu
3018 echo "configure: failed program was:" >&5
3019 cat conftest.$ac_ext >&5
3021 enable_clocale_flag=generic
3028 # ... at some point put __strxfrm_l tests in as well.
3031 enable_clocale_flag=generic
3036 case x${enable_clocale_flag} in
3038 echo "$ac_t""generic" 1>&6
3040 # Don't use gettext.
3043 CLOCALE_H=config/locale/c_locale_generic.h
3044 CLOCALE_CC=config/locale/c_locale_generic.cc
3045 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3046 CCOLLATE_CC=config/locale/collate_members_generic.cc
3047 CCTYPE_CC=config/locale/ctype_members_generic.cc
3048 CMESSAGES_H=config/locale/messages_members_generic.h
3049 CMESSAGES_CC=config/locale/messages_members_generic.cc
3050 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3051 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3052 CTIME_CC=config/locale/time_members_generic.cc
3055 echo "$ac_t""gnu" 1>&6
3057 # Declare intention to use gettext, and add support for specific
3059 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3061 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3062 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3065 # Export the build objects.
3066 for ling in $ALL_LINGUAS; do \
3067 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3068 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3073 CLOCALE_H=config/locale/c_locale_gnu.h
3074 CLOCALE_CC=config/locale/c_locale_gnu.cc
3075 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3076 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3077 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3078 CMESSAGES_H=config/locale/messages_members_gnu.h
3079 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3080 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3081 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3082 CTIME_CC=config/locale/time_members_gnu.cc
3085 echo "$ac_t""generic" 1>&6
3087 # Don't use gettext.
3090 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3091 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3092 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3093 CCOLLATE_CC=config/locale/collate_members_generic.cc
3094 CCTYPE_CC=config/locale/ctype_members_generic.cc
3095 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3096 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3097 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3098 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3099 CTIME_CC=config/locale/time_members_generic.cc
3102 echo "$enable_clocale is an unknown locale package" 1>&2
3107 # This is where the testsuite looks for locale catalogs, using the
3108 # -DLOCALEDIR define during testsuite compilation.
3109 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3124 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3125 if test "${enable_c_mbchar+set}" = set; then
3126 enableval="$enable_c_mbchar"
3127 case "$enableval" in
3128 yes) enable_c_mbchar=yes ;;
3129 no) enable_c_mbchar=no ;;
3130 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3137 # Check whether --enable-c99 or --disable-c99 was given.
3138 if test "${enable_c99+set}" = set; then
3139 enableval="$enable_c99"
3140 case "$enableval" in
3141 yes) enable_c99=yes ;;
3142 no) enable_c99=no ;;
3143 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3152 ac_cpp='$CXXCPP $CPPFLAGS'
3153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3155 cross_compiling=$ac_cv_prog_cxx_cross
3158 # Check for the existence of <math.h> functions used if C99 is enabled.
3160 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3161 echo "configure:3162: checking for ISO C99 support in <math.h>" >&5
3162 cat > conftest.$ac_ext <<EOF
3163 #line 3164 "configure"
3164 #include "confdefs.h"
3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 echo "configure: failed program was:" >&5
3174 cat conftest.$ac_ext >&5
3179 cat > conftest.$ac_ext <<EOF
3180 #line 3181 "configure"
3181 #include "confdefs.h"
3187 if { (eval echo configure:3188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3190 echo "configure: failed program was:" >&5
3191 cat conftest.$ac_ext >&5
3196 cat > conftest.$ac_ext <<EOF
3197 #line 3198 "configure"
3198 #include "confdefs.h"
3204 if { (eval echo configure:3205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3207 echo "configure: failed program was:" >&5
3208 cat conftest.$ac_ext >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3221 if { (eval echo configure:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3224 echo "configure: failed program was:" >&5
3225 cat conftest.$ac_ext >&5
3230 cat > conftest.$ac_ext <<EOF
3231 #line 3232 "configure"
3232 #include "confdefs.h"
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3241 echo "configure: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3247 cat > conftest.$ac_ext <<EOF
3248 #line 3249 "configure"
3249 #include "confdefs.h"
3255 if { (eval echo configure:3256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3258 echo "configure: failed program was:" >&5
3259 cat conftest.$ac_ext >&5
3264 cat > conftest.$ac_ext <<EOF
3265 #line 3266 "configure"
3266 #include "confdefs.h"
3272 if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3275 echo "configure: failed program was:" >&5
3276 cat conftest.$ac_ext >&5
3281 cat > conftest.$ac_ext <<EOF
3282 #line 3283 "configure"
3283 #include "confdefs.h"
3286 isgreaterequal(0.0,0.0);
3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3292 echo "configure: failed program was:" >&5
3293 cat conftest.$ac_ext >&5
3298 cat > conftest.$ac_ext <<EOF
3299 #line 3300 "configure"
3300 #include "confdefs.h"
3306 if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 echo "configure: failed program was:" >&5
3310 cat conftest.$ac_ext >&5
3315 cat > conftest.$ac_ext <<EOF
3316 #line 3317 "configure"
3317 #include "confdefs.h"
3320 islessequal(0.0,0.0);
3323 if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3326 echo "configure: failed program was:" >&5
3327 cat conftest.$ac_ext >&5
3332 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure"
3334 #include "confdefs.h"
3337 islessgreater(0.0,0.0);
3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 echo "configure: failed program was:" >&5
3344 cat conftest.$ac_ext >&5
3349 cat > conftest.$ac_ext <<EOF
3350 #line 3351 "configure"
3351 #include "confdefs.h"
3354 isunordered(0.0,0.0);
3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3360 echo "configure: failed program was:" >&5
3361 cat conftest.$ac_ext >&5
3366 echo "$ac_t""$ac_c99_math" 1>&6
3368 # Check for the existence in <stdio.h> of vscanf, et. al.
3370 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3371 echo "configure:3372: checking for ISO C99 support in <stdio.h>" >&5
3372 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure"
3374 #include "confdefs.h"
3377 snprintf("12", 0, "%i");
3380 if { (eval echo configure:3381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3383 echo "configure: failed program was:" >&5
3384 cat conftest.$ac_ext >&5
3389 cat > conftest.$ac_ext <<EOF
3390 #line 3391 "configure"
3391 #include "confdefs.h"
3394 void foo(char* fmt, ...)
3395 {va_list args; va_start(args, fmt);
3396 vfscanf(stderr, "%i", args);}
3401 if { (eval echo configure:3402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3404 echo "configure: failed program was:" >&5
3405 cat conftest.$ac_ext >&5
3410 cat > conftest.$ac_ext <<EOF
3411 #line 3412 "configure"
3412 #include "confdefs.h"
3415 void foo(char* fmt, ...)
3416 {va_list args; va_start(args, fmt);
3417 vscanf("%i", args);}
3422 if { (eval echo configure:3423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3425 echo "configure: failed program was:" >&5
3426 cat conftest.$ac_ext >&5
3431 cat > conftest.$ac_ext <<EOF
3432 #line 3433 "configure"
3433 #include "confdefs.h"
3436 void foo(char* fmt, ...)
3437 {va_list args; va_start(args, fmt);
3438 vsnprintf(fmt, 0, "%i", args);}
3443 if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3446 echo "configure: failed program was:" >&5
3447 cat conftest.$ac_ext >&5
3452 cat > conftest.$ac_ext <<EOF
3453 #line 3454 "configure"
3454 #include "confdefs.h"
3457 void foo(char* fmt, ...)
3458 {va_list args; va_start(args, fmt);
3459 vsscanf(fmt, "%i", args);}
3464 if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3467 echo "configure: failed program was:" >&5
3468 cat conftest.$ac_ext >&5
3473 echo "$ac_t""$ac_c99_stdio" 1>&6
3475 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3477 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3478 echo "configure:3479: checking for lldiv_t declaration" >&5
3479 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3480 echo $ac_n "(cached) $ac_c" 1>&6
3483 cat > conftest.$ac_ext <<EOF
3484 #line 3485 "configure"
3485 #include "confdefs.h"
3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 echo "configure: failed program was:" >&5
3496 cat conftest.$ac_ext >&5
3504 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3506 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3507 echo "configure:3508: checking for ISO C99 support in <stdlib.h>" >&5
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3513 char* tmp; strtof("gnu", &tmp);
3516 if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3519 echo "configure: failed program was:" >&5
3520 cat conftest.$ac_ext >&5
3525 cat > conftest.$ac_ext <<EOF
3526 #line 3527 "configure"
3527 #include "confdefs.h"
3530 char* tmp; strtold("gnu", &tmp);
3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3536 echo "configure: failed program was:" >&5
3537 cat conftest.$ac_ext >&5
3542 cat > conftest.$ac_ext <<EOF
3543 #line 3544 "configure"
3544 #include "confdefs.h"
3550 if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3553 echo "configure: failed program was:" >&5
3554 cat conftest.$ac_ext >&5
3559 cat > conftest.$ac_ext <<EOF
3560 #line 3561 "configure"
3561 #include "confdefs.h"
3567 if { (eval echo configure:3568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3570 echo "configure: failed program was:" >&5
3571 cat conftest.$ac_ext >&5
3576 cat > conftest.$ac_ext <<EOF
3577 #line 3578 "configure"
3578 #include "confdefs.h"
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3587 echo "configure: failed program was:" >&5
3588 cat conftest.$ac_ext >&5
3593 cat > conftest.$ac_ext <<EOF
3594 #line 3595 "configure"
3595 #include "confdefs.h"
3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3604 echo "configure: failed program was:" >&5
3605 cat conftest.$ac_ext >&5
3610 if test x"$ac_c99_lldiv_t" = x"no"; then
3613 echo "$ac_t""$ac_c99_stdlib" 1>&6
3615 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3616 # XXX the wchar.h checks should be rolled into the general C99 bits.
3618 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3619 echo "configure:3620: checking for additional ISO C99 support in <wchar.h>" >&5
3620 cat > conftest.$ac_ext <<EOF
3621 #line 3622 "configure"
3622 #include "confdefs.h"
3625 wcstold(L"10.0", NULL);
3628 if { (eval echo configure:3629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3631 echo "configure: failed program was:" >&5
3632 cat conftest.$ac_ext >&5
3637 cat > conftest.$ac_ext <<EOF
3638 #line 3639 "configure"
3639 #include "confdefs.h"
3642 wcstoll(L"10", NULL, 10);
3645 if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3648 echo "configure: failed program was:" >&5
3649 cat conftest.$ac_ext >&5
3654 cat > conftest.$ac_ext <<EOF
3655 #line 3656 "configure"
3656 #include "confdefs.h"
3659 wcstoull(L"10", NULL, 10);
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure: failed program was:" >&5
3666 cat conftest.$ac_ext >&5
3671 echo "$ac_t""$ac_c99_wchar" 1>&6
3673 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3674 echo "configure:3675: checking for enabled ISO C99 support" >&5
3675 if test x"$ac_c99_math" = x"no" ||
3676 test x"$ac_c99_stdio" = x"no" ||
3677 test x"$ac_c99_stdlib" = x"no" ||
3678 test x"$ac_c99_wchar" = x"no"; then
3681 echo "$ac_t""$enable_c99" 1>&6
3683 # Option parsed, now set things appropriately
3684 if test x"$enable_c99" = x"yes"; then
3685 cat >> confdefs.h <<\EOF
3686 #define _GLIBCPP_USE_C99 1
3692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3696 cross_compiling=$ac_cv_prog_cc_cross
3700 # Check whether --enable-long-long or --disable-long-long was given.
3701 if test "${enable_long_long+set}" = set; then
3702 enableval="$enable_long_long"
3703 case "$enableval" in
3704 yes) enable_long_long=yes ;;
3705 no) enable_long_long=no ;;
3706 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3709 enable_long_long=yes
3714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3715 ac_cpp='$CXXCPP $CPPFLAGS'
3716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3718 cross_compiling=$ac_cv_prog_cxx_cross
3721 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3722 echo "configure:3723: checking for enabled long long I/O support" >&5
3723 # iostreams require strtoll, strtoull to compile
3724 cat > conftest.$ac_ext <<EOF
3725 #line 3726 "configure"
3726 #include "confdefs.h"
3729 char* tmp; strtoll("gnu", &tmp, 10);
3732 if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3735 echo "configure: failed program was:" >&5
3736 cat conftest.$ac_ext >&5
3741 cat > conftest.$ac_ext <<EOF
3742 #line 3743 "configure"
3743 #include "confdefs.h"
3746 char* tmp; strtoull("gnu", &tmp, 10);
3749 if { (eval echo configure:3750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3752 echo "configure: failed program was:" >&5
3753 cat conftest.$ac_ext >&5
3759 # Option parsed, now set things appropriately
3760 if test x"$enable_long_long" = xyes; then
3761 cat >> confdefs.h <<\EOF
3762 #define _GLIBCPP_USE_LONG_LONG 1
3766 echo "$ac_t""$enable_long_long" 1>&6
3769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3773 cross_compiling=$ac_cv_prog_cc_cross
3776 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3777 echo "configure:3778: checking for c header strategy to use" >&5
3778 # Check whether --enable-cheaders or --disable-cheaders was given.
3779 if test "${enable_cheaders+set}" = set; then
3780 enableval="$enable_cheaders"
3782 case "$enableval" in
3787 enable_cheaders=c_std
3790 enable_cheaders=c_shadow
3792 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3796 enable_cheaders=c_std
3799 echo "$ac_t""$enable_cheaders" 1>&6
3801 case "$enable_cheaders" in
3803 CSHADOW_FLAGS="-fno-builtin"
3804 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3805 cat >> confdefs.h <<\EOF
3806 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3812 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3816 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3824 if test "$enable_cheaders" = c_shadow; then
3825 GLIBCPP_USE_CSHADOW_TRUE=
3826 GLIBCPP_USE_CSHADOW_FALSE='#'
3828 GLIBCPP_USE_CSHADOW_TRUE='#'
3829 GLIBCPP_USE_CSHADOW_FALSE=
3833 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3834 echo "configure:3835: checking for thread model used by GCC" >&5
3835 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3836 echo "$ac_t""$target_thread_file" 1>&6
3838 if test $target_thread_file != single; then
3839 cat >> confdefs.h <<\EOF
3840 #define HAVE_GTHR_DEFAULT 1
3843 cat >> confdefs.h <<\EOF
3844 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3849 glibcpp_thread_h=gthr-$target_thread_file.h
3852 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3853 if test "${enable_cxx_flags+set}" = set; then
3854 enableval="$enable_cxx_flags"
3855 case "x$enableval" in
3857 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3859 enable_cxx_flags='' ;;
3861 enable_cxx_flags="$enableval" ;;
3864 enable_cxx_flags='none'
3868 if test "$enable_cxx_flags" = "none"; then
3869 enable_cxx_flags='';
3872 if test -n "$enable_cxx_flags"; then
3873 for f in $enable_cxx_flags; do
3877 *) # and we're trying to pass /what/ exactly?
3878 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3882 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3886 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3887 echo "configure:3888: checking for exception model to use" >&5
3890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3891 ac_cpp='$CXXCPP $CPPFLAGS'
3892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3894 cross_compiling=$ac_cv_prog_cxx_cross
3896 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3897 if test "${enable_sjlj_exceptions+set}" = set; then
3898 enableval="$enable_sjlj_exceptions"
3901 cat > conftest.$ac_ext << EOF
3902 #line 3903 "configure"
3911 old_CXXFLAGS="$CXXFLAGS"
3913 if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3914 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3915 enable_sjlj_exceptions=yes
3916 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3917 enable_sjlj_exceptions=no
3920 CXXFLAGS="$old_CXXFLAGS"
3924 if test x$enable_sjlj_exceptions = xyes; then
3925 cat >> confdefs.h <<\EOF
3926 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3929 ac_exception_model_name=sjlj
3930 elif test x$enable_sjlj_exceptions = xno; then
3931 ac_exception_model_name="call frame"
3933 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3940 cross_compiling=$ac_cv_prog_cc_cross
3942 echo "$ac_t""$ac_exception_model_name" 1>&6
3944 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3945 if test "${enable_concept_checks+set}" = set; then
3946 enableval="$enable_concept_checks"
3947 case "$enableval" in
3948 yes) enable_concept_checks=yes ;;
3949 no) enable_concept_checks=no ;;
3950 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3953 enable_concept_checks=no
3955 if test x"$enable_concept_checks" = xyes; then
3956 cat >> confdefs.h <<\EOF
3957 #define _GLIBCPP_CONCEPT_CHECKS 1
3964 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3966 # This lets us hard-code the functionality we know
3967 # we'll have in the cross target environment. "Let" is a
3968 # sugar-coated word placed on an especially dull and tedious hack, actually.
3969 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3970 # that involve linking can't be used:
3971 # "cannot open sim-crt0.o"
3972 # "cannot open crt0.o"
3973 # etc. All this is because there currently exists no unified,
3974 # consistent way for top level CC information to be passed down
3975 # to target directories: newlib includes, newlib linking info,
3976 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3977 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3979 # We are being configured with some form of cross compiler.
3980 GLIBCPP_IS_CROSS_COMPILING=1
3982 # If Canadian cross, then don't pick up tools from the build
3984 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3990 # Construct crosses by hand, eliminating bits that need ld...
3991 # GLIBCPP_CHECK_COMPILER_FEATURES
3992 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3993 # GLIBCPP_CHECK_MATH_SUPPORT
3995 case "$target_alias" in
3997 # Check for available headers.
3998 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3999 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4000 fp.h locale.h float.h inttypes.h
4002 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4003 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4004 echo "configure:4005: checking for $ac_hdr" >&5
4005 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4006 echo $ac_n "(cached) $ac_c" 1>&6
4008 cat > conftest.$ac_ext <<EOF
4009 #line 4010 "configure"
4010 #include "confdefs.h"
4013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4014 { (eval echo configure:4015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4016 if test -z "$ac_err"; then
4018 eval "ac_cv_header_$ac_safe=yes"
4021 echo "configure: failed program was:" >&5
4022 cat conftest.$ac_ext >&5
4024 eval "ac_cv_header_$ac_safe=no"
4028 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4029 echo "$ac_t""yes" 1>&6
4030 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4031 cat >> confdefs.h <<EOF
4032 #define $ac_tr_hdr 1
4036 echo "$ac_t""no" 1>&6
4040 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4043 # If we're not using GNU ld, then there's no point in even trying these
4044 # tests. Check for that first. We should have already tested for gld
4045 # by now (in libtool), but require it now just to be safe...
4050 # Set --gc-sections.
4051 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4052 # GNU ld it is! Joy and bunny rabbits!
4054 # All these tests are for C++; save the language and the compiler flags.
4055 # Need to do this so that g++ won't try to link in libstdc++
4056 ac_test_CFLAGS="${CFLAGS+set}"
4057 ac_save_CFLAGS="$CFLAGS"
4058 CFLAGS='-x c++ -Wl,--gc-sections'
4060 # Check for -Wl,--gc-sections
4061 # XXX This test is broken at the moment, as symbols required for
4062 # linking are now in libsupc++ (not built yet.....). In addition,
4063 # this test has cored on solaris in the past. In addition,
4064 # --gc-sections doesn't really work at the moment (keeps on discarding
4065 # used sections, first .eh_frame and now some of the glibc sections for
4066 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4067 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4068 echo "configure:4069: checking for ld that supports -Wl,--gc-sections" >&5
4069 if test "$cross_compiling" = yes; then
4070 ac_sectionLDflags=yes
4072 cat > conftest.$ac_ext <<EOF
4073 #line 4074 "configure"
4074 #include "confdefs.h"
4084 if { (eval echo configure:4085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4086 ac_sectionLDflags=yes
4088 echo "configure: failed program was:" >&5
4089 cat conftest.$ac_ext >&5
4091 ac_sectionLFflags=no
4096 if test "$ac_test_CFLAGS" = set; then
4097 CFLAGS="$ac_save_CFLAGS"
4099 # this is the suspicious part
4102 if test "$ac_sectionLDflags" = "yes"; then
4103 SECTION_LDFLAGS='-Wl,--gc-sections'
4105 echo "$ac_t""$ac_sectionLDflags" 1>&6
4108 # Set linker optimization flags.
4109 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4110 test x"$enable_debug" = x"no"; then
4111 OPT_LDFLAGS='-Wl,-O1'
4118 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4119 echo "configure:4120: checking for main in -lm" >&5
4120 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4122 echo $ac_n "(cached) $ac_c" 1>&6
4124 ac_save_LIBS="$LIBS"
4126 cat > conftest.$ac_ext <<EOF
4127 #line 4128 "configure"
4128 #include "confdefs.h"
4134 if { (eval echo configure:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4136 eval "ac_cv_lib_$ac_lib_var=yes"
4138 echo "configure: failed program was:" >&5
4139 cat conftest.$ac_ext >&5
4141 eval "ac_cv_lib_$ac_lib_var=no"
4144 LIBS="$ac_save_LIBS"
4147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4148 echo "$ac_t""yes" 1>&6
4149 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4150 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4151 cat >> confdefs.h <<EOF
4152 #define $ac_tr_lib 1
4158 echo "$ac_t""no" 1>&6
4161 for ac_func in nan copysignf
4163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4164 echo "configure:4165: checking for $ac_func" >&5
4165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4166 echo $ac_n "(cached) $ac_c" 1>&6
4168 cat > conftest.$ac_ext <<EOF
4169 #line 4170 "configure"
4170 #include "confdefs.h"
4171 /* System header to define __stub macros and hopefully few prototypes,
4172 which can conflict with char $ac_func(); below. */
4174 /* Override any gcc2 internal prototype to avoid an error. */
4175 /* We use char because int might match the return type of a gcc2
4176 builtin and then its argument prototype would still apply. */
4181 /* The GNU C library defines this for functions which it implements
4182 to always fail with ENOSYS. Some functions are actually named
4183 something starting with __ and the normal name is an alias. */
4184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4192 if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4194 eval "ac_cv_func_$ac_func=yes"
4196 echo "configure: failed program was:" >&5
4197 cat conftest.$ac_ext >&5
4199 eval "ac_cv_func_$ac_func=no"
4204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4205 echo "$ac_t""yes" 1>&6
4206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4207 cat >> confdefs.h <<EOF
4208 #define $ac_tr_func 1
4212 echo "$ac_t""no" 1>&6
4213 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4219 USE_COMPLEX_LONG_DOUBLE=no
4220 if test x$ac_cv_func_copysignl = x"yes"; then
4221 USE_COMPLEX_LONG_DOUBLE=yes
4222 for ac_func in signbitl
4224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4225 echo "configure:4226: checking for $ac_func" >&5
4226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4227 echo $ac_n "(cached) $ac_c" 1>&6
4229 cat > conftest.$ac_ext <<EOF
4230 #line 4231 "configure"
4231 #include "confdefs.h"
4232 /* System header to define __stub macros and hopefully few prototypes,
4233 which can conflict with char $ac_func(); below. */
4235 /* Override any gcc2 internal prototype to avoid an error. */
4236 /* We use char because int might match the return type of a gcc2
4237 builtin and then its argument prototype would still apply. */
4242 /* The GNU C library defines this for functions which it implements
4243 to always fail with ENOSYS. Some functions are actually named
4244 something starting with __ and the normal name is an alias. */
4245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4255 eval "ac_cv_func_$ac_func=yes"
4257 echo "configure: failed program was:" >&5
4258 cat conftest.$ac_ext >&5
4260 eval "ac_cv_func_$ac_func=no"
4265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4266 echo "$ac_t""yes" 1>&6
4267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4268 cat >> confdefs.h <<EOF
4269 #define $ac_tr_func 1
4273 echo "$ac_t""no" 1>&6
4274 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4285 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4286 echo "configure:4287: checking for mbstate_t" >&5
4287 cat > conftest.$ac_ext <<EOF
4288 #line 4289 "configure"
4289 #include "confdefs.h"
4292 mbstate_t teststate;
4295 if { (eval echo configure:4296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4299 echo "configure: failed program was:" >&5
4300 cat conftest.$ac_ext >&5
4305 echo "$ac_t""$have_mbstate_t" 1>&6
4306 if test x"$have_mbstate_t" = xyes; then
4307 cat >> confdefs.h <<\EOF
4308 #define HAVE_MBSTATE_T 1
4313 for ac_hdr in wchar.h
4315 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4317 echo "configure:4318: checking for $ac_hdr" >&5
4318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4319 echo $ac_n "(cached) $ac_c" 1>&6
4321 cat > conftest.$ac_ext <<EOF
4322 #line 4323 "configure"
4323 #include "confdefs.h"
4326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4327 { (eval echo configure:4328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4329 if test -z "$ac_err"; then
4331 eval "ac_cv_header_$ac_safe=yes"
4334 echo "configure: failed program was:" >&5
4335 cat conftest.$ac_ext >&5
4337 eval "ac_cv_header_$ac_safe=no"
4341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4342 echo "$ac_t""yes" 1>&6
4343 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4344 cat >> confdefs.h <<EOF
4345 #define $ac_tr_hdr 1
4349 echo "$ac_t""no" 1>&6
4354 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4355 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4356 echo "configure:4357: checking for wctype.h" >&5
4357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4358 echo $ac_n "(cached) $ac_c" 1>&6
4360 cat > conftest.$ac_ext <<EOF
4361 #line 4362 "configure"
4362 #include "confdefs.h"
4365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4366 { (eval echo configure:4367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4368 if test -z "$ac_err"; then
4370 eval "ac_cv_header_$ac_safe=yes"
4373 echo "configure: failed program was:" >&5
4374 cat conftest.$ac_ext >&5
4376 eval "ac_cv_header_$ac_safe=no"
4380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4381 echo "$ac_t""yes" 1>&6
4384 echo "$ac_t""no" 1>&6
4389 if test x"$ac_has_wchar_h" = xyes &&
4390 test x"$ac_has_wctype_h" = xyes &&
4391 test x"$enable_c_mbchar" != xno; then
4393 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4394 echo "configure:4395: checking for WCHAR_MIN and WCHAR_MAX" >&5
4395 cat > conftest.$ac_ext <<EOF
4396 #line 4397 "configure"
4397 #include "confdefs.h"
4400 int i = WCHAR_MIN; int j = WCHAR_MAX;
4403 if { (eval echo configure:4404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4405 has_wchar_minmax=yes
4407 echo "configure: failed program was:" >&5
4408 cat conftest.$ac_ext >&5
4413 echo "$ac_t""$has_wchar_minmax" 1>&6
4415 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4416 echo "configure:4417: checking for WEOF" >&5
4417 cat > conftest.$ac_ext <<EOF
4418 #line 4419 "configure"
4419 #include "confdefs.h"
4427 if { (eval echo configure:4428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4431 echo "configure: failed program was:" >&5
4432 cat conftest.$ac_ext >&5
4437 echo "$ac_t""$has_weof" 1>&6
4440 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4443 echo "configure:4444: checking for $ac_func" >&5
4444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4445 echo $ac_n "(cached) $ac_c" 1>&6
4447 cat > conftest.$ac_ext <<EOF
4448 #line 4449 "configure"
4449 #include "confdefs.h"
4450 /* System header to define __stub macros and hopefully few prototypes,
4451 which can conflict with char $ac_func(); below. */
4453 /* Override any gcc2 internal prototype to avoid an error. */
4454 /* We use char because int might match the return type of a gcc2
4455 builtin and then its argument prototype would still apply. */
4460 /* The GNU C library defines this for functions which it implements
4461 to always fail with ENOSYS. Some functions are actually named
4462 something starting with __ and the normal name is an alias. */
4463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4471 if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4473 eval "ac_cv_func_$ac_func=yes"
4475 echo "configure: failed program was:" >&5
4476 cat conftest.$ac_ext >&5
4478 eval "ac_cv_func_$ac_func=no"
4483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4484 echo "$ac_t""yes" 1>&6
4485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4486 cat >> confdefs.h <<EOF
4487 #define $ac_tr_func 1
4491 echo "$ac_t""no" 1>&6
4498 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4499 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4500 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4501 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4502 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4503 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4506 echo "configure:4507: checking for $ac_func" >&5
4507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4508 echo $ac_n "(cached) $ac_c" 1>&6
4510 cat > conftest.$ac_ext <<EOF
4511 #line 4512 "configure"
4512 #include "confdefs.h"
4513 /* System header to define __stub macros and hopefully few prototypes,
4514 which can conflict with char $ac_func(); below. */
4516 /* Override any gcc2 internal prototype to avoid an error. */
4517 /* We use char because int might match the return type of a gcc2
4518 builtin and then its argument prototype would still apply. */
4523 /* The GNU C library defines this for functions which it implements
4524 to always fail with ENOSYS. Some functions are actually named
4525 something starting with __ and the normal name is an alias. */
4526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4536 eval "ac_cv_func_$ac_func=yes"
4538 echo "configure: failed program was:" >&5
4539 cat conftest.$ac_ext >&5
4541 eval "ac_cv_func_$ac_func=no"
4546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4547 echo "$ac_t""yes" 1>&6
4548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4549 cat >> confdefs.h <<EOF
4550 #define $ac_tr_func 1
4554 echo "$ac_t""no" 1>&6
4561 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4562 echo "configure:4563: checking for ISO C99 wchar_t support" >&5
4563 if test x"$has_weof" = xyes &&
4564 test x"$has_wchar_minmax" = xyes &&
4565 test x"$ac_wfuncs" = xyes; then
4566 ac_isoC99_wchar_t=yes
4568 ac_isoC99_wchar_t=no
4570 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4572 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4573 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4574 echo "configure:4575: checking for iconv.h" >&5
4575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4576 echo $ac_n "(cached) $ac_c" 1>&6
4578 cat > conftest.$ac_ext <<EOF
4579 #line 4580 "configure"
4580 #include "confdefs.h"
4583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4584 { (eval echo configure:4585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4586 if test -z "$ac_err"; then
4588 eval "ac_cv_header_$ac_safe=yes"
4591 echo "configure: failed program was:" >&5
4592 cat conftest.$ac_ext >&5
4594 eval "ac_cv_header_$ac_safe=no"
4598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4599 echo "$ac_t""yes" 1>&6
4602 echo "$ac_t""no" 1>&6
4606 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4607 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4608 echo "configure:4609: checking for langinfo.h" >&5
4609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4610 echo $ac_n "(cached) $ac_c" 1>&6
4612 cat > conftest.$ac_ext <<EOF
4613 #line 4614 "configure"
4614 #include "confdefs.h"
4615 #include <langinfo.h>
4617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4618 { (eval echo configure:4619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4620 if test -z "$ac_err"; then
4622 eval "ac_cv_header_$ac_safe=yes"
4625 echo "configure: failed program was:" >&5
4626 cat conftest.$ac_ext >&5
4628 eval "ac_cv_header_$ac_safe=no"
4632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4633 echo "$ac_t""yes" 1>&6
4634 ac_has_langinfo_h=yes
4636 echo "$ac_t""no" 1>&6
4637 ac_has_langinfo_h=no
4641 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4642 echo "configure:4643: checking for iconv in -liconv" >&5
4643 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4645 echo $ac_n "(cached) $ac_c" 1>&6
4647 ac_save_LIBS="$LIBS"
4648 LIBS="-liconv $LIBS"
4649 cat > conftest.$ac_ext <<EOF
4650 #line 4651 "configure"
4651 #include "confdefs.h"
4652 /* Override any gcc2 internal prototype to avoid an error. */
4653 /* We use char because int might match the return type of a gcc2
4654 builtin and then its argument prototype would still apply. */
4661 if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4663 eval "ac_cv_lib_$ac_lib_var=yes"
4665 echo "configure: failed program was:" >&5
4666 cat conftest.$ac_ext >&5
4668 eval "ac_cv_lib_$ac_lib_var=no"
4671 LIBS="$ac_save_LIBS"
4674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4675 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4681 ac_save_LIBS="$LIBS"
4682 LIBS="$LIBS $libiconv"
4684 for ac_func in iconv_open iconv_close iconv nl_langinfo
4686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4687 echo "configure:4688: checking for $ac_func" >&5
4688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4689 echo $ac_n "(cached) $ac_c" 1>&6
4691 cat > conftest.$ac_ext <<EOF
4692 #line 4693 "configure"
4693 #include "confdefs.h"
4694 /* System header to define __stub macros and hopefully few prototypes,
4695 which can conflict with char $ac_func(); below. */
4697 /* Override any gcc2 internal prototype to avoid an error. */
4698 /* We use char because int might match the return type of a gcc2
4699 builtin and then its argument prototype would still apply. */
4704 /* The GNU C library defines this for functions which it implements
4705 to always fail with ENOSYS. Some functions are actually named
4706 something starting with __ and the normal name is an alias. */
4707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4715 if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4717 eval "ac_cv_func_$ac_func=yes"
4719 echo "configure: failed program was:" >&5
4720 cat conftest.$ac_ext >&5
4722 eval "ac_cv_func_$ac_func=no"
4727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4728 echo "$ac_t""yes" 1>&6
4729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4730 cat >> confdefs.h <<EOF
4731 #define $ac_tr_func 1
4736 echo "$ac_t""no" 1>&6
4742 LIBS="$ac_save_LIBS"
4744 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4745 echo "configure:4746: checking for XPG2 wchar_t support" >&5
4746 if test x"$ac_has_iconv_h" = xyes &&
4747 test x"$ac_has_langinfo_h" = xyes &&
4748 test x"$ac_XPG2funcs" = xyes; then
4753 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4755 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4756 echo "configure:4757: checking for enabled wchar_t specializations" >&5
4757 if test x"$ac_isoC99_wchar_t" = xyes &&
4758 test x"$ac_XPG2_wchar_t" = xyes; then
4759 cat >> confdefs.h <<\EOF
4760 #define _GLIBCPP_USE_WCHAR_T 1
4763 echo "$ac_t"""yes"" 1>&6
4765 echo "$ac_t"""no"" 1>&6
4768 echo "configure: warning: wchar_t support disabled." 1>&2
4771 os_include_dir="config/os/gnu-linux"
4772 cat >> confdefs.h <<\EOF
4773 #define HAVE_COPYSIGN 1
4776 cat >> confdefs.h <<\EOF
4777 #define HAVE_COPYSIGNF 1
4780 cat >> confdefs.h <<\EOF
4781 #define HAVE_FINITEF 1
4784 cat >> confdefs.h <<\EOF
4785 #define HAVE_FREXPF 1
4788 cat >> confdefs.h <<\EOF
4789 #define HAVE_HYPOTF 1
4792 cat >> confdefs.h <<\EOF
4793 #define HAVE_SINCOS 1
4796 cat >> confdefs.h <<\EOF
4797 #define HAVE_SINCOSF 1
4800 if test x"long_double_math_on_this_cpu" = x"yes"; then
4801 cat >> confdefs.h <<\EOF
4802 #define HAVE_HYPOTL 1
4808 # Check for available headers.
4809 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4810 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4811 fp.h locale.h float.h inttypes.h
4813 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4814 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4815 echo "configure:4816: checking for $ac_hdr" >&5
4816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4817 echo $ac_n "(cached) $ac_c" 1>&6
4819 cat > conftest.$ac_ext <<EOF
4820 #line 4821 "configure"
4821 #include "confdefs.h"
4824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4825 { (eval echo configure:4826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4827 if test -z "$ac_err"; then
4829 eval "ac_cv_header_$ac_safe=yes"
4832 echo "configure: failed program was:" >&5
4833 cat conftest.$ac_ext >&5
4835 eval "ac_cv_header_$ac_safe=no"
4839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4840 echo "$ac_t""yes" 1>&6
4841 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4842 cat >> confdefs.h <<EOF
4843 #define $ac_tr_hdr 1
4847 echo "$ac_t""no" 1>&6
4851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4854 # If we're not using GNU ld, then there's no point in even trying these
4855 # tests. Check for that first. We should have already tested for gld
4856 # by now (in libtool), but require it now just to be safe...
4861 # Set --gc-sections.
4862 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4863 # GNU ld it is! Joy and bunny rabbits!
4865 # All these tests are for C++; save the language and the compiler flags.
4866 # Need to do this so that g++ won't try to link in libstdc++
4867 ac_test_CFLAGS="${CFLAGS+set}"
4868 ac_save_CFLAGS="$CFLAGS"
4869 CFLAGS='-x c++ -Wl,--gc-sections'
4871 # Check for -Wl,--gc-sections
4872 # XXX This test is broken at the moment, as symbols required for
4873 # linking are now in libsupc++ (not built yet.....). In addition,
4874 # this test has cored on solaris in the past. In addition,
4875 # --gc-sections doesn't really work at the moment (keeps on discarding
4876 # used sections, first .eh_frame and now some of the glibc sections for
4877 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4878 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4879 echo "configure:4880: checking for ld that supports -Wl,--gc-sections" >&5
4880 if test "$cross_compiling" = yes; then
4881 ac_sectionLDflags=yes
4883 cat > conftest.$ac_ext <<EOF
4884 #line 4885 "configure"
4885 #include "confdefs.h"
4895 if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4897 ac_sectionLDflags=yes
4899 echo "configure: failed program was:" >&5
4900 cat conftest.$ac_ext >&5
4902 ac_sectionLFflags=no
4907 if test "$ac_test_CFLAGS" = set; then
4908 CFLAGS="$ac_save_CFLAGS"
4910 # this is the suspicious part
4913 if test "$ac_sectionLDflags" = "yes"; then
4914 SECTION_LDFLAGS='-Wl,--gc-sections'
4916 echo "$ac_t""$ac_sectionLDflags" 1>&6
4919 # Set linker optimization flags.
4920 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4921 test x"$enable_debug" = x"no"; then
4922 OPT_LDFLAGS='-Wl,-O1'
4929 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4930 echo "configure:4931: checking for main in -lm" >&5
4931 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4933 echo $ac_n "(cached) $ac_c" 1>&6
4935 ac_save_LIBS="$LIBS"
4937 cat > conftest.$ac_ext <<EOF
4938 #line 4939 "configure"
4939 #include "confdefs.h"
4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4947 eval "ac_cv_lib_$ac_lib_var=yes"
4949 echo "configure: failed program was:" >&5
4950 cat conftest.$ac_ext >&5
4952 eval "ac_cv_lib_$ac_lib_var=no"
4955 LIBS="$ac_save_LIBS"
4958 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4959 echo "$ac_t""yes" 1>&6
4960 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4961 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4962 cat >> confdefs.h <<EOF
4963 #define $ac_tr_lib 1
4969 echo "$ac_t""no" 1>&6
4972 for ac_func in nan copysignf
4974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4975 echo "configure:4976: checking for $ac_func" >&5
4976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4977 echo $ac_n "(cached) $ac_c" 1>&6
4979 cat > conftest.$ac_ext <<EOF
4980 #line 4981 "configure"
4981 #include "confdefs.h"
4982 /* System header to define __stub macros and hopefully few prototypes,
4983 which can conflict with char $ac_func(); below. */
4985 /* Override any gcc2 internal prototype to avoid an error. */
4986 /* We use char because int might match the return type of a gcc2
4987 builtin and then its argument prototype would still apply. */
4992 /* The GNU C library defines this for functions which it implements
4993 to always fail with ENOSYS. Some functions are actually named
4994 something starting with __ and the normal name is an alias. */
4995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5003 if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5005 eval "ac_cv_func_$ac_func=yes"
5007 echo "configure: failed program was:" >&5
5008 cat conftest.$ac_ext >&5
5010 eval "ac_cv_func_$ac_func=no"
5015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5016 echo "$ac_t""yes" 1>&6
5017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5018 cat >> confdefs.h <<EOF
5019 #define $ac_tr_func 1
5023 echo "$ac_t""no" 1>&6
5024 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5030 USE_COMPLEX_LONG_DOUBLE=no
5031 if test x$ac_cv_func_copysignl = x"yes"; then
5032 USE_COMPLEX_LONG_DOUBLE=yes
5033 for ac_func in signbitl
5035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5036 echo "configure:5037: checking for $ac_func" >&5
5037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5038 echo $ac_n "(cached) $ac_c" 1>&6
5040 cat > conftest.$ac_ext <<EOF
5041 #line 5042 "configure"
5042 #include "confdefs.h"
5043 /* System header to define __stub macros and hopefully few prototypes,
5044 which can conflict with char $ac_func(); below. */
5046 /* Override any gcc2 internal prototype to avoid an error. */
5047 /* We use char because int might match the return type of a gcc2
5048 builtin and then its argument prototype would still apply. */
5053 /* The GNU C library defines this for functions which it implements
5054 to always fail with ENOSYS. Some functions are actually named
5055 something starting with __ and the normal name is an alias. */
5056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5066 eval "ac_cv_func_$ac_func=yes"
5068 echo "configure: failed program was:" >&5
5069 cat conftest.$ac_ext >&5
5071 eval "ac_cv_func_$ac_func=no"
5076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5077 echo "$ac_t""yes" 1>&6
5078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5079 cat >> confdefs.h <<EOF
5080 #define $ac_tr_func 1
5084 echo "$ac_t""no" 1>&6
5085 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5096 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5097 echo "configure:5098: checking for mbstate_t" >&5
5098 cat > conftest.$ac_ext <<EOF
5099 #line 5100 "configure"
5100 #include "confdefs.h"
5103 mbstate_t teststate;
5106 if { (eval echo configure:5107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5110 echo "configure: failed program was:" >&5
5111 cat conftest.$ac_ext >&5
5116 echo "$ac_t""$have_mbstate_t" 1>&6
5117 if test x"$have_mbstate_t" = xyes; then
5118 cat >> confdefs.h <<\EOF
5119 #define HAVE_MBSTATE_T 1
5124 for ac_hdr in wchar.h
5126 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5128 echo "configure:5129: checking for $ac_hdr" >&5
5129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5130 echo $ac_n "(cached) $ac_c" 1>&6
5132 cat > conftest.$ac_ext <<EOF
5133 #line 5134 "configure"
5134 #include "confdefs.h"
5137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5138 { (eval echo configure:5139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5140 if test -z "$ac_err"; then
5142 eval "ac_cv_header_$ac_safe=yes"
5145 echo "configure: failed program was:" >&5
5146 cat conftest.$ac_ext >&5
5148 eval "ac_cv_header_$ac_safe=no"
5152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5153 echo "$ac_t""yes" 1>&6
5154 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5155 cat >> confdefs.h <<EOF
5156 #define $ac_tr_hdr 1
5160 echo "$ac_t""no" 1>&6
5165 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5166 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5167 echo "configure:5168: checking for wctype.h" >&5
5168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5169 echo $ac_n "(cached) $ac_c" 1>&6
5171 cat > conftest.$ac_ext <<EOF
5172 #line 5173 "configure"
5173 #include "confdefs.h"
5176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5177 { (eval echo configure:5178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5179 if test -z "$ac_err"; then
5181 eval "ac_cv_header_$ac_safe=yes"
5184 echo "configure: failed program was:" >&5
5185 cat conftest.$ac_ext >&5
5187 eval "ac_cv_header_$ac_safe=no"
5191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5192 echo "$ac_t""yes" 1>&6
5195 echo "$ac_t""no" 1>&6
5200 if test x"$ac_has_wchar_h" = xyes &&
5201 test x"$ac_has_wctype_h" = xyes &&
5202 test x"$enable_c_mbchar" != xno; then
5204 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5205 echo "configure:5206: checking for WCHAR_MIN and WCHAR_MAX" >&5
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure"
5208 #include "confdefs.h"
5211 int i = WCHAR_MIN; int j = WCHAR_MAX;
5214 if { (eval echo configure:5215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5216 has_wchar_minmax=yes
5218 echo "configure: failed program was:" >&5
5219 cat conftest.$ac_ext >&5
5224 echo "$ac_t""$has_wchar_minmax" 1>&6
5226 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5227 echo "configure:5228: checking for WEOF" >&5
5228 cat > conftest.$ac_ext <<EOF
5229 #line 5230 "configure"
5230 #include "confdefs.h"
5238 if { (eval echo configure:5239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5242 echo "configure: failed program was:" >&5
5243 cat conftest.$ac_ext >&5
5248 echo "$ac_t""$has_weof" 1>&6
5251 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5254 echo "configure:5255: checking for $ac_func" >&5
5255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5256 echo $ac_n "(cached) $ac_c" 1>&6
5258 cat > conftest.$ac_ext <<EOF
5259 #line 5260 "configure"
5260 #include "confdefs.h"
5261 /* System header to define __stub macros and hopefully few prototypes,
5262 which can conflict with char $ac_func(); below. */
5264 /* Override any gcc2 internal prototype to avoid an error. */
5265 /* We use char because int might match the return type of a gcc2
5266 builtin and then its argument prototype would still apply. */
5271 /* The GNU C library defines this for functions which it implements
5272 to always fail with ENOSYS. Some functions are actually named
5273 something starting with __ and the normal name is an alias. */
5274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5282 if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5284 eval "ac_cv_func_$ac_func=yes"
5286 echo "configure: failed program was:" >&5
5287 cat conftest.$ac_ext >&5
5289 eval "ac_cv_func_$ac_func=no"
5294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5295 echo "$ac_t""yes" 1>&6
5296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5297 cat >> confdefs.h <<EOF
5298 #define $ac_tr_func 1
5302 echo "$ac_t""no" 1>&6
5309 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5310 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5311 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5312 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5313 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5314 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5317 echo "configure:5318: checking for $ac_func" >&5
5318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5319 echo $ac_n "(cached) $ac_c" 1>&6
5321 cat > conftest.$ac_ext <<EOF
5322 #line 5323 "configure"
5323 #include "confdefs.h"
5324 /* System header to define __stub macros and hopefully few prototypes,
5325 which can conflict with char $ac_func(); below. */
5327 /* Override any gcc2 internal prototype to avoid an error. */
5328 /* We use char because int might match the return type of a gcc2
5329 builtin and then its argument prototype would still apply. */
5334 /* The GNU C library defines this for functions which it implements
5335 to always fail with ENOSYS. Some functions are actually named
5336 something starting with __ and the normal name is an alias. */
5337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5345 if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5347 eval "ac_cv_func_$ac_func=yes"
5349 echo "configure: failed program was:" >&5
5350 cat conftest.$ac_ext >&5
5352 eval "ac_cv_func_$ac_func=no"
5357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5358 echo "$ac_t""yes" 1>&6
5359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5360 cat >> confdefs.h <<EOF
5361 #define $ac_tr_func 1
5365 echo "$ac_t""no" 1>&6
5372 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5373 echo "configure:5374: checking for ISO C99 wchar_t support" >&5
5374 if test x"$has_weof" = xyes &&
5375 test x"$has_wchar_minmax" = xyes &&
5376 test x"$ac_wfuncs" = xyes; then
5377 ac_isoC99_wchar_t=yes
5379 ac_isoC99_wchar_t=no
5381 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5383 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5384 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5385 echo "configure:5386: checking for iconv.h" >&5
5386 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5387 echo $ac_n "(cached) $ac_c" 1>&6
5389 cat > conftest.$ac_ext <<EOF
5390 #line 5391 "configure"
5391 #include "confdefs.h"
5394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5395 { (eval echo configure:5396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5397 if test -z "$ac_err"; then
5399 eval "ac_cv_header_$ac_safe=yes"
5402 echo "configure: failed program was:" >&5
5403 cat conftest.$ac_ext >&5
5405 eval "ac_cv_header_$ac_safe=no"
5409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5410 echo "$ac_t""yes" 1>&6
5413 echo "$ac_t""no" 1>&6
5417 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5418 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5419 echo "configure:5420: checking for langinfo.h" >&5
5420 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5421 echo $ac_n "(cached) $ac_c" 1>&6
5423 cat > conftest.$ac_ext <<EOF
5424 #line 5425 "configure"
5425 #include "confdefs.h"
5426 #include <langinfo.h>
5428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5429 { (eval echo configure:5430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5431 if test -z "$ac_err"; then
5433 eval "ac_cv_header_$ac_safe=yes"
5436 echo "configure: failed program was:" >&5
5437 cat conftest.$ac_ext >&5
5439 eval "ac_cv_header_$ac_safe=no"
5443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5444 echo "$ac_t""yes" 1>&6
5445 ac_has_langinfo_h=yes
5447 echo "$ac_t""no" 1>&6
5448 ac_has_langinfo_h=no
5452 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5453 echo "configure:5454: checking for iconv in -liconv" >&5
5454 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5455 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5456 echo $ac_n "(cached) $ac_c" 1>&6
5458 ac_save_LIBS="$LIBS"
5459 LIBS="-liconv $LIBS"
5460 cat > conftest.$ac_ext <<EOF
5461 #line 5462 "configure"
5462 #include "confdefs.h"
5463 /* Override any gcc2 internal prototype to avoid an error. */
5464 /* We use char because int might match the return type of a gcc2
5465 builtin and then its argument prototype would still apply. */
5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5474 eval "ac_cv_lib_$ac_lib_var=yes"
5476 echo "configure: failed program was:" >&5
5477 cat conftest.$ac_ext >&5
5479 eval "ac_cv_lib_$ac_lib_var=no"
5482 LIBS="$ac_save_LIBS"
5485 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5486 echo "$ac_t""yes" 1>&6
5489 echo "$ac_t""no" 1>&6
5492 ac_save_LIBS="$LIBS"
5493 LIBS="$LIBS $libiconv"
5495 for ac_func in iconv_open iconv_close iconv nl_langinfo
5497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5498 echo "configure:5499: checking for $ac_func" >&5
5499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5500 echo $ac_n "(cached) $ac_c" 1>&6
5502 cat > conftest.$ac_ext <<EOF
5503 #line 5504 "configure"
5504 #include "confdefs.h"
5505 /* System header to define __stub macros and hopefully few prototypes,
5506 which can conflict with char $ac_func(); below. */
5508 /* Override any gcc2 internal prototype to avoid an error. */
5509 /* We use char because int might match the return type of a gcc2
5510 builtin and then its argument prototype would still apply. */
5515 /* The GNU C library defines this for functions which it implements
5516 to always fail with ENOSYS. Some functions are actually named
5517 something starting with __ and the normal name is an alias. */
5518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5528 eval "ac_cv_func_$ac_func=yes"
5530 echo "configure: failed program was:" >&5
5531 cat conftest.$ac_ext >&5
5533 eval "ac_cv_func_$ac_func=no"
5538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5539 echo "$ac_t""yes" 1>&6
5540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5541 cat >> confdefs.h <<EOF
5542 #define $ac_tr_func 1
5547 echo "$ac_t""no" 1>&6
5553 LIBS="$ac_save_LIBS"
5555 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5556 echo "configure:5557: checking for XPG2 wchar_t support" >&5
5557 if test x"$ac_has_iconv_h" = xyes &&
5558 test x"$ac_has_langinfo_h" = xyes &&
5559 test x"$ac_XPG2funcs" = xyes; then
5564 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5566 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5567 echo "configure:5568: checking for enabled wchar_t specializations" >&5
5568 if test x"$ac_isoC99_wchar_t" = xyes &&
5569 test x"$ac_XPG2_wchar_t" = xyes; then
5570 cat >> confdefs.h <<\EOF
5571 #define _GLIBCPP_USE_WCHAR_T 1
5574 echo "$ac_t"""yes"" 1>&6
5576 echo "$ac_t"""no"" 1>&6
5579 echo "configure: warning: wchar_t support disabled." 1>&2
5582 os_include_dir="config/os/hpux"
5583 cat >> confdefs.h <<\EOF
5584 #define HAVE_COPYSIGN 1
5587 cat >> confdefs.h <<\EOF
5588 #define HAVE_COPYSIGNF 1
5591 cat >> confdefs.h <<\EOF
5592 #define HAVE_FINITEF 1
5595 cat >> confdefs.h <<\EOF
5596 #define HAVE_FREXPF 1
5599 cat >> confdefs.h <<\EOF
5600 #define HAVE_HYPOT 1
5603 cat >> confdefs.h <<\EOF
5604 #define HAVE_SINCOS 1
5607 cat >> confdefs.h <<\EOF
5608 #define HAVE_SINCOSF 1
5613 os_include_dir="config/os/newlib"
5614 cat >> confdefs.h <<\EOF
5615 #define HAVE_HYPOT 1
5621 # GLIBCPP_CHECK_STDLIB_SUPPORT
5622 cat >> confdefs.h <<\EOF
5623 #define HAVE_STRTOF 1
5626 cat >> confdefs.h <<\EOF
5627 #define HAVE_STRTOLD 1
5631 cat >> confdefs.h <<\EOF
5636 cat >> confdefs.h <<\EOF
5637 #define HAVE_ACOSF 1
5640 cat >> confdefs.h <<\EOF
5641 #define HAVE_ASINF 1
5644 cat >> confdefs.h <<\EOF
5645 #define HAVE_ATAN2F 1
5648 cat >> confdefs.h <<\EOF
5649 #define HAVE_ATANF 1
5652 cat >> confdefs.h <<\EOF
5653 #define HAVE_CEILF 1
5656 cat >> confdefs.h <<\EOF
5657 #define HAVE_COPYSIGN 1
5660 cat >> confdefs.h <<\EOF
5661 #define HAVE_COPYSIGNF 1
5664 cat >> confdefs.h <<\EOF
5668 cat >> confdefs.h <<\EOF
5669 #define HAVE_COSHF 1
5672 cat >> confdefs.h <<\EOF
5676 cat >> confdefs.h <<\EOF
5677 #define HAVE_FABSF 1
5680 cat >> confdefs.h <<\EOF
5681 #define HAVE_FINITE 1
5684 cat >> confdefs.h <<\EOF
5685 #define HAVE_FINITEF 1
5688 cat >> confdefs.h <<\EOF
5689 #define HAVE_FLOORF 1
5692 cat >> confdefs.h <<\EOF
5693 #define HAVE_FMODF 1
5696 cat >> confdefs.h <<\EOF
5697 #define HAVE_FREXPF 1
5700 cat >> confdefs.h <<\EOF
5701 #define HAVE_ISINF 1
5704 cat >> confdefs.h <<\EOF
5705 #define HAVE_ISINFF 1
5708 cat >> confdefs.h <<\EOF
5709 #define HAVE_ISNAN 1
5712 cat >> confdefs.h <<\EOF
5713 #define HAVE_ISNANF 1
5716 cat >> confdefs.h <<\EOF
5717 #define HAVE_LDEXPF 1
5720 cat >> confdefs.h <<\EOF
5721 #define HAVE_LOG10F 1
5724 cat >> confdefs.h <<\EOF
5728 cat >> confdefs.h <<\EOF
5729 #define HAVE_MODFF 1
5732 cat >> confdefs.h <<\EOF
5736 cat >> confdefs.h <<\EOF
5740 cat >> confdefs.h <<\EOF
5741 #define HAVE_SINHF 1
5744 cat >> confdefs.h <<\EOF
5745 #define HAVE_SQRTF 1
5748 cat >> confdefs.h <<\EOF
5752 cat >> confdefs.h <<\EOF
5753 #define HAVE_TANHF 1
5757 # At some point, we should differentiate between architectures
5758 # like x86, which have long double versions, and alpha/powerpc/etc.,
5759 # which don't. For the time being, punt.
5760 if test x"long_double_math_on_this_cpu" = x"yes"; then
5761 cat >> confdefs.h <<\EOF
5762 #define HAVE_ACOSL 1
5765 cat >> confdefs.h <<\EOF
5766 #define HAVE_ASINL 1
5769 cat >> confdefs.h <<\EOF
5770 #define HAVE_ATAN2L 1
5773 cat >> confdefs.h <<\EOF
5774 #define HAVE_ATANL 1
5777 cat >> confdefs.h <<\EOF
5778 #define HAVE_CEILL 1
5781 cat >> confdefs.h <<\EOF
5782 #define HAVE_COPYSIGNL 1
5785 cat >> confdefs.h <<\EOF
5789 cat >> confdefs.h <<\EOF
5790 #define HAVE_COSHL 1
5793 cat >> confdefs.h <<\EOF
5797 cat >> confdefs.h <<\EOF
5798 #define HAVE_FABSL 1
5801 cat >> confdefs.h <<\EOF
5802 #define HAVE_FINITEL 1
5805 cat >> confdefs.h <<\EOF
5806 #define HAVE_FLOORL 1
5809 cat >> confdefs.h <<\EOF
5810 #define HAVE_FMODL 1
5813 cat >> confdefs.h <<\EOF
5814 #define HAVE_FREXPL 1
5817 cat >> confdefs.h <<\EOF
5818 #define HAVE_ISINFL 1
5821 cat >> confdefs.h <<\EOF
5822 #define HAVE_ISNANL 1
5825 cat >> confdefs.h <<\EOF
5826 #define HAVE_LDEXPL 1
5829 cat >> confdefs.h <<\EOF
5830 #define HAVE_LOG10L 1
5833 cat >> confdefs.h <<\EOF
5837 cat >> confdefs.h <<\EOF
5838 #define HAVE_MODFL 1
5841 cat >> confdefs.h <<\EOF
5845 cat >> confdefs.h <<\EOF
5846 #define HAVE_SINCOSL 1
5849 cat >> confdefs.h <<\EOF
5853 cat >> confdefs.h <<\EOF
5854 #define HAVE_SINHL 1
5857 cat >> confdefs.h <<\EOF
5858 #define HAVE_SQRTL 1
5861 cat >> confdefs.h <<\EOF
5865 cat >> confdefs.h <<\EOF
5866 #define HAVE_TANHL 1
5872 # We are being configured natively. We can do more elaborate tests
5873 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5875 GLIBCPP_IS_CROSS_COMPILING=0
5878 # Check for available headers.
5879 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5880 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5882 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5883 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5884 echo "configure:5885: checking for $ac_hdr" >&5
5885 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5888 cat > conftest.$ac_ext <<EOF
5889 #line 5890 "configure"
5890 #include "confdefs.h"
5893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5894 { (eval echo configure:5895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5896 if test -z "$ac_err"; then
5898 eval "ac_cv_header_$ac_safe=yes"
5901 echo "configure: failed program was:" >&5
5902 cat conftest.$ac_ext >&5
5904 eval "ac_cv_header_$ac_safe=no"
5908 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5909 echo "$ac_t""yes" 1>&6
5910 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5911 cat >> confdefs.h <<EOF
5912 #define $ac_tr_hdr 1
5916 echo "$ac_t""no" 1>&6
5922 # All these tests are for C++; save the language and the compiler flags.
5923 # The CXXFLAGS thing is suspicious, but based on similar bits previously
5924 # found in GLIBCPP_CONFIGURE.
5927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5928 ac_cpp='$CXXCPP $CPPFLAGS'
5929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5931 cross_compiling=$ac_cv_prog_cxx_cross
5933 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5934 ac_save_CXXFLAGS="$CXXFLAGS"
5936 # Check for maintainer-mode bits.
5937 if test x"$USE_MAINTAINER_MODE" = xno; then
5943 # Check for -ffunction-sections -fdata-sections
5944 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5945 echo "configure:5946: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5946 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5947 cat > conftest.$ac_ext <<EOF
5948 #line 5949 "configure"
5949 #include "confdefs.h"
5956 if { (eval echo configure:5957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5960 echo "configure: failed program was:" >&5
5961 cat conftest.$ac_ext >&5
5966 if test "$ac_test_CXXFLAGS" = set; then
5967 CXXFLAGS="$ac_save_CXXFLAGS"
5969 # this is the suspicious part
5972 if test x"$ac_fdsections" = x"yes" &&
5973 test x"$enable_debug" = x"no"; then
5974 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5976 echo "$ac_t""$ac_fdsections" 1>&6
5979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5980 ac_cpp='$CPP $CPPFLAGS'
5981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5983 cross_compiling=$ac_cv_prog_cc_cross
5989 # If we're not using GNU ld, then there's no point in even trying these
5990 # tests. Check for that first. We should have already tested for gld
5991 # by now (in libtool), but require it now just to be safe...
5996 # Set --gc-sections.
5997 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5998 # GNU ld it is! Joy and bunny rabbits!
6000 # All these tests are for C++; save the language and the compiler flags.
6001 # Need to do this so that g++ won't try to link in libstdc++
6002 ac_test_CFLAGS="${CFLAGS+set}"
6003 ac_save_CFLAGS="$CFLAGS"
6004 CFLAGS='-x c++ -Wl,--gc-sections'
6006 # Check for -Wl,--gc-sections
6007 # XXX This test is broken at the moment, as symbols required for
6008 # linking are now in libsupc++ (not built yet.....). In addition,
6009 # this test has cored on solaris in the past. In addition,
6010 # --gc-sections doesn't really work at the moment (keeps on discarding
6011 # used sections, first .eh_frame and now some of the glibc sections for
6012 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6013 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6014 echo "configure:6015: checking for ld that supports -Wl,--gc-sections" >&5
6015 if test "$cross_compiling" = yes; then
6016 ac_sectionLDflags=yes
6018 cat > conftest.$ac_ext <<EOF
6019 #line 6020 "configure"
6020 #include "confdefs.h"
6030 if { (eval echo configure:6031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6032 ac_sectionLDflags=yes
6034 echo "configure: failed program was:" >&5
6035 cat conftest.$ac_ext >&5
6037 ac_sectionLFflags=no
6042 if test "$ac_test_CFLAGS" = set; then
6043 CFLAGS="$ac_save_CFLAGS"
6045 # this is the suspicious part
6048 if test "$ac_sectionLDflags" = "yes"; then
6049 SECTION_LDFLAGS='-Wl,--gc-sections'
6051 echo "$ac_t""$ac_sectionLDflags" 1>&6
6054 # Set linker optimization flags.
6055 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
6056 test x"$enable_debug" = x"no"; then
6057 OPT_LDFLAGS='-Wl,-O1'
6065 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
6066 echo "configure:6067: checking for __builtin_abs declaration" >&5
6067 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6068 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6069 echo $ac_n "(cached) $ac_c" 1>&6
6074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6075 ac_cpp='$CXXCPP $CPPFLAGS'
6076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6078 cross_compiling=$ac_cv_prog_cxx_cross
6080 cat > conftest.$ac_ext <<EOF
6081 #line 6082 "configure"
6082 #include "confdefs.h"
6088 if { (eval echo configure:6089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6090 glibcpp_cv_func___builtin_abs_use=yes
6092 echo "configure: failed program was:" >&5
6093 cat conftest.$ac_ext >&5
6095 glibcpp_cv_func___builtin_abs_use=no
6099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6100 ac_cpp='$CPP $CPPFLAGS'
6101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6103 cross_compiling=$ac_cv_prog_cc_cross
6109 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
6110 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
6111 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
6112 echo "configure:6113: checking for __builtin_abs linkage" >&5
6113 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
6114 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
6115 echo $ac_n "(cached) $ac_c" 1>&6
6118 cat > conftest.$ac_ext <<EOF
6119 #line 6120 "configure"
6120 #include "confdefs.h"
6126 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6128 glibcpp_cv_func___builtin_abs_link=yes
6130 echo "configure: failed program was:" >&5
6131 cat conftest.$ac_ext >&5
6133 glibcpp_cv_func___builtin_abs_link=no
6140 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
6141 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
6142 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6143 cat >> confdefs.h <<EOF
6144 #define ${ac_tr_func} 1
6151 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
6152 echo "configure:6153: checking for __builtin_fabsf declaration" >&5
6153 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
6154 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
6155 echo $ac_n "(cached) $ac_c" 1>&6
6160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6161 ac_cpp='$CXXCPP $CPPFLAGS'
6162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6164 cross_compiling=$ac_cv_prog_cxx_cross
6166 cat > conftest.$ac_ext <<EOF
6167 #line 6168 "configure"
6168 #include "confdefs.h"
6174 if { (eval echo configure:6175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6176 glibcpp_cv_func___builtin_fabsf_use=yes
6178 echo "configure: failed program was:" >&5
6179 cat conftest.$ac_ext >&5
6181 glibcpp_cv_func___builtin_fabsf_use=no
6185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6186 ac_cpp='$CPP $CPPFLAGS'
6187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6189 cross_compiling=$ac_cv_prog_cc_cross
6195 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
6196 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
6197 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
6198 echo "configure:6199: checking for __builtin_fabsf linkage" >&5
6199 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
6200 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
6201 echo $ac_n "(cached) $ac_c" 1>&6
6204 cat > conftest.$ac_ext <<EOF
6205 #line 6206 "configure"
6206 #include "confdefs.h"
6212 if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6214 glibcpp_cv_func___builtin_fabsf_link=yes
6216 echo "configure: failed program was:" >&5
6217 cat conftest.$ac_ext >&5
6219 glibcpp_cv_func___builtin_fabsf_link=no
6226 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
6227 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
6228 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6229 cat >> confdefs.h <<EOF
6230 #define ${ac_tr_func} 1
6237 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
6238 echo "configure:6239: checking for __builtin_fabs declaration" >&5
6239 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
6240 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
6241 echo $ac_n "(cached) $ac_c" 1>&6
6246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6247 ac_cpp='$CXXCPP $CPPFLAGS'
6248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6250 cross_compiling=$ac_cv_prog_cxx_cross
6252 cat > conftest.$ac_ext <<EOF
6253 #line 6254 "configure"
6254 #include "confdefs.h"
6260 if { (eval echo configure:6261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6262 glibcpp_cv_func___builtin_fabs_use=yes
6264 echo "configure: failed program was:" >&5
6265 cat conftest.$ac_ext >&5
6267 glibcpp_cv_func___builtin_fabs_use=no
6271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6272 ac_cpp='$CPP $CPPFLAGS'
6273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6275 cross_compiling=$ac_cv_prog_cc_cross
6281 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
6282 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
6283 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
6284 echo "configure:6285: checking for __builtin_fabs linkage" >&5
6285 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
6286 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
6287 echo $ac_n "(cached) $ac_c" 1>&6
6290 cat > conftest.$ac_ext <<EOF
6291 #line 6292 "configure"
6292 #include "confdefs.h"
6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6300 glibcpp_cv_func___builtin_fabs_link=yes
6302 echo "configure: failed program was:" >&5
6303 cat conftest.$ac_ext >&5
6305 glibcpp_cv_func___builtin_fabs_link=no
6312 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
6313 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
6314 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6315 cat >> confdefs.h <<EOF
6316 #define ${ac_tr_func} 1
6323 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
6324 echo "configure:6325: checking for __builtin_fabsl declaration" >&5
6325 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
6326 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
6327 echo $ac_n "(cached) $ac_c" 1>&6
6332 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6333 ac_cpp='$CXXCPP $CPPFLAGS'
6334 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6335 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6336 cross_compiling=$ac_cv_prog_cxx_cross
6338 cat > conftest.$ac_ext <<EOF
6339 #line 6340 "configure"
6340 #include "confdefs.h"
6346 if { (eval echo configure:6347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6348 glibcpp_cv_func___builtin_fabsl_use=yes
6350 echo "configure: failed program was:" >&5
6351 cat conftest.$ac_ext >&5
6353 glibcpp_cv_func___builtin_fabsl_use=no
6357 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6358 ac_cpp='$CPP $CPPFLAGS'
6359 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6360 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6361 cross_compiling=$ac_cv_prog_cc_cross
6367 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
6368 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
6369 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
6370 echo "configure:6371: checking for __builtin_fabsl linkage" >&5
6371 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
6372 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
6373 echo $ac_n "(cached) $ac_c" 1>&6
6376 cat > conftest.$ac_ext <<EOF
6377 #line 6378 "configure"
6378 #include "confdefs.h"
6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6386 glibcpp_cv_func___builtin_fabsl_link=yes
6388 echo "configure: failed program was:" >&5
6389 cat conftest.$ac_ext >&5
6391 glibcpp_cv_func___builtin_fabsl_link=no
6398 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
6399 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
6400 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6401 cat >> confdefs.h <<EOF
6402 #define ${ac_tr_func} 1
6409 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
6410 echo "configure:6411: checking for __builtin_labs declaration" >&5
6411 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
6412 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
6413 echo $ac_n "(cached) $ac_c" 1>&6
6418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6419 ac_cpp='$CXXCPP $CPPFLAGS'
6420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6422 cross_compiling=$ac_cv_prog_cxx_cross
6424 cat > conftest.$ac_ext <<EOF
6425 #line 6426 "configure"
6426 #include "confdefs.h"
6432 if { (eval echo configure:6433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6434 glibcpp_cv_func___builtin_labs_use=yes
6436 echo "configure: failed program was:" >&5
6437 cat conftest.$ac_ext >&5
6439 glibcpp_cv_func___builtin_labs_use=no
6443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6444 ac_cpp='$CPP $CPPFLAGS'
6445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6447 cross_compiling=$ac_cv_prog_cc_cross
6453 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
6454 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
6455 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
6456 echo "configure:6457: checking for __builtin_labs linkage" >&5
6457 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
6458 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
6459 echo $ac_n "(cached) $ac_c" 1>&6
6462 cat > conftest.$ac_ext <<EOF
6463 #line 6464 "configure"
6464 #include "confdefs.h"
6470 if { (eval echo configure:6471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6472 glibcpp_cv_func___builtin_labs_link=yes
6474 echo "configure: failed program was:" >&5
6475 cat conftest.$ac_ext >&5
6477 glibcpp_cv_func___builtin_labs_link=no
6484 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
6485 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
6486 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6487 cat >> confdefs.h <<EOF
6488 #define ${ac_tr_func} 1
6496 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
6497 echo "configure:6498: checking for __builtin_sqrtf declaration" >&5
6498 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
6499 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
6500 echo $ac_n "(cached) $ac_c" 1>&6
6505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6506 ac_cpp='$CXXCPP $CPPFLAGS'
6507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6509 cross_compiling=$ac_cv_prog_cxx_cross
6511 cat > conftest.$ac_ext <<EOF
6512 #line 6513 "configure"
6513 #include "confdefs.h"
6519 if { (eval echo configure:6520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6521 glibcpp_cv_func___builtin_sqrtf_use=yes
6523 echo "configure: failed program was:" >&5
6524 cat conftest.$ac_ext >&5
6526 glibcpp_cv_func___builtin_sqrtf_use=no
6530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6531 ac_cpp='$CPP $CPPFLAGS'
6532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6534 cross_compiling=$ac_cv_prog_cc_cross
6540 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
6541 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
6542 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
6543 echo "configure:6544: checking for __builtin_sqrtf linkage" >&5
6544 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
6545 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
6546 echo $ac_n "(cached) $ac_c" 1>&6
6549 cat > conftest.$ac_ext <<EOF
6550 #line 6551 "configure"
6551 #include "confdefs.h"
6557 if { (eval echo configure:6558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6559 glibcpp_cv_func___builtin_sqrtf_link=yes
6561 echo "configure: failed program was:" >&5
6562 cat conftest.$ac_ext >&5
6564 glibcpp_cv_func___builtin_sqrtf_link=no
6571 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
6572 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
6573 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6574 cat >> confdefs.h <<EOF
6575 #define ${ac_tr_func} 1
6582 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
6583 echo "configure:6584: checking for __builtin_sqrt declaration" >&5
6584 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
6585 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
6586 echo $ac_n "(cached) $ac_c" 1>&6
6591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6592 ac_cpp='$CXXCPP $CPPFLAGS'
6593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6595 cross_compiling=$ac_cv_prog_cxx_cross
6597 cat > conftest.$ac_ext <<EOF
6598 #line 6599 "configure"
6599 #include "confdefs.h"
6605 if { (eval echo configure:6606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6607 glibcpp_cv_func___builtin_sqrt_use=yes
6609 echo "configure: failed program was:" >&5
6610 cat conftest.$ac_ext >&5
6612 glibcpp_cv_func___builtin_sqrt_use=no
6616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6617 ac_cpp='$CPP $CPPFLAGS'
6618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6620 cross_compiling=$ac_cv_prog_cc_cross
6626 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
6627 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
6628 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
6629 echo "configure:6630: checking for __builtin_sqrt linkage" >&5
6630 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
6631 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
6632 echo $ac_n "(cached) $ac_c" 1>&6
6635 cat > conftest.$ac_ext <<EOF
6636 #line 6637 "configure"
6637 #include "confdefs.h"
6643 if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6645 glibcpp_cv_func___builtin_sqrt_link=yes
6647 echo "configure: failed program was:" >&5
6648 cat conftest.$ac_ext >&5
6650 glibcpp_cv_func___builtin_sqrt_link=no
6657 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
6658 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
6659 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6660 cat >> confdefs.h <<EOF
6661 #define ${ac_tr_func} 1
6668 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
6669 echo "configure:6670: checking for __builtin_sqrtl declaration" >&5
6670 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
6671 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
6672 echo $ac_n "(cached) $ac_c" 1>&6
6677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6678 ac_cpp='$CXXCPP $CPPFLAGS'
6679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6681 cross_compiling=$ac_cv_prog_cxx_cross
6683 cat > conftest.$ac_ext <<EOF
6684 #line 6685 "configure"
6685 #include "confdefs.h"
6691 if { (eval echo configure:6692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6693 glibcpp_cv_func___builtin_sqrtl_use=yes
6695 echo "configure: failed program was:" >&5
6696 cat conftest.$ac_ext >&5
6698 glibcpp_cv_func___builtin_sqrtl_use=no
6702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6703 ac_cpp='$CPP $CPPFLAGS'
6704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6706 cross_compiling=$ac_cv_prog_cc_cross
6712 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
6713 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
6714 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
6715 echo "configure:6716: checking for __builtin_sqrtl linkage" >&5
6716 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
6717 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
6718 echo $ac_n "(cached) $ac_c" 1>&6
6721 cat > conftest.$ac_ext <<EOF
6722 #line 6723 "configure"
6723 #include "confdefs.h"
6729 if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6731 glibcpp_cv_func___builtin_sqrtl_link=yes
6733 echo "configure: failed program was:" >&5
6734 cat conftest.$ac_ext >&5
6736 glibcpp_cv_func___builtin_sqrtl_link=no
6743 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
6744 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
6745 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6746 cat >> confdefs.h <<EOF
6747 #define ${ac_tr_func} 1
6755 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
6756 echo "configure:6757: checking for __builtin_sinf declaration" >&5
6757 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
6758 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
6759 echo $ac_n "(cached) $ac_c" 1>&6
6764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6765 ac_cpp='$CXXCPP $CPPFLAGS'
6766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6768 cross_compiling=$ac_cv_prog_cxx_cross
6770 cat > conftest.$ac_ext <<EOF
6771 #line 6772 "configure"
6772 #include "confdefs.h"
6778 if { (eval echo configure:6779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6780 glibcpp_cv_func___builtin_sinf_use=yes
6782 echo "configure: failed program was:" >&5
6783 cat conftest.$ac_ext >&5
6785 glibcpp_cv_func___builtin_sinf_use=no
6789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6790 ac_cpp='$CPP $CPPFLAGS'
6791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6793 cross_compiling=$ac_cv_prog_cc_cross
6799 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
6800 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
6801 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
6802 echo "configure:6803: checking for __builtin_sinf linkage" >&5
6803 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
6804 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
6805 echo $ac_n "(cached) $ac_c" 1>&6
6808 cat > conftest.$ac_ext <<EOF
6809 #line 6810 "configure"
6810 #include "confdefs.h"
6816 if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6818 glibcpp_cv_func___builtin_sinf_link=yes
6820 echo "configure: failed program was:" >&5
6821 cat conftest.$ac_ext >&5
6823 glibcpp_cv_func___builtin_sinf_link=no
6830 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6831 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
6832 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6833 cat >> confdefs.h <<EOF
6834 #define ${ac_tr_func} 1
6841 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
6842 echo "configure:6843: checking for __builtin_sin declaration" >&5
6843 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
6844 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6845 echo $ac_n "(cached) $ac_c" 1>&6
6850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6851 ac_cpp='$CXXCPP $CPPFLAGS'
6852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6854 cross_compiling=$ac_cv_prog_cxx_cross
6856 cat > conftest.$ac_ext <<EOF
6857 #line 6858 "configure"
6858 #include "confdefs.h"
6864 if { (eval echo configure:6865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6866 glibcpp_cv_func___builtin_sin_use=yes
6868 echo "configure: failed program was:" >&5
6869 cat conftest.$ac_ext >&5
6871 glibcpp_cv_func___builtin_sin_use=no
6875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6876 ac_cpp='$CPP $CPPFLAGS'
6877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6879 cross_compiling=$ac_cv_prog_cc_cross
6885 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6886 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6887 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6888 echo "configure:6889: checking for __builtin_sin linkage" >&5
6889 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6890 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6891 echo $ac_n "(cached) $ac_c" 1>&6
6894 cat > conftest.$ac_ext <<EOF
6895 #line 6896 "configure"
6896 #include "confdefs.h"
6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6904 glibcpp_cv_func___builtin_sin_link=yes
6906 echo "configure: failed program was:" >&5
6907 cat conftest.$ac_ext >&5
6909 glibcpp_cv_func___builtin_sin_link=no
6916 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6917 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6918 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6919 cat >> confdefs.h <<EOF
6920 #define ${ac_tr_func} 1
6927 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6928 echo "configure:6929: checking for __builtin_sinl declaration" >&5
6929 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6930 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6931 echo $ac_n "(cached) $ac_c" 1>&6
6936 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6937 ac_cpp='$CXXCPP $CPPFLAGS'
6938 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6939 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6940 cross_compiling=$ac_cv_prog_cxx_cross
6942 cat > conftest.$ac_ext <<EOF
6943 #line 6944 "configure"
6944 #include "confdefs.h"
6950 if { (eval echo configure:6951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6952 glibcpp_cv_func___builtin_sinl_use=yes
6954 echo "configure: failed program was:" >&5
6955 cat conftest.$ac_ext >&5
6957 glibcpp_cv_func___builtin_sinl_use=no
6961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6962 ac_cpp='$CPP $CPPFLAGS'
6963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6965 cross_compiling=$ac_cv_prog_cc_cross
6971 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6972 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6973 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6974 echo "configure:6975: checking for __builtin_sinl linkage" >&5
6975 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6976 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6977 echo $ac_n "(cached) $ac_c" 1>&6
6980 cat > conftest.$ac_ext <<EOF
6981 #line 6982 "configure"
6982 #include "confdefs.h"
6988 if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6990 glibcpp_cv_func___builtin_sinl_link=yes
6992 echo "configure: failed program was:" >&5
6993 cat conftest.$ac_ext >&5
6995 glibcpp_cv_func___builtin_sinl_link=no
7002 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
7003 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
7004 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7005 cat >> confdefs.h <<EOF
7006 #define ${ac_tr_func} 1
7014 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
7015 echo "configure:7016: checking for __builtin_cosf declaration" >&5
7016 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
7017 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
7018 echo $ac_n "(cached) $ac_c" 1>&6
7023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7024 ac_cpp='$CXXCPP $CPPFLAGS'
7025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7027 cross_compiling=$ac_cv_prog_cxx_cross
7029 cat > conftest.$ac_ext <<EOF
7030 #line 7031 "configure"
7031 #include "confdefs.h"
7037 if { (eval echo configure:7038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7039 glibcpp_cv_func___builtin_cosf_use=yes
7041 echo "configure: failed program was:" >&5
7042 cat conftest.$ac_ext >&5
7044 glibcpp_cv_func___builtin_cosf_use=no
7048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7049 ac_cpp='$CPP $CPPFLAGS'
7050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7052 cross_compiling=$ac_cv_prog_cc_cross
7058 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7059 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7060 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
7061 echo "configure:7062: checking for __builtin_cosf linkage" >&5
7062 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7063 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7064 echo $ac_n "(cached) $ac_c" 1>&6
7067 cat > conftest.$ac_ext <<EOF
7068 #line 7069 "configure"
7069 #include "confdefs.h"
7075 if { (eval echo configure:7076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7077 glibcpp_cv_func___builtin_cosf_link=yes
7079 echo "configure: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 glibcpp_cv_func___builtin_cosf_link=no
7089 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
7090 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
7091 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7092 cat >> confdefs.h <<EOF
7093 #define ${ac_tr_func} 1
7100 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
7101 echo "configure:7102: checking for __builtin_cos declaration" >&5
7102 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
7103 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
7104 echo $ac_n "(cached) $ac_c" 1>&6
7109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7110 ac_cpp='$CXXCPP $CPPFLAGS'
7111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7113 cross_compiling=$ac_cv_prog_cxx_cross
7115 cat > conftest.$ac_ext <<EOF
7116 #line 7117 "configure"
7117 #include "confdefs.h"
7123 if { (eval echo configure:7124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7125 glibcpp_cv_func___builtin_cos_use=yes
7127 echo "configure: failed program was:" >&5
7128 cat conftest.$ac_ext >&5
7130 glibcpp_cv_func___builtin_cos_use=no
7134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7135 ac_cpp='$CPP $CPPFLAGS'
7136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7138 cross_compiling=$ac_cv_prog_cc_cross
7144 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
7145 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
7146 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
7147 echo "configure:7148: checking for __builtin_cos linkage" >&5
7148 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
7149 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
7150 echo $ac_n "(cached) $ac_c" 1>&6
7153 cat > conftest.$ac_ext <<EOF
7154 #line 7155 "configure"
7155 #include "confdefs.h"
7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7163 glibcpp_cv_func___builtin_cos_link=yes
7165 echo "configure: failed program was:" >&5
7166 cat conftest.$ac_ext >&5
7168 glibcpp_cv_func___builtin_cos_link=no
7175 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
7176 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
7177 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7178 cat >> confdefs.h <<EOF
7179 #define ${ac_tr_func} 1
7186 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
7187 echo "configure:7188: checking for __builtin_cosl declaration" >&5
7188 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
7189 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
7190 echo $ac_n "(cached) $ac_c" 1>&6
7195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7196 ac_cpp='$CXXCPP $CPPFLAGS'
7197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7199 cross_compiling=$ac_cv_prog_cxx_cross
7201 cat > conftest.$ac_ext <<EOF
7202 #line 7203 "configure"
7203 #include "confdefs.h"
7209 if { (eval echo configure:7210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7211 glibcpp_cv_func___builtin_cosl_use=yes
7213 echo "configure: failed program was:" >&5
7214 cat conftest.$ac_ext >&5
7216 glibcpp_cv_func___builtin_cosl_use=no
7220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7221 ac_cpp='$CPP $CPPFLAGS'
7222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7224 cross_compiling=$ac_cv_prog_cc_cross
7230 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
7231 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
7232 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
7233 echo "configure:7234: checking for __builtin_cosl linkage" >&5
7234 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
7235 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
7236 echo $ac_n "(cached) $ac_c" 1>&6
7239 cat > conftest.$ac_ext <<EOF
7240 #line 7241 "configure"
7241 #include "confdefs.h"
7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7249 glibcpp_cv_func___builtin_cosl_link=yes
7251 echo "configure: failed program was:" >&5
7252 cat conftest.$ac_ext >&5
7254 glibcpp_cv_func___builtin_cosl_link=no
7261 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
7262 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
7263 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7264 cat >> confdefs.h <<EOF
7265 #define ${ac_tr_func} 1
7273 if test x$dummyvar = x"yes"; then
7274 cat >> confdefs.h <<\EOF
7275 #define HAVE___BUILTIN_ABS 1
7278 cat >> confdefs.h <<\EOF
7279 #define HAVE___BUILTIN_LABS 1
7282 cat >> confdefs.h <<\EOF
7283 #define HAVE___BUILTIN_COS 1
7286 cat >> confdefs.h <<\EOF
7287 #define HAVE___BUILTIN_COSF 1
7290 cat >> confdefs.h <<\EOF
7291 #define HAVE___BUILTIN_COSL 1
7294 cat >> confdefs.h <<\EOF
7295 #define HAVE___BUILTIN_FABS 1
7298 cat >> confdefs.h <<\EOF
7299 #define HAVE___BUILTIN_FABSF 1
7302 cat >> confdefs.h <<\EOF
7303 #define HAVE___BUILTIN_FABSL 1
7306 cat >> confdefs.h <<\EOF
7307 #define HAVE___BUILTIN_SIN 1
7310 cat >> confdefs.h <<\EOF
7311 #define HAVE___BUILTIN_SINF 1
7314 cat >> confdefs.h <<\EOF
7315 #define HAVE___BUILTIN_SINL 1
7318 cat >> confdefs.h <<\EOF
7319 #define HAVE___BUILTIN_SQRT 1
7322 cat >> confdefs.h <<\EOF
7323 #define HAVE___BUILTIN_SQRTF 1
7326 cat >> confdefs.h <<\EOF
7327 #define HAVE___BUILTIN_SQRTL 1
7333 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7334 ac_save_CXXFLAGS="$CXXFLAGS"
7335 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
7337 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
7338 echo "configure:7339: checking for sin in -lm" >&5
7339 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
7340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7341 echo $ac_n "(cached) $ac_c" 1>&6
7343 ac_save_LIBS="$LIBS"
7345 cat > conftest.$ac_ext <<EOF
7346 #line 7347 "configure"
7347 #include "confdefs.h"
7348 /* Override any gcc2 internal prototype to avoid an error. */
7349 /* We use char because int might match the return type of a gcc2
7350 builtin and then its argument prototype would still apply. */
7357 if { (eval echo configure:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7359 eval "ac_cv_lib_$ac_lib_var=yes"
7361 echo "configure: failed program was:" >&5
7362 cat conftest.$ac_ext >&5
7364 eval "ac_cv_lib_$ac_lib_var=no"
7367 LIBS="$ac_save_LIBS"
7370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7371 echo "$ac_t""yes" 1>&6
7374 echo "$ac_t""no" 1>&6
7377 ac_save_LIBS="$LIBS"
7382 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
7383 echo "configure:7384: checking for isinf declaration" >&5
7384 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
7385 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
7386 echo $ac_n "(cached) $ac_c" 1>&6
7391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7392 ac_cpp='$CXXCPP $CPPFLAGS'
7393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7395 cross_compiling=$ac_cv_prog_cxx_cross
7397 cat > conftest.$ac_ext <<EOF
7398 #line 7399 "configure"
7399 #include "confdefs.h"
7401 #ifdef HAVE_IEEEFP_H
7409 if { (eval echo configure:7410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7411 glibcpp_cv_func_isinf_use=yes
7413 echo "configure: failed program was:" >&5
7414 cat conftest.$ac_ext >&5
7416 glibcpp_cv_func_isinf_use=no
7420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7421 ac_cpp='$CPP $CPPFLAGS'
7422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7424 cross_compiling=$ac_cv_prog_cc_cross
7430 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
7432 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
7433 for ac_func in isinf
7435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7436 echo "configure:7437: checking for $ac_func" >&5
7437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7440 cat > conftest.$ac_ext <<EOF
7441 #line 7442 "configure"
7442 #include "confdefs.h"
7443 /* System header to define __stub macros and hopefully few prototypes,
7444 which can conflict with char $ac_func(); below. */
7446 /* Override any gcc2 internal prototype to avoid an error. */
7447 /* We use char because int might match the return type of a gcc2
7448 builtin and then its argument prototype would still apply. */
7453 /* The GNU C library defines this for functions which it implements
7454 to always fail with ENOSYS. Some functions are actually named
7455 something starting with __ and the normal name is an alias. */
7456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7464 if { (eval echo configure:7465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7466 eval "ac_cv_func_$ac_func=yes"
7468 echo "configure: failed program was:" >&5
7469 cat conftest.$ac_ext >&5
7471 eval "ac_cv_func_$ac_func=no"
7476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7477 echo "$ac_t""yes" 1>&6
7478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7479 cat >> confdefs.h <<EOF
7480 #define $ac_tr_func 1
7484 echo "$ac_t""no" 1>&6
7490 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
7491 echo "configure:7492: checking for _isinf declaration" >&5
7492 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
7493 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
7494 echo $ac_n "(cached) $ac_c" 1>&6
7499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7500 ac_cpp='$CXXCPP $CPPFLAGS'
7501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7503 cross_compiling=$ac_cv_prog_cxx_cross
7505 cat > conftest.$ac_ext <<EOF
7506 #line 7507 "configure"
7507 #include "confdefs.h"
7509 #ifdef HAVE_IEEEFP_H
7517 if { (eval echo configure:7518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7519 glibcpp_cv_func__isinf_use=yes
7521 echo "configure: failed program was:" >&5
7522 cat conftest.$ac_ext >&5
7524 glibcpp_cv_func__isinf_use=no
7528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7529 ac_cpp='$CPP $CPPFLAGS'
7530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7532 cross_compiling=$ac_cv_prog_cc_cross
7538 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
7540 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
7541 for ac_func in _isinf
7543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7544 echo "configure:7545: checking for $ac_func" >&5
7545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7546 echo $ac_n "(cached) $ac_c" 1>&6
7548 cat > conftest.$ac_ext <<EOF
7549 #line 7550 "configure"
7550 #include "confdefs.h"
7551 /* System header to define __stub macros and hopefully few prototypes,
7552 which can conflict with char $ac_func(); below. */
7554 /* Override any gcc2 internal prototype to avoid an error. */
7555 /* We use char because int might match the return type of a gcc2
7556 builtin and then its argument prototype would still apply. */
7561 /* The GNU C library defines this for functions which it implements
7562 to always fail with ENOSYS. Some functions are actually named
7563 something starting with __ and the normal name is an alias. */
7564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7572 if { (eval echo configure:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7574 eval "ac_cv_func_$ac_func=yes"
7576 echo "configure: failed program was:" >&5
7577 cat conftest.$ac_ext >&5
7579 eval "ac_cv_func_$ac_func=no"
7584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7585 echo "$ac_t""yes" 1>&6
7586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7587 cat >> confdefs.h <<EOF
7588 #define $ac_tr_func 1
7592 echo "$ac_t""no" 1>&6
7601 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
7602 echo "configure:7603: checking for isnan declaration" >&5
7603 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
7604 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
7605 echo $ac_n "(cached) $ac_c" 1>&6
7610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7611 ac_cpp='$CXXCPP $CPPFLAGS'
7612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7614 cross_compiling=$ac_cv_prog_cxx_cross
7616 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure"
7618 #include "confdefs.h"
7620 #ifdef HAVE_IEEEFP_H
7628 if { (eval echo configure:7629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7630 glibcpp_cv_func_isnan_use=yes
7632 echo "configure: failed program was:" >&5
7633 cat conftest.$ac_ext >&5
7635 glibcpp_cv_func_isnan_use=no
7639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7640 ac_cpp='$CPP $CPPFLAGS'
7641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7643 cross_compiling=$ac_cv_prog_cc_cross
7649 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
7651 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
7652 for ac_func in isnan
7654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7655 echo "configure:7656: checking for $ac_func" >&5
7656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7657 echo $ac_n "(cached) $ac_c" 1>&6
7659 cat > conftest.$ac_ext <<EOF
7660 #line 7661 "configure"
7661 #include "confdefs.h"
7662 /* System header to define __stub macros and hopefully few prototypes,
7663 which can conflict with char $ac_func(); below. */
7665 /* Override any gcc2 internal prototype to avoid an error. */
7666 /* We use char because int might match the return type of a gcc2
7667 builtin and then its argument prototype would still apply. */
7672 /* The GNU C library defines this for functions which it implements
7673 to always fail with ENOSYS. Some functions are actually named
7674 something starting with __ and the normal name is an alias. */
7675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7683 if { (eval echo configure:7684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7685 eval "ac_cv_func_$ac_func=yes"
7687 echo "configure: failed program was:" >&5
7688 cat conftest.$ac_ext >&5
7690 eval "ac_cv_func_$ac_func=no"
7695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7696 echo "$ac_t""yes" 1>&6
7697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7698 cat >> confdefs.h <<EOF
7699 #define $ac_tr_func 1
7703 echo "$ac_t""no" 1>&6
7709 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
7710 echo "configure:7711: checking for _isnan declaration" >&5
7711 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
7712 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
7713 echo $ac_n "(cached) $ac_c" 1>&6
7718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7719 ac_cpp='$CXXCPP $CPPFLAGS'
7720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7722 cross_compiling=$ac_cv_prog_cxx_cross
7724 cat > conftest.$ac_ext <<EOF
7725 #line 7726 "configure"
7726 #include "confdefs.h"
7728 #ifdef HAVE_IEEEFP_H
7736 if { (eval echo configure:7737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7738 glibcpp_cv_func__isnan_use=yes
7740 echo "configure: failed program was:" >&5
7741 cat conftest.$ac_ext >&5
7743 glibcpp_cv_func__isnan_use=no
7747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7748 ac_cpp='$CPP $CPPFLAGS'
7749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7751 cross_compiling=$ac_cv_prog_cc_cross
7757 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
7759 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
7760 for ac_func in _isnan
7762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7763 echo "configure:7764: checking for $ac_func" >&5
7764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7767 cat > conftest.$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7770 /* System header to define __stub macros and hopefully few prototypes,
7771 which can conflict with char $ac_func(); below. */
7773 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7780 /* The GNU C library defines this for functions which it implements
7781 to always fail with ENOSYS. Some functions are actually named
7782 something starting with __ and the normal name is an alias. */
7783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7791 if { (eval echo configure:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7793 eval "ac_cv_func_$ac_func=yes"
7795 echo "configure: failed program was:" >&5
7796 cat conftest.$ac_ext >&5
7798 eval "ac_cv_func_$ac_func=no"
7803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7804 echo "$ac_t""yes" 1>&6
7805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7806 cat >> confdefs.h <<EOF
7807 #define $ac_tr_func 1
7811 echo "$ac_t""no" 1>&6
7820 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
7821 echo "configure:7822: checking for finite declaration" >&5
7822 if test x${glibcpp_cv_func_finite_use+set} != xset; then
7823 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7824 echo $ac_n "(cached) $ac_c" 1>&6
7829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7830 ac_cpp='$CXXCPP $CPPFLAGS'
7831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7833 cross_compiling=$ac_cv_prog_cxx_cross
7835 cat > conftest.$ac_ext <<EOF
7836 #line 7837 "configure"
7837 #include "confdefs.h"
7839 #ifdef HAVE_IEEEFP_H
7847 if { (eval echo configure:7848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7849 glibcpp_cv_func_finite_use=yes
7851 echo "configure: failed program was:" >&5
7852 cat conftest.$ac_ext >&5
7854 glibcpp_cv_func_finite_use=no
7858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7859 ac_cpp='$CPP $CPPFLAGS'
7860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7862 cross_compiling=$ac_cv_prog_cc_cross
7868 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7870 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7871 for ac_func in finite
7873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7874 echo "configure:7875: checking for $ac_func" >&5
7875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7876 echo $ac_n "(cached) $ac_c" 1>&6
7878 cat > conftest.$ac_ext <<EOF
7879 #line 7880 "configure"
7880 #include "confdefs.h"
7881 /* System header to define __stub macros and hopefully few prototypes,
7882 which can conflict with char $ac_func(); below. */
7884 /* Override any gcc2 internal prototype to avoid an error. */
7885 /* We use char because int might match the return type of a gcc2
7886 builtin and then its argument prototype would still apply. */
7891 /* The GNU C library defines this for functions which it implements
7892 to always fail with ENOSYS. Some functions are actually named
7893 something starting with __ and the normal name is an alias. */
7894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7902 if { (eval echo configure:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7904 eval "ac_cv_func_$ac_func=yes"
7906 echo "configure: failed program was:" >&5
7907 cat conftest.$ac_ext >&5
7909 eval "ac_cv_func_$ac_func=no"
7914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7915 echo "$ac_t""yes" 1>&6
7916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7917 cat >> confdefs.h <<EOF
7918 #define $ac_tr_func 1
7922 echo "$ac_t""no" 1>&6
7928 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7929 echo "configure:7930: checking for _finite declaration" >&5
7930 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7931 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7932 echo $ac_n "(cached) $ac_c" 1>&6
7937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7938 ac_cpp='$CXXCPP $CPPFLAGS'
7939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7941 cross_compiling=$ac_cv_prog_cxx_cross
7943 cat > conftest.$ac_ext <<EOF
7944 #line 7945 "configure"
7945 #include "confdefs.h"
7947 #ifdef HAVE_IEEEFP_H
7955 if { (eval echo configure:7956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7957 glibcpp_cv_func__finite_use=yes
7959 echo "configure: failed program was:" >&5
7960 cat conftest.$ac_ext >&5
7962 glibcpp_cv_func__finite_use=no
7966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7967 ac_cpp='$CPP $CPPFLAGS'
7968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7970 cross_compiling=$ac_cv_prog_cc_cross
7976 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7978 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7979 for ac_func in _finite
7981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7982 echo "configure:7983: checking for $ac_func" >&5
7983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7984 echo $ac_n "(cached) $ac_c" 1>&6
7986 cat > conftest.$ac_ext <<EOF
7987 #line 7988 "configure"
7988 #include "confdefs.h"
7989 /* System header to define __stub macros and hopefully few prototypes,
7990 which can conflict with char $ac_func(); below. */
7992 /* Override any gcc2 internal prototype to avoid an error. */
7993 /* We use char because int might match the return type of a gcc2
7994 builtin and then its argument prototype would still apply. */
7999 /* The GNU C library defines this for functions which it implements
8000 to always fail with ENOSYS. Some functions are actually named
8001 something starting with __ and the normal name is an alias. */
8002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8012 eval "ac_cv_func_$ac_func=yes"
8014 echo "configure: failed program was:" >&5
8015 cat conftest.$ac_ext >&5
8017 eval "ac_cv_func_$ac_func=no"
8022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8023 echo "$ac_t""yes" 1>&6
8024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8025 cat >> confdefs.h <<EOF
8026 #define $ac_tr_func 1
8030 echo "$ac_t""no" 1>&6
8039 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
8040 echo "configure:8041: checking for copysign declaration" >&5
8041 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
8042 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8043 echo $ac_n "(cached) $ac_c" 1>&6
8048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8049 ac_cpp='$CXXCPP $CPPFLAGS'
8050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8052 cross_compiling=$ac_cv_prog_cxx_cross
8054 cat > conftest.$ac_ext <<EOF
8055 #line 8056 "configure"
8056 #include "confdefs.h"
8062 if { (eval echo configure:8063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8064 glibcpp_cv_func_copysign_use=yes
8066 echo "configure: failed program was:" >&5
8067 cat conftest.$ac_ext >&5
8069 glibcpp_cv_func_copysign_use=no
8073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8076 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8077 cross_compiling=$ac_cv_prog_cc_cross
8083 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
8085 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
8086 for ac_func in copysign
8088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8089 echo "configure:8090: checking for $ac_func" >&5
8090 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8091 echo $ac_n "(cached) $ac_c" 1>&6
8093 cat > conftest.$ac_ext <<EOF
8094 #line 8095 "configure"
8095 #include "confdefs.h"
8096 /* System header to define __stub macros and hopefully few prototypes,
8097 which can conflict with char $ac_func(); below. */
8099 /* Override any gcc2 internal prototype to avoid an error. */
8100 /* We use char because int might match the return type of a gcc2
8101 builtin and then its argument prototype would still apply. */
8106 /* The GNU C library defines this for functions which it implements
8107 to always fail with ENOSYS. Some functions are actually named
8108 something starting with __ and the normal name is an alias. */
8109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8119 eval "ac_cv_func_$ac_func=yes"
8121 echo "configure: failed program was:" >&5
8122 cat conftest.$ac_ext >&5
8124 eval "ac_cv_func_$ac_func=no"
8129 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8130 echo "$ac_t""yes" 1>&6
8131 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8132 cat >> confdefs.h <<EOF
8133 #define $ac_tr_func 1
8137 echo "$ac_t""no" 1>&6
8143 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
8144 echo "configure:8145: checking for _copysign declaration" >&5
8145 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
8146 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
8147 echo $ac_n "(cached) $ac_c" 1>&6
8152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8153 ac_cpp='$CXXCPP $CPPFLAGS'
8154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8156 cross_compiling=$ac_cv_prog_cxx_cross
8158 cat > conftest.$ac_ext <<EOF
8159 #line 8160 "configure"
8160 #include "confdefs.h"
8166 if { (eval echo configure:8167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8168 glibcpp_cv_func__copysign_use=yes
8170 echo "configure: failed program was:" >&5
8171 cat conftest.$ac_ext >&5
8173 glibcpp_cv_func__copysign_use=no
8177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8178 ac_cpp='$CPP $CPPFLAGS'
8179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8181 cross_compiling=$ac_cv_prog_cc_cross
8187 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
8189 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
8190 for ac_func in _copysign
8192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8193 echo "configure:8194: checking for $ac_func" >&5
8194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8195 echo $ac_n "(cached) $ac_c" 1>&6
8197 cat > conftest.$ac_ext <<EOF
8198 #line 8199 "configure"
8199 #include "confdefs.h"
8200 /* System header to define __stub macros and hopefully few prototypes,
8201 which can conflict with char $ac_func(); below. */
8203 /* Override any gcc2 internal prototype to avoid an error. */
8204 /* We use char because int might match the return type of a gcc2
8205 builtin and then its argument prototype would still apply. */
8210 /* The GNU C library defines this for functions which it implements
8211 to always fail with ENOSYS. Some functions are actually named
8212 something starting with __ and the normal name is an alias. */
8213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8221 if { (eval echo configure:8222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8223 eval "ac_cv_func_$ac_func=yes"
8225 echo "configure: failed program was:" >&5
8226 cat conftest.$ac_ext >&5
8228 eval "ac_cv_func_$ac_func=no"
8233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8234 echo "$ac_t""yes" 1>&6
8235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8236 cat >> confdefs.h <<EOF
8237 #define $ac_tr_func 1
8241 echo "$ac_t""no" 1>&6
8250 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
8251 echo "configure:8252: checking for sincos declaration" >&5
8252 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
8253 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
8254 echo $ac_n "(cached) $ac_c" 1>&6
8259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8260 ac_cpp='$CXXCPP $CPPFLAGS'
8261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8263 cross_compiling=$ac_cv_prog_cxx_cross
8265 cat > conftest.$ac_ext <<EOF
8266 #line 8267 "configure"
8267 #include "confdefs.h"
8273 if { (eval echo configure:8274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8275 glibcpp_cv_func_sincos_use=yes
8277 echo "configure: failed program was:" >&5
8278 cat conftest.$ac_ext >&5
8280 glibcpp_cv_func_sincos_use=no
8284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8285 ac_cpp='$CPP $CPPFLAGS'
8286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8288 cross_compiling=$ac_cv_prog_cc_cross
8294 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
8296 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
8297 for ac_func in sincos
8299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8300 echo "configure:8301: checking for $ac_func" >&5
8301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8302 echo $ac_n "(cached) $ac_c" 1>&6
8304 cat > conftest.$ac_ext <<EOF
8305 #line 8306 "configure"
8306 #include "confdefs.h"
8307 /* System header to define __stub macros and hopefully few prototypes,
8308 which can conflict with char $ac_func(); below. */
8310 /* Override any gcc2 internal prototype to avoid an error. */
8311 /* We use char because int might match the return type of a gcc2
8312 builtin and then its argument prototype would still apply. */
8317 /* The GNU C library defines this for functions which it implements
8318 to always fail with ENOSYS. Some functions are actually named
8319 something starting with __ and the normal name is an alias. */
8320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8330 eval "ac_cv_func_$ac_func=yes"
8332 echo "configure: failed program was:" >&5
8333 cat conftest.$ac_ext >&5
8335 eval "ac_cv_func_$ac_func=no"
8340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8341 echo "$ac_t""yes" 1>&6
8342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8343 cat >> confdefs.h <<EOF
8344 #define $ac_tr_func 1
8348 echo "$ac_t""no" 1>&6
8354 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
8355 echo "configure:8356: checking for _sincos declaration" >&5
8356 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
8357 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
8358 echo $ac_n "(cached) $ac_c" 1>&6
8363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8364 ac_cpp='$CXXCPP $CPPFLAGS'
8365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8367 cross_compiling=$ac_cv_prog_cxx_cross
8369 cat > conftest.$ac_ext <<EOF
8370 #line 8371 "configure"
8371 #include "confdefs.h"
8377 if { (eval echo configure:8378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8379 glibcpp_cv_func__sincos_use=yes
8381 echo "configure: failed program was:" >&5
8382 cat conftest.$ac_ext >&5
8384 glibcpp_cv_func__sincos_use=no
8388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8389 ac_cpp='$CPP $CPPFLAGS'
8390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8392 cross_compiling=$ac_cv_prog_cc_cross
8398 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
8400 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
8401 for ac_func in _sincos
8403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8404 echo "configure:8405: checking for $ac_func" >&5
8405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8406 echo $ac_n "(cached) $ac_c" 1>&6
8408 cat > conftest.$ac_ext <<EOF
8409 #line 8410 "configure"
8410 #include "confdefs.h"
8411 /* System header to define __stub macros and hopefully few prototypes,
8412 which can conflict with char $ac_func(); below. */
8414 /* Override any gcc2 internal prototype to avoid an error. */
8415 /* We use char because int might match the return type of a gcc2
8416 builtin and then its argument prototype would still apply. */
8421 /* The GNU C library defines this for functions which it implements
8422 to always fail with ENOSYS. Some functions are actually named
8423 something starting with __ and the normal name is an alias. */
8424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8432 if { (eval echo configure:8433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8434 eval "ac_cv_func_$ac_func=yes"
8436 echo "configure: failed program was:" >&5
8437 cat conftest.$ac_ext >&5
8439 eval "ac_cv_func_$ac_func=no"
8444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8445 echo "$ac_t""yes" 1>&6
8446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8447 cat >> confdefs.h <<EOF
8448 #define $ac_tr_func 1
8452 echo "$ac_t""no" 1>&6
8461 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
8462 echo "configure:8463: checking for fpclass declaration" >&5
8463 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
8464 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
8465 echo $ac_n "(cached) $ac_c" 1>&6
8470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8471 ac_cpp='$CXXCPP $CPPFLAGS'
8472 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8473 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8474 cross_compiling=$ac_cv_prog_cxx_cross
8476 cat > conftest.$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8480 #ifdef HAVE_IEEEFP_H
8488 if { (eval echo configure:8489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8490 glibcpp_cv_func_fpclass_use=yes
8492 echo "configure: failed program was:" >&5
8493 cat conftest.$ac_ext >&5
8495 glibcpp_cv_func_fpclass_use=no
8499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8500 ac_cpp='$CPP $CPPFLAGS'
8501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8503 cross_compiling=$ac_cv_prog_cc_cross
8509 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
8511 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
8512 for ac_func in fpclass
8514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8515 echo "configure:8516: checking for $ac_func" >&5
8516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8517 echo $ac_n "(cached) $ac_c" 1>&6
8519 cat > conftest.$ac_ext <<EOF
8520 #line 8521 "configure"
8521 #include "confdefs.h"
8522 /* System header to define __stub macros and hopefully few prototypes,
8523 which can conflict with char $ac_func(); below. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8526 /* We use char because int might match the return type of a gcc2
8527 builtin and then its argument prototype would still apply. */
8532 /* The GNU C library defines this for functions which it implements
8533 to always fail with ENOSYS. Some functions are actually named
8534 something starting with __ and the normal name is an alias. */
8535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8543 if { (eval echo configure:8544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8545 eval "ac_cv_func_$ac_func=yes"
8547 echo "configure: failed program was:" >&5
8548 cat conftest.$ac_ext >&5
8550 eval "ac_cv_func_$ac_func=no"
8555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8556 echo "$ac_t""yes" 1>&6
8557 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8558 cat >> confdefs.h <<EOF
8559 #define $ac_tr_func 1
8563 echo "$ac_t""no" 1>&6
8569 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
8570 echo "configure:8571: checking for _fpclass declaration" >&5
8571 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
8572 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8579 ac_cpp='$CXXCPP $CPPFLAGS'
8580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8582 cross_compiling=$ac_cv_prog_cxx_cross
8584 cat > conftest.$ac_ext <<EOF
8585 #line 8586 "configure"
8586 #include "confdefs.h"
8588 #ifdef HAVE_IEEEFP_H
8596 if { (eval echo configure:8597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8598 glibcpp_cv_func__fpclass_use=yes
8600 echo "configure: failed program was:" >&5
8601 cat conftest.$ac_ext >&5
8603 glibcpp_cv_func__fpclass_use=no
8607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8608 ac_cpp='$CPP $CPPFLAGS'
8609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8611 cross_compiling=$ac_cv_prog_cc_cross
8617 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
8619 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
8620 for ac_func in _fpclass
8622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8623 echo "configure:8624: checking for $ac_func" >&5
8624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8625 echo $ac_n "(cached) $ac_c" 1>&6
8627 cat > conftest.$ac_ext <<EOF
8628 #line 8629 "configure"
8629 #include "confdefs.h"
8630 /* System header to define __stub macros and hopefully few prototypes,
8631 which can conflict with char $ac_func(); below. */
8633 /* Override any gcc2 internal prototype to avoid an error. */
8634 /* We use char because int might match the return type of a gcc2
8635 builtin and then its argument prototype would still apply. */
8640 /* The GNU C library defines this for functions which it implements
8641 to always fail with ENOSYS. Some functions are actually named
8642 something starting with __ and the normal name is an alias. */
8643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8651 if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8653 eval "ac_cv_func_$ac_func=yes"
8655 echo "configure: failed program was:" >&5
8656 cat conftest.$ac_ext >&5
8658 eval "ac_cv_func_$ac_func=no"
8663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8664 echo "$ac_t""yes" 1>&6
8665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8666 cat >> confdefs.h <<EOF
8667 #define $ac_tr_func 1
8671 echo "$ac_t""no" 1>&6
8680 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
8681 echo "configure:8682: checking for qfpclass declaration" >&5
8682 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
8683 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8690 ac_cpp='$CXXCPP $CPPFLAGS'
8691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8693 cross_compiling=$ac_cv_prog_cxx_cross
8695 cat > conftest.$ac_ext <<EOF
8696 #line 8697 "configure"
8697 #include "confdefs.h"
8699 #ifdef HAVE_IEEEFP_H
8707 if { (eval echo configure:8708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8709 glibcpp_cv_func_qfpclass_use=yes
8711 echo "configure: failed program was:" >&5
8712 cat conftest.$ac_ext >&5
8714 glibcpp_cv_func_qfpclass_use=no
8718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8719 ac_cpp='$CPP $CPPFLAGS'
8720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8722 cross_compiling=$ac_cv_prog_cc_cross
8728 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
8730 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
8731 for ac_func in qfpclass
8733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8734 echo "configure:8735: checking for $ac_func" >&5
8735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8736 echo $ac_n "(cached) $ac_c" 1>&6
8738 cat > conftest.$ac_ext <<EOF
8739 #line 8740 "configure"
8740 #include "confdefs.h"
8741 /* System header to define __stub macros and hopefully few prototypes,
8742 which can conflict with char $ac_func(); below. */
8744 /* Override any gcc2 internal prototype to avoid an error. */
8745 /* We use char because int might match the return type of a gcc2
8746 builtin and then its argument prototype would still apply. */
8751 /* The GNU C library defines this for functions which it implements
8752 to always fail with ENOSYS. Some functions are actually named
8753 something starting with __ and the normal name is an alias. */
8754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8762 if { (eval echo configure:8763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8764 eval "ac_cv_func_$ac_func=yes"
8766 echo "configure: failed program was:" >&5
8767 cat conftest.$ac_ext >&5
8769 eval "ac_cv_func_$ac_func=no"
8774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8775 echo "$ac_t""yes" 1>&6
8776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8777 cat >> confdefs.h <<EOF
8778 #define $ac_tr_func 1
8782 echo "$ac_t""no" 1>&6
8788 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
8789 echo "configure:8790: checking for _qfpclass declaration" >&5
8790 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
8791 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8798 ac_cpp='$CXXCPP $CPPFLAGS'
8799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8801 cross_compiling=$ac_cv_prog_cxx_cross
8803 cat > conftest.$ac_ext <<EOF
8804 #line 8805 "configure"
8805 #include "confdefs.h"
8807 #ifdef HAVE_IEEEFP_H
8815 if { (eval echo configure:8816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8817 glibcpp_cv_func__qfpclass_use=yes
8819 echo "configure: failed program was:" >&5
8820 cat conftest.$ac_ext >&5
8822 glibcpp_cv_func__qfpclass_use=no
8826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8827 ac_cpp='$CPP $CPPFLAGS'
8828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8830 cross_compiling=$ac_cv_prog_cc_cross
8836 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8838 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
8839 for ac_func in _qfpclass
8841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8842 echo "configure:8843: checking for $ac_func" >&5
8843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8844 echo $ac_n "(cached) $ac_c" 1>&6
8846 cat > conftest.$ac_ext <<EOF
8847 #line 8848 "configure"
8848 #include "confdefs.h"
8849 /* System header to define __stub macros and hopefully few prototypes,
8850 which can conflict with char $ac_func(); below. */
8852 /* Override any gcc2 internal prototype to avoid an error. */
8853 /* We use char because int might match the return type of a gcc2
8854 builtin and then its argument prototype would still apply. */
8859 /* The GNU C library defines this for functions which it implements
8860 to always fail with ENOSYS. Some functions are actually named
8861 something starting with __ and the normal name is an alias. */
8862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8870 if { (eval echo configure:8871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8872 eval "ac_cv_func_$ac_func=yes"
8874 echo "configure: failed program was:" >&5
8875 cat conftest.$ac_ext >&5
8877 eval "ac_cv_func_$ac_func=no"
8882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8883 echo "$ac_t""yes" 1>&6
8884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8885 cat >> confdefs.h <<EOF
8886 #define $ac_tr_func 1
8890 echo "$ac_t""no" 1>&6
8899 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
8900 echo "configure:8901: checking for hypot declaration" >&5
8901 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
8902 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
8903 echo $ac_n "(cached) $ac_c" 1>&6
8908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8909 ac_cpp='$CXXCPP $CPPFLAGS'
8910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8912 cross_compiling=$ac_cv_prog_cxx_cross
8914 cat > conftest.$ac_ext <<EOF
8915 #line 8916 "configure"
8916 #include "confdefs.h"
8922 if { (eval echo configure:8923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8924 glibcpp_cv_func_hypot_use=yes
8926 echo "configure: failed program was:" >&5
8927 cat conftest.$ac_ext >&5
8929 glibcpp_cv_func_hypot_use=no
8933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8934 ac_cpp='$CPP $CPPFLAGS'
8935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8937 cross_compiling=$ac_cv_prog_cc_cross
8943 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
8945 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
8946 for ac_func in hypot
8948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8949 echo "configure:8950: checking for $ac_func" >&5
8950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8951 echo $ac_n "(cached) $ac_c" 1>&6
8953 cat > conftest.$ac_ext <<EOF
8954 #line 8955 "configure"
8955 #include "confdefs.h"
8956 /* System header to define __stub macros and hopefully few prototypes,
8957 which can conflict with char $ac_func(); below. */
8959 /* Override any gcc2 internal prototype to avoid an error. */
8960 /* We use char because int might match the return type of a gcc2
8961 builtin and then its argument prototype would still apply. */
8966 /* The GNU C library defines this for functions which it implements
8967 to always fail with ENOSYS. Some functions are actually named
8968 something starting with __ and the normal name is an alias. */
8969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8979 eval "ac_cv_func_$ac_func=yes"
8981 echo "configure: failed program was:" >&5
8982 cat conftest.$ac_ext >&5
8984 eval "ac_cv_func_$ac_func=no"
8989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8990 echo "$ac_t""yes" 1>&6
8991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8992 cat >> confdefs.h <<EOF
8993 #define $ac_tr_func 1
8997 echo "$ac_t""no" 1>&6
9003 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
9004 echo "configure:9005: checking for _hypot declaration" >&5
9005 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
9006 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
9007 echo $ac_n "(cached) $ac_c" 1>&6
9012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9013 ac_cpp='$CXXCPP $CPPFLAGS'
9014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9016 cross_compiling=$ac_cv_prog_cxx_cross
9018 cat > conftest.$ac_ext <<EOF
9019 #line 9020 "configure"
9020 #include "confdefs.h"
9026 if { (eval echo configure:9027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9028 glibcpp_cv_func__hypot_use=yes
9030 echo "configure: failed program was:" >&5
9031 cat conftest.$ac_ext >&5
9033 glibcpp_cv_func__hypot_use=no
9037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9038 ac_cpp='$CPP $CPPFLAGS'
9039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9041 cross_compiling=$ac_cv_prog_cc_cross
9047 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9049 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9050 for ac_func in _hypot
9052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9053 echo "configure:9054: checking for $ac_func" >&5
9054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9057 cat > conftest.$ac_ext <<EOF
9058 #line 9059 "configure"
9059 #include "confdefs.h"
9060 /* System header to define __stub macros and hopefully few prototypes,
9061 which can conflict with char $ac_func(); below. */
9063 /* Override any gcc2 internal prototype to avoid an error. */
9064 /* We use char because int might match the return type of a gcc2
9065 builtin and then its argument prototype would still apply. */
9070 /* The GNU C library defines this for functions which it implements
9071 to always fail with ENOSYS. Some functions are actually named
9072 something starting with __ and the normal name is an alias. */
9073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9081 if { (eval echo configure:9082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9083 eval "ac_cv_func_$ac_func=yes"
9085 echo "configure: failed program was:" >&5
9086 cat conftest.$ac_ext >&5
9088 eval "ac_cv_func_$ac_func=no"
9093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9094 echo "$ac_t""yes" 1>&6
9095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9096 cat >> confdefs.h <<EOF
9097 #define $ac_tr_func 1
9101 echo "$ac_t""no" 1>&6
9110 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
9111 echo "configure:9112: checking for float trig functions" >&5
9112 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
9113 echo $ac_n "(cached) $ac_c" 1>&6
9118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9119 ac_cpp='$CXXCPP $CPPFLAGS'
9120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9122 cross_compiling=$ac_cv_prog_cxx_cross
9124 cat > conftest.$ac_ext <<EOF
9125 #line 9126 "configure"
9126 #include "confdefs.h"
9129 `for x in acosf asinf atanf \
9131 coshf sinhf tanhf; do echo "$x (0);"; done`
9134 if { (eval echo configure:9135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9136 glibcpp_cv_func_float_trig_use=yes
9138 echo "configure: failed program was:" >&5
9139 cat conftest.$ac_ext >&5
9141 glibcpp_cv_func_float_trig_use=no
9145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9146 ac_cpp='$CPP $CPPFLAGS'
9147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9149 cross_compiling=$ac_cv_prog_cc_cross
9153 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
9154 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
9155 for ac_func in acosf asinf atanf \
9159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9160 echo "configure:9161: checking for $ac_func" >&5
9161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9162 echo $ac_n "(cached) $ac_c" 1>&6
9164 cat > conftest.$ac_ext <<EOF
9165 #line 9166 "configure"
9166 #include "confdefs.h"
9167 /* System header to define __stub macros and hopefully few prototypes,
9168 which can conflict with char $ac_func(); below. */
9170 /* Override any gcc2 internal prototype to avoid an error. */
9171 /* We use char because int might match the return type of a gcc2
9172 builtin and then its argument prototype would still apply. */
9177 /* The GNU C library defines this for functions which it implements
9178 to always fail with ENOSYS. Some functions are actually named
9179 something starting with __ and the normal name is an alias. */
9180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9188 if { (eval echo configure:9189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9190 eval "ac_cv_func_$ac_func=yes"
9192 echo "configure: failed program was:" >&5
9193 cat conftest.$ac_ext >&5
9195 eval "ac_cv_func_$ac_func=no"
9200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9201 echo "$ac_t""yes" 1>&6
9202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9203 cat >> confdefs.h <<EOF
9204 #define $ac_tr_func 1
9208 echo "$ac_t""no" 1>&6
9215 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
9216 echo "configure:9217: checking for float round functions" >&5
9217 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
9218 echo $ac_n "(cached) $ac_c" 1>&6
9223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9224 ac_cpp='$CXXCPP $CPPFLAGS'
9225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9227 cross_compiling=$ac_cv_prog_cxx_cross
9229 cat > conftest.$ac_ext <<EOF
9230 #line 9231 "configure"
9231 #include "confdefs.h"
9234 `for x in ceilf floorf; do echo "$x (0);"; done`
9237 if { (eval echo configure:9238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9239 glibcpp_cv_func_float_round_use=yes
9241 echo "configure: failed program was:" >&5
9242 cat conftest.$ac_ext >&5
9244 glibcpp_cv_func_float_round_use=no
9248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9249 ac_cpp='$CPP $CPPFLAGS'
9250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9252 cross_compiling=$ac_cv_prog_cc_cross
9256 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
9257 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
9258 for ac_func in ceilf floorf
9260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9261 echo "configure:9262: checking for $ac_func" >&5
9262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9263 echo $ac_n "(cached) $ac_c" 1>&6
9265 cat > conftest.$ac_ext <<EOF
9266 #line 9267 "configure"
9267 #include "confdefs.h"
9268 /* System header to define __stub macros and hopefully few prototypes,
9269 which can conflict with char $ac_func(); below. */
9271 /* Override any gcc2 internal prototype to avoid an error. */
9272 /* We use char because int might match the return type of a gcc2
9273 builtin and then its argument prototype would still apply. */
9278 /* The GNU C library defines this for functions which it implements
9279 to always fail with ENOSYS. Some functions are actually named
9280 something starting with __ and the normal name is an alias. */
9281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9291 eval "ac_cv_func_$ac_func=yes"
9293 echo "configure: failed program was:" >&5
9294 cat conftest.$ac_ext >&5
9296 eval "ac_cv_func_$ac_func=no"
9301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9302 echo "$ac_t""yes" 1>&6
9303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9304 cat >> confdefs.h <<EOF
9305 #define $ac_tr_func 1
9309 echo "$ac_t""no" 1>&6
9317 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
9318 echo "configure:9319: checking for isnanf declaration" >&5
9319 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
9320 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9327 ac_cpp='$CXXCPP $CPPFLAGS'
9328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9330 cross_compiling=$ac_cv_prog_cxx_cross
9332 cat > conftest.$ac_ext <<EOF
9333 #line 9334 "configure"
9334 #include "confdefs.h"
9336 #ifdef HAVE_IEEEFP_H
9344 if { (eval echo configure:9345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9346 glibcpp_cv_func_isnanf_use=yes
9348 echo "configure: failed program was:" >&5
9349 cat conftest.$ac_ext >&5
9351 glibcpp_cv_func_isnanf_use=no
9355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9356 ac_cpp='$CPP $CPPFLAGS'
9357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9359 cross_compiling=$ac_cv_prog_cc_cross
9365 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
9367 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
9368 for ac_func in isnanf
9370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9371 echo "configure:9372: checking for $ac_func" >&5
9372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9373 echo $ac_n "(cached) $ac_c" 1>&6
9375 cat > conftest.$ac_ext <<EOF
9376 #line 9377 "configure"
9377 #include "confdefs.h"
9378 /* System header to define __stub macros and hopefully few prototypes,
9379 which can conflict with char $ac_func(); below. */
9381 /* Override any gcc2 internal prototype to avoid an error. */
9382 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */
9388 /* The GNU C library defines this for functions which it implements
9389 to always fail with ENOSYS. Some functions are actually named
9390 something starting with __ and the normal name is an alias. */
9391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9399 if { (eval echo configure:9400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9401 eval "ac_cv_func_$ac_func=yes"
9403 echo "configure: failed program was:" >&5
9404 cat conftest.$ac_ext >&5
9406 eval "ac_cv_func_$ac_func=no"
9411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9412 echo "$ac_t""yes" 1>&6
9413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9414 cat >> confdefs.h <<EOF
9415 #define $ac_tr_func 1
9419 echo "$ac_t""no" 1>&6
9425 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
9426 echo "configure:9427: checking for _isnanf declaration" >&5
9427 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
9428 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
9429 echo $ac_n "(cached) $ac_c" 1>&6
9434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9435 ac_cpp='$CXXCPP $CPPFLAGS'
9436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9438 cross_compiling=$ac_cv_prog_cxx_cross
9440 cat > conftest.$ac_ext <<EOF
9441 #line 9442 "configure"
9442 #include "confdefs.h"
9444 #ifdef HAVE_IEEEFP_H
9452 if { (eval echo configure:9453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9454 glibcpp_cv_func__isnanf_use=yes
9456 echo "configure: failed program was:" >&5
9457 cat conftest.$ac_ext >&5
9459 glibcpp_cv_func__isnanf_use=no
9463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9464 ac_cpp='$CPP $CPPFLAGS'
9465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9467 cross_compiling=$ac_cv_prog_cc_cross
9473 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
9475 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
9476 for ac_func in _isnanf
9478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9479 echo "configure:9480: checking for $ac_func" >&5
9480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9481 echo $ac_n "(cached) $ac_c" 1>&6
9483 cat > conftest.$ac_ext <<EOF
9484 #line 9485 "configure"
9485 #include "confdefs.h"
9486 /* System header to define __stub macros and hopefully few prototypes,
9487 which can conflict with char $ac_func(); below. */
9489 /* Override any gcc2 internal prototype to avoid an error. */
9490 /* We use char because int might match the return type of a gcc2
9491 builtin and then its argument prototype would still apply. */
9496 /* The GNU C library defines this for functions which it implements
9497 to always fail with ENOSYS. Some functions are actually named
9498 something starting with __ and the normal name is an alias. */
9499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9507 if { (eval echo configure:9508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9509 eval "ac_cv_func_$ac_func=yes"
9511 echo "configure: failed program was:" >&5
9512 cat conftest.$ac_ext >&5
9514 eval "ac_cv_func_$ac_func=no"
9519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9520 echo "$ac_t""yes" 1>&6
9521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9522 cat >> confdefs.h <<EOF
9523 #define $ac_tr_func 1
9527 echo "$ac_t""no" 1>&6
9536 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
9537 echo "configure:9538: checking for isinff declaration" >&5
9538 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
9539 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
9540 echo $ac_n "(cached) $ac_c" 1>&6
9545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9546 ac_cpp='$CXXCPP $CPPFLAGS'
9547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9549 cross_compiling=$ac_cv_prog_cxx_cross
9551 cat > conftest.$ac_ext <<EOF
9552 #line 9553 "configure"
9553 #include "confdefs.h"
9555 #ifdef HAVE_IEEEFP_H
9563 if { (eval echo configure:9564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9565 glibcpp_cv_func_isinff_use=yes
9567 echo "configure: failed program was:" >&5
9568 cat conftest.$ac_ext >&5
9570 glibcpp_cv_func_isinff_use=no
9574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9575 ac_cpp='$CPP $CPPFLAGS'
9576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9577 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9578 cross_compiling=$ac_cv_prog_cc_cross
9584 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
9586 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
9587 for ac_func in isinff
9589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9590 echo "configure:9591: checking for $ac_func" >&5
9591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9592 echo $ac_n "(cached) $ac_c" 1>&6
9594 cat > conftest.$ac_ext <<EOF
9595 #line 9596 "configure"
9596 #include "confdefs.h"
9597 /* System header to define __stub macros and hopefully few prototypes,
9598 which can conflict with char $ac_func(); below. */
9600 /* Override any gcc2 internal prototype to avoid an error. */
9601 /* We use char because int might match the return type of a gcc2
9602 builtin and then its argument prototype would still apply. */
9607 /* The GNU C library defines this for functions which it implements
9608 to always fail with ENOSYS. Some functions are actually named
9609 something starting with __ and the normal name is an alias. */
9610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9618 if { (eval echo configure:9619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9620 eval "ac_cv_func_$ac_func=yes"
9622 echo "configure: failed program was:" >&5
9623 cat conftest.$ac_ext >&5
9625 eval "ac_cv_func_$ac_func=no"
9630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9631 echo "$ac_t""yes" 1>&6
9632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9633 cat >> confdefs.h <<EOF
9634 #define $ac_tr_func 1
9638 echo "$ac_t""no" 1>&6
9644 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
9645 echo "configure:9646: checking for _isinff declaration" >&5
9646 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
9647 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
9648 echo $ac_n "(cached) $ac_c" 1>&6
9653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9654 ac_cpp='$CXXCPP $CPPFLAGS'
9655 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9656 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9657 cross_compiling=$ac_cv_prog_cxx_cross
9659 cat > conftest.$ac_ext <<EOF
9660 #line 9661 "configure"
9661 #include "confdefs.h"
9663 #ifdef HAVE_IEEEFP_H
9671 if { (eval echo configure:9672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9673 glibcpp_cv_func__isinff_use=yes
9675 echo "configure: failed program was:" >&5
9676 cat conftest.$ac_ext >&5
9678 glibcpp_cv_func__isinff_use=no
9682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9683 ac_cpp='$CPP $CPPFLAGS'
9684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9686 cross_compiling=$ac_cv_prog_cc_cross
9692 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
9694 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
9695 for ac_func in _isinff
9697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9698 echo "configure:9699: checking for $ac_func" >&5
9699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9700 echo $ac_n "(cached) $ac_c" 1>&6
9702 cat > conftest.$ac_ext <<EOF
9703 #line 9704 "configure"
9704 #include "confdefs.h"
9705 /* System header to define __stub macros and hopefully few prototypes,
9706 which can conflict with char $ac_func(); below. */
9708 /* Override any gcc2 internal prototype to avoid an error. */
9709 /* We use char because int might match the return type of a gcc2
9710 builtin and then its argument prototype would still apply. */
9715 /* The GNU C library defines this for functions which it implements
9716 to always fail with ENOSYS. Some functions are actually named
9717 something starting with __ and the normal name is an alias. */
9718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9726 if { (eval echo configure:9727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9728 eval "ac_cv_func_$ac_func=yes"
9730 echo "configure: failed program was:" >&5
9731 cat conftest.$ac_ext >&5
9733 eval "ac_cv_func_$ac_func=no"
9738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9739 echo "$ac_t""yes" 1>&6
9740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9741 cat >> confdefs.h <<EOF
9742 #define $ac_tr_func 1
9746 echo "$ac_t""no" 1>&6
9755 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
9756 echo "configure:9757: checking for atan2f declaration" >&5
9757 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
9758 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
9759 echo $ac_n "(cached) $ac_c" 1>&6
9764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9765 ac_cpp='$CXXCPP $CPPFLAGS'
9766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9768 cross_compiling=$ac_cv_prog_cxx_cross
9770 cat > conftest.$ac_ext <<EOF
9771 #line 9772 "configure"
9772 #include "confdefs.h"
9778 if { (eval echo configure:9779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9780 glibcpp_cv_func_atan2f_use=yes
9782 echo "configure: failed program was:" >&5
9783 cat conftest.$ac_ext >&5
9785 glibcpp_cv_func_atan2f_use=no
9789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9790 ac_cpp='$CPP $CPPFLAGS'
9791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9793 cross_compiling=$ac_cv_prog_cc_cross
9799 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
9801 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
9802 for ac_func in atan2f
9804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9805 echo "configure:9806: checking for $ac_func" >&5
9806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9807 echo $ac_n "(cached) $ac_c" 1>&6
9809 cat > conftest.$ac_ext <<EOF
9810 #line 9811 "configure"
9811 #include "confdefs.h"
9812 /* System header to define __stub macros and hopefully few prototypes,
9813 which can conflict with char $ac_func(); below. */
9815 /* Override any gcc2 internal prototype to avoid an error. */
9816 /* We use char because int might match the return type of a gcc2
9817 builtin and then its argument prototype would still apply. */
9822 /* The GNU C library defines this for functions which it implements
9823 to always fail with ENOSYS. Some functions are actually named
9824 something starting with __ and the normal name is an alias. */
9825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9833 if { (eval echo configure:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9835 eval "ac_cv_func_$ac_func=yes"
9837 echo "configure: failed program was:" >&5
9838 cat conftest.$ac_ext >&5
9840 eval "ac_cv_func_$ac_func=no"
9845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9846 echo "$ac_t""yes" 1>&6
9847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9848 cat >> confdefs.h <<EOF
9849 #define $ac_tr_func 1
9853 echo "$ac_t""no" 1>&6
9859 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
9860 echo "configure:9861: checking for _atan2f declaration" >&5
9861 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
9862 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
9863 echo $ac_n "(cached) $ac_c" 1>&6
9868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9869 ac_cpp='$CXXCPP $CPPFLAGS'
9870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9872 cross_compiling=$ac_cv_prog_cxx_cross
9874 cat > conftest.$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9882 if { (eval echo configure:9883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9884 glibcpp_cv_func__atan2f_use=yes
9886 echo "configure: failed program was:" >&5
9887 cat conftest.$ac_ext >&5
9889 glibcpp_cv_func__atan2f_use=no
9893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9894 ac_cpp='$CPP $CPPFLAGS'
9895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9897 cross_compiling=$ac_cv_prog_cc_cross
9903 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
9905 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
9906 for ac_func in _atan2f
9908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9909 echo "configure:9910: checking for $ac_func" >&5
9910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9911 echo $ac_n "(cached) $ac_c" 1>&6
9913 cat > conftest.$ac_ext <<EOF
9914 #line 9915 "configure"
9915 #include "confdefs.h"
9916 /* System header to define __stub macros and hopefully few prototypes,
9917 which can conflict with char $ac_func(); below. */
9919 /* Override any gcc2 internal prototype to avoid an error. */
9920 /* We use char because int might match the return type of a gcc2
9921 builtin and then its argument prototype would still apply. */
9926 /* The GNU C library defines this for functions which it implements
9927 to always fail with ENOSYS. Some functions are actually named
9928 something starting with __ and the normal name is an alias. */
9929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9937 if { (eval echo configure:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9939 eval "ac_cv_func_$ac_func=yes"
9941 echo "configure: failed program was:" >&5
9942 cat conftest.$ac_ext >&5
9944 eval "ac_cv_func_$ac_func=no"
9949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9950 echo "$ac_t""yes" 1>&6
9951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9952 cat >> confdefs.h <<EOF
9953 #define $ac_tr_func 1
9957 echo "$ac_t""no" 1>&6
9966 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
9967 echo "configure:9968: checking for fabsf declaration" >&5
9968 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
9969 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9976 ac_cpp='$CXXCPP $CPPFLAGS'
9977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9979 cross_compiling=$ac_cv_prog_cxx_cross
9981 cat > conftest.$ac_ext <<EOF
9982 #line 9983 "configure"
9983 #include "confdefs.h"
9985 #ifdef HAVE_IEEEFP_H
9993 if { (eval echo configure:9994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9995 glibcpp_cv_func_fabsf_use=yes
9997 echo "configure: failed program was:" >&5
9998 cat conftest.$ac_ext >&5
10000 glibcpp_cv_func_fabsf_use=no
10004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10005 ac_cpp='$CPP $CPPFLAGS'
10006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10008 cross_compiling=$ac_cv_prog_cc_cross
10014 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
10016 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
10017 for ac_func in fabsf
10019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10020 echo "configure:10021: checking for $ac_func" >&5
10021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10022 echo $ac_n "(cached) $ac_c" 1>&6
10024 cat > conftest.$ac_ext <<EOF
10025 #line 10026 "configure"
10026 #include "confdefs.h"
10027 /* System header to define __stub macros and hopefully few prototypes,
10028 which can conflict with char $ac_func(); below. */
10029 #include <assert.h>
10030 /* Override any gcc2 internal prototype to avoid an error. */
10031 /* We use char because int might match the return type of a gcc2
10032 builtin and then its argument prototype would still apply. */
10037 /* The GNU C library defines this for functions which it implements
10038 to always fail with ENOSYS. Some functions are actually named
10039 something starting with __ and the normal name is an alias. */
10040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10050 eval "ac_cv_func_$ac_func=yes"
10052 echo "configure: failed program was:" >&5
10053 cat conftest.$ac_ext >&5
10055 eval "ac_cv_func_$ac_func=no"
10060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10061 echo "$ac_t""yes" 1>&6
10062 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10063 cat >> confdefs.h <<EOF
10064 #define $ac_tr_func 1
10068 echo "$ac_t""no" 1>&6
10074 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
10075 echo "configure:10076: checking for _fabsf declaration" >&5
10076 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10077 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10084 ac_cpp='$CXXCPP $CPPFLAGS'
10085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10087 cross_compiling=$ac_cv_prog_cxx_cross
10089 cat > conftest.$ac_ext <<EOF
10090 #line 10091 "configure"
10091 #include "confdefs.h"
10093 #ifdef HAVE_IEEEFP_H
10094 #include <ieeefp.h>
10101 if { (eval echo configure:10102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10103 glibcpp_cv_func__fabsf_use=yes
10105 echo "configure: failed program was:" >&5
10106 cat conftest.$ac_ext >&5
10108 glibcpp_cv_func__fabsf_use=no
10112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10113 ac_cpp='$CPP $CPPFLAGS'
10114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10116 cross_compiling=$ac_cv_prog_cc_cross
10122 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
10124 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
10125 for ac_func in _fabsf
10127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10128 echo "configure:10129: checking for $ac_func" >&5
10129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10130 echo $ac_n "(cached) $ac_c" 1>&6
10132 cat > conftest.$ac_ext <<EOF
10133 #line 10134 "configure"
10134 #include "confdefs.h"
10135 /* System header to define __stub macros and hopefully few prototypes,
10136 which can conflict with char $ac_func(); below. */
10137 #include <assert.h>
10138 /* Override any gcc2 internal prototype to avoid an error. */
10139 /* We use char because int might match the return type of a gcc2
10140 builtin and then its argument prototype would still apply. */
10145 /* The GNU C library defines this for functions which it implements
10146 to always fail with ENOSYS. Some functions are actually named
10147 something starting with __ and the normal name is an alias. */
10148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10156 if { (eval echo configure:10157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10158 eval "ac_cv_func_$ac_func=yes"
10160 echo "configure: failed program was:" >&5
10161 cat conftest.$ac_ext >&5
10163 eval "ac_cv_func_$ac_func=no"
10168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10169 echo "$ac_t""yes" 1>&6
10170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10171 cat >> confdefs.h <<EOF
10172 #define $ac_tr_func 1
10176 echo "$ac_t""no" 1>&6
10185 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
10186 echo "configure:10187: checking for fmodf declaration" >&5
10187 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
10188 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
10189 echo $ac_n "(cached) $ac_c" 1>&6
10194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10195 ac_cpp='$CXXCPP $CPPFLAGS'
10196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10198 cross_compiling=$ac_cv_prog_cxx_cross
10200 cat > conftest.$ac_ext <<EOF
10201 #line 10202 "configure"
10202 #include "confdefs.h"
10208 if { (eval echo configure:10209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10210 glibcpp_cv_func_fmodf_use=yes
10212 echo "configure: failed program was:" >&5
10213 cat conftest.$ac_ext >&5
10215 glibcpp_cv_func_fmodf_use=no
10219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10220 ac_cpp='$CPP $CPPFLAGS'
10221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10223 cross_compiling=$ac_cv_prog_cc_cross
10229 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
10231 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
10232 for ac_func in fmodf
10234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10235 echo "configure:10236: checking for $ac_func" >&5
10236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10237 echo $ac_n "(cached) $ac_c" 1>&6
10239 cat > conftest.$ac_ext <<EOF
10240 #line 10241 "configure"
10241 #include "confdefs.h"
10242 /* System header to define __stub macros and hopefully few prototypes,
10243 which can conflict with char $ac_func(); below. */
10244 #include <assert.h>
10245 /* Override any gcc2 internal prototype to avoid an error. */
10246 /* We use char because int might match the return type of a gcc2
10247 builtin and then its argument prototype would still apply. */
10252 /* The GNU C library defines this for functions which it implements
10253 to always fail with ENOSYS. Some functions are actually named
10254 something starting with __ and the normal name is an alias. */
10255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10263 if { (eval echo configure:10264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10265 eval "ac_cv_func_$ac_func=yes"
10267 echo "configure: failed program was:" >&5
10268 cat conftest.$ac_ext >&5
10270 eval "ac_cv_func_$ac_func=no"
10275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10276 echo "$ac_t""yes" 1>&6
10277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10278 cat >> confdefs.h <<EOF
10279 #define $ac_tr_func 1
10283 echo "$ac_t""no" 1>&6
10289 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
10290 echo "configure:10291: checking for _fmodf declaration" >&5
10291 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
10292 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
10293 echo $ac_n "(cached) $ac_c" 1>&6
10298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10299 ac_cpp='$CXXCPP $CPPFLAGS'
10300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10302 cross_compiling=$ac_cv_prog_cxx_cross
10304 cat > conftest.$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10312 if { (eval echo configure:10313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10314 glibcpp_cv_func__fmodf_use=yes
10316 echo "configure: failed program was:" >&5
10317 cat conftest.$ac_ext >&5
10319 glibcpp_cv_func__fmodf_use=no
10323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10324 ac_cpp='$CPP $CPPFLAGS'
10325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10327 cross_compiling=$ac_cv_prog_cc_cross
10333 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
10335 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
10336 for ac_func in _fmodf
10338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10339 echo "configure:10340: checking for $ac_func" >&5
10340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10341 echo $ac_n "(cached) $ac_c" 1>&6
10343 cat > conftest.$ac_ext <<EOF
10344 #line 10345 "configure"
10345 #include "confdefs.h"
10346 /* System header to define __stub macros and hopefully few prototypes,
10347 which can conflict with char $ac_func(); below. */
10348 #include <assert.h>
10349 /* Override any gcc2 internal prototype to avoid an error. */
10350 /* We use char because int might match the return type of a gcc2
10351 builtin and then its argument prototype would still apply. */
10356 /* The GNU C library defines this for functions which it implements
10357 to always fail with ENOSYS. Some functions are actually named
10358 something starting with __ and the normal name is an alias. */
10359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10367 if { (eval echo configure:10368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10369 eval "ac_cv_func_$ac_func=yes"
10371 echo "configure: failed program was:" >&5
10372 cat conftest.$ac_ext >&5
10374 eval "ac_cv_func_$ac_func=no"
10379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10380 echo "$ac_t""yes" 1>&6
10381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10382 cat >> confdefs.h <<EOF
10383 #define $ac_tr_func 1
10387 echo "$ac_t""no" 1>&6
10396 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
10397 echo "configure:10398: checking for frexpf declaration" >&5
10398 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
10399 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
10400 echo $ac_n "(cached) $ac_c" 1>&6
10405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10406 ac_cpp='$CXXCPP $CPPFLAGS'
10407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10409 cross_compiling=$ac_cv_prog_cxx_cross
10411 cat > conftest.$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10419 if { (eval echo configure:10420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10421 glibcpp_cv_func_frexpf_use=yes
10423 echo "configure: failed program was:" >&5
10424 cat conftest.$ac_ext >&5
10426 glibcpp_cv_func_frexpf_use=no
10430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10431 ac_cpp='$CPP $CPPFLAGS'
10432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10434 cross_compiling=$ac_cv_prog_cc_cross
10440 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
10442 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
10443 for ac_func in frexpf
10445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10446 echo "configure:10447: checking for $ac_func" >&5
10447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10448 echo $ac_n "(cached) $ac_c" 1>&6
10450 cat > conftest.$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10453 /* System header to define __stub macros and hopefully few prototypes,
10454 which can conflict with char $ac_func(); below. */
10455 #include <assert.h>
10456 /* Override any gcc2 internal prototype to avoid an error. */
10457 /* We use char because int might match the return type of a gcc2
10458 builtin and then its argument prototype would still apply. */
10463 /* The GNU C library defines this for functions which it implements
10464 to always fail with ENOSYS. Some functions are actually named
10465 something starting with __ and the normal name is an alias. */
10466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10474 if { (eval echo configure:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10476 eval "ac_cv_func_$ac_func=yes"
10478 echo "configure: failed program was:" >&5
10479 cat conftest.$ac_ext >&5
10481 eval "ac_cv_func_$ac_func=no"
10486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10487 echo "$ac_t""yes" 1>&6
10488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10489 cat >> confdefs.h <<EOF
10490 #define $ac_tr_func 1
10494 echo "$ac_t""no" 1>&6
10500 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
10501 echo "configure:10502: checking for _frexpf declaration" >&5
10502 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
10503 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
10504 echo $ac_n "(cached) $ac_c" 1>&6
10509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10510 ac_cpp='$CXXCPP $CPPFLAGS'
10511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10513 cross_compiling=$ac_cv_prog_cxx_cross
10515 cat > conftest.$ac_ext <<EOF
10516 #line 10517 "configure"
10517 #include "confdefs.h"
10523 if { (eval echo configure:10524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10525 glibcpp_cv_func__frexpf_use=yes
10527 echo "configure: failed program was:" >&5
10528 cat conftest.$ac_ext >&5
10530 glibcpp_cv_func__frexpf_use=no
10534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10535 ac_cpp='$CPP $CPPFLAGS'
10536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10538 cross_compiling=$ac_cv_prog_cc_cross
10544 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
10546 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
10547 for ac_func in _frexpf
10549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10550 echo "configure:10551: checking for $ac_func" >&5
10551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10552 echo $ac_n "(cached) $ac_c" 1>&6
10554 cat > conftest.$ac_ext <<EOF
10555 #line 10556 "configure"
10556 #include "confdefs.h"
10557 /* System header to define __stub macros and hopefully few prototypes,
10558 which can conflict with char $ac_func(); below. */
10559 #include <assert.h>
10560 /* Override any gcc2 internal prototype to avoid an error. */
10561 /* We use char because int might match the return type of a gcc2
10562 builtin and then its argument prototype would still apply. */
10567 /* The GNU C library defines this for functions which it implements
10568 to always fail with ENOSYS. Some functions are actually named
10569 something starting with __ and the normal name is an alias. */
10570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10578 if { (eval echo configure:10579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10580 eval "ac_cv_func_$ac_func=yes"
10582 echo "configure: failed program was:" >&5
10583 cat conftest.$ac_ext >&5
10585 eval "ac_cv_func_$ac_func=no"
10590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10591 echo "$ac_t""yes" 1>&6
10592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10593 cat >> confdefs.h <<EOF
10594 #define $ac_tr_func 1
10598 echo "$ac_t""no" 1>&6
10607 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
10608 echo "configure:10609: checking for hypotf declaration" >&5
10609 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
10610 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
10611 echo $ac_n "(cached) $ac_c" 1>&6
10616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10617 ac_cpp='$CXXCPP $CPPFLAGS'
10618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10620 cross_compiling=$ac_cv_prog_cxx_cross
10622 cat > conftest.$ac_ext <<EOF
10623 #line 10624 "configure"
10624 #include "confdefs.h"
10630 if { (eval echo configure:10631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10632 glibcpp_cv_func_hypotf_use=yes
10634 echo "configure: failed program was:" >&5
10635 cat conftest.$ac_ext >&5
10637 glibcpp_cv_func_hypotf_use=no
10641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10642 ac_cpp='$CPP $CPPFLAGS'
10643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10645 cross_compiling=$ac_cv_prog_cc_cross
10651 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
10653 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
10654 for ac_func in hypotf
10656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10657 echo "configure:10658: checking for $ac_func" >&5
10658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10659 echo $ac_n "(cached) $ac_c" 1>&6
10661 cat > conftest.$ac_ext <<EOF
10662 #line 10663 "configure"
10663 #include "confdefs.h"
10664 /* System header to define __stub macros and hopefully few prototypes,
10665 which can conflict with char $ac_func(); below. */
10666 #include <assert.h>
10667 /* Override any gcc2 internal prototype to avoid an error. */
10668 /* We use char because int might match the return type of a gcc2
10669 builtin and then its argument prototype would still apply. */
10674 /* The GNU C library defines this for functions which it implements
10675 to always fail with ENOSYS. Some functions are actually named
10676 something starting with __ and the normal name is an alias. */
10677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10685 if { (eval echo configure:10686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10687 eval "ac_cv_func_$ac_func=yes"
10689 echo "configure: failed program was:" >&5
10690 cat conftest.$ac_ext >&5
10692 eval "ac_cv_func_$ac_func=no"
10697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10698 echo "$ac_t""yes" 1>&6
10699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10700 cat >> confdefs.h <<EOF
10701 #define $ac_tr_func 1
10705 echo "$ac_t""no" 1>&6
10711 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
10712 echo "configure:10713: checking for _hypotf declaration" >&5
10713 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
10714 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
10715 echo $ac_n "(cached) $ac_c" 1>&6
10720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10721 ac_cpp='$CXXCPP $CPPFLAGS'
10722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10724 cross_compiling=$ac_cv_prog_cxx_cross
10726 cat > conftest.$ac_ext <<EOF
10727 #line 10728 "configure"
10728 #include "confdefs.h"
10734 if { (eval echo configure:10735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10736 glibcpp_cv_func__hypotf_use=yes
10738 echo "configure: failed program was:" >&5
10739 cat conftest.$ac_ext >&5
10741 glibcpp_cv_func__hypotf_use=no
10745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10746 ac_cpp='$CPP $CPPFLAGS'
10747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10749 cross_compiling=$ac_cv_prog_cc_cross
10755 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
10757 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
10758 for ac_func in _hypotf
10760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10761 echo "configure:10762: checking for $ac_func" >&5
10762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10763 echo $ac_n "(cached) $ac_c" 1>&6
10765 cat > conftest.$ac_ext <<EOF
10766 #line 10767 "configure"
10767 #include "confdefs.h"
10768 /* System header to define __stub macros and hopefully few prototypes,
10769 which can conflict with char $ac_func(); below. */
10770 #include <assert.h>
10771 /* Override any gcc2 internal prototype to avoid an error. */
10772 /* We use char because int might match the return type of a gcc2
10773 builtin and then its argument prototype would still apply. */
10778 /* The GNU C library defines this for functions which it implements
10779 to always fail with ENOSYS. Some functions are actually named
10780 something starting with __ and the normal name is an alias. */
10781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10789 if { (eval echo configure:10790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10791 eval "ac_cv_func_$ac_func=yes"
10793 echo "configure: failed program was:" >&5
10794 cat conftest.$ac_ext >&5
10796 eval "ac_cv_func_$ac_func=no"
10801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10802 echo "$ac_t""yes" 1>&6
10803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10804 cat >> confdefs.h <<EOF
10805 #define $ac_tr_func 1
10809 echo "$ac_t""no" 1>&6
10818 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
10819 echo "configure:10820: checking for ldexpf declaration" >&5
10820 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
10821 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
10822 echo $ac_n "(cached) $ac_c" 1>&6
10827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10828 ac_cpp='$CXXCPP $CPPFLAGS'
10829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10831 cross_compiling=$ac_cv_prog_cxx_cross
10833 cat > conftest.$ac_ext <<EOF
10834 #line 10835 "configure"
10835 #include "confdefs.h"
10841 if { (eval echo configure:10842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10843 glibcpp_cv_func_ldexpf_use=yes
10845 echo "configure: failed program was:" >&5
10846 cat conftest.$ac_ext >&5
10848 glibcpp_cv_func_ldexpf_use=no
10852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10853 ac_cpp='$CPP $CPPFLAGS'
10854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10856 cross_compiling=$ac_cv_prog_cc_cross
10862 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
10864 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
10865 for ac_func in ldexpf
10867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10868 echo "configure:10869: checking for $ac_func" >&5
10869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10870 echo $ac_n "(cached) $ac_c" 1>&6
10872 cat > conftest.$ac_ext <<EOF
10873 #line 10874 "configure"
10874 #include "confdefs.h"
10875 /* System header to define __stub macros and hopefully few prototypes,
10876 which can conflict with char $ac_func(); below. */
10877 #include <assert.h>
10878 /* Override any gcc2 internal prototype to avoid an error. */
10879 /* We use char because int might match the return type of a gcc2
10880 builtin and then its argument prototype would still apply. */
10885 /* The GNU C library defines this for functions which it implements
10886 to always fail with ENOSYS. Some functions are actually named
10887 something starting with __ and the normal name is an alias. */
10888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10898 eval "ac_cv_func_$ac_func=yes"
10900 echo "configure: failed program was:" >&5
10901 cat conftest.$ac_ext >&5
10903 eval "ac_cv_func_$ac_func=no"
10908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10909 echo "$ac_t""yes" 1>&6
10910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10911 cat >> confdefs.h <<EOF
10912 #define $ac_tr_func 1
10916 echo "$ac_t""no" 1>&6
10922 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
10923 echo "configure:10924: checking for _ldexpf declaration" >&5
10924 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
10925 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
10926 echo $ac_n "(cached) $ac_c" 1>&6
10931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10932 ac_cpp='$CXXCPP $CPPFLAGS'
10933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10935 cross_compiling=$ac_cv_prog_cxx_cross
10937 cat > conftest.$ac_ext <<EOF
10938 #line 10939 "configure"
10939 #include "confdefs.h"
10945 if { (eval echo configure:10946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10947 glibcpp_cv_func__ldexpf_use=yes
10949 echo "configure: failed program was:" >&5
10950 cat conftest.$ac_ext >&5
10952 glibcpp_cv_func__ldexpf_use=no
10956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10957 ac_cpp='$CPP $CPPFLAGS'
10958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10960 cross_compiling=$ac_cv_prog_cc_cross
10966 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
10968 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
10969 for ac_func in _ldexpf
10971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10972 echo "configure:10973: checking for $ac_func" >&5
10973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10974 echo $ac_n "(cached) $ac_c" 1>&6
10976 cat > conftest.$ac_ext <<EOF
10977 #line 10978 "configure"
10978 #include "confdefs.h"
10979 /* System header to define __stub macros and hopefully few prototypes,
10980 which can conflict with char $ac_func(); below. */
10981 #include <assert.h>
10982 /* Override any gcc2 internal prototype to avoid an error. */
10983 /* We use char because int might match the return type of a gcc2
10984 builtin and then its argument prototype would still apply. */
10989 /* The GNU C library defines this for functions which it implements
10990 to always fail with ENOSYS. Some functions are actually named
10991 something starting with __ and the normal name is an alias. */
10992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11000 if { (eval echo configure:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11002 eval "ac_cv_func_$ac_func=yes"
11004 echo "configure: failed program was:" >&5
11005 cat conftest.$ac_ext >&5
11007 eval "ac_cv_func_$ac_func=no"
11012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11013 echo "$ac_t""yes" 1>&6
11014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11015 cat >> confdefs.h <<EOF
11016 #define $ac_tr_func 1
11020 echo "$ac_t""no" 1>&6
11029 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
11030 echo "configure:11031: checking for logf declaration" >&5
11031 if test x${glibcpp_cv_func_logf_use+set} != xset; then
11032 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
11033 echo $ac_n "(cached) $ac_c" 1>&6
11038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11039 ac_cpp='$CXXCPP $CPPFLAGS'
11040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11042 cross_compiling=$ac_cv_prog_cxx_cross
11044 cat > conftest.$ac_ext <<EOF
11045 #line 11046 "configure"
11046 #include "confdefs.h"
11048 #ifdef HAVE_IEEEFP_H
11049 #include <ieeefp.h>
11056 if { (eval echo configure:11057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11058 glibcpp_cv_func_logf_use=yes
11060 echo "configure: failed program was:" >&5
11061 cat conftest.$ac_ext >&5
11063 glibcpp_cv_func_logf_use=no
11067 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11068 ac_cpp='$CPP $CPPFLAGS'
11069 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11070 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11071 cross_compiling=$ac_cv_prog_cc_cross
11077 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11079 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11080 for ac_func in logf
11082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11083 echo "configure:11084: checking for $ac_func" >&5
11084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11085 echo $ac_n "(cached) $ac_c" 1>&6
11087 cat > conftest.$ac_ext <<EOF
11088 #line 11089 "configure"
11089 #include "confdefs.h"
11090 /* System header to define __stub macros and hopefully few prototypes,
11091 which can conflict with char $ac_func(); below. */
11092 #include <assert.h>
11093 /* Override any gcc2 internal prototype to avoid an error. */
11094 /* We use char because int might match the return type of a gcc2
11095 builtin and then its argument prototype would still apply. */
11100 /* The GNU C library defines this for functions which it implements
11101 to always fail with ENOSYS. Some functions are actually named
11102 something starting with __ and the normal name is an alias. */
11103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11111 if { (eval echo configure:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11113 eval "ac_cv_func_$ac_func=yes"
11115 echo "configure: failed program was:" >&5
11116 cat conftest.$ac_ext >&5
11118 eval "ac_cv_func_$ac_func=no"
11123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11124 echo "$ac_t""yes" 1>&6
11125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11126 cat >> confdefs.h <<EOF
11127 #define $ac_tr_func 1
11131 echo "$ac_t""no" 1>&6
11137 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
11138 echo "configure:11139: checking for _logf declaration" >&5
11139 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11140 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11141 echo $ac_n "(cached) $ac_c" 1>&6
11146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11147 ac_cpp='$CXXCPP $CPPFLAGS'
11148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11150 cross_compiling=$ac_cv_prog_cxx_cross
11152 cat > conftest.$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11156 #ifdef HAVE_IEEEFP_H
11157 #include <ieeefp.h>
11164 if { (eval echo configure:11165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11166 glibcpp_cv_func__logf_use=yes
11168 echo "configure: failed program was:" >&5
11169 cat conftest.$ac_ext >&5
11171 glibcpp_cv_func__logf_use=no
11175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11176 ac_cpp='$CPP $CPPFLAGS'
11177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11179 cross_compiling=$ac_cv_prog_cc_cross
11185 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
11187 if test x$glibcpp_cv_func__logf_use = x"yes"; then
11188 for ac_func in _logf
11190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11191 echo "configure:11192: checking for $ac_func" >&5
11192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11193 echo $ac_n "(cached) $ac_c" 1>&6
11195 cat > conftest.$ac_ext <<EOF
11196 #line 11197 "configure"
11197 #include "confdefs.h"
11198 /* System header to define __stub macros and hopefully few prototypes,
11199 which can conflict with char $ac_func(); below. */
11200 #include <assert.h>
11201 /* Override any gcc2 internal prototype to avoid an error. */
11202 /* We use char because int might match the return type of a gcc2
11203 builtin and then its argument prototype would still apply. */
11208 /* The GNU C library defines this for functions which it implements
11209 to always fail with ENOSYS. Some functions are actually named
11210 something starting with __ and the normal name is an alias. */
11211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11219 if { (eval echo configure:11220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11221 eval "ac_cv_func_$ac_func=yes"
11223 echo "configure: failed program was:" >&5
11224 cat conftest.$ac_ext >&5
11226 eval "ac_cv_func_$ac_func=no"
11231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11232 echo "$ac_t""yes" 1>&6
11233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11234 cat >> confdefs.h <<EOF
11235 #define $ac_tr_func 1
11239 echo "$ac_t""no" 1>&6
11248 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
11249 echo "configure:11250: checking for log10f declaration" >&5
11250 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
11251 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
11252 echo $ac_n "(cached) $ac_c" 1>&6
11257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11258 ac_cpp='$CXXCPP $CPPFLAGS'
11259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11261 cross_compiling=$ac_cv_prog_cxx_cross
11263 cat > conftest.$ac_ext <<EOF
11264 #line 11265 "configure"
11265 #include "confdefs.h"
11267 #ifdef HAVE_IEEEFP_H
11268 #include <ieeefp.h>
11275 if { (eval echo configure:11276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11277 glibcpp_cv_func_log10f_use=yes
11279 echo "configure: failed program was:" >&5
11280 cat conftest.$ac_ext >&5
11282 glibcpp_cv_func_log10f_use=no
11286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11287 ac_cpp='$CPP $CPPFLAGS'
11288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11290 cross_compiling=$ac_cv_prog_cc_cross
11296 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
11298 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
11299 for ac_func in log10f
11301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11302 echo "configure:11303: checking for $ac_func" >&5
11303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11306 cat > conftest.$ac_ext <<EOF
11307 #line 11308 "configure"
11308 #include "confdefs.h"
11309 /* System header to define __stub macros and hopefully few prototypes,
11310 which can conflict with char $ac_func(); below. */
11311 #include <assert.h>
11312 /* Override any gcc2 internal prototype to avoid an error. */
11313 /* We use char because int might match the return type of a gcc2
11314 builtin and then its argument prototype would still apply. */
11319 /* The GNU C library defines this for functions which it implements
11320 to always fail with ENOSYS. Some functions are actually named
11321 something starting with __ and the normal name is an alias. */
11322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11330 if { (eval echo configure:11331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11332 eval "ac_cv_func_$ac_func=yes"
11334 echo "configure: failed program was:" >&5
11335 cat conftest.$ac_ext >&5
11337 eval "ac_cv_func_$ac_func=no"
11342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11343 echo "$ac_t""yes" 1>&6
11344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11345 cat >> confdefs.h <<EOF
11346 #define $ac_tr_func 1
11350 echo "$ac_t""no" 1>&6
11356 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
11357 echo "configure:11358: checking for _log10f declaration" >&5
11358 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
11359 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
11360 echo $ac_n "(cached) $ac_c" 1>&6
11365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11366 ac_cpp='$CXXCPP $CPPFLAGS'
11367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11369 cross_compiling=$ac_cv_prog_cxx_cross
11371 cat > conftest.$ac_ext <<EOF
11372 #line 11373 "configure"
11373 #include "confdefs.h"
11375 #ifdef HAVE_IEEEFP_H
11376 #include <ieeefp.h>
11383 if { (eval echo configure:11384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11385 glibcpp_cv_func__log10f_use=yes
11387 echo "configure: failed program was:" >&5
11388 cat conftest.$ac_ext >&5
11390 glibcpp_cv_func__log10f_use=no
11394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11395 ac_cpp='$CPP $CPPFLAGS'
11396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11398 cross_compiling=$ac_cv_prog_cc_cross
11404 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
11406 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
11407 for ac_func in _log10f
11409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11410 echo "configure:11411: checking for $ac_func" >&5
11411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11412 echo $ac_n "(cached) $ac_c" 1>&6
11414 cat > conftest.$ac_ext <<EOF
11415 #line 11416 "configure"
11416 #include "confdefs.h"
11417 /* System header to define __stub macros and hopefully few prototypes,
11418 which can conflict with char $ac_func(); below. */
11419 #include <assert.h>
11420 /* Override any gcc2 internal prototype to avoid an error. */
11421 /* We use char because int might match the return type of a gcc2
11422 builtin and then its argument prototype would still apply. */
11427 /* The GNU C library defines this for functions which it implements
11428 to always fail with ENOSYS. Some functions are actually named
11429 something starting with __ and the normal name is an alias. */
11430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11438 if { (eval echo configure:11439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11440 eval "ac_cv_func_$ac_func=yes"
11442 echo "configure: failed program was:" >&5
11443 cat conftest.$ac_ext >&5
11445 eval "ac_cv_func_$ac_func=no"
11450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11451 echo "$ac_t""yes" 1>&6
11452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11453 cat >> confdefs.h <<EOF
11454 #define $ac_tr_func 1
11458 echo "$ac_t""no" 1>&6
11467 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
11468 echo "configure:11469: checking for modff declaration" >&5
11469 if test x${glibcpp_cv_func_modff_use+set} != xset; then
11470 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
11471 echo $ac_n "(cached) $ac_c" 1>&6
11476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11477 ac_cpp='$CXXCPP $CPPFLAGS'
11478 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11479 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11480 cross_compiling=$ac_cv_prog_cxx_cross
11482 cat > conftest.$ac_ext <<EOF
11483 #line 11484 "configure"
11484 #include "confdefs.h"
11490 if { (eval echo configure:11491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11492 glibcpp_cv_func_modff_use=yes
11494 echo "configure: failed program was:" >&5
11495 cat conftest.$ac_ext >&5
11497 glibcpp_cv_func_modff_use=no
11501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11502 ac_cpp='$CPP $CPPFLAGS'
11503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11505 cross_compiling=$ac_cv_prog_cc_cross
11511 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
11513 if test x$glibcpp_cv_func_modff_use = x"yes"; then
11514 for ac_func in modff
11516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11517 echo "configure:11518: checking for $ac_func" >&5
11518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11519 echo $ac_n "(cached) $ac_c" 1>&6
11521 cat > conftest.$ac_ext <<EOF
11522 #line 11523 "configure"
11523 #include "confdefs.h"
11524 /* System header to define __stub macros and hopefully few prototypes,
11525 which can conflict with char $ac_func(); below. */
11526 #include <assert.h>
11527 /* Override any gcc2 internal prototype to avoid an error. */
11528 /* We use char because int might match the return type of a gcc2
11529 builtin and then its argument prototype would still apply. */
11534 /* The GNU C library defines this for functions which it implements
11535 to always fail with ENOSYS. Some functions are actually named
11536 something starting with __ and the normal name is an alias. */
11537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11545 if { (eval echo configure:11546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11547 eval "ac_cv_func_$ac_func=yes"
11549 echo "configure: failed program was:" >&5
11550 cat conftest.$ac_ext >&5
11552 eval "ac_cv_func_$ac_func=no"
11557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11558 echo "$ac_t""yes" 1>&6
11559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11560 cat >> confdefs.h <<EOF
11561 #define $ac_tr_func 1
11565 echo "$ac_t""no" 1>&6
11571 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
11572 echo "configure:11573: checking for _modff declaration" >&5
11573 if test x${glibcpp_cv_func__modff_use+set} != xset; then
11574 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
11575 echo $ac_n "(cached) $ac_c" 1>&6
11580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11581 ac_cpp='$CXXCPP $CPPFLAGS'
11582 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11583 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11584 cross_compiling=$ac_cv_prog_cxx_cross
11586 cat > conftest.$ac_ext <<EOF
11587 #line 11588 "configure"
11588 #include "confdefs.h"
11594 if { (eval echo configure:11595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11596 glibcpp_cv_func__modff_use=yes
11598 echo "configure: failed program was:" >&5
11599 cat conftest.$ac_ext >&5
11601 glibcpp_cv_func__modff_use=no
11605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11606 ac_cpp='$CPP $CPPFLAGS'
11607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11609 cross_compiling=$ac_cv_prog_cc_cross
11615 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
11617 if test x$glibcpp_cv_func__modff_use = x"yes"; then
11618 for ac_func in _modff
11620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11621 echo "configure:11622: checking for $ac_func" >&5
11622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11623 echo $ac_n "(cached) $ac_c" 1>&6
11625 cat > conftest.$ac_ext <<EOF
11626 #line 11627 "configure"
11627 #include "confdefs.h"
11628 /* System header to define __stub macros and hopefully few prototypes,
11629 which can conflict with char $ac_func(); below. */
11630 #include <assert.h>
11631 /* Override any gcc2 internal prototype to avoid an error. */
11632 /* We use char because int might match the return type of a gcc2
11633 builtin and then its argument prototype would still apply. */
11638 /* The GNU C library defines this for functions which it implements
11639 to always fail with ENOSYS. Some functions are actually named
11640 something starting with __ and the normal name is an alias. */
11641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11649 if { (eval echo configure:11650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11651 eval "ac_cv_func_$ac_func=yes"
11653 echo "configure: failed program was:" >&5
11654 cat conftest.$ac_ext >&5
11656 eval "ac_cv_func_$ac_func=no"
11661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11662 echo "$ac_t""yes" 1>&6
11663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11664 cat >> confdefs.h <<EOF
11665 #define $ac_tr_func 1
11669 echo "$ac_t""no" 1>&6
11678 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
11679 echo "configure:11680: checking for powf declaration" >&5
11680 if test x${glibcpp_cv_func_powf_use+set} != xset; then
11681 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
11682 echo $ac_n "(cached) $ac_c" 1>&6
11687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11688 ac_cpp='$CXXCPP $CPPFLAGS'
11689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11691 cross_compiling=$ac_cv_prog_cxx_cross
11693 cat > conftest.$ac_ext <<EOF
11694 #line 11695 "configure"
11695 #include "confdefs.h"
11701 if { (eval echo configure:11702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11703 glibcpp_cv_func_powf_use=yes
11705 echo "configure: failed program was:" >&5
11706 cat conftest.$ac_ext >&5
11708 glibcpp_cv_func_powf_use=no
11712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11713 ac_cpp='$CPP $CPPFLAGS'
11714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11716 cross_compiling=$ac_cv_prog_cc_cross
11722 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
11724 if test x$glibcpp_cv_func_powf_use = x"yes"; then
11725 for ac_func in powf
11727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11728 echo "configure:11729: checking for $ac_func" >&5
11729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11732 cat > conftest.$ac_ext <<EOF
11733 #line 11734 "configure"
11734 #include "confdefs.h"
11735 /* System header to define __stub macros and hopefully few prototypes,
11736 which can conflict with char $ac_func(); below. */
11737 #include <assert.h>
11738 /* Override any gcc2 internal prototype to avoid an error. */
11739 /* We use char because int might match the return type of a gcc2
11740 builtin and then its argument prototype would still apply. */
11745 /* The GNU C library defines this for functions which it implements
11746 to always fail with ENOSYS. Some functions are actually named
11747 something starting with __ and the normal name is an alias. */
11748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11756 if { (eval echo configure:11757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11758 eval "ac_cv_func_$ac_func=yes"
11760 echo "configure: failed program was:" >&5
11761 cat conftest.$ac_ext >&5
11763 eval "ac_cv_func_$ac_func=no"
11768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11769 echo "$ac_t""yes" 1>&6
11770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11771 cat >> confdefs.h <<EOF
11772 #define $ac_tr_func 1
11776 echo "$ac_t""no" 1>&6
11782 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
11783 echo "configure:11784: checking for _powf declaration" >&5
11784 if test x${glibcpp_cv_func__powf_use+set} != xset; then
11785 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11792 ac_cpp='$CXXCPP $CPPFLAGS'
11793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11795 cross_compiling=$ac_cv_prog_cxx_cross
11797 cat > conftest.$ac_ext <<EOF
11798 #line 11799 "configure"
11799 #include "confdefs.h"
11805 if { (eval echo configure:11806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11807 glibcpp_cv_func__powf_use=yes
11809 echo "configure: failed program was:" >&5
11810 cat conftest.$ac_ext >&5
11812 glibcpp_cv_func__powf_use=no
11816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11817 ac_cpp='$CPP $CPPFLAGS'
11818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11820 cross_compiling=$ac_cv_prog_cc_cross
11826 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
11828 if test x$glibcpp_cv_func__powf_use = x"yes"; then
11829 for ac_func in _powf
11831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11832 echo "configure:11833: checking for $ac_func" >&5
11833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11834 echo $ac_n "(cached) $ac_c" 1>&6
11836 cat > conftest.$ac_ext <<EOF
11837 #line 11838 "configure"
11838 #include "confdefs.h"
11839 /* System header to define __stub macros and hopefully few prototypes,
11840 which can conflict with char $ac_func(); below. */
11841 #include <assert.h>
11842 /* Override any gcc2 internal prototype to avoid an error. */
11843 /* We use char because int might match the return type of a gcc2
11844 builtin and then its argument prototype would still apply. */
11849 /* The GNU C library defines this for functions which it implements
11850 to always fail with ENOSYS. Some functions are actually named
11851 something starting with __ and the normal name is an alias. */
11852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11860 if { (eval echo configure:11861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11862 eval "ac_cv_func_$ac_func=yes"
11864 echo "configure: failed program was:" >&5
11865 cat conftest.$ac_ext >&5
11867 eval "ac_cv_func_$ac_func=no"
11872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11873 echo "$ac_t""yes" 1>&6
11874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11875 cat >> confdefs.h <<EOF
11876 #define $ac_tr_func 1
11880 echo "$ac_t""no" 1>&6
11889 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
11890 echo "configure:11891: checking for sqrtf declaration" >&5
11891 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
11892 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
11893 echo $ac_n "(cached) $ac_c" 1>&6
11898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11899 ac_cpp='$CXXCPP $CPPFLAGS'
11900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11902 cross_compiling=$ac_cv_prog_cxx_cross
11904 cat > conftest.$ac_ext <<EOF
11905 #line 11906 "configure"
11906 #include "confdefs.h"
11908 #ifdef HAVE_IEEEFP_H
11909 #include <ieeefp.h>
11916 if { (eval echo configure:11917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11918 glibcpp_cv_func_sqrtf_use=yes
11920 echo "configure: failed program was:" >&5
11921 cat conftest.$ac_ext >&5
11923 glibcpp_cv_func_sqrtf_use=no
11927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11928 ac_cpp='$CPP $CPPFLAGS'
11929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11931 cross_compiling=$ac_cv_prog_cc_cross
11937 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
11939 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
11940 for ac_func in sqrtf
11942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11943 echo "configure:11944: checking for $ac_func" >&5
11944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11945 echo $ac_n "(cached) $ac_c" 1>&6
11947 cat > conftest.$ac_ext <<EOF
11948 #line 11949 "configure"
11949 #include "confdefs.h"
11950 /* System header to define __stub macros and hopefully few prototypes,
11951 which can conflict with char $ac_func(); below. */
11952 #include <assert.h>
11953 /* Override any gcc2 internal prototype to avoid an error. */
11954 /* We use char because int might match the return type of a gcc2
11955 builtin and then its argument prototype would still apply. */
11960 /* The GNU C library defines this for functions which it implements
11961 to always fail with ENOSYS. Some functions are actually named
11962 something starting with __ and the normal name is an alias. */
11963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11973 eval "ac_cv_func_$ac_func=yes"
11975 echo "configure: failed program was:" >&5
11976 cat conftest.$ac_ext >&5
11978 eval "ac_cv_func_$ac_func=no"
11983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11984 echo "$ac_t""yes" 1>&6
11985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11986 cat >> confdefs.h <<EOF
11987 #define $ac_tr_func 1
11991 echo "$ac_t""no" 1>&6
11997 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
11998 echo "configure:11999: checking for _sqrtf declaration" >&5
11999 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12000 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12001 echo $ac_n "(cached) $ac_c" 1>&6
12006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12007 ac_cpp='$CXXCPP $CPPFLAGS'
12008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12010 cross_compiling=$ac_cv_prog_cxx_cross
12012 cat > conftest.$ac_ext <<EOF
12013 #line 12014 "configure"
12014 #include "confdefs.h"
12016 #ifdef HAVE_IEEEFP_H
12017 #include <ieeefp.h>
12024 if { (eval echo configure:12025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12026 glibcpp_cv_func__sqrtf_use=yes
12028 echo "configure: failed program was:" >&5
12029 cat conftest.$ac_ext >&5
12031 glibcpp_cv_func__sqrtf_use=no
12035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12036 ac_cpp='$CPP $CPPFLAGS'
12037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12039 cross_compiling=$ac_cv_prog_cc_cross
12045 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12047 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12048 for ac_func in _sqrtf
12050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12051 echo "configure:12052: checking for $ac_func" >&5
12052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12053 echo $ac_n "(cached) $ac_c" 1>&6
12055 cat > conftest.$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 /* System header to define __stub macros and hopefully few prototypes,
12059 which can conflict with char $ac_func(); below. */
12060 #include <assert.h>
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 /* We use char because int might match the return type of a gcc2
12063 builtin and then its argument prototype would still apply. */
12068 /* The GNU C library defines this for functions which it implements
12069 to always fail with ENOSYS. Some functions are actually named
12070 something starting with __ and the normal name is an alias. */
12071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12079 if { (eval echo configure:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12081 eval "ac_cv_func_$ac_func=yes"
12083 echo "configure: failed program was:" >&5
12084 cat conftest.$ac_ext >&5
12086 eval "ac_cv_func_$ac_func=no"
12091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12092 echo "$ac_t""yes" 1>&6
12093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12094 cat >> confdefs.h <<EOF
12095 #define $ac_tr_func 1
12099 echo "$ac_t""no" 1>&6
12108 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
12109 echo "configure:12110: checking for sincosf declaration" >&5
12110 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
12111 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
12112 echo $ac_n "(cached) $ac_c" 1>&6
12117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12118 ac_cpp='$CXXCPP $CPPFLAGS'
12119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12121 cross_compiling=$ac_cv_prog_cxx_cross
12123 cat > conftest.$ac_ext <<EOF
12124 #line 12125 "configure"
12125 #include "confdefs.h"
12131 if { (eval echo configure:12132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12133 glibcpp_cv_func_sincosf_use=yes
12135 echo "configure: failed program was:" >&5
12136 cat conftest.$ac_ext >&5
12138 glibcpp_cv_func_sincosf_use=no
12142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12143 ac_cpp='$CPP $CPPFLAGS'
12144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12146 cross_compiling=$ac_cv_prog_cc_cross
12152 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
12154 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
12155 for ac_func in sincosf
12157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12158 echo "configure:12159: checking for $ac_func" >&5
12159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12162 cat > conftest.$ac_ext <<EOF
12163 #line 12164 "configure"
12164 #include "confdefs.h"
12165 /* System header to define __stub macros and hopefully few prototypes,
12166 which can conflict with char $ac_func(); below. */
12167 #include <assert.h>
12168 /* Override any gcc2 internal prototype to avoid an error. */
12169 /* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
12175 /* The GNU C library defines this for functions which it implements
12176 to always fail with ENOSYS. Some functions are actually named
12177 something starting with __ and the normal name is an alias. */
12178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12186 if { (eval echo configure:12187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12188 eval "ac_cv_func_$ac_func=yes"
12190 echo "configure: failed program was:" >&5
12191 cat conftest.$ac_ext >&5
12193 eval "ac_cv_func_$ac_func=no"
12198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12199 echo "$ac_t""yes" 1>&6
12200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12201 cat >> confdefs.h <<EOF
12202 #define $ac_tr_func 1
12206 echo "$ac_t""no" 1>&6
12212 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
12213 echo "configure:12214: checking for _sincosf declaration" >&5
12214 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
12215 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
12216 echo $ac_n "(cached) $ac_c" 1>&6
12221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12222 ac_cpp='$CXXCPP $CPPFLAGS'
12223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12225 cross_compiling=$ac_cv_prog_cxx_cross
12227 cat > conftest.$ac_ext <<EOF
12228 #line 12229 "configure"
12229 #include "confdefs.h"
12235 if { (eval echo configure:12236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12237 glibcpp_cv_func__sincosf_use=yes
12239 echo "configure: failed program was:" >&5
12240 cat conftest.$ac_ext >&5
12242 glibcpp_cv_func__sincosf_use=no
12246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12247 ac_cpp='$CPP $CPPFLAGS'
12248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12250 cross_compiling=$ac_cv_prog_cc_cross
12256 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
12258 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
12259 for ac_func in _sincosf
12261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12262 echo "configure:12263: checking for $ac_func" >&5
12263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12266 cat > conftest.$ac_ext <<EOF
12267 #line 12268 "configure"
12268 #include "confdefs.h"
12269 /* System header to define __stub macros and hopefully few prototypes,
12270 which can conflict with char $ac_func(); below. */
12271 #include <assert.h>
12272 /* Override any gcc2 internal prototype to avoid an error. */
12273 /* We use char because int might match the return type of a gcc2
12274 builtin and then its argument prototype would still apply. */
12279 /* The GNU C library defines this for functions which it implements
12280 to always fail with ENOSYS. Some functions are actually named
12281 something starting with __ and the normal name is an alias. */
12282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12290 if { (eval echo configure:12291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12292 eval "ac_cv_func_$ac_func=yes"
12294 echo "configure: failed program was:" >&5
12295 cat conftest.$ac_ext >&5
12297 eval "ac_cv_func_$ac_func=no"
12302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12303 echo "$ac_t""yes" 1>&6
12304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12305 cat >> confdefs.h <<EOF
12306 #define $ac_tr_func 1
12310 echo "$ac_t""no" 1>&6
12319 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
12320 echo "configure:12321: checking for finitef declaration" >&5
12321 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
12322 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
12323 echo $ac_n "(cached) $ac_c" 1>&6
12328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12329 ac_cpp='$CXXCPP $CPPFLAGS'
12330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12332 cross_compiling=$ac_cv_prog_cxx_cross
12334 cat > conftest.$ac_ext <<EOF
12335 #line 12336 "configure"
12336 #include "confdefs.h"
12338 #ifdef HAVE_IEEEFP_H
12339 #include <ieeefp.h>
12346 if { (eval echo configure:12347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12348 glibcpp_cv_func_finitef_use=yes
12350 echo "configure: failed program was:" >&5
12351 cat conftest.$ac_ext >&5
12353 glibcpp_cv_func_finitef_use=no
12357 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12358 ac_cpp='$CPP $CPPFLAGS'
12359 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12360 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12361 cross_compiling=$ac_cv_prog_cc_cross
12367 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
12369 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
12370 for ac_func in finitef
12372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12373 echo "configure:12374: checking for $ac_func" >&5
12374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12375 echo $ac_n "(cached) $ac_c" 1>&6
12377 cat > conftest.$ac_ext <<EOF
12378 #line 12379 "configure"
12379 #include "confdefs.h"
12380 /* System header to define __stub macros and hopefully few prototypes,
12381 which can conflict with char $ac_func(); below. */
12382 #include <assert.h>
12383 /* Override any gcc2 internal prototype to avoid an error. */
12384 /* We use char because int might match the return type of a gcc2
12385 builtin and then its argument prototype would still apply. */
12390 /* The GNU C library defines this for functions which it implements
12391 to always fail with ENOSYS. Some functions are actually named
12392 something starting with __ and the normal name is an alias. */
12393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12403 eval "ac_cv_func_$ac_func=yes"
12405 echo "configure: failed program was:" >&5
12406 cat conftest.$ac_ext >&5
12408 eval "ac_cv_func_$ac_func=no"
12413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12414 echo "$ac_t""yes" 1>&6
12415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12416 cat >> confdefs.h <<EOF
12417 #define $ac_tr_func 1
12421 echo "$ac_t""no" 1>&6
12427 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
12428 echo "configure:12429: checking for _finitef declaration" >&5
12429 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
12430 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
12431 echo $ac_n "(cached) $ac_c" 1>&6
12436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12437 ac_cpp='$CXXCPP $CPPFLAGS'
12438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12440 cross_compiling=$ac_cv_prog_cxx_cross
12442 cat > conftest.$ac_ext <<EOF
12443 #line 12444 "configure"
12444 #include "confdefs.h"
12446 #ifdef HAVE_IEEEFP_H
12447 #include <ieeefp.h>
12454 if { (eval echo configure:12455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12456 glibcpp_cv_func__finitef_use=yes
12458 echo "configure: failed program was:" >&5
12459 cat conftest.$ac_ext >&5
12461 glibcpp_cv_func__finitef_use=no
12465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12466 ac_cpp='$CPP $CPPFLAGS'
12467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12469 cross_compiling=$ac_cv_prog_cc_cross
12475 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
12477 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
12478 for ac_func in _finitef
12480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12481 echo "configure:12482: checking for $ac_func" >&5
12482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12483 echo $ac_n "(cached) $ac_c" 1>&6
12485 cat > conftest.$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12488 /* System header to define __stub macros and hopefully few prototypes,
12489 which can conflict with char $ac_func(); below. */
12490 #include <assert.h>
12491 /* Override any gcc2 internal prototype to avoid an error. */
12492 /* We use char because int might match the return type of a gcc2
12493 builtin and then its argument prototype would still apply. */
12498 /* The GNU C library defines this for functions which it implements
12499 to always fail with ENOSYS. Some functions are actually named
12500 something starting with __ and the normal name is an alias. */
12501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12509 if { (eval echo configure:12510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12511 eval "ac_cv_func_$ac_func=yes"
12513 echo "configure: failed program was:" >&5
12514 cat conftest.$ac_ext >&5
12516 eval "ac_cv_func_$ac_func=no"
12521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12522 echo "$ac_t""yes" 1>&6
12523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12524 cat >> confdefs.h <<EOF
12525 #define $ac_tr_func 1
12529 echo "$ac_t""no" 1>&6
12538 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
12539 echo "configure:12540: checking for long double trig functions" >&5
12540 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
12541 echo $ac_n "(cached) $ac_c" 1>&6
12546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12547 ac_cpp='$CXXCPP $CPPFLAGS'
12548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12550 cross_compiling=$ac_cv_prog_cxx_cross
12552 cat > conftest.$ac_ext <<EOF
12553 #line 12554 "configure"
12554 #include "confdefs.h"
12557 `for x in acosl asinl atanl \
12559 coshl sinhl tanhl; do echo "$x (0);"; done`
12562 if { (eval echo configure:12563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12564 glibcpp_cv_func_long_double_trig_use=yes
12566 echo "configure: failed program was:" >&5
12567 cat conftest.$ac_ext >&5
12569 glibcpp_cv_func_long_double_trig_use=no
12573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12574 ac_cpp='$CPP $CPPFLAGS'
12575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12577 cross_compiling=$ac_cv_prog_cc_cross
12581 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
12582 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
12583 for ac_func in acosl asinl atanl \
12587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12588 echo "configure:12589: checking for $ac_func" >&5
12589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12590 echo $ac_n "(cached) $ac_c" 1>&6
12592 cat > conftest.$ac_ext <<EOF
12593 #line 12594 "configure"
12594 #include "confdefs.h"
12595 /* System header to define __stub macros and hopefully few prototypes,
12596 which can conflict with char $ac_func(); below. */
12597 #include <assert.h>
12598 /* Override any gcc2 internal prototype to avoid an error. */
12599 /* We use char because int might match the return type of a gcc2
12600 builtin and then its argument prototype would still apply. */
12605 /* The GNU C library defines this for functions which it implements
12606 to always fail with ENOSYS. Some functions are actually named
12607 something starting with __ and the normal name is an alias. */
12608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12616 if { (eval echo configure:12617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12618 eval "ac_cv_func_$ac_func=yes"
12620 echo "configure: failed program was:" >&5
12621 cat conftest.$ac_ext >&5
12623 eval "ac_cv_func_$ac_func=no"
12628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12629 echo "$ac_t""yes" 1>&6
12630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12631 cat >> confdefs.h <<EOF
12632 #define $ac_tr_func 1
12636 echo "$ac_t""no" 1>&6
12643 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
12644 echo "configure:12645: checking for long double round functions" >&5
12645 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
12646 echo $ac_n "(cached) $ac_c" 1>&6
12651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12652 ac_cpp='$CXXCPP $CPPFLAGS'
12653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12655 cross_compiling=$ac_cv_prog_cxx_cross
12657 cat > conftest.$ac_ext <<EOF
12658 #line 12659 "configure"
12659 #include "confdefs.h"
12662 `for x in ceill floorl; do echo "$x (0);"; done`
12665 if { (eval echo configure:12666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12667 glibcpp_cv_func_long_double_round_use=yes
12669 echo "configure: failed program was:" >&5
12670 cat conftest.$ac_ext >&5
12672 glibcpp_cv_func_long_double_round_use=no
12676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12677 ac_cpp='$CPP $CPPFLAGS'
12678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12680 cross_compiling=$ac_cv_prog_cc_cross
12684 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
12685 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
12686 for ac_func in ceill floorl
12688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12689 echo "configure:12690: checking for $ac_func" >&5
12690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12691 echo $ac_n "(cached) $ac_c" 1>&6
12693 cat > conftest.$ac_ext <<EOF
12694 #line 12695 "configure"
12695 #include "confdefs.h"
12696 /* System header to define __stub macros and hopefully few prototypes,
12697 which can conflict with char $ac_func(); below. */
12698 #include <assert.h>
12699 /* Override any gcc2 internal prototype to avoid an error. */
12700 /* We use char because int might match the return type of a gcc2
12701 builtin and then its argument prototype would still apply. */
12706 /* The GNU C library defines this for functions which it implements
12707 to always fail with ENOSYS. Some functions are actually named
12708 something starting with __ and the normal name is an alias. */
12709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12717 if { (eval echo configure:12718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12719 eval "ac_cv_func_$ac_func=yes"
12721 echo "configure: failed program was:" >&5
12722 cat conftest.$ac_ext >&5
12724 eval "ac_cv_func_$ac_func=no"
12729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12730 echo "$ac_t""yes" 1>&6
12731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12732 cat >> confdefs.h <<EOF
12733 #define $ac_tr_func 1
12737 echo "$ac_t""no" 1>&6
12745 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
12746 echo "configure:12747: checking for isnanl declaration" >&5
12747 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
12748 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
12749 echo $ac_n "(cached) $ac_c" 1>&6
12754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12755 ac_cpp='$CXXCPP $CPPFLAGS'
12756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12758 cross_compiling=$ac_cv_prog_cxx_cross
12760 cat > conftest.$ac_ext <<EOF
12761 #line 12762 "configure"
12762 #include "confdefs.h"
12764 #ifdef HAVE_IEEEFP_H
12765 #include <ieeefp.h>
12772 if { (eval echo configure:12773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12774 glibcpp_cv_func_isnanl_use=yes
12776 echo "configure: failed program was:" >&5
12777 cat conftest.$ac_ext >&5
12779 glibcpp_cv_func_isnanl_use=no
12783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12784 ac_cpp='$CPP $CPPFLAGS'
12785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12787 cross_compiling=$ac_cv_prog_cc_cross
12793 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
12795 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
12796 for ac_func in isnanl
12798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12799 echo "configure:12800: checking for $ac_func" >&5
12800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12801 echo $ac_n "(cached) $ac_c" 1>&6
12803 cat > conftest.$ac_ext <<EOF
12804 #line 12805 "configure"
12805 #include "confdefs.h"
12806 /* System header to define __stub macros and hopefully few prototypes,
12807 which can conflict with char $ac_func(); below. */
12808 #include <assert.h>
12809 /* Override any gcc2 internal prototype to avoid an error. */
12810 /* We use char because int might match the return type of a gcc2
12811 builtin and then its argument prototype would still apply. */
12816 /* The GNU C library defines this for functions which it implements
12817 to always fail with ENOSYS. Some functions are actually named
12818 something starting with __ and the normal name is an alias. */
12819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12827 if { (eval echo configure:12828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12829 eval "ac_cv_func_$ac_func=yes"
12831 echo "configure: failed program was:" >&5
12832 cat conftest.$ac_ext >&5
12834 eval "ac_cv_func_$ac_func=no"
12839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12840 echo "$ac_t""yes" 1>&6
12841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12842 cat >> confdefs.h <<EOF
12843 #define $ac_tr_func 1
12847 echo "$ac_t""no" 1>&6
12853 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
12854 echo "configure:12855: checking for _isnanl declaration" >&5
12855 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
12856 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
12857 echo $ac_n "(cached) $ac_c" 1>&6
12862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12863 ac_cpp='$CXXCPP $CPPFLAGS'
12864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12866 cross_compiling=$ac_cv_prog_cxx_cross
12868 cat > conftest.$ac_ext <<EOF
12869 #line 12870 "configure"
12870 #include "confdefs.h"
12872 #ifdef HAVE_IEEEFP_H
12873 #include <ieeefp.h>
12880 if { (eval echo configure:12881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12882 glibcpp_cv_func__isnanl_use=yes
12884 echo "configure: failed program was:" >&5
12885 cat conftest.$ac_ext >&5
12887 glibcpp_cv_func__isnanl_use=no
12891 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12892 ac_cpp='$CPP $CPPFLAGS'
12893 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12894 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12895 cross_compiling=$ac_cv_prog_cc_cross
12901 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
12903 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
12904 for ac_func in _isnanl
12906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12907 echo "configure:12908: checking for $ac_func" >&5
12908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12909 echo $ac_n "(cached) $ac_c" 1>&6
12911 cat > conftest.$ac_ext <<EOF
12912 #line 12913 "configure"
12913 #include "confdefs.h"
12914 /* System header to define __stub macros and hopefully few prototypes,
12915 which can conflict with char $ac_func(); below. */
12916 #include <assert.h>
12917 /* Override any gcc2 internal prototype to avoid an error. */
12918 /* We use char because int might match the return type of a gcc2
12919 builtin and then its argument prototype would still apply. */
12924 /* The GNU C library defines this for functions which it implements
12925 to always fail with ENOSYS. Some functions are actually named
12926 something starting with __ and the normal name is an alias. */
12927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12935 if { (eval echo configure:12936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12937 eval "ac_cv_func_$ac_func=yes"
12939 echo "configure: failed program was:" >&5
12940 cat conftest.$ac_ext >&5
12942 eval "ac_cv_func_$ac_func=no"
12947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12948 echo "$ac_t""yes" 1>&6
12949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12950 cat >> confdefs.h <<EOF
12951 #define $ac_tr_func 1
12955 echo "$ac_t""no" 1>&6
12964 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
12965 echo "configure:12966: checking for isinfl declaration" >&5
12966 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
12967 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
12968 echo $ac_n "(cached) $ac_c" 1>&6
12973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12974 ac_cpp='$CXXCPP $CPPFLAGS'
12975 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12976 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12977 cross_compiling=$ac_cv_prog_cxx_cross
12979 cat > conftest.$ac_ext <<EOF
12980 #line 12981 "configure"
12981 #include "confdefs.h"
12983 #ifdef HAVE_IEEEFP_H
12984 #include <ieeefp.h>
12991 if { (eval echo configure:12992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12993 glibcpp_cv_func_isinfl_use=yes
12995 echo "configure: failed program was:" >&5
12996 cat conftest.$ac_ext >&5
12998 glibcpp_cv_func_isinfl_use=no
13002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13003 ac_cpp='$CPP $CPPFLAGS'
13004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13006 cross_compiling=$ac_cv_prog_cc_cross
13012 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
13014 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
13015 for ac_func in isinfl
13017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13018 echo "configure:13019: checking for $ac_func" >&5
13019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13020 echo $ac_n "(cached) $ac_c" 1>&6
13022 cat > conftest.$ac_ext <<EOF
13023 #line 13024 "configure"
13024 #include "confdefs.h"
13025 /* System header to define __stub macros and hopefully few prototypes,
13026 which can conflict with char $ac_func(); below. */
13027 #include <assert.h>
13028 /* Override any gcc2 internal prototype to avoid an error. */
13029 /* We use char because int might match the return type of a gcc2
13030 builtin and then its argument prototype would still apply. */
13035 /* The GNU C library defines this for functions which it implements
13036 to always fail with ENOSYS. Some functions are actually named
13037 something starting with __ and the normal name is an alias. */
13038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13046 if { (eval echo configure:13047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13048 eval "ac_cv_func_$ac_func=yes"
13050 echo "configure: failed program was:" >&5
13051 cat conftest.$ac_ext >&5
13053 eval "ac_cv_func_$ac_func=no"
13058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13059 echo "$ac_t""yes" 1>&6
13060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13061 cat >> confdefs.h <<EOF
13062 #define $ac_tr_func 1
13066 echo "$ac_t""no" 1>&6
13072 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
13073 echo "configure:13074: checking for _isinfl declaration" >&5
13074 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
13075 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
13076 echo $ac_n "(cached) $ac_c" 1>&6
13081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13082 ac_cpp='$CXXCPP $CPPFLAGS'
13083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13085 cross_compiling=$ac_cv_prog_cxx_cross
13087 cat > conftest.$ac_ext <<EOF
13088 #line 13089 "configure"
13089 #include "confdefs.h"
13091 #ifdef HAVE_IEEEFP_H
13092 #include <ieeefp.h>
13099 if { (eval echo configure:13100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13101 glibcpp_cv_func__isinfl_use=yes
13103 echo "configure: failed program was:" >&5
13104 cat conftest.$ac_ext >&5
13106 glibcpp_cv_func__isinfl_use=no
13110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13114 cross_compiling=$ac_cv_prog_cc_cross
13120 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
13122 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
13123 for ac_func in _isinfl
13125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13126 echo "configure:13127: checking for $ac_func" >&5
13127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13128 echo $ac_n "(cached) $ac_c" 1>&6
13130 cat > conftest.$ac_ext <<EOF
13131 #line 13132 "configure"
13132 #include "confdefs.h"
13133 /* System header to define __stub macros and hopefully few prototypes,
13134 which can conflict with char $ac_func(); below. */
13135 #include <assert.h>
13136 /* Override any gcc2 internal prototype to avoid an error. */
13137 /* We use char because int might match the return type of a gcc2
13138 builtin and then its argument prototype would still apply. */
13143 /* The GNU C library defines this for functions which it implements
13144 to always fail with ENOSYS. Some functions are actually named
13145 something starting with __ and the normal name is an alias. */
13146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13154 if { (eval echo configure:13155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13156 eval "ac_cv_func_$ac_func=yes"
13158 echo "configure: failed program was:" >&5
13159 cat conftest.$ac_ext >&5
13161 eval "ac_cv_func_$ac_func=no"
13166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13167 echo "$ac_t""yes" 1>&6
13168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13169 cat >> confdefs.h <<EOF
13170 #define $ac_tr_func 1
13174 echo "$ac_t""no" 1>&6
13183 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
13184 echo "configure:13185: checking for copysignl declaration" >&5
13185 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
13186 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
13187 echo $ac_n "(cached) $ac_c" 1>&6
13192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13193 ac_cpp='$CXXCPP $CPPFLAGS'
13194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13196 cross_compiling=$ac_cv_prog_cxx_cross
13198 cat > conftest.$ac_ext <<EOF
13199 #line 13200 "configure"
13200 #include "confdefs.h"
13206 if { (eval echo configure:13207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13208 glibcpp_cv_func_copysignl_use=yes
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13213 glibcpp_cv_func_copysignl_use=no
13217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13218 ac_cpp='$CPP $CPPFLAGS'
13219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13221 cross_compiling=$ac_cv_prog_cc_cross
13227 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
13229 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
13230 for ac_func in copysignl
13232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13233 echo "configure:13234: checking for $ac_func" >&5
13234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13235 echo $ac_n "(cached) $ac_c" 1>&6
13237 cat > conftest.$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13240 /* System header to define __stub macros and hopefully few prototypes,
13241 which can conflict with char $ac_func(); below. */
13242 #include <assert.h>
13243 /* Override any gcc2 internal prototype to avoid an error. */
13244 /* We use char because int might match the return type of a gcc2
13245 builtin and then its argument prototype would still apply. */
13250 /* The GNU C library defines this for functions which it implements
13251 to always fail with ENOSYS. Some functions are actually named
13252 something starting with __ and the normal name is an alias. */
13253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13261 if { (eval echo configure:13262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13263 eval "ac_cv_func_$ac_func=yes"
13265 echo "configure: failed program was:" >&5
13266 cat conftest.$ac_ext >&5
13268 eval "ac_cv_func_$ac_func=no"
13273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13274 echo "$ac_t""yes" 1>&6
13275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13276 cat >> confdefs.h <<EOF
13277 #define $ac_tr_func 1
13281 echo "$ac_t""no" 1>&6
13287 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
13288 echo "configure:13289: checking for _copysignl declaration" >&5
13289 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
13290 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
13291 echo $ac_n "(cached) $ac_c" 1>&6
13296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13297 ac_cpp='$CXXCPP $CPPFLAGS'
13298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13300 cross_compiling=$ac_cv_prog_cxx_cross
13302 cat > conftest.$ac_ext <<EOF
13303 #line 13304 "configure"
13304 #include "confdefs.h"
13310 if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13312 glibcpp_cv_func__copysignl_use=yes
13314 echo "configure: failed program was:" >&5
13315 cat conftest.$ac_ext >&5
13317 glibcpp_cv_func__copysignl_use=no
13321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CPP $CPPFLAGS'
13323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cc_cross
13331 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
13333 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
13334 for ac_func in _copysignl
13336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13337 echo "configure:13338: checking for $ac_func" >&5
13338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13339 echo $ac_n "(cached) $ac_c" 1>&6
13341 cat > conftest.$ac_ext <<EOF
13342 #line 13343 "configure"
13343 #include "confdefs.h"
13344 /* System header to define __stub macros and hopefully few prototypes,
13345 which can conflict with char $ac_func(); below. */
13346 #include <assert.h>
13347 /* Override any gcc2 internal prototype to avoid an error. */
13348 /* We use char because int might match the return type of a gcc2
13349 builtin and then its argument prototype would still apply. */
13354 /* The GNU C library defines this for functions which it implements
13355 to always fail with ENOSYS. Some functions are actually named
13356 something starting with __ and the normal name is an alias. */
13357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13365 if { (eval echo configure:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13367 eval "ac_cv_func_$ac_func=yes"
13369 echo "configure: failed program was:" >&5
13370 cat conftest.$ac_ext >&5
13372 eval "ac_cv_func_$ac_func=no"
13377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13378 echo "$ac_t""yes" 1>&6
13379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13380 cat >> confdefs.h <<EOF
13381 #define $ac_tr_func 1
13385 echo "$ac_t""no" 1>&6
13394 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
13395 echo "configure:13396: checking for atan2l declaration" >&5
13396 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
13397 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
13398 echo $ac_n "(cached) $ac_c" 1>&6
13403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13404 ac_cpp='$CXXCPP $CPPFLAGS'
13405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13407 cross_compiling=$ac_cv_prog_cxx_cross
13409 cat > conftest.$ac_ext <<EOF
13410 #line 13411 "configure"
13411 #include "confdefs.h"
13417 if { (eval echo configure:13418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13419 glibcpp_cv_func_atan2l_use=yes
13421 echo "configure: failed program was:" >&5
13422 cat conftest.$ac_ext >&5
13424 glibcpp_cv_func_atan2l_use=no
13428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13429 ac_cpp='$CPP $CPPFLAGS'
13430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13432 cross_compiling=$ac_cv_prog_cc_cross
13438 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
13440 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
13441 for ac_func in atan2l
13443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13444 echo "configure:13445: checking for $ac_func" >&5
13445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13446 echo $ac_n "(cached) $ac_c" 1>&6
13448 cat > conftest.$ac_ext <<EOF
13449 #line 13450 "configure"
13450 #include "confdefs.h"
13451 /* System header to define __stub macros and hopefully few prototypes,
13452 which can conflict with char $ac_func(); below. */
13453 #include <assert.h>
13454 /* Override any gcc2 internal prototype to avoid an error. */
13455 /* We use char because int might match the return type of a gcc2
13456 builtin and then its argument prototype would still apply. */
13461 /* The GNU C library defines this for functions which it implements
13462 to always fail with ENOSYS. Some functions are actually named
13463 something starting with __ and the normal name is an alias. */
13464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13472 if { (eval echo configure:13473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13474 eval "ac_cv_func_$ac_func=yes"
13476 echo "configure: failed program was:" >&5
13477 cat conftest.$ac_ext >&5
13479 eval "ac_cv_func_$ac_func=no"
13484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13485 echo "$ac_t""yes" 1>&6
13486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13487 cat >> confdefs.h <<EOF
13488 #define $ac_tr_func 1
13492 echo "$ac_t""no" 1>&6
13498 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
13499 echo "configure:13500: checking for _atan2l declaration" >&5
13500 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
13501 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
13502 echo $ac_n "(cached) $ac_c" 1>&6
13507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13508 ac_cpp='$CXXCPP $CPPFLAGS'
13509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13511 cross_compiling=$ac_cv_prog_cxx_cross
13513 cat > conftest.$ac_ext <<EOF
13514 #line 13515 "configure"
13515 #include "confdefs.h"
13521 if { (eval echo configure:13522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13523 glibcpp_cv_func__atan2l_use=yes
13525 echo "configure: failed program was:" >&5
13526 cat conftest.$ac_ext >&5
13528 glibcpp_cv_func__atan2l_use=no
13532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13533 ac_cpp='$CPP $CPPFLAGS'
13534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13536 cross_compiling=$ac_cv_prog_cc_cross
13542 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
13544 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
13545 for ac_func in _atan2l
13547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13548 echo "configure:13549: checking for $ac_func" >&5
13549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13550 echo $ac_n "(cached) $ac_c" 1>&6
13552 cat > conftest.$ac_ext <<EOF
13553 #line 13554 "configure"
13554 #include "confdefs.h"
13555 /* System header to define __stub macros and hopefully few prototypes,
13556 which can conflict with char $ac_func(); below. */
13557 #include <assert.h>
13558 /* Override any gcc2 internal prototype to avoid an error. */
13559 /* We use char because int might match the return type of a gcc2
13560 builtin and then its argument prototype would still apply. */
13565 /* The GNU C library defines this for functions which it implements
13566 to always fail with ENOSYS. Some functions are actually named
13567 something starting with __ and the normal name is an alias. */
13568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13576 if { (eval echo configure:13577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13578 eval "ac_cv_func_$ac_func=yes"
13580 echo "configure: failed program was:" >&5
13581 cat conftest.$ac_ext >&5
13583 eval "ac_cv_func_$ac_func=no"
13588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13589 echo "$ac_t""yes" 1>&6
13590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13591 cat >> confdefs.h <<EOF
13592 #define $ac_tr_func 1
13596 echo "$ac_t""no" 1>&6
13605 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
13606 echo "configure:13607: checking for expl declaration" >&5
13607 if test x${glibcpp_cv_func_expl_use+set} != xset; then
13608 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
13609 echo $ac_n "(cached) $ac_c" 1>&6
13614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13615 ac_cpp='$CXXCPP $CPPFLAGS'
13616 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13617 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13618 cross_compiling=$ac_cv_prog_cxx_cross
13620 cat > conftest.$ac_ext <<EOF
13621 #line 13622 "configure"
13622 #include "confdefs.h"
13624 #ifdef HAVE_IEEEFP_H
13625 #include <ieeefp.h>
13632 if { (eval echo configure:13633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13634 glibcpp_cv_func_expl_use=yes
13636 echo "configure: failed program was:" >&5
13637 cat conftest.$ac_ext >&5
13639 glibcpp_cv_func_expl_use=no
13643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13644 ac_cpp='$CPP $CPPFLAGS'
13645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13647 cross_compiling=$ac_cv_prog_cc_cross
13653 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
13655 if test x$glibcpp_cv_func_expl_use = x"yes"; then
13656 for ac_func in expl
13658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13659 echo "configure:13660: checking for $ac_func" >&5
13660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13661 echo $ac_n "(cached) $ac_c" 1>&6
13663 cat > conftest.$ac_ext <<EOF
13664 #line 13665 "configure"
13665 #include "confdefs.h"
13666 /* System header to define __stub macros and hopefully few prototypes,
13667 which can conflict with char $ac_func(); below. */
13668 #include <assert.h>
13669 /* Override any gcc2 internal prototype to avoid an error. */
13670 /* We use char because int might match the return type of a gcc2
13671 builtin and then its argument prototype would still apply. */
13676 /* The GNU C library defines this for functions which it implements
13677 to always fail with ENOSYS. Some functions are actually named
13678 something starting with __ and the normal name is an alias. */
13679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13687 if { (eval echo configure:13688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13689 eval "ac_cv_func_$ac_func=yes"
13691 echo "configure: failed program was:" >&5
13692 cat conftest.$ac_ext >&5
13694 eval "ac_cv_func_$ac_func=no"
13699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13700 echo "$ac_t""yes" 1>&6
13701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13702 cat >> confdefs.h <<EOF
13703 #define $ac_tr_func 1
13707 echo "$ac_t""no" 1>&6
13713 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
13714 echo "configure:13715: checking for _expl declaration" >&5
13715 if test x${glibcpp_cv_func__expl_use+set} != xset; then
13716 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
13717 echo $ac_n "(cached) $ac_c" 1>&6
13722 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13723 ac_cpp='$CXXCPP $CPPFLAGS'
13724 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13725 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13726 cross_compiling=$ac_cv_prog_cxx_cross
13728 cat > conftest.$ac_ext <<EOF
13729 #line 13730 "configure"
13730 #include "confdefs.h"
13732 #ifdef HAVE_IEEEFP_H
13733 #include <ieeefp.h>
13740 if { (eval echo configure:13741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13742 glibcpp_cv_func__expl_use=yes
13744 echo "configure: failed program was:" >&5
13745 cat conftest.$ac_ext >&5
13747 glibcpp_cv_func__expl_use=no
13751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13752 ac_cpp='$CPP $CPPFLAGS'
13753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13755 cross_compiling=$ac_cv_prog_cc_cross
13761 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
13763 if test x$glibcpp_cv_func__expl_use = x"yes"; then
13764 for ac_func in _expl
13766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13767 echo "configure:13768: checking for $ac_func" >&5
13768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13769 echo $ac_n "(cached) $ac_c" 1>&6
13771 cat > conftest.$ac_ext <<EOF
13772 #line 13773 "configure"
13773 #include "confdefs.h"
13774 /* System header to define __stub macros and hopefully few prototypes,
13775 which can conflict with char $ac_func(); below. */
13776 #include <assert.h>
13777 /* Override any gcc2 internal prototype to avoid an error. */
13778 /* We use char because int might match the return type of a gcc2
13779 builtin and then its argument prototype would still apply. */
13784 /* The GNU C library defines this for functions which it implements
13785 to always fail with ENOSYS. Some functions are actually named
13786 something starting with __ and the normal name is an alias. */
13787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13795 if { (eval echo configure:13796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13797 eval "ac_cv_func_$ac_func=yes"
13799 echo "configure: failed program was:" >&5
13800 cat conftest.$ac_ext >&5
13802 eval "ac_cv_func_$ac_func=no"
13807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13808 echo "$ac_t""yes" 1>&6
13809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13810 cat >> confdefs.h <<EOF
13811 #define $ac_tr_func 1
13815 echo "$ac_t""no" 1>&6
13824 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
13825 echo "configure:13826: checking for fabsl declaration" >&5
13826 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
13827 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
13828 echo $ac_n "(cached) $ac_c" 1>&6
13833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13834 ac_cpp='$CXXCPP $CPPFLAGS'
13835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13837 cross_compiling=$ac_cv_prog_cxx_cross
13839 cat > conftest.$ac_ext <<EOF
13840 #line 13841 "configure"
13841 #include "confdefs.h"
13843 #ifdef HAVE_IEEEFP_H
13844 #include <ieeefp.h>
13851 if { (eval echo configure:13852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13853 glibcpp_cv_func_fabsl_use=yes
13855 echo "configure: failed program was:" >&5
13856 cat conftest.$ac_ext >&5
13858 glibcpp_cv_func_fabsl_use=no
13862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13863 ac_cpp='$CPP $CPPFLAGS'
13864 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13865 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13866 cross_compiling=$ac_cv_prog_cc_cross
13872 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
13874 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
13875 for ac_func in fabsl
13877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13878 echo "configure:13879: checking for $ac_func" >&5
13879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13882 cat > conftest.$ac_ext <<EOF
13883 #line 13884 "configure"
13884 #include "confdefs.h"
13885 /* System header to define __stub macros and hopefully few prototypes,
13886 which can conflict with char $ac_func(); below. */
13887 #include <assert.h>
13888 /* Override any gcc2 internal prototype to avoid an error. */
13889 /* We use char because int might match the return type of a gcc2
13890 builtin and then its argument prototype would still apply. */
13895 /* The GNU C library defines this for functions which it implements
13896 to always fail with ENOSYS. Some functions are actually named
13897 something starting with __ and the normal name is an alias. */
13898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13906 if { (eval echo configure:13907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13908 eval "ac_cv_func_$ac_func=yes"
13910 echo "configure: failed program was:" >&5
13911 cat conftest.$ac_ext >&5
13913 eval "ac_cv_func_$ac_func=no"
13918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13919 echo "$ac_t""yes" 1>&6
13920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13921 cat >> confdefs.h <<EOF
13922 #define $ac_tr_func 1
13926 echo "$ac_t""no" 1>&6
13932 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
13933 echo "configure:13934: checking for _fabsl declaration" >&5
13934 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
13935 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
13936 echo $ac_n "(cached) $ac_c" 1>&6
13941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13942 ac_cpp='$CXXCPP $CPPFLAGS'
13943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13945 cross_compiling=$ac_cv_prog_cxx_cross
13947 cat > conftest.$ac_ext <<EOF
13948 #line 13949 "configure"
13949 #include "confdefs.h"
13951 #ifdef HAVE_IEEEFP_H
13952 #include <ieeefp.h>
13959 if { (eval echo configure:13960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13961 glibcpp_cv_func__fabsl_use=yes
13963 echo "configure: failed program was:" >&5
13964 cat conftest.$ac_ext >&5
13966 glibcpp_cv_func__fabsl_use=no
13970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13971 ac_cpp='$CPP $CPPFLAGS'
13972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13974 cross_compiling=$ac_cv_prog_cc_cross
13980 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13982 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13983 for ac_func in _fabsl
13985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13986 echo "configure:13987: checking for $ac_func" >&5
13987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13988 echo $ac_n "(cached) $ac_c" 1>&6
13990 cat > conftest.$ac_ext <<EOF
13991 #line 13992 "configure"
13992 #include "confdefs.h"
13993 /* System header to define __stub macros and hopefully few prototypes,
13994 which can conflict with char $ac_func(); below. */
13995 #include <assert.h>
13996 /* Override any gcc2 internal prototype to avoid an error. */
13997 /* We use char because int might match the return type of a gcc2
13998 builtin and then its argument prototype would still apply. */
14003 /* The GNU C library defines this for functions which it implements
14004 to always fail with ENOSYS. Some functions are actually named
14005 something starting with __ and the normal name is an alias. */
14006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14014 if { (eval echo configure:14015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14016 eval "ac_cv_func_$ac_func=yes"
14018 echo "configure: failed program was:" >&5
14019 cat conftest.$ac_ext >&5
14021 eval "ac_cv_func_$ac_func=no"
14026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14027 echo "$ac_t""yes" 1>&6
14028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14029 cat >> confdefs.h <<EOF
14030 #define $ac_tr_func 1
14034 echo "$ac_t""no" 1>&6
14043 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
14044 echo "configure:14045: checking for fmodl declaration" >&5
14045 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14046 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14047 echo $ac_n "(cached) $ac_c" 1>&6
14052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14053 ac_cpp='$CXXCPP $CPPFLAGS'
14054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14056 cross_compiling=$ac_cv_prog_cxx_cross
14058 cat > conftest.$ac_ext <<EOF
14059 #line 14060 "configure"
14060 #include "confdefs.h"
14066 if { (eval echo configure:14067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14068 glibcpp_cv_func_fmodl_use=yes
14070 echo "configure: failed program was:" >&5
14071 cat conftest.$ac_ext >&5
14073 glibcpp_cv_func_fmodl_use=no
14077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14078 ac_cpp='$CPP $CPPFLAGS'
14079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14081 cross_compiling=$ac_cv_prog_cc_cross
14087 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
14089 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
14090 for ac_func in fmodl
14092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14093 echo "configure:14094: checking for $ac_func" >&5
14094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14095 echo $ac_n "(cached) $ac_c" 1>&6
14097 cat > conftest.$ac_ext <<EOF
14098 #line 14099 "configure"
14099 #include "confdefs.h"
14100 /* System header to define __stub macros and hopefully few prototypes,
14101 which can conflict with char $ac_func(); below. */
14102 #include <assert.h>
14103 /* Override any gcc2 internal prototype to avoid an error. */
14104 /* We use char because int might match the return type of a gcc2
14105 builtin and then its argument prototype would still apply. */
14110 /* The GNU C library defines this for functions which it implements
14111 to always fail with ENOSYS. Some functions are actually named
14112 something starting with __ and the normal name is an alias. */
14113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14121 if { (eval echo configure:14122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14123 eval "ac_cv_func_$ac_func=yes"
14125 echo "configure: failed program was:" >&5
14126 cat conftest.$ac_ext >&5
14128 eval "ac_cv_func_$ac_func=no"
14133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14134 echo "$ac_t""yes" 1>&6
14135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14136 cat >> confdefs.h <<EOF
14137 #define $ac_tr_func 1
14141 echo "$ac_t""no" 1>&6
14147 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
14148 echo "configure:14149: checking for _fmodl declaration" >&5
14149 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
14150 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
14151 echo $ac_n "(cached) $ac_c" 1>&6
14156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14157 ac_cpp='$CXXCPP $CPPFLAGS'
14158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14160 cross_compiling=$ac_cv_prog_cxx_cross
14162 cat > conftest.$ac_ext <<EOF
14163 #line 14164 "configure"
14164 #include "confdefs.h"
14170 if { (eval echo configure:14171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14172 glibcpp_cv_func__fmodl_use=yes
14174 echo "configure: failed program was:" >&5
14175 cat conftest.$ac_ext >&5
14177 glibcpp_cv_func__fmodl_use=no
14181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14185 cross_compiling=$ac_cv_prog_cc_cross
14191 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
14193 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
14194 for ac_func in _fmodl
14196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14197 echo "configure:14198: checking for $ac_func" >&5
14198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14199 echo $ac_n "(cached) $ac_c" 1>&6
14201 cat > conftest.$ac_ext <<EOF
14202 #line 14203 "configure"
14203 #include "confdefs.h"
14204 /* System header to define __stub macros and hopefully few prototypes,
14205 which can conflict with char $ac_func(); below. */
14206 #include <assert.h>
14207 /* Override any gcc2 internal prototype to avoid an error. */
14208 /* We use char because int might match the return type of a gcc2
14209 builtin and then its argument prototype would still apply. */
14214 /* The GNU C library defines this for functions which it implements
14215 to always fail with ENOSYS. Some functions are actually named
14216 something starting with __ and the normal name is an alias. */
14217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14225 if { (eval echo configure:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14227 eval "ac_cv_func_$ac_func=yes"
14229 echo "configure: failed program was:" >&5
14230 cat conftest.$ac_ext >&5
14232 eval "ac_cv_func_$ac_func=no"
14237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14238 echo "$ac_t""yes" 1>&6
14239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14240 cat >> confdefs.h <<EOF
14241 #define $ac_tr_func 1
14245 echo "$ac_t""no" 1>&6
14254 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
14255 echo "configure:14256: checking for frexpl declaration" >&5
14256 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
14257 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
14258 echo $ac_n "(cached) $ac_c" 1>&6
14263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14264 ac_cpp='$CXXCPP $CPPFLAGS'
14265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14267 cross_compiling=$ac_cv_prog_cxx_cross
14269 cat > conftest.$ac_ext <<EOF
14270 #line 14271 "configure"
14271 #include "confdefs.h"
14277 if { (eval echo configure:14278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14279 glibcpp_cv_func_frexpl_use=yes
14281 echo "configure: failed program was:" >&5
14282 cat conftest.$ac_ext >&5
14284 glibcpp_cv_func_frexpl_use=no
14288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14289 ac_cpp='$CPP $CPPFLAGS'
14290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14292 cross_compiling=$ac_cv_prog_cc_cross
14298 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
14300 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
14301 for ac_func in frexpl
14303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14304 echo "configure:14305: checking for $ac_func" >&5
14305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14306 echo $ac_n "(cached) $ac_c" 1>&6
14308 cat > conftest.$ac_ext <<EOF
14309 #line 14310 "configure"
14310 #include "confdefs.h"
14311 /* System header to define __stub macros and hopefully few prototypes,
14312 which can conflict with char $ac_func(); below. */
14313 #include <assert.h>
14314 /* Override any gcc2 internal prototype to avoid an error. */
14315 /* We use char because int might match the return type of a gcc2
14316 builtin and then its argument prototype would still apply. */
14321 /* The GNU C library defines this for functions which it implements
14322 to always fail with ENOSYS. Some functions are actually named
14323 something starting with __ and the normal name is an alias. */
14324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14332 if { (eval echo configure:14333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14334 eval "ac_cv_func_$ac_func=yes"
14336 echo "configure: failed program was:" >&5
14337 cat conftest.$ac_ext >&5
14339 eval "ac_cv_func_$ac_func=no"
14344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14345 echo "$ac_t""yes" 1>&6
14346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14347 cat >> confdefs.h <<EOF
14348 #define $ac_tr_func 1
14352 echo "$ac_t""no" 1>&6
14358 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
14359 echo "configure:14360: checking for _frexpl declaration" >&5
14360 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
14361 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
14362 echo $ac_n "(cached) $ac_c" 1>&6
14367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14368 ac_cpp='$CXXCPP $CPPFLAGS'
14369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14371 cross_compiling=$ac_cv_prog_cxx_cross
14373 cat > conftest.$ac_ext <<EOF
14374 #line 14375 "configure"
14375 #include "confdefs.h"
14381 if { (eval echo configure:14382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14383 glibcpp_cv_func__frexpl_use=yes
14385 echo "configure: failed program was:" >&5
14386 cat conftest.$ac_ext >&5
14388 glibcpp_cv_func__frexpl_use=no
14392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14393 ac_cpp='$CPP $CPPFLAGS'
14394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14396 cross_compiling=$ac_cv_prog_cc_cross
14402 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
14404 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
14405 for ac_func in _frexpl
14407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14408 echo "configure:14409: checking for $ac_func" >&5
14409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14410 echo $ac_n "(cached) $ac_c" 1>&6
14412 cat > conftest.$ac_ext <<EOF
14413 #line 14414 "configure"
14414 #include "confdefs.h"
14415 /* System header to define __stub macros and hopefully few prototypes,
14416 which can conflict with char $ac_func(); below. */
14417 #include <assert.h>
14418 /* Override any gcc2 internal prototype to avoid an error. */
14419 /* We use char because int might match the return type of a gcc2
14420 builtin and then its argument prototype would still apply. */
14425 /* The GNU C library defines this for functions which it implements
14426 to always fail with ENOSYS. Some functions are actually named
14427 something starting with __ and the normal name is an alias. */
14428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14436 if { (eval echo configure:14437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14438 eval "ac_cv_func_$ac_func=yes"
14440 echo "configure: failed program was:" >&5
14441 cat conftest.$ac_ext >&5
14443 eval "ac_cv_func_$ac_func=no"
14448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14449 echo "$ac_t""yes" 1>&6
14450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14451 cat >> confdefs.h <<EOF
14452 #define $ac_tr_func 1
14456 echo "$ac_t""no" 1>&6
14465 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
14466 echo "configure:14467: checking for hypotl declaration" >&5
14467 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
14468 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
14469 echo $ac_n "(cached) $ac_c" 1>&6
14474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14475 ac_cpp='$CXXCPP $CPPFLAGS'
14476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14478 cross_compiling=$ac_cv_prog_cxx_cross
14480 cat > conftest.$ac_ext <<EOF
14481 #line 14482 "configure"
14482 #include "confdefs.h"
14488 if { (eval echo configure:14489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14490 glibcpp_cv_func_hypotl_use=yes
14492 echo "configure: failed program was:" >&5
14493 cat conftest.$ac_ext >&5
14495 glibcpp_cv_func_hypotl_use=no
14499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14500 ac_cpp='$CPP $CPPFLAGS'
14501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14503 cross_compiling=$ac_cv_prog_cc_cross
14509 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
14511 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
14512 for ac_func in hypotl
14514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14515 echo "configure:14516: checking for $ac_func" >&5
14516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14517 echo $ac_n "(cached) $ac_c" 1>&6
14519 cat > conftest.$ac_ext <<EOF
14520 #line 14521 "configure"
14521 #include "confdefs.h"
14522 /* System header to define __stub macros and hopefully few prototypes,
14523 which can conflict with char $ac_func(); below. */
14524 #include <assert.h>
14525 /* Override any gcc2 internal prototype to avoid an error. */
14526 /* We use char because int might match the return type of a gcc2
14527 builtin and then its argument prototype would still apply. */
14532 /* The GNU C library defines this for functions which it implements
14533 to always fail with ENOSYS. Some functions are actually named
14534 something starting with __ and the normal name is an alias. */
14535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14543 if { (eval echo configure:14544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14545 eval "ac_cv_func_$ac_func=yes"
14547 echo "configure: failed program was:" >&5
14548 cat conftest.$ac_ext >&5
14550 eval "ac_cv_func_$ac_func=no"
14555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14556 echo "$ac_t""yes" 1>&6
14557 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14558 cat >> confdefs.h <<EOF
14559 #define $ac_tr_func 1
14563 echo "$ac_t""no" 1>&6
14569 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
14570 echo "configure:14571: checking for _hypotl declaration" >&5
14571 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
14572 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
14573 echo $ac_n "(cached) $ac_c" 1>&6
14578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14579 ac_cpp='$CXXCPP $CPPFLAGS'
14580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14582 cross_compiling=$ac_cv_prog_cxx_cross
14584 cat > conftest.$ac_ext <<EOF
14585 #line 14586 "configure"
14586 #include "confdefs.h"
14592 if { (eval echo configure:14593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14594 glibcpp_cv_func__hypotl_use=yes
14596 echo "configure: failed program was:" >&5
14597 cat conftest.$ac_ext >&5
14599 glibcpp_cv_func__hypotl_use=no
14603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14604 ac_cpp='$CPP $CPPFLAGS'
14605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14607 cross_compiling=$ac_cv_prog_cc_cross
14613 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
14615 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
14616 for ac_func in _hypotl
14618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14619 echo "configure:14620: checking for $ac_func" >&5
14620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14621 echo $ac_n "(cached) $ac_c" 1>&6
14623 cat > conftest.$ac_ext <<EOF
14624 #line 14625 "configure"
14625 #include "confdefs.h"
14626 /* System header to define __stub macros and hopefully few prototypes,
14627 which can conflict with char $ac_func(); below. */
14628 #include <assert.h>
14629 /* Override any gcc2 internal prototype to avoid an error. */
14630 /* We use char because int might match the return type of a gcc2
14631 builtin and then its argument prototype would still apply. */
14636 /* The GNU C library defines this for functions which it implements
14637 to always fail with ENOSYS. Some functions are actually named
14638 something starting with __ and the normal name is an alias. */
14639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14649 eval "ac_cv_func_$ac_func=yes"
14651 echo "configure: failed program was:" >&5
14652 cat conftest.$ac_ext >&5
14654 eval "ac_cv_func_$ac_func=no"
14659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14660 echo "$ac_t""yes" 1>&6
14661 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14662 cat >> confdefs.h <<EOF
14663 #define $ac_tr_func 1
14667 echo "$ac_t""no" 1>&6
14676 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
14677 echo "configure:14678: checking for ldexpl declaration" >&5
14678 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
14679 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
14680 echo $ac_n "(cached) $ac_c" 1>&6
14685 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14688 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14689 cross_compiling=$ac_cv_prog_cxx_cross
14691 cat > conftest.$ac_ext <<EOF
14692 #line 14693 "configure"
14693 #include "confdefs.h"
14699 if { (eval echo configure:14700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14701 glibcpp_cv_func_ldexpl_use=yes
14703 echo "configure: failed program was:" >&5
14704 cat conftest.$ac_ext >&5
14706 glibcpp_cv_func_ldexpl_use=no
14710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14711 ac_cpp='$CPP $CPPFLAGS'
14712 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14713 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14714 cross_compiling=$ac_cv_prog_cc_cross
14720 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
14722 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
14723 for ac_func in ldexpl
14725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14726 echo "configure:14727: checking for $ac_func" >&5
14727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14730 cat > conftest.$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14733 /* System header to define __stub macros and hopefully few prototypes,
14734 which can conflict with char $ac_func(); below. */
14735 #include <assert.h>
14736 /* Override any gcc2 internal prototype to avoid an error. */
14737 /* We use char because int might match the return type of a gcc2
14738 builtin and then its argument prototype would still apply. */
14743 /* The GNU C library defines this for functions which it implements
14744 to always fail with ENOSYS. Some functions are actually named
14745 something starting with __ and the normal name is an alias. */
14746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14754 if { (eval echo configure:14755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14756 eval "ac_cv_func_$ac_func=yes"
14758 echo "configure: failed program was:" >&5
14759 cat conftest.$ac_ext >&5
14761 eval "ac_cv_func_$ac_func=no"
14766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14767 echo "$ac_t""yes" 1>&6
14768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14769 cat >> confdefs.h <<EOF
14770 #define $ac_tr_func 1
14774 echo "$ac_t""no" 1>&6
14780 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
14781 echo "configure:14782: checking for _ldexpl declaration" >&5
14782 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
14783 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
14784 echo $ac_n "(cached) $ac_c" 1>&6
14789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14790 ac_cpp='$CXXCPP $CPPFLAGS'
14791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14793 cross_compiling=$ac_cv_prog_cxx_cross
14795 cat > conftest.$ac_ext <<EOF
14796 #line 14797 "configure"
14797 #include "confdefs.h"
14803 if { (eval echo configure:14804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14805 glibcpp_cv_func__ldexpl_use=yes
14807 echo "configure: failed program was:" >&5
14808 cat conftest.$ac_ext >&5
14810 glibcpp_cv_func__ldexpl_use=no
14814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14815 ac_cpp='$CPP $CPPFLAGS'
14816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14818 cross_compiling=$ac_cv_prog_cc_cross
14824 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
14826 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
14827 for ac_func in _ldexpl
14829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14830 echo "configure:14831: checking for $ac_func" >&5
14831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14834 cat > conftest.$ac_ext <<EOF
14835 #line 14836 "configure"
14836 #include "confdefs.h"
14837 /* System header to define __stub macros and hopefully few prototypes,
14838 which can conflict with char $ac_func(); below. */
14839 #include <assert.h>
14840 /* Override any gcc2 internal prototype to avoid an error. */
14841 /* We use char because int might match the return type of a gcc2
14842 builtin and then its argument prototype would still apply. */
14847 /* The GNU C library defines this for functions which it implements
14848 to always fail with ENOSYS. Some functions are actually named
14849 something starting with __ and the normal name is an alias. */
14850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14858 if { (eval echo configure:14859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14860 eval "ac_cv_func_$ac_func=yes"
14862 echo "configure: failed program was:" >&5
14863 cat conftest.$ac_ext >&5
14865 eval "ac_cv_func_$ac_func=no"
14870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14871 echo "$ac_t""yes" 1>&6
14872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14873 cat >> confdefs.h <<EOF
14874 #define $ac_tr_func 1
14878 echo "$ac_t""no" 1>&6
14887 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
14888 echo "configure:14889: checking for logl declaration" >&5
14889 if test x${glibcpp_cv_func_logl_use+set} != xset; then
14890 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
14891 echo $ac_n "(cached) $ac_c" 1>&6
14896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14897 ac_cpp='$CXXCPP $CPPFLAGS'
14898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14900 cross_compiling=$ac_cv_prog_cxx_cross
14902 cat > conftest.$ac_ext <<EOF
14903 #line 14904 "configure"
14904 #include "confdefs.h"
14906 #ifdef HAVE_IEEEFP_H
14907 #include <ieeefp.h>
14914 if { (eval echo configure:14915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14916 glibcpp_cv_func_logl_use=yes
14918 echo "configure: failed program was:" >&5
14919 cat conftest.$ac_ext >&5
14921 glibcpp_cv_func_logl_use=no
14925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14929 cross_compiling=$ac_cv_prog_cc_cross
14935 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
14937 if test x$glibcpp_cv_func_logl_use = x"yes"; then
14938 for ac_func in logl
14940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14941 echo "configure:14942: checking for $ac_func" >&5
14942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14943 echo $ac_n "(cached) $ac_c" 1>&6
14945 cat > conftest.$ac_ext <<EOF
14946 #line 14947 "configure"
14947 #include "confdefs.h"
14948 /* System header to define __stub macros and hopefully few prototypes,
14949 which can conflict with char $ac_func(); below. */
14950 #include <assert.h>
14951 /* Override any gcc2 internal prototype to avoid an error. */
14952 /* We use char because int might match the return type of a gcc2
14953 builtin and then its argument prototype would still apply. */
14958 /* The GNU C library defines this for functions which it implements
14959 to always fail with ENOSYS. Some functions are actually named
14960 something starting with __ and the normal name is an alias. */
14961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14969 if { (eval echo configure:14970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14971 eval "ac_cv_func_$ac_func=yes"
14973 echo "configure: failed program was:" >&5
14974 cat conftest.$ac_ext >&5
14976 eval "ac_cv_func_$ac_func=no"
14981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14982 echo "$ac_t""yes" 1>&6
14983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14984 cat >> confdefs.h <<EOF
14985 #define $ac_tr_func 1
14989 echo "$ac_t""no" 1>&6
14995 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
14996 echo "configure:14997: checking for _logl declaration" >&5
14997 if test x${glibcpp_cv_func__logl_use+set} != xset; then
14998 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
14999 echo $ac_n "(cached) $ac_c" 1>&6
15004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15005 ac_cpp='$CXXCPP $CPPFLAGS'
15006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15008 cross_compiling=$ac_cv_prog_cxx_cross
15010 cat > conftest.$ac_ext <<EOF
15011 #line 15012 "configure"
15012 #include "confdefs.h"
15014 #ifdef HAVE_IEEEFP_H
15015 #include <ieeefp.h>
15022 if { (eval echo configure:15023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15024 glibcpp_cv_func__logl_use=yes
15026 echo "configure: failed program was:" >&5
15027 cat conftest.$ac_ext >&5
15029 glibcpp_cv_func__logl_use=no
15033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15034 ac_cpp='$CPP $CPPFLAGS'
15035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15037 cross_compiling=$ac_cv_prog_cc_cross
15043 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15045 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15046 for ac_func in _logl
15048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15049 echo "configure:15050: checking for $ac_func" >&5
15050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15051 echo $ac_n "(cached) $ac_c" 1>&6
15053 cat > conftest.$ac_ext <<EOF
15054 #line 15055 "configure"
15055 #include "confdefs.h"
15056 /* System header to define __stub macros and hopefully few prototypes,
15057 which can conflict with char $ac_func(); below. */
15058 #include <assert.h>
15059 /* Override any gcc2 internal prototype to avoid an error. */
15060 /* We use char because int might match the return type of a gcc2
15061 builtin and then its argument prototype would still apply. */
15066 /* The GNU C library defines this for functions which it implements
15067 to always fail with ENOSYS. Some functions are actually named
15068 something starting with __ and the normal name is an alias. */
15069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15077 if { (eval echo configure:15078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15079 eval "ac_cv_func_$ac_func=yes"
15081 echo "configure: failed program was:" >&5
15082 cat conftest.$ac_ext >&5
15084 eval "ac_cv_func_$ac_func=no"
15089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15090 echo "$ac_t""yes" 1>&6
15091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15092 cat >> confdefs.h <<EOF
15093 #define $ac_tr_func 1
15097 echo "$ac_t""no" 1>&6
15106 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
15107 echo "configure:15108: checking for log10l declaration" >&5
15108 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
15109 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
15110 echo $ac_n "(cached) $ac_c" 1>&6
15115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15119 cross_compiling=$ac_cv_prog_cxx_cross
15121 cat > conftest.$ac_ext <<EOF
15122 #line 15123 "configure"
15123 #include "confdefs.h"
15125 #ifdef HAVE_IEEEFP_H
15126 #include <ieeefp.h>
15133 if { (eval echo configure:15134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15135 glibcpp_cv_func_log10l_use=yes
15137 echo "configure: failed program was:" >&5
15138 cat conftest.$ac_ext >&5
15140 glibcpp_cv_func_log10l_use=no
15144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15145 ac_cpp='$CPP $CPPFLAGS'
15146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15148 cross_compiling=$ac_cv_prog_cc_cross
15154 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
15156 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
15157 for ac_func in log10l
15159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15160 echo "configure:15161: checking for $ac_func" >&5
15161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15162 echo $ac_n "(cached) $ac_c" 1>&6
15164 cat > conftest.$ac_ext <<EOF
15165 #line 15166 "configure"
15166 #include "confdefs.h"
15167 /* System header to define __stub macros and hopefully few prototypes,
15168 which can conflict with char $ac_func(); below. */
15169 #include <assert.h>
15170 /* Override any gcc2 internal prototype to avoid an error. */
15171 /* We use char because int might match the return type of a gcc2
15172 builtin and then its argument prototype would still apply. */
15177 /* The GNU C library defines this for functions which it implements
15178 to always fail with ENOSYS. Some functions are actually named
15179 something starting with __ and the normal name is an alias. */
15180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15188 if { (eval echo configure:15189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15190 eval "ac_cv_func_$ac_func=yes"
15192 echo "configure: failed program was:" >&5
15193 cat conftest.$ac_ext >&5
15195 eval "ac_cv_func_$ac_func=no"
15200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15201 echo "$ac_t""yes" 1>&6
15202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15203 cat >> confdefs.h <<EOF
15204 #define $ac_tr_func 1
15208 echo "$ac_t""no" 1>&6
15214 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
15215 echo "configure:15216: checking for _log10l declaration" >&5
15216 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
15217 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
15218 echo $ac_n "(cached) $ac_c" 1>&6
15223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15224 ac_cpp='$CXXCPP $CPPFLAGS'
15225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15227 cross_compiling=$ac_cv_prog_cxx_cross
15229 cat > conftest.$ac_ext <<EOF
15230 #line 15231 "configure"
15231 #include "confdefs.h"
15233 #ifdef HAVE_IEEEFP_H
15234 #include <ieeefp.h>
15241 if { (eval echo configure:15242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15243 glibcpp_cv_func__log10l_use=yes
15245 echo "configure: failed program was:" >&5
15246 cat conftest.$ac_ext >&5
15248 glibcpp_cv_func__log10l_use=no
15252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15253 ac_cpp='$CPP $CPPFLAGS'
15254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15256 cross_compiling=$ac_cv_prog_cc_cross
15262 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
15264 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
15265 for ac_func in _log10l
15267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15268 echo "configure:15269: checking for $ac_func" >&5
15269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15270 echo $ac_n "(cached) $ac_c" 1>&6
15272 cat > conftest.$ac_ext <<EOF
15273 #line 15274 "configure"
15274 #include "confdefs.h"
15275 /* System header to define __stub macros and hopefully few prototypes,
15276 which can conflict with char $ac_func(); below. */
15277 #include <assert.h>
15278 /* Override any gcc2 internal prototype to avoid an error. */
15279 /* We use char because int might match the return type of a gcc2
15280 builtin and then its argument prototype would still apply. */
15285 /* The GNU C library defines this for functions which it implements
15286 to always fail with ENOSYS. Some functions are actually named
15287 something starting with __ and the normal name is an alias. */
15288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15296 if { (eval echo configure:15297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15298 eval "ac_cv_func_$ac_func=yes"
15300 echo "configure: failed program was:" >&5
15301 cat conftest.$ac_ext >&5
15303 eval "ac_cv_func_$ac_func=no"
15308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15309 echo "$ac_t""yes" 1>&6
15310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15311 cat >> confdefs.h <<EOF
15312 #define $ac_tr_func 1
15316 echo "$ac_t""no" 1>&6
15325 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
15326 echo "configure:15327: checking for modfl declaration" >&5
15327 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
15328 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
15329 echo $ac_n "(cached) $ac_c" 1>&6
15334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15335 ac_cpp='$CXXCPP $CPPFLAGS'
15336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15338 cross_compiling=$ac_cv_prog_cxx_cross
15340 cat > conftest.$ac_ext <<EOF
15341 #line 15342 "configure"
15342 #include "confdefs.h"
15348 if { (eval echo configure:15349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15350 glibcpp_cv_func_modfl_use=yes
15352 echo "configure: failed program was:" >&5
15353 cat conftest.$ac_ext >&5
15355 glibcpp_cv_func_modfl_use=no
15359 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15360 ac_cpp='$CPP $CPPFLAGS'
15361 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15362 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15363 cross_compiling=$ac_cv_prog_cc_cross
15369 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
15371 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
15372 for ac_func in modfl
15374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15375 echo "configure:15376: checking for $ac_func" >&5
15376 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15377 echo $ac_n "(cached) $ac_c" 1>&6
15379 cat > conftest.$ac_ext <<EOF
15380 #line 15381 "configure"
15381 #include "confdefs.h"
15382 /* System header to define __stub macros and hopefully few prototypes,
15383 which can conflict with char $ac_func(); below. */
15384 #include <assert.h>
15385 /* Override any gcc2 internal prototype to avoid an error. */
15386 /* We use char because int might match the return type of a gcc2
15387 builtin and then its argument prototype would still apply. */
15392 /* The GNU C library defines this for functions which it implements
15393 to always fail with ENOSYS. Some functions are actually named
15394 something starting with __ and the normal name is an alias. */
15395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15403 if { (eval echo configure:15404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15405 eval "ac_cv_func_$ac_func=yes"
15407 echo "configure: failed program was:" >&5
15408 cat conftest.$ac_ext >&5
15410 eval "ac_cv_func_$ac_func=no"
15415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15416 echo "$ac_t""yes" 1>&6
15417 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15418 cat >> confdefs.h <<EOF
15419 #define $ac_tr_func 1
15423 echo "$ac_t""no" 1>&6
15429 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
15430 echo "configure:15431: checking for _modfl declaration" >&5
15431 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
15432 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
15433 echo $ac_n "(cached) $ac_c" 1>&6
15438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15439 ac_cpp='$CXXCPP $CPPFLAGS'
15440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15442 cross_compiling=$ac_cv_prog_cxx_cross
15444 cat > conftest.$ac_ext <<EOF
15445 #line 15446 "configure"
15446 #include "confdefs.h"
15452 if { (eval echo configure:15453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15454 glibcpp_cv_func__modfl_use=yes
15456 echo "configure: failed program was:" >&5
15457 cat conftest.$ac_ext >&5
15459 glibcpp_cv_func__modfl_use=no
15463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15464 ac_cpp='$CPP $CPPFLAGS'
15465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15467 cross_compiling=$ac_cv_prog_cc_cross
15473 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
15475 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
15476 for ac_func in _modfl
15478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15479 echo "configure:15480: checking for $ac_func" >&5
15480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15481 echo $ac_n "(cached) $ac_c" 1>&6
15483 cat > conftest.$ac_ext <<EOF
15484 #line 15485 "configure"
15485 #include "confdefs.h"
15486 /* System header to define __stub macros and hopefully few prototypes,
15487 which can conflict with char $ac_func(); below. */
15488 #include <assert.h>
15489 /* Override any gcc2 internal prototype to avoid an error. */
15490 /* We use char because int might match the return type of a gcc2
15491 builtin and then its argument prototype would still apply. */
15496 /* The GNU C library defines this for functions which it implements
15497 to always fail with ENOSYS. Some functions are actually named
15498 something starting with __ and the normal name is an alias. */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15507 if { (eval echo configure:15508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15509 eval "ac_cv_func_$ac_func=yes"
15511 echo "configure: failed program was:" >&5
15512 cat conftest.$ac_ext >&5
15514 eval "ac_cv_func_$ac_func=no"
15519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15520 echo "$ac_t""yes" 1>&6
15521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15522 cat >> confdefs.h <<EOF
15523 #define $ac_tr_func 1
15527 echo "$ac_t""no" 1>&6
15536 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
15537 echo "configure:15538: checking for powl declaration" >&5
15538 if test x${glibcpp_cv_func_powl_use+set} != xset; then
15539 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
15540 echo $ac_n "(cached) $ac_c" 1>&6
15545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15546 ac_cpp='$CXXCPP $CPPFLAGS'
15547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15549 cross_compiling=$ac_cv_prog_cxx_cross
15551 cat > conftest.$ac_ext <<EOF
15552 #line 15553 "configure"
15553 #include "confdefs.h"
15559 if { (eval echo configure:15560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15561 glibcpp_cv_func_powl_use=yes
15563 echo "configure: failed program was:" >&5
15564 cat conftest.$ac_ext >&5
15566 glibcpp_cv_func_powl_use=no
15570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15571 ac_cpp='$CPP $CPPFLAGS'
15572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15574 cross_compiling=$ac_cv_prog_cc_cross
15580 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
15582 if test x$glibcpp_cv_func_powl_use = x"yes"; then
15583 for ac_func in powl
15585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15586 echo "configure:15587: checking for $ac_func" >&5
15587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15588 echo $ac_n "(cached) $ac_c" 1>&6
15590 cat > conftest.$ac_ext <<EOF
15591 #line 15592 "configure"
15592 #include "confdefs.h"
15593 /* System header to define __stub macros and hopefully few prototypes,
15594 which can conflict with char $ac_func(); below. */
15595 #include <assert.h>
15596 /* Override any gcc2 internal prototype to avoid an error. */
15597 /* We use char because int might match the return type of a gcc2
15598 builtin and then its argument prototype would still apply. */
15603 /* The GNU C library defines this for functions which it implements
15604 to always fail with ENOSYS. Some functions are actually named
15605 something starting with __ and the normal name is an alias. */
15606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15614 if { (eval echo configure:15615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15616 eval "ac_cv_func_$ac_func=yes"
15618 echo "configure: failed program was:" >&5
15619 cat conftest.$ac_ext >&5
15621 eval "ac_cv_func_$ac_func=no"
15626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15627 echo "$ac_t""yes" 1>&6
15628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15629 cat >> confdefs.h <<EOF
15630 #define $ac_tr_func 1
15634 echo "$ac_t""no" 1>&6
15640 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
15641 echo "configure:15642: checking for _powl declaration" >&5
15642 if test x${glibcpp_cv_func__powl_use+set} != xset; then
15643 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
15644 echo $ac_n "(cached) $ac_c" 1>&6
15649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15650 ac_cpp='$CXXCPP $CPPFLAGS'
15651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15653 cross_compiling=$ac_cv_prog_cxx_cross
15655 cat > conftest.$ac_ext <<EOF
15656 #line 15657 "configure"
15657 #include "confdefs.h"
15663 if { (eval echo configure:15664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15665 glibcpp_cv_func__powl_use=yes
15667 echo "configure: failed program was:" >&5
15668 cat conftest.$ac_ext >&5
15670 glibcpp_cv_func__powl_use=no
15674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15675 ac_cpp='$CPP $CPPFLAGS'
15676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15678 cross_compiling=$ac_cv_prog_cc_cross
15684 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
15686 if test x$glibcpp_cv_func__powl_use = x"yes"; then
15687 for ac_func in _powl
15689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15690 echo "configure:15691: checking for $ac_func" >&5
15691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15692 echo $ac_n "(cached) $ac_c" 1>&6
15694 cat > conftest.$ac_ext <<EOF
15695 #line 15696 "configure"
15696 #include "confdefs.h"
15697 /* System header to define __stub macros and hopefully few prototypes,
15698 which can conflict with char $ac_func(); below. */
15699 #include <assert.h>
15700 /* Override any gcc2 internal prototype to avoid an error. */
15701 /* We use char because int might match the return type of a gcc2
15702 builtin and then its argument prototype would still apply. */
15707 /* The GNU C library defines this for functions which it implements
15708 to always fail with ENOSYS. Some functions are actually named
15709 something starting with __ and the normal name is an alias. */
15710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15718 if { (eval echo configure:15719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15720 eval "ac_cv_func_$ac_func=yes"
15722 echo "configure: failed program was:" >&5
15723 cat conftest.$ac_ext >&5
15725 eval "ac_cv_func_$ac_func=no"
15730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15731 echo "$ac_t""yes" 1>&6
15732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15733 cat >> confdefs.h <<EOF
15734 #define $ac_tr_func 1
15738 echo "$ac_t""no" 1>&6
15747 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
15748 echo "configure:15749: checking for sqrtl declaration" >&5
15749 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
15750 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
15751 echo $ac_n "(cached) $ac_c" 1>&6
15756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15757 ac_cpp='$CXXCPP $CPPFLAGS'
15758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15760 cross_compiling=$ac_cv_prog_cxx_cross
15762 cat > conftest.$ac_ext <<EOF
15763 #line 15764 "configure"
15764 #include "confdefs.h"
15766 #ifdef HAVE_IEEEFP_H
15767 #include <ieeefp.h>
15774 if { (eval echo configure:15775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15776 glibcpp_cv_func_sqrtl_use=yes
15778 echo "configure: failed program was:" >&5
15779 cat conftest.$ac_ext >&5
15781 glibcpp_cv_func_sqrtl_use=no
15785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15789 cross_compiling=$ac_cv_prog_cc_cross
15795 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
15797 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
15798 for ac_func in sqrtl
15800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15801 echo "configure:15802: checking for $ac_func" >&5
15802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15803 echo $ac_n "(cached) $ac_c" 1>&6
15805 cat > conftest.$ac_ext <<EOF
15806 #line 15807 "configure"
15807 #include "confdefs.h"
15808 /* System header to define __stub macros and hopefully few prototypes,
15809 which can conflict with char $ac_func(); below. */
15810 #include <assert.h>
15811 /* Override any gcc2 internal prototype to avoid an error. */
15812 /* We use char because int might match the return type of a gcc2
15813 builtin and then its argument prototype would still apply. */
15818 /* The GNU C library defines this for functions which it implements
15819 to always fail with ENOSYS. Some functions are actually named
15820 something starting with __ and the normal name is an alias. */
15821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15829 if { (eval echo configure:15830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15831 eval "ac_cv_func_$ac_func=yes"
15833 echo "configure: failed program was:" >&5
15834 cat conftest.$ac_ext >&5
15836 eval "ac_cv_func_$ac_func=no"
15841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15842 echo "$ac_t""yes" 1>&6
15843 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15844 cat >> confdefs.h <<EOF
15845 #define $ac_tr_func 1
15849 echo "$ac_t""no" 1>&6
15855 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
15856 echo "configure:15857: checking for _sqrtl declaration" >&5
15857 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
15858 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
15859 echo $ac_n "(cached) $ac_c" 1>&6
15864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15865 ac_cpp='$CXXCPP $CPPFLAGS'
15866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15868 cross_compiling=$ac_cv_prog_cxx_cross
15870 cat > conftest.$ac_ext <<EOF
15871 #line 15872 "configure"
15872 #include "confdefs.h"
15874 #ifdef HAVE_IEEEFP_H
15875 #include <ieeefp.h>
15882 if { (eval echo configure:15883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15884 glibcpp_cv_func__sqrtl_use=yes
15886 echo "configure: failed program was:" >&5
15887 cat conftest.$ac_ext >&5
15889 glibcpp_cv_func__sqrtl_use=no
15893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15894 ac_cpp='$CPP $CPPFLAGS'
15895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15897 cross_compiling=$ac_cv_prog_cc_cross
15903 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
15905 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
15906 for ac_func in _sqrtl
15908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15909 echo "configure:15910: checking for $ac_func" >&5
15910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15911 echo $ac_n "(cached) $ac_c" 1>&6
15913 cat > conftest.$ac_ext <<EOF
15914 #line 15915 "configure"
15915 #include "confdefs.h"
15916 /* System header to define __stub macros and hopefully few prototypes,
15917 which can conflict with char $ac_func(); below. */
15918 #include <assert.h>
15919 /* Override any gcc2 internal prototype to avoid an error. */
15920 /* We use char because int might match the return type of a gcc2
15921 builtin and then its argument prototype would still apply. */
15926 /* The GNU C library defines this for functions which it implements
15927 to always fail with ENOSYS. Some functions are actually named
15928 something starting with __ and the normal name is an alias. */
15929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15937 if { (eval echo configure:15938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15939 eval "ac_cv_func_$ac_func=yes"
15941 echo "configure: failed program was:" >&5
15942 cat conftest.$ac_ext >&5
15944 eval "ac_cv_func_$ac_func=no"
15949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15950 echo "$ac_t""yes" 1>&6
15951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15952 cat >> confdefs.h <<EOF
15953 #define $ac_tr_func 1
15957 echo "$ac_t""no" 1>&6
15966 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
15967 echo "configure:15968: checking for sincosl declaration" >&5
15968 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
15969 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
15970 echo $ac_n "(cached) $ac_c" 1>&6
15975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15976 ac_cpp='$CXXCPP $CPPFLAGS'
15977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15979 cross_compiling=$ac_cv_prog_cxx_cross
15981 cat > conftest.$ac_ext <<EOF
15982 #line 15983 "configure"
15983 #include "confdefs.h"
15989 if { (eval echo configure:15990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15991 glibcpp_cv_func_sincosl_use=yes
15993 echo "configure: failed program was:" >&5
15994 cat conftest.$ac_ext >&5
15996 glibcpp_cv_func_sincosl_use=no
16000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16001 ac_cpp='$CPP $CPPFLAGS'
16002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16004 cross_compiling=$ac_cv_prog_cc_cross
16010 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
16012 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
16013 for ac_func in sincosl
16015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16016 echo "configure:16017: checking for $ac_func" >&5
16017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16018 echo $ac_n "(cached) $ac_c" 1>&6
16020 cat > conftest.$ac_ext <<EOF
16021 #line 16022 "configure"
16022 #include "confdefs.h"
16023 /* System header to define __stub macros and hopefully few prototypes,
16024 which can conflict with char $ac_func(); below. */
16025 #include <assert.h>
16026 /* Override any gcc2 internal prototype to avoid an error. */
16027 /* We use char because int might match the return type of a gcc2
16028 builtin and then its argument prototype would still apply. */
16033 /* The GNU C library defines this for functions which it implements
16034 to always fail with ENOSYS. Some functions are actually named
16035 something starting with __ and the normal name is an alias. */
16036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16044 if { (eval echo configure:16045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16046 eval "ac_cv_func_$ac_func=yes"
16048 echo "configure: failed program was:" >&5
16049 cat conftest.$ac_ext >&5
16051 eval "ac_cv_func_$ac_func=no"
16056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16057 echo "$ac_t""yes" 1>&6
16058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16059 cat >> confdefs.h <<EOF
16060 #define $ac_tr_func 1
16064 echo "$ac_t""no" 1>&6
16070 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16071 echo "configure:16072: checking for _sincosl declaration" >&5
16072 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
16073 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16074 echo $ac_n "(cached) $ac_c" 1>&6
16079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16080 ac_cpp='$CXXCPP $CPPFLAGS'
16081 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16082 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16083 cross_compiling=$ac_cv_prog_cxx_cross
16085 cat > conftest.$ac_ext <<EOF
16086 #line 16087 "configure"
16087 #include "confdefs.h"
16093 if { (eval echo configure:16094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16095 glibcpp_cv_func__sincosl_use=yes
16097 echo "configure: failed program was:" >&5
16098 cat conftest.$ac_ext >&5
16100 glibcpp_cv_func__sincosl_use=no
16104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16105 ac_cpp='$CPP $CPPFLAGS'
16106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16108 cross_compiling=$ac_cv_prog_cc_cross
16114 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16116 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16117 for ac_func in _sincosl
16119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16120 echo "configure:16121: checking for $ac_func" >&5
16121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16122 echo $ac_n "(cached) $ac_c" 1>&6
16124 cat > conftest.$ac_ext <<EOF
16125 #line 16126 "configure"
16126 #include "confdefs.h"
16127 /* System header to define __stub macros and hopefully few prototypes,
16128 which can conflict with char $ac_func(); below. */
16129 #include <assert.h>
16130 /* Override any gcc2 internal prototype to avoid an error. */
16131 /* We use char because int might match the return type of a gcc2
16132 builtin and then its argument prototype would still apply. */
16137 /* The GNU C library defines this for functions which it implements
16138 to always fail with ENOSYS. Some functions are actually named
16139 something starting with __ and the normal name is an alias. */
16140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16148 if { (eval echo configure:16149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16150 eval "ac_cv_func_$ac_func=yes"
16152 echo "configure: failed program was:" >&5
16153 cat conftest.$ac_ext >&5
16155 eval "ac_cv_func_$ac_func=no"
16160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16161 echo "$ac_t""yes" 1>&6
16162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16163 cat >> confdefs.h <<EOF
16164 #define $ac_tr_func 1
16168 echo "$ac_t""no" 1>&6
16177 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
16178 echo "configure:16179: checking for finitel declaration" >&5
16179 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
16180 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
16181 echo $ac_n "(cached) $ac_c" 1>&6
16186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16187 ac_cpp='$CXXCPP $CPPFLAGS'
16188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16190 cross_compiling=$ac_cv_prog_cxx_cross
16192 cat > conftest.$ac_ext <<EOF
16193 #line 16194 "configure"
16194 #include "confdefs.h"
16196 #ifdef HAVE_IEEEFP_H
16197 #include <ieeefp.h>
16204 if { (eval echo configure:16205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16206 glibcpp_cv_func_finitel_use=yes
16208 echo "configure: failed program was:" >&5
16209 cat conftest.$ac_ext >&5
16211 glibcpp_cv_func_finitel_use=no
16215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16216 ac_cpp='$CPP $CPPFLAGS'
16217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16219 cross_compiling=$ac_cv_prog_cc_cross
16225 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
16227 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
16228 for ac_func in finitel
16230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16231 echo "configure:16232: checking for $ac_func" >&5
16232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16233 echo $ac_n "(cached) $ac_c" 1>&6
16235 cat > conftest.$ac_ext <<EOF
16236 #line 16237 "configure"
16237 #include "confdefs.h"
16238 /* System header to define __stub macros and hopefully few prototypes,
16239 which can conflict with char $ac_func(); below. */
16240 #include <assert.h>
16241 /* Override any gcc2 internal prototype to avoid an error. */
16242 /* We use char because int might match the return type of a gcc2
16243 builtin and then its argument prototype would still apply. */
16248 /* The GNU C library defines this for functions which it implements
16249 to always fail with ENOSYS. Some functions are actually named
16250 something starting with __ and the normal name is an alias. */
16251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16259 if { (eval echo configure:16260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16261 eval "ac_cv_func_$ac_func=yes"
16263 echo "configure: failed program was:" >&5
16264 cat conftest.$ac_ext >&5
16266 eval "ac_cv_func_$ac_func=no"
16271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16272 echo "$ac_t""yes" 1>&6
16273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16274 cat >> confdefs.h <<EOF
16275 #define $ac_tr_func 1
16279 echo "$ac_t""no" 1>&6
16285 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16286 echo "configure:16287: checking for _finitel declaration" >&5
16287 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
16288 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16289 echo $ac_n "(cached) $ac_c" 1>&6
16294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16295 ac_cpp='$CXXCPP $CPPFLAGS'
16296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16298 cross_compiling=$ac_cv_prog_cxx_cross
16300 cat > conftest.$ac_ext <<EOF
16301 #line 16302 "configure"
16302 #include "confdefs.h"
16304 #ifdef HAVE_IEEEFP_H
16305 #include <ieeefp.h>
16312 if { (eval echo configure:16313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16314 glibcpp_cv_func__finitel_use=yes
16316 echo "configure: failed program was:" >&5
16317 cat conftest.$ac_ext >&5
16319 glibcpp_cv_func__finitel_use=no
16323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16324 ac_cpp='$CPP $CPPFLAGS'
16325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16327 cross_compiling=$ac_cv_prog_cc_cross
16333 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16335 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16336 for ac_func in _finitel
16338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16339 echo "configure:16340: checking for $ac_func" >&5
16340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16341 echo $ac_n "(cached) $ac_c" 1>&6
16343 cat > conftest.$ac_ext <<EOF
16344 #line 16345 "configure"
16345 #include "confdefs.h"
16346 /* System header to define __stub macros and hopefully few prototypes,
16347 which can conflict with char $ac_func(); below. */
16348 #include <assert.h>
16349 /* Override any gcc2 internal prototype to avoid an error. */
16350 /* We use char because int might match the return type of a gcc2
16351 builtin and then its argument prototype would still apply. */
16356 /* The GNU C library defines this for functions which it implements
16357 to always fail with ENOSYS. Some functions are actually named
16358 something starting with __ and the normal name is an alias. */
16359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16367 if { (eval echo configure:16368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16369 eval "ac_cv_func_$ac_func=yes"
16371 echo "configure: failed program was:" >&5
16372 cat conftest.$ac_ext >&5
16374 eval "ac_cv_func_$ac_func=no"
16379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16380 echo "$ac_t""yes" 1>&6
16381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16382 cat >> confdefs.h <<EOF
16383 #define $ac_tr_func 1
16387 echo "$ac_t""no" 1>&6
16397 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
16398 echo "configure:16399: checking for _float trig functions" >&5
16399 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
16400 echo $ac_n "(cached) $ac_c" 1>&6
16405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16406 ac_cpp='$CXXCPP $CPPFLAGS'
16407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16409 cross_compiling=$ac_cv_prog_cxx_cross
16411 cat > conftest.$ac_ext <<EOF
16412 #line 16413 "configure"
16413 #include "confdefs.h"
16416 `for x in _acosf _asinf _atanf \
16417 _cosf _sinf _tanf \
16418 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
16421 if { (eval echo configure:16422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16423 glibcpp_cv_func__float_trig_use=yes
16425 echo "configure: failed program was:" >&5
16426 cat conftest.$ac_ext >&5
16428 glibcpp_cv_func__float_trig_use=no
16432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16433 ac_cpp='$CPP $CPPFLAGS'
16434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16436 cross_compiling=$ac_cv_prog_cc_cross
16440 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
16441 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
16442 for ac_func in _acosf _asinf _atanf \
16443 _cosf _sinf _tanf \
16444 _coshf _sinhf _tanhf
16446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16447 echo "configure:16448: checking for $ac_func" >&5
16448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16449 echo $ac_n "(cached) $ac_c" 1>&6
16451 cat > conftest.$ac_ext <<EOF
16452 #line 16453 "configure"
16453 #include "confdefs.h"
16454 /* System header to define __stub macros and hopefully few prototypes,
16455 which can conflict with char $ac_func(); below. */
16456 #include <assert.h>
16457 /* Override any gcc2 internal prototype to avoid an error. */
16458 /* We use char because int might match the return type of a gcc2
16459 builtin and then its argument prototype would still apply. */
16464 /* The GNU C library defines this for functions which it implements
16465 to always fail with ENOSYS. Some functions are actually named
16466 something starting with __ and the normal name is an alias. */
16467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16475 if { (eval echo configure:16476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16477 eval "ac_cv_func_$ac_func=yes"
16479 echo "configure: failed program was:" >&5
16480 cat conftest.$ac_ext >&5
16482 eval "ac_cv_func_$ac_func=no"
16487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16488 echo "$ac_t""yes" 1>&6
16489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16490 cat >> confdefs.h <<EOF
16491 #define $ac_tr_func 1
16495 echo "$ac_t""no" 1>&6
16502 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
16503 echo "configure:16504: checking for _float round functions" >&5
16504 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
16505 echo $ac_n "(cached) $ac_c" 1>&6
16510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16511 ac_cpp='$CXXCPP $CPPFLAGS'
16512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16514 cross_compiling=$ac_cv_prog_cxx_cross
16516 cat > conftest.$ac_ext <<EOF
16517 #line 16518 "configure"
16518 #include "confdefs.h"
16521 `for x in _ceilf _floorf; do echo "$x (0);"; done`
16524 if { (eval echo configure:16525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16526 glibcpp_cv_func__float_round_use=yes
16528 echo "configure: failed program was:" >&5
16529 cat conftest.$ac_ext >&5
16531 glibcpp_cv_func__float_round_use=no
16535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16536 ac_cpp='$CPP $CPPFLAGS'
16537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16539 cross_compiling=$ac_cv_prog_cc_cross
16543 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
16544 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
16545 for ac_func in _ceilf _floorf
16547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16548 echo "configure:16549: checking for $ac_func" >&5
16549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16550 echo $ac_n "(cached) $ac_c" 1>&6
16552 cat > conftest.$ac_ext <<EOF
16553 #line 16554 "configure"
16554 #include "confdefs.h"
16555 /* System header to define __stub macros and hopefully few prototypes,
16556 which can conflict with char $ac_func(); below. */
16557 #include <assert.h>
16558 /* Override any gcc2 internal prototype to avoid an error. */
16559 /* We use char because int might match the return type of a gcc2
16560 builtin and then its argument prototype would still apply. */
16565 /* The GNU C library defines this for functions which it implements
16566 to always fail with ENOSYS. Some functions are actually named
16567 something starting with __ and the normal name is an alias. */
16568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16576 if { (eval echo configure:16577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16578 eval "ac_cv_func_$ac_func=yes"
16580 echo "configure: failed program was:" >&5
16581 cat conftest.$ac_ext >&5
16583 eval "ac_cv_func_$ac_func=no"
16588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16589 echo "$ac_t""yes" 1>&6
16590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16591 cat >> confdefs.h <<EOF
16592 #define $ac_tr_func 1
16596 echo "$ac_t""no" 1>&6
16604 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
16605 echo "configure:16606: checking for _long double trig functions" >&5
16606 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
16607 echo $ac_n "(cached) $ac_c" 1>&6
16612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16613 ac_cpp='$CXXCPP $CPPFLAGS'
16614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16616 cross_compiling=$ac_cv_prog_cxx_cross
16618 cat > conftest.$ac_ext <<EOF
16619 #line 16620 "configure"
16620 #include "confdefs.h"
16623 `for x in _acosl _asinl _atanl \
16624 _cosl _sinl _tanl \
16625 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
16628 if { (eval echo configure:16629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16630 glibcpp_cv_func__long_double_trig_use=yes
16632 echo "configure: failed program was:" >&5
16633 cat conftest.$ac_ext >&5
16635 glibcpp_cv_func__long_double_trig_use=no
16639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16640 ac_cpp='$CPP $CPPFLAGS'
16641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16643 cross_compiling=$ac_cv_prog_cc_cross
16647 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
16648 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
16649 for ac_func in _acosl _asinl _atanl \
16650 _cosl _sinl _tanl \
16651 _coshl _sinhl _tanhl
16653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16654 echo "configure:16655: checking for $ac_func" >&5
16655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16656 echo $ac_n "(cached) $ac_c" 1>&6
16658 cat > conftest.$ac_ext <<EOF
16659 #line 16660 "configure"
16660 #include "confdefs.h"
16661 /* System header to define __stub macros and hopefully few prototypes,
16662 which can conflict with char $ac_func(); below. */
16663 #include <assert.h>
16664 /* Override any gcc2 internal prototype to avoid an error. */
16665 /* We use char because int might match the return type of a gcc2
16666 builtin and then its argument prototype would still apply. */
16671 /* The GNU C library defines this for functions which it implements
16672 to always fail with ENOSYS. Some functions are actually named
16673 something starting with __ and the normal name is an alias. */
16674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16682 if { (eval echo configure:16683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16684 eval "ac_cv_func_$ac_func=yes"
16686 echo "configure: failed program was:" >&5
16687 cat conftest.$ac_ext >&5
16689 eval "ac_cv_func_$ac_func=no"
16694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16695 echo "$ac_t""yes" 1>&6
16696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16697 cat >> confdefs.h <<EOF
16698 #define $ac_tr_func 1
16702 echo "$ac_t""no" 1>&6
16709 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
16710 echo "configure:16711: checking for _long double round functions" >&5
16711 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
16712 echo $ac_n "(cached) $ac_c" 1>&6
16717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16718 ac_cpp='$CXXCPP $CPPFLAGS'
16719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16721 cross_compiling=$ac_cv_prog_cxx_cross
16723 cat > conftest.$ac_ext <<EOF
16724 #line 16725 "configure"
16725 #include "confdefs.h"
16728 `for x in _ceill _floorl; do echo "$x (0);"; done`
16731 if { (eval echo configure:16732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16733 glibcpp_cv_func__long_double_round_use=yes
16735 echo "configure: failed program was:" >&5
16736 cat conftest.$ac_ext >&5
16738 glibcpp_cv_func__long_double_round_use=no
16742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16743 ac_cpp='$CPP $CPPFLAGS'
16744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16746 cross_compiling=$ac_cv_prog_cc_cross
16750 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
16751 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
16752 for ac_func in _ceill _floorl
16754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16755 echo "configure:16756: checking for $ac_func" >&5
16756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16757 echo $ac_n "(cached) $ac_c" 1>&6
16759 cat > conftest.$ac_ext <<EOF
16760 #line 16761 "configure"
16761 #include "confdefs.h"
16762 /* System header to define __stub macros and hopefully few prototypes,
16763 which can conflict with char $ac_func(); below. */
16764 #include <assert.h>
16765 /* Override any gcc2 internal prototype to avoid an error. */
16766 /* We use char because int might match the return type of a gcc2
16767 builtin and then its argument prototype would still apply. */
16772 /* The GNU C library defines this for functions which it implements
16773 to always fail with ENOSYS. Some functions are actually named
16774 something starting with __ and the normal name is an alias. */
16775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16783 if { (eval echo configure:16784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16785 eval "ac_cv_func_$ac_func=yes"
16787 echo "configure: failed program was:" >&5
16788 cat conftest.$ac_ext >&5
16790 eval "ac_cv_func_$ac_func=no"
16795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16796 echo "$ac_t""yes" 1>&6
16797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16798 cat >> confdefs.h <<EOF
16799 #define $ac_tr_func 1
16803 echo "$ac_t""no" 1>&6
16810 LIBS="$ac_save_LIBS"
16811 CXXFLAGS="$ac_save_CXXFLAGS"
16814 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
16815 echo "configure:16816: checking for main in -lm" >&5
16816 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
16817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16818 echo $ac_n "(cached) $ac_c" 1>&6
16820 ac_save_LIBS="$LIBS"
16822 cat > conftest.$ac_ext <<EOF
16823 #line 16824 "configure"
16824 #include "confdefs.h"
16830 if { (eval echo configure:16831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16832 eval "ac_cv_lib_$ac_lib_var=yes"
16834 echo "configure: failed program was:" >&5
16835 cat conftest.$ac_ext >&5
16837 eval "ac_cv_lib_$ac_lib_var=no"
16840 LIBS="$ac_save_LIBS"
16843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16844 echo "$ac_t""yes" 1>&6
16845 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16846 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16847 cat >> confdefs.h <<EOF
16848 #define $ac_tr_lib 1
16854 echo "$ac_t""no" 1>&6
16857 for ac_func in nan copysignf
16859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16860 echo "configure:16861: checking for $ac_func" >&5
16861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16862 echo $ac_n "(cached) $ac_c" 1>&6
16864 cat > conftest.$ac_ext <<EOF
16865 #line 16866 "configure"
16866 #include "confdefs.h"
16867 /* System header to define __stub macros and hopefully few prototypes,
16868 which can conflict with char $ac_func(); below. */
16869 #include <assert.h>
16870 /* Override any gcc2 internal prototype to avoid an error. */
16871 /* We use char because int might match the return type of a gcc2
16872 builtin and then its argument prototype would still apply. */
16877 /* The GNU C library defines this for functions which it implements
16878 to always fail with ENOSYS. Some functions are actually named
16879 something starting with __ and the normal name is an alias. */
16880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16888 if { (eval echo configure:16889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16890 eval "ac_cv_func_$ac_func=yes"
16892 echo "configure: failed program was:" >&5
16893 cat conftest.$ac_ext >&5
16895 eval "ac_cv_func_$ac_func=no"
16900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16901 echo "$ac_t""yes" 1>&6
16902 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16903 cat >> confdefs.h <<EOF
16904 #define $ac_tr_func 1
16908 echo "$ac_t""no" 1>&6
16909 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16915 USE_COMPLEX_LONG_DOUBLE=no
16916 if test x$ac_cv_func_copysignl = x"yes"; then
16917 USE_COMPLEX_LONG_DOUBLE=yes
16918 for ac_func in signbitl
16920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16921 echo "configure:16922: checking for $ac_func" >&5
16922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16923 echo $ac_n "(cached) $ac_c" 1>&6
16925 cat > conftest.$ac_ext <<EOF
16926 #line 16927 "configure"
16927 #include "confdefs.h"
16928 /* System header to define __stub macros and hopefully few prototypes,
16929 which can conflict with char $ac_func(); below. */
16930 #include <assert.h>
16931 /* Override any gcc2 internal prototype to avoid an error. */
16932 /* We use char because int might match the return type of a gcc2
16933 builtin and then its argument prototype would still apply. */
16938 /* The GNU C library defines this for functions which it implements
16939 to always fail with ENOSYS. Some functions are actually named
16940 something starting with __ and the normal name is an alias. */
16941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16949 if { (eval echo configure:16950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16951 eval "ac_cv_func_$ac_func=yes"
16953 echo "configure: failed program was:" >&5
16954 cat conftest.$ac_ext >&5
16956 eval "ac_cv_func_$ac_func=no"
16961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16962 echo "$ac_t""yes" 1>&6
16963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16964 cat >> confdefs.h <<EOF
16965 #define $ac_tr_func 1
16969 echo "$ac_t""no" 1>&6
16970 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16981 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
16982 echo "configure:16983: checking for mbstate_t" >&5
16983 cat > conftest.$ac_ext <<EOF
16984 #line 16985 "configure"
16985 #include "confdefs.h"
16988 mbstate_t teststate;
16991 if { (eval echo configure:16992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16995 echo "configure: failed program was:" >&5
16996 cat conftest.$ac_ext >&5
17001 echo "$ac_t""$have_mbstate_t" 1>&6
17002 if test x"$have_mbstate_t" = xyes; then
17003 cat >> confdefs.h <<\EOF
17004 #define HAVE_MBSTATE_T 1
17009 for ac_hdr in wchar.h
17011 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17013 echo "configure:17014: checking for $ac_hdr" >&5
17014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17015 echo $ac_n "(cached) $ac_c" 1>&6
17017 cat > conftest.$ac_ext <<EOF
17018 #line 17019 "configure"
17019 #include "confdefs.h"
17022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17023 { (eval echo configure:17024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17025 if test -z "$ac_err"; then
17027 eval "ac_cv_header_$ac_safe=yes"
17030 echo "configure: failed program was:" >&5
17031 cat conftest.$ac_ext >&5
17033 eval "ac_cv_header_$ac_safe=no"
17037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17038 echo "$ac_t""yes" 1>&6
17039 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17040 cat >> confdefs.h <<EOF
17041 #define $ac_tr_hdr 1
17045 echo "$ac_t""no" 1>&6
17050 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17051 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17052 echo "configure:17053: checking for wctype.h" >&5
17053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17054 echo $ac_n "(cached) $ac_c" 1>&6
17056 cat > conftest.$ac_ext <<EOF
17057 #line 17058 "configure"
17058 #include "confdefs.h"
17059 #include <wctype.h>
17061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17062 { (eval echo configure:17063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17064 if test -z "$ac_err"; then
17066 eval "ac_cv_header_$ac_safe=yes"
17069 echo "configure: failed program was:" >&5
17070 cat conftest.$ac_ext >&5
17072 eval "ac_cv_header_$ac_safe=no"
17076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17077 echo "$ac_t""yes" 1>&6
17078 ac_has_wctype_h=yes
17080 echo "$ac_t""no" 1>&6
17085 if test x"$ac_has_wchar_h" = xyes &&
17086 test x"$ac_has_wctype_h" = xyes &&
17087 test x"$enable_c_mbchar" != xno; then
17089 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17090 echo "configure:17091: checking for WCHAR_MIN and WCHAR_MAX" >&5
17091 cat > conftest.$ac_ext <<EOF
17092 #line 17093 "configure"
17093 #include "confdefs.h"
17096 int i = WCHAR_MIN; int j = WCHAR_MAX;
17099 if { (eval echo configure:17100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17101 has_wchar_minmax=yes
17103 echo "configure: failed program was:" >&5
17104 cat conftest.$ac_ext >&5
17106 has_wchar_minmax=no
17109 echo "$ac_t""$has_wchar_minmax" 1>&6
17111 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17112 echo "configure:17113: checking for WEOF" >&5
17113 cat > conftest.$ac_ext <<EOF
17114 #line 17115 "configure"
17115 #include "confdefs.h"
17118 #include <stddef.h>
17123 if { (eval echo configure:17124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17127 echo "configure: failed program was:" >&5
17128 cat conftest.$ac_ext >&5
17133 echo "$ac_t""$has_weof" 1>&6
17136 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17139 echo "configure:17140: checking for $ac_func" >&5
17140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17141 echo $ac_n "(cached) $ac_c" 1>&6
17143 cat > conftest.$ac_ext <<EOF
17144 #line 17145 "configure"
17145 #include "confdefs.h"
17146 /* System header to define __stub macros and hopefully few prototypes,
17147 which can conflict with char $ac_func(); below. */
17148 #include <assert.h>
17149 /* Override any gcc2 internal prototype to avoid an error. */
17150 /* We use char because int might match the return type of a gcc2
17151 builtin and then its argument prototype would still apply. */
17156 /* The GNU C library defines this for functions which it implements
17157 to always fail with ENOSYS. Some functions are actually named
17158 something starting with __ and the normal name is an alias. */
17159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17167 if { (eval echo configure:17168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17169 eval "ac_cv_func_$ac_func=yes"
17171 echo "configure: failed program was:" >&5
17172 cat conftest.$ac_ext >&5
17174 eval "ac_cv_func_$ac_func=no"
17179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17180 echo "$ac_t""yes" 1>&6
17181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17182 cat >> confdefs.h <<EOF
17183 #define $ac_tr_func 1
17187 echo "$ac_t""no" 1>&6
17194 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
17195 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
17196 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
17197 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
17198 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
17199 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
17201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17202 echo "configure:17203: checking for $ac_func" >&5
17203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17204 echo $ac_n "(cached) $ac_c" 1>&6
17206 cat > conftest.$ac_ext <<EOF
17207 #line 17208 "configure"
17208 #include "confdefs.h"
17209 /* System header to define __stub macros and hopefully few prototypes,
17210 which can conflict with char $ac_func(); below. */
17211 #include <assert.h>
17212 /* Override any gcc2 internal prototype to avoid an error. */
17213 /* We use char because int might match the return type of a gcc2
17214 builtin and then its argument prototype would still apply. */
17219 /* The GNU C library defines this for functions which it implements
17220 to always fail with ENOSYS. Some functions are actually named
17221 something starting with __ and the normal name is an alias. */
17222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17230 if { (eval echo configure:17231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17232 eval "ac_cv_func_$ac_func=yes"
17234 echo "configure: failed program was:" >&5
17235 cat conftest.$ac_ext >&5
17237 eval "ac_cv_func_$ac_func=no"
17242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17243 echo "$ac_t""yes" 1>&6
17244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17245 cat >> confdefs.h <<EOF
17246 #define $ac_tr_func 1
17250 echo "$ac_t""no" 1>&6
17257 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
17258 echo "configure:17259: checking for ISO C99 wchar_t support" >&5
17259 if test x"$has_weof" = xyes &&
17260 test x"$has_wchar_minmax" = xyes &&
17261 test x"$ac_wfuncs" = xyes; then
17262 ac_isoC99_wchar_t=yes
17264 ac_isoC99_wchar_t=no
17266 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
17268 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17269 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17270 echo "configure:17271: checking for iconv.h" >&5
17271 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17272 echo $ac_n "(cached) $ac_c" 1>&6
17274 cat > conftest.$ac_ext <<EOF
17275 #line 17276 "configure"
17276 #include "confdefs.h"
17279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17280 { (eval echo configure:17281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17282 if test -z "$ac_err"; then
17284 eval "ac_cv_header_$ac_safe=yes"
17287 echo "configure: failed program was:" >&5
17288 cat conftest.$ac_ext >&5
17290 eval "ac_cv_header_$ac_safe=no"
17294 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17295 echo "$ac_t""yes" 1>&6
17298 echo "$ac_t""no" 1>&6
17302 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17303 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17304 echo "configure:17305: checking for langinfo.h" >&5
17305 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17306 echo $ac_n "(cached) $ac_c" 1>&6
17308 cat > conftest.$ac_ext <<EOF
17309 #line 17310 "configure"
17310 #include "confdefs.h"
17311 #include <langinfo.h>
17313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17314 { (eval echo configure:17315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17316 if test -z "$ac_err"; then
17318 eval "ac_cv_header_$ac_safe=yes"
17321 echo "configure: failed program was:" >&5
17322 cat conftest.$ac_ext >&5
17324 eval "ac_cv_header_$ac_safe=no"
17328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17329 echo "$ac_t""yes" 1>&6
17330 ac_has_langinfo_h=yes
17332 echo "$ac_t""no" 1>&6
17333 ac_has_langinfo_h=no
17337 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
17338 echo "configure:17339: checking for iconv in -liconv" >&5
17339 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
17340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17341 echo $ac_n "(cached) $ac_c" 1>&6
17343 ac_save_LIBS="$LIBS"
17344 LIBS="-liconv $LIBS"
17345 cat > conftest.$ac_ext <<EOF
17346 #line 17347 "configure"
17347 #include "confdefs.h"
17348 /* Override any gcc2 internal prototype to avoid an error. */
17349 /* We use char because int might match the return type of a gcc2
17350 builtin and then its argument prototype would still apply. */
17357 if { (eval echo configure:17358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17359 eval "ac_cv_lib_$ac_lib_var=yes"
17361 echo "configure: failed program was:" >&5
17362 cat conftest.$ac_ext >&5
17364 eval "ac_cv_lib_$ac_lib_var=no"
17367 LIBS="$ac_save_LIBS"
17370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17371 echo "$ac_t""yes" 1>&6
17374 echo "$ac_t""no" 1>&6
17377 ac_save_LIBS="$LIBS"
17378 LIBS="$LIBS $libiconv"
17380 for ac_func in iconv_open iconv_close iconv nl_langinfo
17382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17383 echo "configure:17384: checking for $ac_func" >&5
17384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17385 echo $ac_n "(cached) $ac_c" 1>&6
17387 cat > conftest.$ac_ext <<EOF
17388 #line 17389 "configure"
17389 #include "confdefs.h"
17390 /* System header to define __stub macros and hopefully few prototypes,
17391 which can conflict with char $ac_func(); below. */
17392 #include <assert.h>
17393 /* Override any gcc2 internal prototype to avoid an error. */
17394 /* We use char because int might match the return type of a gcc2
17395 builtin and then its argument prototype would still apply. */
17400 /* The GNU C library defines this for functions which it implements
17401 to always fail with ENOSYS. Some functions are actually named
17402 something starting with __ and the normal name is an alias. */
17403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17411 if { (eval echo configure:17412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17413 eval "ac_cv_func_$ac_func=yes"
17415 echo "configure: failed program was:" >&5
17416 cat conftest.$ac_ext >&5
17418 eval "ac_cv_func_$ac_func=no"
17423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17424 echo "$ac_t""yes" 1>&6
17425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17426 cat >> confdefs.h <<EOF
17427 #define $ac_tr_func 1
17432 echo "$ac_t""no" 1>&6
17438 LIBS="$ac_save_LIBS"
17440 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17441 echo "configure:17442: checking for XPG2 wchar_t support" >&5
17442 if test x"$ac_has_iconv_h" = xyes &&
17443 test x"$ac_has_langinfo_h" = xyes &&
17444 test x"$ac_XPG2funcs" = xyes; then
17445 ac_XPG2_wchar_t=yes
17449 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17451 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17452 echo "configure:17453: checking for enabled wchar_t specializations" >&5
17453 if test x"$ac_isoC99_wchar_t" = xyes &&
17454 test x"$ac_XPG2_wchar_t" = xyes; then
17455 cat >> confdefs.h <<\EOF
17456 #define _GLIBCPP_USE_WCHAR_T 1
17459 echo "$ac_t"""yes"" 1>&6
17461 echo "$ac_t"""no"" 1>&6
17464 echo "configure: warning: wchar_t support disabled." 1>&2
17468 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17469 ac_save_CXXFLAGS="$CXXFLAGS"
17470 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
17473 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
17474 echo "configure:17475: checking for strtold declaration" >&5
17475 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
17476 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
17477 echo $ac_n "(cached) $ac_c" 1>&6
17482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17483 ac_cpp='$CXXCPP $CPPFLAGS'
17484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17486 cross_compiling=$ac_cv_prog_cxx_cross
17488 cat > conftest.$ac_ext <<EOF
17489 #line 17490 "configure"
17490 #include "confdefs.h"
17491 #include <stdlib.h>
17496 if { (eval echo configure:17497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17498 glibcpp_cv_func_strtold_use=yes
17500 echo "configure: failed program was:" >&5
17501 cat conftest.$ac_ext >&5
17503 glibcpp_cv_func_strtold_use=no
17507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17511 cross_compiling=$ac_cv_prog_cc_cross
17517 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
17518 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
17519 for ac_func in strtold
17521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17522 echo "configure:17523: checking for $ac_func" >&5
17523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17524 echo $ac_n "(cached) $ac_c" 1>&6
17526 cat > conftest.$ac_ext <<EOF
17527 #line 17528 "configure"
17528 #include "confdefs.h"
17529 /* System header to define __stub macros and hopefully few prototypes,
17530 which can conflict with char $ac_func(); below. */
17531 #include <assert.h>
17532 /* Override any gcc2 internal prototype to avoid an error. */
17533 /* We use char because int might match the return type of a gcc2
17534 builtin and then its argument prototype would still apply. */
17539 /* The GNU C library defines this for functions which it implements
17540 to always fail with ENOSYS. Some functions are actually named
17541 something starting with __ and the normal name is an alias. */
17542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17550 if { (eval echo configure:17551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17552 eval "ac_cv_func_$ac_func=yes"
17554 echo "configure: failed program was:" >&5
17555 cat conftest.$ac_ext >&5
17557 eval "ac_cv_func_$ac_func=no"
17562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17563 echo "$ac_t""yes" 1>&6
17564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17565 cat >> confdefs.h <<EOF
17566 #define $ac_tr_func 1
17570 echo "$ac_t""no" 1>&6
17576 for ac_func in drand48
17578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17579 echo "configure:17580: checking for $ac_func" >&5
17580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17581 echo $ac_n "(cached) $ac_c" 1>&6
17583 cat > conftest.$ac_ext <<EOF
17584 #line 17585 "configure"
17585 #include "confdefs.h"
17586 /* System header to define __stub macros and hopefully few prototypes,
17587 which can conflict with char $ac_func(); below. */
17588 #include <assert.h>
17589 /* Override any gcc2 internal prototype to avoid an error. */
17590 /* We use char because int might match the return type of a gcc2
17591 builtin and then its argument prototype would still apply. */
17596 /* The GNU C library defines this for functions which it implements
17597 to always fail with ENOSYS. Some functions are actually named
17598 something starting with __ and the normal name is an alias. */
17599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17607 if { (eval echo configure:17608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17609 eval "ac_cv_func_$ac_func=yes"
17611 echo "configure: failed program was:" >&5
17612 cat conftest.$ac_ext >&5
17614 eval "ac_cv_func_$ac_func=no"
17619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17620 echo "$ac_t""yes" 1>&6
17621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17622 cat >> confdefs.h <<EOF
17623 #define $ac_tr_func 1
17627 echo "$ac_t""no" 1>&6
17632 CXXFLAGS="$ac_save_CXXFLAGS"
17635 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
17636 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
17637 echo "configure:17638: checking for locale.h" >&5
17638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17639 echo $ac_n "(cached) $ac_c" 1>&6
17641 cat > conftest.$ac_ext <<EOF
17642 #line 17643 "configure"
17643 #include "confdefs.h"
17644 #include <locale.h>
17646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17647 { (eval echo configure:17648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17649 if test -z "$ac_err"; then
17651 eval "ac_cv_header_$ac_safe=yes"
17654 echo "configure: failed program was:" >&5
17655 cat conftest.$ac_ext >&5
17657 eval "ac_cv_header_$ac_safe=no"
17661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17662 echo "$ac_t""yes" 1>&6
17664 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
17665 echo "configure:17666: checking for LC_MESSAGES" >&5
17666 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
17667 echo $ac_n "(cached) $ac_c" 1>&6
17669 cat > conftest.$ac_ext <<EOF
17670 #line 17671 "configure"
17671 #include "confdefs.h"
17672 #include <locale.h>
17677 if { (eval echo configure:17678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17679 ac_cv_val_LC_MESSAGES=yes
17681 echo "configure: failed program was:" >&5
17682 cat conftest.$ac_ext >&5
17684 ac_cv_val_LC_MESSAGES=no
17689 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
17690 if test $ac_cv_val_LC_MESSAGES = yes; then
17691 cat >> confdefs.h <<\EOF
17692 #define HAVE_LC_MESSAGES 1
17698 echo "$ac_t""no" 1>&6
17703 cat > conftest.$ac_ext <<EOF
17704 #line 17705 "configure"
17705 #include "confdefs.h"
17707 #include <setjmp.h>
17710 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
17713 if { (eval echo configure:17714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17715 cat >> confdefs.h <<\EOF
17716 #define HAVE_SIGSETJMP 1
17721 echo "configure: failed program was:" >&5
17722 cat conftest.$ac_ext >&5
17726 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
17728 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17729 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17730 echo "configure:17731: checking for $ac_hdr" >&5
17731 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17732 echo $ac_n "(cached) $ac_c" 1>&6
17734 cat > conftest.$ac_ext <<EOF
17735 #line 17736 "configure"
17736 #include "confdefs.h"
17739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17740 { (eval echo configure:17741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17742 if test -z "$ac_err"; then
17744 eval "ac_cv_header_$ac_safe=yes"
17747 echo "configure: failed program was:" >&5
17748 cat conftest.$ac_ext >&5
17750 eval "ac_cv_header_$ac_safe=no"
17754 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17755 echo "$ac_t""yes" 1>&6
17756 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17757 cat >> confdefs.h <<EOF
17758 #define $ac_tr_hdr 1
17762 echo "$ac_t""no" 1>&6
17766 for ac_func in getpagesize
17768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17769 echo "configure:17770: checking for $ac_func" >&5
17770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17771 echo $ac_n "(cached) $ac_c" 1>&6
17773 cat > conftest.$ac_ext <<EOF
17774 #line 17775 "configure"
17775 #include "confdefs.h"
17776 /* System header to define __stub macros and hopefully few prototypes,
17777 which can conflict with char $ac_func(); below. */
17778 #include <assert.h>
17779 /* Override any gcc2 internal prototype to avoid an error. */
17780 /* We use char because int might match the return type of a gcc2
17781 builtin and then its argument prototype would still apply. */
17786 /* The GNU C library defines this for functions which it implements
17787 to always fail with ENOSYS. Some functions are actually named
17788 something starting with __ and the normal name is an alias. */
17789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17797 if { (eval echo configure:17798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17799 eval "ac_cv_func_$ac_func=yes"
17801 echo "configure: failed program was:" >&5
17802 cat conftest.$ac_ext >&5
17804 eval "ac_cv_func_$ac_func=no"
17809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17810 echo "$ac_t""yes" 1>&6
17811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17812 cat >> confdefs.h <<EOF
17813 #define $ac_tr_func 1
17817 echo "$ac_t""no" 1>&6
17821 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
17822 echo "configure:17823: checking for working mmap" >&5
17823 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
17824 echo $ac_n "(cached) $ac_c" 1>&6
17826 if test "$cross_compiling" = yes; then
17827 ac_cv_func_mmap_fixed_mapped=no
17829 cat > conftest.$ac_ext <<EOF
17830 #line 17831 "configure"
17831 #include "confdefs.h"
17833 /* Thanks to Mike Haertel and Jim Avera for this test.
17834 Here is a matrix of mmap possibilities:
17835 mmap private not fixed
17836 mmap private fixed at somewhere currently unmapped
17837 mmap private fixed at somewhere already mapped
17838 mmap shared not fixed
17839 mmap shared fixed at somewhere currently unmapped
17840 mmap shared fixed at somewhere already mapped
17841 For private mappings, we should verify that changes cannot be read()
17842 back from the file, nor mmap's back from the file at a different
17843 address. (There have been systems where private was not correctly
17844 implemented like the infamous i386 svr4.0, and systems where the
17845 VM page cache was not coherent with the filesystem buffer cache
17846 like early versions of FreeBSD and possibly contemporary NetBSD.)
17847 For shared mappings, we should conversely verify that changes get
17848 propogated back to all the places they're supposed to be.
17850 Grep wants private fixed already mapped.
17851 The main things grep needs to know about mmap are:
17852 * does it exist and is it safe to write into the mmap'd area
17853 * how to use it (BSD variants) */
17854 #include <sys/types.h>
17856 #include <sys/mman.h>
17858 #if HAVE_SYS_TYPES_H
17859 # include <sys/types.h>
17863 # include <stdlib.h>
17866 #if HAVE_SYS_STAT_H
17867 # include <sys/stat.h>
17871 # include <unistd.h>
17874 /* This mess was copied from the GNU getpagesize.h. */
17875 #ifndef HAVE_GETPAGESIZE
17877 /* Assume that all systems that can run configure have sys/param.h. */
17878 # ifndef HAVE_SYS_PARAM_H
17879 # define HAVE_SYS_PARAM_H 1
17882 # ifdef _SC_PAGESIZE
17883 # define getpagesize() sysconf(_SC_PAGESIZE)
17884 # else /* no _SC_PAGESIZE */
17885 # ifdef HAVE_SYS_PARAM_H
17886 # include <sys/param.h>
17887 # ifdef EXEC_PAGESIZE
17888 # define getpagesize() EXEC_PAGESIZE
17889 # else /* no EXEC_PAGESIZE */
17891 # define getpagesize() NBPG * CLSIZE
17894 # endif /* no CLSIZE */
17895 # else /* no NBPG */
17897 # define getpagesize() NBPC
17898 # else /* no NBPC */
17900 # define getpagesize() PAGESIZE
17901 # endif /* PAGESIZE */
17902 # endif /* no NBPC */
17903 # endif /* no NBPG */
17904 # endif /* no EXEC_PAGESIZE */
17905 # else /* no HAVE_SYS_PARAM_H */
17906 # define getpagesize() 8192 /* punt totally */
17907 # endif /* no HAVE_SYS_PARAM_H */
17908 # endif /* no _SC_PAGESIZE */
17910 #endif /* no HAVE_GETPAGESIZE */
17913 extern "C" { void *malloc(unsigned); }
17921 char *data, *data2, *data3;
17925 pagesize = getpagesize();
17928 * First, make a file with some known garbage in it.
17930 data = malloc(pagesize);
17933 for (i = 0; i < pagesize; ++i)
17934 *(data + i) = rand();
17936 fd = creat("conftestmmap", 0600);
17939 if (write(fd, data, pagesize) != pagesize)
17944 * Next, try to mmap the file at a fixed address which
17945 * already has something else allocated at it. If we can,
17946 * also make sure that we see the same garbage.
17948 fd = open("conftestmmap", O_RDWR);
17951 data2 = malloc(2 * pagesize);
17954 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
17955 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
17956 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17958 for (i = 0; i < pagesize; ++i)
17959 if (*(data + i) != *(data2 + i))
17963 * Finally, make sure that changes to the mapped area
17964 * do not percolate back to the file as seen by read().
17965 * (This is a bug on some variants of i386 svr4.0.)
17967 for (i = 0; i < pagesize; ++i)
17968 *(data2 + i) = *(data2 + i) + 1;
17969 data3 = malloc(pagesize);
17972 if (read(fd, data3, pagesize) != pagesize)
17974 for (i = 0; i < pagesize; ++i)
17975 if (*(data + i) != *(data3 + i))
17978 unlink("conftestmmap");
17983 if { (eval echo configure:17984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17985 ac_cv_func_mmap_fixed_mapped=yes
17987 echo "configure: failed program was:" >&5
17988 cat conftest.$ac_ext >&5
17990 ac_cv_func_mmap_fixed_mapped=no
17997 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
17998 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17999 cat >> confdefs.h <<\EOF
18000 #define HAVE_MMAP 1
18006 # Establish limits on memory usage during 'make check'
18009 setrlimit_have_headers=yes
18010 for ac_hdr in sys/resource.h unistd.h
18012 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18014 echo "configure:18015: checking for $ac_hdr" >&5
18015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18016 echo $ac_n "(cached) $ac_c" 1>&6
18018 cat > conftest.$ac_ext <<EOF
18019 #line 18020 "configure"
18020 #include "confdefs.h"
18023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18024 { (eval echo configure:18025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18026 if test -z "$ac_err"; then
18028 eval "ac_cv_header_$ac_safe=yes"
18031 echo "configure: failed program was:" >&5
18032 cat conftest.$ac_ext >&5
18034 eval "ac_cv_header_$ac_safe=no"
18038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18039 echo "$ac_t""yes" 1>&6
18040 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18041 cat >> confdefs.h <<EOF
18042 #define $ac_tr_hdr 1
18046 echo "$ac_t""no" 1>&6
18047 setrlimit_have_headers=no
18051 # If don't have the headers, then we can't run the tests now, and we
18052 # won't be seeing any of these during testsuite compilation.
18053 if test $setrlimit_have_headers = yes; then
18054 # Can't do these in a loop, else the resulting syntax is wrong.
18056 cat > conftest.$ac_ext <<EOF
18057 #line 18058 "configure"
18058 #include "confdefs.h"
18059 #include <sys/resource.h>
18060 #include <unistd.h>
18063 int f = RLIMIT_DATA ;
18066 if { (eval echo configure:18067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18070 echo "configure: failed program was:" >&5
18071 cat conftest.$ac_ext >&5
18076 cat >> confdefs.h <<EOF
18077 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
18082 cat > conftest.$ac_ext <<EOF
18083 #line 18084 "configure"
18084 #include "confdefs.h"
18085 #include <sys/resource.h>
18086 #include <unistd.h>
18089 int f = RLIMIT_RSS ;
18092 if { (eval echo configure:18093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18096 echo "configure: failed program was:" >&5
18097 cat conftest.$ac_ext >&5
18102 cat >> confdefs.h <<EOF
18103 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
18108 cat > conftest.$ac_ext <<EOF
18109 #line 18110 "configure"
18110 #include "confdefs.h"
18111 #include <sys/resource.h>
18112 #include <unistd.h>
18115 int f = RLIMIT_VMEM ;
18118 if { (eval echo configure:18119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18122 echo "configure: failed program was:" >&5
18123 cat conftest.$ac_ext >&5
18128 cat >> confdefs.h <<EOF
18129 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
18134 cat > conftest.$ac_ext <<EOF
18135 #line 18136 "configure"
18136 #include "confdefs.h"
18137 #include <sys/resource.h>
18138 #include <unistd.h>
18141 int f = RLIMIT_AS ;
18144 if { (eval echo configure:18145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18148 echo "configure: failed program was:" >&5
18149 cat conftest.$ac_ext >&5
18154 cat >> confdefs.h <<EOF
18155 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
18160 # Check for rlimit, setrlimit.
18161 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
18162 echo $ac_n "(cached) $ac_c" 1>&6
18165 cat > conftest.$ac_ext <<EOF
18166 #line 18167 "configure"
18167 #include "confdefs.h"
18168 #include <sys/resource.h>
18169 #include <unistd.h>
18172 struct rlimit r; setrlimit(0, &r);
18175 if { (eval echo configure:18176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18179 echo "configure: failed program was:" >&5
18180 cat conftest.$ac_ext >&5
18190 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
18191 echo "configure:18192: checking for testsuite memory limit support" >&5
18192 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
18194 cat >> confdefs.h <<\EOF
18195 #define _GLIBCPP_MEM_LIMITS 1
18201 echo "$ac_t""$ac_mem_limits" 1>&6
18207 # Propagate the target-specific source directories through the build chain.
18208 OS_INC_SRCDIR=$os_include_dir/bits
18209 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
18210 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
18215 # Set up cross-compile flags
18219 if test "$CANADIAN" = yes; then
18227 cat > confcache <<\EOF
18228 # This file is a shell script that caches the results of configure
18229 # tests run on this system so they can be shared between configure
18230 # scripts and configure runs. It is not useful on other systems.
18231 # If it contains results you don't want to keep, you may remove or edit it.
18233 # By default, configure uses ./config.cache as the cache file,
18234 # creating it if it does not exist already. You can give configure
18235 # the --cache-file=FILE option to use a different cache file; that is
18236 # what configure does when it calls configure scripts in
18237 # subdirectories, so they share the cache.
18238 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18239 # config.status only pays attention to the cache file if you give it the
18240 # --recheck option to rerun configure.
18243 # The following way of writing the cache mishandles newlines in values,
18244 # but we know of no workaround that is simple, portable, and efficient.
18245 # So, don't put newlines in cache variables' values.
18246 # Ultrix sh set writes to stderr and can't be redirected directly,
18247 # and sets the high bit in the cache file unless we assign to the vars.
18249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18251 # `set' does not quote correctly, so add quotes (double-quote substitution
18252 # turns \\\\ into \\, and sed turns \\ into \).
18254 -e "s/'/'\\\\''/g" \
18255 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18258 # `set' quotes correctly as required by POSIX, so do not add quotes.
18259 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18262 if cmp -s $cache_file confcache; then
18265 if test -w $cache_file; then
18266 echo "updating cache $cache_file"
18267 cat confcache > $cache_file
18269 echo "not updating unwritable cache $cache_file"
18275 if test "${multilib}" = "yes"; then
18276 multilib_arg="--enable-multilib"
18281 # Needed so that g++ can find the correct include subdir automatically.
18284 # Export all the install information
18286 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
18287 # exported correctly in GLIBCPP_CONFIGURE.
18288 glibcpp_toolexecdir=no
18289 glibcpp_toolexeclibdir=no
18290 glibcpp_prefixdir=${prefix}
18292 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18293 echo "configure:18294: checking for interface version number" >&5
18294 libstdcxx_interface=$INTERFACE
18295 echo "$ac_t""$libstdcxx_interface" 1>&6
18297 # Process the option --with-gxx-include-dir=<path to include-files directory>
18298 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18299 echo "configure:18300: checking for --with-gxx-include-dir" >&5
18300 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18301 if test "${with_gxx_include_dir+set}" = set; then
18302 withval="$with_gxx_include_dir"
18303 case "${withval}" in
18305 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18312 gxx_include_dir=${withval}
18319 echo "$ac_t""$gxx_include_dir" 1>&6
18321 # Process the option "--enable-version-specific-runtime-libs"
18322 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18323 echo "configure:18324: checking for --enable-version-specific-runtime-libs" >&5
18324 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18325 if test "${enable_version_specific_runtime_libs+set}" = set; then
18326 enableval="$enable_version_specific_runtime_libs"
18327 case "$enableval" in
18328 yes) version_specific_libs=yes ;;
18329 no) version_specific_libs=no ;;
18330 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
18333 version_specific_libs=no
18335 # Option set, now we can test it.
18336 echo "$ac_t""$version_specific_libs" 1>&6
18338 if test $version_specific_libs = yes; then
18339 # Need the gcc compiler version to know where to install libraries
18340 # and header files if --enable-version-specific-runtime-libs option
18342 gcc_version_trigger=${srcdir}/../gcc/version.c
18343 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
18344 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
18345 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
18346 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
18347 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
18350 # Default case for install directory for include files.
18351 if test $version_specific_libs = no &&
18352 test $gxx_include_dir = no; then
18353 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
18356 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
18357 # Install a library built with a cross compiler in tooldir, not libdir.
18358 if test x"$glibcpp_toolexecdir" = x"no"; then
18359 if test -n "$with_cross_host" &&
18360 test x"$with_cross_host" != x"no"; then
18361 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
18362 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
18364 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
18365 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
18369 echo $ac_n "checking for install location""... $ac_c" 1>&6
18370 echo "configure:18371: checking for install location" >&5
18371 echo "$ac_t""$gxx_include_dir" 1>&6
18379 # Export all the include and flag information to makefiles.
18381 # Root level of the build directory include sources.
18382 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
18384 # Passed down for canadian crosses.
18385 if test x"$CANADIAN" = xyes; then
18386 TOPLEVEL_INCLUDES='-I$(includedir)'
18389 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18391 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18393 if test x"$need_libio" = xyes; then
18394 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18398 # Now, export this to all the little Makefiles....
18405 # Optimization flags that are probably a good idea for thrill-seekers. Just
18406 # uncomment the lines below and make, everything else is ready to go...
18407 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18411 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18415 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
18416 grep "enable shared" > /dev/null; then
18417 LIBSUPCXX_PICFLAGS=-prefer-pic
18419 LIBSUPCXX_PICFLAGS=
18423 # Generate the various Makefiles, include files, and scripts.
18424 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18425 # and libsupc++/Makefile.am so that multilib installs will end up
18426 # installed in the correct place. To work around this not being passed
18427 # down from config-ml.in -> top_srcdir/Makefile.am ->
18428 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
18430 cat > confcache <<\EOF
18431 # This file is a shell script that caches the results of configure
18432 # tests run on this system so they can be shared between configure
18433 # scripts and configure runs. It is not useful on other systems.
18434 # If it contains results you don't want to keep, you may remove or edit it.
18436 # By default, configure uses ./config.cache as the cache file,
18437 # creating it if it does not exist already. You can give configure
18438 # the --cache-file=FILE option to use a different cache file; that is
18439 # what configure does when it calls configure scripts in
18440 # subdirectories, so they share the cache.
18441 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18442 # config.status only pays attention to the cache file if you give it the
18443 # --recheck option to rerun configure.
18446 # The following way of writing the cache mishandles newlines in values,
18447 # but we know of no workaround that is simple, portable, and efficient.
18448 # So, don't put newlines in cache variables' values.
18449 # Ultrix sh set writes to stderr and can't be redirected directly,
18450 # and sets the high bit in the cache file unless we assign to the vars.
18452 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18454 # `set' does not quote correctly, so add quotes (double-quote substitution
18455 # turns \\\\ into \\, and sed turns \\ into \).
18457 -e "s/'/'\\\\''/g" \
18458 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18461 # `set' quotes correctly as required by POSIX, so do not add quotes.
18462 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18465 if cmp -s $cache_file confcache; then
18468 if test -w $cache_file; then
18469 echo "updating cache $cache_file"
18470 cat confcache > $cache_file
18472 echo "not updating unwritable cache $cache_file"
18477 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18479 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18480 # Let make expand exec_prefix.
18481 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18483 # Any assignment to VPATH causes Sun make to only execute
18484 # the first set of double-colon rules, so remove it if not needed.
18485 # If there is a colon in the path, we need to keep it.
18486 if test "x$srcdir" = x.; then
18487 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18490 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18492 DEFS=-DHAVE_CONFIG_H
18494 # Without the "./", some shells look in PATH for config.status.
18495 : ${CONFIG_STATUS=./config.status}
18497 echo creating $CONFIG_STATUS
18498 rm -f $CONFIG_STATUS
18499 cat > $CONFIG_STATUS <<EOF
18501 # Generated automatically by configure.
18502 # Run this file to recreate the current configuration.
18503 # This directory was configured as follows,
18504 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18506 # $0 $ac_configure_args
18508 # Compiler output produced by configure, useful for debugging
18509 # configure, is in ./config.log if it exists.
18511 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18514 case "\$ac_option" in
18515 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18516 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18517 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18518 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18519 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18521 -help | --help | --hel | --he | --h)
18522 echo "\$ac_cs_usage"; exit 0 ;;
18523 *) echo "\$ac_cs_usage"; exit 1 ;;
18527 ac_given_srcdir=$srcdir
18528 ac_given_INSTALL="$INSTALL"
18530 trap 'rm -fr `echo "Makefile \
18531 include/Makefile src/Makefile \
18532 libmath/Makefile libio/Makefile libsupc++/Makefile \
18533 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18535 cat >> $CONFIG_STATUS <<EOF
18537 # Protect against being on the right side of a sed subst in config.status.
18538 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18539 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18543 s%@CFLAGS@%$CFLAGS%g
18544 s%@CPPFLAGS@%$CPPFLAGS%g
18545 s%@CXXFLAGS@%$CXXFLAGS%g
18546 s%@FFLAGS@%$FFLAGS%g
18548 s%@LDFLAGS@%$LDFLAGS%g
18550 s%@exec_prefix@%$exec_prefix%g
18551 s%@prefix@%$prefix%g
18552 s%@program_transform_name@%$program_transform_name%g
18553 s%@bindir@%$bindir%g
18554 s%@sbindir@%$sbindir%g
18555 s%@libexecdir@%$libexecdir%g
18556 s%@datadir@%$datadir%g
18557 s%@sysconfdir@%$sysconfdir%g
18558 s%@sharedstatedir@%$sharedstatedir%g
18559 s%@localstatedir@%$localstatedir%g
18560 s%@libdir@%$libdir%g
18561 s%@includedir@%$includedir%g
18562 s%@oldincludedir@%$oldincludedir%g
18563 s%@infodir@%$infodir%g
18564 s%@mandir@%$mandir%g
18565 s%@PACKAGE@%$PACKAGE%g
18566 s%@release_VERSION@%$release_VERSION%g
18567 s%@libtool_VERSION@%$libtool_VERSION%g
18569 s%@host_alias@%$host_alias%g
18570 s%@host_cpu@%$host_cpu%g
18571 s%@host_vendor@%$host_vendor%g
18572 s%@host_os@%$host_os%g
18573 s%@target@%$target%g
18574 s%@target_alias@%$target_alias%g
18575 s%@target_cpu@%$target_cpu%g
18576 s%@target_vendor@%$target_vendor%g
18577 s%@target_os@%$target_os%g
18579 s%@build_alias@%$build_alias%g
18580 s%@build_cpu@%$build_cpu%g
18581 s%@build_vendor@%$build_vendor%g
18582 s%@build_os@%$build_os%g
18583 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18584 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18585 s%@INSTALL_DATA@%$INSTALL_DATA%g
18586 s%@VERSION@%$VERSION%g
18587 s%@ACLOCAL@%$ACLOCAL%g
18588 s%@AUTOCONF@%$AUTOCONF%g
18589 s%@AUTOMAKE@%$AUTOMAKE%g
18590 s%@AUTOHEADER@%$AUTOHEADER%g
18591 s%@MAKEINFO@%$MAKEINFO%g
18592 s%@SET_MAKE@%$SET_MAKE%g
18593 s%@toplevel_srcdir@%$toplevel_srcdir%g
18594 s%@glibcpp_builddir@%$glibcpp_builddir%g
18595 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
18597 s%@glibcpp_basedir@%$glibcpp_basedir%g
18599 s%@glibcpp_CXX@%$glibcpp_CXX%g
18602 s%@RANLIB@%$RANLIB%g
18603 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18604 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18606 s%@EXEEXT@%$EXEEXT%g
18607 s%@OBJEXT@%$OBJEXT%g
18609 s%@LIBTOOL@%$LIBTOOL%g
18610 s%@CXXCPP@%$CXXCPP%g
18611 s%@enable_shared@%$enable_shared%g
18612 s%@enable_static@%$enable_static%g
18613 s%@ifGNUmake@%$ifGNUmake%g
18614 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18616 s%@CSTDIO_H@%$CSTDIO_H%g
18617 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
18618 s%@CCODECVT_C@%$CCODECVT_C%g
18619 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
18620 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
18621 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18622 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18623 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18624 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18625 s%@libio_la@%$libio_la%g
18626 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
18627 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
18628 s%@glibcpp_localedir@%$glibcpp_localedir%g
18629 s%@USE_NLS@%$USE_NLS%g
18630 s%@CLOCALE_H@%$CLOCALE_H%g
18631 s%@CCODECVT_H@%$CCODECVT_H%g
18632 s%@CMESSAGES_H@%$CMESSAGES_H%g
18633 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18634 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18635 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18636 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18637 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
18638 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18639 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18640 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18641 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18642 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18643 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18644 s%@WERROR@%$WERROR%g
18645 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
18646 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
18647 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
18648 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
18649 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18650 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18651 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
18652 s%@gxx_include_dir@%$gxx_include_dir%g
18653 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
18654 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
18655 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
18656 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
18657 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
18658 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
18659 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
18660 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
18661 s%@WARN_FLAGS@%$WARN_FLAGS%g
18662 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
18667 cat >> $CONFIG_STATUS <<\EOF
18669 # Split the substitutions into bite-sized pieces for seds with
18670 # small command number limits, like on Digital OSF/1 and HP-UX.
18671 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18672 ac_file=1 # Number of current file.
18673 ac_beg=1 # First line for current file.
18674 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18677 while $ac_more_lines; do
18678 if test $ac_beg -gt 1; then
18679 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18681 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18683 if test ! -s conftest.s$ac_file; then
18684 ac_more_lines=false
18685 rm -f conftest.s$ac_file
18687 if test -z "$ac_sed_cmds"; then
18688 ac_sed_cmds="sed -f conftest.s$ac_file"
18690 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18692 ac_file=`expr $ac_file + 1`
18694 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18697 if test -z "$ac_sed_cmds"; then
18702 cat >> $CONFIG_STATUS <<EOF
18704 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
18705 include/Makefile src/Makefile \
18706 libmath/Makefile libio/Makefile libsupc++/Makefile \
18707 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
18709 cat >> $CONFIG_STATUS <<\EOF
18710 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18711 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18713 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18714 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18715 *) ac_file_in="${ac_file}.in" ;;
18718 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18720 # Remove last slash and all that follows it. Not all systems have dirname.
18721 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18722 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18723 # The file is in a subdirectory.
18724 test ! -d "$ac_dir" && mkdir "$ac_dir"
18725 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18726 # A "../" for each directory in $ac_dir_suffix.
18727 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18729 ac_dir_suffix= ac_dots=
18732 case "$ac_given_srcdir" in
18734 if test -z "$ac_dots"; then top_srcdir=.
18735 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18736 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18737 *) # Relative path.
18738 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18739 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18742 case "$ac_given_INSTALL" in
18743 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18744 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18747 echo creating "$ac_file"
18749 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18751 *Makefile*) ac_comsub="1i\\
18752 # $configure_input" ;;
18756 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18758 s%@configure_input@%$configure_input%g
18759 s%@srcdir@%$srcdir%g
18760 s%@top_srcdir@%$top_srcdir%g
18761 s%@INSTALL@%$INSTALL%g
18762 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18766 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18767 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18769 # ac_d sets the value in "#define NAME VALUE" lines.
18770 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18771 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18774 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18775 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18776 ac_uB='\([ ]\)%\1#\2define\3'
18779 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18780 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18781 ac_eB='$%\1#\2define\3'
18785 if test "${CONFIG_HEADERS+set}" != set; then
18787 cat >> $CONFIG_STATUS <<EOF
18788 CONFIG_HEADERS="config.h"
18790 cat >> $CONFIG_STATUS <<\EOF
18792 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18793 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18795 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18796 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18797 *) ac_file_in="${ac_file}.in" ;;
18800 echo creating $ac_file
18802 rm -f conftest.frag conftest.in conftest.out
18803 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18804 cat $ac_file_inputs > conftest.in
18808 # Transform confdefs.h into a sed script conftest.vals that substitutes
18809 # the proper values into config.h.in to produce config.h. And first:
18810 # Protect against being on the right side of a sed subst in config.status.
18811 # Protect against being in an unquoted here document in config.status.
18812 rm -f conftest.vals
18813 cat > conftest.hdr <<\EOF
18816 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18820 sed -n -f conftest.hdr confdefs.h > conftest.vals
18823 # This sed command replaces #undef with comments. This is necessary, for
18824 # example, in the case of _POSIX_SOURCE, which is predefined and required
18825 # on some systems where configure will not decide to define it.
18826 cat >> conftest.vals <<\EOF
18827 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18830 # Break up conftest.vals because some shells have a limit on
18831 # the size of here documents, and old seds have small limits too.
18833 rm -f conftest.tail
18836 ac_lines=`grep -c . conftest.vals`
18837 # grep -c gives empty output for an empty file on some AIX systems.
18838 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18839 # Write a limited-size here document to conftest.frag.
18840 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18841 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18843 sed -f conftest.frag conftest.in > conftest.out
18845 mv conftest.out conftest.in
18846 ' >> $CONFIG_STATUS
18847 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18848 rm -f conftest.vals
18849 mv conftest.tail conftest.vals
18851 rm -f conftest.vals
18853 cat >> $CONFIG_STATUS <<\EOF
18854 rm -f conftest.frag conftest.h
18855 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18856 cat conftest.in >> conftest.h
18858 if cmp -s $ac_file conftest.h 2>/dev/null; then
18859 echo "$ac_file is unchanged"
18862 # Remove last slash and all that follows it. Not all systems have dirname.
18863 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18864 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18865 # The file is in a subdirectory.
18866 test ! -d "$ac_dir" && mkdir "$ac_dir"
18869 mv conftest.h $ac_file
18875 cat >> $CONFIG_STATUS <<EOF
18876 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
18877 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"
18880 cat >> $CONFIG_STATUS <<\EOF
18881 srcdir=$ac_given_srcdir
18882 while test -n "$ac_sources"; do
18883 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18884 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18886 echo "linking $srcdir/$ac_source to $ac_dest"
18888 if test ! -r $srcdir/$ac_source; then
18889 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18893 # Make relative symlinks.
18894 # Remove last slash and all that follows it. Not all systems have dirname.
18895 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18896 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18897 # The dest file is in a subdirectory.
18898 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18899 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18900 # A "../" for each directory in $ac_dest_dir_suffix.
18901 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18903 ac_dest_dir_suffix= ac_dots=
18907 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18908 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18911 # Make a symlink if possible; otherwise try a hard link.
18912 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18913 ln $srcdir/$ac_source $ac_dest; then :
18915 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18919 cat >> $CONFIG_STATUS <<EOF
18924 with_multisubdir=${with_multisubdir}
18925 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18926 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18927 glibcpp_basedir=${glibcpp_basedir}
18932 cat >> $CONFIG_STATUS <<\EOF
18933 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18934 if test -n "$CONFIG_FILES"; then
18935 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18936 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18937 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
18940 chmod +x testsuite_flags
18944 chmod +x $CONFIG_STATUS
18945 rm -fr confdefs* $ac_clean_files
18946 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18950 # Sanity checking & User-visible messages.
18951 # Checks down here, otherwise they get scrolled off before
18952 # the user will notice.
18954 # Trying to get more people to read documentation. Possibly remove
18955 # check and warn all the time. There is no "informational" AC_MSG_
18956 # macro, so these are going to be printed even when --quiet/--silent
18958 if test ! -f stamp-sanity-warned; then
18959 touch stamp-sanity-warned
18961 echo "Please make certain that you read the installation information here:"
18962 echo " faster => ${srcdir}/docs/install.html"
18963 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
18965 echo "and the configuration information here:"
18966 echo " faster => ${srcdir}/docs/configopts.html"
18967 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
18969 echo "before proceeding with ${_cv_gnu_make_command}."