3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --enable-concept-checks use Boost-derived template checks [default=no]"
62 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
64 --with-gxx-include-dir the installation directory for include files"
66 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
68 # Initialize some variables set by options.
69 # The variables have the same names as the options, with
70 # dashes changed to underlines.
72 cache_file=./config.cache
81 program_transform_name=s,x,x,
89 bindir='${exec_prefix}/bin'
90 sbindir='${exec_prefix}/sbin'
91 libexecdir='${exec_prefix}/libexec'
92 datadir='${prefix}/share'
93 sysconfdir='${prefix}/etc'
94 sharedstatedir='${prefix}/com'
95 localstatedir='${prefix}/var'
96 libdir='${exec_prefix}/lib'
97 includedir='${prefix}/include'
98 oldincludedir='/usr/include'
99 infodir='${prefix}/info'
100 mandir='${prefix}/man'
102 # Initialize some other variables.
105 SHELL=${CONFIG_SHELL-/bin/sh}
106 # Maximum number of lines to put in a shell here document.
113 # If the previous option needs an argument, assign it.
114 if test -n "$ac_prev"; then
115 eval "$ac_prev=\$ac_option"
121 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
125 # Accept the important Cygnus configure options, so we can diagnose typos.
129 -bindir | --bindir | --bindi | --bind | --bin | --bi)
131 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
132 bindir="$ac_optarg" ;;
134 -build | --build | --buil | --bui | --bu)
136 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
137 build="$ac_optarg" ;;
139 -cache-file | --cache-file | --cache-fil | --cache-fi \
140 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
141 ac_prev=cache_file ;;
142 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
143 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
144 cache_file="$ac_optarg" ;;
146 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
148 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
150 datadir="$ac_optarg" ;;
152 -disable-* | --disable-*)
153 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
154 # Reject names that are not valid shell variable names.
155 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
156 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
159 eval "enable_${ac_feature}=no" ;;
161 -enable-* | --enable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
172 eval "enable_${ac_feature}='$ac_optarg'" ;;
174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
176 | --exec | --exe | --ex)
177 ac_prev=exec_prefix ;;
178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
180 | --exec=* | --exe=* | --ex=*)
181 exec_prefix="$ac_optarg" ;;
183 -gas | --gas | --ga | --g)
184 # Obsolete; use --with-gas.
187 -help | --help | --hel | --he)
188 # Omit some internal or obsolete options to make the list less imposing.
189 # This message is too long to be a string in the A/UX 3.1 sh.
191 Usage: configure [options] [host]
192 Options: [defaults in brackets after descriptions]
194 --cache-file=FILE cache test results in FILE
195 --help print this message
196 --no-create do not create output files
197 --quiet, --silent do not print \`checking...' messages
198 --version print the version of autoconf that created configure
199 Directory and file names:
200 --prefix=PREFIX install architecture-independent files in PREFIX
202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
204 --bindir=DIR user executables in DIR [EPREFIX/bin]
205 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
206 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
207 --datadir=DIR read-only architecture-independent data in DIR
209 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
210 --sharedstatedir=DIR modifiable architecture-independent data in DIR
212 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
213 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
214 --includedir=DIR C header files in DIR [PREFIX/include]
215 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
216 --infodir=DIR info documentation in DIR [PREFIX/info]
217 --mandir=DIR man documentation in DIR [PREFIX/man]
218 --srcdir=DIR find the sources in DIR [configure dir or ..]
219 --program-prefix=PREFIX prepend PREFIX to installed program names
220 --program-suffix=SUFFIX append SUFFIX to installed program names
221 --program-transform-name=PROGRAM
222 run sed PROGRAM on installed program names
226 --build=BUILD configure for building on BUILD [BUILD=HOST]
227 --host=HOST configure for HOST [guessed]
228 --target=TARGET configure for TARGET [TARGET=HOST]
229 Features and packages:
230 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
231 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
232 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
233 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
234 --x-includes=DIR X include files are in DIR
235 --x-libraries=DIR X library files are in DIR
237 if test -n "$ac_help"; then
238 echo "--enable and --with options recognized:$ac_help"
242 -host | --host | --hos | --ho)
244 -host=* | --host=* | --hos=* | --ho=*)
247 -includedir | --includedir | --includedi | --included | --include \
248 | --includ | --inclu | --incl | --inc)
249 ac_prev=includedir ;;
250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
251 | --includ=* | --inclu=* | --incl=* | --inc=*)
252 includedir="$ac_optarg" ;;
254 -infodir | --infodir | --infodi | --infod | --info | --inf)
256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
257 infodir="$ac_optarg" ;;
259 -libdir | --libdir | --libdi | --libd)
261 -libdir=* | --libdir=* | --libdi=* | --libd=*)
262 libdir="$ac_optarg" ;;
264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
265 | --libexe | --libex | --libe)
266 ac_prev=libexecdir ;;
267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
268 | --libexe=* | --libex=* | --libe=*)
269 libexecdir="$ac_optarg" ;;
271 -localstatedir | --localstatedir | --localstatedi | --localstated \
272 | --localstate | --localstat | --localsta | --localst \
273 | --locals | --local | --loca | --loc | --lo)
274 ac_prev=localstatedir ;;
275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
276 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
277 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
278 localstatedir="$ac_optarg" ;;
280 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
282 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
283 mandir="$ac_optarg" ;;
286 # Obsolete; use --without-fp.
289 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
293 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
294 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
297 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
298 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
299 | --oldin | --oldi | --old | --ol | --o)
300 ac_prev=oldincludedir ;;
301 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
302 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
303 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
304 oldincludedir="$ac_optarg" ;;
306 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
308 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
309 prefix="$ac_optarg" ;;
311 -program-prefix | --program-prefix | --program-prefi | --program-pref \
312 | --program-pre | --program-pr | --program-p)
313 ac_prev=program_prefix ;;
314 -program-prefix=* | --program-prefix=* | --program-prefi=* \
315 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
316 program_prefix="$ac_optarg" ;;
318 -program-suffix | --program-suffix | --program-suffi | --program-suff \
319 | --program-suf | --program-su | --program-s)
320 ac_prev=program_suffix ;;
321 -program-suffix=* | --program-suffix=* | --program-suffi=* \
322 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
323 program_suffix="$ac_optarg" ;;
325 -program-transform-name | --program-transform-name \
326 | --program-transform-nam | --program-transform-na \
327 | --program-transform-n | --program-transform- \
328 | --program-transform | --program-transfor \
329 | --program-transfo | --program-transf \
330 | --program-trans | --program-tran \
331 | --progr-tra | --program-tr | --program-t)
332 ac_prev=program_transform_name ;;
333 -program-transform-name=* | --program-transform-name=* \
334 | --program-transform-nam=* | --program-transform-na=* \
335 | --program-transform-n=* | --program-transform-=* \
336 | --program-transform=* | --program-transfor=* \
337 | --program-transfo=* | --program-transf=* \
338 | --program-trans=* | --program-tran=* \
339 | --progr-tra=* | --program-tr=* | --program-t=*)
340 program_transform_name="$ac_optarg" ;;
342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
343 | -silent | --silent | --silen | --sile | --sil)
346 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
348 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
350 sbindir="$ac_optarg" ;;
352 -sharedstatedir | --sharedstatedir | --sharedstatedi \
353 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
354 | --sharedst | --shareds | --shared | --share | --shar \
356 ac_prev=sharedstatedir ;;
357 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
358 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
359 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
361 sharedstatedir="$ac_optarg" ;;
363 -site | --site | --sit)
365 -site=* | --site=* | --sit=*)
368 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
370 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
371 srcdir="$ac_optarg" ;;
373 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
374 | --syscon | --sysco | --sysc | --sys | --sy)
375 ac_prev=sysconfdir ;;
376 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
377 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
378 sysconfdir="$ac_optarg" ;;
380 -target | --target | --targe | --targ | --tar | --ta | --t)
382 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
383 target="$ac_optarg" ;;
385 -v | -verbose | --verbose | --verbos | --verbo | --verb)
388 -version | --version | --versio | --versi | --vers)
389 echo "configure generated by autoconf version 2.13"
393 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
394 # Reject names that are not valid shell variable names.
395 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
396 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
398 ac_package=`echo $ac_package| sed 's/-/_/g'`
403 eval "with_${ac_package}='$ac_optarg'" ;;
405 -without-* | --without-*)
406 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
407 # Reject names that are not valid shell variable names.
408 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
409 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
411 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}=no" ;;
415 # Obsolete; use --with-x.
418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
419 | --x-incl | --x-inc | --x-in | --x-i)
420 ac_prev=x_includes ;;
421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
423 x_includes="$ac_optarg" ;;
425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
427 ac_prev=x_libraries ;;
428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
430 x_libraries="$ac_optarg" ;;
432 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
436 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
437 echo "configure: warning: $ac_option: invalid host type" 1>&2
439 if test "x$nonopt" != xNONE; then
440 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
448 if test -n "$ac_prev"; then
449 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
452 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
454 # File descriptor usage:
457 # 2 errors and warnings
458 # 3 some systems may open it to /dev/tty
459 # 4 used on the Kubota Titan
460 # 6 checking for... messages and results
461 # 5 compiler messages saved in config.log
462 if test "$silent" = yes; then
470 This file contains any messages produced by compilers while
471 running configure, to aid debugging if configure makes a mistake.
474 # Strip out --no-create and --no-recursion so they do not pile up.
475 # Also quote any args containing shell metacharacters.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c) ;;
482 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
483 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
485 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
486 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
491 # Only set these to C if already set. These must not be set unconditionally
492 # because not all systems understand e.g. LANG=C (notably SCO).
493 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
494 # Non-C LC_CTYPE values break the ctype check.
495 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
496 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
497 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
498 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
500 # confdefs.h avoids OS command line length limits that DEFS can exceed.
501 rm -rf conftest* confdefs.h
502 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
505 # A filename unique to this package, relative to the directory that
506 # configure is in, which we can look for to find out if srcdir is correct.
507 ac_unique_file=src/ios.cc
509 # Find the source files, if location was not specified.
510 if test -z "$srcdir"; then
511 ac_srcdir_defaulted=yes
512 # Try the directory containing this script, then its parent.
514 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
515 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
517 if test ! -r $srcdir/$ac_unique_file; then
521 ac_srcdir_defaulted=no
523 if test ! -r $srcdir/$ac_unique_file; then
524 if test "$ac_srcdir_defaulted" = yes; then
525 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
527 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
530 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
532 # Prefer explicitly selected file to automatically selected ones.
533 if test -z "$CONFIG_SITE"; then
534 if test "x$prefix" != xNONE; then
535 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
537 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
540 for ac_site_file in $CONFIG_SITE; do
541 if test -r "$ac_site_file"; then
542 echo "loading site script $ac_site_file"
547 if test -r "$cache_file"; then
548 echo "loading cache $cache_file"
551 echo "creating cache $cache_file"
556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
557 ac_cpp='$CPP $CPPFLAGS'
558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
560 cross_compiling=$ac_cv_prog_cc_cross
564 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
565 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
566 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
573 ac_n= ac_c='\c' ac_t=
580 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
581 release_VERSION=3.1.0
583 # For libtool versioning info, format is CURRENT:REVISION:AGE
584 libtool_VERSION=4:0:0
587 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
588 # AC 2.50 sets target_alias iff the user specified --target, but we use it
589 # everywhere, so we set it here just to be sure.
591 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
592 if test -f $ac_dir/install-sh; then
594 ac_install_sh="$ac_aux_dir/install-sh -c"
596 elif test -f $ac_dir/install.sh; then
598 ac_install_sh="$ac_aux_dir/install.sh -c"
602 if test -z "$ac_aux_dir"; then
603 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
605 ac_config_guess=$ac_aux_dir/config.guess
606 ac_config_sub=$ac_aux_dir/config.sub
607 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
610 # Do some error checking and defaulting for the host and target type.
612 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
615 # 1. You are not allowed to specify --host, --target, and nonopt at the
617 # 2. Host defaults to nonopt.
618 # 3. If nonopt is not specified, then host defaults to the current host,
619 # as determined by config.guess.
620 # 4. Target and build default to nonopt.
621 # 5. If nonopt is not specified, then target and build default to host.
623 # The aliases save the names the user supplied, while $host etc.
624 # will get canonicalized.
625 case $host---$target---$nonopt in
626 NONE---*---* | *---NONE---* | *---*---NONE) ;;
627 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
631 # Make sure we can run config.sub.
632 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
633 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
636 echo $ac_n "checking host system type""... $ac_c" 1>&6
637 echo "configure:638: checking host system type" >&5
640 case "$host_alias" in
644 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
645 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
647 *) host_alias=$nonopt ;;
651 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
652 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
653 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
654 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
655 echo "$ac_t""$host" 1>&6
657 echo $ac_n "checking target system type""... $ac_c" 1>&6
658 echo "configure:659: checking target system type" >&5
661 case "$target_alias" in
664 NONE) target_alias=$host_alias ;;
665 *) target_alias=$nonopt ;;
669 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
670 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
671 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
672 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
673 echo "$ac_t""$target" 1>&6
675 echo $ac_n "checking build system type""... $ac_c" 1>&6
676 echo "configure:677: checking build system type" >&5
679 case "$build_alias" in
682 NONE) build_alias=$host_alias ;;
683 *) build_alias=$nonopt ;;
687 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
688 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
689 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
690 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
691 echo "$ac_t""$build" 1>&6
693 test "$host_alias" != "$target_alias" &&
694 test "$program_prefix$program_suffix$program_transform_name" = \
696 program_prefix=${target_alias}-
698 target_alias=${target_alias-$target}
701 # Find a good install program. We prefer a C program (faster),
702 # so one script is as good as another. But avoid the broken or
703 # incompatible versions:
704 # SysV /etc/install, /usr/sbin/install
705 # SunOS /usr/etc/install
708 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
709 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
710 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
711 # ./install, which can be erroneously created by make from ./install.sh.
712 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
713 echo "configure:714: checking for a BSD compatible install" >&5
714 if test -z "$INSTALL"; then
715 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
716 echo $ac_n "(cached) $ac_c" 1>&6
718 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
719 for ac_dir in $PATH; do
720 # Account for people who put trailing slashes in PATH elements.
722 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
724 # OSF1 and SCO ODT 3.0 have their own names for install.
725 # Don't use installbsd from OSF since it installs stuff as root
727 for ac_prog in ginstall scoinst install; do
728 if test -f $ac_dir/$ac_prog; then
729 if test $ac_prog = install &&
730 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
731 # AIX install. It has an incompatible calling convention.
734 ac_cv_path_install="$ac_dir/$ac_prog -c"
745 if test "${ac_cv_path_install+set}" = set; then
746 INSTALL="$ac_cv_path_install"
748 # As a last resort, use the slow shell script. We don't cache a
749 # path for INSTALL within a source directory, because that will
750 # break other packages using the cache if that directory is
751 # removed, or if the path is relative.
752 INSTALL="$ac_install_sh"
755 echo "$ac_t""$INSTALL" 1>&6
757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
758 # It thinks the first close brace ends the variable substitution.
759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
765 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
766 echo "configure:767: checking whether build environment is sane" >&5
769 echo timestamp > conftestfile
770 # Do `set' in a subshell so we don't clobber the current shell's
771 # arguments. Must try -L first in case configure is actually a
772 # symlink; some systems play weird games with the mod time of symlinks
773 # (eg FreeBSD returns the mod time of the symlink's containing
776 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
777 if test "$*" = "X"; then
779 set X `ls -t $srcdir/configure conftestfile`
781 if test "$*" != "X $srcdir/configure conftestfile" \
782 && test "$*" != "X conftestfile $srcdir/configure"; then
784 # If neither matched, then we have a broken ls. This can happen
785 # if, for instance, CONFIG_SHELL is bash and it inherits a
786 # broken ls alias from the environment. This has actually
787 # happened. Such a system could not be considered "sane".
788 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
789 alias in your environment" 1>&2; exit 1; }
792 test "$2" = conftestfile
798 { echo "configure: error: newly created file is older than distributed files!
799 Check your system clock" 1>&2; exit 1; }
802 echo "$ac_t""yes" 1>&6
803 if test "$program_transform_name" = s,x,x,; then
804 program_transform_name=
806 # Double any \ or $. echo might interpret backslashes.
807 cat <<\EOF_SED > conftestsed
808 s,\\,\\\\,g; s,\$,$$,g
810 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
813 test "$program_prefix" != NONE &&
814 program_transform_name="s,^,${program_prefix},; $program_transform_name"
815 # Use a double $ so make ignores it.
816 test "$program_suffix" != NONE &&
817 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
819 # sed with no file args requires a program.
820 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
822 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
823 echo "configure:824: checking whether ${MAKE-make} sets \${MAKE}" >&5
824 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
825 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
826 echo $ac_n "(cached) $ac_c" 1>&6
828 cat > conftestmake <<\EOF
830 @echo 'ac_maketemp="${MAKE}"'
832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
833 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
834 if test -n "$ac_maketemp"; then
835 eval ac_cv_prog_make_${ac_make}_set=yes
837 eval ac_cv_prog_make_${ac_make}_set=no
841 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
842 echo "$ac_t""yes" 1>&6
845 echo "$ac_t""no" 1>&6
846 SET_MAKE="MAKE=${MAKE-make}"
852 VERSION=$release_VERSION
854 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
855 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
857 cat >> confdefs.h <<EOF
858 #define PACKAGE "$PACKAGE"
861 cat >> confdefs.h <<EOF
862 #define VERSION "$VERSION"
867 missing_dir=`cd $ac_aux_dir && pwd`
868 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
869 echo "configure:870: checking for working aclocal" >&5
870 # Run test in a subshell; some versions of sh will print an error if
871 # an executable is not found, even if stderr is redirected.
872 # Redirect stdin to placate older versions of autoconf. Sigh.
873 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
875 echo "$ac_t""found" 1>&6
877 ACLOCAL="$missing_dir/missing aclocal"
878 echo "$ac_t""missing" 1>&6
881 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
882 echo "configure:883: checking for working autoconf" >&5
883 # Run test in a subshell; some versions of sh will print an error if
884 # an executable is not found, even if stderr is redirected.
885 # Redirect stdin to placate older versions of autoconf. Sigh.
886 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
888 echo "$ac_t""found" 1>&6
890 AUTOCONF="$missing_dir/missing autoconf"
891 echo "$ac_t""missing" 1>&6
894 echo $ac_n "checking for working automake""... $ac_c" 1>&6
895 echo "configure:896: checking for working automake" >&5
896 # Run test in a subshell; some versions of sh will print an error if
897 # an executable is not found, even if stderr is redirected.
898 # Redirect stdin to placate older versions of autoconf. Sigh.
899 if (automake --version) < /dev/null > /dev/null 2>&1; then
901 echo "$ac_t""found" 1>&6
903 AUTOMAKE="$missing_dir/missing automake"
904 echo "$ac_t""missing" 1>&6
907 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
908 echo "configure:909: checking for working autoheader" >&5
909 # Run test in a subshell; some versions of sh will print an error if
910 # an executable is not found, even if stderr is redirected.
911 # Redirect stdin to placate older versions of autoconf. Sigh.
912 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
913 AUTOHEADER=autoheader
914 echo "$ac_t""found" 1>&6
916 AUTOHEADER="$missing_dir/missing autoheader"
917 echo "$ac_t""missing" 1>&6
920 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
921 echo "configure:922: checking for working makeinfo" >&5
922 # Run test in a subshell; some versions of sh will print an error if
923 # an executable is not found, even if stderr is redirected.
924 # Redirect stdin to placate older versions of autoconf. Sigh.
925 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
927 echo "$ac_t""found" 1>&6
929 MAKEINFO="$missing_dir/missing makeinfo"
930 echo "$ac_t""missing" 1>&6
938 # Runs configure.host and configure.target, as well as finds CC, CXX
939 # and assorted other critical bits. Have to run this before the
940 # GLIBCPP_ENABLE_* macros below.
941 if test $host != $build; then
942 ac_tool_prefix=${host_alias}-
947 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
948 echo "configure:949: checking for Cygwin environment" >&5
949 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
950 echo $ac_n "(cached) $ac_c" 1>&6
952 cat > conftest.$ac_ext <<EOF
953 #line 954 "configure"
954 #include "confdefs.h"
959 #define __CYGWIN__ __CYGWIN32__
964 if { (eval echo configure:965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
968 echo "configure: failed program was:" >&5
969 cat conftest.$ac_ext >&5
977 echo "$ac_t""$ac_cv_cygwin" 1>&6
979 test "$ac_cv_cygwin" = yes && CYGWIN=yes
980 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
981 echo "configure:982: checking for mingw32 environment" >&5
982 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
983 echo $ac_n "(cached) $ac_c" 1>&6
985 cat > conftest.$ac_ext <<EOF
986 #line 987 "configure"
987 #include "confdefs.h"
993 if { (eval echo configure:994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
997 echo "configure: failed program was:" >&5
998 cat conftest.$ac_ext >&5
1006 echo "$ac_t""$ac_cv_mingw32" 1>&6
1008 test "$ac_cv_mingw32" = yes && MINGW32=yes
1010 # Check whether --enable-multilib or --disable-multilib was given.
1011 if test "${enable_multilib+set}" = set; then
1012 enableval="$enable_multilib"
1013 case "${enableval}" in
1014 yes) multilib=yes ;;
1016 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1022 # When building with srcdir == objdir, links to the source files will
1023 # be created in directories within the target_subdir. We have to
1024 # adjust toplevel_srcdir accordingly, so that configure finds
1025 # install-sh and other auxiliary files that live in the top-level
1027 if test "${srcdir}" = "."; then
1028 if test -z "${with_target_subdir}"; then
1031 if test "${with_target_subdir}" != "."; then
1032 toprel="${with_multisrctop}../.."
1034 toprel="${with_multisrctop}.."
1041 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1042 if test -f $ac_dir/install-sh; then
1044 ac_install_sh="$ac_aux_dir/install-sh -c"
1046 elif test -f $ac_dir/install.sh; then
1048 ac_install_sh="$ac_aux_dir/install.sh -c"
1052 if test -z "$ac_aux_dir"; then
1053 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1055 ac_config_guess=$ac_aux_dir/config.guess
1056 ac_config_sub=$ac_aux_dir/config.sub
1057 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1059 toplevel_srcdir=\${top_srcdir}/$toprel
1062 # Export build and source directories.
1063 # These need to be absolute paths, yet at the same time need to
1064 # canonicalize only relative paths, because then amd will not unmount
1065 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1066 glibcpp_builddir=`pwd`
1068 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1069 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1076 for ac_prog in gawk mawk nawk awk
1078 # Extract the first word of "$ac_prog", so it can be a program name with args.
1079 set dummy $ac_prog; ac_word=$2
1080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1081 echo "configure:1082: checking for $ac_word" >&5
1082 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1083 echo $ac_n "(cached) $ac_c" 1>&6
1085 if test -n "$AWK"; then
1086 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1090 for ac_dir in $ac_dummy; do
1091 test -z "$ac_dir" && ac_dir=.
1092 if test -f $ac_dir/$ac_word; then
1093 ac_cv_prog_AWK="$ac_prog"
1100 AWK="$ac_cv_prog_AWK"
1101 if test -n "$AWK"; then
1102 echo "$ac_t""$AWK" 1>&6
1104 echo "$ac_t""no" 1>&6
1107 test -n "$AWK" && break
1110 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1111 # be 'cp -p' if linking isn't available.
1112 #ac_cv_prog_LN_S='cp -p'
1113 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1114 echo "configure:1115: checking whether ln -s works" >&5
1115 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1116 echo $ac_n "(cached) $ac_c" 1>&6
1119 if ln -s X conftestdata 2>/dev/null
1122 ac_cv_prog_LN_S="ln -s"
1127 LN_S="$ac_cv_prog_LN_S"
1128 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1129 echo "$ac_t""yes" 1>&6
1131 echo "$ac_t""no" 1>&6
1135 # We use these options to decide which functions to include.
1136 # Check whether --with-target-subdir or --without-target-subdir was given.
1137 if test "${with_target_subdir+set}" = set; then
1138 withval="$with_target_subdir"
1142 # Check whether --with-cross-host or --without-cross-host was given.
1143 if test "${with_cross_host+set}" = set; then
1144 withval="$with_cross_host"
1149 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1152 # Never versions of autoconf add an underscore to these functions.
1153 # Prevent future problems ...
1161 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1162 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1163 # are probably using a cross compiler, which will not be able to fully
1164 # link an executable. This should really be fixed in autoconf
1170 # Extract the first word of "gcc", so it can be a program name with args.
1171 set dummy gcc; ac_word=$2
1172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1173 echo "configure:1174: checking for $ac_word" >&5
1174 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1175 echo $ac_n "(cached) $ac_c" 1>&6
1177 if test -n "$CC"; then
1178 ac_cv_prog_CC="$CC" # Let the user override the test.
1180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1182 for ac_dir in $ac_dummy; do
1183 test -z "$ac_dir" && ac_dir=.
1184 if test -f $ac_dir/$ac_word; then
1193 if test -n "$CC"; then
1194 echo "$ac_t""$CC" 1>&6
1196 echo "$ac_t""no" 1>&6
1199 if test -z "$CC"; then
1200 # Extract the first word of "cc", so it can be a program name with args.
1201 set dummy cc; ac_word=$2
1202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1203 echo "configure:1204: checking for $ac_word" >&5
1204 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1205 echo $ac_n "(cached) $ac_c" 1>&6
1207 if test -n "$CC"; then
1208 ac_cv_prog_CC="$CC" # Let the user override the test.
1210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1213 for ac_dir in $ac_dummy; do
1214 test -z "$ac_dir" && ac_dir=.
1215 if test -f $ac_dir/$ac_word; then
1216 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1217 ac_prog_rejected=yes
1225 if test $ac_prog_rejected = yes; then
1226 # We found a bogon in the path, so make sure we never use it.
1227 set dummy $ac_cv_prog_CC
1229 if test $# -gt 0; then
1230 # We chose a different compiler from the bogus one.
1231 # However, it has the same basename, so the bogon will be chosen
1232 # first if we set CC to just the basename; use the full file name.
1234 set dummy "$ac_dir/$ac_word" "$@"
1242 if test -n "$CC"; then
1243 echo "$ac_t""$CC" 1>&6
1245 echo "$ac_t""no" 1>&6
1248 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1251 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1252 echo "configure:1253: checking whether we are using GNU C" >&5
1253 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1254 echo $ac_n "(cached) $ac_c" 1>&6
1256 cat > conftest.c <<EOF
1261 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1268 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1270 if test $ac_cv_prog_gcc = yes; then
1272 ac_test_CFLAGS="${CFLAGS+set}"
1273 ac_save_CFLAGS="$CFLAGS"
1275 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1276 echo "configure:1277: checking whether ${CC-cc} accepts -g" >&5
1277 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 echo 'void f(){}' > conftest.c
1281 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1290 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1291 if test "$ac_test_CFLAGS" = set; then
1292 CFLAGS="$ac_save_CFLAGS"
1293 elif test $ac_cv_prog_cc_g = yes; then
1300 test "${CFLAGS+set}" = set || CFLAGS="-g"
1304 # Can't just call these here as g++ requires libstc++ to be built....
1307 # Likewise for AC_PROG_CXX.
1311 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1312 # flags that come in CXX while configuring libstdc++. They're different
1313 # from those used for all other target libraries. If CXX is set in
1314 # the environment, respect that here.
1316 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1318 # Extract the first word of "$ac_prog", so it can be a program name with args.
1319 set dummy $ac_prog; ac_word=$2
1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1321 echo "configure:1322: checking for $ac_word" >&5
1322 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1323 echo $ac_n "(cached) $ac_c" 1>&6
1325 if test -n "$glibcpp_CXX"; then
1326 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1330 for ac_dir in $ac_dummy; do
1331 test -z "$ac_dir" && ac_dir=.
1332 if test -f $ac_dir/$ac_word; then
1333 ac_cv_prog_glibcpp_CXX="$ac_prog"
1340 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1341 if test -n "$glibcpp_CXX"; then
1342 echo "$ac_t""$glibcpp_CXX" 1>&6
1344 echo "$ac_t""no" 1>&6
1347 test -n "$glibcpp_CXX" && break
1349 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1353 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1355 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1356 echo "configure:1357: checking whether we are using GNU C++" >&5
1357 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1358 echo $ac_n "(cached) $ac_c" 1>&6
1360 cat > conftest.C <<EOF
1365 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1372 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1374 if test $ac_cv_prog_gxx = yes; then
1376 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1377 ac_save_CXXFLAGS="$CXXFLAGS"
1379 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1380 echo "configure:1381: checking whether ${CXX-g++} accepts -g" >&5
1381 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1382 echo $ac_n "(cached) $ac_c" 1>&6
1384 echo 'void f(){}' > conftest.cc
1385 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1386 ac_cv_prog_cxx_g=yes
1394 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1395 if test "$ac_test_CXXFLAGS" = set; then
1396 CXXFLAGS="$ac_save_CXXFLAGS"
1397 elif test $ac_cv_prog_cxx_g = yes; then
1404 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1408 # For some reason, gettext needs this.
1410 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1411 echo "configure:1412: checking for strerror in -lcposix" >&5
1412 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1414 echo $ac_n "(cached) $ac_c" 1>&6
1416 ac_save_LIBS="$LIBS"
1417 LIBS="-lcposix $LIBS"
1418 cat > conftest.$ac_ext <<EOF
1419 #line 1420 "configure"
1420 #include "confdefs.h"
1421 /* Override any gcc2 internal prototype to avoid an error. */
1422 /* We use char because int might match the return type of a gcc2
1423 builtin and then its argument prototype would still apply. */
1430 if { (eval echo configure:1431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1432 eval "ac_cv_lib_$ac_lib_var=yes"
1434 echo "configure: failed program was:" >&5
1435 cat conftest.$ac_ext >&5
1437 eval "ac_cv_lib_$ac_lib_var=no"
1440 LIBS="$ac_save_LIBS"
1443 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1444 echo "$ac_t""yes" 1>&6
1445 LIBS="$LIBS -lcposix"
1447 echo "$ac_t""no" 1>&6
1453 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1454 set dummy ${ac_tool_prefix}as; ac_word=$2
1455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1456 echo "configure:1457: checking for $ac_word" >&5
1457 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1458 echo $ac_n "(cached) $ac_c" 1>&6
1460 if test -n "$AS"; then
1461 ac_cv_prog_AS="$AS" # Let the user override the test.
1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1465 for ac_dir in $ac_dummy; do
1466 test -z "$ac_dir" && ac_dir=.
1467 if test -f $ac_dir/$ac_word; then
1468 ac_cv_prog_AS="${ac_tool_prefix}as"
1473 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1477 if test -n "$AS"; then
1478 echo "$ac_t""$AS" 1>&6
1480 echo "$ac_t""no" 1>&6
1485 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1486 set dummy ${ac_tool_prefix}ar; ac_word=$2
1487 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1488 echo "configure:1489: checking for $ac_word" >&5
1489 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1490 echo $ac_n "(cached) $ac_c" 1>&6
1492 if test -n "$AR"; then
1493 ac_cv_prog_AR="$AR" # Let the user override the test.
1495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1497 for ac_dir in $ac_dummy; do
1498 test -z "$ac_dir" && ac_dir=.
1499 if test -f $ac_dir/$ac_word; then
1500 ac_cv_prog_AR="${ac_tool_prefix}ar"
1505 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1509 if test -n "$AR"; then
1510 echo "$ac_t""$AR" 1>&6
1512 echo "$ac_t""no" 1>&6
1517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1519 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1520 echo "configure:1521: checking for $ac_word" >&5
1521 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1522 echo $ac_n "(cached) $ac_c" 1>&6
1524 if test -n "$RANLIB"; then
1525 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1527 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1529 for ac_dir in $ac_dummy; do
1530 test -z "$ac_dir" && ac_dir=.
1531 if test -f $ac_dir/$ac_word; then
1532 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1539 RANLIB="$ac_cv_prog_RANLIB"
1540 if test -n "$RANLIB"; then
1541 echo "$ac_t""$RANLIB" 1>&6
1543 echo "$ac_t""no" 1>&6
1547 if test -z "$ac_cv_prog_RANLIB"; then
1548 if test -n "$ac_tool_prefix"; then
1549 # Extract the first word of "ranlib", so it can be a program name with args.
1550 set dummy ranlib; ac_word=$2
1551 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1552 echo "configure:1553: checking for $ac_word" >&5
1553 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1554 echo $ac_n "(cached) $ac_c" 1>&6
1556 if test -n "$RANLIB"; then
1557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1561 for ac_dir in $ac_dummy; do
1562 test -z "$ac_dir" && ac_dir=.
1563 if test -f $ac_dir/$ac_word; then
1564 ac_cv_prog_RANLIB="ranlib"
1569 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1572 RANLIB="$ac_cv_prog_RANLIB"
1573 if test -n "$RANLIB"; then
1574 echo "$ac_t""$RANLIB" 1>&6
1576 echo "$ac_t""no" 1>&6
1580 RANLIB="ranlib-not-found-in-path-error"
1584 # Find a good install program. We prefer a C program (faster),
1585 # so one script is as good as another. But avoid the broken or
1586 # incompatible versions:
1587 # SysV /etc/install, /usr/sbin/install
1588 # SunOS /usr/etc/install
1589 # IRIX /sbin/install
1591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1594 # ./install, which can be erroneously created by make from ./install.sh.
1595 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1596 echo "configure:1597: checking for a BSD compatible install" >&5
1597 if test -z "$INSTALL"; then
1598 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1599 echo $ac_n "(cached) $ac_c" 1>&6
1601 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1602 for ac_dir in $PATH; do
1603 # Account for people who put trailing slashes in PATH elements.
1605 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1607 # OSF1 and SCO ODT 3.0 have their own names for install.
1608 # Don't use installbsd from OSF since it installs stuff as root
1610 for ac_prog in ginstall scoinst install; do
1611 if test -f $ac_dir/$ac_prog; then
1612 if test $ac_prog = install &&
1613 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1614 # AIX install. It has an incompatible calling convention.
1617 ac_cv_path_install="$ac_dir/$ac_prog -c"
1628 if test "${ac_cv_path_install+set}" = set; then
1629 INSTALL="$ac_cv_path_install"
1631 # As a last resort, use the slow shell script. We don't cache a
1632 # path for INSTALL within a source directory, because that will
1633 # break other packages using the cache if that directory is
1634 # removed, or if the path is relative.
1635 INSTALL="$ac_install_sh"
1638 echo "$ac_t""$INSTALL" 1>&6
1640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1641 # It thinks the first close brace ends the variable substitution.
1642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1649 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1650 echo "configure:1651: checking whether to enable maintainer-specific portions of Makefiles" >&5
1651 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1652 if test "${enable_maintainer_mode+set}" = set; then
1653 enableval="$enable_maintainer_mode"
1654 USE_MAINTAINER_MODE=$enableval
1656 USE_MAINTAINER_MODE=no
1659 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1662 if test $USE_MAINTAINER_MODE = yes; then
1663 MAINTAINER_MODE_TRUE=
1664 MAINTAINER_MODE_FALSE='#'
1666 MAINTAINER_MODE_TRUE='#'
1667 MAINTAINER_MODE_FALSE=
1669 MAINT=$MAINTAINER_MODE_TRUE
1673 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1674 # at least currently, we never actually build a program, so we never
1675 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1676 # fails, because we are probably configuring with a cross compiler
1677 # which can't create executables. So we include AC_EXEEXT to keep
1678 # automake happy, but we don't execute it, since we don't care about
1681 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1682 # to nothing, so nothing would remain between `then' and `fi' if it
1683 # were not for the `:' below.
1687 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1688 echo "configure:1689: checking for executable suffix" >&5
1689 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1690 echo $ac_n "(cached) $ac_c" 1>&6
1692 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1696 echo 'int main () { return 0; }' > conftest.$ac_ext
1698 if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1699 for file in conftest.*; do
1701 *.c | *.o | *.obj) ;;
1702 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1706 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1709 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1714 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1715 echo "$ac_t""${ac_cv_exeext}" 1>&6
1720 . ${glibcpp_basedir}/configure.host
1722 case ${glibcpp_basedir} in
1723 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1724 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1727 # This does for the target what configure.host does for the host. In
1728 # addition to possibly modifying the same flags, it also sets up symlinks.
1730 . ${glibcpp_basedir}/configure.target
1731 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1732 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1739 # Check whether --enable-shared or --disable-shared was given.
1740 if test "${enable_shared+set}" = set; then
1741 enableval="$enable_shared"
1742 p=${PACKAGE-default}
1744 yes) enable_shared=yes ;;
1745 no) enable_shared=no ;;
1748 # Look at the argument we got. We use all the common list separators.
1749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1750 for pkg in $enableval; do
1751 if test "X$pkg" = "X$p"; then
1762 # Check whether --enable-static or --disable-static was given.
1763 if test "${enable_static+set}" = set; then
1764 enableval="$enable_static"
1765 p=${PACKAGE-default}
1767 yes) enable_static=yes ;;
1768 no) enable_static=no ;;
1771 # Look at the argument we got. We use all the common list separators.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1773 for pkg in $enableval; do
1774 if test "X$pkg" = "X$p"; then
1785 # Check whether --enable-fast-install or --disable-fast-install was given.
1786 if test "${enable_fast_install+set}" = set; then
1787 enableval="$enable_fast_install"
1788 p=${PACKAGE-default}
1790 yes) enable_fast_install=yes ;;
1791 no) enable_fast_install=no ;;
1793 enable_fast_install=no
1794 # Look at the argument we got. We use all the common list separators.
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1796 for pkg in $enableval; do
1797 if test "X$pkg" = "X$p"; then
1798 enable_fast_install=yes
1805 enable_fast_install=yes
1808 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1809 if test "${with_gnu_ld+set}" = set; then
1810 withval="$with_gnu_ld"
1811 test "$withval" = no || with_gnu_ld=yes
1817 if test "$GCC" = yes; then
1818 # Check if gcc -print-prog-name=ld gives a path.
1819 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1820 echo "configure:1821: checking for ld used by GCC" >&5
1823 # gcc leaves a trailing carriage return which upsets mingw
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1829 # Accept absolute paths.
1830 [\\/]* | [A-Za-z]:[\\/]*)
1831 re_direlt='/[^/][^/]*/\.\./'
1832 # Canonicalize the path of ld
1833 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1834 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1835 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1837 test -z "$LD" && LD="$ac_prog"
1840 # If it fails, then pretend we aren't using GCC.
1844 # If it is relative, then search for the first ld in PATH.
1848 elif test "$with_gnu_ld" = yes; then
1849 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1850 echo "configure:1851: checking for GNU ld" >&5
1852 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1853 echo "configure:1854: checking for non-GNU ld" >&5
1855 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1856 echo $ac_n "(cached) $ac_c" 1>&6
1858 if test -z "$LD"; then
1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1860 for ac_dir in $PATH; do
1861 test -z "$ac_dir" && ac_dir=.
1862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1863 lt_cv_path_LD="$ac_dir/$ac_prog"
1864 # Check to see if the program is GNU ld. I'd rather use --version,
1865 # but apparently some GNU ld's only accept -v.
1866 # Break only if it was the GNU/non-GNU ld that we prefer.
1867 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1868 test "$with_gnu_ld" != no && break
1870 test "$with_gnu_ld" != yes && break
1876 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1881 if test -n "$LD"; then
1882 echo "$ac_t""$LD" 1>&6
1884 echo "$ac_t""no" 1>&6
1886 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1887 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1888 echo "configure:1889: checking if the linker ($LD) is GNU ld" >&5
1889 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1893 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1894 lt_cv_prog_gnu_ld=yes
1896 lt_cv_prog_gnu_ld=no
1900 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1901 with_gnu_ld=$lt_cv_prog_gnu_ld
1904 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1905 echo "configure:1906: checking for $LD option to reload object files" >&5
1906 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 lt_cv_ld_reload_flag='-r'
1912 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1913 reload_flag=$lt_cv_ld_reload_flag
1914 test -n "$reload_flag" && reload_flag=" $reload_flag"
1916 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1917 echo "configure:1918: checking for BSD-compatible nm" >&5
1918 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1919 echo $ac_n "(cached) $ac_c" 1>&6
1921 if test -n "$NM"; then
1922 # Let the user override the test.
1925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1926 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1927 test -z "$ac_dir" && ac_dir=.
1928 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1929 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1930 # Check to see if the nm accepts a BSD-compat flag.
1931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1932 # nm: unknown option "B" ignored
1933 # Tru64's nm complains that /dev/null is an invalid object file
1934 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1935 lt_cv_path_NM="$tmp_nm -B"
1937 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1938 lt_cv_path_NM="$tmp_nm -p"
1941 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1942 continue # so that we can try to find one that supports BSD flags
1947 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1952 echo "$ac_t""$NM" 1>&6
1954 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1955 echo "configure:1956: checking how to recognise dependant libraries" >&5
1956 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1957 echo $ac_n "(cached) $ac_c" 1>&6
1959 lt_cv_file_magic_cmd='$MAGIC_CMD'
1960 lt_cv_file_magic_test_file=
1961 lt_cv_deplibs_check_method='unknown'
1962 # Need to set the preceding variable on all platforms that support
1963 # interlibrary dependencies.
1964 # 'none' -- dependencies not supported.
1965 # `unknown' -- same as none, but documents that we really don't know.
1966 # 'pass_all' -- all dependencies passed with no checks.
1967 # 'test_compile' -- check by making test program.
1968 # 'file_magic [regex]' -- check by looking for files in library path
1969 # which responds to the $file_magic_cmd with a given egrep regex.
1970 # If you have `file' or equivalent on your system and you're not sure
1971 # whether `pass_all' will *always* work, you probably want this one.
1975 lt_cv_deplibs_check_method=pass_all
1979 lt_cv_deplibs_check_method=pass_all
1983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1984 lt_cv_file_magic_cmd='/usr/bin/file -L'
1985 lt_cv_file_magic_test_file=/shlib/libc.so
1988 cygwin* | mingw* |pw32*)
1989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1990 lt_cv_file_magic_cmd='$OBJDUMP -f'
1993 darwin* | rhapsody*)
1994 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1995 lt_cv_file_magic_cmd='/usr/bin/file -L'
1997 rhapsody* | darwin1.012)
1998 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2001 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2010 # Not sure whether the presence of OpenBSD here was a mistake.
2011 # Let's accept both of them until this is cleared up.
2012 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2013 lt_cv_file_magic_cmd=/usr/bin/file
2014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2018 lt_cv_deplibs_check_method=pass_all
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2028 lt_cv_file_magic_cmd=/usr/bin/file
2029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2035 # this will be overridden with pass_all, but let us keep it just in case
2036 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2040 *-32|*"-32 ") libmagic=32-bit;;
2041 *-n32|*"-n32 ") libmagic=N32;;
2042 *-64|*"-64 ") libmagic=64-bit;;
2043 *) libmagic=never-match;;
2045 # this will be overridden with pass_all, but let us keep it just in case
2046 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2049 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2050 lt_cv_deplibs_check_method=pass_all
2053 # This must be Linux ELF.
2056 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2057 lt_cv_deplibs_check_method=pass_all ;;
2059 # glibc up to 2.1.1 does not perform some relocations on ARM
2060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2062 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2066 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2069 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2075 lt_cv_file_magic_cmd=/usr/bin/file
2076 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2079 osf3* | osf4* | osf5*)
2080 # this will be overridden with pass_all, but let us keep it just in case
2081 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2082 lt_cv_file_magic_test_file=/shlib/libc.so
2083 lt_cv_deplibs_check_method=pass_all
2087 lt_cv_deplibs_check_method=pass_all
2091 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_file_magic_test_file=/lib/libc.so
2095 sysv5uw[78]* | sysv4*uw2*)
2096 lt_cv_deplibs_check_method=pass_all
2099 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2100 case $host_vendor in
2102 lt_cv_deplibs_check_method=pass_all
2105 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2114 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2115 file_magic_cmd=$lt_cv_file_magic_cmd
2116 deplibs_check_method=$lt_cv_deplibs_check_method
2118 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2119 echo "configure:2120: checking for object suffix" >&5
2120 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2121 echo $ac_n "(cached) $ac_c" 1>&6
2124 echo 'int i = 1;' > conftest.$ac_ext
2125 if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2126 for ac_file in conftest.*; do
2129 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2133 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2138 echo "$ac_t""$ac_cv_objext" 1>&6
2139 OBJEXT=$ac_cv_objext
2140 ac_objext=$ac_cv_objext
2142 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2144 # Only perform the check for file, if the check method requires it
2145 case $deplibs_check_method in
2147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2148 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2149 echo "configure:2150: checking for ${ac_tool_prefix}file" >&5
2150 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2151 echo $ac_n "(cached) $ac_c" 1>&6
2155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2161 ac_save_MAGIC_CMD="$MAGIC_CMD"
2162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2163 ac_dummy="/usr/bin:$PATH"
2164 for ac_dir in $ac_dummy; do
2165 test -z "$ac_dir" && ac_dir=.
2166 if test -f $ac_dir/${ac_tool_prefix}file; then
2167 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2168 if test -n "$file_magic_test_file"; then
2169 case $deplibs_check_method in
2171 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2172 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2174 egrep "$file_magic_regex" > /dev/null; then
2179 *** Warning: the command libtool uses to detect shared libraries,
2180 *** $file_magic_cmd, produces output that libtool cannot recognize.
2181 *** The result is that libtool may fail to recognize shared libraries
2182 *** as such. This will affect the creation of libtool libraries that
2183 *** depend on shared libraries, but programs linked with such libtool
2184 *** libraries will work regardless of this problem. Nevertheless, you
2185 *** may want to report the problem to your system manager and/or to
2186 *** bug-libtool@gnu.org
2196 MAGIC_CMD="$ac_save_MAGIC_CMD"
2201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2202 if test -n "$MAGIC_CMD"; then
2203 echo "$ac_t""$MAGIC_CMD" 1>&6
2205 echo "$ac_t""no" 1>&6
2208 if test -z "$lt_cv_path_MAGIC_CMD"; then
2209 if test -n "$ac_tool_prefix"; then
2210 echo $ac_n "checking for file""... $ac_c" 1>&6
2211 echo "configure:2212: checking for file" >&5
2212 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2213 echo $ac_n "(cached) $ac_c" 1>&6
2217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2223 ac_save_MAGIC_CMD="$MAGIC_CMD"
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2225 ac_dummy="/usr/bin:$PATH"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/file; then
2229 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2230 if test -n "$file_magic_test_file"; then
2231 case $deplibs_check_method in
2233 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2235 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2236 egrep "$file_magic_regex" > /dev/null; then
2241 *** Warning: the command libtool uses to detect shared libraries,
2242 *** $file_magic_cmd, produces output that libtool cannot recognize.
2243 *** The result is that libtool may fail to recognize shared libraries
2244 *** as such. This will affect the creation of libtool libraries that
2245 *** depend on shared libraries, but programs linked with such libtool
2246 *** libraries will work regardless of this problem. Nevertheless, you
2247 *** may want to report the problem to your system manager and/or to
2248 *** bug-libtool@gnu.org
2258 MAGIC_CMD="$ac_save_MAGIC_CMD"
2263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2264 if test -n "$MAGIC_CMD"; then
2265 echo "$ac_t""$MAGIC_CMD" 1>&6
2267 echo "$ac_t""no" 1>&6
2279 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2282 echo "configure:2283: checking for $ac_word" >&5
2283 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2284 echo $ac_n "(cached) $ac_c" 1>&6
2286 if test -n "$RANLIB"; then
2287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2289 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2291 for ac_dir in $ac_dummy; do
2292 test -z "$ac_dir" && ac_dir=.
2293 if test -f $ac_dir/$ac_word; then
2294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2301 RANLIB="$ac_cv_prog_RANLIB"
2302 if test -n "$RANLIB"; then
2303 echo "$ac_t""$RANLIB" 1>&6
2305 echo "$ac_t""no" 1>&6
2309 if test -z "$ac_cv_prog_RANLIB"; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "ranlib", so it can be a program name with args.
2312 set dummy ranlib; ac_word=$2
2313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2314 echo "configure:2315: checking for $ac_word" >&5
2315 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2316 echo $ac_n "(cached) $ac_c" 1>&6
2318 if test -n "$RANLIB"; then
2319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2323 for ac_dir in $ac_dummy; do
2324 test -z "$ac_dir" && ac_dir=.
2325 if test -f $ac_dir/$ac_word; then
2326 ac_cv_prog_RANLIB="ranlib"
2331 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2334 RANLIB="$ac_cv_prog_RANLIB"
2335 if test -n "$RANLIB"; then
2336 echo "$ac_t""$RANLIB" 1>&6
2338 echo "$ac_t""no" 1>&6
2346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
2348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2349 echo "configure:2350: checking for $ac_word" >&5
2350 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2358 for ac_dir in $ac_dummy; do
2359 test -z "$ac_dir" && ac_dir=.
2360 if test -f $ac_dir/$ac_word; then
2361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2368 STRIP="$ac_cv_prog_STRIP"
2369 if test -n "$STRIP"; then
2370 echo "$ac_t""$STRIP" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 if test -z "$ac_cv_prog_STRIP"; then
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "strip", so it can be a program name with args.
2379 set dummy strip; ac_word=$2
2380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2381 echo "configure:2382: checking for $ac_word" >&5
2382 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2383 echo $ac_n "(cached) $ac_c" 1>&6
2385 if test -n "$STRIP"; then
2386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2390 for ac_dir in $ac_dummy; do
2391 test -z "$ac_dir" && ac_dir=.
2392 if test -f $ac_dir/$ac_word; then
2393 ac_cv_prog_STRIP="strip"
2398 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2401 STRIP="$ac_cv_prog_STRIP"
2402 if test -n "$STRIP"; then
2403 echo "$ac_t""$STRIP" 1>&6
2405 echo "$ac_t""no" 1>&6
2414 # Check for any special flags to pass to ltconfig.
2415 libtool_flags="--cache-file=$cache_file"
2416 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2417 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2418 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2419 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2420 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2421 libtool_flags="$libtool_flags --enable-dlopen"
2423 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2424 if test "${enable_libtool_lock+set}" = set; then
2425 enableval="$enable_libtool_lock"
2429 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2430 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2432 # Check whether --with-pic or --without-pic was given.
2433 if test "${with_pic+set}" = set; then
2440 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2441 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2443 # Some flags need to be propagated to the compiler or linker for good
2447 # Find out which ABI we are using.
2448 echo '#line 2449 "configure"' > conftest.$ac_ext
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 case `/usr/bin/file conftest.$ac_objext` in
2466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2467 SAVE_CFLAGS="$CFLAGS"
2468 CFLAGS="$CFLAGS -belf"
2469 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2470 echo "configure:2471: checking whether the C compiler needs -belf" >&5
2471 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2472 echo $ac_n "(cached) $ac_c" 1>&6
2476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2480 cross_compiling=$ac_cv_prog_cc_cross
2482 cat > conftest.$ac_ext <<EOF
2483 #line 2484 "configure"
2484 #include "confdefs.h"
2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2492 lt_cv_cc_needs_belf=yes
2494 echo "configure: failed program was:" >&5
2495 cat conftest.$ac_ext >&5
2497 lt_cv_cc_needs_belf=no
2501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2502 ac_cpp='$CPP $CPPFLAGS'
2503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2505 cross_compiling=$ac_cv_prog_cc_cross
2509 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2510 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2511 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2512 CFLAGS="$SAVE_CFLAGS"
2519 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2520 echo "configure:2521: checking how to run the C++ preprocessor" >&5
2521 if test -z "$CXXCPP"; then
2522 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2523 echo $ac_n "(cached) $ac_c" 1>&6
2526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2527 ac_cpp='$CXXCPP $CPPFLAGS'
2528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2530 cross_compiling=$ac_cv_prog_cxx_cross
2531 CXXCPP="${CXX-g++} -E"
2532 cat > conftest.$ac_ext <<EOF
2533 #line 2534 "configure"
2534 #include "confdefs.h"
2537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2538 { (eval echo configure:2539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2540 if test -z "$ac_err"; then
2544 echo "configure: failed program was:" >&5
2545 cat conftest.$ac_ext >&5
2550 ac_cv_prog_CXXCPP="$CXXCPP"
2552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2556 cross_compiling=$ac_cv_prog_cc_cross
2559 CXXCPP="$ac_cv_prog_CXXCPP"
2560 echo "$ac_t""$CXXCPP" 1>&6
2563 # Save cache, so that ltconfig can load it
2564 cat > confcache <<\EOF
2565 # This file is a shell script that caches the results of configure
2566 # tests run on this system so they can be shared between configure
2567 # scripts and configure runs. It is not useful on other systems.
2568 # If it contains results you don't want to keep, you may remove or edit it.
2570 # By default, configure uses ./config.cache as the cache file,
2571 # creating it if it does not exist already. You can give configure
2572 # the --cache-file=FILE option to use a different cache file; that is
2573 # what configure does when it calls configure scripts in
2574 # subdirectories, so they share the cache.
2575 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2576 # config.status only pays attention to the cache file if you give it the
2577 # --recheck option to rerun configure.
2580 # The following way of writing the cache mishandles newlines in values,
2581 # but we know of no workaround that is simple, portable, and efficient.
2582 # So, don't put newlines in cache variables' values.
2583 # Ultrix sh set writes to stderr and can't be redirected directly,
2584 # and sets the high bit in the cache file unless we assign to the vars.
2586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2588 # `set' does not quote correctly, so add quotes (double-quote substitution
2589 # turns \\\\ into \\, and sed turns \\ into \).
2591 -e "s/'/'\\\\''/g" \
2592 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2595 # `set' quotes correctly as required by POSIX, so do not add quotes.
2596 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2599 if cmp -s $cache_file confcache; then
2602 if test -w $cache_file; then
2603 echo "updating cache $cache_file"
2604 cat confcache > $cache_file
2606 echo "not updating unwritable cache $cache_file"
2612 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2613 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2614 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2615 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2616 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2617 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2618 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2620 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2621 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2623 # Reload cache, that may have been modified by ltconfig
2624 if test -r "$cache_file"; then
2625 echo "loading cache $cache_file"
2628 echo "creating cache $cache_file"
2633 # This can be used to rebuild libtool when needed
2634 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2636 # Always use our own libtool.
2637 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2639 # Redirect the config.log output again, so that the ltconfig log is not
2640 # clobbered by the next message.
2641 exec 5>>./config.log
2645 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2647 lt_save_CFLAGS="$CFLAGS"
2648 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2649 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2650 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2651 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2652 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2653 deplibs_check_method="$deplibs_check_method" \
2654 file_magic_cmd="$file_magic_cmd" \
2655 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2656 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2657 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2659 CFLAGS="$lt_save_CFLAGS"
2661 # Redirect the config.log output again, so that the ltconfig log is not
2662 # clobbered by the next message.
2663 exec 5>>./config.log
2673 # Check for c++ or library specific bits that don't require linking.
2674 #GLIBCPP_CHECK_COMPILER_VERSION
2675 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2676 echo "configure:2677: checking for GNU make" >&5
2677 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2678 echo $ac_n "(cached) $ac_c" 1>&6
2680 _cv_gnu_make_command='' ;
2681 for a in "${MAKE-make}" make gmake gnumake ; do
2682 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2684 _cv_gnu_make_command=$a ;
2691 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2692 if test "x$_cv_gnu_make_command" != "x" ; then
2700 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2701 # Check whether --enable-debug or --disable-debug was given.
2702 if test "${enable_debug+set}" = set; then
2703 enableval="$enable_debug"
2704 case "${enableval}" in
2705 yes) enable_debug=yes ;;
2706 no) enable_debug=no ;;
2707 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2713 case "${enable_debug}" in
2715 DEBUG_FLAGS='-O0 -ggdb3'
2723 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2724 echo "configure:2725: checking how to run the C preprocessor" >&5
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2731 echo $ac_n "(cached) $ac_c" 1>&6
2733 # This must be in double quotes, not single quotes, because CPP may get
2734 # substituted into the Makefile and "${CC-cc}" will confuse make.
2736 # On the NeXT, cc -E runs the code through the compiler's parser,
2737 # not just through cpp.
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure"
2740 #include "confdefs.h"
2744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2747 if test -z "$ac_err"; then
2751 echo "configure: failed program was:" >&5
2752 cat conftest.$ac_ext >&5
2754 CPP="${CC-cc} -E -traditional-cpp"
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2764 if test -z "$ac_err"; then
2768 echo "configure: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2771 CPP="${CC-cc} -nologo -E"
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure"
2774 #include "confdefs.h"
2778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2781 if test -z "$ac_err"; then
2785 echo "configure: failed program was:" >&5
2786 cat conftest.$ac_ext >&5
2795 ac_cv_prog_CPP="$CPP"
2797 CPP="$ac_cv_prog_CPP"
2799 ac_cv_prog_CPP="$CPP"
2801 echo "$ac_t""$CPP" 1>&6
2804 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2805 echo "configure:2806: checking for cstdio to use" >&5
2806 # Check whether --enable-cstdio or --disable-cstdio was given.
2807 if test "${enable_cstdio+set}" = set; then
2808 enableval="$enable_cstdio"
2809 if test x$enable_cstdio = xno; then
2817 enable_cstdio_flag=$enable_cstdio
2819 case x${enable_cstdio_flag} in
2821 CSTDIO_H=config/io/c_io_libio.h
2822 BASIC_FILE_H=config/io/basic_file_libio.h
2823 BASIC_FILE_CC=config/io/basic_file_libio.cc
2824 echo "$ac_t""libio" 1>&6
2826 # see if we are on a system with libio native (ie, linux)
2827 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2828 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2829 echo "configure:2830: checking for libio.h" >&5
2830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2831 echo $ac_n "(cached) $ac_c" 1>&6
2833 cat > conftest.$ac_ext <<EOF
2834 #line 2835 "configure"
2835 #include "confdefs.h"
2838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2839 { (eval echo configure:2840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2841 if test -z "$ac_err"; then
2843 eval "ac_cv_header_$ac_safe=yes"
2846 echo "configure: failed program was:" >&5
2847 cat conftest.$ac_ext >&5
2849 eval "ac_cv_header_$ac_safe=no"
2853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2854 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2862 # Need to check and see what version of glibc is being used. If
2863 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2864 # compile most of libio for linux systems.
2865 if test x$has_libio = x"yes"; then
2868 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2869 echo "configure:2870: checking for glibc version >= 2.2" >&5
2870 cat > conftest.$ac_ext <<EOF
2871 #line 2872 "configure"
2872 #include "confdefs.h"
2874 #include <features.h>
2875 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2881 egrep "ok" >/dev/null 2>&1; then
2883 glibc_satisfactory=yes
2886 glibc_satisfactory=no
2890 echo "$ac_t""$glibc_satisfactory" 1>&6
2894 # XXX at the moment, admit defeat and force the recompilation
2895 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2896 glibc_satisfactory=no
2898 if test x$glibc_satisfactory = x"yes"; then
2903 # bkoz XXX need to add checks to enable this
2904 # pme XXX here's a first pass at such a check
2905 if test x$enable_c_mbchar != xno; then
2913 # Using libio, but <libio.h> doesn't exist on the target system. . .
2915 # bkoz XXX need to add checks to enable this
2916 # pme XXX here's a first pass at such a check
2917 if test x$enable_c_mbchar != xno; then
2924 xstdio | x | xno | xnone | xyes)
2926 CSTDIO_H=config/io/c_io_stdio.h
2927 BASIC_FILE_H=config/io/basic_file_stdio.h
2928 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2929 echo "$ac_t""stdio" 1>&6
2931 # We're not using stdio.
2936 echo "$enable_cstdio is an unknown io package" 1>&2
2944 # 2000-08-04 bkoz hack
2945 CCODECVT_C=config/io/c_io_libio_codecvt.c
2947 # 2000-08-04 bkoz hack
2951 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2952 GLIBCPP_BUILD_LIBIO_TRUE=
2953 GLIBCPP_BUILD_LIBIO_FALSE='#'
2955 GLIBCPP_BUILD_LIBIO_TRUE='#'
2956 GLIBCPP_BUILD_LIBIO_FALSE=
2960 if test "$need_libio" = yes; then
2961 GLIBCPP_NEED_LIBIO_TRUE=
2962 GLIBCPP_NEED_LIBIO_FALSE='#'
2964 GLIBCPP_NEED_LIBIO_TRUE='#'
2965 GLIBCPP_NEED_LIBIO_FALSE=
2969 if test "$need_wlibio" = yes; then
2970 GLIBCPP_NEED_WLIBIO_TRUE=
2971 GLIBCPP_NEED_WLIBIO_FALSE='#'
2973 GLIBCPP_NEED_WLIBIO_TRUE='#'
2974 GLIBCPP_NEED_WLIBIO_FALSE=
2976 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2977 libio_la=../libio/libio.la
2984 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2985 echo "configure:2986: checking for clocale to use" >&5
2986 # Check whether --enable-clocale or --disable-clocale was given.
2987 if test "${enable_clocale+set}" = set; then
2988 enableval="$enable_clocale"
2989 if test x$enable_clocale = xno; then
2997 enable_clocale_flag=$enable_clocale
2999 if test x$enable_clocale_flag = xno; then
3000 case x${target_os} in
3002 cat > conftest.$ac_ext <<EOF
3003 #line 3004 "configure"
3004 #include "confdefs.h"
3006 #include <features.h>
3007 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3013 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3015 enable_clocale_flag=gnu
3018 enable_clocale_flag=generic
3023 # Test for bugs early in glibc-2.2.x series
3024 if test x$enable_clocale_flag = xgnu; then
3025 if test "$cross_compiling" = yes; then
3026 enable_clocale_flag=generic
3028 cat > conftest.$ac_ext <<EOF
3029 #line 3030 "configure"
3030 #include "confdefs.h"
3032 #define _GNU_SOURCE 1
3036 const char __one[] = "Äuglein Augmen";
3037 const char __two[] = "Äuglein";
3042 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3043 loc_dup = __duplocale(loc);
3044 i = __strcoll_l(__one, __two, loc);
3045 j = __strcoll_l(__one, __two, loc_dup);
3050 if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3052 enable_clocale_flag=gnu
3054 echo "configure: failed program was:" >&5
3055 cat conftest.$ac_ext >&5
3057 enable_clocale_flag=generic
3064 # ... at some point put __strxfrm_l tests in as well.
3067 enable_clocale_flag=generic
3072 case x${enable_clocale_flag} in
3074 echo "$ac_t""generic" 1>&6
3076 # Don't use gettext.
3079 CLOCALE_H=config/locale/c_locale_generic.h
3080 CLOCALE_CC=config/locale/c_locale_generic.cc
3081 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3082 CCOLLATE_CC=config/locale/collate_members_generic.cc
3083 CCTYPE_CC=config/locale/ctype_members_generic.cc
3084 CMESSAGES_H=config/locale/messages_members_generic.h
3085 CMESSAGES_CC=config/locale/messages_members_generic.cc
3086 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3087 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3088 CTIME_CC=config/locale/time_members_generic.cc
3091 echo "$ac_t""gnu" 1>&6
3093 # Declare intention to use gettext, and add support for specific
3095 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3097 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3098 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3101 # Export the build objects.
3102 for ling in $ALL_LINGUAS; do \
3103 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3104 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3109 CLOCALE_H=config/locale/c_locale_gnu.h
3110 CLOCALE_CC=config/locale/c_locale_gnu.cc
3111 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3112 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3113 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3114 CMESSAGES_H=config/locale/messages_members_gnu.h
3115 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3116 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3117 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3118 CTIME_CC=config/locale/time_members_gnu.cc
3121 echo "$ac_t""generic" 1>&6
3123 # Don't use gettext.
3126 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3127 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3128 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3129 CCOLLATE_CC=config/locale/collate_members_generic.cc
3130 CCTYPE_CC=config/locale/ctype_members_generic.cc
3131 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3132 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3133 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3134 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3135 CTIME_CC=config/locale/time_members_generic.cc
3138 echo "$enable_clocale is an unknown locale package" 1>&2
3143 # This is where the testsuite looks for locale catalogs, using the
3144 # -DLOCALEDIR define during testsuite compilation.
3145 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3160 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3161 if test "${enable_c_mbchar+set}" = set; then
3162 enableval="$enable_c_mbchar"
3163 case "$enableval" in
3164 yes) enable_c_mbchar=yes ;;
3165 no) enable_c_mbchar=no ;;
3166 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3173 # Check whether --enable-c99 or --disable-c99 was given.
3174 if test "${enable_c99+set}" = set; then
3175 enableval="$enable_c99"
3176 case "$enableval" in
3177 yes) enable_c99=yes ;;
3178 no) enable_c99=no ;;
3179 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3188 ac_cpp='$CXXCPP $CPPFLAGS'
3189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3191 cross_compiling=$ac_cv_prog_cxx_cross
3194 # Check for the existence of <math.h> functions used if C99 is enabled.
3196 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3197 echo "configure:3198: checking for ISO C99 support in <math.h>" >&5
3198 cat > conftest.$ac_ext <<EOF
3199 #line 3200 "configure"
3200 #include "confdefs.h"
3206 if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3209 echo "configure: failed program was:" >&5
3210 cat conftest.$ac_ext >&5
3215 cat > conftest.$ac_ext <<EOF
3216 #line 3217 "configure"
3217 #include "confdefs.h"
3223 if { (eval echo configure:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3226 echo "configure: failed program was:" >&5
3227 cat conftest.$ac_ext >&5
3232 cat > conftest.$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3240 if { (eval echo configure:3241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3243 echo "configure: failed program was:" >&5
3244 cat conftest.$ac_ext >&5
3249 cat > conftest.$ac_ext <<EOF
3250 #line 3251 "configure"
3251 #include "confdefs.h"
3257 if { (eval echo configure:3258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3260 echo "configure: failed program was:" >&5
3261 cat conftest.$ac_ext >&5
3266 cat > conftest.$ac_ext <<EOF
3267 #line 3268 "configure"
3268 #include "confdefs.h"
3274 if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 echo "configure: failed program was:" >&5
3278 cat conftest.$ac_ext >&5
3283 cat > conftest.$ac_ext <<EOF
3284 #line 3285 "configure"
3285 #include "confdefs.h"
3291 if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3294 echo "configure: failed program was:" >&5
3295 cat conftest.$ac_ext >&5
3300 cat > conftest.$ac_ext <<EOF
3301 #line 3302 "configure"
3302 #include "confdefs.h"
3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3311 echo "configure: failed program was:" >&5
3312 cat conftest.$ac_ext >&5
3317 cat > conftest.$ac_ext <<EOF
3318 #line 3319 "configure"
3319 #include "confdefs.h"
3322 isgreaterequal(0.0,0.0);
3325 if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3328 echo "configure: failed program was:" >&5
3329 cat conftest.$ac_ext >&5
3334 cat > conftest.$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3345 echo "configure: failed program was:" >&5
3346 cat conftest.$ac_ext >&5
3351 cat > conftest.$ac_ext <<EOF
3352 #line 3353 "configure"
3353 #include "confdefs.h"
3356 islessequal(0.0,0.0);
3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3362 echo "configure: failed program was:" >&5
3363 cat conftest.$ac_ext >&5
3368 cat > conftest.$ac_ext <<EOF
3369 #line 3370 "configure"
3370 #include "confdefs.h"
3373 islessgreater(0.0,0.0);
3376 if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3379 echo "configure: failed program was:" >&5
3380 cat conftest.$ac_ext >&5
3385 cat > conftest.$ac_ext <<EOF
3386 #line 3387 "configure"
3387 #include "confdefs.h"
3390 isunordered(0.0,0.0);
3393 if { (eval echo configure:3394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3396 echo "configure: failed program was:" >&5
3397 cat conftest.$ac_ext >&5
3402 echo "$ac_t""$ac_c99_math" 1>&6
3404 # Check for the existence in <stdio.h> of vscanf, et. al.
3406 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3407 echo "configure:3408: checking for ISO C99 support in <stdio.h>" >&5
3408 cat > conftest.$ac_ext <<EOF
3409 #line 3410 "configure"
3410 #include "confdefs.h"
3413 snprintf("12", 0, "%i");
3416 if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3419 echo "configure: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3425 cat > conftest.$ac_ext <<EOF
3426 #line 3427 "configure"
3427 #include "confdefs.h"
3430 void foo(char* fmt, ...)
3431 {va_list args; va_start(args, fmt);
3432 vfscanf(stderr, "%i", args);}
3437 if { (eval echo configure:3438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440 echo "configure: failed program was:" >&5
3441 cat conftest.$ac_ext >&5
3446 cat > conftest.$ac_ext <<EOF
3447 #line 3448 "configure"
3448 #include "confdefs.h"
3451 void foo(char* fmt, ...)
3452 {va_list args; va_start(args, fmt);
3453 vscanf("%i", args);}
3458 if { (eval echo configure:3459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3461 echo "configure: failed program was:" >&5
3462 cat conftest.$ac_ext >&5
3467 cat > conftest.$ac_ext <<EOF
3468 #line 3469 "configure"
3469 #include "confdefs.h"
3472 void foo(char* fmt, ...)
3473 {va_list args; va_start(args, fmt);
3474 vsnprintf(fmt, 0, "%i", args);}
3479 if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3482 echo "configure: failed program was:" >&5
3483 cat conftest.$ac_ext >&5
3488 cat > conftest.$ac_ext <<EOF
3489 #line 3490 "configure"
3490 #include "confdefs.h"
3493 void foo(char* fmt, ...)
3494 {va_list args; va_start(args, fmt);
3495 vsscanf(fmt, "%i", args);}
3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3503 echo "configure: failed program was:" >&5
3504 cat conftest.$ac_ext >&5
3509 echo "$ac_t""$ac_c99_stdio" 1>&6
3511 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3513 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3514 echo "configure:3515: checking for lldiv_t declaration" >&5
3515 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3516 echo $ac_n "(cached) $ac_c" 1>&6
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3531 echo "configure: failed program was:" >&5
3532 cat conftest.$ac_ext >&5
3540 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3542 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3543 echo "configure:3544: checking for ISO C99 support in <stdlib.h>" >&5
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3549 char* tmp; strtof("gnu", &tmp);
3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3555 echo "configure: failed program was:" >&5
3556 cat conftest.$ac_ext >&5
3561 cat > conftest.$ac_ext <<EOF
3562 #line 3563 "configure"
3563 #include "confdefs.h"
3566 char* tmp; strtold("gnu", &tmp);
3569 if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3578 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure"
3580 #include "confdefs.h"
3586 if { (eval echo configure:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3589 echo "configure: failed program was:" >&5
3590 cat conftest.$ac_ext >&5
3595 cat > conftest.$ac_ext <<EOF
3596 #line 3597 "configure"
3597 #include "confdefs.h"
3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3606 echo "configure: failed program was:" >&5
3607 cat conftest.$ac_ext >&5
3612 cat > conftest.$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3620 if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3623 echo "configure: failed program was:" >&5
3624 cat conftest.$ac_ext >&5
3629 cat > conftest.$ac_ext <<EOF
3630 #line 3631 "configure"
3631 #include "confdefs.h"
3637 if { (eval echo configure:3638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3640 echo "configure: failed program was:" >&5
3641 cat conftest.$ac_ext >&5
3646 if test x"$ac_c99_lldiv_t" = x"no"; then
3649 echo "$ac_t""$ac_c99_stdlib" 1>&6
3651 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3652 # XXX the wchar.h checks should be rolled into the general C99 bits.
3654 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3655 echo "configure:3656: checking for additional ISO C99 support in <wchar.h>" >&5
3656 cat > conftest.$ac_ext <<EOF
3657 #line 3658 "configure"
3658 #include "confdefs.h"
3661 wcstold(L"10.0", NULL);
3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3667 echo "configure: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3673 cat > conftest.$ac_ext <<EOF
3674 #line 3675 "configure"
3675 #include "confdefs.h"
3678 wcstoll(L"10", NULL, 10);
3681 if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3684 echo "configure: failed program was:" >&5
3685 cat conftest.$ac_ext >&5
3690 cat > conftest.$ac_ext <<EOF
3691 #line 3692 "configure"
3692 #include "confdefs.h"
3695 wcstoull(L"10", NULL, 10);
3698 if { (eval echo configure:3699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3701 echo "configure: failed program was:" >&5
3702 cat conftest.$ac_ext >&5
3707 echo "$ac_t""$ac_c99_wchar" 1>&6
3709 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3710 echo "configure:3711: checking for enabled ISO C99 support" >&5
3711 if test x"$ac_c99_math" = x"no" ||
3712 test x"$ac_c99_stdio" = x"no" ||
3713 test x"$ac_c99_stdlib" = x"no" ||
3714 test x"$ac_c99_wchar" = x"no"; then
3717 echo "$ac_t""$enable_c99" 1>&6
3719 # Option parsed, now set things appropriately
3720 if test x"$enable_c99" = x"yes"; then
3721 cat >> confdefs.h <<\EOF
3722 #define _GLIBCPP_USE_C99 1
3728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3732 cross_compiling=$ac_cv_prog_cc_cross
3736 # Check whether --enable-long-long or --disable-long-long was given.
3737 if test "${enable_long_long+set}" = set; then
3738 enableval="$enable_long_long"
3739 case "$enableval" in
3740 yes) enable_long_long=yes ;;
3741 no) enable_long_long=no ;;
3742 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3745 enable_long_long=yes
3750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3751 ac_cpp='$CXXCPP $CPPFLAGS'
3752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3754 cross_compiling=$ac_cv_prog_cxx_cross
3757 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3758 echo "configure:3759: checking for enabled long long I/O support" >&5
3759 # iostreams require strtoll, strtoull to compile
3760 cat > conftest.$ac_ext <<EOF
3761 #line 3762 "configure"
3762 #include "confdefs.h"
3765 char* tmp; strtoll("gnu", &tmp, 10);
3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3771 echo "configure: failed program was:" >&5
3772 cat conftest.$ac_ext >&5
3777 cat > conftest.$ac_ext <<EOF
3778 #line 3779 "configure"
3779 #include "confdefs.h"
3782 char* tmp; strtoull("gnu", &tmp, 10);
3785 if { (eval echo configure:3786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3788 echo "configure: failed program was:" >&5
3789 cat conftest.$ac_ext >&5
3795 # Option parsed, now set things appropriately
3796 if test x"$enable_long_long" = xyes; then
3797 cat >> confdefs.h <<\EOF
3798 #define _GLIBCPP_USE_LONG_LONG 1
3802 echo "$ac_t""$enable_long_long" 1>&6
3805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3809 cross_compiling=$ac_cv_prog_cc_cross
3812 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3813 echo "configure:3814: checking for c header strategy to use" >&5
3814 # Check whether --enable-cheaders or --disable-cheaders was given.
3815 if test "${enable_cheaders+set}" = set; then
3816 enableval="$enable_cheaders"
3818 case "$enableval" in
3823 enable_cheaders=c_std
3826 enable_cheaders=c_shadow
3828 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3832 enable_cheaders=c_std
3835 echo "$ac_t""$enable_cheaders" 1>&6
3837 case "$enable_cheaders" in
3839 CSHADOW_FLAGS="-fno-builtin"
3840 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3841 cat >> confdefs.h <<\EOF
3842 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3848 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3852 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3860 if test "$enable_cheaders" = c_shadow; then
3861 GLIBCPP_USE_CSHADOW_TRUE=
3862 GLIBCPP_USE_CSHADOW_FALSE='#'
3864 GLIBCPP_USE_CSHADOW_TRUE='#'
3865 GLIBCPP_USE_CSHADOW_FALSE=
3869 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3870 echo "configure:3871: checking for thread model used by GCC" >&5
3871 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3872 echo "$ac_t""$target_thread_file" 1>&6
3874 if test $target_thread_file != single; then
3875 cat >> confdefs.h <<\EOF
3876 #define HAVE_GTHR_DEFAULT 1
3879 cat >> confdefs.h <<\EOF
3880 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3885 glibcpp_thread_h=gthr-$target_thread_file.h
3888 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3889 if test "${enable_cxx_flags+set}" = set; then
3890 enableval="$enable_cxx_flags"
3891 case "x$enableval" in
3893 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3895 enable_cxx_flags='' ;;
3897 enable_cxx_flags="$enableval" ;;
3900 enable_cxx_flags='none'
3904 if test "$enable_cxx_flags" = "none"; then
3905 enable_cxx_flags='';
3908 if test -n "$enable_cxx_flags"; then
3909 for f in $enable_cxx_flags; do
3913 *) # and we're trying to pass /what/ exactly?
3914 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3918 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3922 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3923 echo "configure:3924: checking for exception model to use" >&5
3926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3927 ac_cpp='$CXXCPP $CPPFLAGS'
3928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3930 cross_compiling=$ac_cv_prog_cxx_cross
3932 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3933 if test "${enable_sjlj_exceptions+set}" = set; then
3934 enableval="$enable_sjlj_exceptions"
3937 cat > conftest.$ac_ext << EOF
3938 #line 3939 "configure"
3947 old_CXXFLAGS="$CXXFLAGS"
3949 if { (eval echo configure:3950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3950 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3951 enable_sjlj_exceptions=yes
3952 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3953 enable_sjlj_exceptions=no
3956 CXXFLAGS="$old_CXXFLAGS"
3960 if test x$enable_sjlj_exceptions = xyes; then
3961 cat >> confdefs.h <<\EOF
3962 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3965 ac_exception_model_name=sjlj
3966 elif test x$enable_sjlj_exceptions = xno; then
3967 ac_exception_model_name="call frame"
3969 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3973 ac_cpp='$CPP $CPPFLAGS'
3974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3976 cross_compiling=$ac_cv_prog_cc_cross
3978 echo "$ac_t""$ac_exception_model_name" 1>&6
3980 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3981 if test "${enable_concept_checks+set}" = set; then
3982 enableval="$enable_concept_checks"
3983 case "$enableval" in
3984 yes) enable_concept_checks=yes ;;
3985 no) enable_concept_checks=no ;;
3986 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3989 enable_concept_checks=no
3991 if test x"$enable_concept_checks" = xyes; then
3992 cat >> confdefs.h <<\EOF
3993 #define _GLIBCPP_CONCEPT_CHECKS 1
4000 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4002 # This lets us hard-code the functionality we know
4003 # we'll have in the cross target environment. "Let" is a
4004 # sugar-coated word placed on an especially dull and tedious hack, actually.
4005 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4006 # that involve linking can't be used:
4007 # "cannot open sim-crt0.o"
4008 # "cannot open crt0.o"
4009 # etc. All this is because there currently exists no unified,
4010 # consistent way for top level CC information to be passed down
4011 # to target directories: newlib includes, newlib linking info,
4012 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4013 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4015 # We are being configured with some form of cross compiler.
4016 GLIBCPP_IS_CROSS_COMPILING=1
4018 # If Canadian cross, then don't pick up tools from the build
4020 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4026 # Construct crosses by hand, eliminating bits that need ld...
4027 # GLIBCPP_CHECK_COMPILER_FEATURES
4028 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4029 # GLIBCPP_CHECK_MATH_SUPPORT
4031 case "$target_alias" in
4033 # Check for available headers.
4034 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4035 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4036 fp.h locale.h float.h inttypes.h
4038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4040 echo "configure:4041: checking for $ac_hdr" >&5
4041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4042 echo $ac_n "(cached) $ac_c" 1>&6
4044 cat > conftest.$ac_ext <<EOF
4045 #line 4046 "configure"
4046 #include "confdefs.h"
4049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4050 { (eval echo configure:4051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4052 if test -z "$ac_err"; then
4054 eval "ac_cv_header_$ac_safe=yes"
4057 echo "configure: failed program was:" >&5
4058 cat conftest.$ac_ext >&5
4060 eval "ac_cv_header_$ac_safe=no"
4064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4065 echo "$ac_t""yes" 1>&6
4066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4067 cat >> confdefs.h <<EOF
4068 #define $ac_tr_hdr 1
4072 echo "$ac_t""no" 1>&6
4076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4079 # If we're not using GNU ld, then there's no point in even trying these
4080 # tests. Check for that first. We should have already tested for gld
4081 # by now (in libtool), but require it now just to be safe...
4082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4086 # The name set by libtool depends on the version of libtool. Shame on us
4087 # for depending on an impl detail, but c'est la vie. Older versions used
4088 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4089 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4090 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4091 # set (hence we're using an older libtool), then set it.
4092 if test x${with_gnu_ld+set} != xset; then
4093 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4094 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4097 with_gnu_ld=$ac_cv_prog_gnu_ld
4101 # Start by getting the version number. I think the libtool test already
4102 # does some of this, but throws away the result.
4104 ldver=`$LD --version 2>/dev/null | head -1 | \
4105 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4107 glibcpp_gnu_ld_version=`echo $ldver | \
4108 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4110 # Set --gc-sections.
4111 if test "$with_gnu_ld" = "notbroken"; then
4112 # GNU ld it is! Joy and bunny rabbits!
4114 # All these tests are for C++; save the language and the compiler flags.
4115 # Need to do this so that g++ won't try to link in libstdc++
4116 ac_test_CFLAGS="${CFLAGS+set}"
4117 ac_save_CFLAGS="$CFLAGS"
4118 CFLAGS='-x c++ -Wl,--gc-sections'
4120 # Check for -Wl,--gc-sections
4121 # XXX This test is broken at the moment, as symbols required for
4122 # linking are now in libsupc++ (not built yet.....). In addition,
4123 # this test has cored on solaris in the past. In addition,
4124 # --gc-sections doesn't really work at the moment (keeps on discarding
4125 # used sections, first .eh_frame and now some of the glibc sections for
4126 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4127 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4128 echo "configure:4129: checking for ld that supports -Wl,--gc-sections" >&5
4129 if test "$cross_compiling" = yes; then
4130 ac_sectionLDflags=yes
4132 cat > conftest.$ac_ext <<EOF
4133 #line 4134 "configure"
4134 #include "confdefs.h"
4144 if { (eval echo configure:4145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4146 ac_sectionLDflags=yes
4148 echo "configure: failed program was:" >&5
4149 cat conftest.$ac_ext >&5
4151 ac_sectionLDflags=no
4156 if test "$ac_test_CFLAGS" = set; then
4157 CFLAGS="$ac_save_CFLAGS"
4159 # this is the suspicious part
4162 if test "$ac_sectionLDflags" = "yes"; then
4163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4165 echo "$ac_t""$ac_sectionLDflags" 1>&6
4168 # Set linker optimization flags.
4169 if test x"$with_gnu_ld" = x"yes" &&
4170 test x"$enable_debug" = x"no"; then
4171 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4178 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4179 echo "configure:4180: checking for main in -lm" >&5
4180 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4182 echo $ac_n "(cached) $ac_c" 1>&6
4184 ac_save_LIBS="$LIBS"
4186 cat > conftest.$ac_ext <<EOF
4187 #line 4188 "configure"
4188 #include "confdefs.h"
4194 if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4196 eval "ac_cv_lib_$ac_lib_var=yes"
4198 echo "configure: failed program was:" >&5
4199 cat conftest.$ac_ext >&5
4201 eval "ac_cv_lib_$ac_lib_var=no"
4204 LIBS="$ac_save_LIBS"
4207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4208 echo "$ac_t""yes" 1>&6
4209 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4210 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4211 cat >> confdefs.h <<EOF
4212 #define $ac_tr_lib 1
4218 echo "$ac_t""no" 1>&6
4221 for ac_func in nan copysignf
4223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4224 echo "configure:4225: checking for $ac_func" >&5
4225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4226 echo $ac_n "(cached) $ac_c" 1>&6
4228 cat > conftest.$ac_ext <<EOF
4229 #line 4230 "configure"
4230 #include "confdefs.h"
4231 /* System header to define __stub macros and hopefully few prototypes,
4232 which can conflict with char $ac_func(); below. */
4234 /* Override any gcc2 internal prototype to avoid an error. */
4235 /* We use char because int might match the return type of a gcc2
4236 builtin and then its argument prototype would still apply. */
4241 /* The GNU C library defines this for functions which it implements
4242 to always fail with ENOSYS. Some functions are actually named
4243 something starting with __ and the normal name is an alias. */
4244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4252 if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4254 eval "ac_cv_func_$ac_func=yes"
4256 echo "configure: failed program was:" >&5
4257 cat conftest.$ac_ext >&5
4259 eval "ac_cv_func_$ac_func=no"
4264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4265 echo "$ac_t""yes" 1>&6
4266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4267 cat >> confdefs.h <<EOF
4268 #define $ac_tr_func 1
4272 echo "$ac_t""no" 1>&6
4273 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4279 USE_COMPLEX_LONG_DOUBLE=no
4280 if test x$ac_cv_func_copysignl = x"yes"; then
4281 USE_COMPLEX_LONG_DOUBLE=yes
4282 for ac_func in signbitl
4284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4285 echo "configure:4286: checking for $ac_func" >&5
4286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4289 cat > conftest.$ac_ext <<EOF
4290 #line 4291 "configure"
4291 #include "confdefs.h"
4292 /* System header to define __stub macros and hopefully few prototypes,
4293 which can conflict with char $ac_func(); below. */
4295 /* Override any gcc2 internal prototype to avoid an error. */
4296 /* We use char because int might match the return type of a gcc2
4297 builtin and then its argument prototype would still apply. */
4302 /* The GNU C library defines this for functions which it implements
4303 to always fail with ENOSYS. Some functions are actually named
4304 something starting with __ and the normal name is an alias. */
4305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4313 if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4315 eval "ac_cv_func_$ac_func=yes"
4317 echo "configure: failed program was:" >&5
4318 cat conftest.$ac_ext >&5
4320 eval "ac_cv_func_$ac_func=no"
4325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4326 echo "$ac_t""yes" 1>&6
4327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4328 cat >> confdefs.h <<EOF
4329 #define $ac_tr_func 1
4333 echo "$ac_t""no" 1>&6
4334 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4345 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4346 echo "configure:4347: checking for mbstate_t" >&5
4347 cat > conftest.$ac_ext <<EOF
4348 #line 4349 "configure"
4349 #include "confdefs.h"
4352 mbstate_t teststate;
4355 if { (eval echo configure:4356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4359 echo "configure: failed program was:" >&5
4360 cat conftest.$ac_ext >&5
4365 echo "$ac_t""$have_mbstate_t" 1>&6
4366 if test x"$have_mbstate_t" = xyes; then
4367 cat >> confdefs.h <<\EOF
4368 #define HAVE_MBSTATE_T 1
4373 for ac_hdr in wchar.h
4375 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4376 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4377 echo "configure:4378: checking for $ac_hdr" >&5
4378 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4379 echo $ac_n "(cached) $ac_c" 1>&6
4381 cat > conftest.$ac_ext <<EOF
4382 #line 4383 "configure"
4383 #include "confdefs.h"
4386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4387 { (eval echo configure:4388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4389 if test -z "$ac_err"; then
4391 eval "ac_cv_header_$ac_safe=yes"
4394 echo "configure: failed program was:" >&5
4395 cat conftest.$ac_ext >&5
4397 eval "ac_cv_header_$ac_safe=no"
4401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4402 echo "$ac_t""yes" 1>&6
4403 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4404 cat >> confdefs.h <<EOF
4405 #define $ac_tr_hdr 1
4409 echo "$ac_t""no" 1>&6
4414 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4415 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4416 echo "configure:4417: checking for wctype.h" >&5
4417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4418 echo $ac_n "(cached) $ac_c" 1>&6
4420 cat > conftest.$ac_ext <<EOF
4421 #line 4422 "configure"
4422 #include "confdefs.h"
4425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4426 { (eval echo configure:4427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4428 if test -z "$ac_err"; then
4430 eval "ac_cv_header_$ac_safe=yes"
4433 echo "configure: failed program was:" >&5
4434 cat conftest.$ac_ext >&5
4436 eval "ac_cv_header_$ac_safe=no"
4440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4441 echo "$ac_t""yes" 1>&6
4444 echo "$ac_t""no" 1>&6
4449 if test x"$ac_has_wchar_h" = xyes &&
4450 test x"$ac_has_wctype_h" = xyes &&
4451 test x"$enable_c_mbchar" != xno; then
4453 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4454 echo "configure:4455: checking for WCHAR_MIN and WCHAR_MAX" >&5
4455 cat > conftest.$ac_ext <<EOF
4456 #line 4457 "configure"
4457 #include "confdefs.h"
4460 int i = WCHAR_MIN; int j = WCHAR_MAX;
4463 if { (eval echo configure:4464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4465 has_wchar_minmax=yes
4467 echo "configure: failed program was:" >&5
4468 cat conftest.$ac_ext >&5
4473 echo "$ac_t""$has_wchar_minmax" 1>&6
4475 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4476 echo "configure:4477: checking for WEOF" >&5
4477 cat > conftest.$ac_ext <<EOF
4478 #line 4479 "configure"
4479 #include "confdefs.h"
4487 if { (eval echo configure:4488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4491 echo "configure: failed program was:" >&5
4492 cat conftest.$ac_ext >&5
4497 echo "$ac_t""$has_weof" 1>&6
4500 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4503 echo "configure:4504: checking for $ac_func" >&5
4504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4505 echo $ac_n "(cached) $ac_c" 1>&6
4507 cat > conftest.$ac_ext <<EOF
4508 #line 4509 "configure"
4509 #include "confdefs.h"
4510 /* System header to define __stub macros and hopefully few prototypes,
4511 which can conflict with char $ac_func(); below. */
4513 /* Override any gcc2 internal prototype to avoid an error. */
4514 /* We use char because int might match the return type of a gcc2
4515 builtin and then its argument prototype would still apply. */
4520 /* The GNU C library defines this for functions which it implements
4521 to always fail with ENOSYS. Some functions are actually named
4522 something starting with __ and the normal name is an alias. */
4523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4531 if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4533 eval "ac_cv_func_$ac_func=yes"
4535 echo "configure: failed program was:" >&5
4536 cat conftest.$ac_ext >&5
4538 eval "ac_cv_func_$ac_func=no"
4543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4544 echo "$ac_t""yes" 1>&6
4545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4546 cat >> confdefs.h <<EOF
4547 #define $ac_tr_func 1
4551 echo "$ac_t""no" 1>&6
4558 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4559 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4560 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4561 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4562 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4563 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4566 echo "configure:4567: checking for $ac_func" >&5
4567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 cat > conftest.$ac_ext <<EOF
4571 #line 4572 "configure"
4572 #include "confdefs.h"
4573 /* System header to define __stub macros and hopefully few prototypes,
4574 which can conflict with char $ac_func(); below. */
4576 /* Override any gcc2 internal prototype to avoid an error. */
4577 /* We use char because int might match the return type of a gcc2
4578 builtin and then its argument prototype would still apply. */
4583 /* The GNU C library defines this for functions which it implements
4584 to always fail with ENOSYS. Some functions are actually named
4585 something starting with __ and the normal name is an alias. */
4586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4596 eval "ac_cv_func_$ac_func=yes"
4598 echo "configure: failed program was:" >&5
4599 cat conftest.$ac_ext >&5
4601 eval "ac_cv_func_$ac_func=no"
4606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4607 echo "$ac_t""yes" 1>&6
4608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4609 cat >> confdefs.h <<EOF
4610 #define $ac_tr_func 1
4614 echo "$ac_t""no" 1>&6
4621 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4622 echo "configure:4623: checking for ISO C99 wchar_t support" >&5
4623 if test x"$has_weof" = xyes &&
4624 test x"$has_wchar_minmax" = xyes &&
4625 test x"$ac_wfuncs" = xyes; then
4626 ac_isoC99_wchar_t=yes
4628 ac_isoC99_wchar_t=no
4630 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4632 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4633 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4634 echo "configure:4635: checking for iconv.h" >&5
4635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4636 echo $ac_n "(cached) $ac_c" 1>&6
4638 cat > conftest.$ac_ext <<EOF
4639 #line 4640 "configure"
4640 #include "confdefs.h"
4643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4644 { (eval echo configure:4645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4646 if test -z "$ac_err"; then
4648 eval "ac_cv_header_$ac_safe=yes"
4651 echo "configure: failed program was:" >&5
4652 cat conftest.$ac_ext >&5
4654 eval "ac_cv_header_$ac_safe=no"
4658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4659 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4666 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4667 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4668 echo "configure:4669: checking for langinfo.h" >&5
4669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4670 echo $ac_n "(cached) $ac_c" 1>&6
4672 cat > conftest.$ac_ext <<EOF
4673 #line 4674 "configure"
4674 #include "confdefs.h"
4675 #include <langinfo.h>
4677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4678 { (eval echo configure:4679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4680 if test -z "$ac_err"; then
4682 eval "ac_cv_header_$ac_safe=yes"
4685 echo "configure: failed program was:" >&5
4686 cat conftest.$ac_ext >&5
4688 eval "ac_cv_header_$ac_safe=no"
4692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4693 echo "$ac_t""yes" 1>&6
4694 ac_has_langinfo_h=yes
4696 echo "$ac_t""no" 1>&6
4697 ac_has_langinfo_h=no
4701 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4702 echo "configure:4703: checking for iconv in -liconv" >&5
4703 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6
4707 ac_save_LIBS="$LIBS"
4708 LIBS="-liconv $LIBS"
4709 cat > conftest.$ac_ext <<EOF
4710 #line 4711 "configure"
4711 #include "confdefs.h"
4712 /* Override any gcc2 internal prototype to avoid an error. */
4713 /* We use char because int might match the return type of a gcc2
4714 builtin and then its argument prototype would still apply. */
4721 if { (eval echo configure:4722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4723 eval "ac_cv_lib_$ac_lib_var=yes"
4725 echo "configure: failed program was:" >&5
4726 cat conftest.$ac_ext >&5
4728 eval "ac_cv_lib_$ac_lib_var=no"
4731 LIBS="$ac_save_LIBS"
4734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4735 echo "$ac_t""yes" 1>&6
4738 echo "$ac_t""no" 1>&6
4741 ac_save_LIBS="$LIBS"
4742 LIBS="$LIBS $libiconv"
4744 for ac_func in iconv_open iconv_close iconv nl_langinfo
4746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4747 echo "configure:4748: checking for $ac_func" >&5
4748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4749 echo $ac_n "(cached) $ac_c" 1>&6
4751 cat > conftest.$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4754 /* System header to define __stub macros and hopefully few prototypes,
4755 which can conflict with char $ac_func(); below. */
4757 /* Override any gcc2 internal prototype to avoid an error. */
4758 /* We use char because int might match the return type of a gcc2
4759 builtin and then its argument prototype would still apply. */
4764 /* The GNU C library defines this for functions which it implements
4765 to always fail with ENOSYS. Some functions are actually named
4766 something starting with __ and the normal name is an alias. */
4767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4777 eval "ac_cv_func_$ac_func=yes"
4779 echo "configure: failed program was:" >&5
4780 cat conftest.$ac_ext >&5
4782 eval "ac_cv_func_$ac_func=no"
4787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4788 echo "$ac_t""yes" 1>&6
4789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4790 cat >> confdefs.h <<EOF
4791 #define $ac_tr_func 1
4796 echo "$ac_t""no" 1>&6
4802 LIBS="$ac_save_LIBS"
4804 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4805 echo "configure:4806: checking for XPG2 wchar_t support" >&5
4806 if test x"$ac_has_iconv_h" = xyes &&
4807 test x"$ac_has_langinfo_h" = xyes &&
4808 test x"$ac_XPG2funcs" = xyes; then
4813 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4815 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4816 echo "configure:4817: checking for enabled wchar_t specializations" >&5
4817 if test x"$ac_isoC99_wchar_t" = xyes &&
4818 test x"$ac_XPG2_wchar_t" = xyes; then
4819 cat >> confdefs.h <<\EOF
4820 #define _GLIBCPP_USE_WCHAR_T 1
4823 echo "$ac_t"""yes"" 1>&6
4825 echo "$ac_t"""no"" 1>&6
4828 echo "configure: warning: wchar_t support disabled." 1>&2
4831 os_include_dir="config/os/gnu-linux"
4832 cat >> confdefs.h <<\EOF
4833 #define HAVE_COPYSIGN 1
4836 cat >> confdefs.h <<\EOF
4837 #define HAVE_COPYSIGNF 1
4840 cat >> confdefs.h <<\EOF
4841 #define HAVE_FINITEF 1
4844 cat >> confdefs.h <<\EOF
4845 #define HAVE_FREXPF 1
4848 cat >> confdefs.h <<\EOF
4849 #define HAVE_HYPOTF 1
4852 cat >> confdefs.h <<\EOF
4853 #define HAVE_SINCOS 1
4856 cat >> confdefs.h <<\EOF
4857 #define HAVE_SINCOSF 1
4860 if test x"long_double_math_on_this_cpu" = x"yes"; then
4861 cat >> confdefs.h <<\EOF
4862 #define HAVE_HYPOTL 1
4868 # Check for available headers.
4869 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4870 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4871 fp.h locale.h float.h inttypes.h
4873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4875 echo "configure:4876: checking for $ac_hdr" >&5
4876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4877 echo $ac_n "(cached) $ac_c" 1>&6
4879 cat > conftest.$ac_ext <<EOF
4880 #line 4881 "configure"
4881 #include "confdefs.h"
4884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4885 { (eval echo configure:4886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4887 if test -z "$ac_err"; then
4889 eval "ac_cv_header_$ac_safe=yes"
4892 echo "configure: failed program was:" >&5
4893 cat conftest.$ac_ext >&5
4895 eval "ac_cv_header_$ac_safe=no"
4899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4900 echo "$ac_t""yes" 1>&6
4901 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4902 cat >> confdefs.h <<EOF
4903 #define $ac_tr_hdr 1
4907 echo "$ac_t""no" 1>&6
4911 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4914 # If we're not using GNU ld, then there's no point in even trying these
4915 # tests. Check for that first. We should have already tested for gld
4916 # by now (in libtool), but require it now just to be safe...
4917 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4918 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4921 # The name set by libtool depends on the version of libtool. Shame on us
4922 # for depending on an impl detail, but c'est la vie. Older versions used
4923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4926 # set (hence we're using an older libtool), then set it.
4927 if test x${with_gnu_ld+set} != xset; then
4928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4932 with_gnu_ld=$ac_cv_prog_gnu_ld
4936 # Start by getting the version number. I think the libtool test already
4937 # does some of this, but throws away the result.
4939 ldver=`$LD --version 2>/dev/null | head -1 | \
4940 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4942 glibcpp_gnu_ld_version=`echo $ldver | \
4943 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4945 # Set --gc-sections.
4946 if test "$with_gnu_ld" = "notbroken"; then
4947 # GNU ld it is! Joy and bunny rabbits!
4949 # All these tests are for C++; save the language and the compiler flags.
4950 # Need to do this so that g++ won't try to link in libstdc++
4951 ac_test_CFLAGS="${CFLAGS+set}"
4952 ac_save_CFLAGS="$CFLAGS"
4953 CFLAGS='-x c++ -Wl,--gc-sections'
4955 # Check for -Wl,--gc-sections
4956 # XXX This test is broken at the moment, as symbols required for
4957 # linking are now in libsupc++ (not built yet.....). In addition,
4958 # this test has cored on solaris in the past. In addition,
4959 # --gc-sections doesn't really work at the moment (keeps on discarding
4960 # used sections, first .eh_frame and now some of the glibc sections for
4961 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4962 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4963 echo "configure:4964: checking for ld that supports -Wl,--gc-sections" >&5
4964 if test "$cross_compiling" = yes; then
4965 ac_sectionLDflags=yes
4967 cat > conftest.$ac_ext <<EOF
4968 #line 4969 "configure"
4969 #include "confdefs.h"
4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4981 ac_sectionLDflags=yes
4983 echo "configure: failed program was:" >&5
4984 cat conftest.$ac_ext >&5
4986 ac_sectionLDflags=no
4991 if test "$ac_test_CFLAGS" = set; then
4992 CFLAGS="$ac_save_CFLAGS"
4994 # this is the suspicious part
4997 if test "$ac_sectionLDflags" = "yes"; then
4998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5000 echo "$ac_t""$ac_sectionLDflags" 1>&6
5003 # Set linker optimization flags.
5004 if test x"$with_gnu_ld" = x"yes" &&
5005 test x"$enable_debug" = x"no"; then
5006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5013 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5014 echo "configure:5015: checking for main in -lm" >&5
5015 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5017 echo $ac_n "(cached) $ac_c" 1>&6
5019 ac_save_LIBS="$LIBS"
5021 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5031 eval "ac_cv_lib_$ac_lib_var=yes"
5033 echo "configure: failed program was:" >&5
5034 cat conftest.$ac_ext >&5
5036 eval "ac_cv_lib_$ac_lib_var=no"
5039 LIBS="$ac_save_LIBS"
5042 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5043 echo "$ac_t""yes" 1>&6
5044 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5045 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5046 cat >> confdefs.h <<EOF
5047 #define $ac_tr_lib 1
5053 echo "$ac_t""no" 1>&6
5056 for ac_func in nan copysignf
5058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5059 echo "configure:5060: checking for $ac_func" >&5
5060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5061 echo $ac_n "(cached) $ac_c" 1>&6
5063 cat > conftest.$ac_ext <<EOF
5064 #line 5065 "configure"
5065 #include "confdefs.h"
5066 /* System header to define __stub macros and hopefully few prototypes,
5067 which can conflict with char $ac_func(); below. */
5069 /* Override any gcc2 internal prototype to avoid an error. */
5070 /* We use char because int might match the return type of a gcc2
5071 builtin and then its argument prototype would still apply. */
5076 /* The GNU C library defines this for functions which it implements
5077 to always fail with ENOSYS. Some functions are actually named
5078 something starting with __ and the normal name is an alias. */
5079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5089 eval "ac_cv_func_$ac_func=yes"
5091 echo "configure: failed program was:" >&5
5092 cat conftest.$ac_ext >&5
5094 eval "ac_cv_func_$ac_func=no"
5099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5100 echo "$ac_t""yes" 1>&6
5101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5102 cat >> confdefs.h <<EOF
5103 #define $ac_tr_func 1
5107 echo "$ac_t""no" 1>&6
5108 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5114 USE_COMPLEX_LONG_DOUBLE=no
5115 if test x$ac_cv_func_copysignl = x"yes"; then
5116 USE_COMPLEX_LONG_DOUBLE=yes
5117 for ac_func in signbitl
5119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5120 echo "configure:5121: checking for $ac_func" >&5
5121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5122 echo $ac_n "(cached) $ac_c" 1>&6
5124 cat > conftest.$ac_ext <<EOF
5125 #line 5126 "configure"
5126 #include "confdefs.h"
5127 /* System header to define __stub macros and hopefully few prototypes,
5128 which can conflict with char $ac_func(); below. */
5130 /* Override any gcc2 internal prototype to avoid an error. */
5131 /* We use char because int might match the return type of a gcc2
5132 builtin and then its argument prototype would still apply. */
5137 /* The GNU C library defines this for functions which it implements
5138 to always fail with ENOSYS. Some functions are actually named
5139 something starting with __ and the normal name is an alias. */
5140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5148 if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5150 eval "ac_cv_func_$ac_func=yes"
5152 echo "configure: failed program was:" >&5
5153 cat conftest.$ac_ext >&5
5155 eval "ac_cv_func_$ac_func=no"
5160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5161 echo "$ac_t""yes" 1>&6
5162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5163 cat >> confdefs.h <<EOF
5164 #define $ac_tr_func 1
5168 echo "$ac_t""no" 1>&6
5169 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5180 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5181 echo "configure:5182: checking for mbstate_t" >&5
5182 cat > conftest.$ac_ext <<EOF
5183 #line 5184 "configure"
5184 #include "confdefs.h"
5187 mbstate_t teststate;
5190 if { (eval echo configure:5191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5194 echo "configure: failed program was:" >&5
5195 cat conftest.$ac_ext >&5
5200 echo "$ac_t""$have_mbstate_t" 1>&6
5201 if test x"$have_mbstate_t" = xyes; then
5202 cat >> confdefs.h <<\EOF
5203 #define HAVE_MBSTATE_T 1
5208 for ac_hdr in wchar.h
5210 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5212 echo "configure:5213: checking for $ac_hdr" >&5
5213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5214 echo $ac_n "(cached) $ac_c" 1>&6
5216 cat > conftest.$ac_ext <<EOF
5217 #line 5218 "configure"
5218 #include "confdefs.h"
5221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5222 { (eval echo configure:5223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5224 if test -z "$ac_err"; then
5226 eval "ac_cv_header_$ac_safe=yes"
5229 echo "configure: failed program was:" >&5
5230 cat conftest.$ac_ext >&5
5232 eval "ac_cv_header_$ac_safe=no"
5236 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5237 echo "$ac_t""yes" 1>&6
5238 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5239 cat >> confdefs.h <<EOF
5240 #define $ac_tr_hdr 1
5244 echo "$ac_t""no" 1>&6
5249 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5250 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5251 echo "configure:5252: checking for wctype.h" >&5
5252 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5253 echo $ac_n "(cached) $ac_c" 1>&6
5255 cat > conftest.$ac_ext <<EOF
5256 #line 5257 "configure"
5257 #include "confdefs.h"
5260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5261 { (eval echo configure:5262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5263 if test -z "$ac_err"; then
5265 eval "ac_cv_header_$ac_safe=yes"
5268 echo "configure: failed program was:" >&5
5269 cat conftest.$ac_ext >&5
5271 eval "ac_cv_header_$ac_safe=no"
5275 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5276 echo "$ac_t""yes" 1>&6
5279 echo "$ac_t""no" 1>&6
5284 if test x"$ac_has_wchar_h" = xyes &&
5285 test x"$ac_has_wctype_h" = xyes &&
5286 test x"$enable_c_mbchar" != xno; then
5288 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5289 echo "configure:5290: checking for WCHAR_MIN and WCHAR_MAX" >&5
5290 cat > conftest.$ac_ext <<EOF
5291 #line 5292 "configure"
5292 #include "confdefs.h"
5295 int i = WCHAR_MIN; int j = WCHAR_MAX;
5298 if { (eval echo configure:5299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5300 has_wchar_minmax=yes
5302 echo "configure: failed program was:" >&5
5303 cat conftest.$ac_ext >&5
5308 echo "$ac_t""$has_wchar_minmax" 1>&6
5310 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5311 echo "configure:5312: checking for WEOF" >&5
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure"
5314 #include "confdefs.h"
5322 if { (eval echo configure:5323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5326 echo "configure: failed program was:" >&5
5327 cat conftest.$ac_ext >&5
5332 echo "$ac_t""$has_weof" 1>&6
5335 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5338 echo "configure:5339: checking for $ac_func" >&5
5339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5340 echo $ac_n "(cached) $ac_c" 1>&6
5342 cat > conftest.$ac_ext <<EOF
5343 #line 5344 "configure"
5344 #include "confdefs.h"
5345 /* System header to define __stub macros and hopefully few prototypes,
5346 which can conflict with char $ac_func(); below. */
5348 /* Override any gcc2 internal prototype to avoid an error. */
5349 /* We use char because int might match the return type of a gcc2
5350 builtin and then its argument prototype would still apply. */
5355 /* The GNU C library defines this for functions which it implements
5356 to always fail with ENOSYS. Some functions are actually named
5357 something starting with __ and the normal name is an alias. */
5358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5366 if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5368 eval "ac_cv_func_$ac_func=yes"
5370 echo "configure: failed program was:" >&5
5371 cat conftest.$ac_ext >&5
5373 eval "ac_cv_func_$ac_func=no"
5378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5379 echo "$ac_t""yes" 1>&6
5380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5381 cat >> confdefs.h <<EOF
5382 #define $ac_tr_func 1
5386 echo "$ac_t""no" 1>&6
5393 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5394 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5395 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5396 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5397 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5398 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5401 echo "configure:5402: checking for $ac_func" >&5
5402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5403 echo $ac_n "(cached) $ac_c" 1>&6
5405 cat > conftest.$ac_ext <<EOF
5406 #line 5407 "configure"
5407 #include "confdefs.h"
5408 /* System header to define __stub macros and hopefully few prototypes,
5409 which can conflict with char $ac_func(); below. */
5411 /* Override any gcc2 internal prototype to avoid an error. */
5412 /* We use char because int might match the return type of a gcc2
5413 builtin and then its argument prototype would still apply. */
5418 /* The GNU C library defines this for functions which it implements
5419 to always fail with ENOSYS. Some functions are actually named
5420 something starting with __ and the normal name is an alias. */
5421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5431 eval "ac_cv_func_$ac_func=yes"
5433 echo "configure: failed program was:" >&5
5434 cat conftest.$ac_ext >&5
5436 eval "ac_cv_func_$ac_func=no"
5441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5442 echo "$ac_t""yes" 1>&6
5443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5444 cat >> confdefs.h <<EOF
5445 #define $ac_tr_func 1
5449 echo "$ac_t""no" 1>&6
5456 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5457 echo "configure:5458: checking for ISO C99 wchar_t support" >&5
5458 if test x"$has_weof" = xyes &&
5459 test x"$has_wchar_minmax" = xyes &&
5460 test x"$ac_wfuncs" = xyes; then
5461 ac_isoC99_wchar_t=yes
5463 ac_isoC99_wchar_t=no
5465 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5467 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5468 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5469 echo "configure:5470: checking for iconv.h" >&5
5470 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5471 echo $ac_n "(cached) $ac_c" 1>&6
5473 cat > conftest.$ac_ext <<EOF
5474 #line 5475 "configure"
5475 #include "confdefs.h"
5478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5479 { (eval echo configure:5480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5481 if test -z "$ac_err"; then
5483 eval "ac_cv_header_$ac_safe=yes"
5486 echo "configure: failed program was:" >&5
5487 cat conftest.$ac_ext >&5
5489 eval "ac_cv_header_$ac_safe=no"
5493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5494 echo "$ac_t""yes" 1>&6
5497 echo "$ac_t""no" 1>&6
5501 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5502 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5503 echo "configure:5504: checking for langinfo.h" >&5
5504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5505 echo $ac_n "(cached) $ac_c" 1>&6
5507 cat > conftest.$ac_ext <<EOF
5508 #line 5509 "configure"
5509 #include "confdefs.h"
5510 #include <langinfo.h>
5512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5513 { (eval echo configure:5514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5515 if test -z "$ac_err"; then
5517 eval "ac_cv_header_$ac_safe=yes"
5520 echo "configure: failed program was:" >&5
5521 cat conftest.$ac_ext >&5
5523 eval "ac_cv_header_$ac_safe=no"
5527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5528 echo "$ac_t""yes" 1>&6
5529 ac_has_langinfo_h=yes
5531 echo "$ac_t""no" 1>&6
5532 ac_has_langinfo_h=no
5536 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5537 echo "configure:5538: checking for iconv in -liconv" >&5
5538 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5539 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5540 echo $ac_n "(cached) $ac_c" 1>&6
5542 ac_save_LIBS="$LIBS"
5543 LIBS="-liconv $LIBS"
5544 cat > conftest.$ac_ext <<EOF
5545 #line 5546 "configure"
5546 #include "confdefs.h"
5547 /* Override any gcc2 internal prototype to avoid an error. */
5548 /* We use char because int might match the return type of a gcc2
5549 builtin and then its argument prototype would still apply. */
5556 if { (eval echo configure:5557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5558 eval "ac_cv_lib_$ac_lib_var=yes"
5560 echo "configure: failed program was:" >&5
5561 cat conftest.$ac_ext >&5
5563 eval "ac_cv_lib_$ac_lib_var=no"
5566 LIBS="$ac_save_LIBS"
5569 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5570 echo "$ac_t""yes" 1>&6
5573 echo "$ac_t""no" 1>&6
5576 ac_save_LIBS="$LIBS"
5577 LIBS="$LIBS $libiconv"
5579 for ac_func in iconv_open iconv_close iconv nl_langinfo
5581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5582 echo "configure:5583: checking for $ac_func" >&5
5583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5584 echo $ac_n "(cached) $ac_c" 1>&6
5586 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure"
5588 #include "confdefs.h"
5589 /* System header to define __stub macros and hopefully few prototypes,
5590 which can conflict with char $ac_func(); below. */
5592 /* Override any gcc2 internal prototype to avoid an error. */
5593 /* We use char because int might match the return type of a gcc2
5594 builtin and then its argument prototype would still apply. */
5599 /* The GNU C library defines this for functions which it implements
5600 to always fail with ENOSYS. Some functions are actually named
5601 something starting with __ and the normal name is an alias. */
5602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5610 if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5612 eval "ac_cv_func_$ac_func=yes"
5614 echo "configure: failed program was:" >&5
5615 cat conftest.$ac_ext >&5
5617 eval "ac_cv_func_$ac_func=no"
5622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5623 echo "$ac_t""yes" 1>&6
5624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5625 cat >> confdefs.h <<EOF
5626 #define $ac_tr_func 1
5631 echo "$ac_t""no" 1>&6
5637 LIBS="$ac_save_LIBS"
5639 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5640 echo "configure:5641: checking for XPG2 wchar_t support" >&5
5641 if test x"$ac_has_iconv_h" = xyes &&
5642 test x"$ac_has_langinfo_h" = xyes &&
5643 test x"$ac_XPG2funcs" = xyes; then
5648 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5650 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5651 echo "configure:5652: checking for enabled wchar_t specializations" >&5
5652 if test x"$ac_isoC99_wchar_t" = xyes &&
5653 test x"$ac_XPG2_wchar_t" = xyes; then
5654 cat >> confdefs.h <<\EOF
5655 #define _GLIBCPP_USE_WCHAR_T 1
5658 echo "$ac_t"""yes"" 1>&6
5660 echo "$ac_t"""no"" 1>&6
5663 echo "configure: warning: wchar_t support disabled." 1>&2
5666 os_include_dir="config/os/hpux"
5667 cat >> confdefs.h <<\EOF
5668 #define HAVE_COPYSIGN 1
5671 cat >> confdefs.h <<\EOF
5672 #define HAVE_COPYSIGNF 1
5675 cat >> confdefs.h <<\EOF
5676 #define HAVE_FINITEF 1
5679 cat >> confdefs.h <<\EOF
5680 #define HAVE_FREXPF 1
5683 cat >> confdefs.h <<\EOF
5684 #define HAVE_HYPOT 1
5687 cat >> confdefs.h <<\EOF
5688 #define HAVE_SINCOS 1
5691 cat >> confdefs.h <<\EOF
5692 #define HAVE_SINCOSF 1
5697 # Check for available headers.
5698 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5699 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5700 fp.h locale.h float.h inttypes.h
5702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5704 echo "configure:5705: checking for $ac_hdr" >&5
5705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5706 echo $ac_n "(cached) $ac_c" 1>&6
5708 cat > conftest.$ac_ext <<EOF
5709 #line 5710 "configure"
5710 #include "confdefs.h"
5713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5714 { (eval echo configure:5715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5716 if test -z "$ac_err"; then
5718 eval "ac_cv_header_$ac_safe=yes"
5721 echo "configure: failed program was:" >&5
5722 cat conftest.$ac_ext >&5
5724 eval "ac_cv_header_$ac_safe=no"
5728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5729 echo "$ac_t""yes" 1>&6
5730 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5731 cat >> confdefs.h <<EOF
5732 #define $ac_tr_hdr 1
5736 echo "$ac_t""no" 1>&6
5740 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5743 # If we're not using GNU ld, then there's no point in even trying these
5744 # tests. Check for that first. We should have already tested for gld
5745 # by now (in libtool), but require it now just to be safe...
5746 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5747 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5750 # The name set by libtool depends on the version of libtool. Shame on us
5751 # for depending on an impl detail, but c'est la vie. Older versions used
5752 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5753 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5754 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5755 # set (hence we're using an older libtool), then set it.
5756 if test x${with_gnu_ld+set} != xset; then
5757 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5758 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5761 with_gnu_ld=$ac_cv_prog_gnu_ld
5765 # Start by getting the version number. I think the libtool test already
5766 # does some of this, but throws away the result.
5768 ldver=`$LD --version 2>/dev/null | head -1 | \
5769 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5771 glibcpp_gnu_ld_version=`echo $ldver | \
5772 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5774 # Set --gc-sections.
5775 if test "$with_gnu_ld" = "notbroken"; then
5776 # GNU ld it is! Joy and bunny rabbits!
5778 # All these tests are for C++; save the language and the compiler flags.
5779 # Need to do this so that g++ won't try to link in libstdc++
5780 ac_test_CFLAGS="${CFLAGS+set}"
5781 ac_save_CFLAGS="$CFLAGS"
5782 CFLAGS='-x c++ -Wl,--gc-sections'
5784 # Check for -Wl,--gc-sections
5785 # XXX This test is broken at the moment, as symbols required for
5786 # linking are now in libsupc++ (not built yet.....). In addition,
5787 # this test has cored on solaris in the past. In addition,
5788 # --gc-sections doesn't really work at the moment (keeps on discarding
5789 # used sections, first .eh_frame and now some of the glibc sections for
5790 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5791 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5792 echo "configure:5793: checking for ld that supports -Wl,--gc-sections" >&5
5793 if test "$cross_compiling" = yes; then
5794 ac_sectionLDflags=yes
5796 cat > conftest.$ac_ext <<EOF
5797 #line 5798 "configure"
5798 #include "confdefs.h"
5808 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5810 ac_sectionLDflags=yes
5812 echo "configure: failed program was:" >&5
5813 cat conftest.$ac_ext >&5
5815 ac_sectionLDflags=no
5820 if test "$ac_test_CFLAGS" = set; then
5821 CFLAGS="$ac_save_CFLAGS"
5823 # this is the suspicious part
5826 if test "$ac_sectionLDflags" = "yes"; then
5827 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5829 echo "$ac_t""$ac_sectionLDflags" 1>&6
5832 # Set linker optimization flags.
5833 if test x"$with_gnu_ld" = x"yes" &&
5834 test x"$enable_debug" = x"no"; then
5835 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5842 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5843 echo "configure:5844: checking for main in -lm" >&5
5844 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5846 echo $ac_n "(cached) $ac_c" 1>&6
5848 ac_save_LIBS="$LIBS"
5850 cat > conftest.$ac_ext <<EOF
5851 #line 5852 "configure"
5852 #include "confdefs.h"
5858 if { (eval echo configure:5859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5860 eval "ac_cv_lib_$ac_lib_var=yes"
5862 echo "configure: failed program was:" >&5
5863 cat conftest.$ac_ext >&5
5865 eval "ac_cv_lib_$ac_lib_var=no"
5868 LIBS="$ac_save_LIBS"
5871 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5872 echo "$ac_t""yes" 1>&6
5873 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5874 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5875 cat >> confdefs.h <<EOF
5876 #define $ac_tr_lib 1
5882 echo "$ac_t""no" 1>&6
5885 for ac_func in nan copysignf
5887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5888 echo "configure:5889: checking for $ac_func" >&5
5889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5890 echo $ac_n "(cached) $ac_c" 1>&6
5892 cat > conftest.$ac_ext <<EOF
5893 #line 5894 "configure"
5894 #include "confdefs.h"
5895 /* System header to define __stub macros and hopefully few prototypes,
5896 which can conflict with char $ac_func(); below. */
5898 /* Override any gcc2 internal prototype to avoid an error. */
5899 /* We use char because int might match the return type of a gcc2
5900 builtin and then its argument prototype would still apply. */
5905 /* The GNU C library defines this for functions which it implements
5906 to always fail with ENOSYS. Some functions are actually named
5907 something starting with __ and the normal name is an alias. */
5908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5916 if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5918 eval "ac_cv_func_$ac_func=yes"
5920 echo "configure: failed program was:" >&5
5921 cat conftest.$ac_ext >&5
5923 eval "ac_cv_func_$ac_func=no"
5928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5929 echo "$ac_t""yes" 1>&6
5930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5931 cat >> confdefs.h <<EOF
5932 #define $ac_tr_func 1
5936 echo "$ac_t""no" 1>&6
5937 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5943 USE_COMPLEX_LONG_DOUBLE=no
5944 if test x$ac_cv_func_copysignl = x"yes"; then
5945 USE_COMPLEX_LONG_DOUBLE=yes
5946 for ac_func in signbitl
5948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5949 echo "configure:5950: checking for $ac_func" >&5
5950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5951 echo $ac_n "(cached) $ac_c" 1>&6
5953 cat > conftest.$ac_ext <<EOF
5954 #line 5955 "configure"
5955 #include "confdefs.h"
5956 /* System header to define __stub macros and hopefully few prototypes,
5957 which can conflict with char $ac_func(); below. */
5959 /* Override any gcc2 internal prototype to avoid an error. */
5960 /* We use char because int might match the return type of a gcc2
5961 builtin and then its argument prototype would still apply. */
5966 /* The GNU C library defines this for functions which it implements
5967 to always fail with ENOSYS. Some functions are actually named
5968 something starting with __ and the normal name is an alias. */
5969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5977 if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5979 eval "ac_cv_func_$ac_func=yes"
5981 echo "configure: failed program was:" >&5
5982 cat conftest.$ac_ext >&5
5984 eval "ac_cv_func_$ac_func=no"
5989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5990 echo "$ac_t""yes" 1>&6
5991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5992 cat >> confdefs.h <<EOF
5993 #define $ac_tr_func 1
5997 echo "$ac_t""no" 1>&6
5998 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6009 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6010 echo "configure:6011: checking for mbstate_t" >&5
6011 cat > conftest.$ac_ext <<EOF
6012 #line 6013 "configure"
6013 #include "confdefs.h"
6016 mbstate_t teststate;
6019 if { (eval echo configure:6020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6023 echo "configure: failed program was:" >&5
6024 cat conftest.$ac_ext >&5
6029 echo "$ac_t""$have_mbstate_t" 1>&6
6030 if test x"$have_mbstate_t" = xyes; then
6031 cat >> confdefs.h <<\EOF
6032 #define HAVE_MBSTATE_T 1
6037 for ac_hdr in wchar.h
6039 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6040 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6041 echo "configure:6042: checking for $ac_hdr" >&5
6042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6043 echo $ac_n "(cached) $ac_c" 1>&6
6045 cat > conftest.$ac_ext <<EOF
6046 #line 6047 "configure"
6047 #include "confdefs.h"
6050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6051 { (eval echo configure:6052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6053 if test -z "$ac_err"; then
6055 eval "ac_cv_header_$ac_safe=yes"
6058 echo "configure: failed program was:" >&5
6059 cat conftest.$ac_ext >&5
6061 eval "ac_cv_header_$ac_safe=no"
6065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6066 echo "$ac_t""yes" 1>&6
6067 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6068 cat >> confdefs.h <<EOF
6069 #define $ac_tr_hdr 1
6073 echo "$ac_t""no" 1>&6
6078 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
6079 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
6080 echo "configure:6081: checking for wctype.h" >&5
6081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6082 echo $ac_n "(cached) $ac_c" 1>&6
6084 cat > conftest.$ac_ext <<EOF
6085 #line 6086 "configure"
6086 #include "confdefs.h"
6089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6090 { (eval echo configure:6091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6092 if test -z "$ac_err"; then
6094 eval "ac_cv_header_$ac_safe=yes"
6097 echo "configure: failed program was:" >&5
6098 cat conftest.$ac_ext >&5
6100 eval "ac_cv_header_$ac_safe=no"
6104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6105 echo "$ac_t""yes" 1>&6
6108 echo "$ac_t""no" 1>&6
6113 if test x"$ac_has_wchar_h" = xyes &&
6114 test x"$ac_has_wctype_h" = xyes &&
6115 test x"$enable_c_mbchar" != xno; then
6117 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6118 echo "configure:6119: checking for WCHAR_MIN and WCHAR_MAX" >&5
6119 cat > conftest.$ac_ext <<EOF
6120 #line 6121 "configure"
6121 #include "confdefs.h"
6124 int i = WCHAR_MIN; int j = WCHAR_MAX;
6127 if { (eval echo configure:6128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6129 has_wchar_minmax=yes
6131 echo "configure: failed program was:" >&5
6132 cat conftest.$ac_ext >&5
6137 echo "$ac_t""$has_wchar_minmax" 1>&6
6139 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6140 echo "configure:6141: checking for WEOF" >&5
6141 cat > conftest.$ac_ext <<EOF
6142 #line 6143 "configure"
6143 #include "confdefs.h"
6151 if { (eval echo configure:6152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6155 echo "configure: failed program was:" >&5
6156 cat conftest.$ac_ext >&5
6161 echo "$ac_t""$has_weof" 1>&6
6164 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6167 echo "configure:6168: checking for $ac_func" >&5
6168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6169 echo $ac_n "(cached) $ac_c" 1>&6
6171 cat > conftest.$ac_ext <<EOF
6172 #line 6173 "configure"
6173 #include "confdefs.h"
6174 /* System header to define __stub macros and hopefully few prototypes,
6175 which can conflict with char $ac_func(); below. */
6177 /* Override any gcc2 internal prototype to avoid an error. */
6178 /* We use char because int might match the return type of a gcc2
6179 builtin and then its argument prototype would still apply. */
6184 /* The GNU C library defines this for functions which it implements
6185 to always fail with ENOSYS. Some functions are actually named
6186 something starting with __ and the normal name is an alias. */
6187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6195 if { (eval echo configure:6196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6197 eval "ac_cv_func_$ac_func=yes"
6199 echo "configure: failed program was:" >&5
6200 cat conftest.$ac_ext >&5
6202 eval "ac_cv_func_$ac_func=no"
6207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6208 echo "$ac_t""yes" 1>&6
6209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6210 cat >> confdefs.h <<EOF
6211 #define $ac_tr_func 1
6215 echo "$ac_t""no" 1>&6
6222 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6223 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6224 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6225 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6226 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6227 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6230 echo "configure:6231: checking for $ac_func" >&5
6231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 cat > conftest.$ac_ext <<EOF
6235 #line 6236 "configure"
6236 #include "confdefs.h"
6237 /* System header to define __stub macros and hopefully few prototypes,
6238 which can conflict with char $ac_func(); below. */
6240 /* Override any gcc2 internal prototype to avoid an error. */
6241 /* We use char because int might match the return type of a gcc2
6242 builtin and then its argument prototype would still apply. */
6247 /* The GNU C library defines this for functions which it implements
6248 to always fail with ENOSYS. Some functions are actually named
6249 something starting with __ and the normal name is an alias. */
6250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6260 eval "ac_cv_func_$ac_func=yes"
6262 echo "configure: failed program was:" >&5
6263 cat conftest.$ac_ext >&5
6265 eval "ac_cv_func_$ac_func=no"
6270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6271 echo "$ac_t""yes" 1>&6
6272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6273 cat >> confdefs.h <<EOF
6274 #define $ac_tr_func 1
6278 echo "$ac_t""no" 1>&6
6285 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6286 echo "configure:6287: checking for ISO C99 wchar_t support" >&5
6287 if test x"$has_weof" = xyes &&
6288 test x"$has_wchar_minmax" = xyes &&
6289 test x"$ac_wfuncs" = xyes; then
6290 ac_isoC99_wchar_t=yes
6292 ac_isoC99_wchar_t=no
6294 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6296 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6297 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6298 echo "configure:6299: checking for iconv.h" >&5
6299 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6300 echo $ac_n "(cached) $ac_c" 1>&6
6302 cat > conftest.$ac_ext <<EOF
6303 #line 6304 "configure"
6304 #include "confdefs.h"
6307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6308 { (eval echo configure:6309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6310 if test -z "$ac_err"; then
6312 eval "ac_cv_header_$ac_safe=yes"
6315 echo "configure: failed program was:" >&5
6316 cat conftest.$ac_ext >&5
6318 eval "ac_cv_header_$ac_safe=no"
6322 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6323 echo "$ac_t""yes" 1>&6
6326 echo "$ac_t""no" 1>&6
6330 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6331 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6332 echo "configure:6333: checking for langinfo.h" >&5
6333 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6334 echo $ac_n "(cached) $ac_c" 1>&6
6336 cat > conftest.$ac_ext <<EOF
6337 #line 6338 "configure"
6338 #include "confdefs.h"
6339 #include <langinfo.h>
6341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6342 { (eval echo configure:6343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6344 if test -z "$ac_err"; then
6346 eval "ac_cv_header_$ac_safe=yes"
6349 echo "configure: failed program was:" >&5
6350 cat conftest.$ac_ext >&5
6352 eval "ac_cv_header_$ac_safe=no"
6356 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6357 echo "$ac_t""yes" 1>&6
6358 ac_has_langinfo_h=yes
6360 echo "$ac_t""no" 1>&6
6361 ac_has_langinfo_h=no
6365 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6366 echo "configure:6367: checking for iconv in -liconv" >&5
6367 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6369 echo $ac_n "(cached) $ac_c" 1>&6
6371 ac_save_LIBS="$LIBS"
6372 LIBS="-liconv $LIBS"
6373 cat > conftest.$ac_ext <<EOF
6374 #line 6375 "configure"
6375 #include "confdefs.h"
6376 /* Override any gcc2 internal prototype to avoid an error. */
6377 /* We use char because int might match the return type of a gcc2
6378 builtin and then its argument prototype would still apply. */
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6387 eval "ac_cv_lib_$ac_lib_var=yes"
6389 echo "configure: failed program was:" >&5
6390 cat conftest.$ac_ext >&5
6392 eval "ac_cv_lib_$ac_lib_var=no"
6395 LIBS="$ac_save_LIBS"
6398 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6399 echo "$ac_t""yes" 1>&6
6402 echo "$ac_t""no" 1>&6
6405 ac_save_LIBS="$LIBS"
6406 LIBS="$LIBS $libiconv"
6408 for ac_func in iconv_open iconv_close iconv nl_langinfo
6410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6411 echo "configure:6412: checking for $ac_func" >&5
6412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6413 echo $ac_n "(cached) $ac_c" 1>&6
6415 cat > conftest.$ac_ext <<EOF
6416 #line 6417 "configure"
6417 #include "confdefs.h"
6418 /* System header to define __stub macros and hopefully few prototypes,
6419 which can conflict with char $ac_func(); below. */
6421 /* Override any gcc2 internal prototype to avoid an error. */
6422 /* We use char because int might match the return type of a gcc2
6423 builtin and then its argument prototype would still apply. */
6428 /* The GNU C library defines this for functions which it implements
6429 to always fail with ENOSYS. Some functions are actually named
6430 something starting with __ and the normal name is an alias. */
6431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6439 if { (eval echo configure:6440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6441 eval "ac_cv_func_$ac_func=yes"
6443 echo "configure: failed program was:" >&5
6444 cat conftest.$ac_ext >&5
6446 eval "ac_cv_func_$ac_func=no"
6451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6452 echo "$ac_t""yes" 1>&6
6453 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6454 cat >> confdefs.h <<EOF
6455 #define $ac_tr_func 1
6460 echo "$ac_t""no" 1>&6
6466 LIBS="$ac_save_LIBS"
6468 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6469 echo "configure:6470: checking for XPG2 wchar_t support" >&5
6470 if test x"$ac_has_iconv_h" = xyes &&
6471 test x"$ac_has_langinfo_h" = xyes &&
6472 test x"$ac_XPG2funcs" = xyes; then
6477 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6479 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6480 echo "configure:6481: checking for enabled wchar_t specializations" >&5
6481 if test x"$ac_isoC99_wchar_t" = xyes &&
6482 test x"$ac_XPG2_wchar_t" = xyes; then
6483 cat >> confdefs.h <<\EOF
6484 #define _GLIBCPP_USE_WCHAR_T 1
6487 echo "$ac_t"""yes"" 1>&6
6489 echo "$ac_t"""no"" 1>&6
6492 echo "configure: warning: wchar_t support disabled." 1>&2
6495 os_include_dir="config/os/bsd/netbsd"
6496 cat >> confdefs.h <<\EOF
6497 #define HAVE_COPYSIGN 1
6500 cat >> confdefs.h <<\EOF
6501 #define HAVE_COPYSIGNF 1
6504 cat >> confdefs.h <<\EOF
6505 #define HAVE_FINITEF 1
6508 cat >> confdefs.h <<\EOF
6509 #define HAVE_FREXPF 1
6512 cat >> confdefs.h <<\EOF
6513 #define HAVE_HYPOTF 1
6518 os_include_dir="config/os/newlib"
6519 cat >> confdefs.h <<\EOF
6520 #define HAVE_HYPOT 1
6526 # GLIBCPP_CHECK_STDLIB_SUPPORT
6527 cat >> confdefs.h <<\EOF
6528 #define HAVE_STRTOF 1
6531 cat >> confdefs.h <<\EOF
6532 #define HAVE_STRTOLD 1
6536 cat >> confdefs.h <<\EOF
6541 cat >> confdefs.h <<\EOF
6542 #define HAVE_ACOSF 1
6545 cat >> confdefs.h <<\EOF
6546 #define HAVE_ASINF 1
6549 cat >> confdefs.h <<\EOF
6550 #define HAVE_ATAN2F 1
6553 cat >> confdefs.h <<\EOF
6554 #define HAVE_ATANF 1
6557 cat >> confdefs.h <<\EOF
6558 #define HAVE_CEILF 1
6561 cat >> confdefs.h <<\EOF
6562 #define HAVE_COPYSIGN 1
6565 cat >> confdefs.h <<\EOF
6566 #define HAVE_COPYSIGNF 1
6569 cat >> confdefs.h <<\EOF
6573 cat >> confdefs.h <<\EOF
6574 #define HAVE_COSHF 1
6577 cat >> confdefs.h <<\EOF
6581 cat >> confdefs.h <<\EOF
6582 #define HAVE_FABSF 1
6585 cat >> confdefs.h <<\EOF
6586 #define HAVE_FINITE 1
6589 cat >> confdefs.h <<\EOF
6590 #define HAVE_FINITEF 1
6593 cat >> confdefs.h <<\EOF
6594 #define HAVE_FLOORF 1
6597 cat >> confdefs.h <<\EOF
6598 #define HAVE_FMODF 1
6601 cat >> confdefs.h <<\EOF
6602 #define HAVE_FREXPF 1
6605 cat >> confdefs.h <<\EOF
6606 #define HAVE_ISINF 1
6609 cat >> confdefs.h <<\EOF
6610 #define HAVE_ISINFF 1
6613 cat >> confdefs.h <<\EOF
6614 #define HAVE_ISNAN 1
6617 cat >> confdefs.h <<\EOF
6618 #define HAVE_ISNANF 1
6621 cat >> confdefs.h <<\EOF
6622 #define HAVE_LDEXPF 1
6625 cat >> confdefs.h <<\EOF
6626 #define HAVE_LOG10F 1
6629 cat >> confdefs.h <<\EOF
6633 cat >> confdefs.h <<\EOF
6634 #define HAVE_MODFF 1
6637 cat >> confdefs.h <<\EOF
6641 cat >> confdefs.h <<\EOF
6645 cat >> confdefs.h <<\EOF
6646 #define HAVE_SINHF 1
6649 cat >> confdefs.h <<\EOF
6650 #define HAVE_SQRTF 1
6653 cat >> confdefs.h <<\EOF
6657 cat >> confdefs.h <<\EOF
6658 #define HAVE_TANHF 1
6662 # At some point, we should differentiate between architectures
6663 # like x86, which have long double versions, and alpha/powerpc/etc.,
6664 # which don't. For the time being, punt.
6665 if test x"long_double_math_on_this_cpu" = x"yes"; then
6666 cat >> confdefs.h <<\EOF
6667 #define HAVE_ACOSL 1
6670 cat >> confdefs.h <<\EOF
6671 #define HAVE_ASINL 1
6674 cat >> confdefs.h <<\EOF
6675 #define HAVE_ATAN2L 1
6678 cat >> confdefs.h <<\EOF
6679 #define HAVE_ATANL 1
6682 cat >> confdefs.h <<\EOF
6683 #define HAVE_CEILL 1
6686 cat >> confdefs.h <<\EOF
6687 #define HAVE_COPYSIGNL 1
6690 cat >> confdefs.h <<\EOF
6694 cat >> confdefs.h <<\EOF
6695 #define HAVE_COSHL 1
6698 cat >> confdefs.h <<\EOF
6702 cat >> confdefs.h <<\EOF
6703 #define HAVE_FABSL 1
6706 cat >> confdefs.h <<\EOF
6707 #define HAVE_FINITEL 1
6710 cat >> confdefs.h <<\EOF
6711 #define HAVE_FLOORL 1
6714 cat >> confdefs.h <<\EOF
6715 #define HAVE_FMODL 1
6718 cat >> confdefs.h <<\EOF
6719 #define HAVE_FREXPL 1
6722 cat >> confdefs.h <<\EOF
6723 #define HAVE_ISINFL 1
6726 cat >> confdefs.h <<\EOF
6727 #define HAVE_ISNANL 1
6730 cat >> confdefs.h <<\EOF
6731 #define HAVE_LDEXPL 1
6734 cat >> confdefs.h <<\EOF
6735 #define HAVE_LOG10L 1
6738 cat >> confdefs.h <<\EOF
6742 cat >> confdefs.h <<\EOF
6743 #define HAVE_MODFL 1
6746 cat >> confdefs.h <<\EOF
6750 cat >> confdefs.h <<\EOF
6751 #define HAVE_SINCOSL 1
6754 cat >> confdefs.h <<\EOF
6758 cat >> confdefs.h <<\EOF
6759 #define HAVE_SINHL 1
6762 cat >> confdefs.h <<\EOF
6763 #define HAVE_SQRTL 1
6766 cat >> confdefs.h <<\EOF
6770 cat >> confdefs.h <<\EOF
6771 #define HAVE_TANHL 1
6777 # We are being configured natively. We can do more elaborate tests
6778 # that include AC_TRY_COMPILE now, as the linker is assumed to be
6780 GLIBCPP_IS_CROSS_COMPILING=0
6783 # Check for available headers.
6784 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
6785 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
6787 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6788 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6789 echo "configure:6790: checking for $ac_hdr" >&5
6790 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6791 echo $ac_n "(cached) $ac_c" 1>&6
6793 cat > conftest.$ac_ext <<EOF
6794 #line 6795 "configure"
6795 #include "confdefs.h"
6798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6799 { (eval echo configure:6800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6801 if test -z "$ac_err"; then
6803 eval "ac_cv_header_$ac_safe=yes"
6806 echo "configure: failed program was:" >&5
6807 cat conftest.$ac_ext >&5
6809 eval "ac_cv_header_$ac_safe=no"
6813 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6814 echo "$ac_t""yes" 1>&6
6815 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6816 cat >> confdefs.h <<EOF
6817 #define $ac_tr_hdr 1
6821 echo "$ac_t""no" 1>&6
6827 # All these tests are for C++; save the language and the compiler flags.
6828 # The CXXFLAGS thing is suspicious, but based on similar bits previously
6829 # found in GLIBCPP_CONFIGURE.
6832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6833 ac_cpp='$CXXCPP $CPPFLAGS'
6834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6836 cross_compiling=$ac_cv_prog_cxx_cross
6838 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6839 ac_save_CXXFLAGS="$CXXFLAGS"
6841 # Check for maintainer-mode bits.
6842 if test x"$USE_MAINTAINER_MODE" = xno; then
6848 # Check for -ffunction-sections -fdata-sections
6849 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
6850 echo "configure:6851: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
6851 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
6852 cat > conftest.$ac_ext <<EOF
6853 #line 6854 "configure"
6854 #include "confdefs.h"
6861 if { (eval echo configure:6862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6865 echo "configure: failed program was:" >&5
6866 cat conftest.$ac_ext >&5
6871 if test "$ac_test_CXXFLAGS" = set; then
6872 CXXFLAGS="$ac_save_CXXFLAGS"
6874 # this is the suspicious part
6877 if test x"$ac_fdsections" = x"yes" &&
6878 test x"$enable_debug" = x"no"; then
6879 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6881 echo "$ac_t""$ac_fdsections" 1>&6
6884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6888 cross_compiling=$ac_cv_prog_cc_cross
6894 # If we're not using GNU ld, then there's no point in even trying these
6895 # tests. Check for that first. We should have already tested for gld
6896 # by now (in libtool), but require it now just to be safe...
6897 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6898 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6901 # The name set by libtool depends on the version of libtool. Shame on us
6902 # for depending on an impl detail, but c'est la vie. Older versions used
6903 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6904 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6905 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6906 # set (hence we're using an older libtool), then set it.
6907 if test x${with_gnu_ld+set} != xset; then
6908 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6909 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6912 with_gnu_ld=$ac_cv_prog_gnu_ld
6916 # Start by getting the version number. I think the libtool test already
6917 # does some of this, but throws away the result.
6919 ldver=`$LD --version 2>/dev/null | head -1 | \
6920 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6922 glibcpp_gnu_ld_version=`echo $ldver | \
6923 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6925 # Set --gc-sections.
6926 if test "$with_gnu_ld" = "notbroken"; then
6927 # GNU ld it is! Joy and bunny rabbits!
6929 # All these tests are for C++; save the language and the compiler flags.
6930 # Need to do this so that g++ won't try to link in libstdc++
6931 ac_test_CFLAGS="${CFLAGS+set}"
6932 ac_save_CFLAGS="$CFLAGS"
6933 CFLAGS='-x c++ -Wl,--gc-sections'
6935 # Check for -Wl,--gc-sections
6936 # XXX This test is broken at the moment, as symbols required for
6937 # linking are now in libsupc++ (not built yet.....). In addition,
6938 # this test has cored on solaris in the past. In addition,
6939 # --gc-sections doesn't really work at the moment (keeps on discarding
6940 # used sections, first .eh_frame and now some of the glibc sections for
6941 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6942 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6943 echo "configure:6944: checking for ld that supports -Wl,--gc-sections" >&5
6944 if test "$cross_compiling" = yes; then
6945 ac_sectionLDflags=yes
6947 cat > conftest.$ac_ext <<EOF
6948 #line 6949 "configure"
6949 #include "confdefs.h"
6959 if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6961 ac_sectionLDflags=yes
6963 echo "configure: failed program was:" >&5
6964 cat conftest.$ac_ext >&5
6966 ac_sectionLDflags=no
6971 if test "$ac_test_CFLAGS" = set; then
6972 CFLAGS="$ac_save_CFLAGS"
6974 # this is the suspicious part
6977 if test "$ac_sectionLDflags" = "yes"; then
6978 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6980 echo "$ac_t""$ac_sectionLDflags" 1>&6
6983 # Set linker optimization flags.
6984 if test x"$with_gnu_ld" = x"yes" &&
6985 test x"$enable_debug" = x"no"; then
6986 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6994 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
6995 echo "configure:6996: checking for __builtin_abs declaration" >&5
6996 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6997 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6998 echo $ac_n "(cached) $ac_c" 1>&6
7003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7004 ac_cpp='$CXXCPP $CPPFLAGS'
7005 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7006 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7007 cross_compiling=$ac_cv_prog_cxx_cross
7009 cat > conftest.$ac_ext <<EOF
7010 #line 7011 "configure"
7011 #include "confdefs.h"
7017 if { (eval echo configure:7018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7019 glibcpp_cv_func___builtin_abs_use=yes
7021 echo "configure: failed program was:" >&5
7022 cat conftest.$ac_ext >&5
7024 glibcpp_cv_func___builtin_abs_use=no
7028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7032 cross_compiling=$ac_cv_prog_cc_cross
7038 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
7039 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
7040 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
7041 echo "configure:7042: checking for __builtin_abs linkage" >&5
7042 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
7043 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
7044 echo $ac_n "(cached) $ac_c" 1>&6
7047 cat > conftest.$ac_ext <<EOF
7048 #line 7049 "configure"
7049 #include "confdefs.h"
7055 if { (eval echo configure:7056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7057 glibcpp_cv_func___builtin_abs_link=yes
7059 echo "configure: failed program was:" >&5
7060 cat conftest.$ac_ext >&5
7062 glibcpp_cv_func___builtin_abs_link=no
7069 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
7070 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
7071 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7072 cat >> confdefs.h <<EOF
7073 #define ${ac_tr_func} 1
7080 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
7081 echo "configure:7082: checking for __builtin_fabsf declaration" >&5
7082 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
7083 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
7084 echo $ac_n "(cached) $ac_c" 1>&6
7089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7090 ac_cpp='$CXXCPP $CPPFLAGS'
7091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7093 cross_compiling=$ac_cv_prog_cxx_cross
7095 cat > conftest.$ac_ext <<EOF
7096 #line 7097 "configure"
7097 #include "confdefs.h"
7103 if { (eval echo configure:7104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7105 glibcpp_cv_func___builtin_fabsf_use=yes
7107 echo "configure: failed program was:" >&5
7108 cat conftest.$ac_ext >&5
7110 glibcpp_cv_func___builtin_fabsf_use=no
7114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7115 ac_cpp='$CPP $CPPFLAGS'
7116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7118 cross_compiling=$ac_cv_prog_cc_cross
7124 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
7125 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
7126 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
7127 echo "configure:7128: checking for __builtin_fabsf linkage" >&5
7128 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
7129 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
7130 echo $ac_n "(cached) $ac_c" 1>&6
7133 cat > conftest.$ac_ext <<EOF
7134 #line 7135 "configure"
7135 #include "confdefs.h"
7141 if { (eval echo configure:7142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7143 glibcpp_cv_func___builtin_fabsf_link=yes
7145 echo "configure: failed program was:" >&5
7146 cat conftest.$ac_ext >&5
7148 glibcpp_cv_func___builtin_fabsf_link=no
7155 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7156 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7157 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7158 cat >> confdefs.h <<EOF
7159 #define ${ac_tr_func} 1
7166 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
7167 echo "configure:7168: checking for __builtin_fabs declaration" >&5
7168 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7169 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7170 echo $ac_n "(cached) $ac_c" 1>&6
7175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7176 ac_cpp='$CXXCPP $CPPFLAGS'
7177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7179 cross_compiling=$ac_cv_prog_cxx_cross
7181 cat > conftest.$ac_ext <<EOF
7182 #line 7183 "configure"
7183 #include "confdefs.h"
7189 if { (eval echo configure:7190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7191 glibcpp_cv_func___builtin_fabs_use=yes
7193 echo "configure: failed program was:" >&5
7194 cat conftest.$ac_ext >&5
7196 glibcpp_cv_func___builtin_fabs_use=no
7200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7201 ac_cpp='$CPP $CPPFLAGS'
7202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7204 cross_compiling=$ac_cv_prog_cc_cross
7210 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
7211 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
7212 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
7213 echo "configure:7214: checking for __builtin_fabs linkage" >&5
7214 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
7215 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
7216 echo $ac_n "(cached) $ac_c" 1>&6
7219 cat > conftest.$ac_ext <<EOF
7220 #line 7221 "configure"
7221 #include "confdefs.h"
7227 if { (eval echo configure:7228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7229 glibcpp_cv_func___builtin_fabs_link=yes
7231 echo "configure: failed program was:" >&5
7232 cat conftest.$ac_ext >&5
7234 glibcpp_cv_func___builtin_fabs_link=no
7241 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
7242 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
7243 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7244 cat >> confdefs.h <<EOF
7245 #define ${ac_tr_func} 1
7252 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
7253 echo "configure:7254: checking for __builtin_fabsl declaration" >&5
7254 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
7255 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
7256 echo $ac_n "(cached) $ac_c" 1>&6
7261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7262 ac_cpp='$CXXCPP $CPPFLAGS'
7263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7265 cross_compiling=$ac_cv_prog_cxx_cross
7267 cat > conftest.$ac_ext <<EOF
7268 #line 7269 "configure"
7269 #include "confdefs.h"
7275 if { (eval echo configure:7276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7277 glibcpp_cv_func___builtin_fabsl_use=yes
7279 echo "configure: failed program was:" >&5
7280 cat conftest.$ac_ext >&5
7282 glibcpp_cv_func___builtin_fabsl_use=no
7286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7287 ac_cpp='$CPP $CPPFLAGS'
7288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7290 cross_compiling=$ac_cv_prog_cc_cross
7296 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
7297 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
7298 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
7299 echo "configure:7300: checking for __builtin_fabsl linkage" >&5
7300 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
7301 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
7302 echo $ac_n "(cached) $ac_c" 1>&6
7305 cat > conftest.$ac_ext <<EOF
7306 #line 7307 "configure"
7307 #include "confdefs.h"
7313 if { (eval echo configure:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7315 glibcpp_cv_func___builtin_fabsl_link=yes
7317 echo "configure: failed program was:" >&5
7318 cat conftest.$ac_ext >&5
7320 glibcpp_cv_func___builtin_fabsl_link=no
7327 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
7328 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
7329 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7330 cat >> confdefs.h <<EOF
7331 #define ${ac_tr_func} 1
7338 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
7339 echo "configure:7340: checking for __builtin_labs declaration" >&5
7340 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
7341 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
7342 echo $ac_n "(cached) $ac_c" 1>&6
7347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7348 ac_cpp='$CXXCPP $CPPFLAGS'
7349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7351 cross_compiling=$ac_cv_prog_cxx_cross
7353 cat > conftest.$ac_ext <<EOF
7354 #line 7355 "configure"
7355 #include "confdefs.h"
7361 if { (eval echo configure:7362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7363 glibcpp_cv_func___builtin_labs_use=yes
7365 echo "configure: failed program was:" >&5
7366 cat conftest.$ac_ext >&5
7368 glibcpp_cv_func___builtin_labs_use=no
7372 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7373 ac_cpp='$CPP $CPPFLAGS'
7374 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7375 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7376 cross_compiling=$ac_cv_prog_cc_cross
7382 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
7383 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
7384 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
7385 echo "configure:7386: checking for __builtin_labs linkage" >&5
7386 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
7387 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
7388 echo $ac_n "(cached) $ac_c" 1>&6
7391 cat > conftest.$ac_ext <<EOF
7392 #line 7393 "configure"
7393 #include "confdefs.h"
7399 if { (eval echo configure:7400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7401 glibcpp_cv_func___builtin_labs_link=yes
7403 echo "configure: failed program was:" >&5
7404 cat conftest.$ac_ext >&5
7406 glibcpp_cv_func___builtin_labs_link=no
7413 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
7414 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
7415 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7416 cat >> confdefs.h <<EOF
7417 #define ${ac_tr_func} 1
7425 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
7426 echo "configure:7427: checking for __builtin_sqrtf declaration" >&5
7427 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
7428 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
7429 echo $ac_n "(cached) $ac_c" 1>&6
7434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7435 ac_cpp='$CXXCPP $CPPFLAGS'
7436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7438 cross_compiling=$ac_cv_prog_cxx_cross
7440 cat > conftest.$ac_ext <<EOF
7441 #line 7442 "configure"
7442 #include "confdefs.h"
7448 if { (eval echo configure:7449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7450 glibcpp_cv_func___builtin_sqrtf_use=yes
7452 echo "configure: failed program was:" >&5
7453 cat conftest.$ac_ext >&5
7455 glibcpp_cv_func___builtin_sqrtf_use=no
7459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7460 ac_cpp='$CPP $CPPFLAGS'
7461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7463 cross_compiling=$ac_cv_prog_cc_cross
7469 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
7470 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
7471 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
7472 echo "configure:7473: checking for __builtin_sqrtf linkage" >&5
7473 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
7474 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
7475 echo $ac_n "(cached) $ac_c" 1>&6
7478 cat > conftest.$ac_ext <<EOF
7479 #line 7480 "configure"
7480 #include "confdefs.h"
7486 if { (eval echo configure:7487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7488 glibcpp_cv_func___builtin_sqrtf_link=yes
7490 echo "configure: failed program was:" >&5
7491 cat conftest.$ac_ext >&5
7493 glibcpp_cv_func___builtin_sqrtf_link=no
7500 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
7501 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
7502 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7503 cat >> confdefs.h <<EOF
7504 #define ${ac_tr_func} 1
7511 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
7512 echo "configure:7513: checking for __builtin_sqrt declaration" >&5
7513 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
7514 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
7515 echo $ac_n "(cached) $ac_c" 1>&6
7520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7521 ac_cpp='$CXXCPP $CPPFLAGS'
7522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7524 cross_compiling=$ac_cv_prog_cxx_cross
7526 cat > conftest.$ac_ext <<EOF
7527 #line 7528 "configure"
7528 #include "confdefs.h"
7534 if { (eval echo configure:7535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7536 glibcpp_cv_func___builtin_sqrt_use=yes
7538 echo "configure: failed program was:" >&5
7539 cat conftest.$ac_ext >&5
7541 glibcpp_cv_func___builtin_sqrt_use=no
7545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7546 ac_cpp='$CPP $CPPFLAGS'
7547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7549 cross_compiling=$ac_cv_prog_cc_cross
7555 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
7556 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
7557 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
7558 echo "configure:7559: checking for __builtin_sqrt linkage" >&5
7559 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
7560 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
7561 echo $ac_n "(cached) $ac_c" 1>&6
7564 cat > conftest.$ac_ext <<EOF
7565 #line 7566 "configure"
7566 #include "confdefs.h"
7572 if { (eval echo configure:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7574 glibcpp_cv_func___builtin_sqrt_link=yes
7576 echo "configure: failed program was:" >&5
7577 cat conftest.$ac_ext >&5
7579 glibcpp_cv_func___builtin_sqrt_link=no
7586 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
7587 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
7588 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7589 cat >> confdefs.h <<EOF
7590 #define ${ac_tr_func} 1
7597 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
7598 echo "configure:7599: checking for __builtin_sqrtl declaration" >&5
7599 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
7600 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
7601 echo $ac_n "(cached) $ac_c" 1>&6
7606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7607 ac_cpp='$CXXCPP $CPPFLAGS'
7608 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7609 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7610 cross_compiling=$ac_cv_prog_cxx_cross
7612 cat > conftest.$ac_ext <<EOF
7613 #line 7614 "configure"
7614 #include "confdefs.h"
7620 if { (eval echo configure:7621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7622 glibcpp_cv_func___builtin_sqrtl_use=yes
7624 echo "configure: failed program was:" >&5
7625 cat conftest.$ac_ext >&5
7627 glibcpp_cv_func___builtin_sqrtl_use=no
7631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7632 ac_cpp='$CPP $CPPFLAGS'
7633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7635 cross_compiling=$ac_cv_prog_cc_cross
7641 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
7642 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
7643 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
7644 echo "configure:7645: checking for __builtin_sqrtl linkage" >&5
7645 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
7646 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
7647 echo $ac_n "(cached) $ac_c" 1>&6
7650 cat > conftest.$ac_ext <<EOF
7651 #line 7652 "configure"
7652 #include "confdefs.h"
7658 if { (eval echo configure:7659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7660 glibcpp_cv_func___builtin_sqrtl_link=yes
7662 echo "configure: failed program was:" >&5
7663 cat conftest.$ac_ext >&5
7665 glibcpp_cv_func___builtin_sqrtl_link=no
7672 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
7673 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
7674 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7675 cat >> confdefs.h <<EOF
7676 #define ${ac_tr_func} 1
7684 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
7685 echo "configure:7686: checking for __builtin_sinf declaration" >&5
7686 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
7687 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
7688 echo $ac_n "(cached) $ac_c" 1>&6
7693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7694 ac_cpp='$CXXCPP $CPPFLAGS'
7695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7697 cross_compiling=$ac_cv_prog_cxx_cross
7699 cat > conftest.$ac_ext <<EOF
7700 #line 7701 "configure"
7701 #include "confdefs.h"
7707 if { (eval echo configure:7708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7709 glibcpp_cv_func___builtin_sinf_use=yes
7711 echo "configure: failed program was:" >&5
7712 cat conftest.$ac_ext >&5
7714 glibcpp_cv_func___builtin_sinf_use=no
7718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7719 ac_cpp='$CPP $CPPFLAGS'
7720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7722 cross_compiling=$ac_cv_prog_cc_cross
7728 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
7729 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
7730 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
7731 echo "configure:7732: checking for __builtin_sinf linkage" >&5
7732 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
7733 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
7734 echo $ac_n "(cached) $ac_c" 1>&6
7737 cat > conftest.$ac_ext <<EOF
7738 #line 7739 "configure"
7739 #include "confdefs.h"
7745 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7747 glibcpp_cv_func___builtin_sinf_link=yes
7749 echo "configure: failed program was:" >&5
7750 cat conftest.$ac_ext >&5
7752 glibcpp_cv_func___builtin_sinf_link=no
7759 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
7760 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
7761 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7762 cat >> confdefs.h <<EOF
7763 #define ${ac_tr_func} 1
7770 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
7771 echo "configure:7772: checking for __builtin_sin declaration" >&5
7772 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
7773 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
7774 echo $ac_n "(cached) $ac_c" 1>&6
7779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7780 ac_cpp='$CXXCPP $CPPFLAGS'
7781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7783 cross_compiling=$ac_cv_prog_cxx_cross
7785 cat > conftest.$ac_ext <<EOF
7786 #line 7787 "configure"
7787 #include "confdefs.h"
7793 if { (eval echo configure:7794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7795 glibcpp_cv_func___builtin_sin_use=yes
7797 echo "configure: failed program was:" >&5
7798 cat conftest.$ac_ext >&5
7800 glibcpp_cv_func___builtin_sin_use=no
7804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7805 ac_cpp='$CPP $CPPFLAGS'
7806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7808 cross_compiling=$ac_cv_prog_cc_cross
7814 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
7815 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
7816 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
7817 echo "configure:7818: checking for __builtin_sin linkage" >&5
7818 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
7819 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
7820 echo $ac_n "(cached) $ac_c" 1>&6
7823 cat > conftest.$ac_ext <<EOF
7824 #line 7825 "configure"
7825 #include "confdefs.h"
7831 if { (eval echo configure:7832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7833 glibcpp_cv_func___builtin_sin_link=yes
7835 echo "configure: failed program was:" >&5
7836 cat conftest.$ac_ext >&5
7838 glibcpp_cv_func___builtin_sin_link=no
7845 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
7846 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
7847 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7848 cat >> confdefs.h <<EOF
7849 #define ${ac_tr_func} 1
7856 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
7857 echo "configure:7858: checking for __builtin_sinl declaration" >&5
7858 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
7859 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
7860 echo $ac_n "(cached) $ac_c" 1>&6
7865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7866 ac_cpp='$CXXCPP $CPPFLAGS'
7867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7869 cross_compiling=$ac_cv_prog_cxx_cross
7871 cat > conftest.$ac_ext <<EOF
7872 #line 7873 "configure"
7873 #include "confdefs.h"
7879 if { (eval echo configure:7880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7881 glibcpp_cv_func___builtin_sinl_use=yes
7883 echo "configure: failed program was:" >&5
7884 cat conftest.$ac_ext >&5
7886 glibcpp_cv_func___builtin_sinl_use=no
7890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7891 ac_cpp='$CPP $CPPFLAGS'
7892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7894 cross_compiling=$ac_cv_prog_cc_cross
7900 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
7901 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
7902 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
7903 echo "configure:7904: checking for __builtin_sinl linkage" >&5
7904 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
7905 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
7906 echo $ac_n "(cached) $ac_c" 1>&6
7909 cat > conftest.$ac_ext <<EOF
7910 #line 7911 "configure"
7911 #include "confdefs.h"
7917 if { (eval echo configure:7918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7919 glibcpp_cv_func___builtin_sinl_link=yes
7921 echo "configure: failed program was:" >&5
7922 cat conftest.$ac_ext >&5
7924 glibcpp_cv_func___builtin_sinl_link=no
7931 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
7932 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
7933 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7934 cat >> confdefs.h <<EOF
7935 #define ${ac_tr_func} 1
7943 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
7944 echo "configure:7945: checking for __builtin_cosf declaration" >&5
7945 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
7946 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
7947 echo $ac_n "(cached) $ac_c" 1>&6
7952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7953 ac_cpp='$CXXCPP $CPPFLAGS'
7954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7956 cross_compiling=$ac_cv_prog_cxx_cross
7958 cat > conftest.$ac_ext <<EOF
7959 #line 7960 "configure"
7960 #include "confdefs.h"
7966 if { (eval echo configure:7967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7968 glibcpp_cv_func___builtin_cosf_use=yes
7970 echo "configure: failed program was:" >&5
7971 cat conftest.$ac_ext >&5
7973 glibcpp_cv_func___builtin_cosf_use=no
7977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7978 ac_cpp='$CPP $CPPFLAGS'
7979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7981 cross_compiling=$ac_cv_prog_cc_cross
7987 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7988 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7989 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
7990 echo "configure:7991: checking for __builtin_cosf linkage" >&5
7991 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7992 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7993 echo $ac_n "(cached) $ac_c" 1>&6
7996 cat > conftest.$ac_ext <<EOF
7997 #line 7998 "configure"
7998 #include "confdefs.h"
8004 if { (eval echo configure:8005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8006 glibcpp_cv_func___builtin_cosf_link=yes
8008 echo "configure: failed program was:" >&5
8009 cat conftest.$ac_ext >&5
8011 glibcpp_cv_func___builtin_cosf_link=no
8018 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
8019 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
8020 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8021 cat >> confdefs.h <<EOF
8022 #define ${ac_tr_func} 1
8029 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
8030 echo "configure:8031: checking for __builtin_cos declaration" >&5
8031 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
8032 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
8033 echo $ac_n "(cached) $ac_c" 1>&6
8038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8039 ac_cpp='$CXXCPP $CPPFLAGS'
8040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8042 cross_compiling=$ac_cv_prog_cxx_cross
8044 cat > conftest.$ac_ext <<EOF
8045 #line 8046 "configure"
8046 #include "confdefs.h"
8052 if { (eval echo configure:8053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8054 glibcpp_cv_func___builtin_cos_use=yes
8056 echo "configure: failed program was:" >&5
8057 cat conftest.$ac_ext >&5
8059 glibcpp_cv_func___builtin_cos_use=no
8063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8064 ac_cpp='$CPP $CPPFLAGS'
8065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8067 cross_compiling=$ac_cv_prog_cc_cross
8073 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
8074 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
8075 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
8076 echo "configure:8077: checking for __builtin_cos linkage" >&5
8077 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
8078 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
8079 echo $ac_n "(cached) $ac_c" 1>&6
8082 cat > conftest.$ac_ext <<EOF
8083 #line 8084 "configure"
8084 #include "confdefs.h"
8090 if { (eval echo configure:8091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8092 glibcpp_cv_func___builtin_cos_link=yes
8094 echo "configure: failed program was:" >&5
8095 cat conftest.$ac_ext >&5
8097 glibcpp_cv_func___builtin_cos_link=no
8104 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
8105 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
8106 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8107 cat >> confdefs.h <<EOF
8108 #define ${ac_tr_func} 1
8115 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
8116 echo "configure:8117: checking for __builtin_cosl declaration" >&5
8117 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
8118 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
8119 echo $ac_n "(cached) $ac_c" 1>&6
8124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8125 ac_cpp='$CXXCPP $CPPFLAGS'
8126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8128 cross_compiling=$ac_cv_prog_cxx_cross
8130 cat > conftest.$ac_ext <<EOF
8131 #line 8132 "configure"
8132 #include "confdefs.h"
8138 if { (eval echo configure:8139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8140 glibcpp_cv_func___builtin_cosl_use=yes
8142 echo "configure: failed program was:" >&5
8143 cat conftest.$ac_ext >&5
8145 glibcpp_cv_func___builtin_cosl_use=no
8149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8150 ac_cpp='$CPP $CPPFLAGS'
8151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8153 cross_compiling=$ac_cv_prog_cc_cross
8159 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8160 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8161 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
8162 echo "configure:8163: checking for __builtin_cosl linkage" >&5
8163 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8164 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8165 echo $ac_n "(cached) $ac_c" 1>&6
8168 cat > conftest.$ac_ext <<EOF
8169 #line 8170 "configure"
8170 #include "confdefs.h"
8176 if { (eval echo configure:8177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8178 glibcpp_cv_func___builtin_cosl_link=yes
8180 echo "configure: failed program was:" >&5
8181 cat conftest.$ac_ext >&5
8183 glibcpp_cv_func___builtin_cosl_link=no
8190 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
8191 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
8192 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8193 cat >> confdefs.h <<EOF
8194 #define ${ac_tr_func} 1
8202 if test x$dummyvar = x"yes"; then
8203 cat >> confdefs.h <<\EOF
8204 #define HAVE___BUILTIN_ABS 1
8207 cat >> confdefs.h <<\EOF
8208 #define HAVE___BUILTIN_LABS 1
8211 cat >> confdefs.h <<\EOF
8212 #define HAVE___BUILTIN_COS 1
8215 cat >> confdefs.h <<\EOF
8216 #define HAVE___BUILTIN_COSF 1
8219 cat >> confdefs.h <<\EOF
8220 #define HAVE___BUILTIN_COSL 1
8223 cat >> confdefs.h <<\EOF
8224 #define HAVE___BUILTIN_FABS 1
8227 cat >> confdefs.h <<\EOF
8228 #define HAVE___BUILTIN_FABSF 1
8231 cat >> confdefs.h <<\EOF
8232 #define HAVE___BUILTIN_FABSL 1
8235 cat >> confdefs.h <<\EOF
8236 #define HAVE___BUILTIN_SIN 1
8239 cat >> confdefs.h <<\EOF
8240 #define HAVE___BUILTIN_SINF 1
8243 cat >> confdefs.h <<\EOF
8244 #define HAVE___BUILTIN_SINL 1
8247 cat >> confdefs.h <<\EOF
8248 #define HAVE___BUILTIN_SQRT 1
8251 cat >> confdefs.h <<\EOF
8252 #define HAVE___BUILTIN_SQRTF 1
8255 cat >> confdefs.h <<\EOF
8256 #define HAVE___BUILTIN_SQRTL 1
8262 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8263 ac_save_CXXFLAGS="$CXXFLAGS"
8264 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
8266 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
8267 echo "configure:8268: checking for sin in -lm" >&5
8268 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
8269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8270 echo $ac_n "(cached) $ac_c" 1>&6
8272 ac_save_LIBS="$LIBS"
8274 cat > conftest.$ac_ext <<EOF
8275 #line 8276 "configure"
8276 #include "confdefs.h"
8277 /* Override any gcc2 internal prototype to avoid an error. */
8278 /* We use char because int might match the return type of a gcc2
8279 builtin and then its argument prototype would still apply. */
8286 if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8288 eval "ac_cv_lib_$ac_lib_var=yes"
8290 echo "configure: failed program was:" >&5
8291 cat conftest.$ac_ext >&5
8293 eval "ac_cv_lib_$ac_lib_var=no"
8296 LIBS="$ac_save_LIBS"
8299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8300 echo "$ac_t""yes" 1>&6
8303 echo "$ac_t""no" 1>&6
8306 ac_save_LIBS="$LIBS"
8311 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
8312 echo "configure:8313: checking for isinf declaration" >&5
8313 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
8314 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
8315 echo $ac_n "(cached) $ac_c" 1>&6
8320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8321 ac_cpp='$CXXCPP $CPPFLAGS'
8322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8324 cross_compiling=$ac_cv_prog_cxx_cross
8326 cat > conftest.$ac_ext <<EOF
8327 #line 8328 "configure"
8328 #include "confdefs.h"
8330 #ifdef HAVE_IEEEFP_H
8338 if { (eval echo configure:8339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8340 glibcpp_cv_func_isinf_use=yes
8342 echo "configure: failed program was:" >&5
8343 cat conftest.$ac_ext >&5
8345 glibcpp_cv_func_isinf_use=no
8349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8350 ac_cpp='$CPP $CPPFLAGS'
8351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8353 cross_compiling=$ac_cv_prog_cc_cross
8359 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
8361 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
8362 for ac_func in isinf
8364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8365 echo "configure:8366: checking for $ac_func" >&5
8366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8367 echo $ac_n "(cached) $ac_c" 1>&6
8369 cat > conftest.$ac_ext <<EOF
8370 #line 8371 "configure"
8371 #include "confdefs.h"
8372 /* System header to define __stub macros and hopefully few prototypes,
8373 which can conflict with char $ac_func(); below. */
8375 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8382 /* The GNU C library defines this for functions which it implements
8383 to always fail with ENOSYS. Some functions are actually named
8384 something starting with __ and the normal name is an alias. */
8385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8393 if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8395 eval "ac_cv_func_$ac_func=yes"
8397 echo "configure: failed program was:" >&5
8398 cat conftest.$ac_ext >&5
8400 eval "ac_cv_func_$ac_func=no"
8405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8406 echo "$ac_t""yes" 1>&6
8407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8408 cat >> confdefs.h <<EOF
8409 #define $ac_tr_func 1
8413 echo "$ac_t""no" 1>&6
8419 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
8420 echo "configure:8421: checking for _isinf declaration" >&5
8421 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
8422 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
8423 echo $ac_n "(cached) $ac_c" 1>&6
8428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8429 ac_cpp='$CXXCPP $CPPFLAGS'
8430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8432 cross_compiling=$ac_cv_prog_cxx_cross
8434 cat > conftest.$ac_ext <<EOF
8435 #line 8436 "configure"
8436 #include "confdefs.h"
8438 #ifdef HAVE_IEEEFP_H
8446 if { (eval echo configure:8447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8448 glibcpp_cv_func__isinf_use=yes
8450 echo "configure: failed program was:" >&5
8451 cat conftest.$ac_ext >&5
8453 glibcpp_cv_func__isinf_use=no
8457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8458 ac_cpp='$CPP $CPPFLAGS'
8459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8461 cross_compiling=$ac_cv_prog_cc_cross
8467 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
8469 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
8470 for ac_func in _isinf
8472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8473 echo "configure:8474: checking for $ac_func" >&5
8474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8475 echo $ac_n "(cached) $ac_c" 1>&6
8477 cat > conftest.$ac_ext <<EOF
8478 #line 8479 "configure"
8479 #include "confdefs.h"
8480 /* System header to define __stub macros and hopefully few prototypes,
8481 which can conflict with char $ac_func(); below. */
8483 /* Override any gcc2 internal prototype to avoid an error. */
8484 /* We use char because int might match the return type of a gcc2
8485 builtin and then its argument prototype would still apply. */
8490 /* The GNU C library defines this for functions which it implements
8491 to always fail with ENOSYS. Some functions are actually named
8492 something starting with __ and the normal name is an alias. */
8493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8501 if { (eval echo configure:8502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8503 eval "ac_cv_func_$ac_func=yes"
8505 echo "configure: failed program was:" >&5
8506 cat conftest.$ac_ext >&5
8508 eval "ac_cv_func_$ac_func=no"
8513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8514 echo "$ac_t""yes" 1>&6
8515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8516 cat >> confdefs.h <<EOF
8517 #define $ac_tr_func 1
8521 echo "$ac_t""no" 1>&6
8530 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
8531 echo "configure:8532: checking for isnan declaration" >&5
8532 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
8533 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
8534 echo $ac_n "(cached) $ac_c" 1>&6
8539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8540 ac_cpp='$CXXCPP $CPPFLAGS'
8541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8543 cross_compiling=$ac_cv_prog_cxx_cross
8545 cat > conftest.$ac_ext <<EOF
8546 #line 8547 "configure"
8547 #include "confdefs.h"
8549 #ifdef HAVE_IEEEFP_H
8557 if { (eval echo configure:8558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8559 glibcpp_cv_func_isnan_use=yes
8561 echo "configure: failed program was:" >&5
8562 cat conftest.$ac_ext >&5
8564 glibcpp_cv_func_isnan_use=no
8568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8569 ac_cpp='$CPP $CPPFLAGS'
8570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8572 cross_compiling=$ac_cv_prog_cc_cross
8578 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
8580 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
8581 for ac_func in isnan
8583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8584 echo "configure:8585: checking for $ac_func" >&5
8585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8586 echo $ac_n "(cached) $ac_c" 1>&6
8588 cat > conftest.$ac_ext <<EOF
8589 #line 8590 "configure"
8590 #include "confdefs.h"
8591 /* System header to define __stub macros and hopefully few prototypes,
8592 which can conflict with char $ac_func(); below. */
8594 /* Override any gcc2 internal prototype to avoid an error. */
8595 /* We use char because int might match the return type of a gcc2
8596 builtin and then its argument prototype would still apply. */
8601 /* The GNU C library defines this for functions which it implements
8602 to always fail with ENOSYS. Some functions are actually named
8603 something starting with __ and the normal name is an alias. */
8604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8612 if { (eval echo configure:8613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8614 eval "ac_cv_func_$ac_func=yes"
8616 echo "configure: failed program was:" >&5
8617 cat conftest.$ac_ext >&5
8619 eval "ac_cv_func_$ac_func=no"
8624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8625 echo "$ac_t""yes" 1>&6
8626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8627 cat >> confdefs.h <<EOF
8628 #define $ac_tr_func 1
8632 echo "$ac_t""no" 1>&6
8638 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
8639 echo "configure:8640: checking for _isnan declaration" >&5
8640 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
8641 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
8642 echo $ac_n "(cached) $ac_c" 1>&6
8647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8648 ac_cpp='$CXXCPP $CPPFLAGS'
8649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8651 cross_compiling=$ac_cv_prog_cxx_cross
8653 cat > conftest.$ac_ext <<EOF
8654 #line 8655 "configure"
8655 #include "confdefs.h"
8657 #ifdef HAVE_IEEEFP_H
8665 if { (eval echo configure:8666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8667 glibcpp_cv_func__isnan_use=yes
8669 echo "configure: failed program was:" >&5
8670 cat conftest.$ac_ext >&5
8672 glibcpp_cv_func__isnan_use=no
8676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8677 ac_cpp='$CPP $CPPFLAGS'
8678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8680 cross_compiling=$ac_cv_prog_cc_cross
8686 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
8688 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
8689 for ac_func in _isnan
8691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8692 echo "configure:8693: checking for $ac_func" >&5
8693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8694 echo $ac_n "(cached) $ac_c" 1>&6
8696 cat > conftest.$ac_ext <<EOF
8697 #line 8698 "configure"
8698 #include "confdefs.h"
8699 /* System header to define __stub macros and hopefully few prototypes,
8700 which can conflict with char $ac_func(); below. */
8702 /* Override any gcc2 internal prototype to avoid an error. */
8703 /* We use char because int might match the return type of a gcc2
8704 builtin and then its argument prototype would still apply. */
8709 /* The GNU C library defines this for functions which it implements
8710 to always fail with ENOSYS. Some functions are actually named
8711 something starting with __ and the normal name is an alias. */
8712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8720 if { (eval echo configure:8721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8722 eval "ac_cv_func_$ac_func=yes"
8724 echo "configure: failed program was:" >&5
8725 cat conftest.$ac_ext >&5
8727 eval "ac_cv_func_$ac_func=no"
8732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8733 echo "$ac_t""yes" 1>&6
8734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8735 cat >> confdefs.h <<EOF
8736 #define $ac_tr_func 1
8740 echo "$ac_t""no" 1>&6
8749 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
8750 echo "configure:8751: checking for finite declaration" >&5
8751 if test x${glibcpp_cv_func_finite_use+set} != xset; then
8752 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
8753 echo $ac_n "(cached) $ac_c" 1>&6
8758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8759 ac_cpp='$CXXCPP $CPPFLAGS'
8760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8762 cross_compiling=$ac_cv_prog_cxx_cross
8764 cat > conftest.$ac_ext <<EOF
8765 #line 8766 "configure"
8766 #include "confdefs.h"
8768 #ifdef HAVE_IEEEFP_H
8776 if { (eval echo configure:8777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8778 glibcpp_cv_func_finite_use=yes
8780 echo "configure: failed program was:" >&5
8781 cat conftest.$ac_ext >&5
8783 glibcpp_cv_func_finite_use=no
8787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8788 ac_cpp='$CPP $CPPFLAGS'
8789 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8790 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8791 cross_compiling=$ac_cv_prog_cc_cross
8797 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
8799 if test x$glibcpp_cv_func_finite_use = x"yes"; then
8800 for ac_func in finite
8802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8803 echo "configure:8804: checking for $ac_func" >&5
8804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8807 cat > conftest.$ac_ext <<EOF
8808 #line 8809 "configure"
8809 #include "confdefs.h"
8810 /* System header to define __stub macros and hopefully few prototypes,
8811 which can conflict with char $ac_func(); below. */
8813 /* Override any gcc2 internal prototype to avoid an error. */
8814 /* We use char because int might match the return type of a gcc2
8815 builtin and then its argument prototype would still apply. */
8820 /* The GNU C library defines this for functions which it implements
8821 to always fail with ENOSYS. Some functions are actually named
8822 something starting with __ and the normal name is an alias. */
8823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8831 if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8833 eval "ac_cv_func_$ac_func=yes"
8835 echo "configure: failed program was:" >&5
8836 cat conftest.$ac_ext >&5
8838 eval "ac_cv_func_$ac_func=no"
8843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8844 echo "$ac_t""yes" 1>&6
8845 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8846 cat >> confdefs.h <<EOF
8847 #define $ac_tr_func 1
8851 echo "$ac_t""no" 1>&6
8857 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
8858 echo "configure:8859: checking for _finite declaration" >&5
8859 if test x${glibcpp_cv_func__finite_use+set} != xset; then
8860 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
8861 echo $ac_n "(cached) $ac_c" 1>&6
8866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8867 ac_cpp='$CXXCPP $CPPFLAGS'
8868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8870 cross_compiling=$ac_cv_prog_cxx_cross
8872 cat > conftest.$ac_ext <<EOF
8873 #line 8874 "configure"
8874 #include "confdefs.h"
8876 #ifdef HAVE_IEEEFP_H
8884 if { (eval echo configure:8885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8886 glibcpp_cv_func__finite_use=yes
8888 echo "configure: failed program was:" >&5
8889 cat conftest.$ac_ext >&5
8891 glibcpp_cv_func__finite_use=no
8895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8896 ac_cpp='$CPP $CPPFLAGS'
8897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8899 cross_compiling=$ac_cv_prog_cc_cross
8905 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
8907 if test x$glibcpp_cv_func__finite_use = x"yes"; then
8908 for ac_func in _finite
8910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8911 echo "configure:8912: checking for $ac_func" >&5
8912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8913 echo $ac_n "(cached) $ac_c" 1>&6
8915 cat > conftest.$ac_ext <<EOF
8916 #line 8917 "configure"
8917 #include "confdefs.h"
8918 /* System header to define __stub macros and hopefully few prototypes,
8919 which can conflict with char $ac_func(); below. */
8921 /* Override any gcc2 internal prototype to avoid an error. */
8922 /* We use char because int might match the return type of a gcc2
8923 builtin and then its argument prototype would still apply. */
8928 /* The GNU C library defines this for functions which it implements
8929 to always fail with ENOSYS. Some functions are actually named
8930 something starting with __ and the normal name is an alias. */
8931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8939 if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8941 eval "ac_cv_func_$ac_func=yes"
8943 echo "configure: failed program was:" >&5
8944 cat conftest.$ac_ext >&5
8946 eval "ac_cv_func_$ac_func=no"
8951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8952 echo "$ac_t""yes" 1>&6
8953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8954 cat >> confdefs.h <<EOF
8955 #define $ac_tr_func 1
8959 echo "$ac_t""no" 1>&6
8968 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
8969 echo "configure:8970: checking for copysign declaration" >&5
8970 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
8971 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8972 echo $ac_n "(cached) $ac_c" 1>&6
8977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8978 ac_cpp='$CXXCPP $CPPFLAGS'
8979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8981 cross_compiling=$ac_cv_prog_cxx_cross
8983 cat > conftest.$ac_ext <<EOF
8984 #line 8985 "configure"
8985 #include "confdefs.h"
8991 if { (eval echo configure:8992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8993 glibcpp_cv_func_copysign_use=yes
8995 echo "configure: failed program was:" >&5
8996 cat conftest.$ac_ext >&5
8998 glibcpp_cv_func_copysign_use=no
9002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9003 ac_cpp='$CPP $CPPFLAGS'
9004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9006 cross_compiling=$ac_cv_prog_cc_cross
9012 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
9014 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
9015 for ac_func in copysign
9017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9018 echo "configure:9019: checking for $ac_func" >&5
9019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9020 echo $ac_n "(cached) $ac_c" 1>&6
9022 cat > conftest.$ac_ext <<EOF
9023 #line 9024 "configure"
9024 #include "confdefs.h"
9025 /* System header to define __stub macros and hopefully few prototypes,
9026 which can conflict with char $ac_func(); below. */
9028 /* Override any gcc2 internal prototype to avoid an error. */
9029 /* We use char because int might match the return type of a gcc2
9030 builtin and then its argument prototype would still apply. */
9035 /* The GNU C library defines this for functions which it implements
9036 to always fail with ENOSYS. Some functions are actually named
9037 something starting with __ and the normal name is an alias. */
9038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9048 eval "ac_cv_func_$ac_func=yes"
9050 echo "configure: failed program was:" >&5
9051 cat conftest.$ac_ext >&5
9053 eval "ac_cv_func_$ac_func=no"
9058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9059 echo "$ac_t""yes" 1>&6
9060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9061 cat >> confdefs.h <<EOF
9062 #define $ac_tr_func 1
9066 echo "$ac_t""no" 1>&6
9072 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
9073 echo "configure:9074: checking for _copysign declaration" >&5
9074 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
9075 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp='$CXXCPP $CPPFLAGS'
9083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling=$ac_cv_prog_cxx_cross
9087 cat > conftest.$ac_ext <<EOF
9088 #line 9089 "configure"
9089 #include "confdefs.h"
9095 if { (eval echo configure:9096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9097 glibcpp_cv_func__copysign_use=yes
9099 echo "configure: failed program was:" >&5
9100 cat conftest.$ac_ext >&5
9102 glibcpp_cv_func__copysign_use=no
9106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9107 ac_cpp='$CPP $CPPFLAGS'
9108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9110 cross_compiling=$ac_cv_prog_cc_cross
9116 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
9118 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
9119 for ac_func in _copysign
9121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9122 echo "configure:9123: checking for $ac_func" >&5
9123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9124 echo $ac_n "(cached) $ac_c" 1>&6
9126 cat > conftest.$ac_ext <<EOF
9127 #line 9128 "configure"
9128 #include "confdefs.h"
9129 /* System header to define __stub macros and hopefully few prototypes,
9130 which can conflict with char $ac_func(); below. */
9132 /* Override any gcc2 internal prototype to avoid an error. */
9133 /* We use char because int might match the return type of a gcc2
9134 builtin and then its argument prototype would still apply. */
9139 /* The GNU C library defines this for functions which it implements
9140 to always fail with ENOSYS. Some functions are actually named
9141 something starting with __ and the normal name is an alias. */
9142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9150 if { (eval echo configure:9151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9152 eval "ac_cv_func_$ac_func=yes"
9154 echo "configure: failed program was:" >&5
9155 cat conftest.$ac_ext >&5
9157 eval "ac_cv_func_$ac_func=no"
9162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9163 echo "$ac_t""yes" 1>&6
9164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9165 cat >> confdefs.h <<EOF
9166 #define $ac_tr_func 1
9170 echo "$ac_t""no" 1>&6
9179 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
9180 echo "configure:9181: checking for sincos declaration" >&5
9181 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
9182 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
9183 echo $ac_n "(cached) $ac_c" 1>&6
9188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9189 ac_cpp='$CXXCPP $CPPFLAGS'
9190 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9191 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9192 cross_compiling=$ac_cv_prog_cxx_cross
9194 cat > conftest.$ac_ext <<EOF
9195 #line 9196 "configure"
9196 #include "confdefs.h"
9202 if { (eval echo configure:9203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9204 glibcpp_cv_func_sincos_use=yes
9206 echo "configure: failed program was:" >&5
9207 cat conftest.$ac_ext >&5
9209 glibcpp_cv_func_sincos_use=no
9213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9214 ac_cpp='$CPP $CPPFLAGS'
9215 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9216 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9217 cross_compiling=$ac_cv_prog_cc_cross
9223 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
9225 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
9226 for ac_func in sincos
9228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9229 echo "configure:9230: checking for $ac_func" >&5
9230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9231 echo $ac_n "(cached) $ac_c" 1>&6
9233 cat > conftest.$ac_ext <<EOF
9234 #line 9235 "configure"
9235 #include "confdefs.h"
9236 /* System header to define __stub macros and hopefully few prototypes,
9237 which can conflict with char $ac_func(); below. */
9239 /* Override any gcc2 internal prototype to avoid an error. */
9240 /* We use char because int might match the return type of a gcc2
9241 builtin and then its argument prototype would still apply. */
9246 /* The GNU C library defines this for functions which it implements
9247 to always fail with ENOSYS. Some functions are actually named
9248 something starting with __ and the normal name is an alias. */
9249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9257 if { (eval echo configure:9258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9259 eval "ac_cv_func_$ac_func=yes"
9261 echo "configure: failed program was:" >&5
9262 cat conftest.$ac_ext >&5
9264 eval "ac_cv_func_$ac_func=no"
9269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9270 echo "$ac_t""yes" 1>&6
9271 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9272 cat >> confdefs.h <<EOF
9273 #define $ac_tr_func 1
9277 echo "$ac_t""no" 1>&6
9283 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
9284 echo "configure:9285: checking for _sincos declaration" >&5
9285 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
9286 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
9287 echo $ac_n "(cached) $ac_c" 1>&6
9292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9293 ac_cpp='$CXXCPP $CPPFLAGS'
9294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9296 cross_compiling=$ac_cv_prog_cxx_cross
9298 cat > conftest.$ac_ext <<EOF
9299 #line 9300 "configure"
9300 #include "confdefs.h"
9306 if { (eval echo configure:9307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9308 glibcpp_cv_func__sincos_use=yes
9310 echo "configure: failed program was:" >&5
9311 cat conftest.$ac_ext >&5
9313 glibcpp_cv_func__sincos_use=no
9317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9318 ac_cpp='$CPP $CPPFLAGS'
9319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9321 cross_compiling=$ac_cv_prog_cc_cross
9327 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
9329 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
9330 for ac_func in _sincos
9332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9333 echo "configure:9334: checking for $ac_func" >&5
9334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9335 echo $ac_n "(cached) $ac_c" 1>&6
9337 cat > conftest.$ac_ext <<EOF
9338 #line 9339 "configure"
9339 #include "confdefs.h"
9340 /* System header to define __stub macros and hopefully few prototypes,
9341 which can conflict with char $ac_func(); below. */
9343 /* Override any gcc2 internal prototype to avoid an error. */
9344 /* We use char because int might match the return type of a gcc2
9345 builtin and then its argument prototype would still apply. */
9350 /* The GNU C library defines this for functions which it implements
9351 to always fail with ENOSYS. Some functions are actually named
9352 something starting with __ and the normal name is an alias. */
9353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9361 if { (eval echo configure:9362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9363 eval "ac_cv_func_$ac_func=yes"
9365 echo "configure: failed program was:" >&5
9366 cat conftest.$ac_ext >&5
9368 eval "ac_cv_func_$ac_func=no"
9373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9374 echo "$ac_t""yes" 1>&6
9375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9376 cat >> confdefs.h <<EOF
9377 #define $ac_tr_func 1
9381 echo "$ac_t""no" 1>&6
9390 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
9391 echo "configure:9392: checking for fpclass declaration" >&5
9392 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
9393 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
9394 echo $ac_n "(cached) $ac_c" 1>&6
9399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9400 ac_cpp='$CXXCPP $CPPFLAGS'
9401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9403 cross_compiling=$ac_cv_prog_cxx_cross
9405 cat > conftest.$ac_ext <<EOF
9406 #line 9407 "configure"
9407 #include "confdefs.h"
9409 #ifdef HAVE_IEEEFP_H
9417 if { (eval echo configure:9418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9419 glibcpp_cv_func_fpclass_use=yes
9421 echo "configure: failed program was:" >&5
9422 cat conftest.$ac_ext >&5
9424 glibcpp_cv_func_fpclass_use=no
9428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9429 ac_cpp='$CPP $CPPFLAGS'
9430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9432 cross_compiling=$ac_cv_prog_cc_cross
9438 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
9440 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
9441 for ac_func in fpclass
9443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9444 echo "configure:9445: checking for $ac_func" >&5
9445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9446 echo $ac_n "(cached) $ac_c" 1>&6
9448 cat > conftest.$ac_ext <<EOF
9449 #line 9450 "configure"
9450 #include "confdefs.h"
9451 /* System header to define __stub macros and hopefully few prototypes,
9452 which can conflict with char $ac_func(); below. */
9454 /* Override any gcc2 internal prototype to avoid an error. */
9455 /* We use char because int might match the return type of a gcc2
9456 builtin and then its argument prototype would still apply. */
9461 /* The GNU C library defines this for functions which it implements
9462 to always fail with ENOSYS. Some functions are actually named
9463 something starting with __ and the normal name is an alias. */
9464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9472 if { (eval echo configure:9473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9474 eval "ac_cv_func_$ac_func=yes"
9476 echo "configure: failed program was:" >&5
9477 cat conftest.$ac_ext >&5
9479 eval "ac_cv_func_$ac_func=no"
9484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9485 echo "$ac_t""yes" 1>&6
9486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9487 cat >> confdefs.h <<EOF
9488 #define $ac_tr_func 1
9492 echo "$ac_t""no" 1>&6
9498 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
9499 echo "configure:9500: checking for _fpclass declaration" >&5
9500 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
9501 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
9502 echo $ac_n "(cached) $ac_c" 1>&6
9507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9508 ac_cpp='$CXXCPP $CPPFLAGS'
9509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9511 cross_compiling=$ac_cv_prog_cxx_cross
9513 cat > conftest.$ac_ext <<EOF
9514 #line 9515 "configure"
9515 #include "confdefs.h"
9517 #ifdef HAVE_IEEEFP_H
9525 if { (eval echo configure:9526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9527 glibcpp_cv_func__fpclass_use=yes
9529 echo "configure: failed program was:" >&5
9530 cat conftest.$ac_ext >&5
9532 glibcpp_cv_func__fpclass_use=no
9536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9537 ac_cpp='$CPP $CPPFLAGS'
9538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9540 cross_compiling=$ac_cv_prog_cc_cross
9546 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
9548 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
9549 for ac_func in _fpclass
9551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9552 echo "configure:9553: checking for $ac_func" >&5
9553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9554 echo $ac_n "(cached) $ac_c" 1>&6
9556 cat > conftest.$ac_ext <<EOF
9557 #line 9558 "configure"
9558 #include "confdefs.h"
9559 /* System header to define __stub macros and hopefully few prototypes,
9560 which can conflict with char $ac_func(); below. */
9562 /* Override any gcc2 internal prototype to avoid an error. */
9563 /* We use char because int might match the return type of a gcc2
9564 builtin and then its argument prototype would still apply. */
9569 /* The GNU C library defines this for functions which it implements
9570 to always fail with ENOSYS. Some functions are actually named
9571 something starting with __ and the normal name is an alias. */
9572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9580 if { (eval echo configure:9581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9582 eval "ac_cv_func_$ac_func=yes"
9584 echo "configure: failed program was:" >&5
9585 cat conftest.$ac_ext >&5
9587 eval "ac_cv_func_$ac_func=no"
9592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9593 echo "$ac_t""yes" 1>&6
9594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9595 cat >> confdefs.h <<EOF
9596 #define $ac_tr_func 1
9600 echo "$ac_t""no" 1>&6
9609 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
9610 echo "configure:9611: checking for qfpclass declaration" >&5
9611 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
9612 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
9613 echo $ac_n "(cached) $ac_c" 1>&6
9618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9619 ac_cpp='$CXXCPP $CPPFLAGS'
9620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9622 cross_compiling=$ac_cv_prog_cxx_cross
9624 cat > conftest.$ac_ext <<EOF
9625 #line 9626 "configure"
9626 #include "confdefs.h"
9628 #ifdef HAVE_IEEEFP_H
9636 if { (eval echo configure:9637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9638 glibcpp_cv_func_qfpclass_use=yes
9640 echo "configure: failed program was:" >&5
9641 cat conftest.$ac_ext >&5
9643 glibcpp_cv_func_qfpclass_use=no
9647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9648 ac_cpp='$CPP $CPPFLAGS'
9649 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9650 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9651 cross_compiling=$ac_cv_prog_cc_cross
9657 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
9659 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
9660 for ac_func in qfpclass
9662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9663 echo "configure:9664: checking for $ac_func" >&5
9664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9665 echo $ac_n "(cached) $ac_c" 1>&6
9667 cat > conftest.$ac_ext <<EOF
9668 #line 9669 "configure"
9669 #include "confdefs.h"
9670 /* System header to define __stub macros and hopefully few prototypes,
9671 which can conflict with char $ac_func(); below. */
9673 /* Override any gcc2 internal prototype to avoid an error. */
9674 /* We use char because int might match the return type of a gcc2
9675 builtin and then its argument prototype would still apply. */
9680 /* The GNU C library defines this for functions which it implements
9681 to always fail with ENOSYS. Some functions are actually named
9682 something starting with __ and the normal name is an alias. */
9683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9691 if { (eval echo configure:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9693 eval "ac_cv_func_$ac_func=yes"
9695 echo "configure: failed program was:" >&5
9696 cat conftest.$ac_ext >&5
9698 eval "ac_cv_func_$ac_func=no"
9703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9704 echo "$ac_t""yes" 1>&6
9705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9706 cat >> confdefs.h <<EOF
9707 #define $ac_tr_func 1
9711 echo "$ac_t""no" 1>&6
9717 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
9718 echo "configure:9719: checking for _qfpclass declaration" >&5
9719 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
9720 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
9721 echo $ac_n "(cached) $ac_c" 1>&6
9726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9727 ac_cpp='$CXXCPP $CPPFLAGS'
9728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9730 cross_compiling=$ac_cv_prog_cxx_cross
9732 cat > conftest.$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9736 #ifdef HAVE_IEEEFP_H
9744 if { (eval echo configure:9745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9746 glibcpp_cv_func__qfpclass_use=yes
9748 echo "configure: failed program was:" >&5
9749 cat conftest.$ac_ext >&5
9751 glibcpp_cv_func__qfpclass_use=no
9755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9756 ac_cpp='$CPP $CPPFLAGS'
9757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9759 cross_compiling=$ac_cv_prog_cc_cross
9765 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
9767 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
9768 for ac_func in _qfpclass
9770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9771 echo "configure:9772: checking for $ac_func" >&5
9772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9773 echo $ac_n "(cached) $ac_c" 1>&6
9775 cat > conftest.$ac_ext <<EOF
9776 #line 9777 "configure"
9777 #include "confdefs.h"
9778 /* System header to define __stub macros and hopefully few prototypes,
9779 which can conflict with char $ac_func(); below. */
9781 /* Override any gcc2 internal prototype to avoid an error. */
9782 /* We use char because int might match the return type of a gcc2
9783 builtin and then its argument prototype would still apply. */
9788 /* The GNU C library defines this for functions which it implements
9789 to always fail with ENOSYS. Some functions are actually named
9790 something starting with __ and the normal name is an alias. */
9791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9801 eval "ac_cv_func_$ac_func=yes"
9803 echo "configure: failed program was:" >&5
9804 cat conftest.$ac_ext >&5
9806 eval "ac_cv_func_$ac_func=no"
9811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9814 cat >> confdefs.h <<EOF
9815 #define $ac_tr_func 1
9819 echo "$ac_t""no" 1>&6
9828 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
9829 echo "configure:9830: checking for hypot declaration" >&5
9830 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
9831 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
9832 echo $ac_n "(cached) $ac_c" 1>&6
9837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9838 ac_cpp='$CXXCPP $CPPFLAGS'
9839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9841 cross_compiling=$ac_cv_prog_cxx_cross
9843 cat > conftest.$ac_ext <<EOF
9844 #line 9845 "configure"
9845 #include "confdefs.h"
9851 if { (eval echo configure:9852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9853 glibcpp_cv_func_hypot_use=yes
9855 echo "configure: failed program was:" >&5
9856 cat conftest.$ac_ext >&5
9858 glibcpp_cv_func_hypot_use=no
9862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9863 ac_cpp='$CPP $CPPFLAGS'
9864 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9865 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9866 cross_compiling=$ac_cv_prog_cc_cross
9872 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
9874 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
9875 for ac_func in hypot
9877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9878 echo "configure:9879: checking for $ac_func" >&5
9879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9880 echo $ac_n "(cached) $ac_c" 1>&6
9882 cat > conftest.$ac_ext <<EOF
9883 #line 9884 "configure"
9884 #include "confdefs.h"
9885 /* System header to define __stub macros and hopefully few prototypes,
9886 which can conflict with char $ac_func(); below. */
9888 /* Override any gcc2 internal prototype to avoid an error. */
9889 /* We use char because int might match the return type of a gcc2
9890 builtin and then its argument prototype would still apply. */
9895 /* The GNU C library defines this for functions which it implements
9896 to always fail with ENOSYS. Some functions are actually named
9897 something starting with __ and the normal name is an alias. */
9898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9906 if { (eval echo configure:9907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9908 eval "ac_cv_func_$ac_func=yes"
9910 echo "configure: failed program was:" >&5
9911 cat conftest.$ac_ext >&5
9913 eval "ac_cv_func_$ac_func=no"
9918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9919 echo "$ac_t""yes" 1>&6
9920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9921 cat >> confdefs.h <<EOF
9922 #define $ac_tr_func 1
9926 echo "$ac_t""no" 1>&6
9932 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
9933 echo "configure:9934: checking for _hypot declaration" >&5
9934 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
9935 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
9936 echo $ac_n "(cached) $ac_c" 1>&6
9941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9942 ac_cpp='$CXXCPP $CPPFLAGS'
9943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9945 cross_compiling=$ac_cv_prog_cxx_cross
9947 cat > conftest.$ac_ext <<EOF
9948 #line 9949 "configure"
9949 #include "confdefs.h"
9955 if { (eval echo configure:9956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9957 glibcpp_cv_func__hypot_use=yes
9959 echo "configure: failed program was:" >&5
9960 cat conftest.$ac_ext >&5
9962 glibcpp_cv_func__hypot_use=no
9966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9967 ac_cpp='$CPP $CPPFLAGS'
9968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9970 cross_compiling=$ac_cv_prog_cc_cross
9976 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9978 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9979 for ac_func in _hypot
9981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9982 echo "configure:9983: checking for $ac_func" >&5
9983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9984 echo $ac_n "(cached) $ac_c" 1>&6
9986 cat > conftest.$ac_ext <<EOF
9987 #line 9988 "configure"
9988 #include "confdefs.h"
9989 /* System header to define __stub macros and hopefully few prototypes,
9990 which can conflict with char $ac_func(); below. */
9992 /* Override any gcc2 internal prototype to avoid an error. */
9993 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */
9999 /* The GNU C library defines this for functions which it implements
10000 to always fail with ENOSYS. Some functions are actually named
10001 something starting with __ and the normal name is an alias. */
10002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10010 if { (eval echo configure:10011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10012 eval "ac_cv_func_$ac_func=yes"
10014 echo "configure: failed program was:" >&5
10015 cat conftest.$ac_ext >&5
10017 eval "ac_cv_func_$ac_func=no"
10022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10023 echo "$ac_t""yes" 1>&6
10024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10025 cat >> confdefs.h <<EOF
10026 #define $ac_tr_func 1
10030 echo "$ac_t""no" 1>&6
10039 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
10040 echo "configure:10041: checking for float trig functions" >&5
10041 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
10042 echo $ac_n "(cached) $ac_c" 1>&6
10047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10048 ac_cpp='$CXXCPP $CPPFLAGS'
10049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10051 cross_compiling=$ac_cv_prog_cxx_cross
10053 cat > conftest.$ac_ext <<EOF
10054 #line 10055 "configure"
10055 #include "confdefs.h"
10058 `for x in acosf asinf atanf \
10060 coshf sinhf tanhf; do echo "$x (0);"; done`
10063 if { (eval echo configure:10064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10065 glibcpp_cv_func_float_trig_use=yes
10067 echo "configure: failed program was:" >&5
10068 cat conftest.$ac_ext >&5
10070 glibcpp_cv_func_float_trig_use=no
10074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10075 ac_cpp='$CPP $CPPFLAGS'
10076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10078 cross_compiling=$ac_cv_prog_cc_cross
10082 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
10083 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
10084 for ac_func in acosf asinf atanf \
10088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10089 echo "configure:10090: checking for $ac_func" >&5
10090 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10091 echo $ac_n "(cached) $ac_c" 1>&6
10093 cat > conftest.$ac_ext <<EOF
10094 #line 10095 "configure"
10095 #include "confdefs.h"
10096 /* System header to define __stub macros and hopefully few prototypes,
10097 which can conflict with char $ac_func(); below. */
10098 #include <assert.h>
10099 /* Override any gcc2 internal prototype to avoid an error. */
10100 /* We use char because int might match the return type of a gcc2
10101 builtin and then its argument prototype would still apply. */
10106 /* The GNU C library defines this for functions which it implements
10107 to always fail with ENOSYS. Some functions are actually named
10108 something starting with __ and the normal name is an alias. */
10109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10117 if { (eval echo configure:10118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10119 eval "ac_cv_func_$ac_func=yes"
10121 echo "configure: failed program was:" >&5
10122 cat conftest.$ac_ext >&5
10124 eval "ac_cv_func_$ac_func=no"
10129 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10130 echo "$ac_t""yes" 1>&6
10131 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10132 cat >> confdefs.h <<EOF
10133 #define $ac_tr_func 1
10137 echo "$ac_t""no" 1>&6
10144 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
10145 echo "configure:10146: checking for float round functions" >&5
10146 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10147 echo $ac_n "(cached) $ac_c" 1>&6
10152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10153 ac_cpp='$CXXCPP $CPPFLAGS'
10154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10156 cross_compiling=$ac_cv_prog_cxx_cross
10158 cat > conftest.$ac_ext <<EOF
10159 #line 10160 "configure"
10160 #include "confdefs.h"
10163 `for x in ceilf floorf; do echo "$x (0);"; done`
10166 if { (eval echo configure:10167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10168 glibcpp_cv_func_float_round_use=yes
10170 echo "configure: failed program was:" >&5
10171 cat conftest.$ac_ext >&5
10173 glibcpp_cv_func_float_round_use=no
10177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10178 ac_cpp='$CPP $CPPFLAGS'
10179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10181 cross_compiling=$ac_cv_prog_cc_cross
10185 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
10186 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
10187 for ac_func in ceilf floorf
10189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10190 echo "configure:10191: checking for $ac_func" >&5
10191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10192 echo $ac_n "(cached) $ac_c" 1>&6
10194 cat > conftest.$ac_ext <<EOF
10195 #line 10196 "configure"
10196 #include "confdefs.h"
10197 /* System header to define __stub macros and hopefully few prototypes,
10198 which can conflict with char $ac_func(); below. */
10199 #include <assert.h>
10200 /* Override any gcc2 internal prototype to avoid an error. */
10201 /* We use char because int might match the return type of a gcc2
10202 builtin and then its argument prototype would still apply. */
10207 /* The GNU C library defines this for functions which it implements
10208 to always fail with ENOSYS. Some functions are actually named
10209 something starting with __ and the normal name is an alias. */
10210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10220 eval "ac_cv_func_$ac_func=yes"
10222 echo "configure: failed program was:" >&5
10223 cat conftest.$ac_ext >&5
10225 eval "ac_cv_func_$ac_func=no"
10230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10231 echo "$ac_t""yes" 1>&6
10232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10233 cat >> confdefs.h <<EOF
10234 #define $ac_tr_func 1
10238 echo "$ac_t""no" 1>&6
10246 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
10247 echo "configure:10248: checking for isnanf declaration" >&5
10248 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
10249 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10256 ac_cpp='$CXXCPP $CPPFLAGS'
10257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10259 cross_compiling=$ac_cv_prog_cxx_cross
10261 cat > conftest.$ac_ext <<EOF
10262 #line 10263 "configure"
10263 #include "confdefs.h"
10265 #ifdef HAVE_IEEEFP_H
10266 #include <ieeefp.h>
10273 if { (eval echo configure:10274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10275 glibcpp_cv_func_isnanf_use=yes
10277 echo "configure: failed program was:" >&5
10278 cat conftest.$ac_ext >&5
10280 glibcpp_cv_func_isnanf_use=no
10284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10285 ac_cpp='$CPP $CPPFLAGS'
10286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10288 cross_compiling=$ac_cv_prog_cc_cross
10294 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
10296 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
10297 for ac_func in isnanf
10299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10300 echo "configure:10301: checking for $ac_func" >&5
10301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10304 cat > conftest.$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10307 /* System header to define __stub macros and hopefully few prototypes,
10308 which can conflict with char $ac_func(); below. */
10309 #include <assert.h>
10310 /* Override any gcc2 internal prototype to avoid an error. */
10311 /* We use char because int might match the return type of a gcc2
10312 builtin and then its argument prototype would still apply. */
10317 /* The GNU C library defines this for functions which it implements
10318 to always fail with ENOSYS. Some functions are actually named
10319 something starting with __ and the normal name is an alias. */
10320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10330 eval "ac_cv_func_$ac_func=yes"
10332 echo "configure: failed program was:" >&5
10333 cat conftest.$ac_ext >&5
10335 eval "ac_cv_func_$ac_func=no"
10340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10341 echo "$ac_t""yes" 1>&6
10342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10343 cat >> confdefs.h <<EOF
10344 #define $ac_tr_func 1
10348 echo "$ac_t""no" 1>&6
10354 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
10355 echo "configure:10356: checking for _isnanf declaration" >&5
10356 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
10357 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
10358 echo $ac_n "(cached) $ac_c" 1>&6
10363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10364 ac_cpp='$CXXCPP $CPPFLAGS'
10365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10367 cross_compiling=$ac_cv_prog_cxx_cross
10369 cat > conftest.$ac_ext <<EOF
10370 #line 10371 "configure"
10371 #include "confdefs.h"
10373 #ifdef HAVE_IEEEFP_H
10374 #include <ieeefp.h>
10381 if { (eval echo configure:10382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10383 glibcpp_cv_func__isnanf_use=yes
10385 echo "configure: failed program was:" >&5
10386 cat conftest.$ac_ext >&5
10388 glibcpp_cv_func__isnanf_use=no
10392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10393 ac_cpp='$CPP $CPPFLAGS'
10394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10396 cross_compiling=$ac_cv_prog_cc_cross
10402 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
10404 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
10405 for ac_func in _isnanf
10407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10408 echo "configure:10409: checking for $ac_func" >&5
10409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10410 echo $ac_n "(cached) $ac_c" 1>&6
10412 cat > conftest.$ac_ext <<EOF
10413 #line 10414 "configure"
10414 #include "confdefs.h"
10415 /* System header to define __stub macros and hopefully few prototypes,
10416 which can conflict with char $ac_func(); below. */
10417 #include <assert.h>
10418 /* Override any gcc2 internal prototype to avoid an error. */
10419 /* We use char because int might match the return type of a gcc2
10420 builtin and then its argument prototype would still apply. */
10425 /* The GNU C library defines this for functions which it implements
10426 to always fail with ENOSYS. Some functions are actually named
10427 something starting with __ and the normal name is an alias. */
10428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10436 if { (eval echo configure:10437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10438 eval "ac_cv_func_$ac_func=yes"
10440 echo "configure: failed program was:" >&5
10441 cat conftest.$ac_ext >&5
10443 eval "ac_cv_func_$ac_func=no"
10448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10449 echo "$ac_t""yes" 1>&6
10450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10451 cat >> confdefs.h <<EOF
10452 #define $ac_tr_func 1
10456 echo "$ac_t""no" 1>&6
10465 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
10466 echo "configure:10467: checking for isinff declaration" >&5
10467 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
10468 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
10469 echo $ac_n "(cached) $ac_c" 1>&6
10474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10475 ac_cpp='$CXXCPP $CPPFLAGS'
10476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10478 cross_compiling=$ac_cv_prog_cxx_cross
10480 cat > conftest.$ac_ext <<EOF
10481 #line 10482 "configure"
10482 #include "confdefs.h"
10484 #ifdef HAVE_IEEEFP_H
10485 #include <ieeefp.h>
10492 if { (eval echo configure:10493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10494 glibcpp_cv_func_isinff_use=yes
10496 echo "configure: failed program was:" >&5
10497 cat conftest.$ac_ext >&5
10499 glibcpp_cv_func_isinff_use=no
10503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10504 ac_cpp='$CPP $CPPFLAGS'
10505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10507 cross_compiling=$ac_cv_prog_cc_cross
10513 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
10515 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
10516 for ac_func in isinff
10518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10519 echo "configure:10520: checking for $ac_func" >&5
10520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10521 echo $ac_n "(cached) $ac_c" 1>&6
10523 cat > conftest.$ac_ext <<EOF
10524 #line 10525 "configure"
10525 #include "confdefs.h"
10526 /* System header to define __stub macros and hopefully few prototypes,
10527 which can conflict with char $ac_func(); below. */
10528 #include <assert.h>
10529 /* Override any gcc2 internal prototype to avoid an error. */
10530 /* We use char because int might match the return type of a gcc2
10531 builtin and then its argument prototype would still apply. */
10536 /* The GNU C library defines this for functions which it implements
10537 to always fail with ENOSYS. Some functions are actually named
10538 something starting with __ and the normal name is an alias. */
10539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10547 if { (eval echo configure:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10549 eval "ac_cv_func_$ac_func=yes"
10551 echo "configure: failed program was:" >&5
10552 cat conftest.$ac_ext >&5
10554 eval "ac_cv_func_$ac_func=no"
10559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10560 echo "$ac_t""yes" 1>&6
10561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10562 cat >> confdefs.h <<EOF
10563 #define $ac_tr_func 1
10567 echo "$ac_t""no" 1>&6
10573 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
10574 echo "configure:10575: checking for _isinff declaration" >&5
10575 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
10576 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
10577 echo $ac_n "(cached) $ac_c" 1>&6
10582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10583 ac_cpp='$CXXCPP $CPPFLAGS'
10584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10586 cross_compiling=$ac_cv_prog_cxx_cross
10588 cat > conftest.$ac_ext <<EOF
10589 #line 10590 "configure"
10590 #include "confdefs.h"
10592 #ifdef HAVE_IEEEFP_H
10593 #include <ieeefp.h>
10600 if { (eval echo configure:10601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10602 glibcpp_cv_func__isinff_use=yes
10604 echo "configure: failed program was:" >&5
10605 cat conftest.$ac_ext >&5
10607 glibcpp_cv_func__isinff_use=no
10611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10615 cross_compiling=$ac_cv_prog_cc_cross
10621 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
10623 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
10624 for ac_func in _isinff
10626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10627 echo "configure:10628: checking for $ac_func" >&5
10628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10629 echo $ac_n "(cached) $ac_c" 1>&6
10631 cat > conftest.$ac_ext <<EOF
10632 #line 10633 "configure"
10633 #include "confdefs.h"
10634 /* System header to define __stub macros and hopefully few prototypes,
10635 which can conflict with char $ac_func(); below. */
10636 #include <assert.h>
10637 /* Override any gcc2 internal prototype to avoid an error. */
10638 /* We use char because int might match the return type of a gcc2
10639 builtin and then its argument prototype would still apply. */
10644 /* The GNU C library defines this for functions which it implements
10645 to always fail with ENOSYS. Some functions are actually named
10646 something starting with __ and the normal name is an alias. */
10647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10655 if { (eval echo configure:10656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10657 eval "ac_cv_func_$ac_func=yes"
10659 echo "configure: failed program was:" >&5
10660 cat conftest.$ac_ext >&5
10662 eval "ac_cv_func_$ac_func=no"
10667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10668 echo "$ac_t""yes" 1>&6
10669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10670 cat >> confdefs.h <<EOF
10671 #define $ac_tr_func 1
10675 echo "$ac_t""no" 1>&6
10684 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
10685 echo "configure:10686: checking for atan2f declaration" >&5
10686 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
10687 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
10688 echo $ac_n "(cached) $ac_c" 1>&6
10693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10694 ac_cpp='$CXXCPP $CPPFLAGS'
10695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10697 cross_compiling=$ac_cv_prog_cxx_cross
10699 cat > conftest.$ac_ext <<EOF
10700 #line 10701 "configure"
10701 #include "confdefs.h"
10707 if { (eval echo configure:10708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10709 glibcpp_cv_func_atan2f_use=yes
10711 echo "configure: failed program was:" >&5
10712 cat conftest.$ac_ext >&5
10714 glibcpp_cv_func_atan2f_use=no
10718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10719 ac_cpp='$CPP $CPPFLAGS'
10720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10722 cross_compiling=$ac_cv_prog_cc_cross
10728 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
10730 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
10731 for ac_func in atan2f
10733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10734 echo "configure:10735: checking for $ac_func" >&5
10735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10736 echo $ac_n "(cached) $ac_c" 1>&6
10738 cat > conftest.$ac_ext <<EOF
10739 #line 10740 "configure"
10740 #include "confdefs.h"
10741 /* System header to define __stub macros and hopefully few prototypes,
10742 which can conflict with char $ac_func(); below. */
10743 #include <assert.h>
10744 /* Override any gcc2 internal prototype to avoid an error. */
10745 /* We use char because int might match the return type of a gcc2
10746 builtin and then its argument prototype would still apply. */
10751 /* The GNU C library defines this for functions which it implements
10752 to always fail with ENOSYS. Some functions are actually named
10753 something starting with __ and the normal name is an alias. */
10754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10762 if { (eval echo configure:10763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10764 eval "ac_cv_func_$ac_func=yes"
10766 echo "configure: failed program was:" >&5
10767 cat conftest.$ac_ext >&5
10769 eval "ac_cv_func_$ac_func=no"
10774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10775 echo "$ac_t""yes" 1>&6
10776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10777 cat >> confdefs.h <<EOF
10778 #define $ac_tr_func 1
10782 echo "$ac_t""no" 1>&6
10788 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
10789 echo "configure:10790: checking for _atan2f declaration" >&5
10790 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
10791 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
10792 echo $ac_n "(cached) $ac_c" 1>&6
10797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10798 ac_cpp='$CXXCPP $CPPFLAGS'
10799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10801 cross_compiling=$ac_cv_prog_cxx_cross
10803 cat > conftest.$ac_ext <<EOF
10804 #line 10805 "configure"
10805 #include "confdefs.h"
10811 if { (eval echo configure:10812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10813 glibcpp_cv_func__atan2f_use=yes
10815 echo "configure: failed program was:" >&5
10816 cat conftest.$ac_ext >&5
10818 glibcpp_cv_func__atan2f_use=no
10822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10823 ac_cpp='$CPP $CPPFLAGS'
10824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10826 cross_compiling=$ac_cv_prog_cc_cross
10832 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
10834 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
10835 for ac_func in _atan2f
10837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10838 echo "configure:10839: checking for $ac_func" >&5
10839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10840 echo $ac_n "(cached) $ac_c" 1>&6
10842 cat > conftest.$ac_ext <<EOF
10843 #line 10844 "configure"
10844 #include "confdefs.h"
10845 /* System header to define __stub macros and hopefully few prototypes,
10846 which can conflict with char $ac_func(); below. */
10847 #include <assert.h>
10848 /* Override any gcc2 internal prototype to avoid an error. */
10849 /* We use char because int might match the return type of a gcc2
10850 builtin and then its argument prototype would still apply. */
10855 /* The GNU C library defines this for functions which it implements
10856 to always fail with ENOSYS. Some functions are actually named
10857 something starting with __ and the normal name is an alias. */
10858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10866 if { (eval echo configure:10867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10868 eval "ac_cv_func_$ac_func=yes"
10870 echo "configure: failed program was:" >&5
10871 cat conftest.$ac_ext >&5
10873 eval "ac_cv_func_$ac_func=no"
10878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10879 echo "$ac_t""yes" 1>&6
10880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10881 cat >> confdefs.h <<EOF
10882 #define $ac_tr_func 1
10886 echo "$ac_t""no" 1>&6
10895 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
10896 echo "configure:10897: checking for fabsf declaration" >&5
10897 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
10898 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
10899 echo $ac_n "(cached) $ac_c" 1>&6
10904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10905 ac_cpp='$CXXCPP $CPPFLAGS'
10906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10908 cross_compiling=$ac_cv_prog_cxx_cross
10910 cat > conftest.$ac_ext <<EOF
10911 #line 10912 "configure"
10912 #include "confdefs.h"
10914 #ifdef HAVE_IEEEFP_H
10915 #include <ieeefp.h>
10922 if { (eval echo configure:10923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10924 glibcpp_cv_func_fabsf_use=yes
10926 echo "configure: failed program was:" >&5
10927 cat conftest.$ac_ext >&5
10929 glibcpp_cv_func_fabsf_use=no
10933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10934 ac_cpp='$CPP $CPPFLAGS'
10935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10937 cross_compiling=$ac_cv_prog_cc_cross
10943 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
10945 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
10946 for ac_func in fabsf
10948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10949 echo "configure:10950: checking for $ac_func" >&5
10950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10951 echo $ac_n "(cached) $ac_c" 1>&6
10953 cat > conftest.$ac_ext <<EOF
10954 #line 10955 "configure"
10955 #include "confdefs.h"
10956 /* System header to define __stub macros and hopefully few prototypes,
10957 which can conflict with char $ac_func(); below. */
10958 #include <assert.h>
10959 /* Override any gcc2 internal prototype to avoid an error. */
10960 /* We use char because int might match the return type of a gcc2
10961 builtin and then its argument prototype would still apply. */
10966 /* The GNU C library defines this for functions which it implements
10967 to always fail with ENOSYS. Some functions are actually named
10968 something starting with __ and the normal name is an alias. */
10969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10977 if { (eval echo configure:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10979 eval "ac_cv_func_$ac_func=yes"
10981 echo "configure: failed program was:" >&5
10982 cat conftest.$ac_ext >&5
10984 eval "ac_cv_func_$ac_func=no"
10989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10990 echo "$ac_t""yes" 1>&6
10991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10992 cat >> confdefs.h <<EOF
10993 #define $ac_tr_func 1
10997 echo "$ac_t""no" 1>&6
11003 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
11004 echo "configure:11005: checking for _fabsf declaration" >&5
11005 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
11006 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
11007 echo $ac_n "(cached) $ac_c" 1>&6
11012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11013 ac_cpp='$CXXCPP $CPPFLAGS'
11014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11016 cross_compiling=$ac_cv_prog_cxx_cross
11018 cat > conftest.$ac_ext <<EOF
11019 #line 11020 "configure"
11020 #include "confdefs.h"
11022 #ifdef HAVE_IEEEFP_H
11023 #include <ieeefp.h>
11030 if { (eval echo configure:11031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11032 glibcpp_cv_func__fabsf_use=yes
11034 echo "configure: failed program was:" >&5
11035 cat conftest.$ac_ext >&5
11037 glibcpp_cv_func__fabsf_use=no
11041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11042 ac_cpp='$CPP $CPPFLAGS'
11043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11045 cross_compiling=$ac_cv_prog_cc_cross
11051 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
11053 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
11054 for ac_func in _fabsf
11056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11057 echo "configure:11058: checking for $ac_func" >&5
11058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11059 echo $ac_n "(cached) $ac_c" 1>&6
11061 cat > conftest.$ac_ext <<EOF
11062 #line 11063 "configure"
11063 #include "confdefs.h"
11064 /* System header to define __stub macros and hopefully few prototypes,
11065 which can conflict with char $ac_func(); below. */
11066 #include <assert.h>
11067 /* Override any gcc2 internal prototype to avoid an error. */
11068 /* We use char because int might match the return type of a gcc2
11069 builtin and then its argument prototype would still apply. */
11074 /* The GNU C library defines this for functions which it implements
11075 to always fail with ENOSYS. Some functions are actually named
11076 something starting with __ and the normal name is an alias. */
11077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11085 if { (eval echo configure:11086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11087 eval "ac_cv_func_$ac_func=yes"
11089 echo "configure: failed program was:" >&5
11090 cat conftest.$ac_ext >&5
11092 eval "ac_cv_func_$ac_func=no"
11097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11098 echo "$ac_t""yes" 1>&6
11099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11100 cat >> confdefs.h <<EOF
11101 #define $ac_tr_func 1
11105 echo "$ac_t""no" 1>&6
11114 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
11115 echo "configure:11116: checking for fmodf declaration" >&5
11116 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
11117 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
11118 echo $ac_n "(cached) $ac_c" 1>&6
11123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11124 ac_cpp='$CXXCPP $CPPFLAGS'
11125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11127 cross_compiling=$ac_cv_prog_cxx_cross
11129 cat > conftest.$ac_ext <<EOF
11130 #line 11131 "configure"
11131 #include "confdefs.h"
11137 if { (eval echo configure:11138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11139 glibcpp_cv_func_fmodf_use=yes
11141 echo "configure: failed program was:" >&5
11142 cat conftest.$ac_ext >&5
11144 glibcpp_cv_func_fmodf_use=no
11148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11149 ac_cpp='$CPP $CPPFLAGS'
11150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11152 cross_compiling=$ac_cv_prog_cc_cross
11158 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
11160 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11161 for ac_func in fmodf
11163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11164 echo "configure:11165: checking for $ac_func" >&5
11165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11166 echo $ac_n "(cached) $ac_c" 1>&6
11168 cat > conftest.$ac_ext <<EOF
11169 #line 11170 "configure"
11170 #include "confdefs.h"
11171 /* System header to define __stub macros and hopefully few prototypes,
11172 which can conflict with char $ac_func(); below. */
11173 #include <assert.h>
11174 /* Override any gcc2 internal prototype to avoid an error. */
11175 /* We use char because int might match the return type of a gcc2
11176 builtin and then its argument prototype would still apply. */
11181 /* The GNU C library defines this for functions which it implements
11182 to always fail with ENOSYS. Some functions are actually named
11183 something starting with __ and the normal name is an alias. */
11184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11192 if { (eval echo configure:11193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11194 eval "ac_cv_func_$ac_func=yes"
11196 echo "configure: failed program was:" >&5
11197 cat conftest.$ac_ext >&5
11199 eval "ac_cv_func_$ac_func=no"
11204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11205 echo "$ac_t""yes" 1>&6
11206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11207 cat >> confdefs.h <<EOF
11208 #define $ac_tr_func 1
11212 echo "$ac_t""no" 1>&6
11218 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
11219 echo "configure:11220: checking for _fmodf declaration" >&5
11220 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
11221 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11228 ac_cpp='$CXXCPP $CPPFLAGS'
11229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11231 cross_compiling=$ac_cv_prog_cxx_cross
11233 cat > conftest.$ac_ext <<EOF
11234 #line 11235 "configure"
11235 #include "confdefs.h"
11241 if { (eval echo configure:11242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11243 glibcpp_cv_func__fmodf_use=yes
11245 echo "configure: failed program was:" >&5
11246 cat conftest.$ac_ext >&5
11248 glibcpp_cv_func__fmodf_use=no
11252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11253 ac_cpp='$CPP $CPPFLAGS'
11254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11256 cross_compiling=$ac_cv_prog_cc_cross
11262 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
11264 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
11265 for ac_func in _fmodf
11267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11268 echo "configure:11269: checking for $ac_func" >&5
11269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11270 echo $ac_n "(cached) $ac_c" 1>&6
11272 cat > conftest.$ac_ext <<EOF
11273 #line 11274 "configure"
11274 #include "confdefs.h"
11275 /* System header to define __stub macros and hopefully few prototypes,
11276 which can conflict with char $ac_func(); below. */
11277 #include <assert.h>
11278 /* Override any gcc2 internal prototype to avoid an error. */
11279 /* We use char because int might match the return type of a gcc2
11280 builtin and then its argument prototype would still apply. */
11285 /* The GNU C library defines this for functions which it implements
11286 to always fail with ENOSYS. Some functions are actually named
11287 something starting with __ and the normal name is an alias. */
11288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11296 if { (eval echo configure:11297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11298 eval "ac_cv_func_$ac_func=yes"
11300 echo "configure: failed program was:" >&5
11301 cat conftest.$ac_ext >&5
11303 eval "ac_cv_func_$ac_func=no"
11308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11309 echo "$ac_t""yes" 1>&6
11310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11311 cat >> confdefs.h <<EOF
11312 #define $ac_tr_func 1
11316 echo "$ac_t""no" 1>&6
11325 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
11326 echo "configure:11327: checking for frexpf declaration" >&5
11327 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
11328 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
11329 echo $ac_n "(cached) $ac_c" 1>&6
11334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11335 ac_cpp='$CXXCPP $CPPFLAGS'
11336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11338 cross_compiling=$ac_cv_prog_cxx_cross
11340 cat > conftest.$ac_ext <<EOF
11341 #line 11342 "configure"
11342 #include "confdefs.h"
11348 if { (eval echo configure:11349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11350 glibcpp_cv_func_frexpf_use=yes
11352 echo "configure: failed program was:" >&5
11353 cat conftest.$ac_ext >&5
11355 glibcpp_cv_func_frexpf_use=no
11359 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11360 ac_cpp='$CPP $CPPFLAGS'
11361 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11362 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11363 cross_compiling=$ac_cv_prog_cc_cross
11369 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
11371 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
11372 for ac_func in frexpf
11374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11375 echo "configure:11376: checking for $ac_func" >&5
11376 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11377 echo $ac_n "(cached) $ac_c" 1>&6
11379 cat > conftest.$ac_ext <<EOF
11380 #line 11381 "configure"
11381 #include "confdefs.h"
11382 /* System header to define __stub macros and hopefully few prototypes,
11383 which can conflict with char $ac_func(); below. */
11384 #include <assert.h>
11385 /* Override any gcc2 internal prototype to avoid an error. */
11386 /* We use char because int might match the return type of a gcc2
11387 builtin and then its argument prototype would still apply. */
11392 /* The GNU C library defines this for functions which it implements
11393 to always fail with ENOSYS. Some functions are actually named
11394 something starting with __ and the normal name is an alias. */
11395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11403 if { (eval echo configure:11404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11405 eval "ac_cv_func_$ac_func=yes"
11407 echo "configure: failed program was:" >&5
11408 cat conftest.$ac_ext >&5
11410 eval "ac_cv_func_$ac_func=no"
11415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11416 echo "$ac_t""yes" 1>&6
11417 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11418 cat >> confdefs.h <<EOF
11419 #define $ac_tr_func 1
11423 echo "$ac_t""no" 1>&6
11429 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
11430 echo "configure:11431: checking for _frexpf declaration" >&5
11431 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
11432 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
11433 echo $ac_n "(cached) $ac_c" 1>&6
11438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11439 ac_cpp='$CXXCPP $CPPFLAGS'
11440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11442 cross_compiling=$ac_cv_prog_cxx_cross
11444 cat > conftest.$ac_ext <<EOF
11445 #line 11446 "configure"
11446 #include "confdefs.h"
11452 if { (eval echo configure:11453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11454 glibcpp_cv_func__frexpf_use=yes
11456 echo "configure: failed program was:" >&5
11457 cat conftest.$ac_ext >&5
11459 glibcpp_cv_func__frexpf_use=no
11463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11464 ac_cpp='$CPP $CPPFLAGS'
11465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11467 cross_compiling=$ac_cv_prog_cc_cross
11473 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
11475 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
11476 for ac_func in _frexpf
11478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11479 echo "configure:11480: checking for $ac_func" >&5
11480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11481 echo $ac_n "(cached) $ac_c" 1>&6
11483 cat > conftest.$ac_ext <<EOF
11484 #line 11485 "configure"
11485 #include "confdefs.h"
11486 /* System header to define __stub macros and hopefully few prototypes,
11487 which can conflict with char $ac_func(); below. */
11488 #include <assert.h>
11489 /* Override any gcc2 internal prototype to avoid an error. */
11490 /* We use char because int might match the return type of a gcc2
11491 builtin and then its argument prototype would still apply. */
11496 /* The GNU C library defines this for functions which it implements
11497 to always fail with ENOSYS. Some functions are actually named
11498 something starting with __ and the normal name is an alias. */
11499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11507 if { (eval echo configure:11508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11509 eval "ac_cv_func_$ac_func=yes"
11511 echo "configure: failed program was:" >&5
11512 cat conftest.$ac_ext >&5
11514 eval "ac_cv_func_$ac_func=no"
11519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11520 echo "$ac_t""yes" 1>&6
11521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11522 cat >> confdefs.h <<EOF
11523 #define $ac_tr_func 1
11527 echo "$ac_t""no" 1>&6
11536 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
11537 echo "configure:11538: checking for hypotf declaration" >&5
11538 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
11539 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
11540 echo $ac_n "(cached) $ac_c" 1>&6
11545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11546 ac_cpp='$CXXCPP $CPPFLAGS'
11547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11549 cross_compiling=$ac_cv_prog_cxx_cross
11551 cat > conftest.$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11559 if { (eval echo configure:11560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11561 glibcpp_cv_func_hypotf_use=yes
11563 echo "configure: failed program was:" >&5
11564 cat conftest.$ac_ext >&5
11566 glibcpp_cv_func_hypotf_use=no
11570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11571 ac_cpp='$CPP $CPPFLAGS'
11572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11574 cross_compiling=$ac_cv_prog_cc_cross
11580 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
11582 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
11583 for ac_func in hypotf
11585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11586 echo "configure:11587: checking for $ac_func" >&5
11587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11588 echo $ac_n "(cached) $ac_c" 1>&6
11590 cat > conftest.$ac_ext <<EOF
11591 #line 11592 "configure"
11592 #include "confdefs.h"
11593 /* System header to define __stub macros and hopefully few prototypes,
11594 which can conflict with char $ac_func(); below. */
11595 #include <assert.h>
11596 /* Override any gcc2 internal prototype to avoid an error. */
11597 /* We use char because int might match the return type of a gcc2
11598 builtin and then its argument prototype would still apply. */
11603 /* The GNU C library defines this for functions which it implements
11604 to always fail with ENOSYS. Some functions are actually named
11605 something starting with __ and the normal name is an alias. */
11606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11614 if { (eval echo configure:11615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11616 eval "ac_cv_func_$ac_func=yes"
11618 echo "configure: failed program was:" >&5
11619 cat conftest.$ac_ext >&5
11621 eval "ac_cv_func_$ac_func=no"
11626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11627 echo "$ac_t""yes" 1>&6
11628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11629 cat >> confdefs.h <<EOF
11630 #define $ac_tr_func 1
11634 echo "$ac_t""no" 1>&6
11640 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
11641 echo "configure:11642: checking for _hypotf declaration" >&5
11642 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
11643 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
11644 echo $ac_n "(cached) $ac_c" 1>&6
11649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11650 ac_cpp='$CXXCPP $CPPFLAGS'
11651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11653 cross_compiling=$ac_cv_prog_cxx_cross
11655 cat > conftest.$ac_ext <<EOF
11656 #line 11657 "configure"
11657 #include "confdefs.h"
11663 if { (eval echo configure:11664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11665 glibcpp_cv_func__hypotf_use=yes
11667 echo "configure: failed program was:" >&5
11668 cat conftest.$ac_ext >&5
11670 glibcpp_cv_func__hypotf_use=no
11674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11675 ac_cpp='$CPP $CPPFLAGS'
11676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11678 cross_compiling=$ac_cv_prog_cc_cross
11684 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
11686 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
11687 for ac_func in _hypotf
11689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11690 echo "configure:11691: checking for $ac_func" >&5
11691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11692 echo $ac_n "(cached) $ac_c" 1>&6
11694 cat > conftest.$ac_ext <<EOF
11695 #line 11696 "configure"
11696 #include "confdefs.h"
11697 /* System header to define __stub macros and hopefully few prototypes,
11698 which can conflict with char $ac_func(); below. */
11699 #include <assert.h>
11700 /* Override any gcc2 internal prototype to avoid an error. */
11701 /* We use char because int might match the return type of a gcc2
11702 builtin and then its argument prototype would still apply. */
11707 /* The GNU C library defines this for functions which it implements
11708 to always fail with ENOSYS. Some functions are actually named
11709 something starting with __ and the normal name is an alias. */
11710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11718 if { (eval echo configure:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11720 eval "ac_cv_func_$ac_func=yes"
11722 echo "configure: failed program was:" >&5
11723 cat conftest.$ac_ext >&5
11725 eval "ac_cv_func_$ac_func=no"
11730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11731 echo "$ac_t""yes" 1>&6
11732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11733 cat >> confdefs.h <<EOF
11734 #define $ac_tr_func 1
11738 echo "$ac_t""no" 1>&6
11747 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
11748 echo "configure:11749: checking for ldexpf declaration" >&5
11749 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
11750 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
11751 echo $ac_n "(cached) $ac_c" 1>&6
11756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11757 ac_cpp='$CXXCPP $CPPFLAGS'
11758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11760 cross_compiling=$ac_cv_prog_cxx_cross
11762 cat > conftest.$ac_ext <<EOF
11763 #line 11764 "configure"
11764 #include "confdefs.h"
11770 if { (eval echo configure:11771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11772 glibcpp_cv_func_ldexpf_use=yes
11774 echo "configure: failed program was:" >&5
11775 cat conftest.$ac_ext >&5
11777 glibcpp_cv_func_ldexpf_use=no
11781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11782 ac_cpp='$CPP $CPPFLAGS'
11783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11785 cross_compiling=$ac_cv_prog_cc_cross
11791 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
11793 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
11794 for ac_func in ldexpf
11796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11797 echo "configure:11798: checking for $ac_func" >&5
11798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11799 echo $ac_n "(cached) $ac_c" 1>&6
11801 cat > conftest.$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11804 /* System header to define __stub macros and hopefully few prototypes,
11805 which can conflict with char $ac_func(); below. */
11806 #include <assert.h>
11807 /* Override any gcc2 internal prototype to avoid an error. */
11808 /* We use char because int might match the return type of a gcc2
11809 builtin and then its argument prototype would still apply. */
11814 /* The GNU C library defines this for functions which it implements
11815 to always fail with ENOSYS. Some functions are actually named
11816 something starting with __ and the normal name is an alias. */
11817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11825 if { (eval echo configure:11826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11827 eval "ac_cv_func_$ac_func=yes"
11829 echo "configure: failed program was:" >&5
11830 cat conftest.$ac_ext >&5
11832 eval "ac_cv_func_$ac_func=no"
11837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11838 echo "$ac_t""yes" 1>&6
11839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11840 cat >> confdefs.h <<EOF
11841 #define $ac_tr_func 1
11845 echo "$ac_t""no" 1>&6
11851 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
11852 echo "configure:11853: checking for _ldexpf declaration" >&5
11853 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
11854 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
11855 echo $ac_n "(cached) $ac_c" 1>&6
11860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11864 cross_compiling=$ac_cv_prog_cxx_cross
11866 cat > conftest.$ac_ext <<EOF
11867 #line 11868 "configure"
11868 #include "confdefs.h"
11874 if { (eval echo configure:11875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11876 glibcpp_cv_func__ldexpf_use=yes
11878 echo "configure: failed program was:" >&5
11879 cat conftest.$ac_ext >&5
11881 glibcpp_cv_func__ldexpf_use=no
11885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11886 ac_cpp='$CPP $CPPFLAGS'
11887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11889 cross_compiling=$ac_cv_prog_cc_cross
11895 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
11897 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
11898 for ac_func in _ldexpf
11900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11901 echo "configure:11902: checking for $ac_func" >&5
11902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11903 echo $ac_n "(cached) $ac_c" 1>&6
11905 cat > conftest.$ac_ext <<EOF
11906 #line 11907 "configure"
11907 #include "confdefs.h"
11908 /* System header to define __stub macros and hopefully few prototypes,
11909 which can conflict with char $ac_func(); below. */
11910 #include <assert.h>
11911 /* Override any gcc2 internal prototype to avoid an error. */
11912 /* We use char because int might match the return type of a gcc2
11913 builtin and then its argument prototype would still apply. */
11918 /* The GNU C library defines this for functions which it implements
11919 to always fail with ENOSYS. Some functions are actually named
11920 something starting with __ and the normal name is an alias. */
11921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11929 if { (eval echo configure:11930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11931 eval "ac_cv_func_$ac_func=yes"
11933 echo "configure: failed program was:" >&5
11934 cat conftest.$ac_ext >&5
11936 eval "ac_cv_func_$ac_func=no"
11941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11942 echo "$ac_t""yes" 1>&6
11943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11944 cat >> confdefs.h <<EOF
11945 #define $ac_tr_func 1
11949 echo "$ac_t""no" 1>&6
11958 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
11959 echo "configure:11960: checking for logf declaration" >&5
11960 if test x${glibcpp_cv_func_logf_use+set} != xset; then
11961 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11968 ac_cpp='$CXXCPP $CPPFLAGS'
11969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11971 cross_compiling=$ac_cv_prog_cxx_cross
11973 cat > conftest.$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11977 #ifdef HAVE_IEEEFP_H
11978 #include <ieeefp.h>
11985 if { (eval echo configure:11986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11987 glibcpp_cv_func_logf_use=yes
11989 echo "configure: failed program was:" >&5
11990 cat conftest.$ac_ext >&5
11992 glibcpp_cv_func_logf_use=no
11996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11997 ac_cpp='$CPP $CPPFLAGS'
11998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12000 cross_compiling=$ac_cv_prog_cc_cross
12006 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
12008 if test x$glibcpp_cv_func_logf_use = x"yes"; then
12009 for ac_func in logf
12011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12012 echo "configure:12013: checking for $ac_func" >&5
12013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12014 echo $ac_n "(cached) $ac_c" 1>&6
12016 cat > conftest.$ac_ext <<EOF
12017 #line 12018 "configure"
12018 #include "confdefs.h"
12019 /* System header to define __stub macros and hopefully few prototypes,
12020 which can conflict with char $ac_func(); below. */
12021 #include <assert.h>
12022 /* Override any gcc2 internal prototype to avoid an error. */
12023 /* We use char because int might match the return type of a gcc2
12024 builtin and then its argument prototype would still apply. */
12029 /* The GNU C library defines this for functions which it implements
12030 to always fail with ENOSYS. Some functions are actually named
12031 something starting with __ and the normal name is an alias. */
12032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12040 if { (eval echo configure:12041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12042 eval "ac_cv_func_$ac_func=yes"
12044 echo "configure: failed program was:" >&5
12045 cat conftest.$ac_ext >&5
12047 eval "ac_cv_func_$ac_func=no"
12052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12053 echo "$ac_t""yes" 1>&6
12054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12055 cat >> confdefs.h <<EOF
12056 #define $ac_tr_func 1
12060 echo "$ac_t""no" 1>&6
12066 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
12067 echo "configure:12068: checking for _logf declaration" >&5
12068 if test x${glibcpp_cv_func__logf_use+set} != xset; then
12069 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
12070 echo $ac_n "(cached) $ac_c" 1>&6
12075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12076 ac_cpp='$CXXCPP $CPPFLAGS'
12077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12079 cross_compiling=$ac_cv_prog_cxx_cross
12081 cat > conftest.$ac_ext <<EOF
12082 #line 12083 "configure"
12083 #include "confdefs.h"
12085 #ifdef HAVE_IEEEFP_H
12086 #include <ieeefp.h>
12093 if { (eval echo configure:12094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12095 glibcpp_cv_func__logf_use=yes
12097 echo "configure: failed program was:" >&5
12098 cat conftest.$ac_ext >&5
12100 glibcpp_cv_func__logf_use=no
12104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12105 ac_cpp='$CPP $CPPFLAGS'
12106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12108 cross_compiling=$ac_cv_prog_cc_cross
12114 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
12116 if test x$glibcpp_cv_func__logf_use = x"yes"; then
12117 for ac_func in _logf
12119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12120 echo "configure:12121: checking for $ac_func" >&5
12121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12122 echo $ac_n "(cached) $ac_c" 1>&6
12124 cat > conftest.$ac_ext <<EOF
12125 #line 12126 "configure"
12126 #include "confdefs.h"
12127 /* System header to define __stub macros and hopefully few prototypes,
12128 which can conflict with char $ac_func(); below. */
12129 #include <assert.h>
12130 /* Override any gcc2 internal prototype to avoid an error. */
12131 /* We use char because int might match the return type of a gcc2
12132 builtin and then its argument prototype would still apply. */
12137 /* The GNU C library defines this for functions which it implements
12138 to always fail with ENOSYS. Some functions are actually named
12139 something starting with __ and the normal name is an alias. */
12140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12148 if { (eval echo configure:12149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12150 eval "ac_cv_func_$ac_func=yes"
12152 echo "configure: failed program was:" >&5
12153 cat conftest.$ac_ext >&5
12155 eval "ac_cv_func_$ac_func=no"
12160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12161 echo "$ac_t""yes" 1>&6
12162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12163 cat >> confdefs.h <<EOF
12164 #define $ac_tr_func 1
12168 echo "$ac_t""no" 1>&6
12177 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
12178 echo "configure:12179: checking for log10f declaration" >&5
12179 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
12180 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
12181 echo $ac_n "(cached) $ac_c" 1>&6
12186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12187 ac_cpp='$CXXCPP $CPPFLAGS'
12188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12190 cross_compiling=$ac_cv_prog_cxx_cross
12192 cat > conftest.$ac_ext <<EOF
12193 #line 12194 "configure"
12194 #include "confdefs.h"
12196 #ifdef HAVE_IEEEFP_H
12197 #include <ieeefp.h>
12204 if { (eval echo configure:12205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12206 glibcpp_cv_func_log10f_use=yes
12208 echo "configure: failed program was:" >&5
12209 cat conftest.$ac_ext >&5
12211 glibcpp_cv_func_log10f_use=no
12215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12216 ac_cpp='$CPP $CPPFLAGS'
12217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12219 cross_compiling=$ac_cv_prog_cc_cross
12225 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
12227 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
12228 for ac_func in log10f
12230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12231 echo "configure:12232: checking for $ac_func" >&5
12232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12233 echo $ac_n "(cached) $ac_c" 1>&6
12235 cat > conftest.$ac_ext <<EOF
12236 #line 12237 "configure"
12237 #include "confdefs.h"
12238 /* System header to define __stub macros and hopefully few prototypes,
12239 which can conflict with char $ac_func(); below. */
12240 #include <assert.h>
12241 /* Override any gcc2 internal prototype to avoid an error. */
12242 /* We use char because int might match the return type of a gcc2
12243 builtin and then its argument prototype would still apply. */
12248 /* The GNU C library defines this for functions which it implements
12249 to always fail with ENOSYS. Some functions are actually named
12250 something starting with __ and the normal name is an alias. */
12251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12259 if { (eval echo configure:12260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12261 eval "ac_cv_func_$ac_func=yes"
12263 echo "configure: failed program was:" >&5
12264 cat conftest.$ac_ext >&5
12266 eval "ac_cv_func_$ac_func=no"
12271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12272 echo "$ac_t""yes" 1>&6
12273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12274 cat >> confdefs.h <<EOF
12275 #define $ac_tr_func 1
12279 echo "$ac_t""no" 1>&6
12285 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
12286 echo "configure:12287: checking for _log10f declaration" >&5
12287 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
12288 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
12289 echo $ac_n "(cached) $ac_c" 1>&6
12294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12295 ac_cpp='$CXXCPP $CPPFLAGS'
12296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12298 cross_compiling=$ac_cv_prog_cxx_cross
12300 cat > conftest.$ac_ext <<EOF
12301 #line 12302 "configure"
12302 #include "confdefs.h"
12304 #ifdef HAVE_IEEEFP_H
12305 #include <ieeefp.h>
12312 if { (eval echo configure:12313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12314 glibcpp_cv_func__log10f_use=yes
12316 echo "configure: failed program was:" >&5
12317 cat conftest.$ac_ext >&5
12319 glibcpp_cv_func__log10f_use=no
12323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12324 ac_cpp='$CPP $CPPFLAGS'
12325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12327 cross_compiling=$ac_cv_prog_cc_cross
12333 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
12335 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
12336 for ac_func in _log10f
12338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12339 echo "configure:12340: checking for $ac_func" >&5
12340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12341 echo $ac_n "(cached) $ac_c" 1>&6
12343 cat > conftest.$ac_ext <<EOF
12344 #line 12345 "configure"
12345 #include "confdefs.h"
12346 /* System header to define __stub macros and hopefully few prototypes,
12347 which can conflict with char $ac_func(); below. */
12348 #include <assert.h>
12349 /* Override any gcc2 internal prototype to avoid an error. */
12350 /* We use char because int might match the return type of a gcc2
12351 builtin and then its argument prototype would still apply. */
12356 /* The GNU C library defines this for functions which it implements
12357 to always fail with ENOSYS. Some functions are actually named
12358 something starting with __ and the normal name is an alias. */
12359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12367 if { (eval echo configure:12368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12369 eval "ac_cv_func_$ac_func=yes"
12371 echo "configure: failed program was:" >&5
12372 cat conftest.$ac_ext >&5
12374 eval "ac_cv_func_$ac_func=no"
12379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12380 echo "$ac_t""yes" 1>&6
12381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12382 cat >> confdefs.h <<EOF
12383 #define $ac_tr_func 1
12387 echo "$ac_t""no" 1>&6
12396 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
12397 echo "configure:12398: checking for modff declaration" >&5
12398 if test x${glibcpp_cv_func_modff_use+set} != xset; then
12399 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
12400 echo $ac_n "(cached) $ac_c" 1>&6
12405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12406 ac_cpp='$CXXCPP $CPPFLAGS'
12407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12409 cross_compiling=$ac_cv_prog_cxx_cross
12411 cat > conftest.$ac_ext <<EOF
12412 #line 12413 "configure"
12413 #include "confdefs.h"
12419 if { (eval echo configure:12420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12421 glibcpp_cv_func_modff_use=yes
12423 echo "configure: failed program was:" >&5
12424 cat conftest.$ac_ext >&5
12426 glibcpp_cv_func_modff_use=no
12430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12431 ac_cpp='$CPP $CPPFLAGS'
12432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12434 cross_compiling=$ac_cv_prog_cc_cross
12440 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
12442 if test x$glibcpp_cv_func_modff_use = x"yes"; then
12443 for ac_func in modff
12445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12446 echo "configure:12447: checking for $ac_func" >&5
12447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12448 echo $ac_n "(cached) $ac_c" 1>&6
12450 cat > conftest.$ac_ext <<EOF
12451 #line 12452 "configure"
12452 #include "confdefs.h"
12453 /* System header to define __stub macros and hopefully few prototypes,
12454 which can conflict with char $ac_func(); below. */
12455 #include <assert.h>
12456 /* Override any gcc2 internal prototype to avoid an error. */
12457 /* We use char because int might match the return type of a gcc2
12458 builtin and then its argument prototype would still apply. */
12463 /* The GNU C library defines this for functions which it implements
12464 to always fail with ENOSYS. Some functions are actually named
12465 something starting with __ and the normal name is an alias. */
12466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12474 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12476 eval "ac_cv_func_$ac_func=yes"
12478 echo "configure: failed program was:" >&5
12479 cat conftest.$ac_ext >&5
12481 eval "ac_cv_func_$ac_func=no"
12486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12487 echo "$ac_t""yes" 1>&6
12488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12489 cat >> confdefs.h <<EOF
12490 #define $ac_tr_func 1
12494 echo "$ac_t""no" 1>&6
12500 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
12501 echo "configure:12502: checking for _modff declaration" >&5
12502 if test x${glibcpp_cv_func__modff_use+set} != xset; then
12503 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
12504 echo $ac_n "(cached) $ac_c" 1>&6
12509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12510 ac_cpp='$CXXCPP $CPPFLAGS'
12511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12513 cross_compiling=$ac_cv_prog_cxx_cross
12515 cat > conftest.$ac_ext <<EOF
12516 #line 12517 "configure"
12517 #include "confdefs.h"
12523 if { (eval echo configure:12524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12525 glibcpp_cv_func__modff_use=yes
12527 echo "configure: failed program was:" >&5
12528 cat conftest.$ac_ext >&5
12530 glibcpp_cv_func__modff_use=no
12534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12535 ac_cpp='$CPP $CPPFLAGS'
12536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12538 cross_compiling=$ac_cv_prog_cc_cross
12544 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
12546 if test x$glibcpp_cv_func__modff_use = x"yes"; then
12547 for ac_func in _modff
12549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12550 echo "configure:12551: checking for $ac_func" >&5
12551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12552 echo $ac_n "(cached) $ac_c" 1>&6
12554 cat > conftest.$ac_ext <<EOF
12555 #line 12556 "configure"
12556 #include "confdefs.h"
12557 /* System header to define __stub macros and hopefully few prototypes,
12558 which can conflict with char $ac_func(); below. */
12559 #include <assert.h>
12560 /* Override any gcc2 internal prototype to avoid an error. */
12561 /* We use char because int might match the return type of a gcc2
12562 builtin and then its argument prototype would still apply. */
12567 /* The GNU C library defines this for functions which it implements
12568 to always fail with ENOSYS. Some functions are actually named
12569 something starting with __ and the normal name is an alias. */
12570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12578 if { (eval echo configure:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12580 eval "ac_cv_func_$ac_func=yes"
12582 echo "configure: failed program was:" >&5
12583 cat conftest.$ac_ext >&5
12585 eval "ac_cv_func_$ac_func=no"
12590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12591 echo "$ac_t""yes" 1>&6
12592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12593 cat >> confdefs.h <<EOF
12594 #define $ac_tr_func 1
12598 echo "$ac_t""no" 1>&6
12607 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
12608 echo "configure:12609: checking for powf declaration" >&5
12609 if test x${glibcpp_cv_func_powf_use+set} != xset; then
12610 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
12611 echo $ac_n "(cached) $ac_c" 1>&6
12616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12617 ac_cpp='$CXXCPP $CPPFLAGS'
12618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12620 cross_compiling=$ac_cv_prog_cxx_cross
12622 cat > conftest.$ac_ext <<EOF
12623 #line 12624 "configure"
12624 #include "confdefs.h"
12630 if { (eval echo configure:12631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12632 glibcpp_cv_func_powf_use=yes
12634 echo "configure: failed program was:" >&5
12635 cat conftest.$ac_ext >&5
12637 glibcpp_cv_func_powf_use=no
12641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12642 ac_cpp='$CPP $CPPFLAGS'
12643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12645 cross_compiling=$ac_cv_prog_cc_cross
12651 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
12653 if test x$glibcpp_cv_func_powf_use = x"yes"; then
12654 for ac_func in powf
12656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12657 echo "configure:12658: checking for $ac_func" >&5
12658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12659 echo $ac_n "(cached) $ac_c" 1>&6
12661 cat > conftest.$ac_ext <<EOF
12662 #line 12663 "configure"
12663 #include "confdefs.h"
12664 /* System header to define __stub macros and hopefully few prototypes,
12665 which can conflict with char $ac_func(); below. */
12666 #include <assert.h>
12667 /* Override any gcc2 internal prototype to avoid an error. */
12668 /* We use char because int might match the return type of a gcc2
12669 builtin and then its argument prototype would still apply. */
12674 /* The GNU C library defines this for functions which it implements
12675 to always fail with ENOSYS. Some functions are actually named
12676 something starting with __ and the normal name is an alias. */
12677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12685 if { (eval echo configure:12686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12687 eval "ac_cv_func_$ac_func=yes"
12689 echo "configure: failed program was:" >&5
12690 cat conftest.$ac_ext >&5
12692 eval "ac_cv_func_$ac_func=no"
12697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12698 echo "$ac_t""yes" 1>&6
12699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12700 cat >> confdefs.h <<EOF
12701 #define $ac_tr_func 1
12705 echo "$ac_t""no" 1>&6
12711 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
12712 echo "configure:12713: checking for _powf declaration" >&5
12713 if test x${glibcpp_cv_func__powf_use+set} != xset; then
12714 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
12715 echo $ac_n "(cached) $ac_c" 1>&6
12720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12721 ac_cpp='$CXXCPP $CPPFLAGS'
12722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12724 cross_compiling=$ac_cv_prog_cxx_cross
12726 cat > conftest.$ac_ext <<EOF
12727 #line 12728 "configure"
12728 #include "confdefs.h"
12734 if { (eval echo configure:12735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12736 glibcpp_cv_func__powf_use=yes
12738 echo "configure: failed program was:" >&5
12739 cat conftest.$ac_ext >&5
12741 glibcpp_cv_func__powf_use=no
12745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12746 ac_cpp='$CPP $CPPFLAGS'
12747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12749 cross_compiling=$ac_cv_prog_cc_cross
12755 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
12757 if test x$glibcpp_cv_func__powf_use = x"yes"; then
12758 for ac_func in _powf
12760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12761 echo "configure:12762: checking for $ac_func" >&5
12762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12763 echo $ac_n "(cached) $ac_c" 1>&6
12765 cat > conftest.$ac_ext <<EOF
12766 #line 12767 "configure"
12767 #include "confdefs.h"
12768 /* System header to define __stub macros and hopefully few prototypes,
12769 which can conflict with char $ac_func(); below. */
12770 #include <assert.h>
12771 /* Override any gcc2 internal prototype to avoid an error. */
12772 /* We use char because int might match the return type of a gcc2
12773 builtin and then its argument prototype would still apply. */
12778 /* The GNU C library defines this for functions which it implements
12779 to always fail with ENOSYS. Some functions are actually named
12780 something starting with __ and the normal name is an alias. */
12781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12789 if { (eval echo configure:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12791 eval "ac_cv_func_$ac_func=yes"
12793 echo "configure: failed program was:" >&5
12794 cat conftest.$ac_ext >&5
12796 eval "ac_cv_func_$ac_func=no"
12801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12802 echo "$ac_t""yes" 1>&6
12803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12804 cat >> confdefs.h <<EOF
12805 #define $ac_tr_func 1
12809 echo "$ac_t""no" 1>&6
12818 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
12819 echo "configure:12820: checking for sqrtf declaration" >&5
12820 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
12821 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
12822 echo $ac_n "(cached) $ac_c" 1>&6
12827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12828 ac_cpp='$CXXCPP $CPPFLAGS'
12829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12831 cross_compiling=$ac_cv_prog_cxx_cross
12833 cat > conftest.$ac_ext <<EOF
12834 #line 12835 "configure"
12835 #include "confdefs.h"
12837 #ifdef HAVE_IEEEFP_H
12838 #include <ieeefp.h>
12845 if { (eval echo configure:12846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12847 glibcpp_cv_func_sqrtf_use=yes
12849 echo "configure: failed program was:" >&5
12850 cat conftest.$ac_ext >&5
12852 glibcpp_cv_func_sqrtf_use=no
12856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12857 ac_cpp='$CPP $CPPFLAGS'
12858 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12859 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12860 cross_compiling=$ac_cv_prog_cc_cross
12866 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
12868 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
12869 for ac_func in sqrtf
12871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12872 echo "configure:12873: checking for $ac_func" >&5
12873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12874 echo $ac_n "(cached) $ac_c" 1>&6
12876 cat > conftest.$ac_ext <<EOF
12877 #line 12878 "configure"
12878 #include "confdefs.h"
12879 /* System header to define __stub macros and hopefully few prototypes,
12880 which can conflict with char $ac_func(); below. */
12881 #include <assert.h>
12882 /* Override any gcc2 internal prototype to avoid an error. */
12883 /* We use char because int might match the return type of a gcc2
12884 builtin and then its argument prototype would still apply. */
12889 /* The GNU C library defines this for functions which it implements
12890 to always fail with ENOSYS. Some functions are actually named
12891 something starting with __ and the normal name is an alias. */
12892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12900 if { (eval echo configure:12901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12902 eval "ac_cv_func_$ac_func=yes"
12904 echo "configure: failed program was:" >&5
12905 cat conftest.$ac_ext >&5
12907 eval "ac_cv_func_$ac_func=no"
12912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12913 echo "$ac_t""yes" 1>&6
12914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12915 cat >> confdefs.h <<EOF
12916 #define $ac_tr_func 1
12920 echo "$ac_t""no" 1>&6
12926 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
12927 echo "configure:12928: checking for _sqrtf declaration" >&5
12928 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12929 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12930 echo $ac_n "(cached) $ac_c" 1>&6
12935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12936 ac_cpp='$CXXCPP $CPPFLAGS'
12937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12939 cross_compiling=$ac_cv_prog_cxx_cross
12941 cat > conftest.$ac_ext <<EOF
12942 #line 12943 "configure"
12943 #include "confdefs.h"
12945 #ifdef HAVE_IEEEFP_H
12946 #include <ieeefp.h>
12953 if { (eval echo configure:12954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12955 glibcpp_cv_func__sqrtf_use=yes
12957 echo "configure: failed program was:" >&5
12958 cat conftest.$ac_ext >&5
12960 glibcpp_cv_func__sqrtf_use=no
12964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12965 ac_cpp='$CPP $CPPFLAGS'
12966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12968 cross_compiling=$ac_cv_prog_cc_cross
12974 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12976 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12977 for ac_func in _sqrtf
12979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12980 echo "configure:12981: checking for $ac_func" >&5
12981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12982 echo $ac_n "(cached) $ac_c" 1>&6
12984 cat > conftest.$ac_ext <<EOF
12985 #line 12986 "configure"
12986 #include "confdefs.h"
12987 /* System header to define __stub macros and hopefully few prototypes,
12988 which can conflict with char $ac_func(); below. */
12989 #include <assert.h>
12990 /* Override any gcc2 internal prototype to avoid an error. */
12991 /* We use char because int might match the return type of a gcc2
12992 builtin and then its argument prototype would still apply. */
12997 /* The GNU C library defines this for functions which it implements
12998 to always fail with ENOSYS. Some functions are actually named
12999 something starting with __ and the normal name is an alias. */
13000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13008 if { (eval echo configure:13009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13010 eval "ac_cv_func_$ac_func=yes"
13012 echo "configure: failed program was:" >&5
13013 cat conftest.$ac_ext >&5
13015 eval "ac_cv_func_$ac_func=no"
13020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13021 echo "$ac_t""yes" 1>&6
13022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13023 cat >> confdefs.h <<EOF
13024 #define $ac_tr_func 1
13028 echo "$ac_t""no" 1>&6
13037 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
13038 echo "configure:13039: checking for sincosf declaration" >&5
13039 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
13040 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
13041 echo $ac_n "(cached) $ac_c" 1>&6
13046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13047 ac_cpp='$CXXCPP $CPPFLAGS'
13048 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13049 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13050 cross_compiling=$ac_cv_prog_cxx_cross
13052 cat > conftest.$ac_ext <<EOF
13053 #line 13054 "configure"
13054 #include "confdefs.h"
13060 if { (eval echo configure:13061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13062 glibcpp_cv_func_sincosf_use=yes
13064 echo "configure: failed program was:" >&5
13065 cat conftest.$ac_ext >&5
13067 glibcpp_cv_func_sincosf_use=no
13071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13072 ac_cpp='$CPP $CPPFLAGS'
13073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13075 cross_compiling=$ac_cv_prog_cc_cross
13081 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
13083 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
13084 for ac_func in sincosf
13086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13087 echo "configure:13088: checking for $ac_func" >&5
13088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13089 echo $ac_n "(cached) $ac_c" 1>&6
13091 cat > conftest.$ac_ext <<EOF
13092 #line 13093 "configure"
13093 #include "confdefs.h"
13094 /* System header to define __stub macros and hopefully few prototypes,
13095 which can conflict with char $ac_func(); below. */
13096 #include <assert.h>
13097 /* Override any gcc2 internal prototype to avoid an error. */
13098 /* We use char because int might match the return type of a gcc2
13099 builtin and then its argument prototype would still apply. */
13104 /* The GNU C library defines this for functions which it implements
13105 to always fail with ENOSYS. Some functions are actually named
13106 something starting with __ and the normal name is an alias. */
13107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13115 if { (eval echo configure:13116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13117 eval "ac_cv_func_$ac_func=yes"
13119 echo "configure: failed program was:" >&5
13120 cat conftest.$ac_ext >&5
13122 eval "ac_cv_func_$ac_func=no"
13127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13128 echo "$ac_t""yes" 1>&6
13129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13130 cat >> confdefs.h <<EOF
13131 #define $ac_tr_func 1
13135 echo "$ac_t""no" 1>&6
13141 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
13142 echo "configure:13143: checking for _sincosf declaration" >&5
13143 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13144 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13145 echo $ac_n "(cached) $ac_c" 1>&6
13150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13151 ac_cpp='$CXXCPP $CPPFLAGS'
13152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13154 cross_compiling=$ac_cv_prog_cxx_cross
13156 cat > conftest.$ac_ext <<EOF
13157 #line 13158 "configure"
13158 #include "confdefs.h"
13164 if { (eval echo configure:13165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13166 glibcpp_cv_func__sincosf_use=yes
13168 echo "configure: failed program was:" >&5
13169 cat conftest.$ac_ext >&5
13171 glibcpp_cv_func__sincosf_use=no
13175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13176 ac_cpp='$CPP $CPPFLAGS'
13177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13179 cross_compiling=$ac_cv_prog_cc_cross
13185 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
13187 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
13188 for ac_func in _sincosf
13190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13191 echo "configure:13192: checking for $ac_func" >&5
13192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13193 echo $ac_n "(cached) $ac_c" 1>&6
13195 cat > conftest.$ac_ext <<EOF
13196 #line 13197 "configure"
13197 #include "confdefs.h"
13198 /* System header to define __stub macros and hopefully few prototypes,
13199 which can conflict with char $ac_func(); below. */
13200 #include <assert.h>
13201 /* Override any gcc2 internal prototype to avoid an error. */
13202 /* We use char because int might match the return type of a gcc2
13203 builtin and then its argument prototype would still apply. */
13208 /* The GNU C library defines this for functions which it implements
13209 to always fail with ENOSYS. Some functions are actually named
13210 something starting with __ and the normal name is an alias. */
13211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13219 if { (eval echo configure:13220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13221 eval "ac_cv_func_$ac_func=yes"
13223 echo "configure: failed program was:" >&5
13224 cat conftest.$ac_ext >&5
13226 eval "ac_cv_func_$ac_func=no"
13231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13232 echo "$ac_t""yes" 1>&6
13233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13234 cat >> confdefs.h <<EOF
13235 #define $ac_tr_func 1
13239 echo "$ac_t""no" 1>&6
13248 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
13249 echo "configure:13250: checking for finitef declaration" >&5
13250 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
13251 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
13252 echo $ac_n "(cached) $ac_c" 1>&6
13257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13258 ac_cpp='$CXXCPP $CPPFLAGS'
13259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13261 cross_compiling=$ac_cv_prog_cxx_cross
13263 cat > conftest.$ac_ext <<EOF
13264 #line 13265 "configure"
13265 #include "confdefs.h"
13267 #ifdef HAVE_IEEEFP_H
13268 #include <ieeefp.h>
13275 if { (eval echo configure:13276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13277 glibcpp_cv_func_finitef_use=yes
13279 echo "configure: failed program was:" >&5
13280 cat conftest.$ac_ext >&5
13282 glibcpp_cv_func_finitef_use=no
13286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13287 ac_cpp='$CPP $CPPFLAGS'
13288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13290 cross_compiling=$ac_cv_prog_cc_cross
13296 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
13298 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
13299 for ac_func in finitef
13301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13302 echo "configure:13303: checking for $ac_func" >&5
13303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13304 echo $ac_n "(cached) $ac_c" 1>&6
13306 cat > conftest.$ac_ext <<EOF
13307 #line 13308 "configure"
13308 #include "confdefs.h"
13309 /* System header to define __stub macros and hopefully few prototypes,
13310 which can conflict with char $ac_func(); below. */
13311 #include <assert.h>
13312 /* Override any gcc2 internal prototype to avoid an error. */
13313 /* We use char because int might match the return type of a gcc2
13314 builtin and then its argument prototype would still apply. */
13319 /* The GNU C library defines this for functions which it implements
13320 to always fail with ENOSYS. Some functions are actually named
13321 something starting with __ and the normal name is an alias. */
13322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13330 if { (eval echo configure:13331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13332 eval "ac_cv_func_$ac_func=yes"
13334 echo "configure: failed program was:" >&5
13335 cat conftest.$ac_ext >&5
13337 eval "ac_cv_func_$ac_func=no"
13342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13343 echo "$ac_t""yes" 1>&6
13344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13345 cat >> confdefs.h <<EOF
13346 #define $ac_tr_func 1
13350 echo "$ac_t""no" 1>&6
13356 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
13357 echo "configure:13358: checking for _finitef declaration" >&5
13358 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
13359 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
13360 echo $ac_n "(cached) $ac_c" 1>&6
13365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13366 ac_cpp='$CXXCPP $CPPFLAGS'
13367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13369 cross_compiling=$ac_cv_prog_cxx_cross
13371 cat > conftest.$ac_ext <<EOF
13372 #line 13373 "configure"
13373 #include "confdefs.h"
13375 #ifdef HAVE_IEEEFP_H
13376 #include <ieeefp.h>
13383 if { (eval echo configure:13384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13385 glibcpp_cv_func__finitef_use=yes
13387 echo "configure: failed program was:" >&5
13388 cat conftest.$ac_ext >&5
13390 glibcpp_cv_func__finitef_use=no
13394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13395 ac_cpp='$CPP $CPPFLAGS'
13396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13398 cross_compiling=$ac_cv_prog_cc_cross
13404 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
13406 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
13407 for ac_func in _finitef
13409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13410 echo "configure:13411: checking for $ac_func" >&5
13411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13412 echo $ac_n "(cached) $ac_c" 1>&6
13414 cat > conftest.$ac_ext <<EOF
13415 #line 13416 "configure"
13416 #include "confdefs.h"
13417 /* System header to define __stub macros and hopefully few prototypes,
13418 which can conflict with char $ac_func(); below. */
13419 #include <assert.h>
13420 /* Override any gcc2 internal prototype to avoid an error. */
13421 /* We use char because int might match the return type of a gcc2
13422 builtin and then its argument prototype would still apply. */
13427 /* The GNU C library defines this for functions which it implements
13428 to always fail with ENOSYS. Some functions are actually named
13429 something starting with __ and the normal name is an alias. */
13430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13440 eval "ac_cv_func_$ac_func=yes"
13442 echo "configure: failed program was:" >&5
13443 cat conftest.$ac_ext >&5
13445 eval "ac_cv_func_$ac_func=no"
13450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13451 echo "$ac_t""yes" 1>&6
13452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13453 cat >> confdefs.h <<EOF
13454 #define $ac_tr_func 1
13458 echo "$ac_t""no" 1>&6
13467 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
13468 echo "configure:13469: checking for long double trig functions" >&5
13469 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
13470 echo $ac_n "(cached) $ac_c" 1>&6
13475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13476 ac_cpp='$CXXCPP $CPPFLAGS'
13477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13479 cross_compiling=$ac_cv_prog_cxx_cross
13481 cat > conftest.$ac_ext <<EOF
13482 #line 13483 "configure"
13483 #include "confdefs.h"
13486 `for x in acosl asinl atanl \
13488 coshl sinhl tanhl; do echo "$x (0);"; done`
13491 if { (eval echo configure:13492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13493 glibcpp_cv_func_long_double_trig_use=yes
13495 echo "configure: failed program was:" >&5
13496 cat conftest.$ac_ext >&5
13498 glibcpp_cv_func_long_double_trig_use=no
13502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13503 ac_cpp='$CPP $CPPFLAGS'
13504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13506 cross_compiling=$ac_cv_prog_cc_cross
13510 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
13511 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
13512 for ac_func in acosl asinl atanl \
13516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13517 echo "configure:13518: checking for $ac_func" >&5
13518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13519 echo $ac_n "(cached) $ac_c" 1>&6
13521 cat > conftest.$ac_ext <<EOF
13522 #line 13523 "configure"
13523 #include "confdefs.h"
13524 /* System header to define __stub macros and hopefully few prototypes,
13525 which can conflict with char $ac_func(); below. */
13526 #include <assert.h>
13527 /* Override any gcc2 internal prototype to avoid an error. */
13528 /* We use char because int might match the return type of a gcc2
13529 builtin and then its argument prototype would still apply. */
13534 /* The GNU C library defines this for functions which it implements
13535 to always fail with ENOSYS. Some functions are actually named
13536 something starting with __ and the normal name is an alias. */
13537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13545 if { (eval echo configure:13546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13547 eval "ac_cv_func_$ac_func=yes"
13549 echo "configure: failed program was:" >&5
13550 cat conftest.$ac_ext >&5
13552 eval "ac_cv_func_$ac_func=no"
13557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13558 echo "$ac_t""yes" 1>&6
13559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13560 cat >> confdefs.h <<EOF
13561 #define $ac_tr_func 1
13565 echo "$ac_t""no" 1>&6
13572 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
13573 echo "configure:13574: checking for long double round functions" >&5
13574 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
13575 echo $ac_n "(cached) $ac_c" 1>&6
13580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13581 ac_cpp='$CXXCPP $CPPFLAGS'
13582 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13583 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13584 cross_compiling=$ac_cv_prog_cxx_cross
13586 cat > conftest.$ac_ext <<EOF
13587 #line 13588 "configure"
13588 #include "confdefs.h"
13591 `for x in ceill floorl; do echo "$x (0);"; done`
13594 if { (eval echo configure:13595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13596 glibcpp_cv_func_long_double_round_use=yes
13598 echo "configure: failed program was:" >&5
13599 cat conftest.$ac_ext >&5
13601 glibcpp_cv_func_long_double_round_use=no
13605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13606 ac_cpp='$CPP $CPPFLAGS'
13607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13609 cross_compiling=$ac_cv_prog_cc_cross
13613 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
13614 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
13615 for ac_func in ceill floorl
13617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13618 echo "configure:13619: checking for $ac_func" >&5
13619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13620 echo $ac_n "(cached) $ac_c" 1>&6
13622 cat > conftest.$ac_ext <<EOF
13623 #line 13624 "configure"
13624 #include "confdefs.h"
13625 /* System header to define __stub macros and hopefully few prototypes,
13626 which can conflict with char $ac_func(); below. */
13627 #include <assert.h>
13628 /* Override any gcc2 internal prototype to avoid an error. */
13629 /* We use char because int might match the return type of a gcc2
13630 builtin and then its argument prototype would still apply. */
13635 /* The GNU C library defines this for functions which it implements
13636 to always fail with ENOSYS. Some functions are actually named
13637 something starting with __ and the normal name is an alias. */
13638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13646 if { (eval echo configure:13647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13648 eval "ac_cv_func_$ac_func=yes"
13650 echo "configure: failed program was:" >&5
13651 cat conftest.$ac_ext >&5
13653 eval "ac_cv_func_$ac_func=no"
13658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13659 echo "$ac_t""yes" 1>&6
13660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13661 cat >> confdefs.h <<EOF
13662 #define $ac_tr_func 1
13666 echo "$ac_t""no" 1>&6
13674 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
13675 echo "configure:13676: checking for isnanl declaration" >&5
13676 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
13677 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
13678 echo $ac_n "(cached) $ac_c" 1>&6
13683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13684 ac_cpp='$CXXCPP $CPPFLAGS'
13685 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13686 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13687 cross_compiling=$ac_cv_prog_cxx_cross
13689 cat > conftest.$ac_ext <<EOF
13690 #line 13691 "configure"
13691 #include "confdefs.h"
13693 #ifdef HAVE_IEEEFP_H
13694 #include <ieeefp.h>
13701 if { (eval echo configure:13702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13703 glibcpp_cv_func_isnanl_use=yes
13705 echo "configure: failed program was:" >&5
13706 cat conftest.$ac_ext >&5
13708 glibcpp_cv_func_isnanl_use=no
13712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13713 ac_cpp='$CPP $CPPFLAGS'
13714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13716 cross_compiling=$ac_cv_prog_cc_cross
13722 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
13724 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
13725 for ac_func in isnanl
13727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13728 echo "configure:13729: checking for $ac_func" >&5
13729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13730 echo $ac_n "(cached) $ac_c" 1>&6
13732 cat > conftest.$ac_ext <<EOF
13733 #line 13734 "configure"
13734 #include "confdefs.h"
13735 /* System header to define __stub macros and hopefully few prototypes,
13736 which can conflict with char $ac_func(); below. */
13737 #include <assert.h>
13738 /* Override any gcc2 internal prototype to avoid an error. */
13739 /* We use char because int might match the return type of a gcc2
13740 builtin and then its argument prototype would still apply. */
13745 /* The GNU C library defines this for functions which it implements
13746 to always fail with ENOSYS. Some functions are actually named
13747 something starting with __ and the normal name is an alias. */
13748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13756 if { (eval echo configure:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13758 eval "ac_cv_func_$ac_func=yes"
13760 echo "configure: failed program was:" >&5
13761 cat conftest.$ac_ext >&5
13763 eval "ac_cv_func_$ac_func=no"
13768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13769 echo "$ac_t""yes" 1>&6
13770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13771 cat >> confdefs.h <<EOF
13772 #define $ac_tr_func 1
13776 echo "$ac_t""no" 1>&6
13782 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
13783 echo "configure:13784: checking for _isnanl declaration" >&5
13784 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
13785 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
13786 echo $ac_n "(cached) $ac_c" 1>&6
13791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13792 ac_cpp='$CXXCPP $CPPFLAGS'
13793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13795 cross_compiling=$ac_cv_prog_cxx_cross
13797 cat > conftest.$ac_ext <<EOF
13798 #line 13799 "configure"
13799 #include "confdefs.h"
13801 #ifdef HAVE_IEEEFP_H
13802 #include <ieeefp.h>
13809 if { (eval echo configure:13810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13811 glibcpp_cv_func__isnanl_use=yes
13813 echo "configure: failed program was:" >&5
13814 cat conftest.$ac_ext >&5
13816 glibcpp_cv_func__isnanl_use=no
13820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13821 ac_cpp='$CPP $CPPFLAGS'
13822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13824 cross_compiling=$ac_cv_prog_cc_cross
13830 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
13832 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
13833 for ac_func in _isnanl
13835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13836 echo "configure:13837: checking for $ac_func" >&5
13837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13838 echo $ac_n "(cached) $ac_c" 1>&6
13840 cat > conftest.$ac_ext <<EOF
13841 #line 13842 "configure"
13842 #include "confdefs.h"
13843 /* System header to define __stub macros and hopefully few prototypes,
13844 which can conflict with char $ac_func(); below. */
13845 #include <assert.h>
13846 /* Override any gcc2 internal prototype to avoid an error. */
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13853 /* The GNU C library defines this for functions which it implements
13854 to always fail with ENOSYS. Some functions are actually named
13855 something starting with __ and the normal name is an alias. */
13856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13864 if { (eval echo configure:13865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13866 eval "ac_cv_func_$ac_func=yes"
13868 echo "configure: failed program was:" >&5
13869 cat conftest.$ac_ext >&5
13871 eval "ac_cv_func_$ac_func=no"
13876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13877 echo "$ac_t""yes" 1>&6
13878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13879 cat >> confdefs.h <<EOF
13880 #define $ac_tr_func 1
13884 echo "$ac_t""no" 1>&6
13893 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
13894 echo "configure:13895: checking for isinfl declaration" >&5
13895 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
13896 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
13897 echo $ac_n "(cached) $ac_c" 1>&6
13902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13903 ac_cpp='$CXXCPP $CPPFLAGS'
13904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13906 cross_compiling=$ac_cv_prog_cxx_cross
13908 cat > conftest.$ac_ext <<EOF
13909 #line 13910 "configure"
13910 #include "confdefs.h"
13912 #ifdef HAVE_IEEEFP_H
13913 #include <ieeefp.h>
13920 if { (eval echo configure:13921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13922 glibcpp_cv_func_isinfl_use=yes
13924 echo "configure: failed program was:" >&5
13925 cat conftest.$ac_ext >&5
13927 glibcpp_cv_func_isinfl_use=no
13931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13932 ac_cpp='$CPP $CPPFLAGS'
13933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13935 cross_compiling=$ac_cv_prog_cc_cross
13941 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
13943 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
13944 for ac_func in isinfl
13946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13947 echo "configure:13948: checking for $ac_func" >&5
13948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13949 echo $ac_n "(cached) $ac_c" 1>&6
13951 cat > conftest.$ac_ext <<EOF
13952 #line 13953 "configure"
13953 #include "confdefs.h"
13954 /* System header to define __stub macros and hopefully few prototypes,
13955 which can conflict with char $ac_func(); below. */
13956 #include <assert.h>
13957 /* Override any gcc2 internal prototype to avoid an error. */
13958 /* We use char because int might match the return type of a gcc2
13959 builtin and then its argument prototype would still apply. */
13964 /* The GNU C library defines this for functions which it implements
13965 to always fail with ENOSYS. Some functions are actually named
13966 something starting with __ and the normal name is an alias. */
13967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13975 if { (eval echo configure:13976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13977 eval "ac_cv_func_$ac_func=yes"
13979 echo "configure: failed program was:" >&5
13980 cat conftest.$ac_ext >&5
13982 eval "ac_cv_func_$ac_func=no"
13987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13988 echo "$ac_t""yes" 1>&6
13989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13990 cat >> confdefs.h <<EOF
13991 #define $ac_tr_func 1
13995 echo "$ac_t""no" 1>&6
14001 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14002 echo "configure:14003: checking for _isinfl declaration" >&5
14003 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
14004 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14005 echo $ac_n "(cached) $ac_c" 1>&6
14010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14011 ac_cpp='$CXXCPP $CPPFLAGS'
14012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14014 cross_compiling=$ac_cv_prog_cxx_cross
14016 cat > conftest.$ac_ext <<EOF
14017 #line 14018 "configure"
14018 #include "confdefs.h"
14020 #ifdef HAVE_IEEEFP_H
14021 #include <ieeefp.h>
14028 if { (eval echo configure:14029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14030 glibcpp_cv_func__isinfl_use=yes
14032 echo "configure: failed program was:" >&5
14033 cat conftest.$ac_ext >&5
14035 glibcpp_cv_func__isinfl_use=no
14039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14040 ac_cpp='$CPP $CPPFLAGS'
14041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14043 cross_compiling=$ac_cv_prog_cc_cross
14049 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14051 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14052 for ac_func in _isinfl
14054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14055 echo "configure:14056: checking for $ac_func" >&5
14056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14057 echo $ac_n "(cached) $ac_c" 1>&6
14059 cat > conftest.$ac_ext <<EOF
14060 #line 14061 "configure"
14061 #include "confdefs.h"
14062 /* System header to define __stub macros and hopefully few prototypes,
14063 which can conflict with char $ac_func(); below. */
14064 #include <assert.h>
14065 /* Override any gcc2 internal prototype to avoid an error. */
14066 /* We use char because int might match the return type of a gcc2
14067 builtin and then its argument prototype would still apply. */
14072 /* The GNU C library defines this for functions which it implements
14073 to always fail with ENOSYS. Some functions are actually named
14074 something starting with __ and the normal name is an alias. */
14075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14085 eval "ac_cv_func_$ac_func=yes"
14087 echo "configure: failed program was:" >&5
14088 cat conftest.$ac_ext >&5
14090 eval "ac_cv_func_$ac_func=no"
14095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14096 echo "$ac_t""yes" 1>&6
14097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14098 cat >> confdefs.h <<EOF
14099 #define $ac_tr_func 1
14103 echo "$ac_t""no" 1>&6
14112 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
14113 echo "configure:14114: checking for copysignl declaration" >&5
14114 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
14115 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
14116 echo $ac_n "(cached) $ac_c" 1>&6
14121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14122 ac_cpp='$CXXCPP $CPPFLAGS'
14123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14125 cross_compiling=$ac_cv_prog_cxx_cross
14127 cat > conftest.$ac_ext <<EOF
14128 #line 14129 "configure"
14129 #include "confdefs.h"
14135 if { (eval echo configure:14136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14137 glibcpp_cv_func_copysignl_use=yes
14139 echo "configure: failed program was:" >&5
14140 cat conftest.$ac_ext >&5
14142 glibcpp_cv_func_copysignl_use=no
14146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14147 ac_cpp='$CPP $CPPFLAGS'
14148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14150 cross_compiling=$ac_cv_prog_cc_cross
14156 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14158 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14159 for ac_func in copysignl
14161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14162 echo "configure:14163: checking for $ac_func" >&5
14163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14164 echo $ac_n "(cached) $ac_c" 1>&6
14166 cat > conftest.$ac_ext <<EOF
14167 #line 14168 "configure"
14168 #include "confdefs.h"
14169 /* System header to define __stub macros and hopefully few prototypes,
14170 which can conflict with char $ac_func(); below. */
14171 #include <assert.h>
14172 /* Override any gcc2 internal prototype to avoid an error. */
14173 /* We use char because int might match the return type of a gcc2
14174 builtin and then its argument prototype would still apply. */
14179 /* The GNU C library defines this for functions which it implements
14180 to always fail with ENOSYS. Some functions are actually named
14181 something starting with __ and the normal name is an alias. */
14182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14190 if { (eval echo configure:14191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14192 eval "ac_cv_func_$ac_func=yes"
14194 echo "configure: failed program was:" >&5
14195 cat conftest.$ac_ext >&5
14197 eval "ac_cv_func_$ac_func=no"
14202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14203 echo "$ac_t""yes" 1>&6
14204 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14205 cat >> confdefs.h <<EOF
14206 #define $ac_tr_func 1
14210 echo "$ac_t""no" 1>&6
14216 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14217 echo "configure:14218: checking for _copysignl declaration" >&5
14218 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
14219 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14220 echo $ac_n "(cached) $ac_c" 1>&6
14225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14226 ac_cpp='$CXXCPP $CPPFLAGS'
14227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14229 cross_compiling=$ac_cv_prog_cxx_cross
14231 cat > conftest.$ac_ext <<EOF
14232 #line 14233 "configure"
14233 #include "confdefs.h"
14239 if { (eval echo configure:14240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14241 glibcpp_cv_func__copysignl_use=yes
14243 echo "configure: failed program was:" >&5
14244 cat conftest.$ac_ext >&5
14246 glibcpp_cv_func__copysignl_use=no
14250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14251 ac_cpp='$CPP $CPPFLAGS'
14252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14254 cross_compiling=$ac_cv_prog_cc_cross
14260 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14262 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14263 for ac_func in _copysignl
14265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14266 echo "configure:14267: checking for $ac_func" >&5
14267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14268 echo $ac_n "(cached) $ac_c" 1>&6
14270 cat > conftest.$ac_ext <<EOF
14271 #line 14272 "configure"
14272 #include "confdefs.h"
14273 /* System header to define __stub macros and hopefully few prototypes,
14274 which can conflict with char $ac_func(); below. */
14275 #include <assert.h>
14276 /* Override any gcc2 internal prototype to avoid an error. */
14277 /* We use char because int might match the return type of a gcc2
14278 builtin and then its argument prototype would still apply. */
14283 /* The GNU C library defines this for functions which it implements
14284 to always fail with ENOSYS. Some functions are actually named
14285 something starting with __ and the normal name is an alias. */
14286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14294 if { (eval echo configure:14295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14296 eval "ac_cv_func_$ac_func=yes"
14298 echo "configure: failed program was:" >&5
14299 cat conftest.$ac_ext >&5
14301 eval "ac_cv_func_$ac_func=no"
14306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14307 echo "$ac_t""yes" 1>&6
14308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14309 cat >> confdefs.h <<EOF
14310 #define $ac_tr_func 1
14314 echo "$ac_t""no" 1>&6
14323 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
14324 echo "configure:14325: checking for atan2l declaration" >&5
14325 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
14326 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
14327 echo $ac_n "(cached) $ac_c" 1>&6
14332 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14333 ac_cpp='$CXXCPP $CPPFLAGS'
14334 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14335 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14336 cross_compiling=$ac_cv_prog_cxx_cross
14338 cat > conftest.$ac_ext <<EOF
14339 #line 14340 "configure"
14340 #include "confdefs.h"
14346 if { (eval echo configure:14347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14348 glibcpp_cv_func_atan2l_use=yes
14350 echo "configure: failed program was:" >&5
14351 cat conftest.$ac_ext >&5
14353 glibcpp_cv_func_atan2l_use=no
14357 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14358 ac_cpp='$CPP $CPPFLAGS'
14359 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14360 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14361 cross_compiling=$ac_cv_prog_cc_cross
14367 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
14369 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
14370 for ac_func in atan2l
14372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14373 echo "configure:14374: checking for $ac_func" >&5
14374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14375 echo $ac_n "(cached) $ac_c" 1>&6
14377 cat > conftest.$ac_ext <<EOF
14378 #line 14379 "configure"
14379 #include "confdefs.h"
14380 /* System header to define __stub macros and hopefully few prototypes,
14381 which can conflict with char $ac_func(); below. */
14382 #include <assert.h>
14383 /* Override any gcc2 internal prototype to avoid an error. */
14384 /* We use char because int might match the return type of a gcc2
14385 builtin and then its argument prototype would still apply. */
14390 /* The GNU C library defines this for functions which it implements
14391 to always fail with ENOSYS. Some functions are actually named
14392 something starting with __ and the normal name is an alias. */
14393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14401 if { (eval echo configure:14402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14403 eval "ac_cv_func_$ac_func=yes"
14405 echo "configure: failed program was:" >&5
14406 cat conftest.$ac_ext >&5
14408 eval "ac_cv_func_$ac_func=no"
14413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14414 echo "$ac_t""yes" 1>&6
14415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14416 cat >> confdefs.h <<EOF
14417 #define $ac_tr_func 1
14421 echo "$ac_t""no" 1>&6
14427 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14428 echo "configure:14429: checking for _atan2l declaration" >&5
14429 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
14430 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14431 echo $ac_n "(cached) $ac_c" 1>&6
14436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14437 ac_cpp='$CXXCPP $CPPFLAGS'
14438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14440 cross_compiling=$ac_cv_prog_cxx_cross
14442 cat > conftest.$ac_ext <<EOF
14443 #line 14444 "configure"
14444 #include "confdefs.h"
14450 if { (eval echo configure:14451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14452 glibcpp_cv_func__atan2l_use=yes
14454 echo "configure: failed program was:" >&5
14455 cat conftest.$ac_ext >&5
14457 glibcpp_cv_func__atan2l_use=no
14461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14462 ac_cpp='$CPP $CPPFLAGS'
14463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14465 cross_compiling=$ac_cv_prog_cc_cross
14471 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14473 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14474 for ac_func in _atan2l
14476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14477 echo "configure:14478: checking for $ac_func" >&5
14478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14479 echo $ac_n "(cached) $ac_c" 1>&6
14481 cat > conftest.$ac_ext <<EOF
14482 #line 14483 "configure"
14483 #include "confdefs.h"
14484 /* System header to define __stub macros and hopefully few prototypes,
14485 which can conflict with char $ac_func(); below. */
14486 #include <assert.h>
14487 /* Override any gcc2 internal prototype to avoid an error. */
14488 /* We use char because int might match the return type of a gcc2
14489 builtin and then its argument prototype would still apply. */
14494 /* The GNU C library defines this for functions which it implements
14495 to always fail with ENOSYS. Some functions are actually named
14496 something starting with __ and the normal name is an alias. */
14497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14505 if { (eval echo configure:14506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14507 eval "ac_cv_func_$ac_func=yes"
14509 echo "configure: failed program was:" >&5
14510 cat conftest.$ac_ext >&5
14512 eval "ac_cv_func_$ac_func=no"
14517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14518 echo "$ac_t""yes" 1>&6
14519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14520 cat >> confdefs.h <<EOF
14521 #define $ac_tr_func 1
14525 echo "$ac_t""no" 1>&6
14534 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
14535 echo "configure:14536: checking for expl declaration" >&5
14536 if test x${glibcpp_cv_func_expl_use+set} != xset; then
14537 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
14538 echo $ac_n "(cached) $ac_c" 1>&6
14543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14544 ac_cpp='$CXXCPP $CPPFLAGS'
14545 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14546 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14547 cross_compiling=$ac_cv_prog_cxx_cross
14549 cat > conftest.$ac_ext <<EOF
14550 #line 14551 "configure"
14551 #include "confdefs.h"
14553 #ifdef HAVE_IEEEFP_H
14554 #include <ieeefp.h>
14561 if { (eval echo configure:14562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14563 glibcpp_cv_func_expl_use=yes
14565 echo "configure: failed program was:" >&5
14566 cat conftest.$ac_ext >&5
14568 glibcpp_cv_func_expl_use=no
14572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14573 ac_cpp='$CPP $CPPFLAGS'
14574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14576 cross_compiling=$ac_cv_prog_cc_cross
14582 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
14584 if test x$glibcpp_cv_func_expl_use = x"yes"; then
14585 for ac_func in expl
14587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14588 echo "configure:14589: checking for $ac_func" >&5
14589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14590 echo $ac_n "(cached) $ac_c" 1>&6
14592 cat > conftest.$ac_ext <<EOF
14593 #line 14594 "configure"
14594 #include "confdefs.h"
14595 /* System header to define __stub macros and hopefully few prototypes,
14596 which can conflict with char $ac_func(); below. */
14597 #include <assert.h>
14598 /* Override any gcc2 internal prototype to avoid an error. */
14599 /* We use char because int might match the return type of a gcc2
14600 builtin and then its argument prototype would still apply. */
14605 /* The GNU C library defines this for functions which it implements
14606 to always fail with ENOSYS. Some functions are actually named
14607 something starting with __ and the normal name is an alias. */
14608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14616 if { (eval echo configure:14617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14618 eval "ac_cv_func_$ac_func=yes"
14620 echo "configure: failed program was:" >&5
14621 cat conftest.$ac_ext >&5
14623 eval "ac_cv_func_$ac_func=no"
14628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14629 echo "$ac_t""yes" 1>&6
14630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14631 cat >> confdefs.h <<EOF
14632 #define $ac_tr_func 1
14636 echo "$ac_t""no" 1>&6
14642 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
14643 echo "configure:14644: checking for _expl declaration" >&5
14644 if test x${glibcpp_cv_func__expl_use+set} != xset; then
14645 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
14646 echo $ac_n "(cached) $ac_c" 1>&6
14651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14652 ac_cpp='$CXXCPP $CPPFLAGS'
14653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14655 cross_compiling=$ac_cv_prog_cxx_cross
14657 cat > conftest.$ac_ext <<EOF
14658 #line 14659 "configure"
14659 #include "confdefs.h"
14661 #ifdef HAVE_IEEEFP_H
14662 #include <ieeefp.h>
14669 if { (eval echo configure:14670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14671 glibcpp_cv_func__expl_use=yes
14673 echo "configure: failed program was:" >&5
14674 cat conftest.$ac_ext >&5
14676 glibcpp_cv_func__expl_use=no
14680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14681 ac_cpp='$CPP $CPPFLAGS'
14682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14684 cross_compiling=$ac_cv_prog_cc_cross
14690 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
14692 if test x$glibcpp_cv_func__expl_use = x"yes"; then
14693 for ac_func in _expl
14695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14696 echo "configure:14697: checking for $ac_func" >&5
14697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14698 echo $ac_n "(cached) $ac_c" 1>&6
14700 cat > conftest.$ac_ext <<EOF
14701 #line 14702 "configure"
14702 #include "confdefs.h"
14703 /* System header to define __stub macros and hopefully few prototypes,
14704 which can conflict with char $ac_func(); below. */
14705 #include <assert.h>
14706 /* Override any gcc2 internal prototype to avoid an error. */
14707 /* We use char because int might match the return type of a gcc2
14708 builtin and then its argument prototype would still apply. */
14713 /* The GNU C library defines this for functions which it implements
14714 to always fail with ENOSYS. Some functions are actually named
14715 something starting with __ and the normal name is an alias. */
14716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14724 if { (eval echo configure:14725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14726 eval "ac_cv_func_$ac_func=yes"
14728 echo "configure: failed program was:" >&5
14729 cat conftest.$ac_ext >&5
14731 eval "ac_cv_func_$ac_func=no"
14736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14737 echo "$ac_t""yes" 1>&6
14738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14739 cat >> confdefs.h <<EOF
14740 #define $ac_tr_func 1
14744 echo "$ac_t""no" 1>&6
14753 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
14754 echo "configure:14755: checking for fabsl declaration" >&5
14755 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
14756 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
14757 echo $ac_n "(cached) $ac_c" 1>&6
14762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14766 cross_compiling=$ac_cv_prog_cxx_cross
14768 cat > conftest.$ac_ext <<EOF
14769 #line 14770 "configure"
14770 #include "confdefs.h"
14772 #ifdef HAVE_IEEEFP_H
14773 #include <ieeefp.h>
14780 if { (eval echo configure:14781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14782 glibcpp_cv_func_fabsl_use=yes
14784 echo "configure: failed program was:" >&5
14785 cat conftest.$ac_ext >&5
14787 glibcpp_cv_func_fabsl_use=no
14791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14792 ac_cpp='$CPP $CPPFLAGS'
14793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14795 cross_compiling=$ac_cv_prog_cc_cross
14801 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
14803 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
14804 for ac_func in fabsl
14806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14807 echo "configure:14808: checking for $ac_func" >&5
14808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14809 echo $ac_n "(cached) $ac_c" 1>&6
14811 cat > conftest.$ac_ext <<EOF
14812 #line 14813 "configure"
14813 #include "confdefs.h"
14814 /* System header to define __stub macros and hopefully few prototypes,
14815 which can conflict with char $ac_func(); below. */
14816 #include <assert.h>
14817 /* Override any gcc2 internal prototype to avoid an error. */
14818 /* We use char because int might match the return type of a gcc2
14819 builtin and then its argument prototype would still apply. */
14824 /* The GNU C library defines this for functions which it implements
14825 to always fail with ENOSYS. Some functions are actually named
14826 something starting with __ and the normal name is an alias. */
14827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14835 if { (eval echo configure:14836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14837 eval "ac_cv_func_$ac_func=yes"
14839 echo "configure: failed program was:" >&5
14840 cat conftest.$ac_ext >&5
14842 eval "ac_cv_func_$ac_func=no"
14847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14848 echo "$ac_t""yes" 1>&6
14849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14850 cat >> confdefs.h <<EOF
14851 #define $ac_tr_func 1
14855 echo "$ac_t""no" 1>&6
14861 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
14862 echo "configure:14863: checking for _fabsl declaration" >&5
14863 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
14864 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
14865 echo $ac_n "(cached) $ac_c" 1>&6
14870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14871 ac_cpp='$CXXCPP $CPPFLAGS'
14872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14874 cross_compiling=$ac_cv_prog_cxx_cross
14876 cat > conftest.$ac_ext <<EOF
14877 #line 14878 "configure"
14878 #include "confdefs.h"
14880 #ifdef HAVE_IEEEFP_H
14881 #include <ieeefp.h>
14888 if { (eval echo configure:14889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14890 glibcpp_cv_func__fabsl_use=yes
14892 echo "configure: failed program was:" >&5
14893 cat conftest.$ac_ext >&5
14895 glibcpp_cv_func__fabsl_use=no
14899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14900 ac_cpp='$CPP $CPPFLAGS'
14901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14903 cross_compiling=$ac_cv_prog_cc_cross
14909 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
14911 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
14912 for ac_func in _fabsl
14914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14915 echo "configure:14916: checking for $ac_func" >&5
14916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14917 echo $ac_n "(cached) $ac_c" 1>&6
14919 cat > conftest.$ac_ext <<EOF
14920 #line 14921 "configure"
14921 #include "confdefs.h"
14922 /* System header to define __stub macros and hopefully few prototypes,
14923 which can conflict with char $ac_func(); below. */
14924 #include <assert.h>
14925 /* Override any gcc2 internal prototype to avoid an error. */
14926 /* We use char because int might match the return type of a gcc2
14927 builtin and then its argument prototype would still apply. */
14932 /* The GNU C library defines this for functions which it implements
14933 to always fail with ENOSYS. Some functions are actually named
14934 something starting with __ and the normal name is an alias. */
14935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14943 if { (eval echo configure:14944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14945 eval "ac_cv_func_$ac_func=yes"
14947 echo "configure: failed program was:" >&5
14948 cat conftest.$ac_ext >&5
14950 eval "ac_cv_func_$ac_func=no"
14955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14956 echo "$ac_t""yes" 1>&6
14957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14958 cat >> confdefs.h <<EOF
14959 #define $ac_tr_func 1
14963 echo "$ac_t""no" 1>&6
14972 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
14973 echo "configure:14974: checking for fmodl declaration" >&5
14974 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14975 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14976 echo $ac_n "(cached) $ac_c" 1>&6
14981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14982 ac_cpp='$CXXCPP $CPPFLAGS'
14983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14985 cross_compiling=$ac_cv_prog_cxx_cross
14987 cat > conftest.$ac_ext <<EOF
14988 #line 14989 "configure"
14989 #include "confdefs.h"
14995 if { (eval echo configure:14996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14997 glibcpp_cv_func_fmodl_use=yes
14999 echo "configure: failed program was:" >&5
15000 cat conftest.$ac_ext >&5
15002 glibcpp_cv_func_fmodl_use=no
15006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15007 ac_cpp='$CPP $CPPFLAGS'
15008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15010 cross_compiling=$ac_cv_prog_cc_cross
15016 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
15018 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
15019 for ac_func in fmodl
15021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15022 echo "configure:15023: checking for $ac_func" >&5
15023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15024 echo $ac_n "(cached) $ac_c" 1>&6
15026 cat > conftest.$ac_ext <<EOF
15027 #line 15028 "configure"
15028 #include "confdefs.h"
15029 /* System header to define __stub macros and hopefully few prototypes,
15030 which can conflict with char $ac_func(); below. */
15031 #include <assert.h>
15032 /* Override any gcc2 internal prototype to avoid an error. */
15033 /* We use char because int might match the return type of a gcc2
15034 builtin and then its argument prototype would still apply. */
15039 /* The GNU C library defines this for functions which it implements
15040 to always fail with ENOSYS. Some functions are actually named
15041 something starting with __ and the normal name is an alias. */
15042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15050 if { (eval echo configure:15051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15052 eval "ac_cv_func_$ac_func=yes"
15054 echo "configure: failed program was:" >&5
15055 cat conftest.$ac_ext >&5
15057 eval "ac_cv_func_$ac_func=no"
15062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15063 echo "$ac_t""yes" 1>&6
15064 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15065 cat >> confdefs.h <<EOF
15066 #define $ac_tr_func 1
15070 echo "$ac_t""no" 1>&6
15076 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15077 echo "configure:15078: checking for _fmodl declaration" >&5
15078 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
15079 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15080 echo $ac_n "(cached) $ac_c" 1>&6
15085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15086 ac_cpp='$CXXCPP $CPPFLAGS'
15087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15089 cross_compiling=$ac_cv_prog_cxx_cross
15091 cat > conftest.$ac_ext <<EOF
15092 #line 15093 "configure"
15093 #include "confdefs.h"
15099 if { (eval echo configure:15100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15101 glibcpp_cv_func__fmodl_use=yes
15103 echo "configure: failed program was:" >&5
15104 cat conftest.$ac_ext >&5
15106 glibcpp_cv_func__fmodl_use=no
15110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15111 ac_cpp='$CPP $CPPFLAGS'
15112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15114 cross_compiling=$ac_cv_prog_cc_cross
15120 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15122 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15123 for ac_func in _fmodl
15125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15126 echo "configure:15127: checking for $ac_func" >&5
15127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15128 echo $ac_n "(cached) $ac_c" 1>&6
15130 cat > conftest.$ac_ext <<EOF
15131 #line 15132 "configure"
15132 #include "confdefs.h"
15133 /* System header to define __stub macros and hopefully few prototypes,
15134 which can conflict with char $ac_func(); below. */
15135 #include <assert.h>
15136 /* Override any gcc2 internal prototype to avoid an error. */
15137 /* We use char because int might match the return type of a gcc2
15138 builtin and then its argument prototype would still apply. */
15143 /* The GNU C library defines this for functions which it implements
15144 to always fail with ENOSYS. Some functions are actually named
15145 something starting with __ and the normal name is an alias. */
15146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15154 if { (eval echo configure:15155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15156 eval "ac_cv_func_$ac_func=yes"
15158 echo "configure: failed program was:" >&5
15159 cat conftest.$ac_ext >&5
15161 eval "ac_cv_func_$ac_func=no"
15166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15167 echo "$ac_t""yes" 1>&6
15168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15169 cat >> confdefs.h <<EOF
15170 #define $ac_tr_func 1
15174 echo "$ac_t""no" 1>&6
15183 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
15184 echo "configure:15185: checking for frexpl declaration" >&5
15185 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
15186 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
15187 echo $ac_n "(cached) $ac_c" 1>&6
15192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15193 ac_cpp='$CXXCPP $CPPFLAGS'
15194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15196 cross_compiling=$ac_cv_prog_cxx_cross
15198 cat > conftest.$ac_ext <<EOF
15199 #line 15200 "configure"
15200 #include "confdefs.h"
15206 if { (eval echo configure:15207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15208 glibcpp_cv_func_frexpl_use=yes
15210 echo "configure: failed program was:" >&5
15211 cat conftest.$ac_ext >&5
15213 glibcpp_cv_func_frexpl_use=no
15217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15218 ac_cpp='$CPP $CPPFLAGS'
15219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15221 cross_compiling=$ac_cv_prog_cc_cross
15227 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
15229 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
15230 for ac_func in frexpl
15232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15233 echo "configure:15234: checking for $ac_func" >&5
15234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15235 echo $ac_n "(cached) $ac_c" 1>&6
15237 cat > conftest.$ac_ext <<EOF
15238 #line 15239 "configure"
15239 #include "confdefs.h"
15240 /* System header to define __stub macros and hopefully few prototypes,
15241 which can conflict with char $ac_func(); below. */
15242 #include <assert.h>
15243 /* Override any gcc2 internal prototype to avoid an error. */
15244 /* We use char because int might match the return type of a gcc2
15245 builtin and then its argument prototype would still apply. */
15250 /* The GNU C library defines this for functions which it implements
15251 to always fail with ENOSYS. Some functions are actually named
15252 something starting with __ and the normal name is an alias. */
15253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15261 if { (eval echo configure:15262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15263 eval "ac_cv_func_$ac_func=yes"
15265 echo "configure: failed program was:" >&5
15266 cat conftest.$ac_ext >&5
15268 eval "ac_cv_func_$ac_func=no"
15273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15274 echo "$ac_t""yes" 1>&6
15275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15276 cat >> confdefs.h <<EOF
15277 #define $ac_tr_func 1
15281 echo "$ac_t""no" 1>&6
15287 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15288 echo "configure:15289: checking for _frexpl declaration" >&5
15289 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
15290 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15291 echo $ac_n "(cached) $ac_c" 1>&6
15296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15297 ac_cpp='$CXXCPP $CPPFLAGS'
15298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15300 cross_compiling=$ac_cv_prog_cxx_cross
15302 cat > conftest.$ac_ext <<EOF
15303 #line 15304 "configure"
15304 #include "confdefs.h"
15310 if { (eval echo configure:15311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15312 glibcpp_cv_func__frexpl_use=yes
15314 echo "configure: failed program was:" >&5
15315 cat conftest.$ac_ext >&5
15317 glibcpp_cv_func__frexpl_use=no
15321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15325 cross_compiling=$ac_cv_prog_cc_cross
15331 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15333 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15334 for ac_func in _frexpl
15336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15337 echo "configure:15338: checking for $ac_func" >&5
15338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15339 echo $ac_n "(cached) $ac_c" 1>&6
15341 cat > conftest.$ac_ext <<EOF
15342 #line 15343 "configure"
15343 #include "confdefs.h"
15344 /* System header to define __stub macros and hopefully few prototypes,
15345 which can conflict with char $ac_func(); below. */
15346 #include <assert.h>
15347 /* Override any gcc2 internal prototype to avoid an error. */
15348 /* We use char because int might match the return type of a gcc2
15349 builtin and then its argument prototype would still apply. */
15354 /* The GNU C library defines this for functions which it implements
15355 to always fail with ENOSYS. Some functions are actually named
15356 something starting with __ and the normal name is an alias. */
15357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15365 if { (eval echo configure:15366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15367 eval "ac_cv_func_$ac_func=yes"
15369 echo "configure: failed program was:" >&5
15370 cat conftest.$ac_ext >&5
15372 eval "ac_cv_func_$ac_func=no"
15377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15378 echo "$ac_t""yes" 1>&6
15379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15380 cat >> confdefs.h <<EOF
15381 #define $ac_tr_func 1
15385 echo "$ac_t""no" 1>&6
15394 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
15395 echo "configure:15396: checking for hypotl declaration" >&5
15396 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
15397 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
15398 echo $ac_n "(cached) $ac_c" 1>&6
15403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15404 ac_cpp='$CXXCPP $CPPFLAGS'
15405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15407 cross_compiling=$ac_cv_prog_cxx_cross
15409 cat > conftest.$ac_ext <<EOF
15410 #line 15411 "configure"
15411 #include "confdefs.h"
15417 if { (eval echo configure:15418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15419 glibcpp_cv_func_hypotl_use=yes
15421 echo "configure: failed program was:" >&5
15422 cat conftest.$ac_ext >&5
15424 glibcpp_cv_func_hypotl_use=no
15428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15429 ac_cpp='$CPP $CPPFLAGS'
15430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15432 cross_compiling=$ac_cv_prog_cc_cross
15438 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
15440 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
15441 for ac_func in hypotl
15443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15444 echo "configure:15445: checking for $ac_func" >&5
15445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15446 echo $ac_n "(cached) $ac_c" 1>&6
15448 cat > conftest.$ac_ext <<EOF
15449 #line 15450 "configure"
15450 #include "confdefs.h"
15451 /* System header to define __stub macros and hopefully few prototypes,
15452 which can conflict with char $ac_func(); below. */
15453 #include <assert.h>
15454 /* Override any gcc2 internal prototype to avoid an error. */
15455 /* We use char because int might match the return type of a gcc2
15456 builtin and then its argument prototype would still apply. */
15461 /* The GNU C library defines this for functions which it implements
15462 to always fail with ENOSYS. Some functions are actually named
15463 something starting with __ and the normal name is an alias. */
15464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15472 if { (eval echo configure:15473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15474 eval "ac_cv_func_$ac_func=yes"
15476 echo "configure: failed program was:" >&5
15477 cat conftest.$ac_ext >&5
15479 eval "ac_cv_func_$ac_func=no"
15484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15485 echo "$ac_t""yes" 1>&6
15486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15487 cat >> confdefs.h <<EOF
15488 #define $ac_tr_func 1
15492 echo "$ac_t""no" 1>&6
15498 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
15499 echo "configure:15500: checking for _hypotl declaration" >&5
15500 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
15501 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
15502 echo $ac_n "(cached) $ac_c" 1>&6
15507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15508 ac_cpp='$CXXCPP $CPPFLAGS'
15509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15511 cross_compiling=$ac_cv_prog_cxx_cross
15513 cat > conftest.$ac_ext <<EOF
15514 #line 15515 "configure"
15515 #include "confdefs.h"
15521 if { (eval echo configure:15522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15523 glibcpp_cv_func__hypotl_use=yes
15525 echo "configure: failed program was:" >&5
15526 cat conftest.$ac_ext >&5
15528 glibcpp_cv_func__hypotl_use=no
15532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15536 cross_compiling=$ac_cv_prog_cc_cross
15542 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
15544 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
15545 for ac_func in _hypotl
15547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15548 echo "configure:15549: checking for $ac_func" >&5
15549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15550 echo $ac_n "(cached) $ac_c" 1>&6
15552 cat > conftest.$ac_ext <<EOF
15553 #line 15554 "configure"
15554 #include "confdefs.h"
15555 /* System header to define __stub macros and hopefully few prototypes,
15556 which can conflict with char $ac_func(); below. */
15557 #include <assert.h>
15558 /* Override any gcc2 internal prototype to avoid an error. */
15559 /* We use char because int might match the return type of a gcc2
15560 builtin and then its argument prototype would still apply. */
15565 /* The GNU C library defines this for functions which it implements
15566 to always fail with ENOSYS. Some functions are actually named
15567 something starting with __ and the normal name is an alias. */
15568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15576 if { (eval echo configure:15577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15578 eval "ac_cv_func_$ac_func=yes"
15580 echo "configure: failed program was:" >&5
15581 cat conftest.$ac_ext >&5
15583 eval "ac_cv_func_$ac_func=no"
15588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15589 echo "$ac_t""yes" 1>&6
15590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15591 cat >> confdefs.h <<EOF
15592 #define $ac_tr_func 1
15596 echo "$ac_t""no" 1>&6
15605 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
15606 echo "configure:15607: checking for ldexpl declaration" >&5
15607 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
15608 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
15609 echo $ac_n "(cached) $ac_c" 1>&6
15614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15615 ac_cpp='$CXXCPP $CPPFLAGS'
15616 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15617 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15618 cross_compiling=$ac_cv_prog_cxx_cross
15620 cat > conftest.$ac_ext <<EOF
15621 #line 15622 "configure"
15622 #include "confdefs.h"
15628 if { (eval echo configure:15629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15630 glibcpp_cv_func_ldexpl_use=yes
15632 echo "configure: failed program was:" >&5
15633 cat conftest.$ac_ext >&5
15635 glibcpp_cv_func_ldexpl_use=no
15639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15640 ac_cpp='$CPP $CPPFLAGS'
15641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15643 cross_compiling=$ac_cv_prog_cc_cross
15649 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
15651 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
15652 for ac_func in ldexpl
15654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15655 echo "configure:15656: checking for $ac_func" >&5
15656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15657 echo $ac_n "(cached) $ac_c" 1>&6
15659 cat > conftest.$ac_ext <<EOF
15660 #line 15661 "configure"
15661 #include "confdefs.h"
15662 /* System header to define __stub macros and hopefully few prototypes,
15663 which can conflict with char $ac_func(); below. */
15664 #include <assert.h>
15665 /* Override any gcc2 internal prototype to avoid an error. */
15666 /* We use char because int might match the return type of a gcc2
15667 builtin and then its argument prototype would still apply. */
15672 /* The GNU C library defines this for functions which it implements
15673 to always fail with ENOSYS. Some functions are actually named
15674 something starting with __ and the normal name is an alias. */
15675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15683 if { (eval echo configure:15684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15685 eval "ac_cv_func_$ac_func=yes"
15687 echo "configure: failed program was:" >&5
15688 cat conftest.$ac_ext >&5
15690 eval "ac_cv_func_$ac_func=no"
15695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15696 echo "$ac_t""yes" 1>&6
15697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15698 cat >> confdefs.h <<EOF
15699 #define $ac_tr_func 1
15703 echo "$ac_t""no" 1>&6
15709 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15710 echo "configure:15711: checking for _ldexpl declaration" >&5
15711 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
15712 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15713 echo $ac_n "(cached) $ac_c" 1>&6
15718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15719 ac_cpp='$CXXCPP $CPPFLAGS'
15720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15722 cross_compiling=$ac_cv_prog_cxx_cross
15724 cat > conftest.$ac_ext <<EOF
15725 #line 15726 "configure"
15726 #include "confdefs.h"
15732 if { (eval echo configure:15733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15734 glibcpp_cv_func__ldexpl_use=yes
15736 echo "configure: failed program was:" >&5
15737 cat conftest.$ac_ext >&5
15739 glibcpp_cv_func__ldexpl_use=no
15743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15747 cross_compiling=$ac_cv_prog_cc_cross
15753 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15755 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15756 for ac_func in _ldexpl
15758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15759 echo "configure:15760: checking for $ac_func" >&5
15760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15761 echo $ac_n "(cached) $ac_c" 1>&6
15763 cat > conftest.$ac_ext <<EOF
15764 #line 15765 "configure"
15765 #include "confdefs.h"
15766 /* System header to define __stub macros and hopefully few prototypes,
15767 which can conflict with char $ac_func(); below. */
15768 #include <assert.h>
15769 /* Override any gcc2 internal prototype to avoid an error. */
15770 /* We use char because int might match the return type of a gcc2
15771 builtin and then its argument prototype would still apply. */
15776 /* The GNU C library defines this for functions which it implements
15777 to always fail with ENOSYS. Some functions are actually named
15778 something starting with __ and the normal name is an alias. */
15779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15787 if { (eval echo configure:15788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15789 eval "ac_cv_func_$ac_func=yes"
15791 echo "configure: failed program was:" >&5
15792 cat conftest.$ac_ext >&5
15794 eval "ac_cv_func_$ac_func=no"
15799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15800 echo "$ac_t""yes" 1>&6
15801 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15802 cat >> confdefs.h <<EOF
15803 #define $ac_tr_func 1
15807 echo "$ac_t""no" 1>&6
15816 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
15817 echo "configure:15818: checking for logl declaration" >&5
15818 if test x${glibcpp_cv_func_logl_use+set} != xset; then
15819 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
15820 echo $ac_n "(cached) $ac_c" 1>&6
15825 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15826 ac_cpp='$CXXCPP $CPPFLAGS'
15827 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15828 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15829 cross_compiling=$ac_cv_prog_cxx_cross
15831 cat > conftest.$ac_ext <<EOF
15832 #line 15833 "configure"
15833 #include "confdefs.h"
15835 #ifdef HAVE_IEEEFP_H
15836 #include <ieeefp.h>
15843 if { (eval echo configure:15844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15845 glibcpp_cv_func_logl_use=yes
15847 echo "configure: failed program was:" >&5
15848 cat conftest.$ac_ext >&5
15850 glibcpp_cv_func_logl_use=no
15854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15855 ac_cpp='$CPP $CPPFLAGS'
15856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15858 cross_compiling=$ac_cv_prog_cc_cross
15864 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
15866 if test x$glibcpp_cv_func_logl_use = x"yes"; then
15867 for ac_func in logl
15869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15870 echo "configure:15871: checking for $ac_func" >&5
15871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15872 echo $ac_n "(cached) $ac_c" 1>&6
15874 cat > conftest.$ac_ext <<EOF
15875 #line 15876 "configure"
15876 #include "confdefs.h"
15877 /* System header to define __stub macros and hopefully few prototypes,
15878 which can conflict with char $ac_func(); below. */
15879 #include <assert.h>
15880 /* Override any gcc2 internal prototype to avoid an error. */
15881 /* We use char because int might match the return type of a gcc2
15882 builtin and then its argument prototype would still apply. */
15887 /* The GNU C library defines this for functions which it implements
15888 to always fail with ENOSYS. Some functions are actually named
15889 something starting with __ and the normal name is an alias. */
15890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15898 if { (eval echo configure:15899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15900 eval "ac_cv_func_$ac_func=yes"
15902 echo "configure: failed program was:" >&5
15903 cat conftest.$ac_ext >&5
15905 eval "ac_cv_func_$ac_func=no"
15910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15911 echo "$ac_t""yes" 1>&6
15912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15913 cat >> confdefs.h <<EOF
15914 #define $ac_tr_func 1
15918 echo "$ac_t""no" 1>&6
15924 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15925 echo "configure:15926: checking for _logl declaration" >&5
15926 if test x${glibcpp_cv_func__logl_use+set} != xset; then
15927 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15928 echo $ac_n "(cached) $ac_c" 1>&6
15933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15934 ac_cpp='$CXXCPP $CPPFLAGS'
15935 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15936 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15937 cross_compiling=$ac_cv_prog_cxx_cross
15939 cat > conftest.$ac_ext <<EOF
15940 #line 15941 "configure"
15941 #include "confdefs.h"
15943 #ifdef HAVE_IEEEFP_H
15944 #include <ieeefp.h>
15951 if { (eval echo configure:15952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15953 glibcpp_cv_func__logl_use=yes
15955 echo "configure: failed program was:" >&5
15956 cat conftest.$ac_ext >&5
15958 glibcpp_cv_func__logl_use=no
15962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15963 ac_cpp='$CPP $CPPFLAGS'
15964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15966 cross_compiling=$ac_cv_prog_cc_cross
15972 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15974 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15975 for ac_func in _logl
15977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15978 echo "configure:15979: checking for $ac_func" >&5
15979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15980 echo $ac_n "(cached) $ac_c" 1>&6
15982 cat > conftest.$ac_ext <<EOF
15983 #line 15984 "configure"
15984 #include "confdefs.h"
15985 /* System header to define __stub macros and hopefully few prototypes,
15986 which can conflict with char $ac_func(); below. */
15987 #include <assert.h>
15988 /* Override any gcc2 internal prototype to avoid an error. */
15989 /* We use char because int might match the return type of a gcc2
15990 builtin and then its argument prototype would still apply. */
15995 /* The GNU C library defines this for functions which it implements
15996 to always fail with ENOSYS. Some functions are actually named
15997 something starting with __ and the normal name is an alias. */
15998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16006 if { (eval echo configure:16007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16008 eval "ac_cv_func_$ac_func=yes"
16010 echo "configure: failed program was:" >&5
16011 cat conftest.$ac_ext >&5
16013 eval "ac_cv_func_$ac_func=no"
16018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16019 echo "$ac_t""yes" 1>&6
16020 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16021 cat >> confdefs.h <<EOF
16022 #define $ac_tr_func 1
16026 echo "$ac_t""no" 1>&6
16035 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
16036 echo "configure:16037: checking for log10l declaration" >&5
16037 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
16038 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
16039 echo $ac_n "(cached) $ac_c" 1>&6
16044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16045 ac_cpp='$CXXCPP $CPPFLAGS'
16046 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16047 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16048 cross_compiling=$ac_cv_prog_cxx_cross
16050 cat > conftest.$ac_ext <<EOF
16051 #line 16052 "configure"
16052 #include "confdefs.h"
16054 #ifdef HAVE_IEEEFP_H
16055 #include <ieeefp.h>
16062 if { (eval echo configure:16063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16064 glibcpp_cv_func_log10l_use=yes
16066 echo "configure: failed program was:" >&5
16067 cat conftest.$ac_ext >&5
16069 glibcpp_cv_func_log10l_use=no
16073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16076 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16077 cross_compiling=$ac_cv_prog_cc_cross
16083 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
16085 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
16086 for ac_func in log10l
16088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16089 echo "configure:16090: checking for $ac_func" >&5
16090 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16091 echo $ac_n "(cached) $ac_c" 1>&6
16093 cat > conftest.$ac_ext <<EOF
16094 #line 16095 "configure"
16095 #include "confdefs.h"
16096 /* System header to define __stub macros and hopefully few prototypes,
16097 which can conflict with char $ac_func(); below. */
16098 #include <assert.h>
16099 /* Override any gcc2 internal prototype to avoid an error. */
16100 /* We use char because int might match the return type of a gcc2
16101 builtin and then its argument prototype would still apply. */
16106 /* The GNU C library defines this for functions which it implements
16107 to always fail with ENOSYS. Some functions are actually named
16108 something starting with __ and the normal name is an alias. */
16109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16117 if { (eval echo configure:16118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16119 eval "ac_cv_func_$ac_func=yes"
16121 echo "configure: failed program was:" >&5
16122 cat conftest.$ac_ext >&5
16124 eval "ac_cv_func_$ac_func=no"
16129 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16130 echo "$ac_t""yes" 1>&6
16131 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16132 cat >> confdefs.h <<EOF
16133 #define $ac_tr_func 1
16137 echo "$ac_t""no" 1>&6
16143 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16144 echo "configure:16145: checking for _log10l declaration" >&5
16145 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16146 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16147 echo $ac_n "(cached) $ac_c" 1>&6
16152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16153 ac_cpp='$CXXCPP $CPPFLAGS'
16154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16156 cross_compiling=$ac_cv_prog_cxx_cross
16158 cat > conftest.$ac_ext <<EOF
16159 #line 16160 "configure"
16160 #include "confdefs.h"
16162 #ifdef HAVE_IEEEFP_H
16163 #include <ieeefp.h>
16170 if { (eval echo configure:16171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16172 glibcpp_cv_func__log10l_use=yes
16174 echo "configure: failed program was:" >&5
16175 cat conftest.$ac_ext >&5
16177 glibcpp_cv_func__log10l_use=no
16181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16182 ac_cpp='$CPP $CPPFLAGS'
16183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16185 cross_compiling=$ac_cv_prog_cc_cross
16191 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16193 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16194 for ac_func in _log10l
16196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16197 echo "configure:16198: checking for $ac_func" >&5
16198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16199 echo $ac_n "(cached) $ac_c" 1>&6
16201 cat > conftest.$ac_ext <<EOF
16202 #line 16203 "configure"
16203 #include "confdefs.h"
16204 /* System header to define __stub macros and hopefully few prototypes,
16205 which can conflict with char $ac_func(); below. */
16206 #include <assert.h>
16207 /* Override any gcc2 internal prototype to avoid an error. */
16208 /* We use char because int might match the return type of a gcc2
16209 builtin and then its argument prototype would still apply. */
16214 /* The GNU C library defines this for functions which it implements
16215 to always fail with ENOSYS. Some functions are actually named
16216 something starting with __ and the normal name is an alias. */
16217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16225 if { (eval echo configure:16226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16227 eval "ac_cv_func_$ac_func=yes"
16229 echo "configure: failed program was:" >&5
16230 cat conftest.$ac_ext >&5
16232 eval "ac_cv_func_$ac_func=no"
16237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16238 echo "$ac_t""yes" 1>&6
16239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16240 cat >> confdefs.h <<EOF
16241 #define $ac_tr_func 1
16245 echo "$ac_t""no" 1>&6
16254 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
16255 echo "configure:16256: checking for modfl declaration" >&5
16256 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
16257 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
16258 echo $ac_n "(cached) $ac_c" 1>&6
16263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16264 ac_cpp='$CXXCPP $CPPFLAGS'
16265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16267 cross_compiling=$ac_cv_prog_cxx_cross
16269 cat > conftest.$ac_ext <<EOF
16270 #line 16271 "configure"
16271 #include "confdefs.h"
16277 if { (eval echo configure:16278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16279 glibcpp_cv_func_modfl_use=yes
16281 echo "configure: failed program was:" >&5
16282 cat conftest.$ac_ext >&5
16284 glibcpp_cv_func_modfl_use=no
16288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16289 ac_cpp='$CPP $CPPFLAGS'
16290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16292 cross_compiling=$ac_cv_prog_cc_cross
16298 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
16300 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
16301 for ac_func in modfl
16303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16304 echo "configure:16305: checking for $ac_func" >&5
16305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16306 echo $ac_n "(cached) $ac_c" 1>&6
16308 cat > conftest.$ac_ext <<EOF
16309 #line 16310 "configure"
16310 #include "confdefs.h"
16311 /* System header to define __stub macros and hopefully few prototypes,
16312 which can conflict with char $ac_func(); below. */
16313 #include <assert.h>
16314 /* Override any gcc2 internal prototype to avoid an error. */
16315 /* We use char because int might match the return type of a gcc2
16316 builtin and then its argument prototype would still apply. */
16321 /* The GNU C library defines this for functions which it implements
16322 to always fail with ENOSYS. Some functions are actually named
16323 something starting with __ and the normal name is an alias. */
16324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16332 if { (eval echo configure:16333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16334 eval "ac_cv_func_$ac_func=yes"
16336 echo "configure: failed program was:" >&5
16337 cat conftest.$ac_ext >&5
16339 eval "ac_cv_func_$ac_func=no"
16344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16345 echo "$ac_t""yes" 1>&6
16346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16347 cat >> confdefs.h <<EOF
16348 #define $ac_tr_func 1
16352 echo "$ac_t""no" 1>&6
16358 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16359 echo "configure:16360: checking for _modfl declaration" >&5
16360 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
16361 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16362 echo $ac_n "(cached) $ac_c" 1>&6
16367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16368 ac_cpp='$CXXCPP $CPPFLAGS'
16369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16371 cross_compiling=$ac_cv_prog_cxx_cross
16373 cat > conftest.$ac_ext <<EOF
16374 #line 16375 "configure"
16375 #include "confdefs.h"
16381 if { (eval echo configure:16382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16383 glibcpp_cv_func__modfl_use=yes
16385 echo "configure: failed program was:" >&5
16386 cat conftest.$ac_ext >&5
16388 glibcpp_cv_func__modfl_use=no
16392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16393 ac_cpp='$CPP $CPPFLAGS'
16394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16396 cross_compiling=$ac_cv_prog_cc_cross
16402 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16404 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16405 for ac_func in _modfl
16407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16408 echo "configure:16409: checking for $ac_func" >&5
16409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16410 echo $ac_n "(cached) $ac_c" 1>&6
16412 cat > conftest.$ac_ext <<EOF
16413 #line 16414 "configure"
16414 #include "confdefs.h"
16415 /* System header to define __stub macros and hopefully few prototypes,
16416 which can conflict with char $ac_func(); below. */
16417 #include <assert.h>
16418 /* Override any gcc2 internal prototype to avoid an error. */
16419 /* We use char because int might match the return type of a gcc2
16420 builtin and then its argument prototype would still apply. */
16425 /* The GNU C library defines this for functions which it implements
16426 to always fail with ENOSYS. Some functions are actually named
16427 something starting with __ and the normal name is an alias. */
16428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16436 if { (eval echo configure:16437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16438 eval "ac_cv_func_$ac_func=yes"
16440 echo "configure: failed program was:" >&5
16441 cat conftest.$ac_ext >&5
16443 eval "ac_cv_func_$ac_func=no"
16448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16449 echo "$ac_t""yes" 1>&6
16450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16451 cat >> confdefs.h <<EOF
16452 #define $ac_tr_func 1
16456 echo "$ac_t""no" 1>&6
16465 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
16466 echo "configure:16467: checking for powl declaration" >&5
16467 if test x${glibcpp_cv_func_powl_use+set} != xset; then
16468 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
16469 echo $ac_n "(cached) $ac_c" 1>&6
16474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16475 ac_cpp='$CXXCPP $CPPFLAGS'
16476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16478 cross_compiling=$ac_cv_prog_cxx_cross
16480 cat > conftest.$ac_ext <<EOF
16481 #line 16482 "configure"
16482 #include "confdefs.h"
16488 if { (eval echo configure:16489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16490 glibcpp_cv_func_powl_use=yes
16492 echo "configure: failed program was:" >&5
16493 cat conftest.$ac_ext >&5
16495 glibcpp_cv_func_powl_use=no
16499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16500 ac_cpp='$CPP $CPPFLAGS'
16501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16503 cross_compiling=$ac_cv_prog_cc_cross
16509 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
16511 if test x$glibcpp_cv_func_powl_use = x"yes"; then
16512 for ac_func in powl
16514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16515 echo "configure:16516: checking for $ac_func" >&5
16516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16517 echo $ac_n "(cached) $ac_c" 1>&6
16519 cat > conftest.$ac_ext <<EOF
16520 #line 16521 "configure"
16521 #include "confdefs.h"
16522 /* System header to define __stub macros and hopefully few prototypes,
16523 which can conflict with char $ac_func(); below. */
16524 #include <assert.h>
16525 /* Override any gcc2 internal prototype to avoid an error. */
16526 /* We use char because int might match the return type of a gcc2
16527 builtin and then its argument prototype would still apply. */
16532 /* The GNU C library defines this for functions which it implements
16533 to always fail with ENOSYS. Some functions are actually named
16534 something starting with __ and the normal name is an alias. */
16535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16543 if { (eval echo configure:16544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16545 eval "ac_cv_func_$ac_func=yes"
16547 echo "configure: failed program was:" >&5
16548 cat conftest.$ac_ext >&5
16550 eval "ac_cv_func_$ac_func=no"
16555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16556 echo "$ac_t""yes" 1>&6
16557 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16558 cat >> confdefs.h <<EOF
16559 #define $ac_tr_func 1
16563 echo "$ac_t""no" 1>&6
16569 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16570 echo "configure:16571: checking for _powl declaration" >&5
16571 if test x${glibcpp_cv_func__powl_use+set} != xset; then
16572 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16573 echo $ac_n "(cached) $ac_c" 1>&6
16578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16579 ac_cpp='$CXXCPP $CPPFLAGS'
16580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16582 cross_compiling=$ac_cv_prog_cxx_cross
16584 cat > conftest.$ac_ext <<EOF
16585 #line 16586 "configure"
16586 #include "confdefs.h"
16592 if { (eval echo configure:16593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16594 glibcpp_cv_func__powl_use=yes
16596 echo "configure: failed program was:" >&5
16597 cat conftest.$ac_ext >&5
16599 glibcpp_cv_func__powl_use=no
16603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16604 ac_cpp='$CPP $CPPFLAGS'
16605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16607 cross_compiling=$ac_cv_prog_cc_cross
16613 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16615 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16616 for ac_func in _powl
16618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16619 echo "configure:16620: checking for $ac_func" >&5
16620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16621 echo $ac_n "(cached) $ac_c" 1>&6
16623 cat > conftest.$ac_ext <<EOF
16624 #line 16625 "configure"
16625 #include "confdefs.h"
16626 /* System header to define __stub macros and hopefully few prototypes,
16627 which can conflict with char $ac_func(); below. */
16628 #include <assert.h>
16629 /* Override any gcc2 internal prototype to avoid an error. */
16630 /* We use char because int might match the return type of a gcc2
16631 builtin and then its argument prototype would still apply. */
16636 /* The GNU C library defines this for functions which it implements
16637 to always fail with ENOSYS. Some functions are actually named
16638 something starting with __ and the normal name is an alias. */
16639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16647 if { (eval echo configure:16648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16649 eval "ac_cv_func_$ac_func=yes"
16651 echo "configure: failed program was:" >&5
16652 cat conftest.$ac_ext >&5
16654 eval "ac_cv_func_$ac_func=no"
16659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16660 echo "$ac_t""yes" 1>&6
16661 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16662 cat >> confdefs.h <<EOF
16663 #define $ac_tr_func 1
16667 echo "$ac_t""no" 1>&6
16676 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
16677 echo "configure:16678: checking for sqrtl declaration" >&5
16678 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
16679 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
16680 echo $ac_n "(cached) $ac_c" 1>&6
16685 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16686 ac_cpp='$CXXCPP $CPPFLAGS'
16687 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16688 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16689 cross_compiling=$ac_cv_prog_cxx_cross
16691 cat > conftest.$ac_ext <<EOF
16692 #line 16693 "configure"
16693 #include "confdefs.h"
16695 #ifdef HAVE_IEEEFP_H
16696 #include <ieeefp.h>
16703 if { (eval echo configure:16704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16705 glibcpp_cv_func_sqrtl_use=yes
16707 echo "configure: failed program was:" >&5
16708 cat conftest.$ac_ext >&5
16710 glibcpp_cv_func_sqrtl_use=no
16714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16715 ac_cpp='$CPP $CPPFLAGS'
16716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16718 cross_compiling=$ac_cv_prog_cc_cross
16724 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
16726 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
16727 for ac_func in sqrtl
16729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16730 echo "configure:16731: checking for $ac_func" >&5
16731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16732 echo $ac_n "(cached) $ac_c" 1>&6
16734 cat > conftest.$ac_ext <<EOF
16735 #line 16736 "configure"
16736 #include "confdefs.h"
16737 /* System header to define __stub macros and hopefully few prototypes,
16738 which can conflict with char $ac_func(); below. */
16739 #include <assert.h>
16740 /* Override any gcc2 internal prototype to avoid an error. */
16741 /* We use char because int might match the return type of a gcc2
16742 builtin and then its argument prototype would still apply. */
16747 /* The GNU C library defines this for functions which it implements
16748 to always fail with ENOSYS. Some functions are actually named
16749 something starting with __ and the normal name is an alias. */
16750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16758 if { (eval echo configure:16759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16760 eval "ac_cv_func_$ac_func=yes"
16762 echo "configure: failed program was:" >&5
16763 cat conftest.$ac_ext >&5
16765 eval "ac_cv_func_$ac_func=no"
16770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16771 echo "$ac_t""yes" 1>&6
16772 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16773 cat >> confdefs.h <<EOF
16774 #define $ac_tr_func 1
16778 echo "$ac_t""no" 1>&6
16784 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16785 echo "configure:16786: checking for _sqrtl declaration" >&5
16786 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
16787 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16788 echo $ac_n "(cached) $ac_c" 1>&6
16793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16794 ac_cpp='$CXXCPP $CPPFLAGS'
16795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16797 cross_compiling=$ac_cv_prog_cxx_cross
16799 cat > conftest.$ac_ext <<EOF
16800 #line 16801 "configure"
16801 #include "confdefs.h"
16803 #ifdef HAVE_IEEEFP_H
16804 #include <ieeefp.h>
16811 if { (eval echo configure:16812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16813 glibcpp_cv_func__sqrtl_use=yes
16815 echo "configure: failed program was:" >&5
16816 cat conftest.$ac_ext >&5
16818 glibcpp_cv_func__sqrtl_use=no
16822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16823 ac_cpp='$CPP $CPPFLAGS'
16824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16826 cross_compiling=$ac_cv_prog_cc_cross
16832 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16834 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16835 for ac_func in _sqrtl
16837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16838 echo "configure:16839: checking for $ac_func" >&5
16839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16840 echo $ac_n "(cached) $ac_c" 1>&6
16842 cat > conftest.$ac_ext <<EOF
16843 #line 16844 "configure"
16844 #include "confdefs.h"
16845 /* System header to define __stub macros and hopefully few prototypes,
16846 which can conflict with char $ac_func(); below. */
16847 #include <assert.h>
16848 /* Override any gcc2 internal prototype to avoid an error. */
16849 /* We use char because int might match the return type of a gcc2
16850 builtin and then its argument prototype would still apply. */
16855 /* The GNU C library defines this for functions which it implements
16856 to always fail with ENOSYS. Some functions are actually named
16857 something starting with __ and the normal name is an alias. */
16858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16866 if { (eval echo configure:16867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16868 eval "ac_cv_func_$ac_func=yes"
16870 echo "configure: failed program was:" >&5
16871 cat conftest.$ac_ext >&5
16873 eval "ac_cv_func_$ac_func=no"
16878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16879 echo "$ac_t""yes" 1>&6
16880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16881 cat >> confdefs.h <<EOF
16882 #define $ac_tr_func 1
16886 echo "$ac_t""no" 1>&6
16895 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
16896 echo "configure:16897: checking for sincosl declaration" >&5
16897 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
16898 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
16899 echo $ac_n "(cached) $ac_c" 1>&6
16904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16905 ac_cpp='$CXXCPP $CPPFLAGS'
16906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16908 cross_compiling=$ac_cv_prog_cxx_cross
16910 cat > conftest.$ac_ext <<EOF
16911 #line 16912 "configure"
16912 #include "confdefs.h"
16918 if { (eval echo configure:16919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16920 glibcpp_cv_func_sincosl_use=yes
16922 echo "configure: failed program was:" >&5
16923 cat conftest.$ac_ext >&5
16925 glibcpp_cv_func_sincosl_use=no
16929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16930 ac_cpp='$CPP $CPPFLAGS'
16931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16933 cross_compiling=$ac_cv_prog_cc_cross
16939 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
16941 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
16942 for ac_func in sincosl
16944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16945 echo "configure:16946: checking for $ac_func" >&5
16946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16947 echo $ac_n "(cached) $ac_c" 1>&6
16949 cat > conftest.$ac_ext <<EOF
16950 #line 16951 "configure"
16951 #include "confdefs.h"
16952 /* System header to define __stub macros and hopefully few prototypes,
16953 which can conflict with char $ac_func(); below. */
16954 #include <assert.h>
16955 /* Override any gcc2 internal prototype to avoid an error. */
16956 /* We use char because int might match the return type of a gcc2
16957 builtin and then its argument prototype would still apply. */
16962 /* The GNU C library defines this for functions which it implements
16963 to always fail with ENOSYS. Some functions are actually named
16964 something starting with __ and the normal name is an alias. */
16965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16973 if { (eval echo configure:16974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16975 eval "ac_cv_func_$ac_func=yes"
16977 echo "configure: failed program was:" >&5
16978 cat conftest.$ac_ext >&5
16980 eval "ac_cv_func_$ac_func=no"
16985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16986 echo "$ac_t""yes" 1>&6
16987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16988 cat >> confdefs.h <<EOF
16989 #define $ac_tr_func 1
16993 echo "$ac_t""no" 1>&6
16999 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
17000 echo "configure:17001: checking for _sincosl declaration" >&5
17001 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
17002 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
17003 echo $ac_n "(cached) $ac_c" 1>&6
17008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17009 ac_cpp='$CXXCPP $CPPFLAGS'
17010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17012 cross_compiling=$ac_cv_prog_cxx_cross
17014 cat > conftest.$ac_ext <<EOF
17015 #line 17016 "configure"
17016 #include "confdefs.h"
17022 if { (eval echo configure:17023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17024 glibcpp_cv_func__sincosl_use=yes
17026 echo "configure: failed program was:" >&5
17027 cat conftest.$ac_ext >&5
17029 glibcpp_cv_func__sincosl_use=no
17033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17034 ac_cpp='$CPP $CPPFLAGS'
17035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17037 cross_compiling=$ac_cv_prog_cc_cross
17043 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17045 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17046 for ac_func in _sincosl
17048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17049 echo "configure:17050: checking for $ac_func" >&5
17050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17051 echo $ac_n "(cached) $ac_c" 1>&6
17053 cat > conftest.$ac_ext <<EOF
17054 #line 17055 "configure"
17055 #include "confdefs.h"
17056 /* System header to define __stub macros and hopefully few prototypes,
17057 which can conflict with char $ac_func(); below. */
17058 #include <assert.h>
17059 /* Override any gcc2 internal prototype to avoid an error. */
17060 /* We use char because int might match the return type of a gcc2
17061 builtin and then its argument prototype would still apply. */
17066 /* The GNU C library defines this for functions which it implements
17067 to always fail with ENOSYS. Some functions are actually named
17068 something starting with __ and the normal name is an alias. */
17069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17077 if { (eval echo configure:17078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17079 eval "ac_cv_func_$ac_func=yes"
17081 echo "configure: failed program was:" >&5
17082 cat conftest.$ac_ext >&5
17084 eval "ac_cv_func_$ac_func=no"
17089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17090 echo "$ac_t""yes" 1>&6
17091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17092 cat >> confdefs.h <<EOF
17093 #define $ac_tr_func 1
17097 echo "$ac_t""no" 1>&6
17106 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
17107 echo "configure:17108: checking for finitel declaration" >&5
17108 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
17109 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
17110 echo $ac_n "(cached) $ac_c" 1>&6
17115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17116 ac_cpp='$CXXCPP $CPPFLAGS'
17117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17119 cross_compiling=$ac_cv_prog_cxx_cross
17121 cat > conftest.$ac_ext <<EOF
17122 #line 17123 "configure"
17123 #include "confdefs.h"
17125 #ifdef HAVE_IEEEFP_H
17126 #include <ieeefp.h>
17133 if { (eval echo configure:17134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17135 glibcpp_cv_func_finitel_use=yes
17137 echo "configure: failed program was:" >&5
17138 cat conftest.$ac_ext >&5
17140 glibcpp_cv_func_finitel_use=no
17144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17148 cross_compiling=$ac_cv_prog_cc_cross
17154 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17156 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17157 for ac_func in finitel
17159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17160 echo "configure:17161: checking for $ac_func" >&5
17161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17162 echo $ac_n "(cached) $ac_c" 1>&6
17164 cat > conftest.$ac_ext <<EOF
17165 #line 17166 "configure"
17166 #include "confdefs.h"
17167 /* System header to define __stub macros and hopefully few prototypes,
17168 which can conflict with char $ac_func(); below. */
17169 #include <assert.h>
17170 /* Override any gcc2 internal prototype to avoid an error. */
17171 /* We use char because int might match the return type of a gcc2
17172 builtin and then its argument prototype would still apply. */
17177 /* The GNU C library defines this for functions which it implements
17178 to always fail with ENOSYS. Some functions are actually named
17179 something starting with __ and the normal name is an alias. */
17180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17188 if { (eval echo configure:17189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17190 eval "ac_cv_func_$ac_func=yes"
17192 echo "configure: failed program was:" >&5
17193 cat conftest.$ac_ext >&5
17195 eval "ac_cv_func_$ac_func=no"
17200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17201 echo "$ac_t""yes" 1>&6
17202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17203 cat >> confdefs.h <<EOF
17204 #define $ac_tr_func 1
17208 echo "$ac_t""no" 1>&6
17214 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17215 echo "configure:17216: checking for _finitel declaration" >&5
17216 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
17217 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17218 echo $ac_n "(cached) $ac_c" 1>&6
17223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17224 ac_cpp='$CXXCPP $CPPFLAGS'
17225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17227 cross_compiling=$ac_cv_prog_cxx_cross
17229 cat > conftest.$ac_ext <<EOF
17230 #line 17231 "configure"
17231 #include "confdefs.h"
17233 #ifdef HAVE_IEEEFP_H
17234 #include <ieeefp.h>
17241 if { (eval echo configure:17242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17243 glibcpp_cv_func__finitel_use=yes
17245 echo "configure: failed program was:" >&5
17246 cat conftest.$ac_ext >&5
17248 glibcpp_cv_func__finitel_use=no
17252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17253 ac_cpp='$CPP $CPPFLAGS'
17254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17256 cross_compiling=$ac_cv_prog_cc_cross
17262 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17264 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17265 for ac_func in _finitel
17267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17268 echo "configure:17269: checking for $ac_func" >&5
17269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17270 echo $ac_n "(cached) $ac_c" 1>&6
17272 cat > conftest.$ac_ext <<EOF
17273 #line 17274 "configure"
17274 #include "confdefs.h"
17275 /* System header to define __stub macros and hopefully few prototypes,
17276 which can conflict with char $ac_func(); below. */
17277 #include <assert.h>
17278 /* Override any gcc2 internal prototype to avoid an error. */
17279 /* We use char because int might match the return type of a gcc2
17280 builtin and then its argument prototype would still apply. */
17285 /* The GNU C library defines this for functions which it implements
17286 to always fail with ENOSYS. Some functions are actually named
17287 something starting with __ and the normal name is an alias. */
17288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17296 if { (eval echo configure:17297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17298 eval "ac_cv_func_$ac_func=yes"
17300 echo "configure: failed program was:" >&5
17301 cat conftest.$ac_ext >&5
17303 eval "ac_cv_func_$ac_func=no"
17308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17309 echo "$ac_t""yes" 1>&6
17310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17311 cat >> confdefs.h <<EOF
17312 #define $ac_tr_func 1
17316 echo "$ac_t""no" 1>&6
17326 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
17327 echo "configure:17328: checking for _float trig functions" >&5
17328 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
17329 echo $ac_n "(cached) $ac_c" 1>&6
17334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17335 ac_cpp='$CXXCPP $CPPFLAGS'
17336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17338 cross_compiling=$ac_cv_prog_cxx_cross
17340 cat > conftest.$ac_ext <<EOF
17341 #line 17342 "configure"
17342 #include "confdefs.h"
17345 `for x in _acosf _asinf _atanf \
17346 _cosf _sinf _tanf \
17347 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
17350 if { (eval echo configure:17351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17352 glibcpp_cv_func__float_trig_use=yes
17354 echo "configure: failed program was:" >&5
17355 cat conftest.$ac_ext >&5
17357 glibcpp_cv_func__float_trig_use=no
17361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17362 ac_cpp='$CPP $CPPFLAGS'
17363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17365 cross_compiling=$ac_cv_prog_cc_cross
17369 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
17370 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
17371 for ac_func in _acosf _asinf _atanf \
17372 _cosf _sinf _tanf \
17373 _coshf _sinhf _tanhf
17375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17376 echo "configure:17377: checking for $ac_func" >&5
17377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17378 echo $ac_n "(cached) $ac_c" 1>&6
17380 cat > conftest.$ac_ext <<EOF
17381 #line 17382 "configure"
17382 #include "confdefs.h"
17383 /* System header to define __stub macros and hopefully few prototypes,
17384 which can conflict with char $ac_func(); below. */
17385 #include <assert.h>
17386 /* Override any gcc2 internal prototype to avoid an error. */
17387 /* We use char because int might match the return type of a gcc2
17388 builtin and then its argument prototype would still apply. */
17393 /* The GNU C library defines this for functions which it implements
17394 to always fail with ENOSYS. Some functions are actually named
17395 something starting with __ and the normal name is an alias. */
17396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17404 if { (eval echo configure:17405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17406 eval "ac_cv_func_$ac_func=yes"
17408 echo "configure: failed program was:" >&5
17409 cat conftest.$ac_ext >&5
17411 eval "ac_cv_func_$ac_func=no"
17416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17417 echo "$ac_t""yes" 1>&6
17418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17419 cat >> confdefs.h <<EOF
17420 #define $ac_tr_func 1
17424 echo "$ac_t""no" 1>&6
17431 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
17432 echo "configure:17433: checking for _float round functions" >&5
17433 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
17434 echo $ac_n "(cached) $ac_c" 1>&6
17439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17440 ac_cpp='$CXXCPP $CPPFLAGS'
17441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17443 cross_compiling=$ac_cv_prog_cxx_cross
17445 cat > conftest.$ac_ext <<EOF
17446 #line 17447 "configure"
17447 #include "confdefs.h"
17450 `for x in _ceilf _floorf; do echo "$x (0);"; done`
17453 if { (eval echo configure:17454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17455 glibcpp_cv_func__float_round_use=yes
17457 echo "configure: failed program was:" >&5
17458 cat conftest.$ac_ext >&5
17460 glibcpp_cv_func__float_round_use=no
17464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17465 ac_cpp='$CPP $CPPFLAGS'
17466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17468 cross_compiling=$ac_cv_prog_cc_cross
17472 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
17473 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
17474 for ac_func in _ceilf _floorf
17476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17477 echo "configure:17478: checking for $ac_func" >&5
17478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17479 echo $ac_n "(cached) $ac_c" 1>&6
17481 cat > conftest.$ac_ext <<EOF
17482 #line 17483 "configure"
17483 #include "confdefs.h"
17484 /* System header to define __stub macros and hopefully few prototypes,
17485 which can conflict with char $ac_func(); below. */
17486 #include <assert.h>
17487 /* Override any gcc2 internal prototype to avoid an error. */
17488 /* We use char because int might match the return type of a gcc2
17489 builtin and then its argument prototype would still apply. */
17494 /* The GNU C library defines this for functions which it implements
17495 to always fail with ENOSYS. Some functions are actually named
17496 something starting with __ and the normal name is an alias. */
17497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17505 if { (eval echo configure:17506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17507 eval "ac_cv_func_$ac_func=yes"
17509 echo "configure: failed program was:" >&5
17510 cat conftest.$ac_ext >&5
17512 eval "ac_cv_func_$ac_func=no"
17517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17518 echo "$ac_t""yes" 1>&6
17519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17520 cat >> confdefs.h <<EOF
17521 #define $ac_tr_func 1
17525 echo "$ac_t""no" 1>&6
17533 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
17534 echo "configure:17535: checking for _long double trig functions" >&5
17535 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
17536 echo $ac_n "(cached) $ac_c" 1>&6
17541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17542 ac_cpp='$CXXCPP $CPPFLAGS'
17543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17545 cross_compiling=$ac_cv_prog_cxx_cross
17547 cat > conftest.$ac_ext <<EOF
17548 #line 17549 "configure"
17549 #include "confdefs.h"
17552 `for x in _acosl _asinl _atanl \
17553 _cosl _sinl _tanl \
17554 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
17557 if { (eval echo configure:17558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17559 glibcpp_cv_func__long_double_trig_use=yes
17561 echo "configure: failed program was:" >&5
17562 cat conftest.$ac_ext >&5
17564 glibcpp_cv_func__long_double_trig_use=no
17568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17569 ac_cpp='$CPP $CPPFLAGS'
17570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17572 cross_compiling=$ac_cv_prog_cc_cross
17576 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
17577 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
17578 for ac_func in _acosl _asinl _atanl \
17579 _cosl _sinl _tanl \
17580 _coshl _sinhl _tanhl
17582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17583 echo "configure:17584: checking for $ac_func" >&5
17584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17585 echo $ac_n "(cached) $ac_c" 1>&6
17587 cat > conftest.$ac_ext <<EOF
17588 #line 17589 "configure"
17589 #include "confdefs.h"
17590 /* System header to define __stub macros and hopefully few prototypes,
17591 which can conflict with char $ac_func(); below. */
17592 #include <assert.h>
17593 /* Override any gcc2 internal prototype to avoid an error. */
17594 /* We use char because int might match the return type of a gcc2
17595 builtin and then its argument prototype would still apply. */
17600 /* The GNU C library defines this for functions which it implements
17601 to always fail with ENOSYS. Some functions are actually named
17602 something starting with __ and the normal name is an alias. */
17603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17611 if { (eval echo configure:17612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17613 eval "ac_cv_func_$ac_func=yes"
17615 echo "configure: failed program was:" >&5
17616 cat conftest.$ac_ext >&5
17618 eval "ac_cv_func_$ac_func=no"
17623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17624 echo "$ac_t""yes" 1>&6
17625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17626 cat >> confdefs.h <<EOF
17627 #define $ac_tr_func 1
17631 echo "$ac_t""no" 1>&6
17638 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
17639 echo "configure:17640: checking for _long double round functions" >&5
17640 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
17641 echo $ac_n "(cached) $ac_c" 1>&6
17646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17647 ac_cpp='$CXXCPP $CPPFLAGS'
17648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17650 cross_compiling=$ac_cv_prog_cxx_cross
17652 cat > conftest.$ac_ext <<EOF
17653 #line 17654 "configure"
17654 #include "confdefs.h"
17657 `for x in _ceill _floorl; do echo "$x (0);"; done`
17660 if { (eval echo configure:17661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17662 glibcpp_cv_func__long_double_round_use=yes
17664 echo "configure: failed program was:" >&5
17665 cat conftest.$ac_ext >&5
17667 glibcpp_cv_func__long_double_round_use=no
17671 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17672 ac_cpp='$CPP $CPPFLAGS'
17673 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17674 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17675 cross_compiling=$ac_cv_prog_cc_cross
17679 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
17680 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
17681 for ac_func in _ceill _floorl
17683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17684 echo "configure:17685: checking for $ac_func" >&5
17685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17686 echo $ac_n "(cached) $ac_c" 1>&6
17688 cat > conftest.$ac_ext <<EOF
17689 #line 17690 "configure"
17690 #include "confdefs.h"
17691 /* System header to define __stub macros and hopefully few prototypes,
17692 which can conflict with char $ac_func(); below. */
17693 #include <assert.h>
17694 /* Override any gcc2 internal prototype to avoid an error. */
17695 /* We use char because int might match the return type of a gcc2
17696 builtin and then its argument prototype would still apply. */
17701 /* The GNU C library defines this for functions which it implements
17702 to always fail with ENOSYS. Some functions are actually named
17703 something starting with __ and the normal name is an alias. */
17704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17712 if { (eval echo configure:17713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17714 eval "ac_cv_func_$ac_func=yes"
17716 echo "configure: failed program was:" >&5
17717 cat conftest.$ac_ext >&5
17719 eval "ac_cv_func_$ac_func=no"
17724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17725 echo "$ac_t""yes" 1>&6
17726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17727 cat >> confdefs.h <<EOF
17728 #define $ac_tr_func 1
17732 echo "$ac_t""no" 1>&6
17739 LIBS="$ac_save_LIBS"
17740 CXXFLAGS="$ac_save_CXXFLAGS"
17743 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17744 echo "configure:17745: checking for main in -lm" >&5
17745 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17746 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17747 echo $ac_n "(cached) $ac_c" 1>&6
17749 ac_save_LIBS="$LIBS"
17751 cat > conftest.$ac_ext <<EOF
17752 #line 17753 "configure"
17753 #include "confdefs.h"
17759 if { (eval echo configure:17760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17761 eval "ac_cv_lib_$ac_lib_var=yes"
17763 echo "configure: failed program was:" >&5
17764 cat conftest.$ac_ext >&5
17766 eval "ac_cv_lib_$ac_lib_var=no"
17769 LIBS="$ac_save_LIBS"
17772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17773 echo "$ac_t""yes" 1>&6
17774 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17775 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17776 cat >> confdefs.h <<EOF
17777 #define $ac_tr_lib 1
17783 echo "$ac_t""no" 1>&6
17786 for ac_func in nan copysignf
17788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17789 echo "configure:17790: checking for $ac_func" >&5
17790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17791 echo $ac_n "(cached) $ac_c" 1>&6
17793 cat > conftest.$ac_ext <<EOF
17794 #line 17795 "configure"
17795 #include "confdefs.h"
17796 /* System header to define __stub macros and hopefully few prototypes,
17797 which can conflict with char $ac_func(); below. */
17798 #include <assert.h>
17799 /* Override any gcc2 internal prototype to avoid an error. */
17800 /* We use char because int might match the return type of a gcc2
17801 builtin and then its argument prototype would still apply. */
17806 /* The GNU C library defines this for functions which it implements
17807 to always fail with ENOSYS. Some functions are actually named
17808 something starting with __ and the normal name is an alias. */
17809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17817 if { (eval echo configure:17818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17819 eval "ac_cv_func_$ac_func=yes"
17821 echo "configure: failed program was:" >&5
17822 cat conftest.$ac_ext >&5
17824 eval "ac_cv_func_$ac_func=no"
17829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17830 echo "$ac_t""yes" 1>&6
17831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17832 cat >> confdefs.h <<EOF
17833 #define $ac_tr_func 1
17837 echo "$ac_t""no" 1>&6
17838 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17844 USE_COMPLEX_LONG_DOUBLE=no
17845 if test x$ac_cv_func_copysignl = x"yes"; then
17846 USE_COMPLEX_LONG_DOUBLE=yes
17847 for ac_func in signbitl
17849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17850 echo "configure:17851: checking for $ac_func" >&5
17851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17852 echo $ac_n "(cached) $ac_c" 1>&6
17854 cat > conftest.$ac_ext <<EOF
17855 #line 17856 "configure"
17856 #include "confdefs.h"
17857 /* System header to define __stub macros and hopefully few prototypes,
17858 which can conflict with char $ac_func(); below. */
17859 #include <assert.h>
17860 /* Override any gcc2 internal prototype to avoid an error. */
17861 /* We use char because int might match the return type of a gcc2
17862 builtin and then its argument prototype would still apply. */
17867 /* The GNU C library defines this for functions which it implements
17868 to always fail with ENOSYS. Some functions are actually named
17869 something starting with __ and the normal name is an alias. */
17870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17878 if { (eval echo configure:17879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17880 eval "ac_cv_func_$ac_func=yes"
17882 echo "configure: failed program was:" >&5
17883 cat conftest.$ac_ext >&5
17885 eval "ac_cv_func_$ac_func=no"
17890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17891 echo "$ac_t""yes" 1>&6
17892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17893 cat >> confdefs.h <<EOF
17894 #define $ac_tr_func 1
17898 echo "$ac_t""no" 1>&6
17899 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17910 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17911 echo "configure:17912: checking for mbstate_t" >&5
17912 cat > conftest.$ac_ext <<EOF
17913 #line 17914 "configure"
17914 #include "confdefs.h"
17917 mbstate_t teststate;
17920 if { (eval echo configure:17921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17924 echo "configure: failed program was:" >&5
17925 cat conftest.$ac_ext >&5
17930 echo "$ac_t""$have_mbstate_t" 1>&6
17931 if test x"$have_mbstate_t" = xyes; then
17932 cat >> confdefs.h <<\EOF
17933 #define HAVE_MBSTATE_T 1
17938 for ac_hdr in wchar.h
17940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17942 echo "configure:17943: checking for $ac_hdr" >&5
17943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17944 echo $ac_n "(cached) $ac_c" 1>&6
17946 cat > conftest.$ac_ext <<EOF
17947 #line 17948 "configure"
17948 #include "confdefs.h"
17951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17952 { (eval echo configure:17953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17954 if test -z "$ac_err"; then
17956 eval "ac_cv_header_$ac_safe=yes"
17959 echo "configure: failed program was:" >&5
17960 cat conftest.$ac_ext >&5
17962 eval "ac_cv_header_$ac_safe=no"
17966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17967 echo "$ac_t""yes" 1>&6
17968 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17969 cat >> confdefs.h <<EOF
17970 #define $ac_tr_hdr 1
17974 echo "$ac_t""no" 1>&6
17979 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17980 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17981 echo "configure:17982: checking for wctype.h" >&5
17982 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17983 echo $ac_n "(cached) $ac_c" 1>&6
17985 cat > conftest.$ac_ext <<EOF
17986 #line 17987 "configure"
17987 #include "confdefs.h"
17988 #include <wctype.h>
17990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17991 { (eval echo configure:17992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17993 if test -z "$ac_err"; then
17995 eval "ac_cv_header_$ac_safe=yes"
17998 echo "configure: failed program was:" >&5
17999 cat conftest.$ac_ext >&5
18001 eval "ac_cv_header_$ac_safe=no"
18005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18006 echo "$ac_t""yes" 1>&6
18007 ac_has_wctype_h=yes
18009 echo "$ac_t""no" 1>&6
18014 if test x"$ac_has_wchar_h" = xyes &&
18015 test x"$ac_has_wctype_h" = xyes &&
18016 test x"$enable_c_mbchar" != xno; then
18018 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
18019 echo "configure:18020: checking for WCHAR_MIN and WCHAR_MAX" >&5
18020 cat > conftest.$ac_ext <<EOF
18021 #line 18022 "configure"
18022 #include "confdefs.h"
18025 int i = WCHAR_MIN; int j = WCHAR_MAX;
18028 if { (eval echo configure:18029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18030 has_wchar_minmax=yes
18032 echo "configure: failed program was:" >&5
18033 cat conftest.$ac_ext >&5
18035 has_wchar_minmax=no
18038 echo "$ac_t""$has_wchar_minmax" 1>&6
18040 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
18041 echo "configure:18042: checking for WEOF" >&5
18042 cat > conftest.$ac_ext <<EOF
18043 #line 18044 "configure"
18044 #include "confdefs.h"
18047 #include <stddef.h>
18052 if { (eval echo configure:18053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18056 echo "configure: failed program was:" >&5
18057 cat conftest.$ac_ext >&5
18062 echo "$ac_t""$has_weof" 1>&6
18065 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
18067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18068 echo "configure:18069: checking for $ac_func" >&5
18069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18070 echo $ac_n "(cached) $ac_c" 1>&6
18072 cat > conftest.$ac_ext <<EOF
18073 #line 18074 "configure"
18074 #include "confdefs.h"
18075 /* System header to define __stub macros and hopefully few prototypes,
18076 which can conflict with char $ac_func(); below. */
18077 #include <assert.h>
18078 /* Override any gcc2 internal prototype to avoid an error. */
18079 /* We use char because int might match the return type of a gcc2
18080 builtin and then its argument prototype would still apply. */
18085 /* The GNU C library defines this for functions which it implements
18086 to always fail with ENOSYS. Some functions are actually named
18087 something starting with __ and the normal name is an alias. */
18088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18096 if { (eval echo configure:18097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18098 eval "ac_cv_func_$ac_func=yes"
18100 echo "configure: failed program was:" >&5
18101 cat conftest.$ac_ext >&5
18103 eval "ac_cv_func_$ac_func=no"
18108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18109 echo "$ac_t""yes" 1>&6
18110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18111 cat >> confdefs.h <<EOF
18112 #define $ac_tr_func 1
18116 echo "$ac_t""no" 1>&6
18123 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
18124 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18125 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18126 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18127 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18128 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18131 echo "configure:18132: checking for $ac_func" >&5
18132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18133 echo $ac_n "(cached) $ac_c" 1>&6
18135 cat > conftest.$ac_ext <<EOF
18136 #line 18137 "configure"
18137 #include "confdefs.h"
18138 /* System header to define __stub macros and hopefully few prototypes,
18139 which can conflict with char $ac_func(); below. */
18140 #include <assert.h>
18141 /* Override any gcc2 internal prototype to avoid an error. */
18142 /* We use char because int might match the return type of a gcc2
18143 builtin and then its argument prototype would still apply. */
18148 /* The GNU C library defines this for functions which it implements
18149 to always fail with ENOSYS. Some functions are actually named
18150 something starting with __ and the normal name is an alias. */
18151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18159 if { (eval echo configure:18160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18161 eval "ac_cv_func_$ac_func=yes"
18163 echo "configure: failed program was:" >&5
18164 cat conftest.$ac_ext >&5
18166 eval "ac_cv_func_$ac_func=no"
18171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18172 echo "$ac_t""yes" 1>&6
18173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18174 cat >> confdefs.h <<EOF
18175 #define $ac_tr_func 1
18179 echo "$ac_t""no" 1>&6
18186 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
18187 echo "configure:18188: checking for ISO C99 wchar_t support" >&5
18188 if test x"$has_weof" = xyes &&
18189 test x"$has_wchar_minmax" = xyes &&
18190 test x"$ac_wfuncs" = xyes; then
18191 ac_isoC99_wchar_t=yes
18193 ac_isoC99_wchar_t=no
18195 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
18197 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
18198 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
18199 echo "configure:18200: checking for iconv.h" >&5
18200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18201 echo $ac_n "(cached) $ac_c" 1>&6
18203 cat > conftest.$ac_ext <<EOF
18204 #line 18205 "configure"
18205 #include "confdefs.h"
18208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18209 { (eval echo configure:18210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18211 if test -z "$ac_err"; then
18213 eval "ac_cv_header_$ac_safe=yes"
18216 echo "configure: failed program was:" >&5
18217 cat conftest.$ac_ext >&5
18219 eval "ac_cv_header_$ac_safe=no"
18223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18224 echo "$ac_t""yes" 1>&6
18227 echo "$ac_t""no" 1>&6
18231 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
18232 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
18233 echo "configure:18234: checking for langinfo.h" >&5
18234 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18235 echo $ac_n "(cached) $ac_c" 1>&6
18237 cat > conftest.$ac_ext <<EOF
18238 #line 18239 "configure"
18239 #include "confdefs.h"
18240 #include <langinfo.h>
18242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18243 { (eval echo configure:18244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18245 if test -z "$ac_err"; then
18247 eval "ac_cv_header_$ac_safe=yes"
18250 echo "configure: failed program was:" >&5
18251 cat conftest.$ac_ext >&5
18253 eval "ac_cv_header_$ac_safe=no"
18257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18258 echo "$ac_t""yes" 1>&6
18259 ac_has_langinfo_h=yes
18261 echo "$ac_t""no" 1>&6
18262 ac_has_langinfo_h=no
18266 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
18267 echo "configure:18268: checking for iconv in -liconv" >&5
18268 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
18269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18270 echo $ac_n "(cached) $ac_c" 1>&6
18272 ac_save_LIBS="$LIBS"
18273 LIBS="-liconv $LIBS"
18274 cat > conftest.$ac_ext <<EOF
18275 #line 18276 "configure"
18276 #include "confdefs.h"
18277 /* Override any gcc2 internal prototype to avoid an error. */
18278 /* We use char because int might match the return type of a gcc2
18279 builtin and then its argument prototype would still apply. */
18286 if { (eval echo configure:18287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18288 eval "ac_cv_lib_$ac_lib_var=yes"
18290 echo "configure: failed program was:" >&5
18291 cat conftest.$ac_ext >&5
18293 eval "ac_cv_lib_$ac_lib_var=no"
18296 LIBS="$ac_save_LIBS"
18299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18300 echo "$ac_t""yes" 1>&6
18303 echo "$ac_t""no" 1>&6
18306 ac_save_LIBS="$LIBS"
18307 LIBS="$LIBS $libiconv"
18309 for ac_func in iconv_open iconv_close iconv nl_langinfo
18311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18312 echo "configure:18313: checking for $ac_func" >&5
18313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18314 echo $ac_n "(cached) $ac_c" 1>&6
18316 cat > conftest.$ac_ext <<EOF
18317 #line 18318 "configure"
18318 #include "confdefs.h"
18319 /* System header to define __stub macros and hopefully few prototypes,
18320 which can conflict with char $ac_func(); below. */
18321 #include <assert.h>
18322 /* Override any gcc2 internal prototype to avoid an error. */
18323 /* We use char because int might match the return type of a gcc2
18324 builtin and then its argument prototype would still apply. */
18329 /* The GNU C library defines this for functions which it implements
18330 to always fail with ENOSYS. Some functions are actually named
18331 something starting with __ and the normal name is an alias. */
18332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18340 if { (eval echo configure:18341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18342 eval "ac_cv_func_$ac_func=yes"
18344 echo "configure: failed program was:" >&5
18345 cat conftest.$ac_ext >&5
18347 eval "ac_cv_func_$ac_func=no"
18352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18353 echo "$ac_t""yes" 1>&6
18354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18355 cat >> confdefs.h <<EOF
18356 #define $ac_tr_func 1
18361 echo "$ac_t""no" 1>&6
18367 LIBS="$ac_save_LIBS"
18369 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
18370 echo "configure:18371: checking for XPG2 wchar_t support" >&5
18371 if test x"$ac_has_iconv_h" = xyes &&
18372 test x"$ac_has_langinfo_h" = xyes &&
18373 test x"$ac_XPG2funcs" = xyes; then
18374 ac_XPG2_wchar_t=yes
18378 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
18380 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
18381 echo "configure:18382: checking for enabled wchar_t specializations" >&5
18382 if test x"$ac_isoC99_wchar_t" = xyes &&
18383 test x"$ac_XPG2_wchar_t" = xyes; then
18384 cat >> confdefs.h <<\EOF
18385 #define _GLIBCPP_USE_WCHAR_T 1
18388 echo "$ac_t"""yes"" 1>&6
18390 echo "$ac_t"""no"" 1>&6
18393 echo "configure: warning: wchar_t support disabled." 1>&2
18397 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18398 ac_save_CXXFLAGS="$CXXFLAGS"
18399 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18402 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18403 echo "configure:18404: checking for strtold declaration" >&5
18404 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
18405 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18406 echo $ac_n "(cached) $ac_c" 1>&6
18411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18412 ac_cpp='$CXXCPP $CPPFLAGS'
18413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18415 cross_compiling=$ac_cv_prog_cxx_cross
18417 cat > conftest.$ac_ext <<EOF
18418 #line 18419 "configure"
18419 #include "confdefs.h"
18420 #include <stdlib.h>
18425 if { (eval echo configure:18426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18427 glibcpp_cv_func_strtold_use=yes
18429 echo "configure: failed program was:" >&5
18430 cat conftest.$ac_ext >&5
18432 glibcpp_cv_func_strtold_use=no
18436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18440 cross_compiling=$ac_cv_prog_cc_cross
18446 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18447 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18448 for ac_func in strtold
18450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18451 echo "configure:18452: checking for $ac_func" >&5
18452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18453 echo $ac_n "(cached) $ac_c" 1>&6
18455 cat > conftest.$ac_ext <<EOF
18456 #line 18457 "configure"
18457 #include "confdefs.h"
18458 /* System header to define __stub macros and hopefully few prototypes,
18459 which can conflict with char $ac_func(); below. */
18460 #include <assert.h>
18461 /* Override any gcc2 internal prototype to avoid an error. */
18462 /* We use char because int might match the return type of a gcc2
18463 builtin and then its argument prototype would still apply. */
18468 /* The GNU C library defines this for functions which it implements
18469 to always fail with ENOSYS. Some functions are actually named
18470 something starting with __ and the normal name is an alias. */
18471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18479 if { (eval echo configure:18480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18481 eval "ac_cv_func_$ac_func=yes"
18483 echo "configure: failed program was:" >&5
18484 cat conftest.$ac_ext >&5
18486 eval "ac_cv_func_$ac_func=no"
18491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18492 echo "$ac_t""yes" 1>&6
18493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18494 cat >> confdefs.h <<EOF
18495 #define $ac_tr_func 1
18499 echo "$ac_t""no" 1>&6
18506 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
18507 echo "configure:18508: checking for strtof declaration" >&5
18508 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
18509 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
18510 echo $ac_n "(cached) $ac_c" 1>&6
18515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18516 ac_cpp='$CXXCPP $CPPFLAGS'
18517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18519 cross_compiling=$ac_cv_prog_cxx_cross
18521 cat > conftest.$ac_ext <<EOF
18522 #line 18523 "configure"
18523 #include "confdefs.h"
18524 #include <stdlib.h>
18529 if { (eval echo configure:18530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18531 glibcpp_cv_func_strtof_use=yes
18533 echo "configure: failed program was:" >&5
18534 cat conftest.$ac_ext >&5
18536 glibcpp_cv_func_strtof_use=no
18540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18541 ac_cpp='$CPP $CPPFLAGS'
18542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18544 cross_compiling=$ac_cv_prog_cc_cross
18550 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
18551 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
18552 for ac_func in strtof
18554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18555 echo "configure:18556: checking for $ac_func" >&5
18556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18557 echo $ac_n "(cached) $ac_c" 1>&6
18559 cat > conftest.$ac_ext <<EOF
18560 #line 18561 "configure"
18561 #include "confdefs.h"
18562 /* System header to define __stub macros and hopefully few prototypes,
18563 which can conflict with char $ac_func(); below. */
18564 #include <assert.h>
18565 /* Override any gcc2 internal prototype to avoid an error. */
18566 /* We use char because int might match the return type of a gcc2
18567 builtin and then its argument prototype would still apply. */
18572 /* The GNU C library defines this for functions which it implements
18573 to always fail with ENOSYS. Some functions are actually named
18574 something starting with __ and the normal name is an alias. */
18575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18583 if { (eval echo configure:18584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18585 eval "ac_cv_func_$ac_func=yes"
18587 echo "configure: failed program was:" >&5
18588 cat conftest.$ac_ext >&5
18590 eval "ac_cv_func_$ac_func=no"
18595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18596 echo "$ac_t""yes" 1>&6
18597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18598 cat >> confdefs.h <<EOF
18599 #define $ac_tr_func 1
18603 echo "$ac_t""no" 1>&6
18609 for ac_func in drand48
18611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18612 echo "configure:18613: checking for $ac_func" >&5
18613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18614 echo $ac_n "(cached) $ac_c" 1>&6
18616 cat > conftest.$ac_ext <<EOF
18617 #line 18618 "configure"
18618 #include "confdefs.h"
18619 /* System header to define __stub macros and hopefully few prototypes,
18620 which can conflict with char $ac_func(); below. */
18621 #include <assert.h>
18622 /* Override any gcc2 internal prototype to avoid an error. */
18623 /* We use char because int might match the return type of a gcc2
18624 builtin and then its argument prototype would still apply. */
18629 /* The GNU C library defines this for functions which it implements
18630 to always fail with ENOSYS. Some functions are actually named
18631 something starting with __ and the normal name is an alias. */
18632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18640 if { (eval echo configure:18641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18642 eval "ac_cv_func_$ac_func=yes"
18644 echo "configure: failed program was:" >&5
18645 cat conftest.$ac_ext >&5
18647 eval "ac_cv_func_$ac_func=no"
18652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18653 echo "$ac_t""yes" 1>&6
18654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18655 cat >> confdefs.h <<EOF
18656 #define $ac_tr_func 1
18660 echo "$ac_t""no" 1>&6
18665 CXXFLAGS="$ac_save_CXXFLAGS"
18668 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
18669 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
18670 echo "configure:18671: checking for locale.h" >&5
18671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18672 echo $ac_n "(cached) $ac_c" 1>&6
18674 cat > conftest.$ac_ext <<EOF
18675 #line 18676 "configure"
18676 #include "confdefs.h"
18677 #include <locale.h>
18679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18680 { (eval echo configure:18681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18682 if test -z "$ac_err"; then
18684 eval "ac_cv_header_$ac_safe=yes"
18687 echo "configure: failed program was:" >&5
18688 cat conftest.$ac_ext >&5
18690 eval "ac_cv_header_$ac_safe=no"
18694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18695 echo "$ac_t""yes" 1>&6
18697 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18698 echo "configure:18699: checking for LC_MESSAGES" >&5
18699 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18700 echo $ac_n "(cached) $ac_c" 1>&6
18702 cat > conftest.$ac_ext <<EOF
18703 #line 18704 "configure"
18704 #include "confdefs.h"
18705 #include <locale.h>
18710 if { (eval echo configure:18711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18712 ac_cv_val_LC_MESSAGES=yes
18714 echo "configure: failed program was:" >&5
18715 cat conftest.$ac_ext >&5
18717 ac_cv_val_LC_MESSAGES=no
18722 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18723 if test $ac_cv_val_LC_MESSAGES = yes; then
18724 cat >> confdefs.h <<\EOF
18725 #define HAVE_LC_MESSAGES 1
18731 echo "$ac_t""no" 1>&6
18736 cat > conftest.$ac_ext <<EOF
18737 #line 18738 "configure"
18738 #include "confdefs.h"
18740 #include <setjmp.h>
18743 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18746 if { (eval echo configure:18747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18748 cat >> confdefs.h <<\EOF
18749 #define HAVE_SIGSETJMP 1
18754 echo "configure: failed program was:" >&5
18755 cat conftest.$ac_ext >&5
18759 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
18761 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18762 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18763 echo "configure:18764: checking for $ac_hdr" >&5
18764 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18765 echo $ac_n "(cached) $ac_c" 1>&6
18767 cat > conftest.$ac_ext <<EOF
18768 #line 18769 "configure"
18769 #include "confdefs.h"
18772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18773 { (eval echo configure:18774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18775 if test -z "$ac_err"; then
18777 eval "ac_cv_header_$ac_safe=yes"
18780 echo "configure: failed program was:" >&5
18781 cat conftest.$ac_ext >&5
18783 eval "ac_cv_header_$ac_safe=no"
18787 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18788 echo "$ac_t""yes" 1>&6
18789 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18790 cat >> confdefs.h <<EOF
18791 #define $ac_tr_hdr 1
18795 echo "$ac_t""no" 1>&6
18799 for ac_func in getpagesize
18801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18802 echo "configure:18803: checking for $ac_func" >&5
18803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18804 echo $ac_n "(cached) $ac_c" 1>&6
18806 cat > conftest.$ac_ext <<EOF
18807 #line 18808 "configure"
18808 #include "confdefs.h"
18809 /* System header to define __stub macros and hopefully few prototypes,
18810 which can conflict with char $ac_func(); below. */
18811 #include <assert.h>
18812 /* Override any gcc2 internal prototype to avoid an error. */
18813 /* We use char because int might match the return type of a gcc2
18814 builtin and then its argument prototype would still apply. */
18819 /* The GNU C library defines this for functions which it implements
18820 to always fail with ENOSYS. Some functions are actually named
18821 something starting with __ and the normal name is an alias. */
18822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18830 if { (eval echo configure:18831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18832 eval "ac_cv_func_$ac_func=yes"
18834 echo "configure: failed program was:" >&5
18835 cat conftest.$ac_ext >&5
18837 eval "ac_cv_func_$ac_func=no"
18842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18843 echo "$ac_t""yes" 1>&6
18844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18845 cat >> confdefs.h <<EOF
18846 #define $ac_tr_func 1
18850 echo "$ac_t""no" 1>&6
18854 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18855 echo "configure:18856: checking for working mmap" >&5
18856 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18857 echo $ac_n "(cached) $ac_c" 1>&6
18859 if test "$cross_compiling" = yes; then
18860 ac_cv_func_mmap_fixed_mapped=no
18862 cat > conftest.$ac_ext <<EOF
18863 #line 18864 "configure"
18864 #include "confdefs.h"
18866 /* Thanks to Mike Haertel and Jim Avera for this test.
18867 Here is a matrix of mmap possibilities:
18868 mmap private not fixed
18869 mmap private fixed at somewhere currently unmapped
18870 mmap private fixed at somewhere already mapped
18871 mmap shared not fixed
18872 mmap shared fixed at somewhere currently unmapped
18873 mmap shared fixed at somewhere already mapped
18874 For private mappings, we should verify that changes cannot be read()
18875 back from the file, nor mmap's back from the file at a different
18876 address. (There have been systems where private was not correctly
18877 implemented like the infamous i386 svr4.0, and systems where the
18878 VM page cache was not coherent with the filesystem buffer cache
18879 like early versions of FreeBSD and possibly contemporary NetBSD.)
18880 For shared mappings, we should conversely verify that changes get
18881 propogated back to all the places they're supposed to be.
18883 Grep wants private fixed already mapped.
18884 The main things grep needs to know about mmap are:
18885 * does it exist and is it safe to write into the mmap'd area
18886 * how to use it (BSD variants) */
18887 #include <sys/types.h>
18889 #include <sys/mman.h>
18891 #if HAVE_SYS_TYPES_H
18892 # include <sys/types.h>
18896 # include <stdlib.h>
18899 #if HAVE_SYS_STAT_H
18900 # include <sys/stat.h>
18904 # include <unistd.h>
18907 /* This mess was copied from the GNU getpagesize.h. */
18908 #ifndef HAVE_GETPAGESIZE
18910 /* Assume that all systems that can run configure have sys/param.h. */
18911 # ifndef HAVE_SYS_PARAM_H
18912 # define HAVE_SYS_PARAM_H 1
18915 # ifdef _SC_PAGESIZE
18916 # define getpagesize() sysconf(_SC_PAGESIZE)
18917 # else /* no _SC_PAGESIZE */
18918 # ifdef HAVE_SYS_PARAM_H
18919 # include <sys/param.h>
18920 # ifdef EXEC_PAGESIZE
18921 # define getpagesize() EXEC_PAGESIZE
18922 # else /* no EXEC_PAGESIZE */
18924 # define getpagesize() NBPG * CLSIZE
18927 # endif /* no CLSIZE */
18928 # else /* no NBPG */
18930 # define getpagesize() NBPC
18931 # else /* no NBPC */
18933 # define getpagesize() PAGESIZE
18934 # endif /* PAGESIZE */
18935 # endif /* no NBPC */
18936 # endif /* no NBPG */
18937 # endif /* no EXEC_PAGESIZE */
18938 # else /* no HAVE_SYS_PARAM_H */
18939 # define getpagesize() 8192 /* punt totally */
18940 # endif /* no HAVE_SYS_PARAM_H */
18941 # endif /* no _SC_PAGESIZE */
18943 #endif /* no HAVE_GETPAGESIZE */
18946 extern "C" { void *malloc(unsigned); }
18954 char *data, *data2, *data3;
18958 pagesize = getpagesize();
18961 * First, make a file with some known garbage in it.
18963 data = malloc(pagesize);
18966 for (i = 0; i < pagesize; ++i)
18967 *(data + i) = rand();
18969 fd = creat("conftestmmap", 0600);
18972 if (write(fd, data, pagesize) != pagesize)
18977 * Next, try to mmap the file at a fixed address which
18978 * already has something else allocated at it. If we can,
18979 * also make sure that we see the same garbage.
18981 fd = open("conftestmmap", O_RDWR);
18984 data2 = malloc(2 * pagesize);
18987 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18988 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18989 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18991 for (i = 0; i < pagesize; ++i)
18992 if (*(data + i) != *(data2 + i))
18996 * Finally, make sure that changes to the mapped area
18997 * do not percolate back to the file as seen by read().
18998 * (This is a bug on some variants of i386 svr4.0.)
19000 for (i = 0; i < pagesize; ++i)
19001 *(data2 + i) = *(data2 + i) + 1;
19002 data3 = malloc(pagesize);
19005 if (read(fd, data3, pagesize) != pagesize)
19007 for (i = 0; i < pagesize; ++i)
19008 if (*(data + i) != *(data3 + i))
19011 unlink("conftestmmap");
19016 if { (eval echo configure:19017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
19018 ac_cv_func_mmap_fixed_mapped=yes
19020 echo "configure: failed program was:" >&5
19021 cat conftest.$ac_ext >&5
19023 ac_cv_func_mmap_fixed_mapped=no
19030 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
19031 if test $ac_cv_func_mmap_fixed_mapped = yes; then
19032 cat >> confdefs.h <<\EOF
19033 #define HAVE_MMAP 1
19039 # Establish limits on memory usage during 'make check'
19042 setrlimit_have_headers=yes
19043 for ac_hdr in sys/resource.h unistd.h
19045 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19046 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19047 echo "configure:19048: checking for $ac_hdr" >&5
19048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19049 echo $ac_n "(cached) $ac_c" 1>&6
19051 cat > conftest.$ac_ext <<EOF
19052 #line 19053 "configure"
19053 #include "confdefs.h"
19056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19057 { (eval echo configure:19058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19059 if test -z "$ac_err"; then
19061 eval "ac_cv_header_$ac_safe=yes"
19064 echo "configure: failed program was:" >&5
19065 cat conftest.$ac_ext >&5
19067 eval "ac_cv_header_$ac_safe=no"
19071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19072 echo "$ac_t""yes" 1>&6
19073 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19074 cat >> confdefs.h <<EOF
19075 #define $ac_tr_hdr 1
19079 echo "$ac_t""no" 1>&6
19080 setrlimit_have_headers=no
19084 # If don't have the headers, then we can't run the tests now, and we
19085 # won't be seeing any of these during testsuite compilation.
19086 if test $setrlimit_have_headers = yes; then
19087 # Can't do these in a loop, else the resulting syntax is wrong.
19089 cat > conftest.$ac_ext <<EOF
19090 #line 19091 "configure"
19091 #include "confdefs.h"
19092 #include <sys/resource.h>
19093 #include <unistd.h>
19096 int f = RLIMIT_DATA ;
19099 if { (eval echo configure:19100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19103 echo "configure: failed program was:" >&5
19104 cat conftest.$ac_ext >&5
19109 cat >> confdefs.h <<EOF
19110 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
19115 cat > conftest.$ac_ext <<EOF
19116 #line 19117 "configure"
19117 #include "confdefs.h"
19118 #include <sys/resource.h>
19119 #include <unistd.h>
19122 int f = RLIMIT_RSS ;
19125 if { (eval echo configure:19126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19129 echo "configure: failed program was:" >&5
19130 cat conftest.$ac_ext >&5
19135 cat >> confdefs.h <<EOF
19136 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
19141 cat > conftest.$ac_ext <<EOF
19142 #line 19143 "configure"
19143 #include "confdefs.h"
19144 #include <sys/resource.h>
19145 #include <unistd.h>
19148 int f = RLIMIT_VMEM ;
19151 if { (eval echo configure:19152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19155 echo "configure: failed program was:" >&5
19156 cat conftest.$ac_ext >&5
19161 cat >> confdefs.h <<EOF
19162 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
19167 cat > conftest.$ac_ext <<EOF
19168 #line 19169 "configure"
19169 #include "confdefs.h"
19170 #include <sys/resource.h>
19171 #include <unistd.h>
19174 int f = RLIMIT_AS ;
19177 if { (eval echo configure:19178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19181 echo "configure: failed program was:" >&5
19182 cat conftest.$ac_ext >&5
19187 cat >> confdefs.h <<EOF
19188 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
19193 # Check for rlimit, setrlimit.
19194 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
19195 echo $ac_n "(cached) $ac_c" 1>&6
19198 cat > conftest.$ac_ext <<EOF
19199 #line 19200 "configure"
19200 #include "confdefs.h"
19201 #include <sys/resource.h>
19202 #include <unistd.h>
19205 struct rlimit r; setrlimit(0, &r);
19208 if { (eval echo configure:19209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19212 echo "configure: failed program was:" >&5
19213 cat conftest.$ac_ext >&5
19223 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
19224 echo "configure:19225: checking for testsuite memory limit support" >&5
19225 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
19227 cat >> confdefs.h <<\EOF
19228 #define _GLIBCPP_MEM_LIMITS 1
19234 echo "$ac_t""$ac_mem_limits" 1>&6
19237 # Look for setenv, so that extended locale tests can be performed.
19238 for ac_func in setenv
19240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19241 echo "configure:19242: checking for $ac_func" >&5
19242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19243 echo $ac_n "(cached) $ac_c" 1>&6
19245 cat > conftest.$ac_ext <<EOF
19246 #line 19247 "configure"
19247 #include "confdefs.h"
19248 /* System header to define __stub macros and hopefully few prototypes,
19249 which can conflict with char $ac_func(); below. */
19250 #include <assert.h>
19251 /* Override any gcc2 internal prototype to avoid an error. */
19252 /* We use char because int might match the return type of a gcc2
19253 builtin and then its argument prototype would still apply. */
19258 /* The GNU C library defines this for functions which it implements
19259 to always fail with ENOSYS. Some functions are actually named
19260 something starting with __ and the normal name is an alias. */
19261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19269 if { (eval echo configure:19270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19271 eval "ac_cv_func_$ac_func=yes"
19273 echo "configure: failed program was:" >&5
19274 cat conftest.$ac_ext >&5
19276 eval "ac_cv_func_$ac_func=no"
19281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19282 echo "$ac_t""yes" 1>&6
19283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19284 cat >> confdefs.h <<EOF
19285 #define $ac_tr_func 1
19289 echo "$ac_t""no" 1>&6
19296 # This depends on the possibly-skipped linker test above.
19297 # Check whether --enable-symvers or --disable-symvers was given.
19298 if test "${enable_symvers+set}" = set; then
19299 enableval="$enable_symvers"
19300 case "$enableval" in
19301 yes) enable_symvers=yes ;;
19302 no) enable_symvers=no ;;
19303 # other names here, just as sanity checks
19304 #gnu|sun|etcetera) enable_symvers=$enableval ;;
19305 gnu) enable_symvers=$enableval ;;
19306 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
19312 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
19313 # don't know enough about $LD to do tricks...
19314 if test $enable_shared = no || test x$LD = x ; then
19318 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
19319 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
19320 echo "configure:19321: checking for shared libgcc" >&5
19321 ac_save_CFLAGS="$CFLAGS"
19323 cat > conftest.$ac_ext <<EOF
19324 #line 19325 "configure"
19325 #include "confdefs.h"
19331 if { (eval echo configure:19332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19333 glibcpp_shared_libgcc=yes
19335 echo "configure: failed program was:" >&5
19336 cat conftest.$ac_ext >&5
19338 glibcpp_shared_libgcc=no
19341 CFLAGS="$ac_save_CFLAGS"
19342 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
19344 # For GNU ld, we need at least this version. It's 2.12 in the same format
19345 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
19346 glibcpp_min_gnu_ld_version=21200
19348 # Check to see if unspecified "yes" value can win, given results
19350 if test $enable_symvers = yes ; then
19351 if test $with_gnu_ld = yes &&
19352 test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version &&
19353 test $glibcpp_shared_libgcc = yes ;
19357 # just fail for now
19362 case $enable_symvers in
19364 LINKER_MAP=config/linker-map.dummy
19367 LINKER_MAP=config/linker-map.gnu
19374 if test $enable_symvers != no; then
19375 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
19376 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
19378 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
19379 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
19381 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
19382 echo "configure:19383: checking versioning on shared library symbols" >&5
19383 echo "$ac_t""$enable_symvers" 1>&6
19386 # Propagate the target-specific source directories through the build chain.
19387 OS_INC_SRCDIR=$os_include_dir/bits
19388 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
19389 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
19394 # Set up cross-compile flags
19398 if test "$CANADIAN" = yes; then
19406 cat > confcache <<\EOF
19407 # This file is a shell script that caches the results of configure
19408 # tests run on this system so they can be shared between configure
19409 # scripts and configure runs. It is not useful on other systems.
19410 # If it contains results you don't want to keep, you may remove or edit it.
19412 # By default, configure uses ./config.cache as the cache file,
19413 # creating it if it does not exist already. You can give configure
19414 # the --cache-file=FILE option to use a different cache file; that is
19415 # what configure does when it calls configure scripts in
19416 # subdirectories, so they share the cache.
19417 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19418 # config.status only pays attention to the cache file if you give it the
19419 # --recheck option to rerun configure.
19422 # The following way of writing the cache mishandles newlines in values,
19423 # but we know of no workaround that is simple, portable, and efficient.
19424 # So, don't put newlines in cache variables' values.
19425 # Ultrix sh set writes to stderr and can't be redirected directly,
19426 # and sets the high bit in the cache file unless we assign to the vars.
19428 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19430 # `set' does not quote correctly, so add quotes (double-quote substitution
19431 # turns \\\\ into \\, and sed turns \\ into \).
19433 -e "s/'/'\\\\''/g" \
19434 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19437 # `set' quotes correctly as required by POSIX, so do not add quotes.
19438 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19441 if cmp -s $cache_file confcache; then
19444 if test -w $cache_file; then
19445 echo "updating cache $cache_file"
19446 cat confcache > $cache_file
19448 echo "not updating unwritable cache $cache_file"
19454 if test "${multilib}" = "yes"; then
19455 multilib_arg="--enable-multilib"
19460 # Needed so that g++ can find the correct include subdir automatically.
19463 # Export all the install information
19465 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
19466 # exported correctly in GLIBCPP_CONFIGURE.
19467 glibcpp_toolexecdir=no
19468 glibcpp_toolexeclibdir=no
19469 glibcpp_prefixdir=${prefix}
19471 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
19472 echo "configure:19473: checking for interface version number" >&5
19473 libstdcxx_interface=$INTERFACE
19474 echo "$ac_t""$libstdcxx_interface" 1>&6
19476 # Process the option --with-gxx-include-dir=<path to include-files directory>
19477 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
19478 echo "configure:19479: checking for --with-gxx-include-dir" >&5
19479 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
19480 if test "${with_gxx_include_dir+set}" = set; then
19481 withval="$with_gxx_include_dir"
19482 case "${withval}" in
19484 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
19491 gxx_include_dir=${withval}
19498 echo "$ac_t""$gxx_include_dir" 1>&6
19500 # Process the option "--enable-version-specific-runtime-libs"
19501 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
19502 echo "configure:19503: checking for --enable-version-specific-runtime-libs" >&5
19503 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
19504 if test "${enable_version_specific_runtime_libs+set}" = set; then
19505 enableval="$enable_version_specific_runtime_libs"
19506 case "$enableval" in
19507 yes) version_specific_libs=yes ;;
19508 no) version_specific_libs=no ;;
19509 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
19512 version_specific_libs=no
19514 # Option set, now we can test it.
19515 echo "$ac_t""$version_specific_libs" 1>&6
19517 if test $version_specific_libs = yes; then
19518 # Need the gcc compiler version to know where to install libraries
19519 # and header files if --enable-version-specific-runtime-libs option
19521 gcc_version_trigger=${srcdir}/../gcc/version.c
19522 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
19523 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
19524 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
19525 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19526 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
19529 # Default case for install directory for include files.
19530 if test $version_specific_libs = no &&
19531 test $gxx_include_dir = no; then
19532 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
19535 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
19536 # Install a library built with a cross compiler in tooldir, not libdir.
19537 if test x"$glibcpp_toolexecdir" = x"no"; then
19538 if test -n "$with_cross_host" &&
19539 test x"$with_cross_host" != x"no"; then
19540 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
19541 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
19543 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19544 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
19548 echo $ac_n "checking for install location""... $ac_c" 1>&6
19549 echo "configure:19550: checking for install location" >&5
19550 echo "$ac_t""$gxx_include_dir" 1>&6
19558 # Export all the include and flag information to makefiles.
19560 # Root level of the build directory include sources.
19561 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
19563 # Passed down for canadian crosses.
19564 if test x"$CANADIAN" = xyes; then
19565 TOPLEVEL_INCLUDES='-I$(includedir)'
19568 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
19570 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
19572 if test x"$need_libio" = xyes; then
19573 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
19577 # Now, export this to all the little Makefiles....
19584 # Optimization flags that are probably a good idea for thrill-seekers. Just
19585 # uncomment the lines below and make, everything else is ready to go...
19586 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
19590 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
19594 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
19595 grep "enable shared" > /dev/null; then
19596 LIBSUPCXX_PICFLAGS=-prefer-pic
19598 LIBSUPCXX_PICFLAGS=
19602 # Generate the various Makefiles, include files, and scripts.
19603 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
19604 # and libsupc++/Makefile.am so that multilib installs will end up
19605 # installed in the correct place. To work around this not being passed
19606 # down from config-ml.in -> top_srcdir/Makefile.am ->
19607 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
19609 cat > confcache <<\EOF
19610 # This file is a shell script that caches the results of configure
19611 # tests run on this system so they can be shared between configure
19612 # scripts and configure runs. It is not useful on other systems.
19613 # If it contains results you don't want to keep, you may remove or edit it.
19615 # By default, configure uses ./config.cache as the cache file,
19616 # creating it if it does not exist already. You can give configure
19617 # the --cache-file=FILE option to use a different cache file; that is
19618 # what configure does when it calls configure scripts in
19619 # subdirectories, so they share the cache.
19620 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19621 # config.status only pays attention to the cache file if you give it the
19622 # --recheck option to rerun configure.
19625 # The following way of writing the cache mishandles newlines in values,
19626 # but we know of no workaround that is simple, portable, and efficient.
19627 # So, don't put newlines in cache variables' values.
19628 # Ultrix sh set writes to stderr and can't be redirected directly,
19629 # and sets the high bit in the cache file unless we assign to the vars.
19631 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19633 # `set' does not quote correctly, so add quotes (double-quote substitution
19634 # turns \\\\ into \\, and sed turns \\ into \).
19636 -e "s/'/'\\\\''/g" \
19637 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19640 # `set' quotes correctly as required by POSIX, so do not add quotes.
19641 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19644 if cmp -s $cache_file confcache; then
19647 if test -w $cache_file; then
19648 echo "updating cache $cache_file"
19649 cat confcache > $cache_file
19651 echo "not updating unwritable cache $cache_file"
19656 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19658 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19659 # Let make expand exec_prefix.
19660 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19662 # Any assignment to VPATH causes Sun make to only execute
19663 # the first set of double-colon rules, so remove it if not needed.
19664 # If there is a colon in the path, we need to keep it.
19665 if test "x$srcdir" = x.; then
19666 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19669 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19671 DEFS=-DHAVE_CONFIG_H
19673 # Without the "./", some shells look in PATH for config.status.
19674 : ${CONFIG_STATUS=./config.status}
19676 echo creating $CONFIG_STATUS
19677 rm -f $CONFIG_STATUS
19678 cat > $CONFIG_STATUS <<EOF
19680 # Generated automatically by configure.
19681 # Run this file to recreate the current configuration.
19682 # This directory was configured as follows,
19683 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19685 # $0 $ac_configure_args
19687 # Compiler output produced by configure, useful for debugging
19688 # configure, is in ./config.log if it exists.
19690 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19693 case "\$ac_option" in
19694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19695 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19696 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19697 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19698 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19700 -help | --help | --hel | --he | --h)
19701 echo "\$ac_cs_usage"; exit 0 ;;
19702 *) echo "\$ac_cs_usage"; exit 1 ;;
19706 ac_given_srcdir=$srcdir
19707 ac_given_INSTALL="$INSTALL"
19709 trap 'rm -fr `echo "Makefile \
19710 include/Makefile src/Makefile \
19711 libmath/Makefile libio/Makefile libsupc++/Makefile \
19712 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19714 cat >> $CONFIG_STATUS <<EOF
19716 # Protect against being on the right side of a sed subst in config.status.
19717 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19718 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19722 s%@CFLAGS@%$CFLAGS%g
19723 s%@CPPFLAGS@%$CPPFLAGS%g
19724 s%@CXXFLAGS@%$CXXFLAGS%g
19725 s%@FFLAGS@%$FFLAGS%g
19727 s%@LDFLAGS@%$LDFLAGS%g
19729 s%@exec_prefix@%$exec_prefix%g
19730 s%@prefix@%$prefix%g
19731 s%@program_transform_name@%$program_transform_name%g
19732 s%@bindir@%$bindir%g
19733 s%@sbindir@%$sbindir%g
19734 s%@libexecdir@%$libexecdir%g
19735 s%@datadir@%$datadir%g
19736 s%@sysconfdir@%$sysconfdir%g
19737 s%@sharedstatedir@%$sharedstatedir%g
19738 s%@localstatedir@%$localstatedir%g
19739 s%@libdir@%$libdir%g
19740 s%@includedir@%$includedir%g
19741 s%@oldincludedir@%$oldincludedir%g
19742 s%@infodir@%$infodir%g
19743 s%@mandir@%$mandir%g
19744 s%@PACKAGE@%$PACKAGE%g
19745 s%@release_VERSION@%$release_VERSION%g
19746 s%@libtool_VERSION@%$libtool_VERSION%g
19748 s%@host_alias@%$host_alias%g
19749 s%@host_cpu@%$host_cpu%g
19750 s%@host_vendor@%$host_vendor%g
19751 s%@host_os@%$host_os%g
19752 s%@target@%$target%g
19753 s%@target_alias@%$target_alias%g
19754 s%@target_cpu@%$target_cpu%g
19755 s%@target_vendor@%$target_vendor%g
19756 s%@target_os@%$target_os%g
19758 s%@build_alias@%$build_alias%g
19759 s%@build_cpu@%$build_cpu%g
19760 s%@build_vendor@%$build_vendor%g
19761 s%@build_os@%$build_os%g
19762 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19763 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19764 s%@INSTALL_DATA@%$INSTALL_DATA%g
19765 s%@VERSION@%$VERSION%g
19766 s%@ACLOCAL@%$ACLOCAL%g
19767 s%@AUTOCONF@%$AUTOCONF%g
19768 s%@AUTOMAKE@%$AUTOMAKE%g
19769 s%@AUTOHEADER@%$AUTOHEADER%g
19770 s%@MAKEINFO@%$MAKEINFO%g
19771 s%@SET_MAKE@%$SET_MAKE%g
19772 s%@toplevel_srcdir@%$toplevel_srcdir%g
19773 s%@glibcpp_builddir@%$glibcpp_builddir%g
19774 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
19777 s%@glibcpp_basedir@%$glibcpp_basedir%g
19779 s%@glibcpp_CXX@%$glibcpp_CXX%g
19782 s%@RANLIB@%$RANLIB%g
19783 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19784 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19786 s%@EXEEXT@%$EXEEXT%g
19787 s%@OBJEXT@%$OBJEXT%g
19789 s%@LIBTOOL@%$LIBTOOL%g
19790 s%@CXXCPP@%$CXXCPP%g
19791 s%@enable_shared@%$enable_shared%g
19792 s%@enable_static@%$enable_static%g
19793 s%@ifGNUmake@%$ifGNUmake%g
19794 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19796 s%@CSTDIO_H@%$CSTDIO_H%g
19797 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
19798 s%@CCODECVT_C@%$CCODECVT_C%g
19799 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
19800 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
19801 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19802 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19803 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19804 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19805 s%@libio_la@%$libio_la%g
19806 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
19807 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
19808 s%@glibcpp_localedir@%$glibcpp_localedir%g
19809 s%@USE_NLS@%$USE_NLS%g
19810 s%@CLOCALE_H@%$CLOCALE_H%g
19811 s%@CCODECVT_H@%$CCODECVT_H%g
19812 s%@CMESSAGES_H@%$CMESSAGES_H%g
19813 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19814 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19815 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19816 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19817 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
19818 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19819 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19820 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19821 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19822 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19823 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19824 s%@WERROR@%$WERROR%g
19825 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
19826 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
19827 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
19828 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
19829 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
19830 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
19831 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19832 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19833 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
19834 s%@gxx_include_dir@%$gxx_include_dir%g
19835 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
19836 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
19837 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19838 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
19839 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19840 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19841 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19842 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19843 s%@WARN_FLAGS@%$WARN_FLAGS%g
19844 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
19849 cat >> $CONFIG_STATUS <<\EOF
19851 # Split the substitutions into bite-sized pieces for seds with
19852 # small command number limits, like on Digital OSF/1 and HP-UX.
19853 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19854 ac_file=1 # Number of current file.
19855 ac_beg=1 # First line for current file.
19856 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19859 while $ac_more_lines; do
19860 if test $ac_beg -gt 1; then
19861 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19863 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19865 if test ! -s conftest.s$ac_file; then
19866 ac_more_lines=false
19867 rm -f conftest.s$ac_file
19869 if test -z "$ac_sed_cmds"; then
19870 ac_sed_cmds="sed -f conftest.s$ac_file"
19872 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19874 ac_file=`expr $ac_file + 1`
19876 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19879 if test -z "$ac_sed_cmds"; then
19884 cat >> $CONFIG_STATUS <<EOF
19886 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
19887 include/Makefile src/Makefile \
19888 libmath/Makefile libio/Makefile libsupc++/Makefile \
19889 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
19891 cat >> $CONFIG_STATUS <<\EOF
19892 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19893 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19895 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19896 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19897 *) ac_file_in="${ac_file}.in" ;;
19900 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19902 # Remove last slash and all that follows it. Not all systems have dirname.
19903 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19904 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19905 # The file is in a subdirectory.
19906 test ! -d "$ac_dir" && mkdir "$ac_dir"
19907 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19908 # A "../" for each directory in $ac_dir_suffix.
19909 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19911 ac_dir_suffix= ac_dots=
19914 case "$ac_given_srcdir" in
19916 if test -z "$ac_dots"; then top_srcdir=.
19917 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19918 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19919 *) # Relative path.
19920 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19921 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19924 case "$ac_given_INSTALL" in
19925 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19926 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19929 echo creating "$ac_file"
19931 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19933 *Makefile*) ac_comsub="1i\\
19934 # $configure_input" ;;
19938 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19940 s%@configure_input@%$configure_input%g
19941 s%@srcdir@%$srcdir%g
19942 s%@top_srcdir@%$top_srcdir%g
19943 s%@INSTALL@%$INSTALL%g
19944 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19948 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19949 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19951 # ac_d sets the value in "#define NAME VALUE" lines.
19952 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19953 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19956 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19957 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19958 ac_uB='\([ ]\)%\1#\2define\3'
19961 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19962 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19963 ac_eB='$%\1#\2define\3'
19967 if test "${CONFIG_HEADERS+set}" != set; then
19969 cat >> $CONFIG_STATUS <<EOF
19970 CONFIG_HEADERS="config.h"
19972 cat >> $CONFIG_STATUS <<\EOF
19974 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19975 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19977 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19978 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19979 *) ac_file_in="${ac_file}.in" ;;
19982 echo creating $ac_file
19984 rm -f conftest.frag conftest.in conftest.out
19985 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19986 cat $ac_file_inputs > conftest.in
19990 # Transform confdefs.h into a sed script conftest.vals that substitutes
19991 # the proper values into config.h.in to produce config.h. And first:
19992 # Protect against being on the right side of a sed subst in config.status.
19993 # Protect against being in an unquoted here document in config.status.
19994 rm -f conftest.vals
19995 cat > conftest.hdr <<\EOF
19998 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20002 sed -n -f conftest.hdr confdefs.h > conftest.vals
20005 # This sed command replaces #undef with comments. This is necessary, for
20006 # example, in the case of _POSIX_SOURCE, which is predefined and required
20007 # on some systems where configure will not decide to define it.
20008 cat >> conftest.vals <<\EOF
20009 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20012 # Break up conftest.vals because some shells have a limit on
20013 # the size of here documents, and old seds have small limits too.
20015 rm -f conftest.tail
20018 ac_lines=`grep -c . conftest.vals`
20019 # grep -c gives empty output for an empty file on some AIX systems.
20020 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20021 # Write a limited-size here document to conftest.frag.
20022 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20023 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20025 sed -f conftest.frag conftest.in > conftest.out
20027 mv conftest.out conftest.in
20028 ' >> $CONFIG_STATUS
20029 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20030 rm -f conftest.vals
20031 mv conftest.tail conftest.vals
20033 rm -f conftest.vals
20035 cat >> $CONFIG_STATUS <<\EOF
20036 rm -f conftest.frag conftest.h
20037 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20038 cat conftest.in >> conftest.h
20040 if cmp -s $ac_file conftest.h 2>/dev/null; then
20041 echo "$ac_file is unchanged"
20044 # Remove last slash and all that follows it. Not all systems have dirname.
20045 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20046 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20047 # The file is in a subdirectory.
20048 test ! -d "$ac_dir" && mkdir "$ac_dir"
20051 mv conftest.h $ac_file
20057 cat >> $CONFIG_STATUS <<EOF
20058 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
20059 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"
20062 cat >> $CONFIG_STATUS <<\EOF
20063 srcdir=$ac_given_srcdir
20064 while test -n "$ac_sources"; do
20065 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
20066 set $ac_sources; ac_source=$1; shift; ac_sources=$*
20068 echo "linking $srcdir/$ac_source to $ac_dest"
20070 if test ! -r $srcdir/$ac_source; then
20071 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
20075 # Make relative symlinks.
20076 # Remove last slash and all that follows it. Not all systems have dirname.
20077 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
20078 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
20079 # The dest file is in a subdirectory.
20080 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
20081 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
20082 # A "../" for each directory in $ac_dest_dir_suffix.
20083 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
20085 ac_dest_dir_suffix= ac_dots=
20089 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
20090 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
20093 # Make a symlink if possible; otherwise try a hard link.
20094 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
20095 ln $srcdir/$ac_source $ac_dest; then :
20097 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
20101 cat >> $CONFIG_STATUS <<EOF
20106 with_multisubdir=${with_multisubdir}
20107 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20108 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20109 glibcpp_basedir=${glibcpp_basedir}
20114 cat >> $CONFIG_STATUS <<\EOF
20115 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
20116 if test -n "$CONFIG_FILES"; then
20117 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
20118 grep '^MULTISUBDIR =' Makefile >> src/Makefile
20119 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
20122 chmod +x testsuite_flags
20126 chmod +x $CONFIG_STATUS
20127 rm -fr confdefs* $ac_clean_files
20128 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20132 # Sanity checking & User-visible messages.
20133 # Checks down here, otherwise they get scrolled off before
20134 # the user will notice.
20136 # Trying to get more people to read documentation. Possibly remove
20137 # check and warn all the time. There is no "informational" AC_MSG_
20138 # macro, so these are going to be printed even when --quiet/--silent
20140 if test ! -f stamp-sanity-warned; then
20141 touch stamp-sanity-warned
20143 echo "Please make certain that you read the installation information here:"
20144 echo " faster => ${srcdir}/docs/install.html"
20145 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
20147 echo "and the configuration information here:"
20148 echo " faster => ${srcdir}/docs/configopts.html"
20149 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
20151 echo "before proceeding with ${_cv_gnu_make_command}."