3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --enable-concept-checks use Boost-derived template checks [default=no]"
62 --enable-symvers enables symbol versioning of the shared library [default=no]"
64 --with-gxx-include-dir the installation directory for include files"
66 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
68 # Initialize some variables set by options.
69 # The variables have the same names as the options, with
70 # dashes changed to underlines.
72 cache_file=./config.cache
81 program_transform_name=s,x,x,
89 bindir='${exec_prefix}/bin'
90 sbindir='${exec_prefix}/sbin'
91 libexecdir='${exec_prefix}/libexec'
92 datadir='${prefix}/share'
93 sysconfdir='${prefix}/etc'
94 sharedstatedir='${prefix}/com'
95 localstatedir='${prefix}/var'
96 libdir='${exec_prefix}/lib'
97 includedir='${prefix}/include'
98 oldincludedir='/usr/include'
99 infodir='${prefix}/info'
100 mandir='${prefix}/man'
102 # Initialize some other variables.
105 SHELL=${CONFIG_SHELL-/bin/sh}
106 # Maximum number of lines to put in a shell here document.
113 # If the previous option needs an argument, assign it.
114 if test -n "$ac_prev"; then
115 eval "$ac_prev=\$ac_option"
121 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
125 # Accept the important Cygnus configure options, so we can diagnose typos.
129 -bindir | --bindir | --bindi | --bind | --bin | --bi)
131 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
132 bindir="$ac_optarg" ;;
134 -build | --build | --buil | --bui | --bu)
136 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
137 build="$ac_optarg" ;;
139 -cache-file | --cache-file | --cache-fil | --cache-fi \
140 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
141 ac_prev=cache_file ;;
142 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
143 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
144 cache_file="$ac_optarg" ;;
146 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
148 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
150 datadir="$ac_optarg" ;;
152 -disable-* | --disable-*)
153 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
154 # Reject names that are not valid shell variable names.
155 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
156 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
159 eval "enable_${ac_feature}=no" ;;
161 -enable-* | --enable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
172 eval "enable_${ac_feature}='$ac_optarg'" ;;
174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
176 | --exec | --exe | --ex)
177 ac_prev=exec_prefix ;;
178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
180 | --exec=* | --exe=* | --ex=*)
181 exec_prefix="$ac_optarg" ;;
183 -gas | --gas | --ga | --g)
184 # Obsolete; use --with-gas.
187 -help | --help | --hel | --he)
188 # Omit some internal or obsolete options to make the list less imposing.
189 # This message is too long to be a string in the A/UX 3.1 sh.
191 Usage: configure [options] [host]
192 Options: [defaults in brackets after descriptions]
194 --cache-file=FILE cache test results in FILE
195 --help print this message
196 --no-create do not create output files
197 --quiet, --silent do not print \`checking...' messages
198 --version print the version of autoconf that created configure
199 Directory and file names:
200 --prefix=PREFIX install architecture-independent files in PREFIX
202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
204 --bindir=DIR user executables in DIR [EPREFIX/bin]
205 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
206 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
207 --datadir=DIR read-only architecture-independent data in DIR
209 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
210 --sharedstatedir=DIR modifiable architecture-independent data in DIR
212 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
213 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
214 --includedir=DIR C header files in DIR [PREFIX/include]
215 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
216 --infodir=DIR info documentation in DIR [PREFIX/info]
217 --mandir=DIR man documentation in DIR [PREFIX/man]
218 --srcdir=DIR find the sources in DIR [configure dir or ..]
219 --program-prefix=PREFIX prepend PREFIX to installed program names
220 --program-suffix=SUFFIX append SUFFIX to installed program names
221 --program-transform-name=PROGRAM
222 run sed PROGRAM on installed program names
226 --build=BUILD configure for building on BUILD [BUILD=HOST]
227 --host=HOST configure for HOST [guessed]
228 --target=TARGET configure for TARGET [TARGET=HOST]
229 Features and packages:
230 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
231 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
232 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
233 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
234 --x-includes=DIR X include files are in DIR
235 --x-libraries=DIR X library files are in DIR
237 if test -n "$ac_help"; then
238 echo "--enable and --with options recognized:$ac_help"
242 -host | --host | --hos | --ho)
244 -host=* | --host=* | --hos=* | --ho=*)
247 -includedir | --includedir | --includedi | --included | --include \
248 | --includ | --inclu | --incl | --inc)
249 ac_prev=includedir ;;
250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
251 | --includ=* | --inclu=* | --incl=* | --inc=*)
252 includedir="$ac_optarg" ;;
254 -infodir | --infodir | --infodi | --infod | --info | --inf)
256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
257 infodir="$ac_optarg" ;;
259 -libdir | --libdir | --libdi | --libd)
261 -libdir=* | --libdir=* | --libdi=* | --libd=*)
262 libdir="$ac_optarg" ;;
264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
265 | --libexe | --libex | --libe)
266 ac_prev=libexecdir ;;
267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
268 | --libexe=* | --libex=* | --libe=*)
269 libexecdir="$ac_optarg" ;;
271 -localstatedir | --localstatedir | --localstatedi | --localstated \
272 | --localstate | --localstat | --localsta | --localst \
273 | --locals | --local | --loca | --loc | --lo)
274 ac_prev=localstatedir ;;
275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
276 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
277 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
278 localstatedir="$ac_optarg" ;;
280 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
282 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
283 mandir="$ac_optarg" ;;
286 # Obsolete; use --without-fp.
289 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
293 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
294 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
297 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
298 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
299 | --oldin | --oldi | --old | --ol | --o)
300 ac_prev=oldincludedir ;;
301 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
302 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
303 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
304 oldincludedir="$ac_optarg" ;;
306 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
308 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
309 prefix="$ac_optarg" ;;
311 -program-prefix | --program-prefix | --program-prefi | --program-pref \
312 | --program-pre | --program-pr | --program-p)
313 ac_prev=program_prefix ;;
314 -program-prefix=* | --program-prefix=* | --program-prefi=* \
315 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
316 program_prefix="$ac_optarg" ;;
318 -program-suffix | --program-suffix | --program-suffi | --program-suff \
319 | --program-suf | --program-su | --program-s)
320 ac_prev=program_suffix ;;
321 -program-suffix=* | --program-suffix=* | --program-suffi=* \
322 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
323 program_suffix="$ac_optarg" ;;
325 -program-transform-name | --program-transform-name \
326 | --program-transform-nam | --program-transform-na \
327 | --program-transform-n | --program-transform- \
328 | --program-transform | --program-transfor \
329 | --program-transfo | --program-transf \
330 | --program-trans | --program-tran \
331 | --progr-tra | --program-tr | --program-t)
332 ac_prev=program_transform_name ;;
333 -program-transform-name=* | --program-transform-name=* \
334 | --program-transform-nam=* | --program-transform-na=* \
335 | --program-transform-n=* | --program-transform-=* \
336 | --program-transform=* | --program-transfor=* \
337 | --program-transfo=* | --program-transf=* \
338 | --program-trans=* | --program-tran=* \
339 | --progr-tra=* | --program-tr=* | --program-t=*)
340 program_transform_name="$ac_optarg" ;;
342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
343 | -silent | --silent | --silen | --sile | --sil)
346 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
348 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
350 sbindir="$ac_optarg" ;;
352 -sharedstatedir | --sharedstatedir | --sharedstatedi \
353 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
354 | --sharedst | --shareds | --shared | --share | --shar \
356 ac_prev=sharedstatedir ;;
357 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
358 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
359 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
361 sharedstatedir="$ac_optarg" ;;
363 -site | --site | --sit)
365 -site=* | --site=* | --sit=*)
368 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
370 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
371 srcdir="$ac_optarg" ;;
373 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
374 | --syscon | --sysco | --sysc | --sys | --sy)
375 ac_prev=sysconfdir ;;
376 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
377 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
378 sysconfdir="$ac_optarg" ;;
380 -target | --target | --targe | --targ | --tar | --ta | --t)
382 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
383 target="$ac_optarg" ;;
385 -v | -verbose | --verbose | --verbos | --verbo | --verb)
388 -version | --version | --versio | --versi | --vers)
389 echo "configure generated by autoconf version 2.13"
393 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
394 # Reject names that are not valid shell variable names.
395 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
396 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
398 ac_package=`echo $ac_package| sed 's/-/_/g'`
403 eval "with_${ac_package}='$ac_optarg'" ;;
405 -without-* | --without-*)
406 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
407 # Reject names that are not valid shell variable names.
408 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
409 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
411 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}=no" ;;
415 # Obsolete; use --with-x.
418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
419 | --x-incl | --x-inc | --x-in | --x-i)
420 ac_prev=x_includes ;;
421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
423 x_includes="$ac_optarg" ;;
425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
427 ac_prev=x_libraries ;;
428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
430 x_libraries="$ac_optarg" ;;
432 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
436 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
437 echo "configure: warning: $ac_option: invalid host type" 1>&2
439 if test "x$nonopt" != xNONE; then
440 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
448 if test -n "$ac_prev"; then
449 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
452 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
454 # File descriptor usage:
457 # 2 errors and warnings
458 # 3 some systems may open it to /dev/tty
459 # 4 used on the Kubota Titan
460 # 6 checking for... messages and results
461 # 5 compiler messages saved in config.log
462 if test "$silent" = yes; then
470 This file contains any messages produced by compilers while
471 running configure, to aid debugging if configure makes a mistake.
474 # Strip out --no-create and --no-recursion so they do not pile up.
475 # Also quote any args containing shell metacharacters.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c) ;;
482 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
483 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
485 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
486 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
491 # Only set these to C if already set. These must not be set unconditionally
492 # because not all systems understand e.g. LANG=C (notably SCO).
493 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
494 # Non-C LC_CTYPE values break the ctype check.
495 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
496 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
497 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
498 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
500 # confdefs.h avoids OS command line length limits that DEFS can exceed.
501 rm -rf conftest* confdefs.h
502 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
505 # A filename unique to this package, relative to the directory that
506 # configure is in, which we can look for to find out if srcdir is correct.
507 ac_unique_file=src/ios.cc
509 # Find the source files, if location was not specified.
510 if test -z "$srcdir"; then
511 ac_srcdir_defaulted=yes
512 # Try the directory containing this script, then its parent.
514 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
515 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
517 if test ! -r $srcdir/$ac_unique_file; then
521 ac_srcdir_defaulted=no
523 if test ! -r $srcdir/$ac_unique_file; then
524 if test "$ac_srcdir_defaulted" = yes; then
525 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
527 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
530 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
532 # Prefer explicitly selected file to automatically selected ones.
533 if test -z "$CONFIG_SITE"; then
534 if test "x$prefix" != xNONE; then
535 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
537 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
540 for ac_site_file in $CONFIG_SITE; do
541 if test -r "$ac_site_file"; then
542 echo "loading site script $ac_site_file"
547 if test -r "$cache_file"; then
548 echo "loading cache $cache_file"
551 echo "creating cache $cache_file"
556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
557 ac_cpp='$CPP $CPPFLAGS'
558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
560 cross_compiling=$ac_cv_prog_cc_cross
564 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
565 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
566 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
573 ac_n= ac_c='\c' ac_t=
580 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
581 release_VERSION=3.1.0
583 # For libtool versioning info, format is CURRENT:REVISION:AGE
584 libtool_VERSION=4:0:0
587 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
588 # AC 2.50 sets target_alias iff the user specified --target, but we use it
589 # everywhere, so we set it here just to be sure.
591 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
592 if test -f $ac_dir/install-sh; then
594 ac_install_sh="$ac_aux_dir/install-sh -c"
596 elif test -f $ac_dir/install.sh; then
598 ac_install_sh="$ac_aux_dir/install.sh -c"
602 if test -z "$ac_aux_dir"; then
603 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
605 ac_config_guess=$ac_aux_dir/config.guess
606 ac_config_sub=$ac_aux_dir/config.sub
607 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
610 # Do some error checking and defaulting for the host and target type.
612 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
615 # 1. You are not allowed to specify --host, --target, and nonopt at the
617 # 2. Host defaults to nonopt.
618 # 3. If nonopt is not specified, then host defaults to the current host,
619 # as determined by config.guess.
620 # 4. Target and build default to nonopt.
621 # 5. If nonopt is not specified, then target and build default to host.
623 # The aliases save the names the user supplied, while $host etc.
624 # will get canonicalized.
625 case $host---$target---$nonopt in
626 NONE---*---* | *---NONE---* | *---*---NONE) ;;
627 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
631 # Make sure we can run config.sub.
632 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
633 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
636 echo $ac_n "checking host system type""... $ac_c" 1>&6
637 echo "configure:638: checking host system type" >&5
640 case "$host_alias" in
644 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
645 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
647 *) host_alias=$nonopt ;;
651 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
652 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
653 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
654 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
655 echo "$ac_t""$host" 1>&6
657 echo $ac_n "checking target system type""... $ac_c" 1>&6
658 echo "configure:659: checking target system type" >&5
661 case "$target_alias" in
664 NONE) target_alias=$host_alias ;;
665 *) target_alias=$nonopt ;;
669 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
670 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
671 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
672 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
673 echo "$ac_t""$target" 1>&6
675 echo $ac_n "checking build system type""... $ac_c" 1>&6
676 echo "configure:677: checking build system type" >&5
679 case "$build_alias" in
682 NONE) build_alias=$host_alias ;;
683 *) build_alias=$nonopt ;;
687 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
688 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
689 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
690 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
691 echo "$ac_t""$build" 1>&6
693 test "$host_alias" != "$target_alias" &&
694 test "$program_prefix$program_suffix$program_transform_name" = \
696 program_prefix=${target_alias}-
698 target_alias=${target_alias-$target}
701 # Find a good install program. We prefer a C program (faster),
702 # so one script is as good as another. But avoid the broken or
703 # incompatible versions:
704 # SysV /etc/install, /usr/sbin/install
705 # SunOS /usr/etc/install
708 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
709 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
710 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
711 # ./install, which can be erroneously created by make from ./install.sh.
712 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
713 echo "configure:714: checking for a BSD compatible install" >&5
714 if test -z "$INSTALL"; then
715 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
716 echo $ac_n "(cached) $ac_c" 1>&6
718 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
719 for ac_dir in $PATH; do
720 # Account for people who put trailing slashes in PATH elements.
722 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
724 # OSF1 and SCO ODT 3.0 have their own names for install.
725 # Don't use installbsd from OSF since it installs stuff as root
727 for ac_prog in ginstall scoinst install; do
728 if test -f $ac_dir/$ac_prog; then
729 if test $ac_prog = install &&
730 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
731 # AIX install. It has an incompatible calling convention.
734 ac_cv_path_install="$ac_dir/$ac_prog -c"
745 if test "${ac_cv_path_install+set}" = set; then
746 INSTALL="$ac_cv_path_install"
748 # As a last resort, use the slow shell script. We don't cache a
749 # path for INSTALL within a source directory, because that will
750 # break other packages using the cache if that directory is
751 # removed, or if the path is relative.
752 INSTALL="$ac_install_sh"
755 echo "$ac_t""$INSTALL" 1>&6
757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
758 # It thinks the first close brace ends the variable substitution.
759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
765 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
766 echo "configure:767: checking whether build environment is sane" >&5
769 echo timestamp > conftestfile
770 # Do `set' in a subshell so we don't clobber the current shell's
771 # arguments. Must try -L first in case configure is actually a
772 # symlink; some systems play weird games with the mod time of symlinks
773 # (eg FreeBSD returns the mod time of the symlink's containing
776 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
777 if test "$*" = "X"; then
779 set X `ls -t $srcdir/configure conftestfile`
781 if test "$*" != "X $srcdir/configure conftestfile" \
782 && test "$*" != "X conftestfile $srcdir/configure"; then
784 # If neither matched, then we have a broken ls. This can happen
785 # if, for instance, CONFIG_SHELL is bash and it inherits a
786 # broken ls alias from the environment. This has actually
787 # happened. Such a system could not be considered "sane".
788 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
789 alias in your environment" 1>&2; exit 1; }
792 test "$2" = conftestfile
798 { echo "configure: error: newly created file is older than distributed files!
799 Check your system clock" 1>&2; exit 1; }
802 echo "$ac_t""yes" 1>&6
803 if test "$program_transform_name" = s,x,x,; then
804 program_transform_name=
806 # Double any \ or $. echo might interpret backslashes.
807 cat <<\EOF_SED > conftestsed
808 s,\\,\\\\,g; s,\$,$$,g
810 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
813 test "$program_prefix" != NONE &&
814 program_transform_name="s,^,${program_prefix},; $program_transform_name"
815 # Use a double $ so make ignores it.
816 test "$program_suffix" != NONE &&
817 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
819 # sed with no file args requires a program.
820 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
822 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
823 echo "configure:824: checking whether ${MAKE-make} sets \${MAKE}" >&5
824 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
825 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
826 echo $ac_n "(cached) $ac_c" 1>&6
828 cat > conftestmake <<\EOF
830 @echo 'ac_maketemp="${MAKE}"'
832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
833 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
834 if test -n "$ac_maketemp"; then
835 eval ac_cv_prog_make_${ac_make}_set=yes
837 eval ac_cv_prog_make_${ac_make}_set=no
841 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
842 echo "$ac_t""yes" 1>&6
845 echo "$ac_t""no" 1>&6
846 SET_MAKE="MAKE=${MAKE-make}"
852 VERSION=$release_VERSION
854 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
855 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
857 cat >> confdefs.h <<EOF
858 #define PACKAGE "$PACKAGE"
861 cat >> confdefs.h <<EOF
862 #define VERSION "$VERSION"
867 missing_dir=`cd $ac_aux_dir && pwd`
868 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
869 echo "configure:870: checking for working aclocal" >&5
870 # Run test in a subshell; some versions of sh will print an error if
871 # an executable is not found, even if stderr is redirected.
872 # Redirect stdin to placate older versions of autoconf. Sigh.
873 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
875 echo "$ac_t""found" 1>&6
877 ACLOCAL="$missing_dir/missing aclocal"
878 echo "$ac_t""missing" 1>&6
881 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
882 echo "configure:883: checking for working autoconf" >&5
883 # Run test in a subshell; some versions of sh will print an error if
884 # an executable is not found, even if stderr is redirected.
885 # Redirect stdin to placate older versions of autoconf. Sigh.
886 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
888 echo "$ac_t""found" 1>&6
890 AUTOCONF="$missing_dir/missing autoconf"
891 echo "$ac_t""missing" 1>&6
894 echo $ac_n "checking for working automake""... $ac_c" 1>&6
895 echo "configure:896: checking for working automake" >&5
896 # Run test in a subshell; some versions of sh will print an error if
897 # an executable is not found, even if stderr is redirected.
898 # Redirect stdin to placate older versions of autoconf. Sigh.
899 if (automake --version) < /dev/null > /dev/null 2>&1; then
901 echo "$ac_t""found" 1>&6
903 AUTOMAKE="$missing_dir/missing automake"
904 echo "$ac_t""missing" 1>&6
907 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
908 echo "configure:909: checking for working autoheader" >&5
909 # Run test in a subshell; some versions of sh will print an error if
910 # an executable is not found, even if stderr is redirected.
911 # Redirect stdin to placate older versions of autoconf. Sigh.
912 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
913 AUTOHEADER=autoheader
914 echo "$ac_t""found" 1>&6
916 AUTOHEADER="$missing_dir/missing autoheader"
917 echo "$ac_t""missing" 1>&6
920 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
921 echo "configure:922: checking for working makeinfo" >&5
922 # Run test in a subshell; some versions of sh will print an error if
923 # an executable is not found, even if stderr is redirected.
924 # Redirect stdin to placate older versions of autoconf. Sigh.
925 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
927 echo "$ac_t""found" 1>&6
929 MAKEINFO="$missing_dir/missing makeinfo"
930 echo "$ac_t""missing" 1>&6
938 # Runs configure.host and configure.target, as well as finds CC, CXX
939 # and assorted other critical bits. Have to run this before the
940 # GLIBCPP_ENABLE_* macros below.
941 if test $host != $build; then
942 ac_tool_prefix=${host_alias}-
947 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
948 echo "configure:949: checking for Cygwin environment" >&5
949 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
950 echo $ac_n "(cached) $ac_c" 1>&6
952 cat > conftest.$ac_ext <<EOF
953 #line 954 "configure"
954 #include "confdefs.h"
959 #define __CYGWIN__ __CYGWIN32__
964 if { (eval echo configure:965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
968 echo "configure: failed program was:" >&5
969 cat conftest.$ac_ext >&5
977 echo "$ac_t""$ac_cv_cygwin" 1>&6
979 test "$ac_cv_cygwin" = yes && CYGWIN=yes
980 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
981 echo "configure:982: checking for mingw32 environment" >&5
982 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
983 echo $ac_n "(cached) $ac_c" 1>&6
985 cat > conftest.$ac_ext <<EOF
986 #line 987 "configure"
987 #include "confdefs.h"
993 if { (eval echo configure:994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
997 echo "configure: failed program was:" >&5
998 cat conftest.$ac_ext >&5
1006 echo "$ac_t""$ac_cv_mingw32" 1>&6
1008 test "$ac_cv_mingw32" = yes && MINGW32=yes
1010 # Check whether --enable-multilib or --disable-multilib was given.
1011 if test "${enable_multilib+set}" = set; then
1012 enableval="$enable_multilib"
1013 case "${enableval}" in
1014 yes) multilib=yes ;;
1016 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1022 # When building with srcdir == objdir, links to the source files will
1023 # be created in directories within the target_subdir. We have to
1024 # adjust toplevel_srcdir accordingly, so that configure finds
1025 # install-sh and other auxiliary files that live in the top-level
1027 if test "${srcdir}" = "."; then
1028 if test -z "${with_target_subdir}"; then
1031 if test "${with_target_subdir}" != "."; then
1032 toprel="${with_multisrctop}../.."
1034 toprel="${with_multisrctop}.."
1041 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1042 if test -f $ac_dir/install-sh; then
1044 ac_install_sh="$ac_aux_dir/install-sh -c"
1046 elif test -f $ac_dir/install.sh; then
1048 ac_install_sh="$ac_aux_dir/install.sh -c"
1052 if test -z "$ac_aux_dir"; then
1053 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1055 ac_config_guess=$ac_aux_dir/config.guess
1056 ac_config_sub=$ac_aux_dir/config.sub
1057 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1059 toplevel_srcdir=\${top_srcdir}/$toprel
1062 # Export build and source directories.
1063 # These need to be absolute paths, yet at the same time need to
1064 # canonicalize only relative paths, because then amd will not unmount
1065 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1066 glibcpp_builddir=`pwd`
1068 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1069 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1076 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1077 # be 'cp -p' if linking isn't available.
1078 #ac_cv_prog_LN_S='cp -p'
1079 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1080 echo "configure:1081: checking whether ln -s works" >&5
1081 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1082 echo $ac_n "(cached) $ac_c" 1>&6
1085 if ln -s X conftestdata 2>/dev/null
1088 ac_cv_prog_LN_S="ln -s"
1093 LN_S="$ac_cv_prog_LN_S"
1094 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1095 echo "$ac_t""yes" 1>&6
1097 echo "$ac_t""no" 1>&6
1101 # We use these options to decide which functions to include.
1102 # Check whether --with-target-subdir or --without-target-subdir was given.
1103 if test "${with_target_subdir+set}" = set; then
1104 withval="$with_target_subdir"
1108 # Check whether --with-cross-host or --without-cross-host was given.
1109 if test "${with_cross_host+set}" = set; then
1110 withval="$with_cross_host"
1115 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1118 # Never versions of autoconf add an underscore to these functions.
1119 # Prevent future problems ...
1127 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1128 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1129 # are probably using a cross compiler, which will not be able to fully
1130 # link an executable. This should really be fixed in autoconf
1136 # Extract the first word of "gcc", so it can be a program name with args.
1137 set dummy gcc; ac_word=$2
1138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1139 echo "configure:1140: checking for $ac_word" >&5
1140 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1141 echo $ac_n "(cached) $ac_c" 1>&6
1143 if test -n "$CC"; then
1144 ac_cv_prog_CC="$CC" # Let the user override the test.
1146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1148 for ac_dir in $ac_dummy; do
1149 test -z "$ac_dir" && ac_dir=.
1150 if test -f $ac_dir/$ac_word; then
1159 if test -n "$CC"; then
1160 echo "$ac_t""$CC" 1>&6
1162 echo "$ac_t""no" 1>&6
1165 if test -z "$CC"; then
1166 # Extract the first word of "cc", so it can be a program name with args.
1167 set dummy cc; ac_word=$2
1168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1169 echo "configure:1170: checking for $ac_word" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1171 echo $ac_n "(cached) $ac_c" 1>&6
1173 if test -n "$CC"; then
1174 ac_cv_prog_CC="$CC" # Let the user override the test.
1176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1179 for ac_dir in $ac_dummy; do
1180 test -z "$ac_dir" && ac_dir=.
1181 if test -f $ac_dir/$ac_word; then
1182 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1183 ac_prog_rejected=yes
1191 if test $ac_prog_rejected = yes; then
1192 # We found a bogon in the path, so make sure we never use it.
1193 set dummy $ac_cv_prog_CC
1195 if test $# -gt 0; then
1196 # We chose a different compiler from the bogus one.
1197 # However, it has the same basename, so the bogon will be chosen
1198 # first if we set CC to just the basename; use the full file name.
1200 set dummy "$ac_dir/$ac_word" "$@"
1208 if test -n "$CC"; then
1209 echo "$ac_t""$CC" 1>&6
1211 echo "$ac_t""no" 1>&6
1214 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1217 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1218 echo "configure:1219: checking whether we are using GNU C" >&5
1219 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1220 echo $ac_n "(cached) $ac_c" 1>&6
1222 cat > conftest.c <<EOF
1227 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1234 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1236 if test $ac_cv_prog_gcc = yes; then
1238 ac_test_CFLAGS="${CFLAGS+set}"
1239 ac_save_CFLAGS="$CFLAGS"
1241 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1242 echo "configure:1243: checking whether ${CC-cc} accepts -g" >&5
1243 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1244 echo $ac_n "(cached) $ac_c" 1>&6
1246 echo 'void f(){}' > conftest.c
1247 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1256 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1257 if test "$ac_test_CFLAGS" = set; then
1258 CFLAGS="$ac_save_CFLAGS"
1259 elif test $ac_cv_prog_cc_g = yes; then
1266 test "${CFLAGS+set}" = set || CFLAGS="-g"
1270 # Can't just call these here as g++ requires libstc++ to be built....
1273 # Likewise for AC_PROG_CXX.
1277 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1278 # flags that come in CXX while configuring libstdc++. They're different
1279 # from those used for all other target libraries. If CXX is set in
1280 # the environment, respect that here.
1282 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1284 # Extract the first word of "$ac_prog", so it can be a program name with args.
1285 set dummy $ac_prog; ac_word=$2
1286 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1287 echo "configure:1288: checking for $ac_word" >&5
1288 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1289 echo $ac_n "(cached) $ac_c" 1>&6
1291 if test -n "$glibcpp_CXX"; then
1292 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1294 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1296 for ac_dir in $ac_dummy; do
1297 test -z "$ac_dir" && ac_dir=.
1298 if test -f $ac_dir/$ac_word; then
1299 ac_cv_prog_glibcpp_CXX="$ac_prog"
1306 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1307 if test -n "$glibcpp_CXX"; then
1308 echo "$ac_t""$glibcpp_CXX" 1>&6
1310 echo "$ac_t""no" 1>&6
1313 test -n "$glibcpp_CXX" && break
1315 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1319 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1321 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1322 echo "configure:1323: checking whether we are using GNU C++" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 cat > conftest.C <<EOF
1331 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1338 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1340 if test $ac_cv_prog_gxx = yes; then
1342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1343 ac_save_CXXFLAGS="$CXXFLAGS"
1345 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1346 echo "configure:1347: checking whether ${CXX-g++} accepts -g" >&5
1347 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1348 echo $ac_n "(cached) $ac_c" 1>&6
1350 echo 'void f(){}' > conftest.cc
1351 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1352 ac_cv_prog_cxx_g=yes
1360 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1361 if test "$ac_test_CXXFLAGS" = set; then
1362 CXXFLAGS="$ac_save_CXXFLAGS"
1363 elif test $ac_cv_prog_cxx_g = yes; then
1370 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1374 # For some reason, gettext needs this.
1376 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1377 echo "configure:1378: checking for strerror in -lcposix" >&5
1378 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1379 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1382 ac_save_LIBS="$LIBS"
1383 LIBS="-lcposix $LIBS"
1384 cat > conftest.$ac_ext <<EOF
1385 #line 1386 "configure"
1386 #include "confdefs.h"
1387 /* Override any gcc2 internal prototype to avoid an error. */
1388 /* We use char because int might match the return type of a gcc2
1389 builtin and then its argument prototype would still apply. */
1396 if { (eval echo configure:1397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1398 eval "ac_cv_lib_$ac_lib_var=yes"
1400 echo "configure: failed program was:" >&5
1401 cat conftest.$ac_ext >&5
1403 eval "ac_cv_lib_$ac_lib_var=no"
1406 LIBS="$ac_save_LIBS"
1409 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1410 echo "$ac_t""yes" 1>&6
1411 LIBS="$LIBS -lcposix"
1413 echo "$ac_t""no" 1>&6
1419 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1420 set dummy ${ac_tool_prefix}as; ac_word=$2
1421 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1422 echo "configure:1423: checking for $ac_word" >&5
1423 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1424 echo $ac_n "(cached) $ac_c" 1>&6
1426 if test -n "$AS"; then
1427 ac_cv_prog_AS="$AS" # Let the user override the test.
1429 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1431 for ac_dir in $ac_dummy; do
1432 test -z "$ac_dir" && ac_dir=.
1433 if test -f $ac_dir/$ac_word; then
1434 ac_cv_prog_AS="${ac_tool_prefix}as"
1439 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1443 if test -n "$AS"; then
1444 echo "$ac_t""$AS" 1>&6
1446 echo "$ac_t""no" 1>&6
1451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1452 set dummy ${ac_tool_prefix}ar; ac_word=$2
1453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1454 echo "configure:1455: checking for $ac_word" >&5
1455 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1456 echo $ac_n "(cached) $ac_c" 1>&6
1458 if test -n "$AR"; then
1459 ac_cv_prog_AR="$AR" # Let the user override the test.
1461 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1463 for ac_dir in $ac_dummy; do
1464 test -z "$ac_dir" && ac_dir=.
1465 if test -f $ac_dir/$ac_word; then
1466 ac_cv_prog_AR="${ac_tool_prefix}ar"
1471 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1475 if test -n "$AR"; then
1476 echo "$ac_t""$AR" 1>&6
1478 echo "$ac_t""no" 1>&6
1483 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1484 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1485 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1486 echo "configure:1487: checking for $ac_word" >&5
1487 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1488 echo $ac_n "(cached) $ac_c" 1>&6
1490 if test -n "$RANLIB"; then
1491 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1493 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1495 for ac_dir in $ac_dummy; do
1496 test -z "$ac_dir" && ac_dir=.
1497 if test -f $ac_dir/$ac_word; then
1498 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1505 RANLIB="$ac_cv_prog_RANLIB"
1506 if test -n "$RANLIB"; then
1507 echo "$ac_t""$RANLIB" 1>&6
1509 echo "$ac_t""no" 1>&6
1513 if test -z "$ac_cv_prog_RANLIB"; then
1514 if test -n "$ac_tool_prefix"; then
1515 # Extract the first word of "ranlib", so it can be a program name with args.
1516 set dummy ranlib; ac_word=$2
1517 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1518 echo "configure:1519: checking for $ac_word" >&5
1519 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1520 echo $ac_n "(cached) $ac_c" 1>&6
1522 if test -n "$RANLIB"; then
1523 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1525 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1527 for ac_dir in $ac_dummy; do
1528 test -z "$ac_dir" && ac_dir=.
1529 if test -f $ac_dir/$ac_word; then
1530 ac_cv_prog_RANLIB="ranlib"
1535 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1538 RANLIB="$ac_cv_prog_RANLIB"
1539 if test -n "$RANLIB"; then
1540 echo "$ac_t""$RANLIB" 1>&6
1542 echo "$ac_t""no" 1>&6
1546 RANLIB="ranlib-not-found-in-path-error"
1550 # Find a good install program. We prefer a C program (faster),
1551 # so one script is as good as another. But avoid the broken or
1552 # incompatible versions:
1553 # SysV /etc/install, /usr/sbin/install
1554 # SunOS /usr/etc/install
1555 # IRIX /sbin/install
1557 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1558 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1559 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1560 # ./install, which can be erroneously created by make from ./install.sh.
1561 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1562 echo "configure:1563: checking for a BSD compatible install" >&5
1563 if test -z "$INSTALL"; then
1564 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1568 for ac_dir in $PATH; do
1569 # Account for people who put trailing slashes in PATH elements.
1571 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1573 # OSF1 and SCO ODT 3.0 have their own names for install.
1574 # Don't use installbsd from OSF since it installs stuff as root
1576 for ac_prog in ginstall scoinst install; do
1577 if test -f $ac_dir/$ac_prog; then
1578 if test $ac_prog = install &&
1579 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1580 # AIX install. It has an incompatible calling convention.
1583 ac_cv_path_install="$ac_dir/$ac_prog -c"
1594 if test "${ac_cv_path_install+set}" = set; then
1595 INSTALL="$ac_cv_path_install"
1597 # As a last resort, use the slow shell script. We don't cache a
1598 # path for INSTALL within a source directory, because that will
1599 # break other packages using the cache if that directory is
1600 # removed, or if the path is relative.
1601 INSTALL="$ac_install_sh"
1604 echo "$ac_t""$INSTALL" 1>&6
1606 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1607 # It thinks the first close brace ends the variable substitution.
1608 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1610 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1612 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1615 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1616 echo "configure:1617: checking whether to enable maintainer-specific portions of Makefiles" >&5
1617 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1618 if test "${enable_maintainer_mode+set}" = set; then
1619 enableval="$enable_maintainer_mode"
1620 USE_MAINTAINER_MODE=$enableval
1622 USE_MAINTAINER_MODE=no
1625 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1628 if test $USE_MAINTAINER_MODE = yes; then
1629 MAINTAINER_MODE_TRUE=
1630 MAINTAINER_MODE_FALSE='#'
1632 MAINTAINER_MODE_TRUE='#'
1633 MAINTAINER_MODE_FALSE=
1635 MAINT=$MAINTAINER_MODE_TRUE
1639 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1640 # at least currently, we never actually build a program, so we never
1641 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1642 # fails, because we are probably configuring with a cross compiler
1643 # which can't create executables. So we include AC_EXEEXT to keep
1644 # automake happy, but we don't execute it, since we don't care about
1647 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1648 # to nothing, so nothing would remain between `then' and `fi' if it
1649 # were not for the `:' below.
1653 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1654 echo "configure:1655: checking for executable suffix" >&5
1655 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1656 echo $ac_n "(cached) $ac_c" 1>&6
1658 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1662 echo 'int main () { return 0; }' > conftest.$ac_ext
1664 if { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1665 for file in conftest.*; do
1667 *.c | *.o | *.obj) ;;
1668 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1672 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1675 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1680 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1681 echo "$ac_t""${ac_cv_exeext}" 1>&6
1686 . ${glibcpp_basedir}/configure.host
1688 case ${glibcpp_basedir} in
1689 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1690 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1693 # This does for the target what configure.host does for the host. In
1694 # addition to possibly modifying the same flags, it also sets up symlinks.
1696 . ${glibcpp_basedir}/configure.target
1697 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1698 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1705 # Check whether --enable-shared or --disable-shared was given.
1706 if test "${enable_shared+set}" = set; then
1707 enableval="$enable_shared"
1708 p=${PACKAGE-default}
1710 yes) enable_shared=yes ;;
1711 no) enable_shared=no ;;
1714 # Look at the argument we got. We use all the common list separators.
1715 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1716 for pkg in $enableval; do
1717 if test "X$pkg" = "X$p"; then
1728 # Check whether --enable-static or --disable-static was given.
1729 if test "${enable_static+set}" = set; then
1730 enableval="$enable_static"
1731 p=${PACKAGE-default}
1733 yes) enable_static=yes ;;
1734 no) enable_static=no ;;
1737 # Look at the argument we got. We use all the common list separators.
1738 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1739 for pkg in $enableval; do
1740 if test "X$pkg" = "X$p"; then
1751 # Check whether --enable-fast-install or --disable-fast-install was given.
1752 if test "${enable_fast_install+set}" = set; then
1753 enableval="$enable_fast_install"
1754 p=${PACKAGE-default}
1756 yes) enable_fast_install=yes ;;
1757 no) enable_fast_install=no ;;
1759 enable_fast_install=no
1760 # Look at the argument we got. We use all the common list separators.
1761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1762 for pkg in $enableval; do
1763 if test "X$pkg" = "X$p"; then
1764 enable_fast_install=yes
1771 enable_fast_install=yes
1774 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1775 if test "${with_gnu_ld+set}" = set; then
1776 withval="$with_gnu_ld"
1777 test "$withval" = no || with_gnu_ld=yes
1783 if test "$GCC" = yes; then
1784 # Check if gcc -print-prog-name=ld gives a path.
1785 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1786 echo "configure:1787: checking for ld used by GCC" >&5
1789 # gcc leaves a trailing carriage return which upsets mingw
1790 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1792 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1795 # Accept absolute paths.
1796 [\\/]* | [A-Za-z]:[\\/]*)
1797 re_direlt='/[^/][^/]*/\.\./'
1798 # Canonicalize the path of ld
1799 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1800 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1801 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1803 test -z "$LD" && LD="$ac_prog"
1806 # If it fails, then pretend we aren't using GCC.
1810 # If it is relative, then search for the first ld in PATH.
1814 elif test "$with_gnu_ld" = yes; then
1815 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1816 echo "configure:1817: checking for GNU ld" >&5
1818 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1819 echo "configure:1820: checking for non-GNU ld" >&5
1821 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1822 echo $ac_n "(cached) $ac_c" 1>&6
1824 if test -z "$LD"; then
1825 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1826 for ac_dir in $PATH; do
1827 test -z "$ac_dir" && ac_dir=.
1828 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1829 lt_cv_path_LD="$ac_dir/$ac_prog"
1830 # Check to see if the program is GNU ld. I'd rather use --version,
1831 # but apparently some GNU ld's only accept -v.
1832 # Break only if it was the GNU/non-GNU ld that we prefer.
1833 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1834 test "$with_gnu_ld" != no && break
1836 test "$with_gnu_ld" != yes && break
1842 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1847 if test -n "$LD"; then
1848 echo "$ac_t""$LD" 1>&6
1850 echo "$ac_t""no" 1>&6
1852 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1853 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1854 echo "configure:1855: checking if the linker ($LD) is GNU ld" >&5
1855 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1856 echo $ac_n "(cached) $ac_c" 1>&6
1858 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1859 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1860 lt_cv_prog_gnu_ld=yes
1862 lt_cv_prog_gnu_ld=no
1866 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1867 with_gnu_ld=$lt_cv_prog_gnu_ld
1870 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1871 echo "configure:1872: checking for $LD option to reload object files" >&5
1872 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1873 echo $ac_n "(cached) $ac_c" 1>&6
1875 lt_cv_ld_reload_flag='-r'
1878 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1879 reload_flag=$lt_cv_ld_reload_flag
1880 test -n "$reload_flag" && reload_flag=" $reload_flag"
1882 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1883 echo "configure:1884: checking for BSD-compatible nm" >&5
1884 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1885 echo $ac_n "(cached) $ac_c" 1>&6
1887 if test -n "$NM"; then
1888 # Let the user override the test.
1891 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1892 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1893 test -z "$ac_dir" && ac_dir=.
1894 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1895 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1896 # Check to see if the nm accepts a BSD-compat flag.
1897 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1898 # nm: unknown option "B" ignored
1899 # Tru64's nm complains that /dev/null is an invalid object file
1900 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1901 lt_cv_path_NM="$tmp_nm -B"
1903 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1904 lt_cv_path_NM="$tmp_nm -p"
1907 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1908 continue # so that we can try to find one that supports BSD flags
1913 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1918 echo "$ac_t""$NM" 1>&6
1920 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1921 echo "configure:1922: checking how to recognise dependant libraries" >&5
1922 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1923 echo $ac_n "(cached) $ac_c" 1>&6
1925 lt_cv_file_magic_cmd='$MAGIC_CMD'
1926 lt_cv_file_magic_test_file=
1927 lt_cv_deplibs_check_method='unknown'
1928 # Need to set the preceding variable on all platforms that support
1929 # interlibrary dependencies.
1930 # 'none' -- dependencies not supported.
1931 # `unknown' -- same as none, but documents that we really don't know.
1932 # 'pass_all' -- all dependencies passed with no checks.
1933 # 'test_compile' -- check by making test program.
1934 # 'file_magic [regex]' -- check by looking for files in library path
1935 # which responds to the $file_magic_cmd with a given egrep regex.
1936 # If you have `file' or equivalent on your system and you're not sure
1937 # whether `pass_all' will *always* work, you probably want this one.
1941 lt_cv_deplibs_check_method=pass_all
1945 lt_cv_deplibs_check_method=pass_all
1949 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1950 lt_cv_file_magic_cmd='/usr/bin/file -L'
1951 lt_cv_file_magic_test_file=/shlib/libc.so
1954 cygwin* | mingw* |pw32*)
1955 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1956 lt_cv_file_magic_cmd='$OBJDUMP -f'
1959 darwin* | rhapsody*)
1960 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1961 lt_cv_file_magic_cmd='/usr/bin/file -L'
1963 rhapsody* | darwin1.012)
1964 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1967 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1973 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1976 # Not sure whether the presence of OpenBSD here was a mistake.
1977 # Let's accept both of them until this is cleared up.
1978 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1979 lt_cv_file_magic_cmd=/usr/bin/file
1980 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1984 lt_cv_deplibs_check_method=pass_all
1989 lt_cv_deplibs_check_method=pass_all
1993 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1994 lt_cv_file_magic_cmd=/usr/bin/file
1995 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2001 # this will be overridden with pass_all, but let us keep it just in case
2002 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2006 *-32|*"-32 ") libmagic=32-bit;;
2007 *-n32|*"-n32 ") libmagic=N32;;
2008 *-64|*"-64 ") libmagic=64-bit;;
2009 *) libmagic=never-match;;
2011 # this will be overridden with pass_all, but let us keep it just in case
2012 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2015 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2016 lt_cv_deplibs_check_method=pass_all
2019 # This must be Linux ELF.
2022 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2023 lt_cv_deplibs_check_method=pass_all ;;
2025 # glibc up to 2.1.1 does not perform some relocations on ARM
2026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2028 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2032 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2035 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2041 lt_cv_file_magic_cmd=/usr/bin/file
2042 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2045 osf3* | osf4* | osf5*)
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2048 lt_cv_file_magic_test_file=/shlib/libc.so
2049 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method=pass_all
2057 lt_cv_deplibs_check_method=pass_all
2058 lt_cv_file_magic_test_file=/lib/libc.so
2061 sysv5uw[78]* | sysv4*uw2*)
2062 lt_cv_deplibs_check_method=pass_all
2065 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2066 case $host_vendor in
2068 lt_cv_deplibs_check_method=pass_all
2071 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]'
2072 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2080 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2081 file_magic_cmd=$lt_cv_file_magic_cmd
2082 deplibs_check_method=$lt_cv_deplibs_check_method
2084 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2085 echo "configure:2086: checking for object suffix" >&5
2086 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2087 echo $ac_n "(cached) $ac_c" 1>&6
2090 echo 'int i = 1;' > conftest.$ac_ext
2091 if { (eval echo configure:2092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2092 for ac_file in conftest.*; do
2095 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2099 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2104 echo "$ac_t""$ac_cv_objext" 1>&6
2105 OBJEXT=$ac_cv_objext
2106 ac_objext=$ac_cv_objext
2108 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2110 # Only perform the check for file, if the check method requires it
2111 case $deplibs_check_method in
2113 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2114 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2115 echo "configure:2116: checking for ${ac_tool_prefix}file" >&5
2116 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2117 echo $ac_n "(cached) $ac_c" 1>&6
2121 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2127 ac_save_MAGIC_CMD="$MAGIC_CMD"
2128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2129 ac_dummy="/usr/bin:$PATH"
2130 for ac_dir in $ac_dummy; do
2131 test -z "$ac_dir" && ac_dir=.
2132 if test -f $ac_dir/${ac_tool_prefix}file; then
2133 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2134 if test -n "$file_magic_test_file"; then
2135 case $deplibs_check_method in
2137 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2139 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2140 egrep "$file_magic_regex" > /dev/null; then
2145 *** Warning: the command libtool uses to detect shared libraries,
2146 *** $file_magic_cmd, produces output that libtool cannot recognize.
2147 *** The result is that libtool may fail to recognize shared libraries
2148 *** as such. This will affect the creation of libtool libraries that
2149 *** depend on shared libraries, but programs linked with such libtool
2150 *** libraries will work regardless of this problem. Nevertheless, you
2151 *** may want to report the problem to your system manager and/or to
2152 *** bug-libtool@gnu.org
2162 MAGIC_CMD="$ac_save_MAGIC_CMD"
2167 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2168 if test -n "$MAGIC_CMD"; then
2169 echo "$ac_t""$MAGIC_CMD" 1>&6
2171 echo "$ac_t""no" 1>&6
2174 if test -z "$lt_cv_path_MAGIC_CMD"; then
2175 if test -n "$ac_tool_prefix"; then
2176 echo $ac_n "checking for file""... $ac_c" 1>&6
2177 echo "configure:2178: checking for file" >&5
2178 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6
2183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2186 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2189 ac_save_MAGIC_CMD="$MAGIC_CMD"
2190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 ac_dummy="/usr/bin:$PATH"
2192 for ac_dir in $ac_dummy; do
2193 test -z "$ac_dir" && ac_dir=.
2194 if test -f $ac_dir/file; then
2195 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2196 if test -n "$file_magic_test_file"; then
2197 case $deplibs_check_method in
2199 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2202 egrep "$file_magic_regex" > /dev/null; then
2207 *** Warning: the command libtool uses to detect shared libraries,
2208 *** $file_magic_cmd, produces output that libtool cannot recognize.
2209 *** The result is that libtool may fail to recognize shared libraries
2210 *** as such. This will affect the creation of libtool libraries that
2211 *** depend on shared libraries, but programs linked with such libtool
2212 *** libraries will work regardless of this problem. Nevertheless, you
2213 *** may want to report the problem to your system manager and/or to
2214 *** bug-libtool@gnu.org
2224 MAGIC_CMD="$ac_save_MAGIC_CMD"
2229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2230 if test -n "$MAGIC_CMD"; then
2231 echo "$ac_t""$MAGIC_CMD" 1>&6
2233 echo "$ac_t""no" 1>&6
2245 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2246 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2248 echo "configure:2249: checking for $ac_word" >&5
2249 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2250 echo $ac_n "(cached) $ac_c" 1>&6
2252 if test -n "$RANLIB"; then
2253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2255 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2257 for ac_dir in $ac_dummy; do
2258 test -z "$ac_dir" && ac_dir=.
2259 if test -f $ac_dir/$ac_word; then
2260 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2267 RANLIB="$ac_cv_prog_RANLIB"
2268 if test -n "$RANLIB"; then
2269 echo "$ac_t""$RANLIB" 1>&6
2271 echo "$ac_t""no" 1>&6
2275 if test -z "$ac_cv_prog_RANLIB"; then
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "ranlib", so it can be a program name with args.
2278 set dummy ranlib; ac_word=$2
2279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2280 echo "configure:2281: checking for $ac_word" >&5
2281 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2284 if test -n "$RANLIB"; then
2285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2289 for ac_dir in $ac_dummy; do
2290 test -z "$ac_dir" && ac_dir=.
2291 if test -f $ac_dir/$ac_word; then
2292 ac_cv_prog_RANLIB="ranlib"
2297 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2300 RANLIB="$ac_cv_prog_RANLIB"
2301 if test -n "$RANLIB"; then
2302 echo "$ac_t""$RANLIB" 1>&6
2304 echo "$ac_t""no" 1>&6
2312 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}strip; ac_word=$2
2314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2315 echo "configure:2316: checking for $ac_word" >&5
2316 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2324 for ac_dir in $ac_dummy; do
2325 test -z "$ac_dir" && ac_dir=.
2326 if test -f $ac_dir/$ac_word; then
2327 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2334 STRIP="$ac_cv_prog_STRIP"
2335 if test -n "$STRIP"; then
2336 echo "$ac_t""$STRIP" 1>&6
2338 echo "$ac_t""no" 1>&6
2342 if test -z "$ac_cv_prog_STRIP"; then
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip; ac_word=$2
2346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2347 echo "configure:2348: checking for $ac_word" >&5
2348 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2349 echo $ac_n "(cached) $ac_c" 1>&6
2351 if test -n "$STRIP"; then
2352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2356 for ac_dir in $ac_dummy; do
2357 test -z "$ac_dir" && ac_dir=.
2358 if test -f $ac_dir/$ac_word; then
2359 ac_cv_prog_STRIP="strip"
2364 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2367 STRIP="$ac_cv_prog_STRIP"
2368 if test -n "$STRIP"; then
2369 echo "$ac_t""$STRIP" 1>&6
2371 echo "$ac_t""no" 1>&6
2380 # Check for any special flags to pass to ltconfig.
2381 libtool_flags="--cache-file=$cache_file"
2382 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2383 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2384 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2385 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2386 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2387 libtool_flags="$libtool_flags --enable-dlopen"
2389 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2390 if test "${enable_libtool_lock+set}" = set; then
2391 enableval="$enable_libtool_lock"
2395 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2396 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2398 # Check whether --with-pic or --without-pic was given.
2399 if test "${with_pic+set}" = set; then
2406 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2407 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2409 # Some flags need to be propagated to the compiler or linker for good
2413 # Find out which ABI we are using.
2414 echo '#line 2415 "configure"' > conftest.$ac_ext
2415 if { (eval echo configure:2416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2416 case `/usr/bin/file conftest.$ac_objext` in
2432 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2433 SAVE_CFLAGS="$CFLAGS"
2434 CFLAGS="$CFLAGS -belf"
2435 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2436 echo "configure:2437: checking whether the C compiler needs -belf" >&5
2437 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2438 echo $ac_n "(cached) $ac_c" 1>&6
2442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2446 cross_compiling=$ac_cv_prog_cc_cross
2448 cat > conftest.$ac_ext <<EOF
2449 #line 2450 "configure"
2450 #include "confdefs.h"
2456 if { (eval echo configure:2457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2458 lt_cv_cc_needs_belf=yes
2460 echo "configure: failed program was:" >&5
2461 cat conftest.$ac_ext >&5
2463 lt_cv_cc_needs_belf=no
2467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2468 ac_cpp='$CPP $CPPFLAGS'
2469 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2470 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2471 cross_compiling=$ac_cv_prog_cc_cross
2475 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2476 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2477 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2478 CFLAGS="$SAVE_CFLAGS"
2485 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2486 echo "configure:2487: checking how to run the C++ preprocessor" >&5
2487 if test -z "$CXXCPP"; then
2488 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2489 echo $ac_n "(cached) $ac_c" 1>&6
2492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2493 ac_cpp='$CXXCPP $CPPFLAGS'
2494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2496 cross_compiling=$ac_cv_prog_cxx_cross
2497 CXXCPP="${CXX-g++} -E"
2498 cat > conftest.$ac_ext <<EOF
2499 #line 2500 "configure"
2500 #include "confdefs.h"
2503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2504 { (eval echo configure:2505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2506 if test -z "$ac_err"; then
2510 echo "configure: failed program was:" >&5
2511 cat conftest.$ac_ext >&5
2516 ac_cv_prog_CXXCPP="$CXXCPP"
2518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2519 ac_cpp='$CPP $CPPFLAGS'
2520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2522 cross_compiling=$ac_cv_prog_cc_cross
2525 CXXCPP="$ac_cv_prog_CXXCPP"
2526 echo "$ac_t""$CXXCPP" 1>&6
2529 # Save cache, so that ltconfig can load it
2530 cat > confcache <<\EOF
2531 # This file is a shell script that caches the results of configure
2532 # tests run on this system so they can be shared between configure
2533 # scripts and configure runs. It is not useful on other systems.
2534 # If it contains results you don't want to keep, you may remove or edit it.
2536 # By default, configure uses ./config.cache as the cache file,
2537 # creating it if it does not exist already. You can give configure
2538 # the --cache-file=FILE option to use a different cache file; that is
2539 # what configure does when it calls configure scripts in
2540 # subdirectories, so they share the cache.
2541 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2542 # config.status only pays attention to the cache file if you give it the
2543 # --recheck option to rerun configure.
2546 # The following way of writing the cache mishandles newlines in values,
2547 # but we know of no workaround that is simple, portable, and efficient.
2548 # So, don't put newlines in cache variables' values.
2549 # Ultrix sh set writes to stderr and can't be redirected directly,
2550 # and sets the high bit in the cache file unless we assign to the vars.
2552 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2554 # `set' does not quote correctly, so add quotes (double-quote substitution
2555 # turns \\\\ into \\, and sed turns \\ into \).
2557 -e "s/'/'\\\\''/g" \
2558 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2561 # `set' quotes correctly as required by POSIX, so do not add quotes.
2562 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2565 if cmp -s $cache_file confcache; then
2568 if test -w $cache_file; then
2569 echo "updating cache $cache_file"
2570 cat confcache > $cache_file
2572 echo "not updating unwritable cache $cache_file"
2578 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2579 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2580 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2581 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2582 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2583 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2584 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2585 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2586 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2587 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2589 # Reload cache, that may have been modified by ltconfig
2590 if test -r "$cache_file"; then
2591 echo "loading cache $cache_file"
2594 echo "creating cache $cache_file"
2599 # This can be used to rebuild libtool when needed
2600 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2602 # Always use our own libtool.
2603 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2605 # Redirect the config.log output again, so that the ltconfig log is not
2606 # clobbered by the next message.
2607 exec 5>>./config.log
2611 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2613 lt_save_CFLAGS="$CFLAGS"
2614 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2615 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2616 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2617 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2618 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2619 deplibs_check_method="$deplibs_check_method" \
2620 file_magic_cmd="$file_magic_cmd" \
2621 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2622 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2623 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2625 CFLAGS="$lt_save_CFLAGS"
2627 # Redirect the config.log output again, so that the ltconfig log is not
2628 # clobbered by the next message.
2629 exec 5>>./config.log
2639 # Check for c++ or library specific bits that don't require linking.
2640 #GLIBCPP_CHECK_COMPILER_VERSION
2641 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2642 echo "configure:2643: checking for GNU make" >&5
2643 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2644 echo $ac_n "(cached) $ac_c" 1>&6
2646 _cv_gnu_make_command='' ;
2647 for a in "${MAKE-make}" make gmake gnumake ; do
2648 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2650 _cv_gnu_make_command=$a ;
2657 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2658 if test "x$_cv_gnu_make_command" != "x" ; then
2666 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2667 # Check whether --enable-debug or --disable-debug was given.
2668 if test "${enable_debug+set}" = set; then
2669 enableval="$enable_debug"
2670 case "${enableval}" in
2671 yes) enable_debug=yes ;;
2672 no) enable_debug=no ;;
2673 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2679 case "${enable_debug}" in
2681 DEBUG_FLAGS='-O0 -ggdb3'
2689 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2690 echo "configure:2691: checking how to run the C preprocessor" >&5
2691 # On Suns, sometimes $CPP names a directory.
2692 if test -n "$CPP" && test -d "$CPP"; then
2695 if test -z "$CPP"; then
2696 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2697 echo $ac_n "(cached) $ac_c" 1>&6
2699 # This must be in double quotes, not single quotes, because CPP may get
2700 # substituted into the Makefile and "${CC-cc}" will confuse make.
2702 # On the NeXT, cc -E runs the code through the compiler's parser,
2703 # not just through cpp.
2704 cat > conftest.$ac_ext <<EOF
2705 #line 2706 "configure"
2706 #include "confdefs.h"
2710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2711 { (eval echo configure:2712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2713 if test -z "$ac_err"; then
2717 echo "configure: failed program was:" >&5
2718 cat conftest.$ac_ext >&5
2720 CPP="${CC-cc} -E -traditional-cpp"
2721 cat > conftest.$ac_ext <<EOF
2722 #line 2723 "configure"
2723 #include "confdefs.h"
2727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2728 { (eval echo configure:2729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2730 if test -z "$ac_err"; then
2734 echo "configure: failed program was:" >&5
2735 cat conftest.$ac_ext >&5
2737 CPP="${CC-cc} -nologo -E"
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure"
2740 #include "confdefs.h"
2744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2747 if test -z "$ac_err"; then
2751 echo "configure: failed program was:" >&5
2752 cat conftest.$ac_ext >&5
2761 ac_cv_prog_CPP="$CPP"
2763 CPP="$ac_cv_prog_CPP"
2765 ac_cv_prog_CPP="$CPP"
2767 echo "$ac_t""$CPP" 1>&6
2770 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2771 echo "configure:2772: checking for cstdio to use" >&5
2772 # Check whether --enable-cstdio or --disable-cstdio was given.
2773 if test "${enable_cstdio+set}" = set; then
2774 enableval="$enable_cstdio"
2775 if test x$enable_cstdio = xno; then
2783 enable_cstdio_flag=$enable_cstdio
2785 case x${enable_cstdio_flag} in
2787 CSTDIO_H=config/io/c_io_libio.h
2788 BASIC_FILE_H=config/io/basic_file_libio.h
2789 BASIC_FILE_CC=config/io/basic_file_libio.cc
2790 echo "$ac_t""libio" 1>&6
2792 # see if we are on a system with libio native (ie, linux)
2793 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2794 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2795 echo "configure:2796: checking for libio.h" >&5
2796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2797 echo $ac_n "(cached) $ac_c" 1>&6
2799 cat > conftest.$ac_ext <<EOF
2800 #line 2801 "configure"
2801 #include "confdefs.h"
2804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2805 { (eval echo configure:2806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2807 if test -z "$ac_err"; then
2809 eval "ac_cv_header_$ac_safe=yes"
2812 echo "configure: failed program was:" >&5
2813 cat conftest.$ac_ext >&5
2815 eval "ac_cv_header_$ac_safe=no"
2819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2820 echo "$ac_t""yes" 1>&6
2823 echo "$ac_t""no" 1>&6
2828 # Need to check and see what version of glibc is being used. If
2829 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2830 # compile most of libio for linux systems.
2831 if test x$has_libio = x"yes"; then
2834 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2835 echo "configure:2836: checking for glibc version >= 2.2" >&5
2836 cat > conftest.$ac_ext <<EOF
2837 #line 2838 "configure"
2838 #include "confdefs.h"
2840 #include <features.h>
2841 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2847 egrep "ok" >/dev/null 2>&1; then
2849 glibc_satisfactory=yes
2852 glibc_satisfactory=no
2856 echo "$ac_t""$glibc_satisfactory" 1>&6
2860 # XXX at the moment, admit defeat and force the recompilation
2861 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2862 glibc_satisfactory=no
2864 if test x$glibc_satisfactory = x"yes"; then
2869 # bkoz XXX need to add checks to enable this
2870 # pme XXX here's a first pass at such a check
2871 if test x$enable_c_mbchar != xno; then
2879 # Using libio, but <libio.h> doesn't exist on the target system. . .
2881 # bkoz XXX need to add checks to enable this
2882 # pme XXX here's a first pass at such a check
2883 if test x$enable_c_mbchar != xno; then
2890 xstdio | x | xno | xnone | xyes)
2892 CSTDIO_H=config/io/c_io_stdio.h
2893 BASIC_FILE_H=config/io/basic_file_stdio.h
2894 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2895 echo "$ac_t""stdio" 1>&6
2897 # We're not using stdio.
2902 echo "$enable_cstdio is an unknown io package" 1>&2
2910 # 2000-08-04 bkoz hack
2911 CCODECVT_C=config/io/c_io_libio_codecvt.c
2913 # 2000-08-04 bkoz hack
2917 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2918 GLIBCPP_BUILD_LIBIO_TRUE=
2919 GLIBCPP_BUILD_LIBIO_FALSE='#'
2921 GLIBCPP_BUILD_LIBIO_TRUE='#'
2922 GLIBCPP_BUILD_LIBIO_FALSE=
2926 if test "$need_libio" = yes; then
2927 GLIBCPP_NEED_LIBIO_TRUE=
2928 GLIBCPP_NEED_LIBIO_FALSE='#'
2930 GLIBCPP_NEED_LIBIO_TRUE='#'
2931 GLIBCPP_NEED_LIBIO_FALSE=
2935 if test "$need_wlibio" = yes; then
2936 GLIBCPP_NEED_WLIBIO_TRUE=
2937 GLIBCPP_NEED_WLIBIO_FALSE='#'
2939 GLIBCPP_NEED_WLIBIO_TRUE='#'
2940 GLIBCPP_NEED_WLIBIO_FALSE=
2942 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2943 libio_la=../libio/libio.la
2950 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2951 echo "configure:2952: checking for clocale to use" >&5
2952 # Check whether --enable-clocale or --disable-clocale was given.
2953 if test "${enable_clocale+set}" = set; then
2954 enableval="$enable_clocale"
2955 if test x$enable_clocale = xno; then
2963 enable_clocale_flag=$enable_clocale
2965 if test x$enable_clocale_flag = xno; then
2966 case x${target_os} in
2968 cat > conftest.$ac_ext <<EOF
2969 #line 2970 "configure"
2970 #include "confdefs.h"
2972 #include <features.h>
2973 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2979 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2981 enable_clocale_flag=gnu
2984 enable_clocale_flag=generic
2989 # Test for bugs early in glibc-2.2.x series
2990 if test x$enable_clocale_flag = xgnu; then
2991 if test "$cross_compiling" = yes; then
2992 enable_clocale_flag=generic
2994 cat > conftest.$ac_ext <<EOF
2995 #line 2996 "configure"
2996 #include "confdefs.h"
2998 #define _GNU_SOURCE 1
3002 const char __one[] = "Äuglein Augmen";
3003 const char __two[] = "Äuglein";
3008 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3009 loc_dup = __duplocale(loc);
3010 i = __strcoll_l(__one, __two, loc);
3011 j = __strcoll_l(__one, __two, loc_dup);
3016 if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3018 enable_clocale_flag=gnu
3020 echo "configure: failed program was:" >&5
3021 cat conftest.$ac_ext >&5
3023 enable_clocale_flag=generic
3030 # ... at some point put __strxfrm_l tests in as well.
3033 enable_clocale_flag=generic
3038 case x${enable_clocale_flag} in
3040 echo "$ac_t""generic" 1>&6
3042 # Don't use gettext.
3045 CLOCALE_H=config/locale/c_locale_generic.h
3046 CLOCALE_CC=config/locale/c_locale_generic.cc
3047 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3048 CCOLLATE_CC=config/locale/collate_members_generic.cc
3049 CCTYPE_CC=config/locale/ctype_members_generic.cc
3050 CMESSAGES_H=config/locale/messages_members_generic.h
3051 CMESSAGES_CC=config/locale/messages_members_generic.cc
3052 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3053 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3054 CTIME_CC=config/locale/time_members_generic.cc
3057 echo "$ac_t""gnu" 1>&6
3059 # Declare intention to use gettext, and add support for specific
3061 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3063 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3064 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3067 # Export the build objects.
3068 for ling in $ALL_LINGUAS; do \
3069 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3070 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3075 CLOCALE_H=config/locale/c_locale_gnu.h
3076 CLOCALE_CC=config/locale/c_locale_gnu.cc
3077 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3078 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3079 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3080 CMESSAGES_H=config/locale/messages_members_gnu.h
3081 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3082 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3083 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3084 CTIME_CC=config/locale/time_members_gnu.cc
3087 echo "$ac_t""generic" 1>&6
3089 # Don't use gettext.
3092 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3093 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3094 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3095 CCOLLATE_CC=config/locale/collate_members_generic.cc
3096 CCTYPE_CC=config/locale/ctype_members_generic.cc
3097 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3098 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3099 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3100 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3101 CTIME_CC=config/locale/time_members_generic.cc
3104 echo "$enable_clocale is an unknown locale package" 1>&2
3109 # This is where the testsuite looks for locale catalogs, using the
3110 # -DLOCALEDIR define during testsuite compilation.
3111 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3126 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3127 if test "${enable_c_mbchar+set}" = set; then
3128 enableval="$enable_c_mbchar"
3129 case "$enableval" in
3130 yes) enable_c_mbchar=yes ;;
3131 no) enable_c_mbchar=no ;;
3132 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3139 # Check whether --enable-c99 or --disable-c99 was given.
3140 if test "${enable_c99+set}" = set; then
3141 enableval="$enable_c99"
3142 case "$enableval" in
3143 yes) enable_c99=yes ;;
3144 no) enable_c99=no ;;
3145 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3154 ac_cpp='$CXXCPP $CPPFLAGS'
3155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3157 cross_compiling=$ac_cv_prog_cxx_cross
3160 # Check for the existence of <math.h> functions used if C99 is enabled.
3162 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3163 echo "configure:3164: checking for ISO C99 support in <math.h>" >&5
3164 cat > conftest.$ac_ext <<EOF
3165 #line 3166 "configure"
3166 #include "confdefs.h"
3172 if { (eval echo configure:3173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3175 echo "configure: failed program was:" >&5
3176 cat conftest.$ac_ext >&5
3181 cat > conftest.$ac_ext <<EOF
3182 #line 3183 "configure"
3183 #include "confdefs.h"
3189 if { (eval echo configure:3190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3192 echo "configure: failed program was:" >&5
3193 cat conftest.$ac_ext >&5
3198 cat > conftest.$ac_ext <<EOF
3199 #line 3200 "configure"
3200 #include "confdefs.h"
3206 if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3209 echo "configure: failed program was:" >&5
3210 cat conftest.$ac_ext >&5
3215 cat > conftest.$ac_ext <<EOF
3216 #line 3217 "configure"
3217 #include "confdefs.h"
3223 if { (eval echo configure:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3226 echo "configure: failed program was:" >&5
3227 cat conftest.$ac_ext >&5
3232 cat > conftest.$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3240 if { (eval echo configure:3241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3243 echo "configure: failed program was:" >&5
3244 cat conftest.$ac_ext >&5
3249 cat > conftest.$ac_ext <<EOF
3250 #line 3251 "configure"
3251 #include "confdefs.h"
3257 if { (eval echo configure:3258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3260 echo "configure: failed program was:" >&5
3261 cat conftest.$ac_ext >&5
3266 cat > conftest.$ac_ext <<EOF
3267 #line 3268 "configure"
3268 #include "confdefs.h"
3274 if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 echo "configure: failed program was:" >&5
3278 cat conftest.$ac_ext >&5
3283 cat > conftest.$ac_ext <<EOF
3284 #line 3285 "configure"
3285 #include "confdefs.h"
3288 isgreaterequal(0.0,0.0);
3291 if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3294 echo "configure: failed program was:" >&5
3295 cat conftest.$ac_ext >&5
3300 cat > conftest.$ac_ext <<EOF
3301 #line 3302 "configure"
3302 #include "confdefs.h"
3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3311 echo "configure: failed program was:" >&5
3312 cat conftest.$ac_ext >&5
3317 cat > conftest.$ac_ext <<EOF
3318 #line 3319 "configure"
3319 #include "confdefs.h"
3322 islessequal(0.0,0.0);
3325 if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3328 echo "configure: failed program was:" >&5
3329 cat conftest.$ac_ext >&5
3334 cat > conftest.$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3339 islessgreater(0.0,0.0);
3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3345 echo "configure: failed program was:" >&5
3346 cat conftest.$ac_ext >&5
3351 cat > conftest.$ac_ext <<EOF
3352 #line 3353 "configure"
3353 #include "confdefs.h"
3356 isunordered(0.0,0.0);
3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3362 echo "configure: failed program was:" >&5
3363 cat conftest.$ac_ext >&5
3368 echo "$ac_t""$ac_c99_math" 1>&6
3370 # Check for the existence in <stdio.h> of vscanf, et. al.
3372 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3373 echo "configure:3374: checking for ISO C99 support in <stdio.h>" >&5
3374 cat > conftest.$ac_ext <<EOF
3375 #line 3376 "configure"
3376 #include "confdefs.h"
3379 snprintf("12", 0, "%i");
3382 if { (eval echo configure:3383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3385 echo "configure: failed program was:" >&5
3386 cat conftest.$ac_ext >&5
3391 cat > conftest.$ac_ext <<EOF
3392 #line 3393 "configure"
3393 #include "confdefs.h"
3396 void foo(char* fmt, ...)
3397 {va_list args; va_start(args, fmt);
3398 vfscanf(stderr, "%i", args);}
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3406 echo "configure: failed program was:" >&5
3407 cat conftest.$ac_ext >&5
3412 cat > conftest.$ac_ext <<EOF
3413 #line 3414 "configure"
3414 #include "confdefs.h"
3417 void foo(char* fmt, ...)
3418 {va_list args; va_start(args, fmt);
3419 vscanf("%i", args);}
3424 if { (eval echo configure:3425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3427 echo "configure: failed program was:" >&5
3428 cat conftest.$ac_ext >&5
3433 cat > conftest.$ac_ext <<EOF
3434 #line 3435 "configure"
3435 #include "confdefs.h"
3438 void foo(char* fmt, ...)
3439 {va_list args; va_start(args, fmt);
3440 vsnprintf(fmt, 0, "%i", args);}
3445 if { (eval echo configure:3446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3448 echo "configure: failed program was:" >&5
3449 cat conftest.$ac_ext >&5
3454 cat > conftest.$ac_ext <<EOF
3455 #line 3456 "configure"
3456 #include "confdefs.h"
3459 void foo(char* fmt, ...)
3460 {va_list args; va_start(args, fmt);
3461 vsscanf(fmt, "%i", args);}
3466 if { (eval echo configure:3467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3469 echo "configure: failed program was:" >&5
3470 cat conftest.$ac_ext >&5
3475 echo "$ac_t""$ac_c99_stdio" 1>&6
3477 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3479 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3480 echo "configure:3481: checking for lldiv_t declaration" >&5
3481 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3482 echo $ac_n "(cached) $ac_c" 1>&6
3485 cat > conftest.$ac_ext <<EOF
3486 #line 3487 "configure"
3487 #include "confdefs.h"
3493 if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure: failed program was:" >&5
3498 cat conftest.$ac_ext >&5
3506 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3508 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3509 echo "configure:3510: checking for ISO C99 support in <stdlib.h>" >&5
3510 cat > conftest.$ac_ext <<EOF
3511 #line 3512 "configure"
3512 #include "confdefs.h"
3515 char* tmp; strtof("gnu", &tmp);
3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3521 echo "configure: failed program was:" >&5
3522 cat conftest.$ac_ext >&5
3527 cat > conftest.$ac_ext <<EOF
3528 #line 3529 "configure"
3529 #include "confdefs.h"
3532 char* tmp; strtold("gnu", &tmp);
3535 if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3538 echo "configure: failed program was:" >&5
3539 cat conftest.$ac_ext >&5
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3555 echo "configure: failed program was:" >&5
3556 cat conftest.$ac_ext >&5
3561 cat > conftest.$ac_ext <<EOF
3562 #line 3563 "configure"
3563 #include "confdefs.h"
3569 if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3578 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure"
3580 #include "confdefs.h"
3586 if { (eval echo configure:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3589 echo "configure: failed program was:" >&5
3590 cat conftest.$ac_ext >&5
3595 cat > conftest.$ac_ext <<EOF
3596 #line 3597 "configure"
3597 #include "confdefs.h"
3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3606 echo "configure: failed program was:" >&5
3607 cat conftest.$ac_ext >&5
3612 if test x"$ac_c99_lldiv_t" = x"no"; then
3615 echo "$ac_t""$ac_c99_stdlib" 1>&6
3617 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3618 # XXX the wchar.h checks should be rolled into the general C99 bits.
3620 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3621 echo "configure:3622: checking for additional ISO C99 support in <wchar.h>" >&5
3622 cat > conftest.$ac_ext <<EOF
3623 #line 3624 "configure"
3624 #include "confdefs.h"
3627 wcstold(L"10.0", NULL);
3630 if { (eval echo configure:3631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3633 echo "configure: failed program was:" >&5
3634 cat conftest.$ac_ext >&5
3639 cat > conftest.$ac_ext <<EOF
3640 #line 3641 "configure"
3641 #include "confdefs.h"
3644 wcstoll(L"10", NULL, 10);
3647 if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3650 echo "configure: failed program was:" >&5
3651 cat conftest.$ac_ext >&5
3656 cat > conftest.$ac_ext <<EOF
3657 #line 3658 "configure"
3658 #include "confdefs.h"
3661 wcstoull(L"10", NULL, 10);
3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3667 echo "configure: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3673 echo "$ac_t""$ac_c99_wchar" 1>&6
3675 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3676 echo "configure:3677: checking for enabled ISO C99 support" >&5
3677 if test x"$ac_c99_math" = x"no" ||
3678 test x"$ac_c99_stdio" = x"no" ||
3679 test x"$ac_c99_stdlib" = x"no" ||
3680 test x"$ac_c99_wchar" = x"no"; then
3683 echo "$ac_t""$enable_c99" 1>&6
3685 # Option parsed, now set things appropriately
3686 if test x"$enable_c99" = x"yes"; then
3687 cat >> confdefs.h <<\EOF
3688 #define _GLIBCPP_USE_C99 1
3694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3698 cross_compiling=$ac_cv_prog_cc_cross
3702 # Check whether --enable-long-long or --disable-long-long was given.
3703 if test "${enable_long_long+set}" = set; then
3704 enableval="$enable_long_long"
3705 case "$enableval" in
3706 yes) enable_long_long=yes ;;
3707 no) enable_long_long=no ;;
3708 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3711 enable_long_long=yes
3716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3717 ac_cpp='$CXXCPP $CPPFLAGS'
3718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3720 cross_compiling=$ac_cv_prog_cxx_cross
3723 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3724 echo "configure:3725: checking for enabled long long I/O support" >&5
3725 # iostreams require strtoll, strtoull to compile
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3731 char* tmp; strtoll("gnu", &tmp, 10);
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 echo "configure: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3743 cat > conftest.$ac_ext <<EOF
3744 #line 3745 "configure"
3745 #include "confdefs.h"
3748 char* tmp; strtoull("gnu", &tmp, 10);
3751 if { (eval echo configure:3752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3754 echo "configure: failed program was:" >&5
3755 cat conftest.$ac_ext >&5
3761 # Option parsed, now set things appropriately
3762 if test x"$enable_long_long" = xyes; then
3763 cat >> confdefs.h <<\EOF
3764 #define _GLIBCPP_USE_LONG_LONG 1
3768 echo "$ac_t""$enable_long_long" 1>&6
3771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3772 ac_cpp='$CPP $CPPFLAGS'
3773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3775 cross_compiling=$ac_cv_prog_cc_cross
3778 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3779 echo "configure:3780: checking for c header strategy to use" >&5
3780 # Check whether --enable-cheaders or --disable-cheaders was given.
3781 if test "${enable_cheaders+set}" = set; then
3782 enableval="$enable_cheaders"
3784 case "$enableval" in
3789 enable_cheaders=c_std
3792 enable_cheaders=c_shadow
3794 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3798 enable_cheaders=c_std
3801 echo "$ac_t""$enable_cheaders" 1>&6
3803 case "$enable_cheaders" in
3805 CSHADOW_FLAGS="-fno-builtin"
3806 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3807 cat >> confdefs.h <<\EOF
3808 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3814 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3818 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3826 if test "$enable_cheaders" = c_shadow; then
3827 GLIBCPP_USE_CSHADOW_TRUE=
3828 GLIBCPP_USE_CSHADOW_FALSE='#'
3830 GLIBCPP_USE_CSHADOW_TRUE='#'
3831 GLIBCPP_USE_CSHADOW_FALSE=
3835 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3836 echo "configure:3837: checking for thread model used by GCC" >&5
3837 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3838 echo "$ac_t""$target_thread_file" 1>&6
3840 if test $target_thread_file != single; then
3841 cat >> confdefs.h <<\EOF
3842 #define HAVE_GTHR_DEFAULT 1
3845 cat >> confdefs.h <<\EOF
3846 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3851 glibcpp_thread_h=gthr-$target_thread_file.h
3854 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3855 if test "${enable_cxx_flags+set}" = set; then
3856 enableval="$enable_cxx_flags"
3857 case "x$enableval" in
3859 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3861 enable_cxx_flags='' ;;
3863 enable_cxx_flags="$enableval" ;;
3866 enable_cxx_flags='none'
3870 if test "$enable_cxx_flags" = "none"; then
3871 enable_cxx_flags='';
3874 if test -n "$enable_cxx_flags"; then
3875 for f in $enable_cxx_flags; do
3879 *) # and we're trying to pass /what/ exactly?
3880 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3884 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3888 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3889 echo "configure:3890: checking for exception model to use" >&5
3892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3893 ac_cpp='$CXXCPP $CPPFLAGS'
3894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3896 cross_compiling=$ac_cv_prog_cxx_cross
3898 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3899 if test "${enable_sjlj_exceptions+set}" = set; then
3900 enableval="$enable_sjlj_exceptions"
3903 cat > conftest.$ac_ext << EOF
3904 #line 3905 "configure"
3913 old_CXXFLAGS="$CXXFLAGS"
3915 if { (eval echo configure:3916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3916 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3917 enable_sjlj_exceptions=yes
3918 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3919 enable_sjlj_exceptions=no
3922 CXXFLAGS="$old_CXXFLAGS"
3926 if test x$enable_sjlj_exceptions = xyes; then
3927 cat >> confdefs.h <<\EOF
3928 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3931 ac_exception_model_name=sjlj
3932 elif test x$enable_sjlj_exceptions = xno; then
3933 ac_exception_model_name="call frame"
3935 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3942 cross_compiling=$ac_cv_prog_cc_cross
3944 echo "$ac_t""$ac_exception_model_name" 1>&6
3946 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3947 if test "${enable_concept_checks+set}" = set; then
3948 enableval="$enable_concept_checks"
3949 case "$enableval" in
3950 yes) enable_concept_checks=yes ;;
3951 no) enable_concept_checks=no ;;
3952 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3955 enable_concept_checks=no
3957 if test x"$enable_concept_checks" = xyes; then
3958 cat >> confdefs.h <<\EOF
3959 #define _GLIBCPP_CONCEPT_CHECKS 1
3965 # Check whether --enable-symvers or --disable-symvers was given.
3966 if test "${enable_symvers+set}" = set; then
3967 enableval="$enable_symvers"
3968 case "$enableval" in
3969 yes) enable_symvers=yes ;;
3970 no) enable_symvers=no ;;
3971 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
3976 echo $ac_n "checking whether to version shared lib symbols""... $ac_c" 1>&6
3977 echo "configure:3978: checking whether to version shared lib symbols" >&5
3978 if test $enable_shared = no; then
3979 enable_symvers=irrelevant
3981 # placeholder -- maybe have a fallback later
3982 LINKER_MAP=config/linker-map.gnu
3983 # symvers variable may evolve into holding the type of linker map someday
3984 if test $enable_symvers = yes; then
3985 # flat-out assume a whole bunch of things right now
3987 # The name of this variable changed between autoconf versions (our problem
3988 # for depending on an impl detail, tsk tsk). It used to be
3989 # ac_cv_prog_gnu_ld but is now lt_cv_prog_gnu_ld, and is copied back into
3990 # with_gnu_ld which can also be user-settable. Let's use that one.
3991 if test $with_gnu_ld = yes; then
3992 # we also assume that the gnu ld in question has phil's patches... can't
3993 # think today of an easy way to programatically test for that; revisit
3994 LINKER_MAP=config/linker-map.gnu
3996 # placeholder -- maybe have a fallback later
3997 LINKER_MAP=config/linker-map.gnu
4004 if test "$enable_symvers" = yes; then
4005 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
4006 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
4008 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
4009 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
4011 echo "$ac_t""$enable_symvers" 1>&6
4015 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4017 # This lets us hard-code the functionality we know
4018 # we'll have in the cross target environment. "Let" is a
4019 # sugar-coated word placed on an especially dull and tedious hack, actually.
4020 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4021 # that involve linking can't be used:
4022 # "cannot open sim-crt0.o"
4023 # "cannot open crt0.o"
4024 # etc. All this is because there currently exists no unified,
4025 # consistent way for top level CC information to be passed down
4026 # to target directories: newlib includes, newlib linking info,
4027 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4028 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4030 # We are being configured with some form of cross compiler.
4031 GLIBCPP_IS_CROSS_COMPILING=1
4033 # If Canadian cross, then don't pick up tools from the build
4035 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4041 # Construct crosses by hand, eliminating bits that need ld...
4042 # GLIBCPP_CHECK_COMPILER_FEATURES
4043 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4044 # GLIBCPP_CHECK_MATH_SUPPORT
4046 case "$target_alias" in
4048 # Check for available headers.
4049 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4050 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4051 fp.h locale.h float.h inttypes.h
4053 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4055 echo "configure:4056: checking for $ac_hdr" >&5
4056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4057 echo $ac_n "(cached) $ac_c" 1>&6
4059 cat > conftest.$ac_ext <<EOF
4060 #line 4061 "configure"
4061 #include "confdefs.h"
4064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4065 { (eval echo configure:4066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4067 if test -z "$ac_err"; then
4069 eval "ac_cv_header_$ac_safe=yes"
4072 echo "configure: failed program was:" >&5
4073 cat conftest.$ac_ext >&5
4075 eval "ac_cv_header_$ac_safe=no"
4079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4080 echo "$ac_t""yes" 1>&6
4081 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4082 cat >> confdefs.h <<EOF
4083 #define $ac_tr_hdr 1
4087 echo "$ac_t""no" 1>&6
4091 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4094 # If we're not using GNU ld, then there's no point in even trying these
4095 # tests. Check for that first. We should have already tested for gld
4096 # by now (in libtool), but require it now just to be safe...
4097 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4098 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4101 # Set --gc-sections.
4102 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4103 # GNU ld it is! Joy and bunny rabbits!
4105 # All these tests are for C++; save the language and the compiler flags.
4106 # Need to do this so that g++ won't try to link in libstdc++
4107 ac_test_CFLAGS="${CFLAGS+set}"
4108 ac_save_CFLAGS="$CFLAGS"
4109 CFLAGS='-x c++ -Wl,--gc-sections'
4111 # Check for -Wl,--gc-sections
4112 # XXX This test is broken at the moment, as symbols required for
4113 # linking are now in libsupc++ (not built yet.....). In addition,
4114 # this test has cored on solaris in the past. In addition,
4115 # --gc-sections doesn't really work at the moment (keeps on discarding
4116 # used sections, first .eh_frame and now some of the glibc sections for
4117 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4118 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4119 echo "configure:4120: checking for ld that supports -Wl,--gc-sections" >&5
4120 if test "$cross_compiling" = yes; then
4121 ac_sectionLDflags=yes
4123 cat > conftest.$ac_ext <<EOF
4124 #line 4125 "configure"
4125 #include "confdefs.h"
4135 if { (eval echo configure:4136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4137 ac_sectionLDflags=yes
4139 echo "configure: failed program was:" >&5
4140 cat conftest.$ac_ext >&5
4142 ac_sectionLDflags=no
4147 if test "$ac_test_CFLAGS" = set; then
4148 CFLAGS="$ac_save_CFLAGS"
4150 # this is the suspicious part
4153 if test "$ac_sectionLDflags" = "yes"; then
4154 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4156 echo "$ac_t""$ac_sectionLDflags" 1>&6
4159 # Set linker optimization flags.
4160 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4161 test x"$enable_debug" = x"no"; then
4162 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4169 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4170 echo "configure:4171: checking for main in -lm" >&5
4171 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4172 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4173 echo $ac_n "(cached) $ac_c" 1>&6
4175 ac_save_LIBS="$LIBS"
4177 cat > conftest.$ac_ext <<EOF
4178 #line 4179 "configure"
4179 #include "confdefs.h"
4185 if { (eval echo configure:4186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4187 eval "ac_cv_lib_$ac_lib_var=yes"
4189 echo "configure: failed program was:" >&5
4190 cat conftest.$ac_ext >&5
4192 eval "ac_cv_lib_$ac_lib_var=no"
4195 LIBS="$ac_save_LIBS"
4198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4199 echo "$ac_t""yes" 1>&6
4200 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4201 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4202 cat >> confdefs.h <<EOF
4203 #define $ac_tr_lib 1
4209 echo "$ac_t""no" 1>&6
4212 for ac_func in nan copysignf
4214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4215 echo "configure:4216: checking for $ac_func" >&5
4216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4217 echo $ac_n "(cached) $ac_c" 1>&6
4219 cat > conftest.$ac_ext <<EOF
4220 #line 4221 "configure"
4221 #include "confdefs.h"
4222 /* System header to define __stub macros and hopefully few prototypes,
4223 which can conflict with char $ac_func(); below. */
4225 /* Override any gcc2 internal prototype to avoid an error. */
4226 /* We use char because int might match the return type of a gcc2
4227 builtin and then its argument prototype would still apply. */
4232 /* The GNU C library defines this for functions which it implements
4233 to always fail with ENOSYS. Some functions are actually named
4234 something starting with __ and the normal name is an alias. */
4235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4243 if { (eval echo configure:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4245 eval "ac_cv_func_$ac_func=yes"
4247 echo "configure: failed program was:" >&5
4248 cat conftest.$ac_ext >&5
4250 eval "ac_cv_func_$ac_func=no"
4255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4256 echo "$ac_t""yes" 1>&6
4257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4258 cat >> confdefs.h <<EOF
4259 #define $ac_tr_func 1
4263 echo "$ac_t""no" 1>&6
4264 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4270 USE_COMPLEX_LONG_DOUBLE=no
4271 if test x$ac_cv_func_copysignl = x"yes"; then
4272 USE_COMPLEX_LONG_DOUBLE=yes
4273 for ac_func in signbitl
4275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4276 echo "configure:4277: checking for $ac_func" >&5
4277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4278 echo $ac_n "(cached) $ac_c" 1>&6
4280 cat > conftest.$ac_ext <<EOF
4281 #line 4282 "configure"
4282 #include "confdefs.h"
4283 /* System header to define __stub macros and hopefully few prototypes,
4284 which can conflict with char $ac_func(); below. */
4286 /* Override any gcc2 internal prototype to avoid an error. */
4287 /* We use char because int might match the return type of a gcc2
4288 builtin and then its argument prototype would still apply. */
4293 /* The GNU C library defines this for functions which it implements
4294 to always fail with ENOSYS. Some functions are actually named
4295 something starting with __ and the normal name is an alias. */
4296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4304 if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4306 eval "ac_cv_func_$ac_func=yes"
4308 echo "configure: failed program was:" >&5
4309 cat conftest.$ac_ext >&5
4311 eval "ac_cv_func_$ac_func=no"
4316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4317 echo "$ac_t""yes" 1>&6
4318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4319 cat >> confdefs.h <<EOF
4320 #define $ac_tr_func 1
4324 echo "$ac_t""no" 1>&6
4325 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4336 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4337 echo "configure:4338: checking for mbstate_t" >&5
4338 cat > conftest.$ac_ext <<EOF
4339 #line 4340 "configure"
4340 #include "confdefs.h"
4343 mbstate_t teststate;
4346 if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4350 echo "configure: failed program was:" >&5
4351 cat conftest.$ac_ext >&5
4356 echo "$ac_t""$have_mbstate_t" 1>&6
4357 if test x"$have_mbstate_t" = xyes; then
4358 cat >> confdefs.h <<\EOF
4359 #define HAVE_MBSTATE_T 1
4364 for ac_hdr in wchar.h
4366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4368 echo "configure:4369: checking for $ac_hdr" >&5
4369 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4370 echo $ac_n "(cached) $ac_c" 1>&6
4372 cat > conftest.$ac_ext <<EOF
4373 #line 4374 "configure"
4374 #include "confdefs.h"
4377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4378 { (eval echo configure:4379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4380 if test -z "$ac_err"; then
4382 eval "ac_cv_header_$ac_safe=yes"
4385 echo "configure: failed program was:" >&5
4386 cat conftest.$ac_ext >&5
4388 eval "ac_cv_header_$ac_safe=no"
4392 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4393 echo "$ac_t""yes" 1>&6
4394 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4395 cat >> confdefs.h <<EOF
4396 #define $ac_tr_hdr 1
4400 echo "$ac_t""no" 1>&6
4405 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4406 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4407 echo "configure:4408: checking for wctype.h" >&5
4408 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4409 echo $ac_n "(cached) $ac_c" 1>&6
4411 cat > conftest.$ac_ext <<EOF
4412 #line 4413 "configure"
4413 #include "confdefs.h"
4416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4417 { (eval echo configure:4418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4419 if test -z "$ac_err"; then
4421 eval "ac_cv_header_$ac_safe=yes"
4424 echo "configure: failed program was:" >&5
4425 cat conftest.$ac_ext >&5
4427 eval "ac_cv_header_$ac_safe=no"
4431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4432 echo "$ac_t""yes" 1>&6
4435 echo "$ac_t""no" 1>&6
4440 if test x"$ac_has_wchar_h" = xyes &&
4441 test x"$ac_has_wctype_h" = xyes &&
4442 test x"$enable_c_mbchar" != xno; then
4444 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4445 echo "configure:4446: checking for WCHAR_MIN and WCHAR_MAX" >&5
4446 cat > conftest.$ac_ext <<EOF
4447 #line 4448 "configure"
4448 #include "confdefs.h"
4451 int i = WCHAR_MIN; int j = WCHAR_MAX;
4454 if { (eval echo configure:4455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4456 has_wchar_minmax=yes
4458 echo "configure: failed program was:" >&5
4459 cat conftest.$ac_ext >&5
4464 echo "$ac_t""$has_wchar_minmax" 1>&6
4466 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4467 echo "configure:4468: checking for WEOF" >&5
4468 cat > conftest.$ac_ext <<EOF
4469 #line 4470 "configure"
4470 #include "confdefs.h"
4478 if { (eval echo configure:4479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4482 echo "configure: failed program was:" >&5
4483 cat conftest.$ac_ext >&5
4488 echo "$ac_t""$has_weof" 1>&6
4491 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4494 echo "configure:4495: checking for $ac_func" >&5
4495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4496 echo $ac_n "(cached) $ac_c" 1>&6
4498 cat > conftest.$ac_ext <<EOF
4499 #line 4500 "configure"
4500 #include "confdefs.h"
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char $ac_func(); below. */
4504 /* Override any gcc2 internal prototype to avoid an error. */
4505 /* We use char because int might match the return type of a gcc2
4506 builtin and then its argument prototype would still apply. */
4511 /* The GNU C library defines this for functions which it implements
4512 to always fail with ENOSYS. Some functions are actually named
4513 something starting with __ and the normal name is an alias. */
4514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4522 if { (eval echo configure:4523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4524 eval "ac_cv_func_$ac_func=yes"
4526 echo "configure: failed program was:" >&5
4527 cat conftest.$ac_ext >&5
4529 eval "ac_cv_func_$ac_func=no"
4534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4535 echo "$ac_t""yes" 1>&6
4536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4537 cat >> confdefs.h <<EOF
4538 #define $ac_tr_func 1
4542 echo "$ac_t""no" 1>&6
4549 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4550 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4551 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4552 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4553 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4554 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4557 echo "configure:4558: checking for $ac_func" >&5
4558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4559 echo $ac_n "(cached) $ac_c" 1>&6
4561 cat > conftest.$ac_ext <<EOF
4562 #line 4563 "configure"
4563 #include "confdefs.h"
4564 /* System header to define __stub macros and hopefully few prototypes,
4565 which can conflict with char $ac_func(); below. */
4567 /* Override any gcc2 internal prototype to avoid an error. */
4568 /* We use char because int might match the return type of a gcc2
4569 builtin and then its argument prototype would still apply. */
4574 /* The GNU C library defines this for functions which it implements
4575 to always fail with ENOSYS. Some functions are actually named
4576 something starting with __ and the normal name is an alias. */
4577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4585 if { (eval echo configure:4586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4587 eval "ac_cv_func_$ac_func=yes"
4589 echo "configure: failed program was:" >&5
4590 cat conftest.$ac_ext >&5
4592 eval "ac_cv_func_$ac_func=no"
4597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4598 echo "$ac_t""yes" 1>&6
4599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4600 cat >> confdefs.h <<EOF
4601 #define $ac_tr_func 1
4605 echo "$ac_t""no" 1>&6
4612 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4613 echo "configure:4614: checking for ISO C99 wchar_t support" >&5
4614 if test x"$has_weof" = xyes &&
4615 test x"$has_wchar_minmax" = xyes &&
4616 test x"$ac_wfuncs" = xyes; then
4617 ac_isoC99_wchar_t=yes
4619 ac_isoC99_wchar_t=no
4621 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4623 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4624 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4625 echo "configure:4626: checking for iconv.h" >&5
4626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4627 echo $ac_n "(cached) $ac_c" 1>&6
4629 cat > conftest.$ac_ext <<EOF
4630 #line 4631 "configure"
4631 #include "confdefs.h"
4634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4635 { (eval echo configure:4636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4637 if test -z "$ac_err"; then
4639 eval "ac_cv_header_$ac_safe=yes"
4642 echo "configure: failed program was:" >&5
4643 cat conftest.$ac_ext >&5
4645 eval "ac_cv_header_$ac_safe=no"
4649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4650 echo "$ac_t""yes" 1>&6
4653 echo "$ac_t""no" 1>&6
4657 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4658 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4659 echo "configure:4660: checking for langinfo.h" >&5
4660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4661 echo $ac_n "(cached) $ac_c" 1>&6
4663 cat > conftest.$ac_ext <<EOF
4664 #line 4665 "configure"
4665 #include "confdefs.h"
4666 #include <langinfo.h>
4668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4669 { (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4671 if test -z "$ac_err"; then
4673 eval "ac_cv_header_$ac_safe=yes"
4676 echo "configure: failed program was:" >&5
4677 cat conftest.$ac_ext >&5
4679 eval "ac_cv_header_$ac_safe=no"
4683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4684 echo "$ac_t""yes" 1>&6
4685 ac_has_langinfo_h=yes
4687 echo "$ac_t""no" 1>&6
4688 ac_has_langinfo_h=no
4692 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4693 echo "configure:4694: checking for iconv in -liconv" >&5
4694 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4695 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4696 echo $ac_n "(cached) $ac_c" 1>&6
4698 ac_save_LIBS="$LIBS"
4699 LIBS="-liconv $LIBS"
4700 cat > conftest.$ac_ext <<EOF
4701 #line 4702 "configure"
4702 #include "confdefs.h"
4703 /* Override any gcc2 internal prototype to avoid an error. */
4704 /* We use char because int might match the return type of a gcc2
4705 builtin and then its argument prototype would still apply. */
4712 if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4714 eval "ac_cv_lib_$ac_lib_var=yes"
4716 echo "configure: failed program was:" >&5
4717 cat conftest.$ac_ext >&5
4719 eval "ac_cv_lib_$ac_lib_var=no"
4722 LIBS="$ac_save_LIBS"
4725 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4726 echo "$ac_t""yes" 1>&6
4729 echo "$ac_t""no" 1>&6
4732 ac_save_LIBS="$LIBS"
4733 LIBS="$LIBS $libiconv"
4735 for ac_func in iconv_open iconv_close iconv nl_langinfo
4737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4738 echo "configure:4739: checking for $ac_func" >&5
4739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4740 echo $ac_n "(cached) $ac_c" 1>&6
4742 cat > conftest.$ac_ext <<EOF
4743 #line 4744 "configure"
4744 #include "confdefs.h"
4745 /* System header to define __stub macros and hopefully few prototypes,
4746 which can conflict with char $ac_func(); below. */
4748 /* Override any gcc2 internal prototype to avoid an error. */
4749 /* We use char because int might match the return type of a gcc2
4750 builtin and then its argument prototype would still apply. */
4755 /* The GNU C library defines this for functions which it implements
4756 to always fail with ENOSYS. Some functions are actually named
4757 something starting with __ and the normal name is an alias. */
4758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4766 if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4768 eval "ac_cv_func_$ac_func=yes"
4770 echo "configure: failed program was:" >&5
4771 cat conftest.$ac_ext >&5
4773 eval "ac_cv_func_$ac_func=no"
4778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4779 echo "$ac_t""yes" 1>&6
4780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4781 cat >> confdefs.h <<EOF
4782 #define $ac_tr_func 1
4787 echo "$ac_t""no" 1>&6
4793 LIBS="$ac_save_LIBS"
4795 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4796 echo "configure:4797: checking for XPG2 wchar_t support" >&5
4797 if test x"$ac_has_iconv_h" = xyes &&
4798 test x"$ac_has_langinfo_h" = xyes &&
4799 test x"$ac_XPG2funcs" = xyes; then
4804 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4806 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4807 echo "configure:4808: checking for enabled wchar_t specializations" >&5
4808 if test x"$ac_isoC99_wchar_t" = xyes &&
4809 test x"$ac_XPG2_wchar_t" = xyes; then
4810 cat >> confdefs.h <<\EOF
4811 #define _GLIBCPP_USE_WCHAR_T 1
4814 echo "$ac_t"""yes"" 1>&6
4816 echo "$ac_t"""no"" 1>&6
4819 echo "configure: warning: wchar_t support disabled." 1>&2
4822 os_include_dir="config/os/gnu-linux"
4823 cat >> confdefs.h <<\EOF
4824 #define HAVE_COPYSIGN 1
4827 cat >> confdefs.h <<\EOF
4828 #define HAVE_COPYSIGNF 1
4831 cat >> confdefs.h <<\EOF
4832 #define HAVE_FINITEF 1
4835 cat >> confdefs.h <<\EOF
4836 #define HAVE_FREXPF 1
4839 cat >> confdefs.h <<\EOF
4840 #define HAVE_HYPOTF 1
4843 cat >> confdefs.h <<\EOF
4844 #define HAVE_SINCOS 1
4847 cat >> confdefs.h <<\EOF
4848 #define HAVE_SINCOSF 1
4851 if test x"long_double_math_on_this_cpu" = x"yes"; then
4852 cat >> confdefs.h <<\EOF
4853 #define HAVE_HYPOTL 1
4859 # Check for available headers.
4860 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4861 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4862 fp.h locale.h float.h inttypes.h
4864 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4865 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4866 echo "configure:4867: checking for $ac_hdr" >&5
4867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4868 echo $ac_n "(cached) $ac_c" 1>&6
4870 cat > conftest.$ac_ext <<EOF
4871 #line 4872 "configure"
4872 #include "confdefs.h"
4875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4876 { (eval echo configure:4877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4878 if test -z "$ac_err"; then
4880 eval "ac_cv_header_$ac_safe=yes"
4883 echo "configure: failed program was:" >&5
4884 cat conftest.$ac_ext >&5
4886 eval "ac_cv_header_$ac_safe=no"
4890 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4891 echo "$ac_t""yes" 1>&6
4892 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4893 cat >> confdefs.h <<EOF
4894 #define $ac_tr_hdr 1
4898 echo "$ac_t""no" 1>&6
4902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4905 # If we're not using GNU ld, then there's no point in even trying these
4906 # tests. Check for that first. We should have already tested for gld
4907 # by now (in libtool), but require it now just to be safe...
4908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4912 # Set --gc-sections.
4913 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4914 # GNU ld it is! Joy and bunny rabbits!
4916 # All these tests are for C++; save the language and the compiler flags.
4917 # Need to do this so that g++ won't try to link in libstdc++
4918 ac_test_CFLAGS="${CFLAGS+set}"
4919 ac_save_CFLAGS="$CFLAGS"
4920 CFLAGS='-x c++ -Wl,--gc-sections'
4922 # Check for -Wl,--gc-sections
4923 # XXX This test is broken at the moment, as symbols required for
4924 # linking are now in libsupc++ (not built yet.....). In addition,
4925 # this test has cored on solaris in the past. In addition,
4926 # --gc-sections doesn't really work at the moment (keeps on discarding
4927 # used sections, first .eh_frame and now some of the glibc sections for
4928 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4929 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4930 echo "configure:4931: checking for ld that supports -Wl,--gc-sections" >&5
4931 if test "$cross_compiling" = yes; then
4932 ac_sectionLDflags=yes
4934 cat > conftest.$ac_ext <<EOF
4935 #line 4936 "configure"
4936 #include "confdefs.h"
4946 if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4948 ac_sectionLDflags=yes
4950 echo "configure: failed program was:" >&5
4951 cat conftest.$ac_ext >&5
4953 ac_sectionLDflags=no
4958 if test "$ac_test_CFLAGS" = set; then
4959 CFLAGS="$ac_save_CFLAGS"
4961 # this is the suspicious part
4964 if test "$ac_sectionLDflags" = "yes"; then
4965 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4967 echo "$ac_t""$ac_sectionLDflags" 1>&6
4970 # Set linker optimization flags.
4971 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4972 test x"$enable_debug" = x"no"; then
4973 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4980 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4981 echo "configure:4982: checking for main in -lm" >&5
4982 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4984 echo $ac_n "(cached) $ac_c" 1>&6
4986 ac_save_LIBS="$LIBS"
4988 cat > conftest.$ac_ext <<EOF
4989 #line 4990 "configure"
4990 #include "confdefs.h"
4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4998 eval "ac_cv_lib_$ac_lib_var=yes"
5000 echo "configure: failed program was:" >&5
5001 cat conftest.$ac_ext >&5
5003 eval "ac_cv_lib_$ac_lib_var=no"
5006 LIBS="$ac_save_LIBS"
5009 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5010 echo "$ac_t""yes" 1>&6
5011 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5012 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5013 cat >> confdefs.h <<EOF
5014 #define $ac_tr_lib 1
5020 echo "$ac_t""no" 1>&6
5023 for ac_func in nan copysignf
5025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5026 echo "configure:5027: checking for $ac_func" >&5
5027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5028 echo $ac_n "(cached) $ac_c" 1>&6
5030 cat > conftest.$ac_ext <<EOF
5031 #line 5032 "configure"
5032 #include "confdefs.h"
5033 /* System header to define __stub macros and hopefully few prototypes,
5034 which can conflict with char $ac_func(); below. */
5036 /* Override any gcc2 internal prototype to avoid an error. */
5037 /* We use char because int might match the return type of a gcc2
5038 builtin and then its argument prototype would still apply. */
5043 /* The GNU C library defines this for functions which it implements
5044 to always fail with ENOSYS. Some functions are actually named
5045 something starting with __ and the normal name is an alias. */
5046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5054 if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5056 eval "ac_cv_func_$ac_func=yes"
5058 echo "configure: failed program was:" >&5
5059 cat conftest.$ac_ext >&5
5061 eval "ac_cv_func_$ac_func=no"
5066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5067 echo "$ac_t""yes" 1>&6
5068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5069 cat >> confdefs.h <<EOF
5070 #define $ac_tr_func 1
5074 echo "$ac_t""no" 1>&6
5075 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5081 USE_COMPLEX_LONG_DOUBLE=no
5082 if test x$ac_cv_func_copysignl = x"yes"; then
5083 USE_COMPLEX_LONG_DOUBLE=yes
5084 for ac_func in signbitl
5086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5087 echo "configure:5088: checking for $ac_func" >&5
5088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5089 echo $ac_n "(cached) $ac_c" 1>&6
5091 cat > conftest.$ac_ext <<EOF
5092 #line 5093 "configure"
5093 #include "confdefs.h"
5094 /* System header to define __stub macros and hopefully few prototypes,
5095 which can conflict with char $ac_func(); below. */
5097 /* Override any gcc2 internal prototype to avoid an error. */
5098 /* We use char because int might match the return type of a gcc2
5099 builtin and then its argument prototype would still apply. */
5104 /* The GNU C library defines this for functions which it implements
5105 to always fail with ENOSYS. Some functions are actually named
5106 something starting with __ and the normal name is an alias. */
5107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5117 eval "ac_cv_func_$ac_func=yes"
5119 echo "configure: failed program was:" >&5
5120 cat conftest.$ac_ext >&5
5122 eval "ac_cv_func_$ac_func=no"
5127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5128 echo "$ac_t""yes" 1>&6
5129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5130 cat >> confdefs.h <<EOF
5131 #define $ac_tr_func 1
5135 echo "$ac_t""no" 1>&6
5136 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5147 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5148 echo "configure:5149: checking for mbstate_t" >&5
5149 cat > conftest.$ac_ext <<EOF
5150 #line 5151 "configure"
5151 #include "confdefs.h"
5154 mbstate_t teststate;
5157 if { (eval echo configure:5158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5161 echo "configure: failed program was:" >&5
5162 cat conftest.$ac_ext >&5
5167 echo "$ac_t""$have_mbstate_t" 1>&6
5168 if test x"$have_mbstate_t" = xyes; then
5169 cat >> confdefs.h <<\EOF
5170 #define HAVE_MBSTATE_T 1
5175 for ac_hdr in wchar.h
5177 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5179 echo "configure:5180: checking for $ac_hdr" >&5
5180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5181 echo $ac_n "(cached) $ac_c" 1>&6
5183 cat > conftest.$ac_ext <<EOF
5184 #line 5185 "configure"
5185 #include "confdefs.h"
5188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5189 { (eval echo configure:5190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5191 if test -z "$ac_err"; then
5193 eval "ac_cv_header_$ac_safe=yes"
5196 echo "configure: failed program was:" >&5
5197 cat conftest.$ac_ext >&5
5199 eval "ac_cv_header_$ac_safe=no"
5203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5204 echo "$ac_t""yes" 1>&6
5205 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5206 cat >> confdefs.h <<EOF
5207 #define $ac_tr_hdr 1
5211 echo "$ac_t""no" 1>&6
5216 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5217 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5218 echo "configure:5219: checking for wctype.h" >&5
5219 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5220 echo $ac_n "(cached) $ac_c" 1>&6
5222 cat > conftest.$ac_ext <<EOF
5223 #line 5224 "configure"
5224 #include "confdefs.h"
5227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5228 { (eval echo configure:5229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5230 if test -z "$ac_err"; then
5232 eval "ac_cv_header_$ac_safe=yes"
5235 echo "configure: failed program was:" >&5
5236 cat conftest.$ac_ext >&5
5238 eval "ac_cv_header_$ac_safe=no"
5242 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5243 echo "$ac_t""yes" 1>&6
5246 echo "$ac_t""no" 1>&6
5251 if test x"$ac_has_wchar_h" = xyes &&
5252 test x"$ac_has_wctype_h" = xyes &&
5253 test x"$enable_c_mbchar" != xno; then
5255 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5256 echo "configure:5257: checking for WCHAR_MIN and WCHAR_MAX" >&5
5257 cat > conftest.$ac_ext <<EOF
5258 #line 5259 "configure"
5259 #include "confdefs.h"
5262 int i = WCHAR_MIN; int j = WCHAR_MAX;
5265 if { (eval echo configure:5266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5267 has_wchar_minmax=yes
5269 echo "configure: failed program was:" >&5
5270 cat conftest.$ac_ext >&5
5275 echo "$ac_t""$has_wchar_minmax" 1>&6
5277 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5278 echo "configure:5279: checking for WEOF" >&5
5279 cat > conftest.$ac_ext <<EOF
5280 #line 5281 "configure"
5281 #include "confdefs.h"
5289 if { (eval echo configure:5290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5293 echo "configure: failed program was:" >&5
5294 cat conftest.$ac_ext >&5
5299 echo "$ac_t""$has_weof" 1>&6
5302 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5305 echo "configure:5306: checking for $ac_func" >&5
5306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5307 echo $ac_n "(cached) $ac_c" 1>&6
5309 cat > conftest.$ac_ext <<EOF
5310 #line 5311 "configure"
5311 #include "confdefs.h"
5312 /* System header to define __stub macros and hopefully few prototypes,
5313 which can conflict with char $ac_func(); below. */
5315 /* Override any gcc2 internal prototype to avoid an error. */
5316 /* We use char because int might match the return type of a gcc2
5317 builtin and then its argument prototype would still apply. */
5322 /* The GNU C library defines this for functions which it implements
5323 to always fail with ENOSYS. Some functions are actually named
5324 something starting with __ and the normal name is an alias. */
5325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5333 if { (eval echo configure:5334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5335 eval "ac_cv_func_$ac_func=yes"
5337 echo "configure: failed program was:" >&5
5338 cat conftest.$ac_ext >&5
5340 eval "ac_cv_func_$ac_func=no"
5345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5346 echo "$ac_t""yes" 1>&6
5347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5348 cat >> confdefs.h <<EOF
5349 #define $ac_tr_func 1
5353 echo "$ac_t""no" 1>&6
5360 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5361 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5362 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5363 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5364 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5365 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5368 echo "configure:5369: checking for $ac_func" >&5
5369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5370 echo $ac_n "(cached) $ac_c" 1>&6
5372 cat > conftest.$ac_ext <<EOF
5373 #line 5374 "configure"
5374 #include "confdefs.h"
5375 /* System header to define __stub macros and hopefully few prototypes,
5376 which can conflict with char $ac_func(); below. */
5378 /* Override any gcc2 internal prototype to avoid an error. */
5379 /* We use char because int might match the return type of a gcc2
5380 builtin and then its argument prototype would still apply. */
5385 /* The GNU C library defines this for functions which it implements
5386 to always fail with ENOSYS. Some functions are actually named
5387 something starting with __ and the normal name is an alias. */
5388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5398 eval "ac_cv_func_$ac_func=yes"
5400 echo "configure: failed program was:" >&5
5401 cat conftest.$ac_ext >&5
5403 eval "ac_cv_func_$ac_func=no"
5408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5409 echo "$ac_t""yes" 1>&6
5410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5411 cat >> confdefs.h <<EOF
5412 #define $ac_tr_func 1
5416 echo "$ac_t""no" 1>&6
5423 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5424 echo "configure:5425: checking for ISO C99 wchar_t support" >&5
5425 if test x"$has_weof" = xyes &&
5426 test x"$has_wchar_minmax" = xyes &&
5427 test x"$ac_wfuncs" = xyes; then
5428 ac_isoC99_wchar_t=yes
5430 ac_isoC99_wchar_t=no
5432 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5434 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5435 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5436 echo "configure:5437: checking for iconv.h" >&5
5437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5438 echo $ac_n "(cached) $ac_c" 1>&6
5440 cat > conftest.$ac_ext <<EOF
5441 #line 5442 "configure"
5442 #include "confdefs.h"
5445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5446 { (eval echo configure:5447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5447 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5448 if test -z "$ac_err"; then
5450 eval "ac_cv_header_$ac_safe=yes"
5453 echo "configure: failed program was:" >&5
5454 cat conftest.$ac_ext >&5
5456 eval "ac_cv_header_$ac_safe=no"
5460 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5461 echo "$ac_t""yes" 1>&6
5464 echo "$ac_t""no" 1>&6
5468 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5469 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5470 echo "configure:5471: checking for langinfo.h" >&5
5471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5472 echo $ac_n "(cached) $ac_c" 1>&6
5474 cat > conftest.$ac_ext <<EOF
5475 #line 5476 "configure"
5476 #include "confdefs.h"
5477 #include <langinfo.h>
5479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5480 { (eval echo configure:5481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5482 if test -z "$ac_err"; then
5484 eval "ac_cv_header_$ac_safe=yes"
5487 echo "configure: failed program was:" >&5
5488 cat conftest.$ac_ext >&5
5490 eval "ac_cv_header_$ac_safe=no"
5494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5495 echo "$ac_t""yes" 1>&6
5496 ac_has_langinfo_h=yes
5498 echo "$ac_t""no" 1>&6
5499 ac_has_langinfo_h=no
5503 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5504 echo "configure:5505: checking for iconv in -liconv" >&5
5505 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5507 echo $ac_n "(cached) $ac_c" 1>&6
5509 ac_save_LIBS="$LIBS"
5510 LIBS="-liconv $LIBS"
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure"
5513 #include "confdefs.h"
5514 /* Override any gcc2 internal prototype to avoid an error. */
5515 /* We use char because int might match the return type of a gcc2
5516 builtin and then its argument prototype would still apply. */
5523 if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5525 eval "ac_cv_lib_$ac_lib_var=yes"
5527 echo "configure: failed program was:" >&5
5528 cat conftest.$ac_ext >&5
5530 eval "ac_cv_lib_$ac_lib_var=no"
5533 LIBS="$ac_save_LIBS"
5536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5537 echo "$ac_t""yes" 1>&6
5540 echo "$ac_t""no" 1>&6
5543 ac_save_LIBS="$LIBS"
5544 LIBS="$LIBS $libiconv"
5546 for ac_func in iconv_open iconv_close iconv nl_langinfo
5548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5549 echo "configure:5550: checking for $ac_func" >&5
5550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5551 echo $ac_n "(cached) $ac_c" 1>&6
5553 cat > conftest.$ac_ext <<EOF
5554 #line 5555 "configure"
5555 #include "confdefs.h"
5556 /* System header to define __stub macros and hopefully few prototypes,
5557 which can conflict with char $ac_func(); below. */
5559 /* Override any gcc2 internal prototype to avoid an error. */
5560 /* We use char because int might match the return type of a gcc2
5561 builtin and then its argument prototype would still apply. */
5566 /* The GNU C library defines this for functions which it implements
5567 to always fail with ENOSYS. Some functions are actually named
5568 something starting with __ and the normal name is an alias. */
5569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5577 if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5579 eval "ac_cv_func_$ac_func=yes"
5581 echo "configure: failed program was:" >&5
5582 cat conftest.$ac_ext >&5
5584 eval "ac_cv_func_$ac_func=no"
5589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5590 echo "$ac_t""yes" 1>&6
5591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5592 cat >> confdefs.h <<EOF
5593 #define $ac_tr_func 1
5598 echo "$ac_t""no" 1>&6
5604 LIBS="$ac_save_LIBS"
5606 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5607 echo "configure:5608: checking for XPG2 wchar_t support" >&5
5608 if test x"$ac_has_iconv_h" = xyes &&
5609 test x"$ac_has_langinfo_h" = xyes &&
5610 test x"$ac_XPG2funcs" = xyes; then
5615 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5617 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5618 echo "configure:5619: checking for enabled wchar_t specializations" >&5
5619 if test x"$ac_isoC99_wchar_t" = xyes &&
5620 test x"$ac_XPG2_wchar_t" = xyes; then
5621 cat >> confdefs.h <<\EOF
5622 #define _GLIBCPP_USE_WCHAR_T 1
5625 echo "$ac_t"""yes"" 1>&6
5627 echo "$ac_t"""no"" 1>&6
5630 echo "configure: warning: wchar_t support disabled." 1>&2
5633 os_include_dir="config/os/hpux"
5634 cat >> confdefs.h <<\EOF
5635 #define HAVE_COPYSIGN 1
5638 cat >> confdefs.h <<\EOF
5639 #define HAVE_COPYSIGNF 1
5642 cat >> confdefs.h <<\EOF
5643 #define HAVE_FINITEF 1
5646 cat >> confdefs.h <<\EOF
5647 #define HAVE_FREXPF 1
5650 cat >> confdefs.h <<\EOF
5651 #define HAVE_HYPOT 1
5654 cat >> confdefs.h <<\EOF
5655 #define HAVE_SINCOS 1
5658 cat >> confdefs.h <<\EOF
5659 #define HAVE_SINCOSF 1
5664 # Check for available headers.
5665 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5666 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5667 fp.h locale.h float.h inttypes.h
5669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5671 echo "configure:5672: checking for $ac_hdr" >&5
5672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5673 echo $ac_n "(cached) $ac_c" 1>&6
5675 cat > conftest.$ac_ext <<EOF
5676 #line 5677 "configure"
5677 #include "confdefs.h"
5680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5681 { (eval echo configure:5682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5683 if test -z "$ac_err"; then
5685 eval "ac_cv_header_$ac_safe=yes"
5688 echo "configure: failed program was:" >&5
5689 cat conftest.$ac_ext >&5
5691 eval "ac_cv_header_$ac_safe=no"
5695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5696 echo "$ac_t""yes" 1>&6
5697 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5698 cat >> confdefs.h <<EOF
5699 #define $ac_tr_hdr 1
5703 echo "$ac_t""no" 1>&6
5707 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5710 # If we're not using GNU ld, then there's no point in even trying these
5711 # tests. Check for that first. We should have already tested for gld
5712 # by now (in libtool), but require it now just to be safe...
5713 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5714 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5717 # Set --gc-sections.
5718 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5719 # GNU ld it is! Joy and bunny rabbits!
5721 # All these tests are for C++; save the language and the compiler flags.
5722 # Need to do this so that g++ won't try to link in libstdc++
5723 ac_test_CFLAGS="${CFLAGS+set}"
5724 ac_save_CFLAGS="$CFLAGS"
5725 CFLAGS='-x c++ -Wl,--gc-sections'
5727 # Check for -Wl,--gc-sections
5728 # XXX This test is broken at the moment, as symbols required for
5729 # linking are now in libsupc++ (not built yet.....). In addition,
5730 # this test has cored on solaris in the past. In addition,
5731 # --gc-sections doesn't really work at the moment (keeps on discarding
5732 # used sections, first .eh_frame and now some of the glibc sections for
5733 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5734 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5735 echo "configure:5736: checking for ld that supports -Wl,--gc-sections" >&5
5736 if test "$cross_compiling" = yes; then
5737 ac_sectionLDflags=yes
5739 cat > conftest.$ac_ext <<EOF
5740 #line 5741 "configure"
5741 #include "confdefs.h"
5751 if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5753 ac_sectionLDflags=yes
5755 echo "configure: failed program was:" >&5
5756 cat conftest.$ac_ext >&5
5758 ac_sectionLDflags=no
5763 if test "$ac_test_CFLAGS" = set; then
5764 CFLAGS="$ac_save_CFLAGS"
5766 # this is the suspicious part
5769 if test "$ac_sectionLDflags" = "yes"; then
5770 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5772 echo "$ac_t""$ac_sectionLDflags" 1>&6
5775 # Set linker optimization flags.
5776 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5777 test x"$enable_debug" = x"no"; then
5778 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5785 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5786 echo "configure:5787: checking for main in -lm" >&5
5787 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5789 echo $ac_n "(cached) $ac_c" 1>&6
5791 ac_save_LIBS="$LIBS"
5793 cat > conftest.$ac_ext <<EOF
5794 #line 5795 "configure"
5795 #include "confdefs.h"
5801 if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5803 eval "ac_cv_lib_$ac_lib_var=yes"
5805 echo "configure: failed program was:" >&5
5806 cat conftest.$ac_ext >&5
5808 eval "ac_cv_lib_$ac_lib_var=no"
5811 LIBS="$ac_save_LIBS"
5814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5815 echo "$ac_t""yes" 1>&6
5816 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5817 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5818 cat >> confdefs.h <<EOF
5819 #define $ac_tr_lib 1
5825 echo "$ac_t""no" 1>&6
5828 for ac_func in nan copysignf
5830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5831 echo "configure:5832: checking for $ac_func" >&5
5832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5833 echo $ac_n "(cached) $ac_c" 1>&6
5835 cat > conftest.$ac_ext <<EOF
5836 #line 5837 "configure"
5837 #include "confdefs.h"
5838 /* System header to define __stub macros and hopefully few prototypes,
5839 which can conflict with char $ac_func(); below. */
5841 /* Override any gcc2 internal prototype to avoid an error. */
5842 /* We use char because int might match the return type of a gcc2
5843 builtin and then its argument prototype would still apply. */
5848 /* The GNU C library defines this for functions which it implements
5849 to always fail with ENOSYS. Some functions are actually named
5850 something starting with __ and the normal name is an alias. */
5851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5859 if { (eval echo configure:5860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5861 eval "ac_cv_func_$ac_func=yes"
5863 echo "configure: failed program was:" >&5
5864 cat conftest.$ac_ext >&5
5866 eval "ac_cv_func_$ac_func=no"
5871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5872 echo "$ac_t""yes" 1>&6
5873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5874 cat >> confdefs.h <<EOF
5875 #define $ac_tr_func 1
5879 echo "$ac_t""no" 1>&6
5880 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5886 USE_COMPLEX_LONG_DOUBLE=no
5887 if test x$ac_cv_func_copysignl = x"yes"; then
5888 USE_COMPLEX_LONG_DOUBLE=yes
5889 for ac_func in signbitl
5891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5892 echo "configure:5893: checking for $ac_func" >&5
5893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5894 echo $ac_n "(cached) $ac_c" 1>&6
5896 cat > conftest.$ac_ext <<EOF
5897 #line 5898 "configure"
5898 #include "confdefs.h"
5899 /* System header to define __stub macros and hopefully few prototypes,
5900 which can conflict with char $ac_func(); below. */
5902 /* Override any gcc2 internal prototype to avoid an error. */
5903 /* We use char because int might match the return type of a gcc2
5904 builtin and then its argument prototype would still apply. */
5909 /* The GNU C library defines this for functions which it implements
5910 to always fail with ENOSYS. Some functions are actually named
5911 something starting with __ and the normal name is an alias. */
5912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5920 if { (eval echo configure:5921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5922 eval "ac_cv_func_$ac_func=yes"
5924 echo "configure: failed program was:" >&5
5925 cat conftest.$ac_ext >&5
5927 eval "ac_cv_func_$ac_func=no"
5932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5933 echo "$ac_t""yes" 1>&6
5934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5935 cat >> confdefs.h <<EOF
5936 #define $ac_tr_func 1
5940 echo "$ac_t""no" 1>&6
5941 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5952 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5953 echo "configure:5954: checking for mbstate_t" >&5
5954 cat > conftest.$ac_ext <<EOF
5955 #line 5956 "configure"
5956 #include "confdefs.h"
5959 mbstate_t teststate;
5962 if { (eval echo configure:5963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5966 echo "configure: failed program was:" >&5
5967 cat conftest.$ac_ext >&5
5972 echo "$ac_t""$have_mbstate_t" 1>&6
5973 if test x"$have_mbstate_t" = xyes; then
5974 cat >> confdefs.h <<\EOF
5975 #define HAVE_MBSTATE_T 1
5980 for ac_hdr in wchar.h
5982 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5983 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5984 echo "configure:5985: checking for $ac_hdr" >&5
5985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5986 echo $ac_n "(cached) $ac_c" 1>&6
5988 cat > conftest.$ac_ext <<EOF
5989 #line 5990 "configure"
5990 #include "confdefs.h"
5993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5994 { (eval echo configure:5995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5996 if test -z "$ac_err"; then
5998 eval "ac_cv_header_$ac_safe=yes"
6001 echo "configure: failed program was:" >&5
6002 cat conftest.$ac_ext >&5
6004 eval "ac_cv_header_$ac_safe=no"
6008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6009 echo "$ac_t""yes" 1>&6
6010 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6011 cat >> confdefs.h <<EOF
6012 #define $ac_tr_hdr 1
6016 echo "$ac_t""no" 1>&6
6021 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
6022 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
6023 echo "configure:6024: checking for wctype.h" >&5
6024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6025 echo $ac_n "(cached) $ac_c" 1>&6
6027 cat > conftest.$ac_ext <<EOF
6028 #line 6029 "configure"
6029 #include "confdefs.h"
6032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6033 { (eval echo configure:6034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6035 if test -z "$ac_err"; then
6037 eval "ac_cv_header_$ac_safe=yes"
6040 echo "configure: failed program was:" >&5
6041 cat conftest.$ac_ext >&5
6043 eval "ac_cv_header_$ac_safe=no"
6047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6048 echo "$ac_t""yes" 1>&6
6051 echo "$ac_t""no" 1>&6
6056 if test x"$ac_has_wchar_h" = xyes &&
6057 test x"$ac_has_wctype_h" = xyes &&
6058 test x"$enable_c_mbchar" != xno; then
6060 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6061 echo "configure:6062: checking for WCHAR_MIN and WCHAR_MAX" >&5
6062 cat > conftest.$ac_ext <<EOF
6063 #line 6064 "configure"
6064 #include "confdefs.h"
6067 int i = WCHAR_MIN; int j = WCHAR_MAX;
6070 if { (eval echo configure:6071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6072 has_wchar_minmax=yes
6074 echo "configure: failed program was:" >&5
6075 cat conftest.$ac_ext >&5
6080 echo "$ac_t""$has_wchar_minmax" 1>&6
6082 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6083 echo "configure:6084: checking for WEOF" >&5
6084 cat > conftest.$ac_ext <<EOF
6085 #line 6086 "configure"
6086 #include "confdefs.h"
6094 if { (eval echo configure:6095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6098 echo "configure: failed program was:" >&5
6099 cat conftest.$ac_ext >&5
6104 echo "$ac_t""$has_weof" 1>&6
6107 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6110 echo "configure:6111: checking for $ac_func" >&5
6111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6112 echo $ac_n "(cached) $ac_c" 1>&6
6114 cat > conftest.$ac_ext <<EOF
6115 #line 6116 "configure"
6116 #include "confdefs.h"
6117 /* System header to define __stub macros and hopefully few prototypes,
6118 which can conflict with char $ac_func(); below. */
6120 /* Override any gcc2 internal prototype to avoid an error. */
6121 /* We use char because int might match the return type of a gcc2
6122 builtin and then its argument prototype would still apply. */
6127 /* The GNU C library defines this for functions which it implements
6128 to always fail with ENOSYS. Some functions are actually named
6129 something starting with __ and the normal name is an alias. */
6130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6140 eval "ac_cv_func_$ac_func=yes"
6142 echo "configure: failed program was:" >&5
6143 cat conftest.$ac_ext >&5
6145 eval "ac_cv_func_$ac_func=no"
6150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6151 echo "$ac_t""yes" 1>&6
6152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6153 cat >> confdefs.h <<EOF
6154 #define $ac_tr_func 1
6158 echo "$ac_t""no" 1>&6
6165 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6166 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6167 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6168 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6169 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6170 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6173 echo "configure:6174: checking for $ac_func" >&5
6174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6175 echo $ac_n "(cached) $ac_c" 1>&6
6177 cat > conftest.$ac_ext <<EOF
6178 #line 6179 "configure"
6179 #include "confdefs.h"
6180 /* System header to define __stub macros and hopefully few prototypes,
6181 which can conflict with char $ac_func(); below. */
6183 /* Override any gcc2 internal prototype to avoid an error. */
6184 /* We use char because int might match the return type of a gcc2
6185 builtin and then its argument prototype would still apply. */
6190 /* The GNU C library defines this for functions which it implements
6191 to always fail with ENOSYS. Some functions are actually named
6192 something starting with __ and the normal name is an alias. */
6193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6203 eval "ac_cv_func_$ac_func=yes"
6205 echo "configure: failed program was:" >&5
6206 cat conftest.$ac_ext >&5
6208 eval "ac_cv_func_$ac_func=no"
6213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6214 echo "$ac_t""yes" 1>&6
6215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6216 cat >> confdefs.h <<EOF
6217 #define $ac_tr_func 1
6221 echo "$ac_t""no" 1>&6
6228 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6229 echo "configure:6230: checking for ISO C99 wchar_t support" >&5
6230 if test x"$has_weof" = xyes &&
6231 test x"$has_wchar_minmax" = xyes &&
6232 test x"$ac_wfuncs" = xyes; then
6233 ac_isoC99_wchar_t=yes
6235 ac_isoC99_wchar_t=no
6237 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6239 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6240 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6241 echo "configure:6242: checking for iconv.h" >&5
6242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6243 echo $ac_n "(cached) $ac_c" 1>&6
6245 cat > conftest.$ac_ext <<EOF
6246 #line 6247 "configure"
6247 #include "confdefs.h"
6250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6251 { (eval echo configure:6252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6253 if test -z "$ac_err"; then
6255 eval "ac_cv_header_$ac_safe=yes"
6258 echo "configure: failed program was:" >&5
6259 cat conftest.$ac_ext >&5
6261 eval "ac_cv_header_$ac_safe=no"
6265 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6266 echo "$ac_t""yes" 1>&6
6269 echo "$ac_t""no" 1>&6
6273 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6274 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6275 echo "configure:6276: checking for langinfo.h" >&5
6276 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6277 echo $ac_n "(cached) $ac_c" 1>&6
6279 cat > conftest.$ac_ext <<EOF
6280 #line 6281 "configure"
6281 #include "confdefs.h"
6282 #include <langinfo.h>
6284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6285 { (eval echo configure:6286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6287 if test -z "$ac_err"; then
6289 eval "ac_cv_header_$ac_safe=yes"
6292 echo "configure: failed program was:" >&5
6293 cat conftest.$ac_ext >&5
6295 eval "ac_cv_header_$ac_safe=no"
6299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6300 echo "$ac_t""yes" 1>&6
6301 ac_has_langinfo_h=yes
6303 echo "$ac_t""no" 1>&6
6304 ac_has_langinfo_h=no
6308 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6309 echo "configure:6310: checking for iconv in -liconv" >&5
6310 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6312 echo $ac_n "(cached) $ac_c" 1>&6
6314 ac_save_LIBS="$LIBS"
6315 LIBS="-liconv $LIBS"
6316 cat > conftest.$ac_ext <<EOF
6317 #line 6318 "configure"
6318 #include "confdefs.h"
6319 /* Override any gcc2 internal prototype to avoid an error. */
6320 /* We use char because int might match the return type of a gcc2
6321 builtin and then its argument prototype would still apply. */
6328 if { (eval echo configure:6329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6330 eval "ac_cv_lib_$ac_lib_var=yes"
6332 echo "configure: failed program was:" >&5
6333 cat conftest.$ac_ext >&5
6335 eval "ac_cv_lib_$ac_lib_var=no"
6338 LIBS="$ac_save_LIBS"
6341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6342 echo "$ac_t""yes" 1>&6
6345 echo "$ac_t""no" 1>&6
6348 ac_save_LIBS="$LIBS"
6349 LIBS="$LIBS $libiconv"
6351 for ac_func in iconv_open iconv_close iconv nl_langinfo
6353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6354 echo "configure:6355: checking for $ac_func" >&5
6355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6356 echo $ac_n "(cached) $ac_c" 1>&6
6358 cat > conftest.$ac_ext <<EOF
6359 #line 6360 "configure"
6360 #include "confdefs.h"
6361 /* System header to define __stub macros and hopefully few prototypes,
6362 which can conflict with char $ac_func(); below. */
6364 /* Override any gcc2 internal prototype to avoid an error. */
6365 /* We use char because int might match the return type of a gcc2
6366 builtin and then its argument prototype would still apply. */
6371 /* The GNU C library defines this for functions which it implements
6372 to always fail with ENOSYS. Some functions are actually named
6373 something starting with __ and the normal name is an alias. */
6374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6382 if { (eval echo configure:6383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6384 eval "ac_cv_func_$ac_func=yes"
6386 echo "configure: failed program was:" >&5
6387 cat conftest.$ac_ext >&5
6389 eval "ac_cv_func_$ac_func=no"
6394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6395 echo "$ac_t""yes" 1>&6
6396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6397 cat >> confdefs.h <<EOF
6398 #define $ac_tr_func 1
6403 echo "$ac_t""no" 1>&6
6409 LIBS="$ac_save_LIBS"
6411 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6412 echo "configure:6413: checking for XPG2 wchar_t support" >&5
6413 if test x"$ac_has_iconv_h" = xyes &&
6414 test x"$ac_has_langinfo_h" = xyes &&
6415 test x"$ac_XPG2funcs" = xyes; then
6420 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6422 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6423 echo "configure:6424: checking for enabled wchar_t specializations" >&5
6424 if test x"$ac_isoC99_wchar_t" = xyes &&
6425 test x"$ac_XPG2_wchar_t" = xyes; then
6426 cat >> confdefs.h <<\EOF
6427 #define _GLIBCPP_USE_WCHAR_T 1
6430 echo "$ac_t"""yes"" 1>&6
6432 echo "$ac_t"""no"" 1>&6
6435 echo "configure: warning: wchar_t support disabled." 1>&2
6438 os_include_dir="config/os/bsd/netbsd"
6439 cat >> confdefs.h <<\EOF
6440 #define HAVE_COPYSIGN 1
6443 cat >> confdefs.h <<\EOF
6444 #define HAVE_COPYSIGNF 1
6447 cat >> confdefs.h <<\EOF
6448 #define HAVE_FINITEF 1
6451 cat >> confdefs.h <<\EOF
6452 #define HAVE_FREXPF 1
6455 cat >> confdefs.h <<\EOF
6456 #define HAVE_HYPOTF 1
6461 os_include_dir="config/os/newlib"
6462 cat >> confdefs.h <<\EOF
6463 #define HAVE_HYPOT 1
6469 # GLIBCPP_CHECK_STDLIB_SUPPORT
6470 cat >> confdefs.h <<\EOF
6471 #define HAVE_STRTOF 1
6474 cat >> confdefs.h <<\EOF
6475 #define HAVE_STRTOLD 1
6479 cat >> confdefs.h <<\EOF
6484 cat >> confdefs.h <<\EOF
6485 #define HAVE_ACOSF 1
6488 cat >> confdefs.h <<\EOF
6489 #define HAVE_ASINF 1
6492 cat >> confdefs.h <<\EOF
6493 #define HAVE_ATAN2F 1
6496 cat >> confdefs.h <<\EOF
6497 #define HAVE_ATANF 1
6500 cat >> confdefs.h <<\EOF
6501 #define HAVE_CEILF 1
6504 cat >> confdefs.h <<\EOF
6505 #define HAVE_COPYSIGN 1
6508 cat >> confdefs.h <<\EOF
6509 #define HAVE_COPYSIGNF 1
6512 cat >> confdefs.h <<\EOF
6516 cat >> confdefs.h <<\EOF
6517 #define HAVE_COSHF 1
6520 cat >> confdefs.h <<\EOF
6524 cat >> confdefs.h <<\EOF
6525 #define HAVE_FABSF 1
6528 cat >> confdefs.h <<\EOF
6529 #define HAVE_FINITE 1
6532 cat >> confdefs.h <<\EOF
6533 #define HAVE_FINITEF 1
6536 cat >> confdefs.h <<\EOF
6537 #define HAVE_FLOORF 1
6540 cat >> confdefs.h <<\EOF
6541 #define HAVE_FMODF 1
6544 cat >> confdefs.h <<\EOF
6545 #define HAVE_FREXPF 1
6548 cat >> confdefs.h <<\EOF
6549 #define HAVE_ISINF 1
6552 cat >> confdefs.h <<\EOF
6553 #define HAVE_ISINFF 1
6556 cat >> confdefs.h <<\EOF
6557 #define HAVE_ISNAN 1
6560 cat >> confdefs.h <<\EOF
6561 #define HAVE_ISNANF 1
6564 cat >> confdefs.h <<\EOF
6565 #define HAVE_LDEXPF 1
6568 cat >> confdefs.h <<\EOF
6569 #define HAVE_LOG10F 1
6572 cat >> confdefs.h <<\EOF
6576 cat >> confdefs.h <<\EOF
6577 #define HAVE_MODFF 1
6580 cat >> confdefs.h <<\EOF
6584 cat >> confdefs.h <<\EOF
6588 cat >> confdefs.h <<\EOF
6589 #define HAVE_SINHF 1
6592 cat >> confdefs.h <<\EOF
6593 #define HAVE_SQRTF 1
6596 cat >> confdefs.h <<\EOF
6600 cat >> confdefs.h <<\EOF
6601 #define HAVE_TANHF 1
6605 # At some point, we should differentiate between architectures
6606 # like x86, which have long double versions, and alpha/powerpc/etc.,
6607 # which don't. For the time being, punt.
6608 if test x"long_double_math_on_this_cpu" = x"yes"; then
6609 cat >> confdefs.h <<\EOF
6610 #define HAVE_ACOSL 1
6613 cat >> confdefs.h <<\EOF
6614 #define HAVE_ASINL 1
6617 cat >> confdefs.h <<\EOF
6618 #define HAVE_ATAN2L 1
6621 cat >> confdefs.h <<\EOF
6622 #define HAVE_ATANL 1
6625 cat >> confdefs.h <<\EOF
6626 #define HAVE_CEILL 1
6629 cat >> confdefs.h <<\EOF
6630 #define HAVE_COPYSIGNL 1
6633 cat >> confdefs.h <<\EOF
6637 cat >> confdefs.h <<\EOF
6638 #define HAVE_COSHL 1
6641 cat >> confdefs.h <<\EOF
6645 cat >> confdefs.h <<\EOF
6646 #define HAVE_FABSL 1
6649 cat >> confdefs.h <<\EOF
6650 #define HAVE_FINITEL 1
6653 cat >> confdefs.h <<\EOF
6654 #define HAVE_FLOORL 1
6657 cat >> confdefs.h <<\EOF
6658 #define HAVE_FMODL 1
6661 cat >> confdefs.h <<\EOF
6662 #define HAVE_FREXPL 1
6665 cat >> confdefs.h <<\EOF
6666 #define HAVE_ISINFL 1
6669 cat >> confdefs.h <<\EOF
6670 #define HAVE_ISNANL 1
6673 cat >> confdefs.h <<\EOF
6674 #define HAVE_LDEXPL 1
6677 cat >> confdefs.h <<\EOF
6678 #define HAVE_LOG10L 1
6681 cat >> confdefs.h <<\EOF
6685 cat >> confdefs.h <<\EOF
6686 #define HAVE_MODFL 1
6689 cat >> confdefs.h <<\EOF
6693 cat >> confdefs.h <<\EOF
6694 #define HAVE_SINCOSL 1
6697 cat >> confdefs.h <<\EOF
6701 cat >> confdefs.h <<\EOF
6702 #define HAVE_SINHL 1
6705 cat >> confdefs.h <<\EOF
6706 #define HAVE_SQRTL 1
6709 cat >> confdefs.h <<\EOF
6713 cat >> confdefs.h <<\EOF
6714 #define HAVE_TANHL 1
6720 # We are being configured natively. We can do more elaborate tests
6721 # that include AC_TRY_COMPILE now, as the linker is assumed to be
6723 GLIBCPP_IS_CROSS_COMPILING=0
6726 # Check for available headers.
6727 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
6728 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
6730 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6732 echo "configure:6733: checking for $ac_hdr" >&5
6733 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6734 echo $ac_n "(cached) $ac_c" 1>&6
6736 cat > conftest.$ac_ext <<EOF
6737 #line 6738 "configure"
6738 #include "confdefs.h"
6741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6742 { (eval echo configure:6743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6744 if test -z "$ac_err"; then
6746 eval "ac_cv_header_$ac_safe=yes"
6749 echo "configure: failed program was:" >&5
6750 cat conftest.$ac_ext >&5
6752 eval "ac_cv_header_$ac_safe=no"
6756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6757 echo "$ac_t""yes" 1>&6
6758 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6759 cat >> confdefs.h <<EOF
6760 #define $ac_tr_hdr 1
6764 echo "$ac_t""no" 1>&6
6770 # All these tests are for C++; save the language and the compiler flags.
6771 # The CXXFLAGS thing is suspicious, but based on similar bits previously
6772 # found in GLIBCPP_CONFIGURE.
6775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6776 ac_cpp='$CXXCPP $CPPFLAGS'
6777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6779 cross_compiling=$ac_cv_prog_cxx_cross
6781 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6782 ac_save_CXXFLAGS="$CXXFLAGS"
6784 # Check for maintainer-mode bits.
6785 if test x"$USE_MAINTAINER_MODE" = xno; then
6791 # Check for -ffunction-sections -fdata-sections
6792 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
6793 echo "configure:6794: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
6794 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
6795 cat > conftest.$ac_ext <<EOF
6796 #line 6797 "configure"
6797 #include "confdefs.h"
6804 if { (eval echo configure:6805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6808 echo "configure: failed program was:" >&5
6809 cat conftest.$ac_ext >&5
6814 if test "$ac_test_CXXFLAGS" = set; then
6815 CXXFLAGS="$ac_save_CXXFLAGS"
6817 # this is the suspicious part
6820 if test x"$ac_fdsections" = x"yes" &&
6821 test x"$enable_debug" = x"no"; then
6822 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6824 echo "$ac_t""$ac_fdsections" 1>&6
6827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6828 ac_cpp='$CPP $CPPFLAGS'
6829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6831 cross_compiling=$ac_cv_prog_cc_cross
6837 # If we're not using GNU ld, then there's no point in even trying these
6838 # tests. Check for that first. We should have already tested for gld
6839 # by now (in libtool), but require it now just to be safe...
6840 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6841 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6844 # Set --gc-sections.
6845 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
6846 # GNU ld it is! Joy and bunny rabbits!
6848 # All these tests are for C++; save the language and the compiler flags.
6849 # Need to do this so that g++ won't try to link in libstdc++
6850 ac_test_CFLAGS="${CFLAGS+set}"
6851 ac_save_CFLAGS="$CFLAGS"
6852 CFLAGS='-x c++ -Wl,--gc-sections'
6854 # Check for -Wl,--gc-sections
6855 # XXX This test is broken at the moment, as symbols required for
6856 # linking are now in libsupc++ (not built yet.....). In addition,
6857 # this test has cored on solaris in the past. In addition,
6858 # --gc-sections doesn't really work at the moment (keeps on discarding
6859 # used sections, first .eh_frame and now some of the glibc sections for
6860 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6861 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6862 echo "configure:6863: checking for ld that supports -Wl,--gc-sections" >&5
6863 if test "$cross_compiling" = yes; then
6864 ac_sectionLDflags=yes
6866 cat > conftest.$ac_ext <<EOF
6867 #line 6868 "configure"
6868 #include "confdefs.h"
6878 if { (eval echo configure:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6880 ac_sectionLDflags=yes
6882 echo "configure: failed program was:" >&5
6883 cat conftest.$ac_ext >&5
6885 ac_sectionLDflags=no
6890 if test "$ac_test_CFLAGS" = set; then
6891 CFLAGS="$ac_save_CFLAGS"
6893 # this is the suspicious part
6896 if test "$ac_sectionLDflags" = "yes"; then
6897 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6899 echo "$ac_t""$ac_sectionLDflags" 1>&6
6902 # Set linker optimization flags.
6903 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
6904 test x"$enable_debug" = x"no"; then
6905 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6913 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
6914 echo "configure:6915: checking for __builtin_abs declaration" >&5
6915 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6916 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6917 echo $ac_n "(cached) $ac_c" 1>&6
6922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6923 ac_cpp='$CXXCPP $CPPFLAGS'
6924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6926 cross_compiling=$ac_cv_prog_cxx_cross
6928 cat > conftest.$ac_ext <<EOF
6929 #line 6930 "configure"
6930 #include "confdefs.h"
6936 if { (eval echo configure:6937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6938 glibcpp_cv_func___builtin_abs_use=yes
6940 echo "configure: failed program was:" >&5
6941 cat conftest.$ac_ext >&5
6943 glibcpp_cv_func___builtin_abs_use=no
6947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6948 ac_cpp='$CPP $CPPFLAGS'
6949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6951 cross_compiling=$ac_cv_prog_cc_cross
6957 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
6958 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
6959 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
6960 echo "configure:6961: checking for __builtin_abs linkage" >&5
6961 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
6962 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
6963 echo $ac_n "(cached) $ac_c" 1>&6
6966 cat > conftest.$ac_ext <<EOF
6967 #line 6968 "configure"
6968 #include "confdefs.h"
6974 if { (eval echo configure:6975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6976 glibcpp_cv_func___builtin_abs_link=yes
6978 echo "configure: failed program was:" >&5
6979 cat conftest.$ac_ext >&5
6981 glibcpp_cv_func___builtin_abs_link=no
6988 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
6989 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
6990 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6991 cat >> confdefs.h <<EOF
6992 #define ${ac_tr_func} 1
6999 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
7000 echo "configure:7001: checking for __builtin_fabsf declaration" >&5
7001 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
7002 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
7003 echo $ac_n "(cached) $ac_c" 1>&6
7008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7009 ac_cpp='$CXXCPP $CPPFLAGS'
7010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7012 cross_compiling=$ac_cv_prog_cxx_cross
7014 cat > conftest.$ac_ext <<EOF
7015 #line 7016 "configure"
7016 #include "confdefs.h"
7022 if { (eval echo configure:7023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7024 glibcpp_cv_func___builtin_fabsf_use=yes
7026 echo "configure: failed program was:" >&5
7027 cat conftest.$ac_ext >&5
7029 glibcpp_cv_func___builtin_fabsf_use=no
7033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7034 ac_cpp='$CPP $CPPFLAGS'
7035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7037 cross_compiling=$ac_cv_prog_cc_cross
7043 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
7044 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
7045 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
7046 echo "configure:7047: checking for __builtin_fabsf linkage" >&5
7047 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
7048 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
7049 echo $ac_n "(cached) $ac_c" 1>&6
7052 cat > conftest.$ac_ext <<EOF
7053 #line 7054 "configure"
7054 #include "confdefs.h"
7060 if { (eval echo configure:7061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7062 glibcpp_cv_func___builtin_fabsf_link=yes
7064 echo "configure: failed program was:" >&5
7065 cat conftest.$ac_ext >&5
7067 glibcpp_cv_func___builtin_fabsf_link=no
7074 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7075 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7076 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7077 cat >> confdefs.h <<EOF
7078 #define ${ac_tr_func} 1
7085 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
7086 echo "configure:7087: checking for __builtin_fabs declaration" >&5
7087 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7088 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7089 echo $ac_n "(cached) $ac_c" 1>&6
7094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7095 ac_cpp='$CXXCPP $CPPFLAGS'
7096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7098 cross_compiling=$ac_cv_prog_cxx_cross
7100 cat > conftest.$ac_ext <<EOF
7101 #line 7102 "configure"
7102 #include "confdefs.h"
7108 if { (eval echo configure:7109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7110 glibcpp_cv_func___builtin_fabs_use=yes
7112 echo "configure: failed program was:" >&5
7113 cat conftest.$ac_ext >&5
7115 glibcpp_cv_func___builtin_fabs_use=no
7119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7120 ac_cpp='$CPP $CPPFLAGS'
7121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7123 cross_compiling=$ac_cv_prog_cc_cross
7129 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
7130 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
7131 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
7132 echo "configure:7133: checking for __builtin_fabs linkage" >&5
7133 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
7134 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
7135 echo $ac_n "(cached) $ac_c" 1>&6
7138 cat > conftest.$ac_ext <<EOF
7139 #line 7140 "configure"
7140 #include "confdefs.h"
7146 if { (eval echo configure:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7148 glibcpp_cv_func___builtin_fabs_link=yes
7150 echo "configure: failed program was:" >&5
7151 cat conftest.$ac_ext >&5
7153 glibcpp_cv_func___builtin_fabs_link=no
7160 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
7161 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
7162 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7163 cat >> confdefs.h <<EOF
7164 #define ${ac_tr_func} 1
7171 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
7172 echo "configure:7173: checking for __builtin_fabsl declaration" >&5
7173 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
7174 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
7175 echo $ac_n "(cached) $ac_c" 1>&6
7180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7181 ac_cpp='$CXXCPP $CPPFLAGS'
7182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7184 cross_compiling=$ac_cv_prog_cxx_cross
7186 cat > conftest.$ac_ext <<EOF
7187 #line 7188 "configure"
7188 #include "confdefs.h"
7194 if { (eval echo configure:7195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7196 glibcpp_cv_func___builtin_fabsl_use=yes
7198 echo "configure: failed program was:" >&5
7199 cat conftest.$ac_ext >&5
7201 glibcpp_cv_func___builtin_fabsl_use=no
7205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7209 cross_compiling=$ac_cv_prog_cc_cross
7215 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
7216 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
7217 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
7218 echo "configure:7219: checking for __builtin_fabsl linkage" >&5
7219 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
7220 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
7221 echo $ac_n "(cached) $ac_c" 1>&6
7224 cat > conftest.$ac_ext <<EOF
7225 #line 7226 "configure"
7226 #include "confdefs.h"
7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7234 glibcpp_cv_func___builtin_fabsl_link=yes
7236 echo "configure: failed program was:" >&5
7237 cat conftest.$ac_ext >&5
7239 glibcpp_cv_func___builtin_fabsl_link=no
7246 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
7247 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
7248 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7249 cat >> confdefs.h <<EOF
7250 #define ${ac_tr_func} 1
7257 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
7258 echo "configure:7259: checking for __builtin_labs declaration" >&5
7259 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
7260 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
7261 echo $ac_n "(cached) $ac_c" 1>&6
7266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7267 ac_cpp='$CXXCPP $CPPFLAGS'
7268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7270 cross_compiling=$ac_cv_prog_cxx_cross
7272 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure"
7274 #include "confdefs.h"
7280 if { (eval echo configure:7281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7282 glibcpp_cv_func___builtin_labs_use=yes
7284 echo "configure: failed program was:" >&5
7285 cat conftest.$ac_ext >&5
7287 glibcpp_cv_func___builtin_labs_use=no
7291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7295 cross_compiling=$ac_cv_prog_cc_cross
7301 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
7302 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
7303 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
7304 echo "configure:7305: checking for __builtin_labs linkage" >&5
7305 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
7306 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
7307 echo $ac_n "(cached) $ac_c" 1>&6
7310 cat > conftest.$ac_ext <<EOF
7311 #line 7312 "configure"
7312 #include "confdefs.h"
7318 if { (eval echo configure:7319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7320 glibcpp_cv_func___builtin_labs_link=yes
7322 echo "configure: failed program was:" >&5
7323 cat conftest.$ac_ext >&5
7325 glibcpp_cv_func___builtin_labs_link=no
7332 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
7333 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
7334 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7335 cat >> confdefs.h <<EOF
7336 #define ${ac_tr_func} 1
7344 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
7345 echo "configure:7346: checking for __builtin_sqrtf declaration" >&5
7346 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
7347 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
7348 echo $ac_n "(cached) $ac_c" 1>&6
7353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7354 ac_cpp='$CXXCPP $CPPFLAGS'
7355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7357 cross_compiling=$ac_cv_prog_cxx_cross
7359 cat > conftest.$ac_ext <<EOF
7360 #line 7361 "configure"
7361 #include "confdefs.h"
7367 if { (eval echo configure:7368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7369 glibcpp_cv_func___builtin_sqrtf_use=yes
7371 echo "configure: failed program was:" >&5
7372 cat conftest.$ac_ext >&5
7374 glibcpp_cv_func___builtin_sqrtf_use=no
7378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7379 ac_cpp='$CPP $CPPFLAGS'
7380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7382 cross_compiling=$ac_cv_prog_cc_cross
7388 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
7389 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
7390 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
7391 echo "configure:7392: checking for __builtin_sqrtf linkage" >&5
7392 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
7393 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
7394 echo $ac_n "(cached) $ac_c" 1>&6
7397 cat > conftest.$ac_ext <<EOF
7398 #line 7399 "configure"
7399 #include "confdefs.h"
7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7407 glibcpp_cv_func___builtin_sqrtf_link=yes
7409 echo "configure: failed program was:" >&5
7410 cat conftest.$ac_ext >&5
7412 glibcpp_cv_func___builtin_sqrtf_link=no
7419 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
7420 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
7421 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7422 cat >> confdefs.h <<EOF
7423 #define ${ac_tr_func} 1
7430 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
7431 echo "configure:7432: checking for __builtin_sqrt declaration" >&5
7432 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
7433 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
7434 echo $ac_n "(cached) $ac_c" 1>&6
7439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7440 ac_cpp='$CXXCPP $CPPFLAGS'
7441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7443 cross_compiling=$ac_cv_prog_cxx_cross
7445 cat > conftest.$ac_ext <<EOF
7446 #line 7447 "configure"
7447 #include "confdefs.h"
7453 if { (eval echo configure:7454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7455 glibcpp_cv_func___builtin_sqrt_use=yes
7457 echo "configure: failed program was:" >&5
7458 cat conftest.$ac_ext >&5
7460 glibcpp_cv_func___builtin_sqrt_use=no
7464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7465 ac_cpp='$CPP $CPPFLAGS'
7466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7468 cross_compiling=$ac_cv_prog_cc_cross
7474 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
7475 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
7476 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
7477 echo "configure:7478: checking for __builtin_sqrt linkage" >&5
7478 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
7479 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
7480 echo $ac_n "(cached) $ac_c" 1>&6
7483 cat > conftest.$ac_ext <<EOF
7484 #line 7485 "configure"
7485 #include "confdefs.h"
7491 if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7493 glibcpp_cv_func___builtin_sqrt_link=yes
7495 echo "configure: failed program was:" >&5
7496 cat conftest.$ac_ext >&5
7498 glibcpp_cv_func___builtin_sqrt_link=no
7505 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
7506 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
7507 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7508 cat >> confdefs.h <<EOF
7509 #define ${ac_tr_func} 1
7516 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
7517 echo "configure:7518: checking for __builtin_sqrtl declaration" >&5
7518 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
7519 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
7520 echo $ac_n "(cached) $ac_c" 1>&6
7525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7526 ac_cpp='$CXXCPP $CPPFLAGS'
7527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7529 cross_compiling=$ac_cv_prog_cxx_cross
7531 cat > conftest.$ac_ext <<EOF
7532 #line 7533 "configure"
7533 #include "confdefs.h"
7539 if { (eval echo configure:7540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7541 glibcpp_cv_func___builtin_sqrtl_use=yes
7543 echo "configure: failed program was:" >&5
7544 cat conftest.$ac_ext >&5
7546 glibcpp_cv_func___builtin_sqrtl_use=no
7550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7551 ac_cpp='$CPP $CPPFLAGS'
7552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7554 cross_compiling=$ac_cv_prog_cc_cross
7560 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
7561 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
7562 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
7563 echo "configure:7564: checking for __builtin_sqrtl linkage" >&5
7564 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
7565 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
7566 echo $ac_n "(cached) $ac_c" 1>&6
7569 cat > conftest.$ac_ext <<EOF
7570 #line 7571 "configure"
7571 #include "confdefs.h"
7577 if { (eval echo configure:7578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7579 glibcpp_cv_func___builtin_sqrtl_link=yes
7581 echo "configure: failed program was:" >&5
7582 cat conftest.$ac_ext >&5
7584 glibcpp_cv_func___builtin_sqrtl_link=no
7591 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
7592 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
7593 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7594 cat >> confdefs.h <<EOF
7595 #define ${ac_tr_func} 1
7603 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
7604 echo "configure:7605: checking for __builtin_sinf declaration" >&5
7605 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
7606 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
7607 echo $ac_n "(cached) $ac_c" 1>&6
7612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7613 ac_cpp='$CXXCPP $CPPFLAGS'
7614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7616 cross_compiling=$ac_cv_prog_cxx_cross
7618 cat > conftest.$ac_ext <<EOF
7619 #line 7620 "configure"
7620 #include "confdefs.h"
7626 if { (eval echo configure:7627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7628 glibcpp_cv_func___builtin_sinf_use=yes
7630 echo "configure: failed program was:" >&5
7631 cat conftest.$ac_ext >&5
7633 glibcpp_cv_func___builtin_sinf_use=no
7637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7638 ac_cpp='$CPP $CPPFLAGS'
7639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7641 cross_compiling=$ac_cv_prog_cc_cross
7647 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
7648 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
7649 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
7650 echo "configure:7651: checking for __builtin_sinf linkage" >&5
7651 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
7652 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
7653 echo $ac_n "(cached) $ac_c" 1>&6
7656 cat > conftest.$ac_ext <<EOF
7657 #line 7658 "configure"
7658 #include "confdefs.h"
7664 if { (eval echo configure:7665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7666 glibcpp_cv_func___builtin_sinf_link=yes
7668 echo "configure: failed program was:" >&5
7669 cat conftest.$ac_ext >&5
7671 glibcpp_cv_func___builtin_sinf_link=no
7678 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
7679 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
7680 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7681 cat >> confdefs.h <<EOF
7682 #define ${ac_tr_func} 1
7689 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
7690 echo "configure:7691: checking for __builtin_sin declaration" >&5
7691 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
7692 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7699 ac_cpp='$CXXCPP $CPPFLAGS'
7700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7702 cross_compiling=$ac_cv_prog_cxx_cross
7704 cat > conftest.$ac_ext <<EOF
7705 #line 7706 "configure"
7706 #include "confdefs.h"
7712 if { (eval echo configure:7713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7714 glibcpp_cv_func___builtin_sin_use=yes
7716 echo "configure: failed program was:" >&5
7717 cat conftest.$ac_ext >&5
7719 glibcpp_cv_func___builtin_sin_use=no
7723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7724 ac_cpp='$CPP $CPPFLAGS'
7725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7727 cross_compiling=$ac_cv_prog_cc_cross
7733 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
7734 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
7735 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
7736 echo "configure:7737: checking for __builtin_sin linkage" >&5
7737 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
7738 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
7739 echo $ac_n "(cached) $ac_c" 1>&6
7742 cat > conftest.$ac_ext <<EOF
7743 #line 7744 "configure"
7744 #include "confdefs.h"
7750 if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7752 glibcpp_cv_func___builtin_sin_link=yes
7754 echo "configure: failed program was:" >&5
7755 cat conftest.$ac_ext >&5
7757 glibcpp_cv_func___builtin_sin_link=no
7764 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
7765 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
7766 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7767 cat >> confdefs.h <<EOF
7768 #define ${ac_tr_func} 1
7775 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
7776 echo "configure:7777: checking for __builtin_sinl declaration" >&5
7777 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
7778 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
7779 echo $ac_n "(cached) $ac_c" 1>&6
7784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7785 ac_cpp='$CXXCPP $CPPFLAGS'
7786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7788 cross_compiling=$ac_cv_prog_cxx_cross
7790 cat > conftest.$ac_ext <<EOF
7791 #line 7792 "configure"
7792 #include "confdefs.h"
7798 if { (eval echo configure:7799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7800 glibcpp_cv_func___builtin_sinl_use=yes
7802 echo "configure: failed program was:" >&5
7803 cat conftest.$ac_ext >&5
7805 glibcpp_cv_func___builtin_sinl_use=no
7809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7810 ac_cpp='$CPP $CPPFLAGS'
7811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7813 cross_compiling=$ac_cv_prog_cc_cross
7819 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
7820 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
7821 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
7822 echo "configure:7823: checking for __builtin_sinl linkage" >&5
7823 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
7824 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
7825 echo $ac_n "(cached) $ac_c" 1>&6
7828 cat > conftest.$ac_ext <<EOF
7829 #line 7830 "configure"
7830 #include "confdefs.h"
7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7838 glibcpp_cv_func___builtin_sinl_link=yes
7840 echo "configure: failed program was:" >&5
7841 cat conftest.$ac_ext >&5
7843 glibcpp_cv_func___builtin_sinl_link=no
7850 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
7851 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
7852 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7853 cat >> confdefs.h <<EOF
7854 #define ${ac_tr_func} 1
7862 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
7863 echo "configure:7864: checking for __builtin_cosf declaration" >&5
7864 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
7865 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
7866 echo $ac_n "(cached) $ac_c" 1>&6
7871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7872 ac_cpp='$CXXCPP $CPPFLAGS'
7873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7875 cross_compiling=$ac_cv_prog_cxx_cross
7877 cat > conftest.$ac_ext <<EOF
7878 #line 7879 "configure"
7879 #include "confdefs.h"
7885 if { (eval echo configure:7886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7887 glibcpp_cv_func___builtin_cosf_use=yes
7889 echo "configure: failed program was:" >&5
7890 cat conftest.$ac_ext >&5
7892 glibcpp_cv_func___builtin_cosf_use=no
7896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7897 ac_cpp='$CPP $CPPFLAGS'
7898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7900 cross_compiling=$ac_cv_prog_cc_cross
7906 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7907 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7908 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
7909 echo "configure:7910: checking for __builtin_cosf linkage" >&5
7910 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7911 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7912 echo $ac_n "(cached) $ac_c" 1>&6
7915 cat > conftest.$ac_ext <<EOF
7916 #line 7917 "configure"
7917 #include "confdefs.h"
7923 if { (eval echo configure:7924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7925 glibcpp_cv_func___builtin_cosf_link=yes
7927 echo "configure: failed program was:" >&5
7928 cat conftest.$ac_ext >&5
7930 glibcpp_cv_func___builtin_cosf_link=no
7937 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
7938 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
7939 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7940 cat >> confdefs.h <<EOF
7941 #define ${ac_tr_func} 1
7948 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
7949 echo "configure:7950: checking for __builtin_cos declaration" >&5
7950 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
7951 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
7952 echo $ac_n "(cached) $ac_c" 1>&6
7957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7958 ac_cpp='$CXXCPP $CPPFLAGS'
7959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7961 cross_compiling=$ac_cv_prog_cxx_cross
7963 cat > conftest.$ac_ext <<EOF
7964 #line 7965 "configure"
7965 #include "confdefs.h"
7971 if { (eval echo configure:7972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7973 glibcpp_cv_func___builtin_cos_use=yes
7975 echo "configure: failed program was:" >&5
7976 cat conftest.$ac_ext >&5
7978 glibcpp_cv_func___builtin_cos_use=no
7982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7983 ac_cpp='$CPP $CPPFLAGS'
7984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7986 cross_compiling=$ac_cv_prog_cc_cross
7992 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
7993 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
7994 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
7995 echo "configure:7996: checking for __builtin_cos linkage" >&5
7996 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
7997 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
7998 echo $ac_n "(cached) $ac_c" 1>&6
8001 cat > conftest.$ac_ext <<EOF
8002 #line 8003 "configure"
8003 #include "confdefs.h"
8009 if { (eval echo configure:8010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8011 glibcpp_cv_func___builtin_cos_link=yes
8013 echo "configure: failed program was:" >&5
8014 cat conftest.$ac_ext >&5
8016 glibcpp_cv_func___builtin_cos_link=no
8023 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
8024 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
8025 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8026 cat >> confdefs.h <<EOF
8027 #define ${ac_tr_func} 1
8034 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
8035 echo "configure:8036: checking for __builtin_cosl declaration" >&5
8036 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
8037 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
8038 echo $ac_n "(cached) $ac_c" 1>&6
8043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8044 ac_cpp='$CXXCPP $CPPFLAGS'
8045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8047 cross_compiling=$ac_cv_prog_cxx_cross
8049 cat > conftest.$ac_ext <<EOF
8050 #line 8051 "configure"
8051 #include "confdefs.h"
8057 if { (eval echo configure:8058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8059 glibcpp_cv_func___builtin_cosl_use=yes
8061 echo "configure: failed program was:" >&5
8062 cat conftest.$ac_ext >&5
8064 glibcpp_cv_func___builtin_cosl_use=no
8068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8069 ac_cpp='$CPP $CPPFLAGS'
8070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8072 cross_compiling=$ac_cv_prog_cc_cross
8078 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8079 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8080 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
8081 echo "configure:8082: checking for __builtin_cosl linkage" >&5
8082 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8083 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8084 echo $ac_n "(cached) $ac_c" 1>&6
8087 cat > conftest.$ac_ext <<EOF
8088 #line 8089 "configure"
8089 #include "confdefs.h"
8095 if { (eval echo configure:8096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8097 glibcpp_cv_func___builtin_cosl_link=yes
8099 echo "configure: failed program was:" >&5
8100 cat conftest.$ac_ext >&5
8102 glibcpp_cv_func___builtin_cosl_link=no
8109 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
8110 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
8111 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8112 cat >> confdefs.h <<EOF
8113 #define ${ac_tr_func} 1
8121 if test x$dummyvar = x"yes"; then
8122 cat >> confdefs.h <<\EOF
8123 #define HAVE___BUILTIN_ABS 1
8126 cat >> confdefs.h <<\EOF
8127 #define HAVE___BUILTIN_LABS 1
8130 cat >> confdefs.h <<\EOF
8131 #define HAVE___BUILTIN_COS 1
8134 cat >> confdefs.h <<\EOF
8135 #define HAVE___BUILTIN_COSF 1
8138 cat >> confdefs.h <<\EOF
8139 #define HAVE___BUILTIN_COSL 1
8142 cat >> confdefs.h <<\EOF
8143 #define HAVE___BUILTIN_FABS 1
8146 cat >> confdefs.h <<\EOF
8147 #define HAVE___BUILTIN_FABSF 1
8150 cat >> confdefs.h <<\EOF
8151 #define HAVE___BUILTIN_FABSL 1
8154 cat >> confdefs.h <<\EOF
8155 #define HAVE___BUILTIN_SIN 1
8158 cat >> confdefs.h <<\EOF
8159 #define HAVE___BUILTIN_SINF 1
8162 cat >> confdefs.h <<\EOF
8163 #define HAVE___BUILTIN_SINL 1
8166 cat >> confdefs.h <<\EOF
8167 #define HAVE___BUILTIN_SQRT 1
8170 cat >> confdefs.h <<\EOF
8171 #define HAVE___BUILTIN_SQRTF 1
8174 cat >> confdefs.h <<\EOF
8175 #define HAVE___BUILTIN_SQRTL 1
8181 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8182 ac_save_CXXFLAGS="$CXXFLAGS"
8183 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
8185 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
8186 echo "configure:8187: checking for sin in -lm" >&5
8187 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
8188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8189 echo $ac_n "(cached) $ac_c" 1>&6
8191 ac_save_LIBS="$LIBS"
8193 cat > conftest.$ac_ext <<EOF
8194 #line 8195 "configure"
8195 #include "confdefs.h"
8196 /* Override any gcc2 internal prototype to avoid an error. */
8197 /* We use char because int might match the return type of a gcc2
8198 builtin and then its argument prototype would still apply. */
8205 if { (eval echo configure:8206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8207 eval "ac_cv_lib_$ac_lib_var=yes"
8209 echo "configure: failed program was:" >&5
8210 cat conftest.$ac_ext >&5
8212 eval "ac_cv_lib_$ac_lib_var=no"
8215 LIBS="$ac_save_LIBS"
8218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8219 echo "$ac_t""yes" 1>&6
8222 echo "$ac_t""no" 1>&6
8225 ac_save_LIBS="$LIBS"
8230 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
8231 echo "configure:8232: checking for isinf declaration" >&5
8232 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
8233 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
8234 echo $ac_n "(cached) $ac_c" 1>&6
8239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8240 ac_cpp='$CXXCPP $CPPFLAGS'
8241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8243 cross_compiling=$ac_cv_prog_cxx_cross
8245 cat > conftest.$ac_ext <<EOF
8246 #line 8247 "configure"
8247 #include "confdefs.h"
8249 #ifdef HAVE_IEEEFP_H
8257 if { (eval echo configure:8258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8259 glibcpp_cv_func_isinf_use=yes
8261 echo "configure: failed program was:" >&5
8262 cat conftest.$ac_ext >&5
8264 glibcpp_cv_func_isinf_use=no
8268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8269 ac_cpp='$CPP $CPPFLAGS'
8270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8272 cross_compiling=$ac_cv_prog_cc_cross
8278 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
8280 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
8281 for ac_func in isinf
8283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8284 echo "configure:8285: checking for $ac_func" >&5
8285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8286 echo $ac_n "(cached) $ac_c" 1>&6
8288 cat > conftest.$ac_ext <<EOF
8289 #line 8290 "configure"
8290 #include "confdefs.h"
8291 /* System header to define __stub macros and hopefully few prototypes,
8292 which can conflict with char $ac_func(); below. */
8294 /* Override any gcc2 internal prototype to avoid an error. */
8295 /* We use char because int might match the return type of a gcc2
8296 builtin and then its argument prototype would still apply. */
8301 /* The GNU C library defines this for functions which it implements
8302 to always fail with ENOSYS. Some functions are actually named
8303 something starting with __ and the normal name is an alias. */
8304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8314 eval "ac_cv_func_$ac_func=yes"
8316 echo "configure: failed program was:" >&5
8317 cat conftest.$ac_ext >&5
8319 eval "ac_cv_func_$ac_func=no"
8324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8325 echo "$ac_t""yes" 1>&6
8326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8327 cat >> confdefs.h <<EOF
8328 #define $ac_tr_func 1
8332 echo "$ac_t""no" 1>&6
8338 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
8339 echo "configure:8340: checking for _isinf declaration" >&5
8340 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
8341 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
8342 echo $ac_n "(cached) $ac_c" 1>&6
8347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8348 ac_cpp='$CXXCPP $CPPFLAGS'
8349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8351 cross_compiling=$ac_cv_prog_cxx_cross
8353 cat > conftest.$ac_ext <<EOF
8354 #line 8355 "configure"
8355 #include "confdefs.h"
8357 #ifdef HAVE_IEEEFP_H
8365 if { (eval echo configure:8366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8367 glibcpp_cv_func__isinf_use=yes
8369 echo "configure: failed program was:" >&5
8370 cat conftest.$ac_ext >&5
8372 glibcpp_cv_func__isinf_use=no
8376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8377 ac_cpp='$CPP $CPPFLAGS'
8378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8380 cross_compiling=$ac_cv_prog_cc_cross
8386 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
8388 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
8389 for ac_func in _isinf
8391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8392 echo "configure:8393: checking for $ac_func" >&5
8393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8394 echo $ac_n "(cached) $ac_c" 1>&6
8396 cat > conftest.$ac_ext <<EOF
8397 #line 8398 "configure"
8398 #include "confdefs.h"
8399 /* System header to define __stub macros and hopefully few prototypes,
8400 which can conflict with char $ac_func(); below. */
8402 /* Override any gcc2 internal prototype to avoid an error. */
8403 /* We use char because int might match the return type of a gcc2
8404 builtin and then its argument prototype would still apply. */
8409 /* The GNU C library defines this for functions which it implements
8410 to always fail with ENOSYS. Some functions are actually named
8411 something starting with __ and the normal name is an alias. */
8412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8420 if { (eval echo configure:8421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8422 eval "ac_cv_func_$ac_func=yes"
8424 echo "configure: failed program was:" >&5
8425 cat conftest.$ac_ext >&5
8427 eval "ac_cv_func_$ac_func=no"
8432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8433 echo "$ac_t""yes" 1>&6
8434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8435 cat >> confdefs.h <<EOF
8436 #define $ac_tr_func 1
8440 echo "$ac_t""no" 1>&6
8449 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
8450 echo "configure:8451: checking for isnan declaration" >&5
8451 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
8452 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
8453 echo $ac_n "(cached) $ac_c" 1>&6
8458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8459 ac_cpp='$CXXCPP $CPPFLAGS'
8460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8462 cross_compiling=$ac_cv_prog_cxx_cross
8464 cat > conftest.$ac_ext <<EOF
8465 #line 8466 "configure"
8466 #include "confdefs.h"
8468 #ifdef HAVE_IEEEFP_H
8476 if { (eval echo configure:8477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8478 glibcpp_cv_func_isnan_use=yes
8480 echo "configure: failed program was:" >&5
8481 cat conftest.$ac_ext >&5
8483 glibcpp_cv_func_isnan_use=no
8487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8491 cross_compiling=$ac_cv_prog_cc_cross
8497 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
8499 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
8500 for ac_func in isnan
8502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8503 echo "configure:8504: checking for $ac_func" >&5
8504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8505 echo $ac_n "(cached) $ac_c" 1>&6
8507 cat > conftest.$ac_ext <<EOF
8508 #line 8509 "configure"
8509 #include "confdefs.h"
8510 /* System header to define __stub macros and hopefully few prototypes,
8511 which can conflict with char $ac_func(); below. */
8513 /* Override any gcc2 internal prototype to avoid an error. */
8514 /* We use char because int might match the return type of a gcc2
8515 builtin and then its argument prototype would still apply. */
8520 /* The GNU C library defines this for functions which it implements
8521 to always fail with ENOSYS. Some functions are actually named
8522 something starting with __ and the normal name is an alias. */
8523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8531 if { (eval echo configure:8532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8533 eval "ac_cv_func_$ac_func=yes"
8535 echo "configure: failed program was:" >&5
8536 cat conftest.$ac_ext >&5
8538 eval "ac_cv_func_$ac_func=no"
8543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8544 echo "$ac_t""yes" 1>&6
8545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8546 cat >> confdefs.h <<EOF
8547 #define $ac_tr_func 1
8551 echo "$ac_t""no" 1>&6
8557 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
8558 echo "configure:8559: checking for _isnan declaration" >&5
8559 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
8560 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
8561 echo $ac_n "(cached) $ac_c" 1>&6
8566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8567 ac_cpp='$CXXCPP $CPPFLAGS'
8568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8570 cross_compiling=$ac_cv_prog_cxx_cross
8572 cat > conftest.$ac_ext <<EOF
8573 #line 8574 "configure"
8574 #include "confdefs.h"
8576 #ifdef HAVE_IEEEFP_H
8584 if { (eval echo configure:8585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8586 glibcpp_cv_func__isnan_use=yes
8588 echo "configure: failed program was:" >&5
8589 cat conftest.$ac_ext >&5
8591 glibcpp_cv_func__isnan_use=no
8595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8596 ac_cpp='$CPP $CPPFLAGS'
8597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8599 cross_compiling=$ac_cv_prog_cc_cross
8605 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
8607 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
8608 for ac_func in _isnan
8610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8611 echo "configure:8612: checking for $ac_func" >&5
8612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8613 echo $ac_n "(cached) $ac_c" 1>&6
8615 cat > conftest.$ac_ext <<EOF
8616 #line 8617 "configure"
8617 #include "confdefs.h"
8618 /* System header to define __stub macros and hopefully few prototypes,
8619 which can conflict with char $ac_func(); below. */
8621 /* Override any gcc2 internal prototype to avoid an error. */
8622 /* We use char because int might match the return type of a gcc2
8623 builtin and then its argument prototype would still apply. */
8628 /* The GNU C library defines this for functions which it implements
8629 to always fail with ENOSYS. Some functions are actually named
8630 something starting with __ and the normal name is an alias. */
8631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8639 if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8641 eval "ac_cv_func_$ac_func=yes"
8643 echo "configure: failed program was:" >&5
8644 cat conftest.$ac_ext >&5
8646 eval "ac_cv_func_$ac_func=no"
8651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8652 echo "$ac_t""yes" 1>&6
8653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8654 cat >> confdefs.h <<EOF
8655 #define $ac_tr_func 1
8659 echo "$ac_t""no" 1>&6
8668 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
8669 echo "configure:8670: checking for finite declaration" >&5
8670 if test x${glibcpp_cv_func_finite_use+set} != xset; then
8671 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
8672 echo $ac_n "(cached) $ac_c" 1>&6
8677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8678 ac_cpp='$CXXCPP $CPPFLAGS'
8679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8681 cross_compiling=$ac_cv_prog_cxx_cross
8683 cat > conftest.$ac_ext <<EOF
8684 #line 8685 "configure"
8685 #include "confdefs.h"
8687 #ifdef HAVE_IEEEFP_H
8695 if { (eval echo configure:8696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8697 glibcpp_cv_func_finite_use=yes
8699 echo "configure: failed program was:" >&5
8700 cat conftest.$ac_ext >&5
8702 glibcpp_cv_func_finite_use=no
8706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8707 ac_cpp='$CPP $CPPFLAGS'
8708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8710 cross_compiling=$ac_cv_prog_cc_cross
8716 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
8718 if test x$glibcpp_cv_func_finite_use = x"yes"; then
8719 for ac_func in finite
8721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8722 echo "configure:8723: checking for $ac_func" >&5
8723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8724 echo $ac_n "(cached) $ac_c" 1>&6
8726 cat > conftest.$ac_ext <<EOF
8727 #line 8728 "configure"
8728 #include "confdefs.h"
8729 /* System header to define __stub macros and hopefully few prototypes,
8730 which can conflict with char $ac_func(); below. */
8732 /* Override any gcc2 internal prototype to avoid an error. */
8733 /* We use char because int might match the return type of a gcc2
8734 builtin and then its argument prototype would still apply. */
8739 /* The GNU C library defines this for functions which it implements
8740 to always fail with ENOSYS. Some functions are actually named
8741 something starting with __ and the normal name is an alias. */
8742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8750 if { (eval echo configure:8751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8752 eval "ac_cv_func_$ac_func=yes"
8754 echo "configure: failed program was:" >&5
8755 cat conftest.$ac_ext >&5
8757 eval "ac_cv_func_$ac_func=no"
8762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8763 echo "$ac_t""yes" 1>&6
8764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8765 cat >> confdefs.h <<EOF
8766 #define $ac_tr_func 1
8770 echo "$ac_t""no" 1>&6
8776 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
8777 echo "configure:8778: checking for _finite declaration" >&5
8778 if test x${glibcpp_cv_func__finite_use+set} != xset; then
8779 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
8780 echo $ac_n "(cached) $ac_c" 1>&6
8785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8786 ac_cpp='$CXXCPP $CPPFLAGS'
8787 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8788 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8789 cross_compiling=$ac_cv_prog_cxx_cross
8791 cat > conftest.$ac_ext <<EOF
8792 #line 8793 "configure"
8793 #include "confdefs.h"
8795 #ifdef HAVE_IEEEFP_H
8803 if { (eval echo configure:8804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8805 glibcpp_cv_func__finite_use=yes
8807 echo "configure: failed program was:" >&5
8808 cat conftest.$ac_ext >&5
8810 glibcpp_cv_func__finite_use=no
8814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8815 ac_cpp='$CPP $CPPFLAGS'
8816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8818 cross_compiling=$ac_cv_prog_cc_cross
8824 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
8826 if test x$glibcpp_cv_func__finite_use = x"yes"; then
8827 for ac_func in _finite
8829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8830 echo "configure:8831: checking for $ac_func" >&5
8831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8832 echo $ac_n "(cached) $ac_c" 1>&6
8834 cat > conftest.$ac_ext <<EOF
8835 #line 8836 "configure"
8836 #include "confdefs.h"
8837 /* System header to define __stub macros and hopefully few prototypes,
8838 which can conflict with char $ac_func(); below. */
8840 /* Override any gcc2 internal prototype to avoid an error. */
8841 /* We use char because int might match the return type of a gcc2
8842 builtin and then its argument prototype would still apply. */
8847 /* The GNU C library defines this for functions which it implements
8848 to always fail with ENOSYS. Some functions are actually named
8849 something starting with __ and the normal name is an alias. */
8850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8858 if { (eval echo configure:8859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8860 eval "ac_cv_func_$ac_func=yes"
8862 echo "configure: failed program was:" >&5
8863 cat conftest.$ac_ext >&5
8865 eval "ac_cv_func_$ac_func=no"
8870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8871 echo "$ac_t""yes" 1>&6
8872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8873 cat >> confdefs.h <<EOF
8874 #define $ac_tr_func 1
8878 echo "$ac_t""no" 1>&6
8887 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
8888 echo "configure:8889: checking for copysign declaration" >&5
8889 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
8890 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8891 echo $ac_n "(cached) $ac_c" 1>&6
8896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8897 ac_cpp='$CXXCPP $CPPFLAGS'
8898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8900 cross_compiling=$ac_cv_prog_cxx_cross
8902 cat > conftest.$ac_ext <<EOF
8903 #line 8904 "configure"
8904 #include "confdefs.h"
8910 if { (eval echo configure:8911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8912 glibcpp_cv_func_copysign_use=yes
8914 echo "configure: failed program was:" >&5
8915 cat conftest.$ac_ext >&5
8917 glibcpp_cv_func_copysign_use=no
8921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8922 ac_cpp='$CPP $CPPFLAGS'
8923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8925 cross_compiling=$ac_cv_prog_cc_cross
8931 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
8933 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
8934 for ac_func in copysign
8936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8937 echo "configure:8938: checking for $ac_func" >&5
8938 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8939 echo $ac_n "(cached) $ac_c" 1>&6
8941 cat > conftest.$ac_ext <<EOF
8942 #line 8943 "configure"
8943 #include "confdefs.h"
8944 /* System header to define __stub macros and hopefully few prototypes,
8945 which can conflict with char $ac_func(); below. */
8947 /* Override any gcc2 internal prototype to avoid an error. */
8948 /* We use char because int might match the return type of a gcc2
8949 builtin and then its argument prototype would still apply. */
8954 /* The GNU C library defines this for functions which it implements
8955 to always fail with ENOSYS. Some functions are actually named
8956 something starting with __ and the normal name is an alias. */
8957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8965 if { (eval echo configure:8966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8967 eval "ac_cv_func_$ac_func=yes"
8969 echo "configure: failed program was:" >&5
8970 cat conftest.$ac_ext >&5
8972 eval "ac_cv_func_$ac_func=no"
8977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8978 echo "$ac_t""yes" 1>&6
8979 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8980 cat >> confdefs.h <<EOF
8981 #define $ac_tr_func 1
8985 echo "$ac_t""no" 1>&6
8991 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
8992 echo "configure:8993: checking for _copysign declaration" >&5
8993 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
8994 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
9000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9001 ac_cpp='$CXXCPP $CPPFLAGS'
9002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9004 cross_compiling=$ac_cv_prog_cxx_cross
9006 cat > conftest.$ac_ext <<EOF
9007 #line 9008 "configure"
9008 #include "confdefs.h"
9014 if { (eval echo configure:9015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9016 glibcpp_cv_func__copysign_use=yes
9018 echo "configure: failed program was:" >&5
9019 cat conftest.$ac_ext >&5
9021 glibcpp_cv_func__copysign_use=no
9025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9026 ac_cpp='$CPP $CPPFLAGS'
9027 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9028 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9029 cross_compiling=$ac_cv_prog_cc_cross
9035 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
9037 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
9038 for ac_func in _copysign
9040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9041 echo "configure:9042: checking for $ac_func" >&5
9042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9043 echo $ac_n "(cached) $ac_c" 1>&6
9045 cat > conftest.$ac_ext <<EOF
9046 #line 9047 "configure"
9047 #include "confdefs.h"
9048 /* System header to define __stub macros and hopefully few prototypes,
9049 which can conflict with char $ac_func(); below. */
9051 /* Override any gcc2 internal prototype to avoid an error. */
9052 /* We use char because int might match the return type of a gcc2
9053 builtin and then its argument prototype would still apply. */
9058 /* The GNU C library defines this for functions which it implements
9059 to always fail with ENOSYS. Some functions are actually named
9060 something starting with __ and the normal name is an alias. */
9061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9069 if { (eval echo configure:9070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9071 eval "ac_cv_func_$ac_func=yes"
9073 echo "configure: failed program was:" >&5
9074 cat conftest.$ac_ext >&5
9076 eval "ac_cv_func_$ac_func=no"
9081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9082 echo "$ac_t""yes" 1>&6
9083 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9084 cat >> confdefs.h <<EOF
9085 #define $ac_tr_func 1
9089 echo "$ac_t""no" 1>&6
9098 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
9099 echo "configure:9100: checking for sincos declaration" >&5
9100 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
9101 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
9102 echo $ac_n "(cached) $ac_c" 1>&6
9107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9108 ac_cpp='$CXXCPP $CPPFLAGS'
9109 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9110 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9111 cross_compiling=$ac_cv_prog_cxx_cross
9113 cat > conftest.$ac_ext <<EOF
9114 #line 9115 "configure"
9115 #include "confdefs.h"
9121 if { (eval echo configure:9122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9123 glibcpp_cv_func_sincos_use=yes
9125 echo "configure: failed program was:" >&5
9126 cat conftest.$ac_ext >&5
9128 glibcpp_cv_func_sincos_use=no
9132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9133 ac_cpp='$CPP $CPPFLAGS'
9134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9136 cross_compiling=$ac_cv_prog_cc_cross
9142 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
9144 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
9145 for ac_func in sincos
9147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9148 echo "configure:9149: checking for $ac_func" >&5
9149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9150 echo $ac_n "(cached) $ac_c" 1>&6
9152 cat > conftest.$ac_ext <<EOF
9153 #line 9154 "configure"
9154 #include "confdefs.h"
9155 /* System header to define __stub macros and hopefully few prototypes,
9156 which can conflict with char $ac_func(); below. */
9158 /* Override any gcc2 internal prototype to avoid an error. */
9159 /* We use char because int might match the return type of a gcc2
9160 builtin and then its argument prototype would still apply. */
9165 /* The GNU C library defines this for functions which it implements
9166 to always fail with ENOSYS. Some functions are actually named
9167 something starting with __ and the normal name is an alias. */
9168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9176 if { (eval echo configure:9177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9178 eval "ac_cv_func_$ac_func=yes"
9180 echo "configure: failed program was:" >&5
9181 cat conftest.$ac_ext >&5
9183 eval "ac_cv_func_$ac_func=no"
9188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9189 echo "$ac_t""yes" 1>&6
9190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9191 cat >> confdefs.h <<EOF
9192 #define $ac_tr_func 1
9196 echo "$ac_t""no" 1>&6
9202 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
9203 echo "configure:9204: checking for _sincos declaration" >&5
9204 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
9205 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
9206 echo $ac_n "(cached) $ac_c" 1>&6
9211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9212 ac_cpp='$CXXCPP $CPPFLAGS'
9213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9215 cross_compiling=$ac_cv_prog_cxx_cross
9217 cat > conftest.$ac_ext <<EOF
9218 #line 9219 "configure"
9219 #include "confdefs.h"
9225 if { (eval echo configure:9226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9227 glibcpp_cv_func__sincos_use=yes
9229 echo "configure: failed program was:" >&5
9230 cat conftest.$ac_ext >&5
9232 glibcpp_cv_func__sincos_use=no
9236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9237 ac_cpp='$CPP $CPPFLAGS'
9238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9240 cross_compiling=$ac_cv_prog_cc_cross
9246 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
9248 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
9249 for ac_func in _sincos
9251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9252 echo "configure:9253: checking for $ac_func" >&5
9253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9254 echo $ac_n "(cached) $ac_c" 1>&6
9256 cat > conftest.$ac_ext <<EOF
9257 #line 9258 "configure"
9258 #include "confdefs.h"
9259 /* System header to define __stub macros and hopefully few prototypes,
9260 which can conflict with char $ac_func(); below. */
9262 /* Override any gcc2 internal prototype to avoid an error. */
9263 /* We use char because int might match the return type of a gcc2
9264 builtin and then its argument prototype would still apply. */
9269 /* The GNU C library defines this for functions which it implements
9270 to always fail with ENOSYS. Some functions are actually named
9271 something starting with __ and the normal name is an alias. */
9272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9280 if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9282 eval "ac_cv_func_$ac_func=yes"
9284 echo "configure: failed program was:" >&5
9285 cat conftest.$ac_ext >&5
9287 eval "ac_cv_func_$ac_func=no"
9292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9293 echo "$ac_t""yes" 1>&6
9294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9295 cat >> confdefs.h <<EOF
9296 #define $ac_tr_func 1
9300 echo "$ac_t""no" 1>&6
9309 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
9310 echo "configure:9311: checking for fpclass declaration" >&5
9311 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
9312 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
9313 echo $ac_n "(cached) $ac_c" 1>&6
9318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9319 ac_cpp='$CXXCPP $CPPFLAGS'
9320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9322 cross_compiling=$ac_cv_prog_cxx_cross
9324 cat > conftest.$ac_ext <<EOF
9325 #line 9326 "configure"
9326 #include "confdefs.h"
9328 #ifdef HAVE_IEEEFP_H
9336 if { (eval echo configure:9337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9338 glibcpp_cv_func_fpclass_use=yes
9340 echo "configure: failed program was:" >&5
9341 cat conftest.$ac_ext >&5
9343 glibcpp_cv_func_fpclass_use=no
9347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9348 ac_cpp='$CPP $CPPFLAGS'
9349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9351 cross_compiling=$ac_cv_prog_cc_cross
9357 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
9359 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
9360 for ac_func in fpclass
9362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9363 echo "configure:9364: checking for $ac_func" >&5
9364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9365 echo $ac_n "(cached) $ac_c" 1>&6
9367 cat > conftest.$ac_ext <<EOF
9368 #line 9369 "configure"
9369 #include "confdefs.h"
9370 /* System header to define __stub macros and hopefully few prototypes,
9371 which can conflict with char $ac_func(); below. */
9373 /* Override any gcc2 internal prototype to avoid an error. */
9374 /* We use char because int might match the return type of a gcc2
9375 builtin and then its argument prototype would still apply. */
9380 /* The GNU C library defines this for functions which it implements
9381 to always fail with ENOSYS. Some functions are actually named
9382 something starting with __ and the normal name is an alias. */
9383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9391 if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9393 eval "ac_cv_func_$ac_func=yes"
9395 echo "configure: failed program was:" >&5
9396 cat conftest.$ac_ext >&5
9398 eval "ac_cv_func_$ac_func=no"
9403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9404 echo "$ac_t""yes" 1>&6
9405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9406 cat >> confdefs.h <<EOF
9407 #define $ac_tr_func 1
9411 echo "$ac_t""no" 1>&6
9417 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
9418 echo "configure:9419: checking for _fpclass declaration" >&5
9419 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
9420 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
9421 echo $ac_n "(cached) $ac_c" 1>&6
9426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9427 ac_cpp='$CXXCPP $CPPFLAGS'
9428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9430 cross_compiling=$ac_cv_prog_cxx_cross
9432 cat > conftest.$ac_ext <<EOF
9433 #line 9434 "configure"
9434 #include "confdefs.h"
9436 #ifdef HAVE_IEEEFP_H
9444 if { (eval echo configure:9445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9446 glibcpp_cv_func__fpclass_use=yes
9448 echo "configure: failed program was:" >&5
9449 cat conftest.$ac_ext >&5
9451 glibcpp_cv_func__fpclass_use=no
9455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9456 ac_cpp='$CPP $CPPFLAGS'
9457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9459 cross_compiling=$ac_cv_prog_cc_cross
9465 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
9467 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
9468 for ac_func in _fpclass
9470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9471 echo "configure:9472: checking for $ac_func" >&5
9472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9473 echo $ac_n "(cached) $ac_c" 1>&6
9475 cat > conftest.$ac_ext <<EOF
9476 #line 9477 "configure"
9477 #include "confdefs.h"
9478 /* System header to define __stub macros and hopefully few prototypes,
9479 which can conflict with char $ac_func(); below. */
9481 /* Override any gcc2 internal prototype to avoid an error. */
9482 /* We use char because int might match the return type of a gcc2
9483 builtin and then its argument prototype would still apply. */
9488 /* The GNU C library defines this for functions which it implements
9489 to always fail with ENOSYS. Some functions are actually named
9490 something starting with __ and the normal name is an alias. */
9491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9501 eval "ac_cv_func_$ac_func=yes"
9503 echo "configure: failed program was:" >&5
9504 cat conftest.$ac_ext >&5
9506 eval "ac_cv_func_$ac_func=no"
9511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9512 echo "$ac_t""yes" 1>&6
9513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9514 cat >> confdefs.h <<EOF
9515 #define $ac_tr_func 1
9519 echo "$ac_t""no" 1>&6
9528 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
9529 echo "configure:9530: checking for qfpclass declaration" >&5
9530 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
9531 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
9532 echo $ac_n "(cached) $ac_c" 1>&6
9537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9538 ac_cpp='$CXXCPP $CPPFLAGS'
9539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9541 cross_compiling=$ac_cv_prog_cxx_cross
9543 cat > conftest.$ac_ext <<EOF
9544 #line 9545 "configure"
9545 #include "confdefs.h"
9547 #ifdef HAVE_IEEEFP_H
9555 if { (eval echo configure:9556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9557 glibcpp_cv_func_qfpclass_use=yes
9559 echo "configure: failed program was:" >&5
9560 cat conftest.$ac_ext >&5
9562 glibcpp_cv_func_qfpclass_use=no
9566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9567 ac_cpp='$CPP $CPPFLAGS'
9568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9570 cross_compiling=$ac_cv_prog_cc_cross
9576 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
9578 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
9579 for ac_func in qfpclass
9581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9582 echo "configure:9583: checking for $ac_func" >&5
9583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9584 echo $ac_n "(cached) $ac_c" 1>&6
9586 cat > conftest.$ac_ext <<EOF
9587 #line 9588 "configure"
9588 #include "confdefs.h"
9589 /* System header to define __stub macros and hopefully few prototypes,
9590 which can conflict with char $ac_func(); below. */
9592 /* Override any gcc2 internal prototype to avoid an error. */
9593 /* We use char because int might match the return type of a gcc2
9594 builtin and then its argument prototype would still apply. */
9599 /* The GNU C library defines this for functions which it implements
9600 to always fail with ENOSYS. Some functions are actually named
9601 something starting with __ and the normal name is an alias. */
9602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9610 if { (eval echo configure:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9612 eval "ac_cv_func_$ac_func=yes"
9614 echo "configure: failed program was:" >&5
9615 cat conftest.$ac_ext >&5
9617 eval "ac_cv_func_$ac_func=no"
9622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9623 echo "$ac_t""yes" 1>&6
9624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9625 cat >> confdefs.h <<EOF
9626 #define $ac_tr_func 1
9630 echo "$ac_t""no" 1>&6
9636 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
9637 echo "configure:9638: checking for _qfpclass declaration" >&5
9638 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
9639 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9646 ac_cpp='$CXXCPP $CPPFLAGS'
9647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9649 cross_compiling=$ac_cv_prog_cxx_cross
9651 cat > conftest.$ac_ext <<EOF
9652 #line 9653 "configure"
9653 #include "confdefs.h"
9655 #ifdef HAVE_IEEEFP_H
9663 if { (eval echo configure:9664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9665 glibcpp_cv_func__qfpclass_use=yes
9667 echo "configure: failed program was:" >&5
9668 cat conftest.$ac_ext >&5
9670 glibcpp_cv_func__qfpclass_use=no
9674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9675 ac_cpp='$CPP $CPPFLAGS'
9676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9678 cross_compiling=$ac_cv_prog_cc_cross
9684 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
9686 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
9687 for ac_func in _qfpclass
9689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9690 echo "configure:9691: checking for $ac_func" >&5
9691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9694 cat > conftest.$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9697 /* System header to define __stub macros and hopefully few prototypes,
9698 which can conflict with char $ac_func(); below. */
9700 /* Override any gcc2 internal prototype to avoid an error. */
9701 /* We use char because int might match the return type of a gcc2
9702 builtin and then its argument prototype would still apply. */
9707 /* The GNU C library defines this for functions which it implements
9708 to always fail with ENOSYS. Some functions are actually named
9709 something starting with __ and the normal name is an alias. */
9710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9718 if { (eval echo configure:9719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9720 eval "ac_cv_func_$ac_func=yes"
9722 echo "configure: failed program was:" >&5
9723 cat conftest.$ac_ext >&5
9725 eval "ac_cv_func_$ac_func=no"
9730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9731 echo "$ac_t""yes" 1>&6
9732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9733 cat >> confdefs.h <<EOF
9734 #define $ac_tr_func 1
9738 echo "$ac_t""no" 1>&6
9747 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
9748 echo "configure:9749: checking for hypot declaration" >&5
9749 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
9750 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
9751 echo $ac_n "(cached) $ac_c" 1>&6
9756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9757 ac_cpp='$CXXCPP $CPPFLAGS'
9758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9760 cross_compiling=$ac_cv_prog_cxx_cross
9762 cat > conftest.$ac_ext <<EOF
9763 #line 9764 "configure"
9764 #include "confdefs.h"
9770 if { (eval echo configure:9771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9772 glibcpp_cv_func_hypot_use=yes
9774 echo "configure: failed program was:" >&5
9775 cat conftest.$ac_ext >&5
9777 glibcpp_cv_func_hypot_use=no
9781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9782 ac_cpp='$CPP $CPPFLAGS'
9783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9785 cross_compiling=$ac_cv_prog_cc_cross
9791 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
9793 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
9794 for ac_func in hypot
9796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9797 echo "configure:9798: checking for $ac_func" >&5
9798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9799 echo $ac_n "(cached) $ac_c" 1>&6
9801 cat > conftest.$ac_ext <<EOF
9802 #line 9803 "configure"
9803 #include "confdefs.h"
9804 /* System header to define __stub macros and hopefully few prototypes,
9805 which can conflict with char $ac_func(); below. */
9807 /* Override any gcc2 internal prototype to avoid an error. */
9808 /* We use char because int might match the return type of a gcc2
9809 builtin and then its argument prototype would still apply. */
9814 /* The GNU C library defines this for functions which it implements
9815 to always fail with ENOSYS. Some functions are actually named
9816 something starting with __ and the normal name is an alias. */
9817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9825 if { (eval echo configure:9826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9827 eval "ac_cv_func_$ac_func=yes"
9829 echo "configure: failed program was:" >&5
9830 cat conftest.$ac_ext >&5
9832 eval "ac_cv_func_$ac_func=no"
9837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9838 echo "$ac_t""yes" 1>&6
9839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9840 cat >> confdefs.h <<EOF
9841 #define $ac_tr_func 1
9845 echo "$ac_t""no" 1>&6
9851 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
9852 echo "configure:9853: checking for _hypot declaration" >&5
9853 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
9854 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
9855 echo $ac_n "(cached) $ac_c" 1>&6
9860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9861 ac_cpp='$CXXCPP $CPPFLAGS'
9862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9864 cross_compiling=$ac_cv_prog_cxx_cross
9866 cat > conftest.$ac_ext <<EOF
9867 #line 9868 "configure"
9868 #include "confdefs.h"
9874 if { (eval echo configure:9875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9876 glibcpp_cv_func__hypot_use=yes
9878 echo "configure: failed program was:" >&5
9879 cat conftest.$ac_ext >&5
9881 glibcpp_cv_func__hypot_use=no
9885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9886 ac_cpp='$CPP $CPPFLAGS'
9887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9889 cross_compiling=$ac_cv_prog_cc_cross
9895 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9897 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9898 for ac_func in _hypot
9900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9901 echo "configure:9902: checking for $ac_func" >&5
9902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9903 echo $ac_n "(cached) $ac_c" 1>&6
9905 cat > conftest.$ac_ext <<EOF
9906 #line 9907 "configure"
9907 #include "confdefs.h"
9908 /* System header to define __stub macros and hopefully few prototypes,
9909 which can conflict with char $ac_func(); below. */
9911 /* Override any gcc2 internal prototype to avoid an error. */
9912 /* We use char because int might match the return type of a gcc2
9913 builtin and then its argument prototype would still apply. */
9918 /* The GNU C library defines this for functions which it implements
9919 to always fail with ENOSYS. Some functions are actually named
9920 something starting with __ and the normal name is an alias. */
9921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9929 if { (eval echo configure:9930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9931 eval "ac_cv_func_$ac_func=yes"
9933 echo "configure: failed program was:" >&5
9934 cat conftest.$ac_ext >&5
9936 eval "ac_cv_func_$ac_func=no"
9941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9942 echo "$ac_t""yes" 1>&6
9943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9944 cat >> confdefs.h <<EOF
9945 #define $ac_tr_func 1
9949 echo "$ac_t""no" 1>&6
9958 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
9959 echo "configure:9960: checking for float trig functions" >&5
9960 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
9961 echo $ac_n "(cached) $ac_c" 1>&6
9966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9967 ac_cpp='$CXXCPP $CPPFLAGS'
9968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9970 cross_compiling=$ac_cv_prog_cxx_cross
9972 cat > conftest.$ac_ext <<EOF
9973 #line 9974 "configure"
9974 #include "confdefs.h"
9977 `for x in acosf asinf atanf \
9979 coshf sinhf tanhf; do echo "$x (0);"; done`
9982 if { (eval echo configure:9983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9984 glibcpp_cv_func_float_trig_use=yes
9986 echo "configure: failed program was:" >&5
9987 cat conftest.$ac_ext >&5
9989 glibcpp_cv_func_float_trig_use=no
9993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9994 ac_cpp='$CPP $CPPFLAGS'
9995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9997 cross_compiling=$ac_cv_prog_cc_cross
10001 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
10002 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
10003 for ac_func in acosf asinf atanf \
10007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10008 echo "configure:10009: checking for $ac_func" >&5
10009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10012 cat > conftest.$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10015 /* System header to define __stub macros and hopefully few prototypes,
10016 which can conflict with char $ac_func(); below. */
10017 #include <assert.h>
10018 /* Override any gcc2 internal prototype to avoid an error. */
10019 /* We use char because int might match the return type of a gcc2
10020 builtin and then its argument prototype would still apply. */
10025 /* The GNU C library defines this for functions which it implements
10026 to always fail with ENOSYS. Some functions are actually named
10027 something starting with __ and the normal name is an alias. */
10028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10038 eval "ac_cv_func_$ac_func=yes"
10040 echo "configure: failed program was:" >&5
10041 cat conftest.$ac_ext >&5
10043 eval "ac_cv_func_$ac_func=no"
10048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10051 cat >> confdefs.h <<EOF
10052 #define $ac_tr_func 1
10056 echo "$ac_t""no" 1>&6
10063 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
10064 echo "configure:10065: checking for float round functions" >&5
10065 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10066 echo $ac_n "(cached) $ac_c" 1>&6
10071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10072 ac_cpp='$CXXCPP $CPPFLAGS'
10073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10075 cross_compiling=$ac_cv_prog_cxx_cross
10077 cat > conftest.$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10082 `for x in ceilf floorf; do echo "$x (0);"; done`
10085 if { (eval echo configure:10086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10087 glibcpp_cv_func_float_round_use=yes
10089 echo "configure: failed program was:" >&5
10090 cat conftest.$ac_ext >&5
10092 glibcpp_cv_func_float_round_use=no
10096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10097 ac_cpp='$CPP $CPPFLAGS'
10098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10100 cross_compiling=$ac_cv_prog_cc_cross
10104 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
10105 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
10106 for ac_func in ceilf floorf
10108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10109 echo "configure:10110: checking for $ac_func" >&5
10110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10111 echo $ac_n "(cached) $ac_c" 1>&6
10113 cat > conftest.$ac_ext <<EOF
10114 #line 10115 "configure"
10115 #include "confdefs.h"
10116 /* System header to define __stub macros and hopefully few prototypes,
10117 which can conflict with char $ac_func(); below. */
10118 #include <assert.h>
10119 /* Override any gcc2 internal prototype to avoid an error. */
10120 /* We use char because int might match the return type of a gcc2
10121 builtin and then its argument prototype would still apply. */
10126 /* The GNU C library defines this for functions which it implements
10127 to always fail with ENOSYS. Some functions are actually named
10128 something starting with __ and the normal name is an alias. */
10129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10137 if { (eval echo configure:10138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10139 eval "ac_cv_func_$ac_func=yes"
10141 echo "configure: failed program was:" >&5
10142 cat conftest.$ac_ext >&5
10144 eval "ac_cv_func_$ac_func=no"
10149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10150 echo "$ac_t""yes" 1>&6
10151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10152 cat >> confdefs.h <<EOF
10153 #define $ac_tr_func 1
10157 echo "$ac_t""no" 1>&6
10165 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
10166 echo "configure:10167: checking for isnanf declaration" >&5
10167 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
10168 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
10169 echo $ac_n "(cached) $ac_c" 1>&6
10174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10175 ac_cpp='$CXXCPP $CPPFLAGS'
10176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10178 cross_compiling=$ac_cv_prog_cxx_cross
10180 cat > conftest.$ac_ext <<EOF
10181 #line 10182 "configure"
10182 #include "confdefs.h"
10184 #ifdef HAVE_IEEEFP_H
10185 #include <ieeefp.h>
10192 if { (eval echo configure:10193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10194 glibcpp_cv_func_isnanf_use=yes
10196 echo "configure: failed program was:" >&5
10197 cat conftest.$ac_ext >&5
10199 glibcpp_cv_func_isnanf_use=no
10203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10204 ac_cpp='$CPP $CPPFLAGS'
10205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10207 cross_compiling=$ac_cv_prog_cc_cross
10213 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
10215 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
10216 for ac_func in isnanf
10218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10219 echo "configure:10220: checking for $ac_func" >&5
10220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10221 echo $ac_n "(cached) $ac_c" 1>&6
10223 cat > conftest.$ac_ext <<EOF
10224 #line 10225 "configure"
10225 #include "confdefs.h"
10226 /* System header to define __stub macros and hopefully few prototypes,
10227 which can conflict with char $ac_func(); below. */
10228 #include <assert.h>
10229 /* Override any gcc2 internal prototype to avoid an error. */
10230 /* We use char because int might match the return type of a gcc2
10231 builtin and then its argument prototype would still apply. */
10236 /* The GNU C library defines this for functions which it implements
10237 to always fail with ENOSYS. Some functions are actually named
10238 something starting with __ and the normal name is an alias. */
10239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10247 if { (eval echo configure:10248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10249 eval "ac_cv_func_$ac_func=yes"
10251 echo "configure: failed program was:" >&5
10252 cat conftest.$ac_ext >&5
10254 eval "ac_cv_func_$ac_func=no"
10259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10260 echo "$ac_t""yes" 1>&6
10261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10262 cat >> confdefs.h <<EOF
10263 #define $ac_tr_func 1
10267 echo "$ac_t""no" 1>&6
10273 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
10274 echo "configure:10275: checking for _isnanf declaration" >&5
10275 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
10276 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
10277 echo $ac_n "(cached) $ac_c" 1>&6
10282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10283 ac_cpp='$CXXCPP $CPPFLAGS'
10284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10286 cross_compiling=$ac_cv_prog_cxx_cross
10288 cat > conftest.$ac_ext <<EOF
10289 #line 10290 "configure"
10290 #include "confdefs.h"
10292 #ifdef HAVE_IEEEFP_H
10293 #include <ieeefp.h>
10300 if { (eval echo configure:10301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10302 glibcpp_cv_func__isnanf_use=yes
10304 echo "configure: failed program was:" >&5
10305 cat conftest.$ac_ext >&5
10307 glibcpp_cv_func__isnanf_use=no
10311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10312 ac_cpp='$CPP $CPPFLAGS'
10313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10315 cross_compiling=$ac_cv_prog_cc_cross
10321 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
10323 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
10324 for ac_func in _isnanf
10326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10327 echo "configure:10328: checking for $ac_func" >&5
10328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10329 echo $ac_n "(cached) $ac_c" 1>&6
10331 cat > conftest.$ac_ext <<EOF
10332 #line 10333 "configure"
10333 #include "confdefs.h"
10334 /* System header to define __stub macros and hopefully few prototypes,
10335 which can conflict with char $ac_func(); below. */
10336 #include <assert.h>
10337 /* Override any gcc2 internal prototype to avoid an error. */
10338 /* We use char because int might match the return type of a gcc2
10339 builtin and then its argument prototype would still apply. */
10344 /* The GNU C library defines this for functions which it implements
10345 to always fail with ENOSYS. Some functions are actually named
10346 something starting with __ and the normal name is an alias. */
10347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10355 if { (eval echo configure:10356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10357 eval "ac_cv_func_$ac_func=yes"
10359 echo "configure: failed program was:" >&5
10360 cat conftest.$ac_ext >&5
10362 eval "ac_cv_func_$ac_func=no"
10367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10368 echo "$ac_t""yes" 1>&6
10369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10370 cat >> confdefs.h <<EOF
10371 #define $ac_tr_func 1
10375 echo "$ac_t""no" 1>&6
10384 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
10385 echo "configure:10386: checking for isinff declaration" >&5
10386 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
10387 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
10388 echo $ac_n "(cached) $ac_c" 1>&6
10393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10394 ac_cpp='$CXXCPP $CPPFLAGS'
10395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10397 cross_compiling=$ac_cv_prog_cxx_cross
10399 cat > conftest.$ac_ext <<EOF
10400 #line 10401 "configure"
10401 #include "confdefs.h"
10403 #ifdef HAVE_IEEEFP_H
10404 #include <ieeefp.h>
10411 if { (eval echo configure:10412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10413 glibcpp_cv_func_isinff_use=yes
10415 echo "configure: failed program was:" >&5
10416 cat conftest.$ac_ext >&5
10418 glibcpp_cv_func_isinff_use=no
10422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10423 ac_cpp='$CPP $CPPFLAGS'
10424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10426 cross_compiling=$ac_cv_prog_cc_cross
10432 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
10434 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
10435 for ac_func in isinff
10437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10438 echo "configure:10439: checking for $ac_func" >&5
10439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10440 echo $ac_n "(cached) $ac_c" 1>&6
10442 cat > conftest.$ac_ext <<EOF
10443 #line 10444 "configure"
10444 #include "confdefs.h"
10445 /* System header to define __stub macros and hopefully few prototypes,
10446 which can conflict with char $ac_func(); below. */
10447 #include <assert.h>
10448 /* Override any gcc2 internal prototype to avoid an error. */
10449 /* We use char because int might match the return type of a gcc2
10450 builtin and then its argument prototype would still apply. */
10455 /* The GNU C library defines this for functions which it implements
10456 to always fail with ENOSYS. Some functions are actually named
10457 something starting with __ and the normal name is an alias. */
10458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10466 if { (eval echo configure:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10468 eval "ac_cv_func_$ac_func=yes"
10470 echo "configure: failed program was:" >&5
10471 cat conftest.$ac_ext >&5
10473 eval "ac_cv_func_$ac_func=no"
10478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10479 echo "$ac_t""yes" 1>&6
10480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10481 cat >> confdefs.h <<EOF
10482 #define $ac_tr_func 1
10486 echo "$ac_t""no" 1>&6
10492 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
10493 echo "configure:10494: checking for _isinff declaration" >&5
10494 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
10495 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
10496 echo $ac_n "(cached) $ac_c" 1>&6
10501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10502 ac_cpp='$CXXCPP $CPPFLAGS'
10503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10505 cross_compiling=$ac_cv_prog_cxx_cross
10507 cat > conftest.$ac_ext <<EOF
10508 #line 10509 "configure"
10509 #include "confdefs.h"
10511 #ifdef HAVE_IEEEFP_H
10512 #include <ieeefp.h>
10519 if { (eval echo configure:10520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10521 glibcpp_cv_func__isinff_use=yes
10523 echo "configure: failed program was:" >&5
10524 cat conftest.$ac_ext >&5
10526 glibcpp_cv_func__isinff_use=no
10530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10531 ac_cpp='$CPP $CPPFLAGS'
10532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10534 cross_compiling=$ac_cv_prog_cc_cross
10540 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
10542 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
10543 for ac_func in _isinff
10545 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10546 echo "configure:10547: checking for $ac_func" >&5
10547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10548 echo $ac_n "(cached) $ac_c" 1>&6
10550 cat > conftest.$ac_ext <<EOF
10551 #line 10552 "configure"
10552 #include "confdefs.h"
10553 /* System header to define __stub macros and hopefully few prototypes,
10554 which can conflict with char $ac_func(); below. */
10555 #include <assert.h>
10556 /* Override any gcc2 internal prototype to avoid an error. */
10557 /* We use char because int might match the return type of a gcc2
10558 builtin and then its argument prototype would still apply. */
10563 /* The GNU C library defines this for functions which it implements
10564 to always fail with ENOSYS. Some functions are actually named
10565 something starting with __ and the normal name is an alias. */
10566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10574 if { (eval echo configure:10575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10576 eval "ac_cv_func_$ac_func=yes"
10578 echo "configure: failed program was:" >&5
10579 cat conftest.$ac_ext >&5
10581 eval "ac_cv_func_$ac_func=no"
10586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10587 echo "$ac_t""yes" 1>&6
10588 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10589 cat >> confdefs.h <<EOF
10590 #define $ac_tr_func 1
10594 echo "$ac_t""no" 1>&6
10603 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
10604 echo "configure:10605: checking for atan2f declaration" >&5
10605 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
10606 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
10607 echo $ac_n "(cached) $ac_c" 1>&6
10612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10613 ac_cpp='$CXXCPP $CPPFLAGS'
10614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10616 cross_compiling=$ac_cv_prog_cxx_cross
10618 cat > conftest.$ac_ext <<EOF
10619 #line 10620 "configure"
10620 #include "confdefs.h"
10626 if { (eval echo configure:10627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10628 glibcpp_cv_func_atan2f_use=yes
10630 echo "configure: failed program was:" >&5
10631 cat conftest.$ac_ext >&5
10633 glibcpp_cv_func_atan2f_use=no
10637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10638 ac_cpp='$CPP $CPPFLAGS'
10639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10641 cross_compiling=$ac_cv_prog_cc_cross
10647 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
10649 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
10650 for ac_func in atan2f
10652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10653 echo "configure:10654: checking for $ac_func" >&5
10654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10655 echo $ac_n "(cached) $ac_c" 1>&6
10657 cat > conftest.$ac_ext <<EOF
10658 #line 10659 "configure"
10659 #include "confdefs.h"
10660 /* System header to define __stub macros and hopefully few prototypes,
10661 which can conflict with char $ac_func(); below. */
10662 #include <assert.h>
10663 /* Override any gcc2 internal prototype to avoid an error. */
10664 /* We use char because int might match the return type of a gcc2
10665 builtin and then its argument prototype would still apply. */
10670 /* The GNU C library defines this for functions which it implements
10671 to always fail with ENOSYS. Some functions are actually named
10672 something starting with __ and the normal name is an alias. */
10673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10681 if { (eval echo configure:10682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10683 eval "ac_cv_func_$ac_func=yes"
10685 echo "configure: failed program was:" >&5
10686 cat conftest.$ac_ext >&5
10688 eval "ac_cv_func_$ac_func=no"
10693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10694 echo "$ac_t""yes" 1>&6
10695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10696 cat >> confdefs.h <<EOF
10697 #define $ac_tr_func 1
10701 echo "$ac_t""no" 1>&6
10707 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
10708 echo "configure:10709: checking for _atan2f declaration" >&5
10709 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
10710 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
10711 echo $ac_n "(cached) $ac_c" 1>&6
10716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10717 ac_cpp='$CXXCPP $CPPFLAGS'
10718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10720 cross_compiling=$ac_cv_prog_cxx_cross
10722 cat > conftest.$ac_ext <<EOF
10723 #line 10724 "configure"
10724 #include "confdefs.h"
10730 if { (eval echo configure:10731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10732 glibcpp_cv_func__atan2f_use=yes
10734 echo "configure: failed program was:" >&5
10735 cat conftest.$ac_ext >&5
10737 glibcpp_cv_func__atan2f_use=no
10741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10742 ac_cpp='$CPP $CPPFLAGS'
10743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10745 cross_compiling=$ac_cv_prog_cc_cross
10751 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
10753 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
10754 for ac_func in _atan2f
10756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10757 echo "configure:10758: checking for $ac_func" >&5
10758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10759 echo $ac_n "(cached) $ac_c" 1>&6
10761 cat > conftest.$ac_ext <<EOF
10762 #line 10763 "configure"
10763 #include "confdefs.h"
10764 /* System header to define __stub macros and hopefully few prototypes,
10765 which can conflict with char $ac_func(); below. */
10766 #include <assert.h>
10767 /* Override any gcc2 internal prototype to avoid an error. */
10768 /* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */
10774 /* The GNU C library defines this for functions which it implements
10775 to always fail with ENOSYS. Some functions are actually named
10776 something starting with __ and the normal name is an alias. */
10777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10785 if { (eval echo configure:10786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10787 eval "ac_cv_func_$ac_func=yes"
10789 echo "configure: failed program was:" >&5
10790 cat conftest.$ac_ext >&5
10792 eval "ac_cv_func_$ac_func=no"
10797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10798 echo "$ac_t""yes" 1>&6
10799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10800 cat >> confdefs.h <<EOF
10801 #define $ac_tr_func 1
10805 echo "$ac_t""no" 1>&6
10814 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
10815 echo "configure:10816: checking for fabsf declaration" >&5
10816 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
10817 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
10818 echo $ac_n "(cached) $ac_c" 1>&6
10823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10824 ac_cpp='$CXXCPP $CPPFLAGS'
10825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10827 cross_compiling=$ac_cv_prog_cxx_cross
10829 cat > conftest.$ac_ext <<EOF
10830 #line 10831 "configure"
10831 #include "confdefs.h"
10833 #ifdef HAVE_IEEEFP_H
10834 #include <ieeefp.h>
10841 if { (eval echo configure:10842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10843 glibcpp_cv_func_fabsf_use=yes
10845 echo "configure: failed program was:" >&5
10846 cat conftest.$ac_ext >&5
10848 glibcpp_cv_func_fabsf_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_fabsf_use" 1>&6
10864 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
10865 for ac_func in fabsf
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 _fabsf declaration""... $ac_c" 1>&6
10923 echo "configure:10924: checking for _fabsf declaration" >&5
10924 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10925 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_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"
10941 #ifdef HAVE_IEEEFP_H
10942 #include <ieeefp.h>
10949 if { (eval echo configure:10950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10951 glibcpp_cv_func__fabsf_use=yes
10953 echo "configure: failed program was:" >&5
10954 cat conftest.$ac_ext >&5
10956 glibcpp_cv_func__fabsf_use=no
10960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10961 ac_cpp='$CPP $CPPFLAGS'
10962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10964 cross_compiling=$ac_cv_prog_cc_cross
10970 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
10972 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
10973 for ac_func in _fabsf
10975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10976 echo "configure:10977: checking for $ac_func" >&5
10977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10978 echo $ac_n "(cached) $ac_c" 1>&6
10980 cat > conftest.$ac_ext <<EOF
10981 #line 10982 "configure"
10982 #include "confdefs.h"
10983 /* System header to define __stub macros and hopefully few prototypes,
10984 which can conflict with char $ac_func(); below. */
10985 #include <assert.h>
10986 /* Override any gcc2 internal prototype to avoid an error. */
10987 /* We use char because int might match the return type of a gcc2
10988 builtin and then its argument prototype would still apply. */
10993 /* The GNU C library defines this for functions which it implements
10994 to always fail with ENOSYS. Some functions are actually named
10995 something starting with __ and the normal name is an alias. */
10996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11006 eval "ac_cv_func_$ac_func=yes"
11008 echo "configure: failed program was:" >&5
11009 cat conftest.$ac_ext >&5
11011 eval "ac_cv_func_$ac_func=no"
11016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11017 echo "$ac_t""yes" 1>&6
11018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11019 cat >> confdefs.h <<EOF
11020 #define $ac_tr_func 1
11024 echo "$ac_t""no" 1>&6
11033 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
11034 echo "configure:11035: checking for fmodf declaration" >&5
11035 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
11036 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
11037 echo $ac_n "(cached) $ac_c" 1>&6
11042 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11043 ac_cpp='$CXXCPP $CPPFLAGS'
11044 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11045 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11046 cross_compiling=$ac_cv_prog_cxx_cross
11048 cat > conftest.$ac_ext <<EOF
11049 #line 11050 "configure"
11050 #include "confdefs.h"
11056 if { (eval echo configure:11057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11058 glibcpp_cv_func_fmodf_use=yes
11060 echo "configure: failed program was:" >&5
11061 cat conftest.$ac_ext >&5
11063 glibcpp_cv_func_fmodf_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_fmodf_use" 1>&6
11079 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11080 for ac_func in fmodf
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 _fmodf declaration""... $ac_c" 1>&6
11138 echo "configure:11139: checking for _fmodf declaration" >&5
11139 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
11140 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_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"
11160 if { (eval echo configure:11161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11162 glibcpp_cv_func__fmodf_use=yes
11164 echo "configure: failed program was:" >&5
11165 cat conftest.$ac_ext >&5
11167 glibcpp_cv_func__fmodf_use=no
11171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11172 ac_cpp='$CPP $CPPFLAGS'
11173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11175 cross_compiling=$ac_cv_prog_cc_cross
11181 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
11183 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
11184 for ac_func in _fmodf
11186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11187 echo "configure:11188: checking for $ac_func" >&5
11188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11189 echo $ac_n "(cached) $ac_c" 1>&6
11191 cat > conftest.$ac_ext <<EOF
11192 #line 11193 "configure"
11193 #include "confdefs.h"
11194 /* System header to define __stub macros and hopefully few prototypes,
11195 which can conflict with char $ac_func(); below. */
11196 #include <assert.h>
11197 /* Override any gcc2 internal prototype to avoid an error. */
11198 /* We use char because int might match the return type of a gcc2
11199 builtin and then its argument prototype would still apply. */
11204 /* The GNU C library defines this for functions which it implements
11205 to always fail with ENOSYS. Some functions are actually named
11206 something starting with __ and the normal name is an alias. */
11207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11215 if { (eval echo configure:11216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11217 eval "ac_cv_func_$ac_func=yes"
11219 echo "configure: failed program was:" >&5
11220 cat conftest.$ac_ext >&5
11222 eval "ac_cv_func_$ac_func=no"
11227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11228 echo "$ac_t""yes" 1>&6
11229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11230 cat >> confdefs.h <<EOF
11231 #define $ac_tr_func 1
11235 echo "$ac_t""no" 1>&6
11244 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
11245 echo "configure:11246: checking for frexpf declaration" >&5
11246 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
11247 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
11248 echo $ac_n "(cached) $ac_c" 1>&6
11253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11254 ac_cpp='$CXXCPP $CPPFLAGS'
11255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11257 cross_compiling=$ac_cv_prog_cxx_cross
11259 cat > conftest.$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11267 if { (eval echo configure:11268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11269 glibcpp_cv_func_frexpf_use=yes
11271 echo "configure: failed program was:" >&5
11272 cat conftest.$ac_ext >&5
11274 glibcpp_cv_func_frexpf_use=no
11278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11279 ac_cpp='$CPP $CPPFLAGS'
11280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11282 cross_compiling=$ac_cv_prog_cc_cross
11288 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
11290 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
11291 for ac_func in frexpf
11293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11294 echo "configure:11295: checking for $ac_func" >&5
11295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11296 echo $ac_n "(cached) $ac_c" 1>&6
11298 cat > conftest.$ac_ext <<EOF
11299 #line 11300 "configure"
11300 #include "confdefs.h"
11301 /* System header to define __stub macros and hopefully few prototypes,
11302 which can conflict with char $ac_func(); below. */
11303 #include <assert.h>
11304 /* Override any gcc2 internal prototype to avoid an error. */
11305 /* We use char because int might match the return type of a gcc2
11306 builtin and then its argument prototype would still apply. */
11311 /* The GNU C library defines this for functions which it implements
11312 to always fail with ENOSYS. Some functions are actually named
11313 something starting with __ and the normal name is an alias. */
11314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11322 if { (eval echo configure:11323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11324 eval "ac_cv_func_$ac_func=yes"
11326 echo "configure: failed program was:" >&5
11327 cat conftest.$ac_ext >&5
11329 eval "ac_cv_func_$ac_func=no"
11334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11335 echo "$ac_t""yes" 1>&6
11336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11337 cat >> confdefs.h <<EOF
11338 #define $ac_tr_func 1
11342 echo "$ac_t""no" 1>&6
11348 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
11349 echo "configure:11350: checking for _frexpf declaration" >&5
11350 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
11351 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
11352 echo $ac_n "(cached) $ac_c" 1>&6
11357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11358 ac_cpp='$CXXCPP $CPPFLAGS'
11359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11361 cross_compiling=$ac_cv_prog_cxx_cross
11363 cat > conftest.$ac_ext <<EOF
11364 #line 11365 "configure"
11365 #include "confdefs.h"
11371 if { (eval echo configure:11372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11373 glibcpp_cv_func__frexpf_use=yes
11375 echo "configure: failed program was:" >&5
11376 cat conftest.$ac_ext >&5
11378 glibcpp_cv_func__frexpf_use=no
11382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11383 ac_cpp='$CPP $CPPFLAGS'
11384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11386 cross_compiling=$ac_cv_prog_cc_cross
11392 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
11394 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
11395 for ac_func in _frexpf
11397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11398 echo "configure:11399: checking for $ac_func" >&5
11399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11400 echo $ac_n "(cached) $ac_c" 1>&6
11402 cat > conftest.$ac_ext <<EOF
11403 #line 11404 "configure"
11404 #include "confdefs.h"
11405 /* System header to define __stub macros and hopefully few prototypes,
11406 which can conflict with char $ac_func(); below. */
11407 #include <assert.h>
11408 /* Override any gcc2 internal prototype to avoid an error. */
11409 /* We use char because int might match the return type of a gcc2
11410 builtin and then its argument prototype would still apply. */
11415 /* The GNU C library defines this for functions which it implements
11416 to always fail with ENOSYS. Some functions are actually named
11417 something starting with __ and the normal name is an alias. */
11418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11426 if { (eval echo configure:11427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11428 eval "ac_cv_func_$ac_func=yes"
11430 echo "configure: failed program was:" >&5
11431 cat conftest.$ac_ext >&5
11433 eval "ac_cv_func_$ac_func=no"
11438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11439 echo "$ac_t""yes" 1>&6
11440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11441 cat >> confdefs.h <<EOF
11442 #define $ac_tr_func 1
11446 echo "$ac_t""no" 1>&6
11455 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
11456 echo "configure:11457: checking for hypotf declaration" >&5
11457 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
11458 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
11459 echo $ac_n "(cached) $ac_c" 1>&6
11464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11465 ac_cpp='$CXXCPP $CPPFLAGS'
11466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11468 cross_compiling=$ac_cv_prog_cxx_cross
11470 cat > conftest.$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11478 if { (eval echo configure:11479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11480 glibcpp_cv_func_hypotf_use=yes
11482 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5
11485 glibcpp_cv_func_hypotf_use=no
11489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11490 ac_cpp='$CPP $CPPFLAGS'
11491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11493 cross_compiling=$ac_cv_prog_cc_cross
11499 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
11501 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
11502 for ac_func in hypotf
11504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11505 echo "configure:11506: checking for $ac_func" >&5
11506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11509 cat > conftest.$ac_ext <<EOF
11510 #line 11511 "configure"
11511 #include "confdefs.h"
11512 /* System header to define __stub macros and hopefully few prototypes,
11513 which can conflict with char $ac_func(); below. */
11514 #include <assert.h>
11515 /* Override any gcc2 internal prototype to avoid an error. */
11516 /* We use char because int might match the return type of a gcc2
11517 builtin and then its argument prototype would still apply. */
11522 /* The GNU C library defines this for functions which it implements
11523 to always fail with ENOSYS. Some functions are actually named
11524 something starting with __ and the normal name is an alias. */
11525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11533 if { (eval echo configure:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11535 eval "ac_cv_func_$ac_func=yes"
11537 echo "configure: failed program was:" >&5
11538 cat conftest.$ac_ext >&5
11540 eval "ac_cv_func_$ac_func=no"
11545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11546 echo "$ac_t""yes" 1>&6
11547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11548 cat >> confdefs.h <<EOF
11549 #define $ac_tr_func 1
11553 echo "$ac_t""no" 1>&6
11559 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
11560 echo "configure:11561: checking for _hypotf declaration" >&5
11561 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
11562 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
11563 echo $ac_n "(cached) $ac_c" 1>&6
11568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11569 ac_cpp='$CXXCPP $CPPFLAGS'
11570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11572 cross_compiling=$ac_cv_prog_cxx_cross
11574 cat > conftest.$ac_ext <<EOF
11575 #line 11576 "configure"
11576 #include "confdefs.h"
11582 if { (eval echo configure:11583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11584 glibcpp_cv_func__hypotf_use=yes
11586 echo "configure: failed program was:" >&5
11587 cat conftest.$ac_ext >&5
11589 glibcpp_cv_func__hypotf_use=no
11593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11594 ac_cpp='$CPP $CPPFLAGS'
11595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11597 cross_compiling=$ac_cv_prog_cc_cross
11603 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
11605 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
11606 for ac_func in _hypotf
11608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11609 echo "configure:11610: checking for $ac_func" >&5
11610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11611 echo $ac_n "(cached) $ac_c" 1>&6
11613 cat > conftest.$ac_ext <<EOF
11614 #line 11615 "configure"
11615 #include "confdefs.h"
11616 /* System header to define __stub macros and hopefully few prototypes,
11617 which can conflict with char $ac_func(); below. */
11618 #include <assert.h>
11619 /* Override any gcc2 internal prototype to avoid an error. */
11620 /* We use char because int might match the return type of a gcc2
11621 builtin and then its argument prototype would still apply. */
11626 /* The GNU C library defines this for functions which it implements
11627 to always fail with ENOSYS. Some functions are actually named
11628 something starting with __ and the normal name is an alias. */
11629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11637 if { (eval echo configure:11638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11639 eval "ac_cv_func_$ac_func=yes"
11641 echo "configure: failed program was:" >&5
11642 cat conftest.$ac_ext >&5
11644 eval "ac_cv_func_$ac_func=no"
11649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11650 echo "$ac_t""yes" 1>&6
11651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11652 cat >> confdefs.h <<EOF
11653 #define $ac_tr_func 1
11657 echo "$ac_t""no" 1>&6
11666 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
11667 echo "configure:11668: checking for ldexpf declaration" >&5
11668 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
11669 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
11670 echo $ac_n "(cached) $ac_c" 1>&6
11675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11676 ac_cpp='$CXXCPP $CPPFLAGS'
11677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11679 cross_compiling=$ac_cv_prog_cxx_cross
11681 cat > conftest.$ac_ext <<EOF
11682 #line 11683 "configure"
11683 #include "confdefs.h"
11689 if { (eval echo configure:11690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11691 glibcpp_cv_func_ldexpf_use=yes
11693 echo "configure: failed program was:" >&5
11694 cat conftest.$ac_ext >&5
11696 glibcpp_cv_func_ldexpf_use=no
11700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11701 ac_cpp='$CPP $CPPFLAGS'
11702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11704 cross_compiling=$ac_cv_prog_cc_cross
11710 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
11712 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
11713 for ac_func in ldexpf
11715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11716 echo "configure:11717: checking for $ac_func" >&5
11717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11718 echo $ac_n "(cached) $ac_c" 1>&6
11720 cat > conftest.$ac_ext <<EOF
11721 #line 11722 "configure"
11722 #include "confdefs.h"
11723 /* System header to define __stub macros and hopefully few prototypes,
11724 which can conflict with char $ac_func(); below. */
11725 #include <assert.h>
11726 /* Override any gcc2 internal prototype to avoid an error. */
11727 /* We use char because int might match the return type of a gcc2
11728 builtin and then its argument prototype would still apply. */
11733 /* The GNU C library defines this for functions which it implements
11734 to always fail with ENOSYS. Some functions are actually named
11735 something starting with __ and the normal name is an alias. */
11736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11744 if { (eval echo configure:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11746 eval "ac_cv_func_$ac_func=yes"
11748 echo "configure: failed program was:" >&5
11749 cat conftest.$ac_ext >&5
11751 eval "ac_cv_func_$ac_func=no"
11756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11757 echo "$ac_t""yes" 1>&6
11758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11759 cat >> confdefs.h <<EOF
11760 #define $ac_tr_func 1
11764 echo "$ac_t""no" 1>&6
11770 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
11771 echo "configure:11772: checking for _ldexpf declaration" >&5
11772 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
11773 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
11774 echo $ac_n "(cached) $ac_c" 1>&6
11779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11780 ac_cpp='$CXXCPP $CPPFLAGS'
11781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11783 cross_compiling=$ac_cv_prog_cxx_cross
11785 cat > conftest.$ac_ext <<EOF
11786 #line 11787 "configure"
11787 #include "confdefs.h"
11793 if { (eval echo configure:11794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11795 glibcpp_cv_func__ldexpf_use=yes
11797 echo "configure: failed program was:" >&5
11798 cat conftest.$ac_ext >&5
11800 glibcpp_cv_func__ldexpf_use=no
11804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11808 cross_compiling=$ac_cv_prog_cc_cross
11814 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
11816 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
11817 for ac_func in _ldexpf
11819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11820 echo "configure:11821: checking for $ac_func" >&5
11821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11822 echo $ac_n "(cached) $ac_c" 1>&6
11824 cat > conftest.$ac_ext <<EOF
11825 #line 11826 "configure"
11826 #include "confdefs.h"
11827 /* System header to define __stub macros and hopefully few prototypes,
11828 which can conflict with char $ac_func(); below. */
11829 #include <assert.h>
11830 /* Override any gcc2 internal prototype to avoid an error. */
11831 /* We use char because int might match the return type of a gcc2
11832 builtin and then its argument prototype would still apply. */
11837 /* The GNU C library defines this for functions which it implements
11838 to always fail with ENOSYS. Some functions are actually named
11839 something starting with __ and the normal name is an alias. */
11840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11848 if { (eval echo configure:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11850 eval "ac_cv_func_$ac_func=yes"
11852 echo "configure: failed program was:" >&5
11853 cat conftest.$ac_ext >&5
11855 eval "ac_cv_func_$ac_func=no"
11860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11861 echo "$ac_t""yes" 1>&6
11862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11863 cat >> confdefs.h <<EOF
11864 #define $ac_tr_func 1
11868 echo "$ac_t""no" 1>&6
11877 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
11878 echo "configure:11879: checking for logf declaration" >&5
11879 if test x${glibcpp_cv_func_logf_use+set} != xset; then
11880 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
11881 echo $ac_n "(cached) $ac_c" 1>&6
11886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11887 ac_cpp='$CXXCPP $CPPFLAGS'
11888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11890 cross_compiling=$ac_cv_prog_cxx_cross
11892 cat > conftest.$ac_ext <<EOF
11893 #line 11894 "configure"
11894 #include "confdefs.h"
11896 #ifdef HAVE_IEEEFP_H
11897 #include <ieeefp.h>
11904 if { (eval echo configure:11905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11906 glibcpp_cv_func_logf_use=yes
11908 echo "configure: failed program was:" >&5
11909 cat conftest.$ac_ext >&5
11911 glibcpp_cv_func_logf_use=no
11915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11919 cross_compiling=$ac_cv_prog_cc_cross
11925 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11927 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11928 for ac_func in logf
11930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11931 echo "configure:11932: checking for $ac_func" >&5
11932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11933 echo $ac_n "(cached) $ac_c" 1>&6
11935 cat > conftest.$ac_ext <<EOF
11936 #line 11937 "configure"
11937 #include "confdefs.h"
11938 /* System header to define __stub macros and hopefully few prototypes,
11939 which can conflict with char $ac_func(); below. */
11940 #include <assert.h>
11941 /* Override any gcc2 internal prototype to avoid an error. */
11942 /* We use char because int might match the return type of a gcc2
11943 builtin and then its argument prototype would still apply. */
11948 /* The GNU C library defines this for functions which it implements
11949 to always fail with ENOSYS. Some functions are actually named
11950 something starting with __ and the normal name is an alias. */
11951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11959 if { (eval echo configure:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11961 eval "ac_cv_func_$ac_func=yes"
11963 echo "configure: failed program was:" >&5
11964 cat conftest.$ac_ext >&5
11966 eval "ac_cv_func_$ac_func=no"
11971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11972 echo "$ac_t""yes" 1>&6
11973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11974 cat >> confdefs.h <<EOF
11975 #define $ac_tr_func 1
11979 echo "$ac_t""no" 1>&6
11985 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
11986 echo "configure:11987: checking for _logf declaration" >&5
11987 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11988 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11995 ac_cpp='$CXXCPP $CPPFLAGS'
11996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11998 cross_compiling=$ac_cv_prog_cxx_cross
12000 cat > conftest.$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12004 #ifdef HAVE_IEEEFP_H
12005 #include <ieeefp.h>
12012 if { (eval echo configure:12013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12014 glibcpp_cv_func__logf_use=yes
12016 echo "configure: failed program was:" >&5
12017 cat conftest.$ac_ext >&5
12019 glibcpp_cv_func__logf_use=no
12023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12024 ac_cpp='$CPP $CPPFLAGS'
12025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12027 cross_compiling=$ac_cv_prog_cc_cross
12033 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
12035 if test x$glibcpp_cv_func__logf_use = x"yes"; then
12036 for ac_func in _logf
12038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12039 echo "configure:12040: checking for $ac_func" >&5
12040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12041 echo $ac_n "(cached) $ac_c" 1>&6
12043 cat > conftest.$ac_ext <<EOF
12044 #line 12045 "configure"
12045 #include "confdefs.h"
12046 /* System header to define __stub macros and hopefully few prototypes,
12047 which can conflict with char $ac_func(); below. */
12048 #include <assert.h>
12049 /* Override any gcc2 internal prototype to avoid an error. */
12050 /* We use char because int might match the return type of a gcc2
12051 builtin and then its argument prototype would still apply. */
12056 /* The GNU C library defines this for functions which it implements
12057 to always fail with ENOSYS. Some functions are actually named
12058 something starting with __ and the normal name is an alias. */
12059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12067 if { (eval echo configure:12068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12069 eval "ac_cv_func_$ac_func=yes"
12071 echo "configure: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12074 eval "ac_cv_func_$ac_func=no"
12079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12080 echo "$ac_t""yes" 1>&6
12081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12082 cat >> confdefs.h <<EOF
12083 #define $ac_tr_func 1
12087 echo "$ac_t""no" 1>&6
12096 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
12097 echo "configure:12098: checking for log10f declaration" >&5
12098 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
12099 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
12100 echo $ac_n "(cached) $ac_c" 1>&6
12105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12106 ac_cpp='$CXXCPP $CPPFLAGS'
12107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12109 cross_compiling=$ac_cv_prog_cxx_cross
12111 cat > conftest.$ac_ext <<EOF
12112 #line 12113 "configure"
12113 #include "confdefs.h"
12115 #ifdef HAVE_IEEEFP_H
12116 #include <ieeefp.h>
12123 if { (eval echo configure:12124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12125 glibcpp_cv_func_log10f_use=yes
12127 echo "configure: failed program was:" >&5
12128 cat conftest.$ac_ext >&5
12130 glibcpp_cv_func_log10f_use=no
12134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12135 ac_cpp='$CPP $CPPFLAGS'
12136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12138 cross_compiling=$ac_cv_prog_cc_cross
12144 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
12146 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
12147 for ac_func in log10f
12149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12150 echo "configure:12151: checking for $ac_func" >&5
12151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12152 echo $ac_n "(cached) $ac_c" 1>&6
12154 cat > conftest.$ac_ext <<EOF
12155 #line 12156 "configure"
12156 #include "confdefs.h"
12157 /* System header to define __stub macros and hopefully few prototypes,
12158 which can conflict with char $ac_func(); below. */
12159 #include <assert.h>
12160 /* Override any gcc2 internal prototype to avoid an error. */
12161 /* We use char because int might match the return type of a gcc2
12162 builtin and then its argument prototype would still apply. */
12167 /* The GNU C library defines this for functions which it implements
12168 to always fail with ENOSYS. Some functions are actually named
12169 something starting with __ and the normal name is an alias. */
12170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12178 if { (eval echo configure:12179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12180 eval "ac_cv_func_$ac_func=yes"
12182 echo "configure: failed program was:" >&5
12183 cat conftest.$ac_ext >&5
12185 eval "ac_cv_func_$ac_func=no"
12190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12191 echo "$ac_t""yes" 1>&6
12192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12193 cat >> confdefs.h <<EOF
12194 #define $ac_tr_func 1
12198 echo "$ac_t""no" 1>&6
12204 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
12205 echo "configure:12206: checking for _log10f declaration" >&5
12206 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
12207 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
12208 echo $ac_n "(cached) $ac_c" 1>&6
12213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12214 ac_cpp='$CXXCPP $CPPFLAGS'
12215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12217 cross_compiling=$ac_cv_prog_cxx_cross
12219 cat > conftest.$ac_ext <<EOF
12220 #line 12221 "configure"
12221 #include "confdefs.h"
12223 #ifdef HAVE_IEEEFP_H
12224 #include <ieeefp.h>
12231 if { (eval echo configure:12232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12233 glibcpp_cv_func__log10f_use=yes
12235 echo "configure: failed program was:" >&5
12236 cat conftest.$ac_ext >&5
12238 glibcpp_cv_func__log10f_use=no
12242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12243 ac_cpp='$CPP $CPPFLAGS'
12244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12246 cross_compiling=$ac_cv_prog_cc_cross
12252 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
12254 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
12255 for ac_func in _log10f
12257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12258 echo "configure:12259: checking for $ac_func" >&5
12259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12260 echo $ac_n "(cached) $ac_c" 1>&6
12262 cat > conftest.$ac_ext <<EOF
12263 #line 12264 "configure"
12264 #include "confdefs.h"
12265 /* System header to define __stub macros and hopefully few prototypes,
12266 which can conflict with char $ac_func(); below. */
12267 #include <assert.h>
12268 /* Override any gcc2 internal prototype to avoid an error. */
12269 /* We use char because int might match the return type of a gcc2
12270 builtin and then its argument prototype would still apply. */
12275 /* The GNU C library defines this for functions which it implements
12276 to always fail with ENOSYS. Some functions are actually named
12277 something starting with __ and the normal name is an alias. */
12278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12286 if { (eval echo configure:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12288 eval "ac_cv_func_$ac_func=yes"
12290 echo "configure: failed program was:" >&5
12291 cat conftest.$ac_ext >&5
12293 eval "ac_cv_func_$ac_func=no"
12298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12299 echo "$ac_t""yes" 1>&6
12300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12301 cat >> confdefs.h <<EOF
12302 #define $ac_tr_func 1
12306 echo "$ac_t""no" 1>&6
12315 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
12316 echo "configure:12317: checking for modff declaration" >&5
12317 if test x${glibcpp_cv_func_modff_use+set} != xset; then
12318 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
12319 echo $ac_n "(cached) $ac_c" 1>&6
12324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12325 ac_cpp='$CXXCPP $CPPFLAGS'
12326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12328 cross_compiling=$ac_cv_prog_cxx_cross
12330 cat > conftest.$ac_ext <<EOF
12331 #line 12332 "configure"
12332 #include "confdefs.h"
12338 if { (eval echo configure:12339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12340 glibcpp_cv_func_modff_use=yes
12342 echo "configure: failed program was:" >&5
12343 cat conftest.$ac_ext >&5
12345 glibcpp_cv_func_modff_use=no
12349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12350 ac_cpp='$CPP $CPPFLAGS'
12351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12353 cross_compiling=$ac_cv_prog_cc_cross
12359 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
12361 if test x$glibcpp_cv_func_modff_use = x"yes"; then
12362 for ac_func in modff
12364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12365 echo "configure:12366: checking for $ac_func" >&5
12366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12369 cat > conftest.$ac_ext <<EOF
12370 #line 12371 "configure"
12371 #include "confdefs.h"
12372 /* System header to define __stub macros and hopefully few prototypes,
12373 which can conflict with char $ac_func(); below. */
12374 #include <assert.h>
12375 /* Override any gcc2 internal prototype to avoid an error. */
12376 /* We use char because int might match the return type of a gcc2
12377 builtin and then its argument prototype would still apply. */
12382 /* The GNU C library defines this for functions which it implements
12383 to always fail with ENOSYS. Some functions are actually named
12384 something starting with __ and the normal name is an alias. */
12385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12393 if { (eval echo configure:12394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12395 eval "ac_cv_func_$ac_func=yes"
12397 echo "configure: failed program was:" >&5
12398 cat conftest.$ac_ext >&5
12400 eval "ac_cv_func_$ac_func=no"
12405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12406 echo "$ac_t""yes" 1>&6
12407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12408 cat >> confdefs.h <<EOF
12409 #define $ac_tr_func 1
12413 echo "$ac_t""no" 1>&6
12419 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
12420 echo "configure:12421: checking for _modff declaration" >&5
12421 if test x${glibcpp_cv_func__modff_use+set} != xset; then
12422 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
12423 echo $ac_n "(cached) $ac_c" 1>&6
12428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12429 ac_cpp='$CXXCPP $CPPFLAGS'
12430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12432 cross_compiling=$ac_cv_prog_cxx_cross
12434 cat > conftest.$ac_ext <<EOF
12435 #line 12436 "configure"
12436 #include "confdefs.h"
12442 if { (eval echo configure:12443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12444 glibcpp_cv_func__modff_use=yes
12446 echo "configure: failed program was:" >&5
12447 cat conftest.$ac_ext >&5
12449 glibcpp_cv_func__modff_use=no
12453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12454 ac_cpp='$CPP $CPPFLAGS'
12455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12457 cross_compiling=$ac_cv_prog_cc_cross
12463 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
12465 if test x$glibcpp_cv_func__modff_use = x"yes"; then
12466 for ac_func in _modff
12468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12469 echo "configure:12470: checking for $ac_func" >&5
12470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12471 echo $ac_n "(cached) $ac_c" 1>&6
12473 cat > conftest.$ac_ext <<EOF
12474 #line 12475 "configure"
12475 #include "confdefs.h"
12476 /* System header to define __stub macros and hopefully few prototypes,
12477 which can conflict with char $ac_func(); below. */
12478 #include <assert.h>
12479 /* Override any gcc2 internal prototype to avoid an error. */
12480 /* We use char because int might match the return type of a gcc2
12481 builtin and then its argument prototype would still apply. */
12486 /* The GNU C library defines this for functions which it implements
12487 to always fail with ENOSYS. Some functions are actually named
12488 something starting with __ and the normal name is an alias. */
12489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12497 if { (eval echo configure:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12499 eval "ac_cv_func_$ac_func=yes"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.$ac_ext >&5
12504 eval "ac_cv_func_$ac_func=no"
12509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12512 cat >> confdefs.h <<EOF
12513 #define $ac_tr_func 1
12517 echo "$ac_t""no" 1>&6
12526 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
12527 echo "configure:12528: checking for powf declaration" >&5
12528 if test x${glibcpp_cv_func_powf_use+set} != xset; then
12529 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
12530 echo $ac_n "(cached) $ac_c" 1>&6
12535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12536 ac_cpp='$CXXCPP $CPPFLAGS'
12537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12539 cross_compiling=$ac_cv_prog_cxx_cross
12541 cat > conftest.$ac_ext <<EOF
12542 #line 12543 "configure"
12543 #include "confdefs.h"
12549 if { (eval echo configure:12550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12551 glibcpp_cv_func_powf_use=yes
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12556 glibcpp_cv_func_powf_use=no
12560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12561 ac_cpp='$CPP $CPPFLAGS'
12562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12564 cross_compiling=$ac_cv_prog_cc_cross
12570 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
12572 if test x$glibcpp_cv_func_powf_use = x"yes"; then
12573 for ac_func in powf
12575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12576 echo "configure:12577: checking for $ac_func" >&5
12577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12578 echo $ac_n "(cached) $ac_c" 1>&6
12580 cat > conftest.$ac_ext <<EOF
12581 #line 12582 "configure"
12582 #include "confdefs.h"
12583 /* System header to define __stub macros and hopefully few prototypes,
12584 which can conflict with char $ac_func(); below. */
12585 #include <assert.h>
12586 /* Override any gcc2 internal prototype to avoid an error. */
12587 /* We use char because int might match the return type of a gcc2
12588 builtin and then its argument prototype would still apply. */
12593 /* The GNU C library defines this for functions which it implements
12594 to always fail with ENOSYS. Some functions are actually named
12595 something starting with __ and the normal name is an alias. */
12596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12604 if { (eval echo configure:12605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12606 eval "ac_cv_func_$ac_func=yes"
12608 echo "configure: failed program was:" >&5
12609 cat conftest.$ac_ext >&5
12611 eval "ac_cv_func_$ac_func=no"
12616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12617 echo "$ac_t""yes" 1>&6
12618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12619 cat >> confdefs.h <<EOF
12620 #define $ac_tr_func 1
12624 echo "$ac_t""no" 1>&6
12630 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
12631 echo "configure:12632: checking for _powf declaration" >&5
12632 if test x${glibcpp_cv_func__powf_use+set} != xset; then
12633 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12640 ac_cpp='$CXXCPP $CPPFLAGS'
12641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12643 cross_compiling=$ac_cv_prog_cxx_cross
12645 cat > conftest.$ac_ext <<EOF
12646 #line 12647 "configure"
12647 #include "confdefs.h"
12653 if { (eval echo configure:12654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12655 glibcpp_cv_func__powf_use=yes
12657 echo "configure: failed program was:" >&5
12658 cat conftest.$ac_ext >&5
12660 glibcpp_cv_func__powf_use=no
12664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12668 cross_compiling=$ac_cv_prog_cc_cross
12674 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
12676 if test x$glibcpp_cv_func__powf_use = x"yes"; then
12677 for ac_func in _powf
12679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12680 echo "configure:12681: checking for $ac_func" >&5
12681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12682 echo $ac_n "(cached) $ac_c" 1>&6
12684 cat > conftest.$ac_ext <<EOF
12685 #line 12686 "configure"
12686 #include "confdefs.h"
12687 /* System header to define __stub macros and hopefully few prototypes,
12688 which can conflict with char $ac_func(); below. */
12689 #include <assert.h>
12690 /* Override any gcc2 internal prototype to avoid an error. */
12691 /* We use char because int might match the return type of a gcc2
12692 builtin and then its argument prototype would still apply. */
12697 /* The GNU C library defines this for functions which it implements
12698 to always fail with ENOSYS. Some functions are actually named
12699 something starting with __ and the normal name is an alias. */
12700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12708 if { (eval echo configure:12709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12710 eval "ac_cv_func_$ac_func=yes"
12712 echo "configure: failed program was:" >&5
12713 cat conftest.$ac_ext >&5
12715 eval "ac_cv_func_$ac_func=no"
12720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12721 echo "$ac_t""yes" 1>&6
12722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12723 cat >> confdefs.h <<EOF
12724 #define $ac_tr_func 1
12728 echo "$ac_t""no" 1>&6
12737 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
12738 echo "configure:12739: checking for sqrtf declaration" >&5
12739 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
12740 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
12741 echo $ac_n "(cached) $ac_c" 1>&6
12746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12747 ac_cpp='$CXXCPP $CPPFLAGS'
12748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12750 cross_compiling=$ac_cv_prog_cxx_cross
12752 cat > conftest.$ac_ext <<EOF
12753 #line 12754 "configure"
12754 #include "confdefs.h"
12756 #ifdef HAVE_IEEEFP_H
12757 #include <ieeefp.h>
12764 if { (eval echo configure:12765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12766 glibcpp_cv_func_sqrtf_use=yes
12768 echo "configure: failed program was:" >&5
12769 cat conftest.$ac_ext >&5
12771 glibcpp_cv_func_sqrtf_use=no
12775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12776 ac_cpp='$CPP $CPPFLAGS'
12777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12779 cross_compiling=$ac_cv_prog_cc_cross
12785 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
12787 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
12788 for ac_func in sqrtf
12790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12791 echo "configure:12792: checking for $ac_func" >&5
12792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12793 echo $ac_n "(cached) $ac_c" 1>&6
12795 cat > conftest.$ac_ext <<EOF
12796 #line 12797 "configure"
12797 #include "confdefs.h"
12798 /* System header to define __stub macros and hopefully few prototypes,
12799 which can conflict with char $ac_func(); below. */
12800 #include <assert.h>
12801 /* Override any gcc2 internal prototype to avoid an error. */
12802 /* We use char because int might match the return type of a gcc2
12803 builtin and then its argument prototype would still apply. */
12808 /* The GNU C library defines this for functions which it implements
12809 to always fail with ENOSYS. Some functions are actually named
12810 something starting with __ and the normal name is an alias. */
12811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12819 if { (eval echo configure:12820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12821 eval "ac_cv_func_$ac_func=yes"
12823 echo "configure: failed program was:" >&5
12824 cat conftest.$ac_ext >&5
12826 eval "ac_cv_func_$ac_func=no"
12831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12832 echo "$ac_t""yes" 1>&6
12833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12834 cat >> confdefs.h <<EOF
12835 #define $ac_tr_func 1
12839 echo "$ac_t""no" 1>&6
12845 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
12846 echo "configure:12847: checking for _sqrtf declaration" >&5
12847 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12848 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12855 ac_cpp='$CXXCPP $CPPFLAGS'
12856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12858 cross_compiling=$ac_cv_prog_cxx_cross
12860 cat > conftest.$ac_ext <<EOF
12861 #line 12862 "configure"
12862 #include "confdefs.h"
12864 #ifdef HAVE_IEEEFP_H
12865 #include <ieeefp.h>
12872 if { (eval echo configure:12873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12874 glibcpp_cv_func__sqrtf_use=yes
12876 echo "configure: failed program was:" >&5
12877 cat conftest.$ac_ext >&5
12879 glibcpp_cv_func__sqrtf_use=no
12883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12884 ac_cpp='$CPP $CPPFLAGS'
12885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12887 cross_compiling=$ac_cv_prog_cc_cross
12893 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12895 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12896 for ac_func in _sqrtf
12898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12899 echo "configure:12900: checking for $ac_func" >&5
12900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12901 echo $ac_n "(cached) $ac_c" 1>&6
12903 cat > conftest.$ac_ext <<EOF
12904 #line 12905 "configure"
12905 #include "confdefs.h"
12906 /* System header to define __stub macros and hopefully few prototypes,
12907 which can conflict with char $ac_func(); below. */
12908 #include <assert.h>
12909 /* Override any gcc2 internal prototype to avoid an error. */
12910 /* We use char because int might match the return type of a gcc2
12911 builtin and then its argument prototype would still apply. */
12916 /* The GNU C library defines this for functions which it implements
12917 to always fail with ENOSYS. Some functions are actually named
12918 something starting with __ and the normal name is an alias. */
12919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12927 if { (eval echo configure:12928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12929 eval "ac_cv_func_$ac_func=yes"
12931 echo "configure: failed program was:" >&5
12932 cat conftest.$ac_ext >&5
12934 eval "ac_cv_func_$ac_func=no"
12939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12940 echo "$ac_t""yes" 1>&6
12941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12942 cat >> confdefs.h <<EOF
12943 #define $ac_tr_func 1
12947 echo "$ac_t""no" 1>&6
12956 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
12957 echo "configure:12958: checking for sincosf declaration" >&5
12958 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
12959 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
12960 echo $ac_n "(cached) $ac_c" 1>&6
12965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12966 ac_cpp='$CXXCPP $CPPFLAGS'
12967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12969 cross_compiling=$ac_cv_prog_cxx_cross
12971 cat > conftest.$ac_ext <<EOF
12972 #line 12973 "configure"
12973 #include "confdefs.h"
12979 if { (eval echo configure:12980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12981 glibcpp_cv_func_sincosf_use=yes
12983 echo "configure: failed program was:" >&5
12984 cat conftest.$ac_ext >&5
12986 glibcpp_cv_func_sincosf_use=no
12990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12991 ac_cpp='$CPP $CPPFLAGS'
12992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12994 cross_compiling=$ac_cv_prog_cc_cross
13000 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
13002 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
13003 for ac_func in sincosf
13005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13006 echo "configure:13007: checking for $ac_func" >&5
13007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13008 echo $ac_n "(cached) $ac_c" 1>&6
13010 cat > conftest.$ac_ext <<EOF
13011 #line 13012 "configure"
13012 #include "confdefs.h"
13013 /* System header to define __stub macros and hopefully few prototypes,
13014 which can conflict with char $ac_func(); below. */
13015 #include <assert.h>
13016 /* Override any gcc2 internal prototype to avoid an error. */
13017 /* We use char because int might match the return type of a gcc2
13018 builtin and then its argument prototype would still apply. */
13023 /* The GNU C library defines this for functions which it implements
13024 to always fail with ENOSYS. Some functions are actually named
13025 something starting with __ and the normal name is an alias. */
13026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13034 if { (eval echo configure:13035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13036 eval "ac_cv_func_$ac_func=yes"
13038 echo "configure: failed program was:" >&5
13039 cat conftest.$ac_ext >&5
13041 eval "ac_cv_func_$ac_func=no"
13046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13047 echo "$ac_t""yes" 1>&6
13048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13049 cat >> confdefs.h <<EOF
13050 #define $ac_tr_func 1
13054 echo "$ac_t""no" 1>&6
13060 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
13061 echo "configure:13062: checking for _sincosf declaration" >&5
13062 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13063 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13064 echo $ac_n "(cached) $ac_c" 1>&6
13069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13070 ac_cpp='$CXXCPP $CPPFLAGS'
13071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13073 cross_compiling=$ac_cv_prog_cxx_cross
13075 cat > conftest.$ac_ext <<EOF
13076 #line 13077 "configure"
13077 #include "confdefs.h"
13083 if { (eval echo configure:13084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13085 glibcpp_cv_func__sincosf_use=yes
13087 echo "configure: failed program was:" >&5
13088 cat conftest.$ac_ext >&5
13090 glibcpp_cv_func__sincosf_use=no
13094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13095 ac_cpp='$CPP $CPPFLAGS'
13096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13098 cross_compiling=$ac_cv_prog_cc_cross
13104 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
13106 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
13107 for ac_func in _sincosf
13109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13110 echo "configure:13111: checking for $ac_func" >&5
13111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13112 echo $ac_n "(cached) $ac_c" 1>&6
13114 cat > conftest.$ac_ext <<EOF
13115 #line 13116 "configure"
13116 #include "confdefs.h"
13117 /* System header to define __stub macros and hopefully few prototypes,
13118 which can conflict with char $ac_func(); below. */
13119 #include <assert.h>
13120 /* Override any gcc2 internal prototype to avoid an error. */
13121 /* We use char because int might match the return type of a gcc2
13122 builtin and then its argument prototype would still apply. */
13127 /* The GNU C library defines this for functions which it implements
13128 to always fail with ENOSYS. Some functions are actually named
13129 something starting with __ and the normal name is an alias. */
13130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13138 if { (eval echo configure:13139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13140 eval "ac_cv_func_$ac_func=yes"
13142 echo "configure: failed program was:" >&5
13143 cat conftest.$ac_ext >&5
13145 eval "ac_cv_func_$ac_func=no"
13150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13151 echo "$ac_t""yes" 1>&6
13152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13153 cat >> confdefs.h <<EOF
13154 #define $ac_tr_func 1
13158 echo "$ac_t""no" 1>&6
13167 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
13168 echo "configure:13169: checking for finitef declaration" >&5
13169 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
13170 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
13171 echo $ac_n "(cached) $ac_c" 1>&6
13176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13177 ac_cpp='$CXXCPP $CPPFLAGS'
13178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13180 cross_compiling=$ac_cv_prog_cxx_cross
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13186 #ifdef HAVE_IEEEFP_H
13187 #include <ieeefp.h>
13194 if { (eval echo configure:13195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13196 glibcpp_cv_func_finitef_use=yes
13198 echo "configure: failed program was:" >&5
13199 cat conftest.$ac_ext >&5
13201 glibcpp_cv_func_finitef_use=no
13205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13206 ac_cpp='$CPP $CPPFLAGS'
13207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13209 cross_compiling=$ac_cv_prog_cc_cross
13215 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
13217 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
13218 for ac_func in finitef
13220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13221 echo "configure:13222: checking for $ac_func" >&5
13222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13223 echo $ac_n "(cached) $ac_c" 1>&6
13225 cat > conftest.$ac_ext <<EOF
13226 #line 13227 "configure"
13227 #include "confdefs.h"
13228 /* System header to define __stub macros and hopefully few prototypes,
13229 which can conflict with char $ac_func(); below. */
13230 #include <assert.h>
13231 /* Override any gcc2 internal prototype to avoid an error. */
13232 /* We use char because int might match the return type of a gcc2
13233 builtin and then its argument prototype would still apply. */
13238 /* The GNU C library defines this for functions which it implements
13239 to always fail with ENOSYS. Some functions are actually named
13240 something starting with __ and the normal name is an alias. */
13241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13249 if { (eval echo configure:13250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13251 eval "ac_cv_func_$ac_func=yes"
13253 echo "configure: failed program was:" >&5
13254 cat conftest.$ac_ext >&5
13256 eval "ac_cv_func_$ac_func=no"
13261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13262 echo "$ac_t""yes" 1>&6
13263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13264 cat >> confdefs.h <<EOF
13265 #define $ac_tr_func 1
13269 echo "$ac_t""no" 1>&6
13275 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
13276 echo "configure:13277: checking for _finitef declaration" >&5
13277 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
13278 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
13279 echo $ac_n "(cached) $ac_c" 1>&6
13284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13285 ac_cpp='$CXXCPP $CPPFLAGS'
13286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13288 cross_compiling=$ac_cv_prog_cxx_cross
13290 cat > conftest.$ac_ext <<EOF
13291 #line 13292 "configure"
13292 #include "confdefs.h"
13294 #ifdef HAVE_IEEEFP_H
13295 #include <ieeefp.h>
13302 if { (eval echo configure:13303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13304 glibcpp_cv_func__finitef_use=yes
13306 echo "configure: failed program was:" >&5
13307 cat conftest.$ac_ext >&5
13309 glibcpp_cv_func__finitef_use=no
13313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13314 ac_cpp='$CPP $CPPFLAGS'
13315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13317 cross_compiling=$ac_cv_prog_cc_cross
13323 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
13325 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
13326 for ac_func in _finitef
13328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13329 echo "configure:13330: checking for $ac_func" >&5
13330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13331 echo $ac_n "(cached) $ac_c" 1>&6
13333 cat > conftest.$ac_ext <<EOF
13334 #line 13335 "configure"
13335 #include "confdefs.h"
13336 /* System header to define __stub macros and hopefully few prototypes,
13337 which can conflict with char $ac_func(); below. */
13338 #include <assert.h>
13339 /* Override any gcc2 internal prototype to avoid an error. */
13340 /* We use char because int might match the return type of a gcc2
13341 builtin and then its argument prototype would still apply. */
13346 /* The GNU C library defines this for functions which it implements
13347 to always fail with ENOSYS. Some functions are actually named
13348 something starting with __ and the normal name is an alias. */
13349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13357 if { (eval echo configure:13358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13359 eval "ac_cv_func_$ac_func=yes"
13361 echo "configure: failed program was:" >&5
13362 cat conftest.$ac_ext >&5
13364 eval "ac_cv_func_$ac_func=no"
13369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13370 echo "$ac_t""yes" 1>&6
13371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13372 cat >> confdefs.h <<EOF
13373 #define $ac_tr_func 1
13377 echo "$ac_t""no" 1>&6
13386 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
13387 echo "configure:13388: checking for long double trig functions" >&5
13388 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
13389 echo $ac_n "(cached) $ac_c" 1>&6
13394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13395 ac_cpp='$CXXCPP $CPPFLAGS'
13396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13398 cross_compiling=$ac_cv_prog_cxx_cross
13400 cat > conftest.$ac_ext <<EOF
13401 #line 13402 "configure"
13402 #include "confdefs.h"
13405 `for x in acosl asinl atanl \
13407 coshl sinhl tanhl; do echo "$x (0);"; done`
13410 if { (eval echo configure:13411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13412 glibcpp_cv_func_long_double_trig_use=yes
13414 echo "configure: failed program was:" >&5
13415 cat conftest.$ac_ext >&5
13417 glibcpp_cv_func_long_double_trig_use=no
13421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13422 ac_cpp='$CPP $CPPFLAGS'
13423 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13424 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13425 cross_compiling=$ac_cv_prog_cc_cross
13429 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
13430 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
13431 for ac_func in acosl asinl atanl \
13435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13436 echo "configure:13437: checking for $ac_func" >&5
13437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13440 cat > conftest.$ac_ext <<EOF
13441 #line 13442 "configure"
13442 #include "confdefs.h"
13443 /* System header to define __stub macros and hopefully few prototypes,
13444 which can conflict with char $ac_func(); below. */
13445 #include <assert.h>
13446 /* Override any gcc2 internal prototype to avoid an error. */
13447 /* We use char because int might match the return type of a gcc2
13448 builtin and then its argument prototype would still apply. */
13453 /* The GNU C library defines this for functions which it implements
13454 to always fail with ENOSYS. Some functions are actually named
13455 something starting with __ and the normal name is an alias. */
13456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13464 if { (eval echo configure:13465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13466 eval "ac_cv_func_$ac_func=yes"
13468 echo "configure: failed program was:" >&5
13469 cat conftest.$ac_ext >&5
13471 eval "ac_cv_func_$ac_func=no"
13476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13477 echo "$ac_t""yes" 1>&6
13478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13479 cat >> confdefs.h <<EOF
13480 #define $ac_tr_func 1
13484 echo "$ac_t""no" 1>&6
13491 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
13492 echo "configure:13493: checking for long double round functions" >&5
13493 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
13494 echo $ac_n "(cached) $ac_c" 1>&6
13499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13500 ac_cpp='$CXXCPP $CPPFLAGS'
13501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13503 cross_compiling=$ac_cv_prog_cxx_cross
13505 cat > conftest.$ac_ext <<EOF
13506 #line 13507 "configure"
13507 #include "confdefs.h"
13510 `for x in ceill floorl; do echo "$x (0);"; done`
13513 if { (eval echo configure:13514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13515 glibcpp_cv_func_long_double_round_use=yes
13517 echo "configure: failed program was:" >&5
13518 cat conftest.$ac_ext >&5
13520 glibcpp_cv_func_long_double_round_use=no
13524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13528 cross_compiling=$ac_cv_prog_cc_cross
13532 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
13533 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
13534 for ac_func in ceill floorl
13536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13537 echo "configure:13538: checking for $ac_func" >&5
13538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13541 cat > conftest.$ac_ext <<EOF
13542 #line 13543 "configure"
13543 #include "confdefs.h"
13544 /* System header to define __stub macros and hopefully few prototypes,
13545 which can conflict with char $ac_func(); below. */
13546 #include <assert.h>
13547 /* Override any gcc2 internal prototype to avoid an error. */
13548 /* We use char because int might match the return type of a gcc2
13549 builtin and then its argument prototype would still apply. */
13554 /* The GNU C library defines this for functions which it implements
13555 to always fail with ENOSYS. Some functions are actually named
13556 something starting with __ and the normal name is an alias. */
13557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13565 if { (eval echo configure:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13567 eval "ac_cv_func_$ac_func=yes"
13569 echo "configure: failed program was:" >&5
13570 cat conftest.$ac_ext >&5
13572 eval "ac_cv_func_$ac_func=no"
13577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13578 echo "$ac_t""yes" 1>&6
13579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13580 cat >> confdefs.h <<EOF
13581 #define $ac_tr_func 1
13585 echo "$ac_t""no" 1>&6
13593 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
13594 echo "configure:13595: checking for isnanl declaration" >&5
13595 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
13596 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
13597 echo $ac_n "(cached) $ac_c" 1>&6
13602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13603 ac_cpp='$CXXCPP $CPPFLAGS'
13604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13606 cross_compiling=$ac_cv_prog_cxx_cross
13608 cat > conftest.$ac_ext <<EOF
13609 #line 13610 "configure"
13610 #include "confdefs.h"
13612 #ifdef HAVE_IEEEFP_H
13613 #include <ieeefp.h>
13620 if { (eval echo configure:13621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13622 glibcpp_cv_func_isnanl_use=yes
13624 echo "configure: failed program was:" >&5
13625 cat conftest.$ac_ext >&5
13627 glibcpp_cv_func_isnanl_use=no
13631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13632 ac_cpp='$CPP $CPPFLAGS'
13633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13635 cross_compiling=$ac_cv_prog_cc_cross
13641 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
13643 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
13644 for ac_func in isnanl
13646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13647 echo "configure:13648: checking for $ac_func" >&5
13648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13649 echo $ac_n "(cached) $ac_c" 1>&6
13651 cat > conftest.$ac_ext <<EOF
13652 #line 13653 "configure"
13653 #include "confdefs.h"
13654 /* System header to define __stub macros and hopefully few prototypes,
13655 which can conflict with char $ac_func(); below. */
13656 #include <assert.h>
13657 /* Override any gcc2 internal prototype to avoid an error. */
13658 /* We use char because int might match the return type of a gcc2
13659 builtin and then its argument prototype would still apply. */
13664 /* The GNU C library defines this for functions which it implements
13665 to always fail with ENOSYS. Some functions are actually named
13666 something starting with __ and the normal name is an alias. */
13667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13675 if { (eval echo configure:13676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13677 eval "ac_cv_func_$ac_func=yes"
13679 echo "configure: failed program was:" >&5
13680 cat conftest.$ac_ext >&5
13682 eval "ac_cv_func_$ac_func=no"
13687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13688 echo "$ac_t""yes" 1>&6
13689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13690 cat >> confdefs.h <<EOF
13691 #define $ac_tr_func 1
13695 echo "$ac_t""no" 1>&6
13701 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
13702 echo "configure:13703: checking for _isnanl declaration" >&5
13703 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
13704 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
13705 echo $ac_n "(cached) $ac_c" 1>&6
13710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13711 ac_cpp='$CXXCPP $CPPFLAGS'
13712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13714 cross_compiling=$ac_cv_prog_cxx_cross
13716 cat > conftest.$ac_ext <<EOF
13717 #line 13718 "configure"
13718 #include "confdefs.h"
13720 #ifdef HAVE_IEEEFP_H
13721 #include <ieeefp.h>
13728 if { (eval echo configure:13729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13730 glibcpp_cv_func__isnanl_use=yes
13732 echo "configure: failed program was:" >&5
13733 cat conftest.$ac_ext >&5
13735 glibcpp_cv_func__isnanl_use=no
13739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13740 ac_cpp='$CPP $CPPFLAGS'
13741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13743 cross_compiling=$ac_cv_prog_cc_cross
13749 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
13751 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
13752 for ac_func in _isnanl
13754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13755 echo "configure:13756: checking for $ac_func" >&5
13756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13757 echo $ac_n "(cached) $ac_c" 1>&6
13759 cat > conftest.$ac_ext <<EOF
13760 #line 13761 "configure"
13761 #include "confdefs.h"
13762 /* System header to define __stub macros and hopefully few prototypes,
13763 which can conflict with char $ac_func(); below. */
13764 #include <assert.h>
13765 /* Override any gcc2 internal prototype to avoid an error. */
13766 /* We use char because int might match the return type of a gcc2
13767 builtin and then its argument prototype would still apply. */
13772 /* The GNU C library defines this for functions which it implements
13773 to always fail with ENOSYS. Some functions are actually named
13774 something starting with __ and the normal name is an alias. */
13775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13785 eval "ac_cv_func_$ac_func=yes"
13787 echo "configure: failed program was:" >&5
13788 cat conftest.$ac_ext >&5
13790 eval "ac_cv_func_$ac_func=no"
13795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13796 echo "$ac_t""yes" 1>&6
13797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13798 cat >> confdefs.h <<EOF
13799 #define $ac_tr_func 1
13803 echo "$ac_t""no" 1>&6
13812 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
13813 echo "configure:13814: checking for isinfl declaration" >&5
13814 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
13815 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
13816 echo $ac_n "(cached) $ac_c" 1>&6
13821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13822 ac_cpp='$CXXCPP $CPPFLAGS'
13823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13825 cross_compiling=$ac_cv_prog_cxx_cross
13827 cat > conftest.$ac_ext <<EOF
13828 #line 13829 "configure"
13829 #include "confdefs.h"
13831 #ifdef HAVE_IEEEFP_H
13832 #include <ieeefp.h>
13839 if { (eval echo configure:13840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13841 glibcpp_cv_func_isinfl_use=yes
13843 echo "configure: failed program was:" >&5
13844 cat conftest.$ac_ext >&5
13846 glibcpp_cv_func_isinfl_use=no
13850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13851 ac_cpp='$CPP $CPPFLAGS'
13852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13854 cross_compiling=$ac_cv_prog_cc_cross
13860 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
13862 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
13863 for ac_func in isinfl
13865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13866 echo "configure:13867: checking for $ac_func" >&5
13867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13868 echo $ac_n "(cached) $ac_c" 1>&6
13870 cat > conftest.$ac_ext <<EOF
13871 #line 13872 "configure"
13872 #include "confdefs.h"
13873 /* System header to define __stub macros and hopefully few prototypes,
13874 which can conflict with char $ac_func(); below. */
13875 #include <assert.h>
13876 /* Override any gcc2 internal prototype to avoid an error. */
13877 /* We use char because int might match the return type of a gcc2
13878 builtin and then its argument prototype would still apply. */
13883 /* The GNU C library defines this for functions which it implements
13884 to always fail with ENOSYS. Some functions are actually named
13885 something starting with __ and the normal name is an alias. */
13886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13894 if { (eval echo configure:13895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13896 eval "ac_cv_func_$ac_func=yes"
13898 echo "configure: failed program was:" >&5
13899 cat conftest.$ac_ext >&5
13901 eval "ac_cv_func_$ac_func=no"
13906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13907 echo "$ac_t""yes" 1>&6
13908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13909 cat >> confdefs.h <<EOF
13910 #define $ac_tr_func 1
13914 echo "$ac_t""no" 1>&6
13920 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
13921 echo "configure:13922: checking for _isinfl declaration" >&5
13922 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
13923 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
13924 echo $ac_n "(cached) $ac_c" 1>&6
13929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13930 ac_cpp='$CXXCPP $CPPFLAGS'
13931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13933 cross_compiling=$ac_cv_prog_cxx_cross
13935 cat > conftest.$ac_ext <<EOF
13936 #line 13937 "configure"
13937 #include "confdefs.h"
13939 #ifdef HAVE_IEEEFP_H
13940 #include <ieeefp.h>
13947 if { (eval echo configure:13948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13949 glibcpp_cv_func__isinfl_use=yes
13951 echo "configure: failed program was:" >&5
13952 cat conftest.$ac_ext >&5
13954 glibcpp_cv_func__isinfl_use=no
13958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13959 ac_cpp='$CPP $CPPFLAGS'
13960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13962 cross_compiling=$ac_cv_prog_cc_cross
13968 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
13970 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
13971 for ac_func in _isinfl
13973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13974 echo "configure:13975: checking for $ac_func" >&5
13975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13976 echo $ac_n "(cached) $ac_c" 1>&6
13978 cat > conftest.$ac_ext <<EOF
13979 #line 13980 "configure"
13980 #include "confdefs.h"
13981 /* System header to define __stub macros and hopefully few prototypes,
13982 which can conflict with char $ac_func(); below. */
13983 #include <assert.h>
13984 /* Override any gcc2 internal prototype to avoid an error. */
13985 /* We use char because int might match the return type of a gcc2
13986 builtin and then its argument prototype would still apply. */
13991 /* The GNU C library defines this for functions which it implements
13992 to always fail with ENOSYS. Some functions are actually named
13993 something starting with __ and the normal name is an alias. */
13994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14002 if { (eval echo configure:14003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14004 eval "ac_cv_func_$ac_func=yes"
14006 echo "configure: failed program was:" >&5
14007 cat conftest.$ac_ext >&5
14009 eval "ac_cv_func_$ac_func=no"
14014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14015 echo "$ac_t""yes" 1>&6
14016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14017 cat >> confdefs.h <<EOF
14018 #define $ac_tr_func 1
14022 echo "$ac_t""no" 1>&6
14031 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
14032 echo "configure:14033: checking for copysignl declaration" >&5
14033 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
14034 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
14035 echo $ac_n "(cached) $ac_c" 1>&6
14040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14041 ac_cpp='$CXXCPP $CPPFLAGS'
14042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14044 cross_compiling=$ac_cv_prog_cxx_cross
14046 cat > conftest.$ac_ext <<EOF
14047 #line 14048 "configure"
14048 #include "confdefs.h"
14054 if { (eval echo configure:14055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14056 glibcpp_cv_func_copysignl_use=yes
14058 echo "configure: failed program was:" >&5
14059 cat conftest.$ac_ext >&5
14061 glibcpp_cv_func_copysignl_use=no
14065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14066 ac_cpp='$CPP $CPPFLAGS'
14067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14069 cross_compiling=$ac_cv_prog_cc_cross
14075 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14077 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14078 for ac_func in copysignl
14080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14081 echo "configure:14082: checking for $ac_func" >&5
14082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14083 echo $ac_n "(cached) $ac_c" 1>&6
14085 cat > conftest.$ac_ext <<EOF
14086 #line 14087 "configure"
14087 #include "confdefs.h"
14088 /* System header to define __stub macros and hopefully few prototypes,
14089 which can conflict with char $ac_func(); below. */
14090 #include <assert.h>
14091 /* Override any gcc2 internal prototype to avoid an error. */
14092 /* We use char because int might match the return type of a gcc2
14093 builtin and then its argument prototype would still apply. */
14098 /* The GNU C library defines this for functions which it implements
14099 to always fail with ENOSYS. Some functions are actually named
14100 something starting with __ and the normal name is an alias. */
14101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14109 if { (eval echo configure:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14111 eval "ac_cv_func_$ac_func=yes"
14113 echo "configure: failed program was:" >&5
14114 cat conftest.$ac_ext >&5
14116 eval "ac_cv_func_$ac_func=no"
14121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14122 echo "$ac_t""yes" 1>&6
14123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14124 cat >> confdefs.h <<EOF
14125 #define $ac_tr_func 1
14129 echo "$ac_t""no" 1>&6
14135 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14136 echo "configure:14137: checking for _copysignl declaration" >&5
14137 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
14138 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14139 echo $ac_n "(cached) $ac_c" 1>&6
14144 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14145 ac_cpp='$CXXCPP $CPPFLAGS'
14146 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14147 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14148 cross_compiling=$ac_cv_prog_cxx_cross
14150 cat > conftest.$ac_ext <<EOF
14151 #line 14152 "configure"
14152 #include "confdefs.h"
14158 if { (eval echo configure:14159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14160 glibcpp_cv_func__copysignl_use=yes
14162 echo "configure: failed program was:" >&5
14163 cat conftest.$ac_ext >&5
14165 glibcpp_cv_func__copysignl_use=no
14169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14170 ac_cpp='$CPP $CPPFLAGS'
14171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14173 cross_compiling=$ac_cv_prog_cc_cross
14179 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14181 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14182 for ac_func in _copysignl
14184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14185 echo "configure:14186: checking for $ac_func" >&5
14186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14189 cat > conftest.$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14192 /* System header to define __stub macros and hopefully few prototypes,
14193 which can conflict with char $ac_func(); below. */
14194 #include <assert.h>
14195 /* Override any gcc2 internal prototype to avoid an error. */
14196 /* We use char because int might match the return type of a gcc2
14197 builtin and then its argument prototype would still apply. */
14202 /* The GNU C library defines this for functions which it implements
14203 to always fail with ENOSYS. Some functions are actually named
14204 something starting with __ and the normal name is an alias. */
14205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14215 eval "ac_cv_func_$ac_func=yes"
14217 echo "configure: failed program was:" >&5
14218 cat conftest.$ac_ext >&5
14220 eval "ac_cv_func_$ac_func=no"
14225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14226 echo "$ac_t""yes" 1>&6
14227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14228 cat >> confdefs.h <<EOF
14229 #define $ac_tr_func 1
14233 echo "$ac_t""no" 1>&6
14242 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
14243 echo "configure:14244: checking for atan2l declaration" >&5
14244 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
14245 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
14246 echo $ac_n "(cached) $ac_c" 1>&6
14251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14252 ac_cpp='$CXXCPP $CPPFLAGS'
14253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14255 cross_compiling=$ac_cv_prog_cxx_cross
14257 cat > conftest.$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14265 if { (eval echo configure:14266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14267 glibcpp_cv_func_atan2l_use=yes
14269 echo "configure: failed program was:" >&5
14270 cat conftest.$ac_ext >&5
14272 glibcpp_cv_func_atan2l_use=no
14276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14280 cross_compiling=$ac_cv_prog_cc_cross
14286 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
14288 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
14289 for ac_func in atan2l
14291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14292 echo "configure:14293: checking for $ac_func" >&5
14293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14294 echo $ac_n "(cached) $ac_c" 1>&6
14296 cat > conftest.$ac_ext <<EOF
14297 #line 14298 "configure"
14298 #include "confdefs.h"
14299 /* System header to define __stub macros and hopefully few prototypes,
14300 which can conflict with char $ac_func(); below. */
14301 #include <assert.h>
14302 /* Override any gcc2 internal prototype to avoid an error. */
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14309 /* The GNU C library defines this for functions which it implements
14310 to always fail with ENOSYS. Some functions are actually named
14311 something starting with __ and the normal name is an alias. */
14312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14320 if { (eval echo configure:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14322 eval "ac_cv_func_$ac_func=yes"
14324 echo "configure: failed program was:" >&5
14325 cat conftest.$ac_ext >&5
14327 eval "ac_cv_func_$ac_func=no"
14332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14333 echo "$ac_t""yes" 1>&6
14334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14335 cat >> confdefs.h <<EOF
14336 #define $ac_tr_func 1
14340 echo "$ac_t""no" 1>&6
14346 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14347 echo "configure:14348: checking for _atan2l declaration" >&5
14348 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
14349 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14350 echo $ac_n "(cached) $ac_c" 1>&6
14355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14356 ac_cpp='$CXXCPP $CPPFLAGS'
14357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14359 cross_compiling=$ac_cv_prog_cxx_cross
14361 cat > conftest.$ac_ext <<EOF
14362 #line 14363 "configure"
14363 #include "confdefs.h"
14369 if { (eval echo configure:14370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14371 glibcpp_cv_func__atan2l_use=yes
14373 echo "configure: failed program was:" >&5
14374 cat conftest.$ac_ext >&5
14376 glibcpp_cv_func__atan2l_use=no
14380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14381 ac_cpp='$CPP $CPPFLAGS'
14382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14384 cross_compiling=$ac_cv_prog_cc_cross
14390 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14392 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14393 for ac_func in _atan2l
14395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14396 echo "configure:14397: checking for $ac_func" >&5
14397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14398 echo $ac_n "(cached) $ac_c" 1>&6
14400 cat > conftest.$ac_ext <<EOF
14401 #line 14402 "configure"
14402 #include "confdefs.h"
14403 /* System header to define __stub macros and hopefully few prototypes,
14404 which can conflict with char $ac_func(); below. */
14405 #include <assert.h>
14406 /* Override any gcc2 internal prototype to avoid an error. */
14407 /* We use char because int might match the return type of a gcc2
14408 builtin and then its argument prototype would still apply. */
14413 /* The GNU C library defines this for functions which it implements
14414 to always fail with ENOSYS. Some functions are actually named
14415 something starting with __ and the normal name is an alias. */
14416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14424 if { (eval echo configure:14425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14426 eval "ac_cv_func_$ac_func=yes"
14428 echo "configure: failed program was:" >&5
14429 cat conftest.$ac_ext >&5
14431 eval "ac_cv_func_$ac_func=no"
14436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14437 echo "$ac_t""yes" 1>&6
14438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14439 cat >> confdefs.h <<EOF
14440 #define $ac_tr_func 1
14444 echo "$ac_t""no" 1>&6
14453 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
14454 echo "configure:14455: checking for expl declaration" >&5
14455 if test x${glibcpp_cv_func_expl_use+set} != xset; then
14456 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
14457 echo $ac_n "(cached) $ac_c" 1>&6
14462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14463 ac_cpp='$CXXCPP $CPPFLAGS'
14464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14466 cross_compiling=$ac_cv_prog_cxx_cross
14468 cat > conftest.$ac_ext <<EOF
14469 #line 14470 "configure"
14470 #include "confdefs.h"
14472 #ifdef HAVE_IEEEFP_H
14473 #include <ieeefp.h>
14480 if { (eval echo configure:14481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14482 glibcpp_cv_func_expl_use=yes
14484 echo "configure: failed program was:" >&5
14485 cat conftest.$ac_ext >&5
14487 glibcpp_cv_func_expl_use=no
14491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14492 ac_cpp='$CPP $CPPFLAGS'
14493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14495 cross_compiling=$ac_cv_prog_cc_cross
14501 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
14503 if test x$glibcpp_cv_func_expl_use = x"yes"; then
14504 for ac_func in expl
14506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14507 echo "configure:14508: checking for $ac_func" >&5
14508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14509 echo $ac_n "(cached) $ac_c" 1>&6
14511 cat > conftest.$ac_ext <<EOF
14512 #line 14513 "configure"
14513 #include "confdefs.h"
14514 /* System header to define __stub macros and hopefully few prototypes,
14515 which can conflict with char $ac_func(); below. */
14516 #include <assert.h>
14517 /* Override any gcc2 internal prototype to avoid an error. */
14518 /* We use char because int might match the return type of a gcc2
14519 builtin and then its argument prototype would still apply. */
14524 /* The GNU C library defines this for functions which it implements
14525 to always fail with ENOSYS. Some functions are actually named
14526 something starting with __ and the normal name is an alias. */
14527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14537 eval "ac_cv_func_$ac_func=yes"
14539 echo "configure: failed program was:" >&5
14540 cat conftest.$ac_ext >&5
14542 eval "ac_cv_func_$ac_func=no"
14547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14548 echo "$ac_t""yes" 1>&6
14549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14550 cat >> confdefs.h <<EOF
14551 #define $ac_tr_func 1
14555 echo "$ac_t""no" 1>&6
14561 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
14562 echo "configure:14563: checking for _expl declaration" >&5
14563 if test x${glibcpp_cv_func__expl_use+set} != xset; then
14564 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
14565 echo $ac_n "(cached) $ac_c" 1>&6
14570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14571 ac_cpp='$CXXCPP $CPPFLAGS'
14572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14574 cross_compiling=$ac_cv_prog_cxx_cross
14576 cat > conftest.$ac_ext <<EOF
14577 #line 14578 "configure"
14578 #include "confdefs.h"
14580 #ifdef HAVE_IEEEFP_H
14581 #include <ieeefp.h>
14588 if { (eval echo configure:14589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14590 glibcpp_cv_func__expl_use=yes
14592 echo "configure: failed program was:" >&5
14593 cat conftest.$ac_ext >&5
14595 glibcpp_cv_func__expl_use=no
14599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14600 ac_cpp='$CPP $CPPFLAGS'
14601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14603 cross_compiling=$ac_cv_prog_cc_cross
14609 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
14611 if test x$glibcpp_cv_func__expl_use = x"yes"; then
14612 for ac_func in _expl
14614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14615 echo "configure:14616: checking for $ac_func" >&5
14616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14617 echo $ac_n "(cached) $ac_c" 1>&6
14619 cat > conftest.$ac_ext <<EOF
14620 #line 14621 "configure"
14621 #include "confdefs.h"
14622 /* System header to define __stub macros and hopefully few prototypes,
14623 which can conflict with char $ac_func(); below. */
14624 #include <assert.h>
14625 /* Override any gcc2 internal prototype to avoid an error. */
14626 /* We use char because int might match the return type of a gcc2
14627 builtin and then its argument prototype would still apply. */
14632 /* The GNU C library defines this for functions which it implements
14633 to always fail with ENOSYS. Some functions are actually named
14634 something starting with __ and the normal name is an alias. */
14635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14643 if { (eval echo configure:14644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14645 eval "ac_cv_func_$ac_func=yes"
14647 echo "configure: failed program was:" >&5
14648 cat conftest.$ac_ext >&5
14650 eval "ac_cv_func_$ac_func=no"
14655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14656 echo "$ac_t""yes" 1>&6
14657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14658 cat >> confdefs.h <<EOF
14659 #define $ac_tr_func 1
14663 echo "$ac_t""no" 1>&6
14672 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
14673 echo "configure:14674: checking for fabsl declaration" >&5
14674 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
14675 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
14676 echo $ac_n "(cached) $ac_c" 1>&6
14681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14682 ac_cpp='$CXXCPP $CPPFLAGS'
14683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14685 cross_compiling=$ac_cv_prog_cxx_cross
14687 cat > conftest.$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14691 #ifdef HAVE_IEEEFP_H
14692 #include <ieeefp.h>
14699 if { (eval echo configure:14700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14701 glibcpp_cv_func_fabsl_use=yes
14703 echo "configure: failed program was:" >&5
14704 cat conftest.$ac_ext >&5
14706 glibcpp_cv_func_fabsl_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_fabsl_use" 1>&6
14722 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
14723 for ac_func in fabsl
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 _fabsl declaration""... $ac_c" 1>&6
14781 echo "configure:14782: checking for _fabsl declaration" >&5
14782 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
14783 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_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"
14799 #ifdef HAVE_IEEEFP_H
14800 #include <ieeefp.h>
14807 if { (eval echo configure:14808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14809 glibcpp_cv_func__fabsl_use=yes
14811 echo "configure: failed program was:" >&5
14812 cat conftest.$ac_ext >&5
14814 glibcpp_cv_func__fabsl_use=no
14818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14822 cross_compiling=$ac_cv_prog_cc_cross
14828 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
14830 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
14831 for ac_func in _fabsl
14833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14834 echo "configure:14835: checking for $ac_func" >&5
14835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14836 echo $ac_n "(cached) $ac_c" 1>&6
14838 cat > conftest.$ac_ext <<EOF
14839 #line 14840 "configure"
14840 #include "confdefs.h"
14841 /* System header to define __stub macros and hopefully few prototypes,
14842 which can conflict with char $ac_func(); below. */
14843 #include <assert.h>
14844 /* Override any gcc2 internal prototype to avoid an error. */
14845 /* We use char because int might match the return type of a gcc2
14846 builtin and then its argument prototype would still apply. */
14851 /* The GNU C library defines this for functions which it implements
14852 to always fail with ENOSYS. Some functions are actually named
14853 something starting with __ and the normal name is an alias. */
14854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14862 if { (eval echo configure:14863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14864 eval "ac_cv_func_$ac_func=yes"
14866 echo "configure: failed program was:" >&5
14867 cat conftest.$ac_ext >&5
14869 eval "ac_cv_func_$ac_func=no"
14874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14875 echo "$ac_t""yes" 1>&6
14876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14877 cat >> confdefs.h <<EOF
14878 #define $ac_tr_func 1
14882 echo "$ac_t""no" 1>&6
14891 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
14892 echo "configure:14893: checking for fmodl declaration" >&5
14893 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14894 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14895 echo $ac_n "(cached) $ac_c" 1>&6
14900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14901 ac_cpp='$CXXCPP $CPPFLAGS'
14902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14904 cross_compiling=$ac_cv_prog_cxx_cross
14906 cat > conftest.$ac_ext <<EOF
14907 #line 14908 "configure"
14908 #include "confdefs.h"
14914 if { (eval echo configure:14915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14916 glibcpp_cv_func_fmodl_use=yes
14918 echo "configure: failed program was:" >&5
14919 cat conftest.$ac_ext >&5
14921 glibcpp_cv_func_fmodl_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_fmodl_use" 1>&6
14937 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
14938 for ac_func in fmodl
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 _fmodl declaration""... $ac_c" 1>&6
14996 echo "configure:14997: checking for _fmodl declaration" >&5
14997 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
14998 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_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"
15018 if { (eval echo configure:15019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15020 glibcpp_cv_func__fmodl_use=yes
15022 echo "configure: failed program was:" >&5
15023 cat conftest.$ac_ext >&5
15025 glibcpp_cv_func__fmodl_use=no
15029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15030 ac_cpp='$CPP $CPPFLAGS'
15031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15033 cross_compiling=$ac_cv_prog_cc_cross
15039 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15041 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15042 for ac_func in _fmodl
15044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15045 echo "configure:15046: checking for $ac_func" >&5
15046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15047 echo $ac_n "(cached) $ac_c" 1>&6
15049 cat > conftest.$ac_ext <<EOF
15050 #line 15051 "configure"
15051 #include "confdefs.h"
15052 /* System header to define __stub macros and hopefully few prototypes,
15053 which can conflict with char $ac_func(); below. */
15054 #include <assert.h>
15055 /* Override any gcc2 internal prototype to avoid an error. */
15056 /* We use char because int might match the return type of a gcc2
15057 builtin and then its argument prototype would still apply. */
15062 /* The GNU C library defines this for functions which it implements
15063 to always fail with ENOSYS. Some functions are actually named
15064 something starting with __ and the normal name is an alias. */
15065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15073 if { (eval echo configure:15074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15075 eval "ac_cv_func_$ac_func=yes"
15077 echo "configure: failed program was:" >&5
15078 cat conftest.$ac_ext >&5
15080 eval "ac_cv_func_$ac_func=no"
15085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15086 echo "$ac_t""yes" 1>&6
15087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15088 cat >> confdefs.h <<EOF
15089 #define $ac_tr_func 1
15093 echo "$ac_t""no" 1>&6
15102 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
15103 echo "configure:15104: checking for frexpl declaration" >&5
15104 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
15105 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15112 ac_cpp='$CXXCPP $CPPFLAGS'
15113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15115 cross_compiling=$ac_cv_prog_cxx_cross
15117 cat > conftest.$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15125 if { (eval echo configure:15126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15127 glibcpp_cv_func_frexpl_use=yes
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15132 glibcpp_cv_func_frexpl_use=no
15136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15140 cross_compiling=$ac_cv_prog_cc_cross
15146 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
15148 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
15149 for ac_func in frexpl
15151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15152 echo "configure:15153: checking for $ac_func" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char $ac_func(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15180 if { (eval echo configure:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15182 eval "ac_cv_func_$ac_func=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.$ac_ext >&5
15187 eval "ac_cv_func_$ac_func=no"
15192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15195 cat >> confdefs.h <<EOF
15196 #define $ac_tr_func 1
15200 echo "$ac_t""no" 1>&6
15206 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15207 echo "configure:15208: checking for _frexpl declaration" >&5
15208 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
15209 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15210 echo $ac_n "(cached) $ac_c" 1>&6
15215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15216 ac_cpp='$CXXCPP $CPPFLAGS'
15217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15219 cross_compiling=$ac_cv_prog_cxx_cross
15221 cat > conftest.$ac_ext <<EOF
15222 #line 15223 "configure"
15223 #include "confdefs.h"
15229 if { (eval echo configure:15230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15231 glibcpp_cv_func__frexpl_use=yes
15233 echo "configure: failed program was:" >&5
15234 cat conftest.$ac_ext >&5
15236 glibcpp_cv_func__frexpl_use=no
15240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15241 ac_cpp='$CPP $CPPFLAGS'
15242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15244 cross_compiling=$ac_cv_prog_cc_cross
15250 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15252 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15253 for ac_func in _frexpl
15255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15256 echo "configure:15257: checking for $ac_func" >&5
15257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15258 echo $ac_n "(cached) $ac_c" 1>&6
15260 cat > conftest.$ac_ext <<EOF
15261 #line 15262 "configure"
15262 #include "confdefs.h"
15263 /* System header to define __stub macros and hopefully few prototypes,
15264 which can conflict with char $ac_func(); below. */
15265 #include <assert.h>
15266 /* Override any gcc2 internal prototype to avoid an error. */
15267 /* We use char because int might match the return type of a gcc2
15268 builtin and then its argument prototype would still apply. */
15273 /* The GNU C library defines this for functions which it implements
15274 to always fail with ENOSYS. Some functions are actually named
15275 something starting with __ and the normal name is an alias. */
15276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15284 if { (eval echo configure:15285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15286 eval "ac_cv_func_$ac_func=yes"
15288 echo "configure: failed program was:" >&5
15289 cat conftest.$ac_ext >&5
15291 eval "ac_cv_func_$ac_func=no"
15296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15297 echo "$ac_t""yes" 1>&6
15298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15299 cat >> confdefs.h <<EOF
15300 #define $ac_tr_func 1
15304 echo "$ac_t""no" 1>&6
15313 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
15314 echo "configure:15315: checking for hypotl declaration" >&5
15315 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
15316 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
15317 echo $ac_n "(cached) $ac_c" 1>&6
15322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15323 ac_cpp='$CXXCPP $CPPFLAGS'
15324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15326 cross_compiling=$ac_cv_prog_cxx_cross
15328 cat > conftest.$ac_ext <<EOF
15329 #line 15330 "configure"
15330 #include "confdefs.h"
15336 if { (eval echo configure:15337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15338 glibcpp_cv_func_hypotl_use=yes
15340 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5
15343 glibcpp_cv_func_hypotl_use=no
15347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15348 ac_cpp='$CPP $CPPFLAGS'
15349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15351 cross_compiling=$ac_cv_prog_cc_cross
15357 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
15359 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
15360 for ac_func in hypotl
15362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15363 echo "configure:15364: checking for $ac_func" >&5
15364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15365 echo $ac_n "(cached) $ac_c" 1>&6
15367 cat > conftest.$ac_ext <<EOF
15368 #line 15369 "configure"
15369 #include "confdefs.h"
15370 /* System header to define __stub macros and hopefully few prototypes,
15371 which can conflict with char $ac_func(); below. */
15372 #include <assert.h>
15373 /* Override any gcc2 internal prototype to avoid an error. */
15374 /* We use char because int might match the return type of a gcc2
15375 builtin and then its argument prototype would still apply. */
15380 /* The GNU C library defines this for functions which it implements
15381 to always fail with ENOSYS. Some functions are actually named
15382 something starting with __ and the normal name is an alias. */
15383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15391 if { (eval echo configure:15392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15393 eval "ac_cv_func_$ac_func=yes"
15395 echo "configure: failed program was:" >&5
15396 cat conftest.$ac_ext >&5
15398 eval "ac_cv_func_$ac_func=no"
15403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15404 echo "$ac_t""yes" 1>&6
15405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15406 cat >> confdefs.h <<EOF
15407 #define $ac_tr_func 1
15411 echo "$ac_t""no" 1>&6
15417 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
15418 echo "configure:15419: checking for _hypotl declaration" >&5
15419 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
15420 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
15421 echo $ac_n "(cached) $ac_c" 1>&6
15426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15427 ac_cpp='$CXXCPP $CPPFLAGS'
15428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15430 cross_compiling=$ac_cv_prog_cxx_cross
15432 cat > conftest.$ac_ext <<EOF
15433 #line 15434 "configure"
15434 #include "confdefs.h"
15440 if { (eval echo configure:15441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15442 glibcpp_cv_func__hypotl_use=yes
15444 echo "configure: failed program was:" >&5
15445 cat conftest.$ac_ext >&5
15447 glibcpp_cv_func__hypotl_use=no
15451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15455 cross_compiling=$ac_cv_prog_cc_cross
15461 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
15463 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
15464 for ac_func in _hypotl
15466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15467 echo "configure:15468: checking for $ac_func" >&5
15468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15469 echo $ac_n "(cached) $ac_c" 1>&6
15471 cat > conftest.$ac_ext <<EOF
15472 #line 15473 "configure"
15473 #include "confdefs.h"
15474 /* System header to define __stub macros and hopefully few prototypes,
15475 which can conflict with char $ac_func(); below. */
15476 #include <assert.h>
15477 /* Override any gcc2 internal prototype to avoid an error. */
15478 /* We use char because int might match the return type of a gcc2
15479 builtin and then its argument prototype would still apply. */
15484 /* The GNU C library defines this for functions which it implements
15485 to always fail with ENOSYS. Some functions are actually named
15486 something starting with __ and the normal name is an alias. */
15487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15495 if { (eval echo configure:15496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15497 eval "ac_cv_func_$ac_func=yes"
15499 echo "configure: failed program was:" >&5
15500 cat conftest.$ac_ext >&5
15502 eval "ac_cv_func_$ac_func=no"
15507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15508 echo "$ac_t""yes" 1>&6
15509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15510 cat >> confdefs.h <<EOF
15511 #define $ac_tr_func 1
15515 echo "$ac_t""no" 1>&6
15524 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
15525 echo "configure:15526: checking for ldexpl declaration" >&5
15526 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
15527 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
15528 echo $ac_n "(cached) $ac_c" 1>&6
15533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15534 ac_cpp='$CXXCPP $CPPFLAGS'
15535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15537 cross_compiling=$ac_cv_prog_cxx_cross
15539 cat > conftest.$ac_ext <<EOF
15540 #line 15541 "configure"
15541 #include "confdefs.h"
15547 if { (eval echo configure:15548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15549 glibcpp_cv_func_ldexpl_use=yes
15551 echo "configure: failed program was:" >&5
15552 cat conftest.$ac_ext >&5
15554 glibcpp_cv_func_ldexpl_use=no
15558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15562 cross_compiling=$ac_cv_prog_cc_cross
15568 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
15570 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
15571 for ac_func in ldexpl
15573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15574 echo "configure:15575: checking for $ac_func" >&5
15575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15576 echo $ac_n "(cached) $ac_c" 1>&6
15578 cat > conftest.$ac_ext <<EOF
15579 #line 15580 "configure"
15580 #include "confdefs.h"
15581 /* System header to define __stub macros and hopefully few prototypes,
15582 which can conflict with char $ac_func(); below. */
15583 #include <assert.h>
15584 /* Override any gcc2 internal prototype to avoid an error. */
15585 /* We use char because int might match the return type of a gcc2
15586 builtin and then its argument prototype would still apply. */
15591 /* The GNU C library defines this for functions which it implements
15592 to always fail with ENOSYS. Some functions are actually named
15593 something starting with __ and the normal name is an alias. */
15594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15602 if { (eval echo configure:15603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15604 eval "ac_cv_func_$ac_func=yes"
15606 echo "configure: failed program was:" >&5
15607 cat conftest.$ac_ext >&5
15609 eval "ac_cv_func_$ac_func=no"
15614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15615 echo "$ac_t""yes" 1>&6
15616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15617 cat >> confdefs.h <<EOF
15618 #define $ac_tr_func 1
15622 echo "$ac_t""no" 1>&6
15628 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15629 echo "configure:15630: checking for _ldexpl declaration" >&5
15630 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
15631 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15638 ac_cpp='$CXXCPP $CPPFLAGS'
15639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15641 cross_compiling=$ac_cv_prog_cxx_cross
15643 cat > conftest.$ac_ext <<EOF
15644 #line 15645 "configure"
15645 #include "confdefs.h"
15651 if { (eval echo configure:15652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15653 glibcpp_cv_func__ldexpl_use=yes
15655 echo "configure: failed program was:" >&5
15656 cat conftest.$ac_ext >&5
15658 glibcpp_cv_func__ldexpl_use=no
15662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15663 ac_cpp='$CPP $CPPFLAGS'
15664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15666 cross_compiling=$ac_cv_prog_cc_cross
15672 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15674 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15675 for ac_func in _ldexpl
15677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15678 echo "configure:15679: checking for $ac_func" >&5
15679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15680 echo $ac_n "(cached) $ac_c" 1>&6
15682 cat > conftest.$ac_ext <<EOF
15683 #line 15684 "configure"
15684 #include "confdefs.h"
15685 /* System header to define __stub macros and hopefully few prototypes,
15686 which can conflict with char $ac_func(); below. */
15687 #include <assert.h>
15688 /* Override any gcc2 internal prototype to avoid an error. */
15689 /* We use char because int might match the return type of a gcc2
15690 builtin and then its argument prototype would still apply. */
15695 /* The GNU C library defines this for functions which it implements
15696 to always fail with ENOSYS. Some functions are actually named
15697 something starting with __ and the normal name is an alias. */
15698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15706 if { (eval echo configure:15707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15708 eval "ac_cv_func_$ac_func=yes"
15710 echo "configure: failed program was:" >&5
15711 cat conftest.$ac_ext >&5
15713 eval "ac_cv_func_$ac_func=no"
15718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15719 echo "$ac_t""yes" 1>&6
15720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15721 cat >> confdefs.h <<EOF
15722 #define $ac_tr_func 1
15726 echo "$ac_t""no" 1>&6
15735 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
15736 echo "configure:15737: checking for logl declaration" >&5
15737 if test x${glibcpp_cv_func_logl_use+set} != xset; then
15738 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
15739 echo $ac_n "(cached) $ac_c" 1>&6
15744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15745 ac_cpp='$CXXCPP $CPPFLAGS'
15746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15748 cross_compiling=$ac_cv_prog_cxx_cross
15750 cat > conftest.$ac_ext <<EOF
15751 #line 15752 "configure"
15752 #include "confdefs.h"
15754 #ifdef HAVE_IEEEFP_H
15755 #include <ieeefp.h>
15762 if { (eval echo configure:15763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15764 glibcpp_cv_func_logl_use=yes
15766 echo "configure: failed program was:" >&5
15767 cat conftest.$ac_ext >&5
15769 glibcpp_cv_func_logl_use=no
15773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15774 ac_cpp='$CPP $CPPFLAGS'
15775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15777 cross_compiling=$ac_cv_prog_cc_cross
15783 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
15785 if test x$glibcpp_cv_func_logl_use = x"yes"; then
15786 for ac_func in logl
15788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15789 echo "configure:15790: checking for $ac_func" >&5
15790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15791 echo $ac_n "(cached) $ac_c" 1>&6
15793 cat > conftest.$ac_ext <<EOF
15794 #line 15795 "configure"
15795 #include "confdefs.h"
15796 /* System header to define __stub macros and hopefully few prototypes,
15797 which can conflict with char $ac_func(); below. */
15798 #include <assert.h>
15799 /* Override any gcc2 internal prototype to avoid an error. */
15800 /* We use char because int might match the return type of a gcc2
15801 builtin and then its argument prototype would still apply. */
15806 /* The GNU C library defines this for functions which it implements
15807 to always fail with ENOSYS. Some functions are actually named
15808 something starting with __ and the normal name is an alias. */
15809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15817 if { (eval echo configure:15818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15819 eval "ac_cv_func_$ac_func=yes"
15821 echo "configure: failed program was:" >&5
15822 cat conftest.$ac_ext >&5
15824 eval "ac_cv_func_$ac_func=no"
15829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15830 echo "$ac_t""yes" 1>&6
15831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15832 cat >> confdefs.h <<EOF
15833 #define $ac_tr_func 1
15837 echo "$ac_t""no" 1>&6
15843 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15844 echo "configure:15845: checking for _logl declaration" >&5
15845 if test x${glibcpp_cv_func__logl_use+set} != xset; then
15846 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15847 echo $ac_n "(cached) $ac_c" 1>&6
15852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15853 ac_cpp='$CXXCPP $CPPFLAGS'
15854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15856 cross_compiling=$ac_cv_prog_cxx_cross
15858 cat > conftest.$ac_ext <<EOF
15859 #line 15860 "configure"
15860 #include "confdefs.h"
15862 #ifdef HAVE_IEEEFP_H
15863 #include <ieeefp.h>
15870 if { (eval echo configure:15871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15872 glibcpp_cv_func__logl_use=yes
15874 echo "configure: failed program was:" >&5
15875 cat conftest.$ac_ext >&5
15877 glibcpp_cv_func__logl_use=no
15881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15885 cross_compiling=$ac_cv_prog_cc_cross
15891 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15893 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15894 for ac_func in _logl
15896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15897 echo "configure:15898: checking for $ac_func" >&5
15898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15899 echo $ac_n "(cached) $ac_c" 1>&6
15901 cat > conftest.$ac_ext <<EOF
15902 #line 15903 "configure"
15903 #include "confdefs.h"
15904 /* System header to define __stub macros and hopefully few prototypes,
15905 which can conflict with char $ac_func(); below. */
15906 #include <assert.h>
15907 /* Override any gcc2 internal prototype to avoid an error. */
15908 /* We use char because int might match the return type of a gcc2
15909 builtin and then its argument prototype would still apply. */
15914 /* The GNU C library defines this for functions which it implements
15915 to always fail with ENOSYS. Some functions are actually named
15916 something starting with __ and the normal name is an alias. */
15917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15925 if { (eval echo configure:15926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15927 eval "ac_cv_func_$ac_func=yes"
15929 echo "configure: failed program was:" >&5
15930 cat conftest.$ac_ext >&5
15932 eval "ac_cv_func_$ac_func=no"
15937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15938 echo "$ac_t""yes" 1>&6
15939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15940 cat >> confdefs.h <<EOF
15941 #define $ac_tr_func 1
15945 echo "$ac_t""no" 1>&6
15954 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
15955 echo "configure:15956: checking for log10l declaration" >&5
15956 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
15957 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15964 ac_cpp='$CXXCPP $CPPFLAGS'
15965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15967 cross_compiling=$ac_cv_prog_cxx_cross
15969 cat > conftest.$ac_ext <<EOF
15970 #line 15971 "configure"
15971 #include "confdefs.h"
15973 #ifdef HAVE_IEEEFP_H
15974 #include <ieeefp.h>
15981 if { (eval echo configure:15982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15983 glibcpp_cv_func_log10l_use=yes
15985 echo "configure: failed program was:" >&5
15986 cat conftest.$ac_ext >&5
15988 glibcpp_cv_func_log10l_use=no
15992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15993 ac_cpp='$CPP $CPPFLAGS'
15994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15996 cross_compiling=$ac_cv_prog_cc_cross
16002 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
16004 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
16005 for ac_func in log10l
16007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16008 echo "configure:16009: checking for $ac_func" >&5
16009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16010 echo $ac_n "(cached) $ac_c" 1>&6
16012 cat > conftest.$ac_ext <<EOF
16013 #line 16014 "configure"
16014 #include "confdefs.h"
16015 /* System header to define __stub macros and hopefully few prototypes,
16016 which can conflict with char $ac_func(); below. */
16017 #include <assert.h>
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 /* We use char because int might match the return type of a gcc2
16020 builtin and then its argument prototype would still apply. */
16025 /* The GNU C library defines this for functions which it implements
16026 to always fail with ENOSYS. Some functions are actually named
16027 something starting with __ and the normal name is an alias. */
16028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16036 if { (eval echo configure:16037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16038 eval "ac_cv_func_$ac_func=yes"
16040 echo "configure: failed program was:" >&5
16041 cat conftest.$ac_ext >&5
16043 eval "ac_cv_func_$ac_func=no"
16048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16049 echo "$ac_t""yes" 1>&6
16050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16051 cat >> confdefs.h <<EOF
16052 #define $ac_tr_func 1
16056 echo "$ac_t""no" 1>&6
16062 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16063 echo "configure:16064: checking for _log10l declaration" >&5
16064 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16065 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16066 echo $ac_n "(cached) $ac_c" 1>&6
16071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16072 ac_cpp='$CXXCPP $CPPFLAGS'
16073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16075 cross_compiling=$ac_cv_prog_cxx_cross
16077 cat > conftest.$ac_ext <<EOF
16078 #line 16079 "configure"
16079 #include "confdefs.h"
16081 #ifdef HAVE_IEEEFP_H
16082 #include <ieeefp.h>
16089 if { (eval echo configure:16090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16091 glibcpp_cv_func__log10l_use=yes
16093 echo "configure: failed program was:" >&5
16094 cat conftest.$ac_ext >&5
16096 glibcpp_cv_func__log10l_use=no
16100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16101 ac_cpp='$CPP $CPPFLAGS'
16102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16104 cross_compiling=$ac_cv_prog_cc_cross
16110 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16112 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16113 for ac_func in _log10l
16115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16116 echo "configure:16117: checking for $ac_func" >&5
16117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16118 echo $ac_n "(cached) $ac_c" 1>&6
16120 cat > conftest.$ac_ext <<EOF
16121 #line 16122 "configure"
16122 #include "confdefs.h"
16123 /* System header to define __stub macros and hopefully few prototypes,
16124 which can conflict with char $ac_func(); below. */
16125 #include <assert.h>
16126 /* Override any gcc2 internal prototype to avoid an error. */
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16133 /* The GNU C library defines this for functions which it implements
16134 to always fail with ENOSYS. Some functions are actually named
16135 something starting with __ and the normal name is an alias. */
16136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16144 if { (eval echo configure:16145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16146 eval "ac_cv_func_$ac_func=yes"
16148 echo "configure: failed program was:" >&5
16149 cat conftest.$ac_ext >&5
16151 eval "ac_cv_func_$ac_func=no"
16156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16157 echo "$ac_t""yes" 1>&6
16158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16159 cat >> confdefs.h <<EOF
16160 #define $ac_tr_func 1
16164 echo "$ac_t""no" 1>&6
16173 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
16174 echo "configure:16175: checking for modfl declaration" >&5
16175 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
16176 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16183 ac_cpp='$CXXCPP $CPPFLAGS'
16184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16186 cross_compiling=$ac_cv_prog_cxx_cross
16188 cat > conftest.$ac_ext <<EOF
16189 #line 16190 "configure"
16190 #include "confdefs.h"
16196 if { (eval echo configure:16197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16198 glibcpp_cv_func_modfl_use=yes
16200 echo "configure: failed program was:" >&5
16201 cat conftest.$ac_ext >&5
16203 glibcpp_cv_func_modfl_use=no
16207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16208 ac_cpp='$CPP $CPPFLAGS'
16209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16211 cross_compiling=$ac_cv_prog_cc_cross
16217 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
16219 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
16220 for ac_func in modfl
16222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16223 echo "configure:16224: checking for $ac_func" >&5
16224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16225 echo $ac_n "(cached) $ac_c" 1>&6
16227 cat > conftest.$ac_ext <<EOF
16228 #line 16229 "configure"
16229 #include "confdefs.h"
16230 /* System header to define __stub macros and hopefully few prototypes,
16231 which can conflict with char $ac_func(); below. */
16232 #include <assert.h>
16233 /* Override any gcc2 internal prototype to avoid an error. */
16234 /* We use char because int might match the return type of a gcc2
16235 builtin and then its argument prototype would still apply. */
16240 /* The GNU C library defines this for functions which it implements
16241 to always fail with ENOSYS. Some functions are actually named
16242 something starting with __ and the normal name is an alias. */
16243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16251 if { (eval echo configure:16252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16253 eval "ac_cv_func_$ac_func=yes"
16255 echo "configure: failed program was:" >&5
16256 cat conftest.$ac_ext >&5
16258 eval "ac_cv_func_$ac_func=no"
16263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16264 echo "$ac_t""yes" 1>&6
16265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16266 cat >> confdefs.h <<EOF
16267 #define $ac_tr_func 1
16271 echo "$ac_t""no" 1>&6
16277 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16278 echo "configure:16279: checking for _modfl declaration" >&5
16279 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
16280 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16281 echo $ac_n "(cached) $ac_c" 1>&6
16286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16287 ac_cpp='$CXXCPP $CPPFLAGS'
16288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16290 cross_compiling=$ac_cv_prog_cxx_cross
16292 cat > conftest.$ac_ext <<EOF
16293 #line 16294 "configure"
16294 #include "confdefs.h"
16300 if { (eval echo configure:16301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16302 glibcpp_cv_func__modfl_use=yes
16304 echo "configure: failed program was:" >&5
16305 cat conftest.$ac_ext >&5
16307 glibcpp_cv_func__modfl_use=no
16311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16315 cross_compiling=$ac_cv_prog_cc_cross
16321 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16323 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16324 for ac_func in _modfl
16326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16327 echo "configure:16328: checking for $ac_func" >&5
16328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16329 echo $ac_n "(cached) $ac_c" 1>&6
16331 cat > conftest.$ac_ext <<EOF
16332 #line 16333 "configure"
16333 #include "confdefs.h"
16334 /* System header to define __stub macros and hopefully few prototypes,
16335 which can conflict with char $ac_func(); below. */
16336 #include <assert.h>
16337 /* Override any gcc2 internal prototype to avoid an error. */
16338 /* We use char because int might match the return type of a gcc2
16339 builtin and then its argument prototype would still apply. */
16344 /* The GNU C library defines this for functions which it implements
16345 to always fail with ENOSYS. Some functions are actually named
16346 something starting with __ and the normal name is an alias. */
16347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16355 if { (eval echo configure:16356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16357 eval "ac_cv_func_$ac_func=yes"
16359 echo "configure: failed program was:" >&5
16360 cat conftest.$ac_ext >&5
16362 eval "ac_cv_func_$ac_func=no"
16367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16368 echo "$ac_t""yes" 1>&6
16369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16370 cat >> confdefs.h <<EOF
16371 #define $ac_tr_func 1
16375 echo "$ac_t""no" 1>&6
16384 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
16385 echo "configure:16386: checking for powl declaration" >&5
16386 if test x${glibcpp_cv_func_powl_use+set} != xset; then
16387 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
16388 echo $ac_n "(cached) $ac_c" 1>&6
16393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16394 ac_cpp='$CXXCPP $CPPFLAGS'
16395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16397 cross_compiling=$ac_cv_prog_cxx_cross
16399 cat > conftest.$ac_ext <<EOF
16400 #line 16401 "configure"
16401 #include "confdefs.h"
16407 if { (eval echo configure:16408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16409 glibcpp_cv_func_powl_use=yes
16411 echo "configure: failed program was:" >&5
16412 cat conftest.$ac_ext >&5
16414 glibcpp_cv_func_powl_use=no
16418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16419 ac_cpp='$CPP $CPPFLAGS'
16420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16422 cross_compiling=$ac_cv_prog_cc_cross
16428 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
16430 if test x$glibcpp_cv_func_powl_use = x"yes"; then
16431 for ac_func in powl
16433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16434 echo "configure:16435: checking for $ac_func" >&5
16435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16436 echo $ac_n "(cached) $ac_c" 1>&6
16438 cat > conftest.$ac_ext <<EOF
16439 #line 16440 "configure"
16440 #include "confdefs.h"
16441 /* System header to define __stub macros and hopefully few prototypes,
16442 which can conflict with char $ac_func(); below. */
16443 #include <assert.h>
16444 /* Override any gcc2 internal prototype to avoid an error. */
16445 /* We use char because int might match the return type of a gcc2
16446 builtin and then its argument prototype would still apply. */
16451 /* The GNU C library defines this for functions which it implements
16452 to always fail with ENOSYS. Some functions are actually named
16453 something starting with __ and the normal name is an alias. */
16454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16462 if { (eval echo configure:16463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16464 eval "ac_cv_func_$ac_func=yes"
16466 echo "configure: failed program was:" >&5
16467 cat conftest.$ac_ext >&5
16469 eval "ac_cv_func_$ac_func=no"
16474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16475 echo "$ac_t""yes" 1>&6
16476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16477 cat >> confdefs.h <<EOF
16478 #define $ac_tr_func 1
16482 echo "$ac_t""no" 1>&6
16488 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16489 echo "configure:16490: checking for _powl declaration" >&5
16490 if test x${glibcpp_cv_func__powl_use+set} != xset; then
16491 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16492 echo $ac_n "(cached) $ac_c" 1>&6
16497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16501 cross_compiling=$ac_cv_prog_cxx_cross
16503 cat > conftest.$ac_ext <<EOF
16504 #line 16505 "configure"
16505 #include "confdefs.h"
16511 if { (eval echo configure:16512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16513 glibcpp_cv_func__powl_use=yes
16515 echo "configure: failed program was:" >&5
16516 cat conftest.$ac_ext >&5
16518 glibcpp_cv_func__powl_use=no
16522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16526 cross_compiling=$ac_cv_prog_cc_cross
16532 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16534 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16535 for ac_func in _powl
16537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16538 echo "configure:16539: checking for $ac_func" >&5
16539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16540 echo $ac_n "(cached) $ac_c" 1>&6
16542 cat > conftest.$ac_ext <<EOF
16543 #line 16544 "configure"
16544 #include "confdefs.h"
16545 /* System header to define __stub macros and hopefully few prototypes,
16546 which can conflict with char $ac_func(); below. */
16547 #include <assert.h>
16548 /* Override any gcc2 internal prototype to avoid an error. */
16549 /* We use char because int might match the return type of a gcc2
16550 builtin and then its argument prototype would still apply. */
16555 /* The GNU C library defines this for functions which it implements
16556 to always fail with ENOSYS. Some functions are actually named
16557 something starting with __ and the normal name is an alias. */
16558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16566 if { (eval echo configure:16567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16568 eval "ac_cv_func_$ac_func=yes"
16570 echo "configure: failed program was:" >&5
16571 cat conftest.$ac_ext >&5
16573 eval "ac_cv_func_$ac_func=no"
16578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16579 echo "$ac_t""yes" 1>&6
16580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16581 cat >> confdefs.h <<EOF
16582 #define $ac_tr_func 1
16586 echo "$ac_t""no" 1>&6
16595 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
16596 echo "configure:16597: checking for sqrtl declaration" >&5
16597 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
16598 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
16599 echo $ac_n "(cached) $ac_c" 1>&6
16604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16605 ac_cpp='$CXXCPP $CPPFLAGS'
16606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16608 cross_compiling=$ac_cv_prog_cxx_cross
16610 cat > conftest.$ac_ext <<EOF
16611 #line 16612 "configure"
16612 #include "confdefs.h"
16614 #ifdef HAVE_IEEEFP_H
16615 #include <ieeefp.h>
16622 if { (eval echo configure:16623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16624 glibcpp_cv_func_sqrtl_use=yes
16626 echo "configure: failed program was:" >&5
16627 cat conftest.$ac_ext >&5
16629 glibcpp_cv_func_sqrtl_use=no
16633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16634 ac_cpp='$CPP $CPPFLAGS'
16635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16637 cross_compiling=$ac_cv_prog_cc_cross
16643 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
16645 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
16646 for ac_func in sqrtl
16648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16649 echo "configure:16650: checking for $ac_func" >&5
16650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16651 echo $ac_n "(cached) $ac_c" 1>&6
16653 cat > conftest.$ac_ext <<EOF
16654 #line 16655 "configure"
16655 #include "confdefs.h"
16656 /* System header to define __stub macros and hopefully few prototypes,
16657 which can conflict with char $ac_func(); below. */
16658 #include <assert.h>
16659 /* Override any gcc2 internal prototype to avoid an error. */
16660 /* We use char because int might match the return type of a gcc2
16661 builtin and then its argument prototype would still apply. */
16666 /* The GNU C library defines this for functions which it implements
16667 to always fail with ENOSYS. Some functions are actually named
16668 something starting with __ and the normal name is an alias. */
16669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16677 if { (eval echo configure:16678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16679 eval "ac_cv_func_$ac_func=yes"
16681 echo "configure: failed program was:" >&5
16682 cat conftest.$ac_ext >&5
16684 eval "ac_cv_func_$ac_func=no"
16689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16690 echo "$ac_t""yes" 1>&6
16691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16692 cat >> confdefs.h <<EOF
16693 #define $ac_tr_func 1
16697 echo "$ac_t""no" 1>&6
16703 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16704 echo "configure:16705: checking for _sqrtl declaration" >&5
16705 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
16706 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16707 echo $ac_n "(cached) $ac_c" 1>&6
16712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16713 ac_cpp='$CXXCPP $CPPFLAGS'
16714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16716 cross_compiling=$ac_cv_prog_cxx_cross
16718 cat > conftest.$ac_ext <<EOF
16719 #line 16720 "configure"
16720 #include "confdefs.h"
16722 #ifdef HAVE_IEEEFP_H
16723 #include <ieeefp.h>
16730 if { (eval echo configure:16731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16732 glibcpp_cv_func__sqrtl_use=yes
16734 echo "configure: failed program was:" >&5
16735 cat conftest.$ac_ext >&5
16737 glibcpp_cv_func__sqrtl_use=no
16741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16742 ac_cpp='$CPP $CPPFLAGS'
16743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16745 cross_compiling=$ac_cv_prog_cc_cross
16751 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16753 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16754 for ac_func in _sqrtl
16756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16757 echo "configure:16758: checking for $ac_func" >&5
16758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16759 echo $ac_n "(cached) $ac_c" 1>&6
16761 cat > conftest.$ac_ext <<EOF
16762 #line 16763 "configure"
16763 #include "confdefs.h"
16764 /* System header to define __stub macros and hopefully few prototypes,
16765 which can conflict with char $ac_func(); below. */
16766 #include <assert.h>
16767 /* Override any gcc2 internal prototype to avoid an error. */
16768 /* We use char because int might match the return type of a gcc2
16769 builtin and then its argument prototype would still apply. */
16774 /* The GNU C library defines this for functions which it implements
16775 to always fail with ENOSYS. Some functions are actually named
16776 something starting with __ and the normal name is an alias. */
16777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16785 if { (eval echo configure:16786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16787 eval "ac_cv_func_$ac_func=yes"
16789 echo "configure: failed program was:" >&5
16790 cat conftest.$ac_ext >&5
16792 eval "ac_cv_func_$ac_func=no"
16797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16798 echo "$ac_t""yes" 1>&6
16799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16800 cat >> confdefs.h <<EOF
16801 #define $ac_tr_func 1
16805 echo "$ac_t""no" 1>&6
16814 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
16815 echo "configure:16816: checking for sincosl declaration" >&5
16816 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
16817 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
16818 echo $ac_n "(cached) $ac_c" 1>&6
16823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16824 ac_cpp='$CXXCPP $CPPFLAGS'
16825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16827 cross_compiling=$ac_cv_prog_cxx_cross
16829 cat > conftest.$ac_ext <<EOF
16830 #line 16831 "configure"
16831 #include "confdefs.h"
16837 if { (eval echo configure:16838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16839 glibcpp_cv_func_sincosl_use=yes
16841 echo "configure: failed program was:" >&5
16842 cat conftest.$ac_ext >&5
16844 glibcpp_cv_func_sincosl_use=no
16848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16849 ac_cpp='$CPP $CPPFLAGS'
16850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16852 cross_compiling=$ac_cv_prog_cc_cross
16858 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
16860 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
16861 for ac_func in sincosl
16863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16864 echo "configure:16865: checking for $ac_func" >&5
16865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16866 echo $ac_n "(cached) $ac_c" 1>&6
16868 cat > conftest.$ac_ext <<EOF
16869 #line 16870 "configure"
16870 #include "confdefs.h"
16871 /* System header to define __stub macros and hopefully few prototypes,
16872 which can conflict with char $ac_func(); below. */
16873 #include <assert.h>
16874 /* Override any gcc2 internal prototype to avoid an error. */
16875 /* We use char because int might match the return type of a gcc2
16876 builtin and then its argument prototype would still apply. */
16881 /* The GNU C library defines this for functions which it implements
16882 to always fail with ENOSYS. Some functions are actually named
16883 something starting with __ and the normal name is an alias. */
16884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16892 if { (eval echo configure:16893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16894 eval "ac_cv_func_$ac_func=yes"
16896 echo "configure: failed program was:" >&5
16897 cat conftest.$ac_ext >&5
16899 eval "ac_cv_func_$ac_func=no"
16904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16905 echo "$ac_t""yes" 1>&6
16906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16907 cat >> confdefs.h <<EOF
16908 #define $ac_tr_func 1
16912 echo "$ac_t""no" 1>&6
16918 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16919 echo "configure:16920: checking for _sincosl declaration" >&5
16920 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
16921 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16928 ac_cpp='$CXXCPP $CPPFLAGS'
16929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16931 cross_compiling=$ac_cv_prog_cxx_cross
16933 cat > conftest.$ac_ext <<EOF
16934 #line 16935 "configure"
16935 #include "confdefs.h"
16941 if { (eval echo configure:16942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16943 glibcpp_cv_func__sincosl_use=yes
16945 echo "configure: failed program was:" >&5
16946 cat conftest.$ac_ext >&5
16948 glibcpp_cv_func__sincosl_use=no
16952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling=$ac_cv_prog_cc_cross
16962 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16964 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16965 for ac_func in _sincosl
16967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16968 echo "configure:16969: checking for $ac_func" >&5
16969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16970 echo $ac_n "(cached) $ac_c" 1>&6
16972 cat > conftest.$ac_ext <<EOF
16973 #line 16974 "configure"
16974 #include "confdefs.h"
16975 /* System header to define __stub macros and hopefully few prototypes,
16976 which can conflict with char $ac_func(); below. */
16977 #include <assert.h>
16978 /* Override any gcc2 internal prototype to avoid an error. */
16979 /* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16985 /* The GNU C library defines this for functions which it implements
16986 to always fail with ENOSYS. Some functions are actually named
16987 something starting with __ and the normal name is an alias. */
16988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 if { (eval echo configure:16997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16998 eval "ac_cv_func_$ac_func=yes"
17000 echo "configure: failed program was:" >&5
17001 cat conftest.$ac_ext >&5
17003 eval "ac_cv_func_$ac_func=no"
17008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17009 echo "$ac_t""yes" 1>&6
17010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17011 cat >> confdefs.h <<EOF
17012 #define $ac_tr_func 1
17016 echo "$ac_t""no" 1>&6
17025 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
17026 echo "configure:17027: checking for finitel declaration" >&5
17027 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
17028 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
17029 echo $ac_n "(cached) $ac_c" 1>&6
17034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17035 ac_cpp='$CXXCPP $CPPFLAGS'
17036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17038 cross_compiling=$ac_cv_prog_cxx_cross
17040 cat > conftest.$ac_ext <<EOF
17041 #line 17042 "configure"
17042 #include "confdefs.h"
17044 #ifdef HAVE_IEEEFP_H
17045 #include <ieeefp.h>
17052 if { (eval echo configure:17053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17054 glibcpp_cv_func_finitel_use=yes
17056 echo "configure: failed program was:" >&5
17057 cat conftest.$ac_ext >&5
17059 glibcpp_cv_func_finitel_use=no
17063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17067 cross_compiling=$ac_cv_prog_cc_cross
17073 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17075 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17076 for ac_func in finitel
17078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17079 echo "configure:17080: checking for $ac_func" >&5
17080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17081 echo $ac_n "(cached) $ac_c" 1>&6
17083 cat > conftest.$ac_ext <<EOF
17084 #line 17085 "configure"
17085 #include "confdefs.h"
17086 /* System header to define __stub macros and hopefully few prototypes,
17087 which can conflict with char $ac_func(); below. */
17088 #include <assert.h>
17089 /* Override any gcc2 internal prototype to avoid an error. */
17090 /* We use char because int might match the return type of a gcc2
17091 builtin and then its argument prototype would still apply. */
17096 /* The GNU C library defines this for functions which it implements
17097 to always fail with ENOSYS. Some functions are actually named
17098 something starting with __ and the normal name is an alias. */
17099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17107 if { (eval echo configure:17108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17109 eval "ac_cv_func_$ac_func=yes"
17111 echo "configure: failed program was:" >&5
17112 cat conftest.$ac_ext >&5
17114 eval "ac_cv_func_$ac_func=no"
17119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17120 echo "$ac_t""yes" 1>&6
17121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17122 cat >> confdefs.h <<EOF
17123 #define $ac_tr_func 1
17127 echo "$ac_t""no" 1>&6
17133 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17134 echo "configure:17135: checking for _finitel declaration" >&5
17135 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
17136 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17137 echo $ac_n "(cached) $ac_c" 1>&6
17142 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17143 ac_cpp='$CXXCPP $CPPFLAGS'
17144 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17145 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17146 cross_compiling=$ac_cv_prog_cxx_cross
17148 cat > conftest.$ac_ext <<EOF
17149 #line 17150 "configure"
17150 #include "confdefs.h"
17152 #ifdef HAVE_IEEEFP_H
17153 #include <ieeefp.h>
17160 if { (eval echo configure:17161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17162 glibcpp_cv_func__finitel_use=yes
17164 echo "configure: failed program was:" >&5
17165 cat conftest.$ac_ext >&5
17167 glibcpp_cv_func__finitel_use=no
17171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17175 cross_compiling=$ac_cv_prog_cc_cross
17181 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17183 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17184 for ac_func in _finitel
17186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17187 echo "configure:17188: checking for $ac_func" >&5
17188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17189 echo $ac_n "(cached) $ac_c" 1>&6
17191 cat > conftest.$ac_ext <<EOF
17192 #line 17193 "configure"
17193 #include "confdefs.h"
17194 /* System header to define __stub macros and hopefully few prototypes,
17195 which can conflict with char $ac_func(); below. */
17196 #include <assert.h>
17197 /* Override any gcc2 internal prototype to avoid an error. */
17198 /* We use char because int might match the return type of a gcc2
17199 builtin and then its argument prototype would still apply. */
17204 /* The GNU C library defines this for functions which it implements
17205 to always fail with ENOSYS. Some functions are actually named
17206 something starting with __ and the normal name is an alias. */
17207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17215 if { (eval echo configure:17216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17217 eval "ac_cv_func_$ac_func=yes"
17219 echo "configure: failed program was:" >&5
17220 cat conftest.$ac_ext >&5
17222 eval "ac_cv_func_$ac_func=no"
17227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17228 echo "$ac_t""yes" 1>&6
17229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17230 cat >> confdefs.h <<EOF
17231 #define $ac_tr_func 1
17235 echo "$ac_t""no" 1>&6
17245 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
17246 echo "configure:17247: checking for _float trig functions" >&5
17247 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
17248 echo $ac_n "(cached) $ac_c" 1>&6
17253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17254 ac_cpp='$CXXCPP $CPPFLAGS'
17255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17257 cross_compiling=$ac_cv_prog_cxx_cross
17259 cat > conftest.$ac_ext <<EOF
17260 #line 17261 "configure"
17261 #include "confdefs.h"
17264 `for x in _acosf _asinf _atanf \
17265 _cosf _sinf _tanf \
17266 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
17269 if { (eval echo configure:17270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17271 glibcpp_cv_func__float_trig_use=yes
17273 echo "configure: failed program was:" >&5
17274 cat conftest.$ac_ext >&5
17276 glibcpp_cv_func__float_trig_use=no
17280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17281 ac_cpp='$CPP $CPPFLAGS'
17282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17284 cross_compiling=$ac_cv_prog_cc_cross
17288 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
17289 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
17290 for ac_func in _acosf _asinf _atanf \
17291 _cosf _sinf _tanf \
17292 _coshf _sinhf _tanhf
17294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17295 echo "configure:17296: checking for $ac_func" >&5
17296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17297 echo $ac_n "(cached) $ac_c" 1>&6
17299 cat > conftest.$ac_ext <<EOF
17300 #line 17301 "configure"
17301 #include "confdefs.h"
17302 /* System header to define __stub macros and hopefully few prototypes,
17303 which can conflict with char $ac_func(); below. */
17304 #include <assert.h>
17305 /* Override any gcc2 internal prototype to avoid an error. */
17306 /* We use char because int might match the return type of a gcc2
17307 builtin and then its argument prototype would still apply. */
17312 /* The GNU C library defines this for functions which it implements
17313 to always fail with ENOSYS. Some functions are actually named
17314 something starting with __ and the normal name is an alias. */
17315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17323 if { (eval echo configure:17324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17325 eval "ac_cv_func_$ac_func=yes"
17327 echo "configure: failed program was:" >&5
17328 cat conftest.$ac_ext >&5
17330 eval "ac_cv_func_$ac_func=no"
17335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17336 echo "$ac_t""yes" 1>&6
17337 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17338 cat >> confdefs.h <<EOF
17339 #define $ac_tr_func 1
17343 echo "$ac_t""no" 1>&6
17350 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
17351 echo "configure:17352: checking for _float round functions" >&5
17352 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
17353 echo $ac_n "(cached) $ac_c" 1>&6
17358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17362 cross_compiling=$ac_cv_prog_cxx_cross
17364 cat > conftest.$ac_ext <<EOF
17365 #line 17366 "configure"
17366 #include "confdefs.h"
17369 `for x in _ceilf _floorf; do echo "$x (0);"; done`
17372 if { (eval echo configure:17373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17374 glibcpp_cv_func__float_round_use=yes
17376 echo "configure: failed program was:" >&5
17377 cat conftest.$ac_ext >&5
17379 glibcpp_cv_func__float_round_use=no
17383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17384 ac_cpp='$CPP $CPPFLAGS'
17385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17387 cross_compiling=$ac_cv_prog_cc_cross
17391 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
17392 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
17393 for ac_func in _ceilf _floorf
17395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17396 echo "configure:17397: checking for $ac_func" >&5
17397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17398 echo $ac_n "(cached) $ac_c" 1>&6
17400 cat > conftest.$ac_ext <<EOF
17401 #line 17402 "configure"
17402 #include "confdefs.h"
17403 /* System header to define __stub macros and hopefully few prototypes,
17404 which can conflict with char $ac_func(); below. */
17405 #include <assert.h>
17406 /* Override any gcc2 internal prototype to avoid an error. */
17407 /* We use char because int might match the return type of a gcc2
17408 builtin and then its argument prototype would still apply. */
17413 /* The GNU C library defines this for functions which it implements
17414 to always fail with ENOSYS. Some functions are actually named
17415 something starting with __ and the normal name is an alias. */
17416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17424 if { (eval echo configure:17425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17426 eval "ac_cv_func_$ac_func=yes"
17428 echo "configure: failed program was:" >&5
17429 cat conftest.$ac_ext >&5
17431 eval "ac_cv_func_$ac_func=no"
17436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17437 echo "$ac_t""yes" 1>&6
17438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17439 cat >> confdefs.h <<EOF
17440 #define $ac_tr_func 1
17444 echo "$ac_t""no" 1>&6
17452 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
17453 echo "configure:17454: checking for _long double trig functions" >&5
17454 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
17455 echo $ac_n "(cached) $ac_c" 1>&6
17460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17461 ac_cpp='$CXXCPP $CPPFLAGS'
17462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17464 cross_compiling=$ac_cv_prog_cxx_cross
17466 cat > conftest.$ac_ext <<EOF
17467 #line 17468 "configure"
17468 #include "confdefs.h"
17471 `for x in _acosl _asinl _atanl \
17472 _cosl _sinl _tanl \
17473 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
17476 if { (eval echo configure:17477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17478 glibcpp_cv_func__long_double_trig_use=yes
17480 echo "configure: failed program was:" >&5
17481 cat conftest.$ac_ext >&5
17483 glibcpp_cv_func__long_double_trig_use=no
17487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17488 ac_cpp='$CPP $CPPFLAGS'
17489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17491 cross_compiling=$ac_cv_prog_cc_cross
17495 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
17496 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
17497 for ac_func in _acosl _asinl _atanl \
17498 _cosl _sinl _tanl \
17499 _coshl _sinhl _tanhl
17501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17502 echo "configure:17503: checking for $ac_func" >&5
17503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17504 echo $ac_n "(cached) $ac_c" 1>&6
17506 cat > conftest.$ac_ext <<EOF
17507 #line 17508 "configure"
17508 #include "confdefs.h"
17509 /* System header to define __stub macros and hopefully few prototypes,
17510 which can conflict with char $ac_func(); below. */
17511 #include <assert.h>
17512 /* Override any gcc2 internal prototype to avoid an error. */
17513 /* We use char because int might match the return type of a gcc2
17514 builtin and then its argument prototype would still apply. */
17519 /* The GNU C library defines this for functions which it implements
17520 to always fail with ENOSYS. Some functions are actually named
17521 something starting with __ and the normal name is an alias. */
17522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17530 if { (eval echo configure:17531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17532 eval "ac_cv_func_$ac_func=yes"
17534 echo "configure: failed program was:" >&5
17535 cat conftest.$ac_ext >&5
17537 eval "ac_cv_func_$ac_func=no"
17542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17543 echo "$ac_t""yes" 1>&6
17544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17545 cat >> confdefs.h <<EOF
17546 #define $ac_tr_func 1
17550 echo "$ac_t""no" 1>&6
17557 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
17558 echo "configure:17559: checking for _long double round functions" >&5
17559 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
17560 echo $ac_n "(cached) $ac_c" 1>&6
17565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17566 ac_cpp='$CXXCPP $CPPFLAGS'
17567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17569 cross_compiling=$ac_cv_prog_cxx_cross
17571 cat > conftest.$ac_ext <<EOF
17572 #line 17573 "configure"
17573 #include "confdefs.h"
17576 `for x in _ceill _floorl; do echo "$x (0);"; done`
17579 if { (eval echo configure:17580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17581 glibcpp_cv_func__long_double_round_use=yes
17583 echo "configure: failed program was:" >&5
17584 cat conftest.$ac_ext >&5
17586 glibcpp_cv_func__long_double_round_use=no
17590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17591 ac_cpp='$CPP $CPPFLAGS'
17592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17594 cross_compiling=$ac_cv_prog_cc_cross
17598 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
17599 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
17600 for ac_func in _ceill _floorl
17602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17603 echo "configure:17604: checking for $ac_func" >&5
17604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17605 echo $ac_n "(cached) $ac_c" 1>&6
17607 cat > conftest.$ac_ext <<EOF
17608 #line 17609 "configure"
17609 #include "confdefs.h"
17610 /* System header to define __stub macros and hopefully few prototypes,
17611 which can conflict with char $ac_func(); below. */
17612 #include <assert.h>
17613 /* Override any gcc2 internal prototype to avoid an error. */
17614 /* We use char because int might match the return type of a gcc2
17615 builtin and then its argument prototype would still apply. */
17620 /* The GNU C library defines this for functions which it implements
17621 to always fail with ENOSYS. Some functions are actually named
17622 something starting with __ and the normal name is an alias. */
17623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17631 if { (eval echo configure:17632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17633 eval "ac_cv_func_$ac_func=yes"
17635 echo "configure: failed program was:" >&5
17636 cat conftest.$ac_ext >&5
17638 eval "ac_cv_func_$ac_func=no"
17643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17644 echo "$ac_t""yes" 1>&6
17645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17646 cat >> confdefs.h <<EOF
17647 #define $ac_tr_func 1
17651 echo "$ac_t""no" 1>&6
17658 LIBS="$ac_save_LIBS"
17659 CXXFLAGS="$ac_save_CXXFLAGS"
17662 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17663 echo "configure:17664: checking for main in -lm" >&5
17664 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17665 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17666 echo $ac_n "(cached) $ac_c" 1>&6
17668 ac_save_LIBS="$LIBS"
17670 cat > conftest.$ac_ext <<EOF
17671 #line 17672 "configure"
17672 #include "confdefs.h"
17678 if { (eval echo configure:17679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17680 eval "ac_cv_lib_$ac_lib_var=yes"
17682 echo "configure: failed program was:" >&5
17683 cat conftest.$ac_ext >&5
17685 eval "ac_cv_lib_$ac_lib_var=no"
17688 LIBS="$ac_save_LIBS"
17691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17692 echo "$ac_t""yes" 1>&6
17693 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17694 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17695 cat >> confdefs.h <<EOF
17696 #define $ac_tr_lib 1
17702 echo "$ac_t""no" 1>&6
17705 for ac_func in nan copysignf
17707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17708 echo "configure:17709: checking for $ac_func" >&5
17709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17710 echo $ac_n "(cached) $ac_c" 1>&6
17712 cat > conftest.$ac_ext <<EOF
17713 #line 17714 "configure"
17714 #include "confdefs.h"
17715 /* System header to define __stub macros and hopefully few prototypes,
17716 which can conflict with char $ac_func(); below. */
17717 #include <assert.h>
17718 /* Override any gcc2 internal prototype to avoid an error. */
17719 /* We use char because int might match the return type of a gcc2
17720 builtin and then its argument prototype would still apply. */
17725 /* The GNU C library defines this for functions which it implements
17726 to always fail with ENOSYS. Some functions are actually named
17727 something starting with __ and the normal name is an alias. */
17728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17736 if { (eval echo configure:17737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17738 eval "ac_cv_func_$ac_func=yes"
17740 echo "configure: failed program was:" >&5
17741 cat conftest.$ac_ext >&5
17743 eval "ac_cv_func_$ac_func=no"
17748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17749 echo "$ac_t""yes" 1>&6
17750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17751 cat >> confdefs.h <<EOF
17752 #define $ac_tr_func 1
17756 echo "$ac_t""no" 1>&6
17757 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17763 USE_COMPLEX_LONG_DOUBLE=no
17764 if test x$ac_cv_func_copysignl = x"yes"; then
17765 USE_COMPLEX_LONG_DOUBLE=yes
17766 for ac_func in signbitl
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
17818 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17829 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17830 echo "configure:17831: checking for mbstate_t" >&5
17831 cat > conftest.$ac_ext <<EOF
17832 #line 17833 "configure"
17833 #include "confdefs.h"
17836 mbstate_t teststate;
17839 if { (eval echo configure:17840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17843 echo "configure: failed program was:" >&5
17844 cat conftest.$ac_ext >&5
17849 echo "$ac_t""$have_mbstate_t" 1>&6
17850 if test x"$have_mbstate_t" = xyes; then
17851 cat >> confdefs.h <<\EOF
17852 #define HAVE_MBSTATE_T 1
17857 for ac_hdr in wchar.h
17859 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17861 echo "configure:17862: checking for $ac_hdr" >&5
17862 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17863 echo $ac_n "(cached) $ac_c" 1>&6
17865 cat > conftest.$ac_ext <<EOF
17866 #line 17867 "configure"
17867 #include "confdefs.h"
17870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17871 { (eval echo configure:17872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17873 if test -z "$ac_err"; then
17875 eval "ac_cv_header_$ac_safe=yes"
17878 echo "configure: failed program was:" >&5
17879 cat conftest.$ac_ext >&5
17881 eval "ac_cv_header_$ac_safe=no"
17885 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17886 echo "$ac_t""yes" 1>&6
17887 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17888 cat >> confdefs.h <<EOF
17889 #define $ac_tr_hdr 1
17893 echo "$ac_t""no" 1>&6
17898 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17899 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17900 echo "configure:17901: checking for wctype.h" >&5
17901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17902 echo $ac_n "(cached) $ac_c" 1>&6
17904 cat > conftest.$ac_ext <<EOF
17905 #line 17906 "configure"
17906 #include "confdefs.h"
17907 #include <wctype.h>
17909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17910 { (eval echo configure:17911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17912 if test -z "$ac_err"; then
17914 eval "ac_cv_header_$ac_safe=yes"
17917 echo "configure: failed program was:" >&5
17918 cat conftest.$ac_ext >&5
17920 eval "ac_cv_header_$ac_safe=no"
17924 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17925 echo "$ac_t""yes" 1>&6
17926 ac_has_wctype_h=yes
17928 echo "$ac_t""no" 1>&6
17933 if test x"$ac_has_wchar_h" = xyes &&
17934 test x"$ac_has_wctype_h" = xyes &&
17935 test x"$enable_c_mbchar" != xno; then
17937 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17938 echo "configure:17939: checking for WCHAR_MIN and WCHAR_MAX" >&5
17939 cat > conftest.$ac_ext <<EOF
17940 #line 17941 "configure"
17941 #include "confdefs.h"
17944 int i = WCHAR_MIN; int j = WCHAR_MAX;
17947 if { (eval echo configure:17948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17949 has_wchar_minmax=yes
17951 echo "configure: failed program was:" >&5
17952 cat conftest.$ac_ext >&5
17954 has_wchar_minmax=no
17957 echo "$ac_t""$has_wchar_minmax" 1>&6
17959 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17960 echo "configure:17961: checking for WEOF" >&5
17961 cat > conftest.$ac_ext <<EOF
17962 #line 17963 "configure"
17963 #include "confdefs.h"
17966 #include <stddef.h>
17971 if { (eval echo configure:17972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17975 echo "configure: failed program was:" >&5
17976 cat conftest.$ac_ext >&5
17981 echo "$ac_t""$has_weof" 1>&6
17984 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17987 echo "configure:17988: checking for $ac_func" >&5
17988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17989 echo $ac_n "(cached) $ac_c" 1>&6
17991 cat > conftest.$ac_ext <<EOF
17992 #line 17993 "configure"
17993 #include "confdefs.h"
17994 /* System header to define __stub macros and hopefully few prototypes,
17995 which can conflict with char $ac_func(); below. */
17996 #include <assert.h>
17997 /* Override any gcc2 internal prototype to avoid an error. */
17998 /* We use char because int might match the return type of a gcc2
17999 builtin and then its argument prototype would still apply. */
18004 /* The GNU C library defines this for functions which it implements
18005 to always fail with ENOSYS. Some functions are actually named
18006 something starting with __ and the normal name is an alias. */
18007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18015 if { (eval echo configure:18016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18017 eval "ac_cv_func_$ac_func=yes"
18019 echo "configure: failed program was:" >&5
18020 cat conftest.$ac_ext >&5
18022 eval "ac_cv_func_$ac_func=no"
18027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18028 echo "$ac_t""yes" 1>&6
18029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18030 cat >> confdefs.h <<EOF
18031 #define $ac_tr_func 1
18035 echo "$ac_t""no" 1>&6
18042 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
18043 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18044 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18045 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18046 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18047 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18050 echo "configure:18051: checking for $ac_func" >&5
18051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18052 echo $ac_n "(cached) $ac_c" 1>&6
18054 cat > conftest.$ac_ext <<EOF
18055 #line 18056 "configure"
18056 #include "confdefs.h"
18057 /* System header to define __stub macros and hopefully few prototypes,
18058 which can conflict with char $ac_func(); below. */
18059 #include <assert.h>
18060 /* Override any gcc2 internal prototype to avoid an error. */
18061 /* We use char because int might match the return type of a gcc2
18062 builtin and then its argument prototype would still apply. */
18067 /* The GNU C library defines this for functions which it implements
18068 to always fail with ENOSYS. Some functions are actually named
18069 something starting with __ and the normal name is an alias. */
18070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18078 if { (eval echo configure:18079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18080 eval "ac_cv_func_$ac_func=yes"
18082 echo "configure: failed program was:" >&5
18083 cat conftest.$ac_ext >&5
18085 eval "ac_cv_func_$ac_func=no"
18090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18091 echo "$ac_t""yes" 1>&6
18092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18093 cat >> confdefs.h <<EOF
18094 #define $ac_tr_func 1
18098 echo "$ac_t""no" 1>&6
18105 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
18106 echo "configure:18107: checking for ISO C99 wchar_t support" >&5
18107 if test x"$has_weof" = xyes &&
18108 test x"$has_wchar_minmax" = xyes &&
18109 test x"$ac_wfuncs" = xyes; then
18110 ac_isoC99_wchar_t=yes
18112 ac_isoC99_wchar_t=no
18114 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
18116 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
18117 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
18118 echo "configure:18119: checking for iconv.h" >&5
18119 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18120 echo $ac_n "(cached) $ac_c" 1>&6
18122 cat > conftest.$ac_ext <<EOF
18123 #line 18124 "configure"
18124 #include "confdefs.h"
18127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18128 { (eval echo configure:18129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18130 if test -z "$ac_err"; then
18132 eval "ac_cv_header_$ac_safe=yes"
18135 echo "configure: failed program was:" >&5
18136 cat conftest.$ac_ext >&5
18138 eval "ac_cv_header_$ac_safe=no"
18142 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18143 echo "$ac_t""yes" 1>&6
18146 echo "$ac_t""no" 1>&6
18150 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
18151 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
18152 echo "configure:18153: checking for langinfo.h" >&5
18153 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18154 echo $ac_n "(cached) $ac_c" 1>&6
18156 cat > conftest.$ac_ext <<EOF
18157 #line 18158 "configure"
18158 #include "confdefs.h"
18159 #include <langinfo.h>
18161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18162 { (eval echo configure:18163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18164 if test -z "$ac_err"; then
18166 eval "ac_cv_header_$ac_safe=yes"
18169 echo "configure: failed program was:" >&5
18170 cat conftest.$ac_ext >&5
18172 eval "ac_cv_header_$ac_safe=no"
18176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18177 echo "$ac_t""yes" 1>&6
18178 ac_has_langinfo_h=yes
18180 echo "$ac_t""no" 1>&6
18181 ac_has_langinfo_h=no
18185 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
18186 echo "configure:18187: checking for iconv in -liconv" >&5
18187 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
18188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18189 echo $ac_n "(cached) $ac_c" 1>&6
18191 ac_save_LIBS="$LIBS"
18192 LIBS="-liconv $LIBS"
18193 cat > conftest.$ac_ext <<EOF
18194 #line 18195 "configure"
18195 #include "confdefs.h"
18196 /* Override any gcc2 internal prototype to avoid an error. */
18197 /* We use char because int might match the return type of a gcc2
18198 builtin and then its argument prototype would still apply. */
18205 if { (eval echo configure:18206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18207 eval "ac_cv_lib_$ac_lib_var=yes"
18209 echo "configure: failed program was:" >&5
18210 cat conftest.$ac_ext >&5
18212 eval "ac_cv_lib_$ac_lib_var=no"
18215 LIBS="$ac_save_LIBS"
18218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18219 echo "$ac_t""yes" 1>&6
18222 echo "$ac_t""no" 1>&6
18225 ac_save_LIBS="$LIBS"
18226 LIBS="$LIBS $libiconv"
18228 for ac_func in iconv_open iconv_close iconv nl_langinfo
18230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18231 echo "configure:18232: checking for $ac_func" >&5
18232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18233 echo $ac_n "(cached) $ac_c" 1>&6
18235 cat > conftest.$ac_ext <<EOF
18236 #line 18237 "configure"
18237 #include "confdefs.h"
18238 /* System header to define __stub macros and hopefully few prototypes,
18239 which can conflict with char $ac_func(); below. */
18240 #include <assert.h>
18241 /* Override any gcc2 internal prototype to avoid an error. */
18242 /* We use char because int might match the return type of a gcc2
18243 builtin and then its argument prototype would still apply. */
18248 /* The GNU C library defines this for functions which it implements
18249 to always fail with ENOSYS. Some functions are actually named
18250 something starting with __ and the normal name is an alias. */
18251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18259 if { (eval echo configure:18260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18261 eval "ac_cv_func_$ac_func=yes"
18263 echo "configure: failed program was:" >&5
18264 cat conftest.$ac_ext >&5
18266 eval "ac_cv_func_$ac_func=no"
18271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18272 echo "$ac_t""yes" 1>&6
18273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18274 cat >> confdefs.h <<EOF
18275 #define $ac_tr_func 1
18280 echo "$ac_t""no" 1>&6
18286 LIBS="$ac_save_LIBS"
18288 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
18289 echo "configure:18290: checking for XPG2 wchar_t support" >&5
18290 if test x"$ac_has_iconv_h" = xyes &&
18291 test x"$ac_has_langinfo_h" = xyes &&
18292 test x"$ac_XPG2funcs" = xyes; then
18293 ac_XPG2_wchar_t=yes
18297 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
18299 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
18300 echo "configure:18301: checking for enabled wchar_t specializations" >&5
18301 if test x"$ac_isoC99_wchar_t" = xyes &&
18302 test x"$ac_XPG2_wchar_t" = xyes; then
18303 cat >> confdefs.h <<\EOF
18304 #define _GLIBCPP_USE_WCHAR_T 1
18307 echo "$ac_t"""yes"" 1>&6
18309 echo "$ac_t"""no"" 1>&6
18312 echo "configure: warning: wchar_t support disabled." 1>&2
18316 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18317 ac_save_CXXFLAGS="$CXXFLAGS"
18318 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18321 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18322 echo "configure:18323: checking for strtold declaration" >&5
18323 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
18324 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18325 echo $ac_n "(cached) $ac_c" 1>&6
18330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18331 ac_cpp='$CXXCPP $CPPFLAGS'
18332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18334 cross_compiling=$ac_cv_prog_cxx_cross
18336 cat > conftest.$ac_ext <<EOF
18337 #line 18338 "configure"
18338 #include "confdefs.h"
18339 #include <stdlib.h>
18344 if { (eval echo configure:18345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18346 glibcpp_cv_func_strtold_use=yes
18348 echo "configure: failed program was:" >&5
18349 cat conftest.$ac_ext >&5
18351 glibcpp_cv_func_strtold_use=no
18355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18359 cross_compiling=$ac_cv_prog_cc_cross
18365 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18366 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18367 for ac_func in strtold
18369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18370 echo "configure:18371: checking for $ac_func" >&5
18371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18372 echo $ac_n "(cached) $ac_c" 1>&6
18374 cat > conftest.$ac_ext <<EOF
18375 #line 18376 "configure"
18376 #include "confdefs.h"
18377 /* System header to define __stub macros and hopefully few prototypes,
18378 which can conflict with char $ac_func(); below. */
18379 #include <assert.h>
18380 /* Override any gcc2 internal prototype to avoid an error. */
18381 /* We use char because int might match the return type of a gcc2
18382 builtin and then its argument prototype would still apply. */
18387 /* The GNU C library defines this for functions which it implements
18388 to always fail with ENOSYS. Some functions are actually named
18389 something starting with __ and the normal name is an alias. */
18390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18398 if { (eval echo configure:18399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18400 eval "ac_cv_func_$ac_func=yes"
18402 echo "configure: failed program was:" >&5
18403 cat conftest.$ac_ext >&5
18405 eval "ac_cv_func_$ac_func=no"
18410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18411 echo "$ac_t""yes" 1>&6
18412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18413 cat >> confdefs.h <<EOF
18414 #define $ac_tr_func 1
18418 echo "$ac_t""no" 1>&6
18425 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
18426 echo "configure:18427: checking for strtof declaration" >&5
18427 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
18428 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
18429 echo $ac_n "(cached) $ac_c" 1>&6
18434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18435 ac_cpp='$CXXCPP $CPPFLAGS'
18436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18438 cross_compiling=$ac_cv_prog_cxx_cross
18440 cat > conftest.$ac_ext <<EOF
18441 #line 18442 "configure"
18442 #include "confdefs.h"
18443 #include <stdlib.h>
18448 if { (eval echo configure:18449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18450 glibcpp_cv_func_strtof_use=yes
18452 echo "configure: failed program was:" >&5
18453 cat conftest.$ac_ext >&5
18455 glibcpp_cv_func_strtof_use=no
18459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18460 ac_cpp='$CPP $CPPFLAGS'
18461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18463 cross_compiling=$ac_cv_prog_cc_cross
18469 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
18470 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
18471 for ac_func in strtof
18473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18474 echo "configure:18475: checking for $ac_func" >&5
18475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18476 echo $ac_n "(cached) $ac_c" 1>&6
18478 cat > conftest.$ac_ext <<EOF
18479 #line 18480 "configure"
18480 #include "confdefs.h"
18481 /* System header to define __stub macros and hopefully few prototypes,
18482 which can conflict with char $ac_func(); below. */
18483 #include <assert.h>
18484 /* Override any gcc2 internal prototype to avoid an error. */
18485 /* We use char because int might match the return type of a gcc2
18486 builtin and then its argument prototype would still apply. */
18491 /* The GNU C library defines this for functions which it implements
18492 to always fail with ENOSYS. Some functions are actually named
18493 something starting with __ and the normal name is an alias. */
18494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18502 if { (eval echo configure:18503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18504 eval "ac_cv_func_$ac_func=yes"
18506 echo "configure: failed program was:" >&5
18507 cat conftest.$ac_ext >&5
18509 eval "ac_cv_func_$ac_func=no"
18514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18515 echo "$ac_t""yes" 1>&6
18516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18517 cat >> confdefs.h <<EOF
18518 #define $ac_tr_func 1
18522 echo "$ac_t""no" 1>&6
18528 for ac_func in drand48
18530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18531 echo "configure:18532: checking for $ac_func" >&5
18532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18533 echo $ac_n "(cached) $ac_c" 1>&6
18535 cat > conftest.$ac_ext <<EOF
18536 #line 18537 "configure"
18537 #include "confdefs.h"
18538 /* System header to define __stub macros and hopefully few prototypes,
18539 which can conflict with char $ac_func(); below. */
18540 #include <assert.h>
18541 /* Override any gcc2 internal prototype to avoid an error. */
18542 /* We use char because int might match the return type of a gcc2
18543 builtin and then its argument prototype would still apply. */
18548 /* The GNU C library defines this for functions which it implements
18549 to always fail with ENOSYS. Some functions are actually named
18550 something starting with __ and the normal name is an alias. */
18551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18559 if { (eval echo configure:18560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18561 eval "ac_cv_func_$ac_func=yes"
18563 echo "configure: failed program was:" >&5
18564 cat conftest.$ac_ext >&5
18566 eval "ac_cv_func_$ac_func=no"
18571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18572 echo "$ac_t""yes" 1>&6
18573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18574 cat >> confdefs.h <<EOF
18575 #define $ac_tr_func 1
18579 echo "$ac_t""no" 1>&6
18584 CXXFLAGS="$ac_save_CXXFLAGS"
18587 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
18588 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
18589 echo "configure:18590: checking for locale.h" >&5
18590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18591 echo $ac_n "(cached) $ac_c" 1>&6
18593 cat > conftest.$ac_ext <<EOF
18594 #line 18595 "configure"
18595 #include "confdefs.h"
18596 #include <locale.h>
18598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18599 { (eval echo configure:18600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18601 if test -z "$ac_err"; then
18603 eval "ac_cv_header_$ac_safe=yes"
18606 echo "configure: failed program was:" >&5
18607 cat conftest.$ac_ext >&5
18609 eval "ac_cv_header_$ac_safe=no"
18613 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18614 echo "$ac_t""yes" 1>&6
18616 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18617 echo "configure:18618: checking for LC_MESSAGES" >&5
18618 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18619 echo $ac_n "(cached) $ac_c" 1>&6
18621 cat > conftest.$ac_ext <<EOF
18622 #line 18623 "configure"
18623 #include "confdefs.h"
18624 #include <locale.h>
18629 if { (eval echo configure:18630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18631 ac_cv_val_LC_MESSAGES=yes
18633 echo "configure: failed program was:" >&5
18634 cat conftest.$ac_ext >&5
18636 ac_cv_val_LC_MESSAGES=no
18641 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18642 if test $ac_cv_val_LC_MESSAGES = yes; then
18643 cat >> confdefs.h <<\EOF
18644 #define HAVE_LC_MESSAGES 1
18650 echo "$ac_t""no" 1>&6
18655 cat > conftest.$ac_ext <<EOF
18656 #line 18657 "configure"
18657 #include "confdefs.h"
18659 #include <setjmp.h>
18662 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18665 if { (eval echo configure:18666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18667 cat >> confdefs.h <<\EOF
18668 #define HAVE_SIGSETJMP 1
18673 echo "configure: failed program was:" >&5
18674 cat conftest.$ac_ext >&5
18678 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
18680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18682 echo "configure:18683: checking for $ac_hdr" >&5
18683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18684 echo $ac_n "(cached) $ac_c" 1>&6
18686 cat > conftest.$ac_ext <<EOF
18687 #line 18688 "configure"
18688 #include "confdefs.h"
18691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18692 { (eval echo configure:18693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18694 if test -z "$ac_err"; then
18696 eval "ac_cv_header_$ac_safe=yes"
18699 echo "configure: failed program was:" >&5
18700 cat conftest.$ac_ext >&5
18702 eval "ac_cv_header_$ac_safe=no"
18706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18707 echo "$ac_t""yes" 1>&6
18708 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18709 cat >> confdefs.h <<EOF
18710 #define $ac_tr_hdr 1
18714 echo "$ac_t""no" 1>&6
18718 for ac_func in getpagesize
18720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18721 echo "configure:18722: checking for $ac_func" >&5
18722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18723 echo $ac_n "(cached) $ac_c" 1>&6
18725 cat > conftest.$ac_ext <<EOF
18726 #line 18727 "configure"
18727 #include "confdefs.h"
18728 /* System header to define __stub macros and hopefully few prototypes,
18729 which can conflict with char $ac_func(); below. */
18730 #include <assert.h>
18731 /* Override any gcc2 internal prototype to avoid an error. */
18732 /* We use char because int might match the return type of a gcc2
18733 builtin and then its argument prototype would still apply. */
18738 /* The GNU C library defines this for functions which it implements
18739 to always fail with ENOSYS. Some functions are actually named
18740 something starting with __ and the normal name is an alias. */
18741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18749 if { (eval echo configure:18750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18751 eval "ac_cv_func_$ac_func=yes"
18753 echo "configure: failed program was:" >&5
18754 cat conftest.$ac_ext >&5
18756 eval "ac_cv_func_$ac_func=no"
18761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18762 echo "$ac_t""yes" 1>&6
18763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18764 cat >> confdefs.h <<EOF
18765 #define $ac_tr_func 1
18769 echo "$ac_t""no" 1>&6
18773 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18774 echo "configure:18775: checking for working mmap" >&5
18775 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18776 echo $ac_n "(cached) $ac_c" 1>&6
18778 if test "$cross_compiling" = yes; then
18779 ac_cv_func_mmap_fixed_mapped=no
18781 cat > conftest.$ac_ext <<EOF
18782 #line 18783 "configure"
18783 #include "confdefs.h"
18785 /* Thanks to Mike Haertel and Jim Avera for this test.
18786 Here is a matrix of mmap possibilities:
18787 mmap private not fixed
18788 mmap private fixed at somewhere currently unmapped
18789 mmap private fixed at somewhere already mapped
18790 mmap shared not fixed
18791 mmap shared fixed at somewhere currently unmapped
18792 mmap shared fixed at somewhere already mapped
18793 For private mappings, we should verify that changes cannot be read()
18794 back from the file, nor mmap's back from the file at a different
18795 address. (There have been systems where private was not correctly
18796 implemented like the infamous i386 svr4.0, and systems where the
18797 VM page cache was not coherent with the filesystem buffer cache
18798 like early versions of FreeBSD and possibly contemporary NetBSD.)
18799 For shared mappings, we should conversely verify that changes get
18800 propogated back to all the places they're supposed to be.
18802 Grep wants private fixed already mapped.
18803 The main things grep needs to know about mmap are:
18804 * does it exist and is it safe to write into the mmap'd area
18805 * how to use it (BSD variants) */
18806 #include <sys/types.h>
18808 #include <sys/mman.h>
18810 #if HAVE_SYS_TYPES_H
18811 # include <sys/types.h>
18815 # include <stdlib.h>
18818 #if HAVE_SYS_STAT_H
18819 # include <sys/stat.h>
18823 # include <unistd.h>
18826 /* This mess was copied from the GNU getpagesize.h. */
18827 #ifndef HAVE_GETPAGESIZE
18829 /* Assume that all systems that can run configure have sys/param.h. */
18830 # ifndef HAVE_SYS_PARAM_H
18831 # define HAVE_SYS_PARAM_H 1
18834 # ifdef _SC_PAGESIZE
18835 # define getpagesize() sysconf(_SC_PAGESIZE)
18836 # else /* no _SC_PAGESIZE */
18837 # ifdef HAVE_SYS_PARAM_H
18838 # include <sys/param.h>
18839 # ifdef EXEC_PAGESIZE
18840 # define getpagesize() EXEC_PAGESIZE
18841 # else /* no EXEC_PAGESIZE */
18843 # define getpagesize() NBPG * CLSIZE
18846 # endif /* no CLSIZE */
18847 # else /* no NBPG */
18849 # define getpagesize() NBPC
18850 # else /* no NBPC */
18852 # define getpagesize() PAGESIZE
18853 # endif /* PAGESIZE */
18854 # endif /* no NBPC */
18855 # endif /* no NBPG */
18856 # endif /* no EXEC_PAGESIZE */
18857 # else /* no HAVE_SYS_PARAM_H */
18858 # define getpagesize() 8192 /* punt totally */
18859 # endif /* no HAVE_SYS_PARAM_H */
18860 # endif /* no _SC_PAGESIZE */
18862 #endif /* no HAVE_GETPAGESIZE */
18865 extern "C" { void *malloc(unsigned); }
18873 char *data, *data2, *data3;
18877 pagesize = getpagesize();
18880 * First, make a file with some known garbage in it.
18882 data = malloc(pagesize);
18885 for (i = 0; i < pagesize; ++i)
18886 *(data + i) = rand();
18888 fd = creat("conftestmmap", 0600);
18891 if (write(fd, data, pagesize) != pagesize)
18896 * Next, try to mmap the file at a fixed address which
18897 * already has something else allocated at it. If we can,
18898 * also make sure that we see the same garbage.
18900 fd = open("conftestmmap", O_RDWR);
18903 data2 = malloc(2 * pagesize);
18906 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18907 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18908 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18910 for (i = 0; i < pagesize; ++i)
18911 if (*(data + i) != *(data2 + i))
18915 * Finally, make sure that changes to the mapped area
18916 * do not percolate back to the file as seen by read().
18917 * (This is a bug on some variants of i386 svr4.0.)
18919 for (i = 0; i < pagesize; ++i)
18920 *(data2 + i) = *(data2 + i) + 1;
18921 data3 = malloc(pagesize);
18924 if (read(fd, data3, pagesize) != pagesize)
18926 for (i = 0; i < pagesize; ++i)
18927 if (*(data + i) != *(data3 + i))
18930 unlink("conftestmmap");
18935 if { (eval echo configure:18936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18937 ac_cv_func_mmap_fixed_mapped=yes
18939 echo "configure: failed program was:" >&5
18940 cat conftest.$ac_ext >&5
18942 ac_cv_func_mmap_fixed_mapped=no
18949 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18950 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18951 cat >> confdefs.h <<\EOF
18952 #define HAVE_MMAP 1
18958 # Establish limits on memory usage during 'make check'
18961 setrlimit_have_headers=yes
18962 for ac_hdr in sys/resource.h unistd.h
18964 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18966 echo "configure:18967: checking for $ac_hdr" >&5
18967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18968 echo $ac_n "(cached) $ac_c" 1>&6
18970 cat > conftest.$ac_ext <<EOF
18971 #line 18972 "configure"
18972 #include "confdefs.h"
18975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18976 { (eval echo configure:18977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18978 if test -z "$ac_err"; then
18980 eval "ac_cv_header_$ac_safe=yes"
18983 echo "configure: failed program was:" >&5
18984 cat conftest.$ac_ext >&5
18986 eval "ac_cv_header_$ac_safe=no"
18990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18991 echo "$ac_t""yes" 1>&6
18992 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18993 cat >> confdefs.h <<EOF
18994 #define $ac_tr_hdr 1
18998 echo "$ac_t""no" 1>&6
18999 setrlimit_have_headers=no
19003 # If don't have the headers, then we can't run the tests now, and we
19004 # won't be seeing any of these during testsuite compilation.
19005 if test $setrlimit_have_headers = yes; then
19006 # Can't do these in a loop, else the resulting syntax is wrong.
19008 cat > conftest.$ac_ext <<EOF
19009 #line 19010 "configure"
19010 #include "confdefs.h"
19011 #include <sys/resource.h>
19012 #include <unistd.h>
19015 int f = RLIMIT_DATA ;
19018 if { (eval echo configure:19019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19022 echo "configure: failed program was:" >&5
19023 cat conftest.$ac_ext >&5
19028 cat >> confdefs.h <<EOF
19029 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
19034 cat > conftest.$ac_ext <<EOF
19035 #line 19036 "configure"
19036 #include "confdefs.h"
19037 #include <sys/resource.h>
19038 #include <unistd.h>
19041 int f = RLIMIT_RSS ;
19044 if { (eval echo configure:19045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19048 echo "configure: failed program was:" >&5
19049 cat conftest.$ac_ext >&5
19054 cat >> confdefs.h <<EOF
19055 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
19060 cat > conftest.$ac_ext <<EOF
19061 #line 19062 "configure"
19062 #include "confdefs.h"
19063 #include <sys/resource.h>
19064 #include <unistd.h>
19067 int f = RLIMIT_VMEM ;
19070 if { (eval echo configure:19071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19074 echo "configure: failed program was:" >&5
19075 cat conftest.$ac_ext >&5
19080 cat >> confdefs.h <<EOF
19081 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
19086 cat > conftest.$ac_ext <<EOF
19087 #line 19088 "configure"
19088 #include "confdefs.h"
19089 #include <sys/resource.h>
19090 #include <unistd.h>
19093 int f = RLIMIT_AS ;
19096 if { (eval echo configure:19097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19100 echo "configure: failed program was:" >&5
19101 cat conftest.$ac_ext >&5
19106 cat >> confdefs.h <<EOF
19107 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
19112 # Check for rlimit, setrlimit.
19113 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
19114 echo $ac_n "(cached) $ac_c" 1>&6
19117 cat > conftest.$ac_ext <<EOF
19118 #line 19119 "configure"
19119 #include "confdefs.h"
19120 #include <sys/resource.h>
19121 #include <unistd.h>
19124 struct rlimit r; setrlimit(0, &r);
19127 if { (eval echo configure:19128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19131 echo "configure: failed program was:" >&5
19132 cat conftest.$ac_ext >&5
19142 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
19143 echo "configure:19144: checking for testsuite memory limit support" >&5
19144 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
19146 cat >> confdefs.h <<\EOF
19147 #define _GLIBCPP_MEM_LIMITS 1
19153 echo "$ac_t""$ac_mem_limits" 1>&6
19156 # Look for setenv, so that extended locale tests can be performed.
19157 for ac_func in setenv
19159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19160 echo "configure:19161: checking for $ac_func" >&5
19161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19162 echo $ac_n "(cached) $ac_c" 1>&6
19164 cat > conftest.$ac_ext <<EOF
19165 #line 19166 "configure"
19166 #include "confdefs.h"
19167 /* System header to define __stub macros and hopefully few prototypes,
19168 which can conflict with char $ac_func(); below. */
19169 #include <assert.h>
19170 /* Override any gcc2 internal prototype to avoid an error. */
19171 /* We use char because int might match the return type of a gcc2
19172 builtin and then its argument prototype would still apply. */
19177 /* The GNU C library defines this for functions which it implements
19178 to always fail with ENOSYS. Some functions are actually named
19179 something starting with __ and the normal name is an alias. */
19180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19188 if { (eval echo configure:19189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19190 eval "ac_cv_func_$ac_func=yes"
19192 echo "configure: failed program was:" >&5
19193 cat conftest.$ac_ext >&5
19195 eval "ac_cv_func_$ac_func=no"
19200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19201 echo "$ac_t""yes" 1>&6
19202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19203 cat >> confdefs.h <<EOF
19204 #define $ac_tr_func 1
19208 echo "$ac_t""no" 1>&6
19216 # Propagate the target-specific source directories through the build chain.
19217 OS_INC_SRCDIR=$os_include_dir/bits
19218 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
19219 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
19224 # Set up cross-compile flags
19228 if test "$CANADIAN" = yes; then
19236 cat > confcache <<\EOF
19237 # This file is a shell script that caches the results of configure
19238 # tests run on this system so they can be shared between configure
19239 # scripts and configure runs. It is not useful on other systems.
19240 # If it contains results you don't want to keep, you may remove or edit it.
19242 # By default, configure uses ./config.cache as the cache file,
19243 # creating it if it does not exist already. You can give configure
19244 # the --cache-file=FILE option to use a different cache file; that is
19245 # what configure does when it calls configure scripts in
19246 # subdirectories, so they share the cache.
19247 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19248 # config.status only pays attention to the cache file if you give it the
19249 # --recheck option to rerun configure.
19252 # The following way of writing the cache mishandles newlines in values,
19253 # but we know of no workaround that is simple, portable, and efficient.
19254 # So, don't put newlines in cache variables' values.
19255 # Ultrix sh set writes to stderr and can't be redirected directly,
19256 # and sets the high bit in the cache file unless we assign to the vars.
19258 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19260 # `set' does not quote correctly, so add quotes (double-quote substitution
19261 # turns \\\\ into \\, and sed turns \\ into \).
19263 -e "s/'/'\\\\''/g" \
19264 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19267 # `set' quotes correctly as required by POSIX, so do not add quotes.
19268 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19271 if cmp -s $cache_file confcache; then
19274 if test -w $cache_file; then
19275 echo "updating cache $cache_file"
19276 cat confcache > $cache_file
19278 echo "not updating unwritable cache $cache_file"
19284 if test "${multilib}" = "yes"; then
19285 multilib_arg="--enable-multilib"
19290 # Needed so that g++ can find the correct include subdir automatically.
19293 # Export all the install information
19295 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
19296 # exported correctly in GLIBCPP_CONFIGURE.
19297 glibcpp_toolexecdir=no
19298 glibcpp_toolexeclibdir=no
19299 glibcpp_prefixdir=${prefix}
19301 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
19302 echo "configure:19303: checking for interface version number" >&5
19303 libstdcxx_interface=$INTERFACE
19304 echo "$ac_t""$libstdcxx_interface" 1>&6
19306 # Process the option --with-gxx-include-dir=<path to include-files directory>
19307 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
19308 echo "configure:19309: checking for --with-gxx-include-dir" >&5
19309 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
19310 if test "${with_gxx_include_dir+set}" = set; then
19311 withval="$with_gxx_include_dir"
19312 case "${withval}" in
19314 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
19321 gxx_include_dir=${withval}
19328 echo "$ac_t""$gxx_include_dir" 1>&6
19330 # Process the option "--enable-version-specific-runtime-libs"
19331 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
19332 echo "configure:19333: checking for --enable-version-specific-runtime-libs" >&5
19333 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
19334 if test "${enable_version_specific_runtime_libs+set}" = set; then
19335 enableval="$enable_version_specific_runtime_libs"
19336 case "$enableval" in
19337 yes) version_specific_libs=yes ;;
19338 no) version_specific_libs=no ;;
19339 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
19342 version_specific_libs=no
19344 # Option set, now we can test it.
19345 echo "$ac_t""$version_specific_libs" 1>&6
19347 if test $version_specific_libs = yes; then
19348 # Need the gcc compiler version to know where to install libraries
19349 # and header files if --enable-version-specific-runtime-libs option
19351 gcc_version_trigger=${srcdir}/../gcc/version.c
19352 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
19353 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
19354 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
19355 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19356 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
19359 # Default case for install directory for include files.
19360 if test $version_specific_libs = no &&
19361 test $gxx_include_dir = no; then
19362 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
19365 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
19366 # Install a library built with a cross compiler in tooldir, not libdir.
19367 if test x"$glibcpp_toolexecdir" = x"no"; then
19368 if test -n "$with_cross_host" &&
19369 test x"$with_cross_host" != x"no"; then
19370 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
19371 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
19373 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19374 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
19378 echo $ac_n "checking for install location""... $ac_c" 1>&6
19379 echo "configure:19380: checking for install location" >&5
19380 echo "$ac_t""$gxx_include_dir" 1>&6
19388 # Export all the include and flag information to makefiles.
19390 # Root level of the build directory include sources.
19391 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
19393 # Passed down for canadian crosses.
19394 if test x"$CANADIAN" = xyes; then
19395 TOPLEVEL_INCLUDES='-I$(includedir)'
19398 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
19400 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
19402 if test x"$need_libio" = xyes; then
19403 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
19407 # Now, export this to all the little Makefiles....
19414 # Optimization flags that are probably a good idea for thrill-seekers. Just
19415 # uncomment the lines below and make, everything else is ready to go...
19416 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
19420 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
19424 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
19425 grep "enable shared" > /dev/null; then
19426 LIBSUPCXX_PICFLAGS=-prefer-pic
19428 LIBSUPCXX_PICFLAGS=
19432 # Generate the various Makefiles, include files, and scripts.
19433 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
19434 # and libsupc++/Makefile.am so that multilib installs will end up
19435 # installed in the correct place. To work around this not being passed
19436 # down from config-ml.in -> top_srcdir/Makefile.am ->
19437 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
19439 cat > confcache <<\EOF
19440 # This file is a shell script that caches the results of configure
19441 # tests run on this system so they can be shared between configure
19442 # scripts and configure runs. It is not useful on other systems.
19443 # If it contains results you don't want to keep, you may remove or edit it.
19445 # By default, configure uses ./config.cache as the cache file,
19446 # creating it if it does not exist already. You can give configure
19447 # the --cache-file=FILE option to use a different cache file; that is
19448 # what configure does when it calls configure scripts in
19449 # subdirectories, so they share the cache.
19450 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19451 # config.status only pays attention to the cache file if you give it the
19452 # --recheck option to rerun configure.
19455 # The following way of writing the cache mishandles newlines in values,
19456 # but we know of no workaround that is simple, portable, and efficient.
19457 # So, don't put newlines in cache variables' values.
19458 # Ultrix sh set writes to stderr and can't be redirected directly,
19459 # and sets the high bit in the cache file unless we assign to the vars.
19461 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19463 # `set' does not quote correctly, so add quotes (double-quote substitution
19464 # turns \\\\ into \\, and sed turns \\ into \).
19466 -e "s/'/'\\\\''/g" \
19467 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19470 # `set' quotes correctly as required by POSIX, so do not add quotes.
19471 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19474 if cmp -s $cache_file confcache; then
19477 if test -w $cache_file; then
19478 echo "updating cache $cache_file"
19479 cat confcache > $cache_file
19481 echo "not updating unwritable cache $cache_file"
19486 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19488 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19489 # Let make expand exec_prefix.
19490 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19492 # Any assignment to VPATH causes Sun make to only execute
19493 # the first set of double-colon rules, so remove it if not needed.
19494 # If there is a colon in the path, we need to keep it.
19495 if test "x$srcdir" = x.; then
19496 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19499 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19501 DEFS=-DHAVE_CONFIG_H
19503 # Without the "./", some shells look in PATH for config.status.
19504 : ${CONFIG_STATUS=./config.status}
19506 echo creating $CONFIG_STATUS
19507 rm -f $CONFIG_STATUS
19508 cat > $CONFIG_STATUS <<EOF
19510 # Generated automatically by configure.
19511 # Run this file to recreate the current configuration.
19512 # This directory was configured as follows,
19513 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19515 # $0 $ac_configure_args
19517 # Compiler output produced by configure, useful for debugging
19518 # configure, is in ./config.log if it exists.
19520 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19523 case "\$ac_option" in
19524 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19525 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19526 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19527 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19528 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19530 -help | --help | --hel | --he | --h)
19531 echo "\$ac_cs_usage"; exit 0 ;;
19532 *) echo "\$ac_cs_usage"; exit 1 ;;
19536 ac_given_srcdir=$srcdir
19537 ac_given_INSTALL="$INSTALL"
19539 trap 'rm -fr `echo "Makefile \
19540 include/Makefile src/Makefile \
19541 libmath/Makefile libio/Makefile libsupc++/Makefile \
19542 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19544 cat >> $CONFIG_STATUS <<EOF
19546 # Protect against being on the right side of a sed subst in config.status.
19547 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19548 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19552 s%@CFLAGS@%$CFLAGS%g
19553 s%@CPPFLAGS@%$CPPFLAGS%g
19554 s%@CXXFLAGS@%$CXXFLAGS%g
19555 s%@FFLAGS@%$FFLAGS%g
19557 s%@LDFLAGS@%$LDFLAGS%g
19559 s%@exec_prefix@%$exec_prefix%g
19560 s%@prefix@%$prefix%g
19561 s%@program_transform_name@%$program_transform_name%g
19562 s%@bindir@%$bindir%g
19563 s%@sbindir@%$sbindir%g
19564 s%@libexecdir@%$libexecdir%g
19565 s%@datadir@%$datadir%g
19566 s%@sysconfdir@%$sysconfdir%g
19567 s%@sharedstatedir@%$sharedstatedir%g
19568 s%@localstatedir@%$localstatedir%g
19569 s%@libdir@%$libdir%g
19570 s%@includedir@%$includedir%g
19571 s%@oldincludedir@%$oldincludedir%g
19572 s%@infodir@%$infodir%g
19573 s%@mandir@%$mandir%g
19574 s%@PACKAGE@%$PACKAGE%g
19575 s%@release_VERSION@%$release_VERSION%g
19576 s%@libtool_VERSION@%$libtool_VERSION%g
19578 s%@host_alias@%$host_alias%g
19579 s%@host_cpu@%$host_cpu%g
19580 s%@host_vendor@%$host_vendor%g
19581 s%@host_os@%$host_os%g
19582 s%@target@%$target%g
19583 s%@target_alias@%$target_alias%g
19584 s%@target_cpu@%$target_cpu%g
19585 s%@target_vendor@%$target_vendor%g
19586 s%@target_os@%$target_os%g
19588 s%@build_alias@%$build_alias%g
19589 s%@build_cpu@%$build_cpu%g
19590 s%@build_vendor@%$build_vendor%g
19591 s%@build_os@%$build_os%g
19592 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19593 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19594 s%@INSTALL_DATA@%$INSTALL_DATA%g
19595 s%@VERSION@%$VERSION%g
19596 s%@ACLOCAL@%$ACLOCAL%g
19597 s%@AUTOCONF@%$AUTOCONF%g
19598 s%@AUTOMAKE@%$AUTOMAKE%g
19599 s%@AUTOHEADER@%$AUTOHEADER%g
19600 s%@MAKEINFO@%$MAKEINFO%g
19601 s%@SET_MAKE@%$SET_MAKE%g
19602 s%@toplevel_srcdir@%$toplevel_srcdir%g
19603 s%@glibcpp_builddir@%$glibcpp_builddir%g
19604 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
19606 s%@glibcpp_basedir@%$glibcpp_basedir%g
19608 s%@glibcpp_CXX@%$glibcpp_CXX%g
19611 s%@RANLIB@%$RANLIB%g
19612 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19613 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19615 s%@EXEEXT@%$EXEEXT%g
19616 s%@OBJEXT@%$OBJEXT%g
19618 s%@LIBTOOL@%$LIBTOOL%g
19619 s%@CXXCPP@%$CXXCPP%g
19620 s%@enable_shared@%$enable_shared%g
19621 s%@enable_static@%$enable_static%g
19622 s%@ifGNUmake@%$ifGNUmake%g
19623 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19625 s%@CSTDIO_H@%$CSTDIO_H%g
19626 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
19627 s%@CCODECVT_C@%$CCODECVT_C%g
19628 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
19629 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
19630 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19631 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19632 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19633 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19634 s%@libio_la@%$libio_la%g
19635 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
19636 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
19637 s%@glibcpp_localedir@%$glibcpp_localedir%g
19638 s%@USE_NLS@%$USE_NLS%g
19639 s%@CLOCALE_H@%$CLOCALE_H%g
19640 s%@CCODECVT_H@%$CCODECVT_H%g
19641 s%@CMESSAGES_H@%$CMESSAGES_H%g
19642 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19643 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19644 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19645 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19646 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
19647 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19648 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
19649 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
19650 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19651 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19652 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19653 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19654 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19655 s%@WERROR@%$WERROR%g
19656 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
19657 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
19658 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
19659 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
19660 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19661 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19662 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
19663 s%@gxx_include_dir@%$gxx_include_dir%g
19664 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
19665 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
19666 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19667 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
19668 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19669 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19670 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19671 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19672 s%@WARN_FLAGS@%$WARN_FLAGS%g
19673 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
19678 cat >> $CONFIG_STATUS <<\EOF
19680 # Split the substitutions into bite-sized pieces for seds with
19681 # small command number limits, like on Digital OSF/1 and HP-UX.
19682 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19683 ac_file=1 # Number of current file.
19684 ac_beg=1 # First line for current file.
19685 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19688 while $ac_more_lines; do
19689 if test $ac_beg -gt 1; then
19690 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19692 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19694 if test ! -s conftest.s$ac_file; then
19695 ac_more_lines=false
19696 rm -f conftest.s$ac_file
19698 if test -z "$ac_sed_cmds"; then
19699 ac_sed_cmds="sed -f conftest.s$ac_file"
19701 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19703 ac_file=`expr $ac_file + 1`
19705 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19708 if test -z "$ac_sed_cmds"; then
19713 cat >> $CONFIG_STATUS <<EOF
19715 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
19716 include/Makefile src/Makefile \
19717 libmath/Makefile libio/Makefile libsupc++/Makefile \
19718 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
19720 cat >> $CONFIG_STATUS <<\EOF
19721 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19722 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19724 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19725 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19726 *) ac_file_in="${ac_file}.in" ;;
19729 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19731 # Remove last slash and all that follows it. Not all systems have dirname.
19732 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19733 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19734 # The file is in a subdirectory.
19735 test ! -d "$ac_dir" && mkdir "$ac_dir"
19736 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19737 # A "../" for each directory in $ac_dir_suffix.
19738 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19740 ac_dir_suffix= ac_dots=
19743 case "$ac_given_srcdir" in
19745 if test -z "$ac_dots"; then top_srcdir=.
19746 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19747 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19748 *) # Relative path.
19749 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19750 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19753 case "$ac_given_INSTALL" in
19754 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19755 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19758 echo creating "$ac_file"
19760 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19762 *Makefile*) ac_comsub="1i\\
19763 # $configure_input" ;;
19767 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19769 s%@configure_input@%$configure_input%g
19770 s%@srcdir@%$srcdir%g
19771 s%@top_srcdir@%$top_srcdir%g
19772 s%@INSTALL@%$INSTALL%g
19773 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19777 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19778 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19780 # ac_d sets the value in "#define NAME VALUE" lines.
19781 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19782 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19785 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19786 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19787 ac_uB='\([ ]\)%\1#\2define\3'
19790 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19791 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19792 ac_eB='$%\1#\2define\3'
19796 if test "${CONFIG_HEADERS+set}" != set; then
19798 cat >> $CONFIG_STATUS <<EOF
19799 CONFIG_HEADERS="config.h"
19801 cat >> $CONFIG_STATUS <<\EOF
19803 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19806 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19807 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19808 *) ac_file_in="${ac_file}.in" ;;
19811 echo creating $ac_file
19813 rm -f conftest.frag conftest.in conftest.out
19814 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19815 cat $ac_file_inputs > conftest.in
19819 # Transform confdefs.h into a sed script conftest.vals that substitutes
19820 # the proper values into config.h.in to produce config.h. And first:
19821 # Protect against being on the right side of a sed subst in config.status.
19822 # Protect against being in an unquoted here document in config.status.
19823 rm -f conftest.vals
19824 cat > conftest.hdr <<\EOF
19827 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19831 sed -n -f conftest.hdr confdefs.h > conftest.vals
19834 # This sed command replaces #undef with comments. This is necessary, for
19835 # example, in the case of _POSIX_SOURCE, which is predefined and required
19836 # on some systems where configure will not decide to define it.
19837 cat >> conftest.vals <<\EOF
19838 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19841 # Break up conftest.vals because some shells have a limit on
19842 # the size of here documents, and old seds have small limits too.
19844 rm -f conftest.tail
19847 ac_lines=`grep -c . conftest.vals`
19848 # grep -c gives empty output for an empty file on some AIX systems.
19849 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19850 # Write a limited-size here document to conftest.frag.
19851 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19852 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19854 sed -f conftest.frag conftest.in > conftest.out
19856 mv conftest.out conftest.in
19857 ' >> $CONFIG_STATUS
19858 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19859 rm -f conftest.vals
19860 mv conftest.tail conftest.vals
19862 rm -f conftest.vals
19864 cat >> $CONFIG_STATUS <<\EOF
19865 rm -f conftest.frag conftest.h
19866 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19867 cat conftest.in >> conftest.h
19869 if cmp -s $ac_file conftest.h 2>/dev/null; then
19870 echo "$ac_file is unchanged"
19873 # Remove last slash and all that follows it. Not all systems have dirname.
19874 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19875 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19876 # The file is in a subdirectory.
19877 test ! -d "$ac_dir" && mkdir "$ac_dir"
19880 mv conftest.h $ac_file
19886 cat >> $CONFIG_STATUS <<EOF
19887 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
19888 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 src/linker.map"
19891 cat >> $CONFIG_STATUS <<\EOF
19892 srcdir=$ac_given_srcdir
19893 while test -n "$ac_sources"; do
19894 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19895 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19897 echo "linking $srcdir/$ac_source to $ac_dest"
19899 if test ! -r $srcdir/$ac_source; then
19900 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19904 # Make relative symlinks.
19905 # Remove last slash and all that follows it. Not all systems have dirname.
19906 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19907 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19908 # The dest file is in a subdirectory.
19909 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19910 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19911 # A "../" for each directory in $ac_dest_dir_suffix.
19912 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19914 ac_dest_dir_suffix= ac_dots=
19918 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19919 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19922 # Make a symlink if possible; otherwise try a hard link.
19923 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19924 ln $srcdir/$ac_source $ac_dest; then :
19926 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19930 cat >> $CONFIG_STATUS <<EOF
19935 with_multisubdir=${with_multisubdir}
19936 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19937 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19938 glibcpp_basedir=${glibcpp_basedir}
19943 cat >> $CONFIG_STATUS <<\EOF
19944 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19945 if test -n "$CONFIG_FILES"; then
19946 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19947 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19948 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
19951 chmod +x testsuite_flags
19955 chmod +x $CONFIG_STATUS
19956 rm -fr confdefs* $ac_clean_files
19957 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19961 # Sanity checking & User-visible messages.
19962 # Checks down here, otherwise they get scrolled off before
19963 # the user will notice.
19965 # Trying to get more people to read documentation. Possibly remove
19966 # check and warn all the time. There is no "informational" AC_MSG_
19967 # macro, so these are going to be printed even when --quiet/--silent
19969 if test ! -f stamp-sanity-warned; then
19970 touch stamp-sanity-warned
19972 echo "Please make certain that you read the installation information here:"
19973 echo " faster => ${srcdir}/docs/install.html"
19974 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
19976 echo "and the configuration information here:"
19977 echo " faster => ${srcdir}/docs/configopts.html"
19978 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
19980 echo "before proceeding with ${_cv_gnu_make_command}."