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-libunwind-exceptions force use of libunwind for exceptions"
62 --enable-concept-checks use Boost-derived template checks [default=no]"
64 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
66 --with-gxx-include-dir the installation directory for include files"
68 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
70 # Initialize some variables set by options.
71 # The variables have the same names as the options, with
72 # dashes changed to underlines.
74 cache_file=./config.cache
83 program_transform_name=s,x,x,
91 bindir='${exec_prefix}/bin'
92 sbindir='${exec_prefix}/sbin'
93 libexecdir='${exec_prefix}/libexec'
94 datadir='${prefix}/share'
95 sysconfdir='${prefix}/etc'
96 sharedstatedir='${prefix}/com'
97 localstatedir='${prefix}/var'
98 libdir='${exec_prefix}/lib'
99 includedir='${prefix}/include'
100 oldincludedir='/usr/include'
101 infodir='${prefix}/info'
102 mandir='${prefix}/man'
104 # Initialize some other variables.
107 SHELL=${CONFIG_SHELL-/bin/sh}
108 # Maximum number of lines to put in a shell here document.
115 # If the previous option needs an argument, assign it.
116 if test -n "$ac_prev"; then
117 eval "$ac_prev=\$ac_option"
123 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
127 # Accept the important Cygnus configure options, so we can diagnose typos.
131 -bindir | --bindir | --bindi | --bind | --bin | --bi)
133 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
134 bindir="$ac_optarg" ;;
136 -build | --build | --buil | --bui | --bu)
138 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
139 build="$ac_optarg" ;;
141 -cache-file | --cache-file | --cache-fil | --cache-fi \
142 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
143 ac_prev=cache_file ;;
144 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
145 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
146 cache_file="$ac_optarg" ;;
148 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
150 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
152 datadir="$ac_optarg" ;;
154 -disable-* | --disable-*)
155 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
156 # Reject names that are not valid shell variable names.
157 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
158 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
160 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
161 eval "enable_${ac_feature}=no" ;;
163 -enable-* | --enable-*)
164 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
165 # Reject names that are not valid shell variable names.
166 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
167 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
169 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
174 eval "enable_${ac_feature}='$ac_optarg'" ;;
176 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
177 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
178 | --exec | --exe | --ex)
179 ac_prev=exec_prefix ;;
180 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
181 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
182 | --exec=* | --exe=* | --ex=*)
183 exec_prefix="$ac_optarg" ;;
185 -gas | --gas | --ga | --g)
186 # Obsolete; use --with-gas.
189 -help | --help | --hel | --he)
190 # Omit some internal or obsolete options to make the list less imposing.
191 # This message is too long to be a string in the A/UX 3.1 sh.
193 Usage: configure [options] [host]
194 Options: [defaults in brackets after descriptions]
196 --cache-file=FILE cache test results in FILE
197 --help print this message
198 --no-create do not create output files
199 --quiet, --silent do not print \`checking...' messages
200 --version print the version of autoconf that created configure
201 Directory and file names:
202 --prefix=PREFIX install architecture-independent files in PREFIX
204 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
206 --bindir=DIR user executables in DIR [EPREFIX/bin]
207 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
208 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
209 --datadir=DIR read-only architecture-independent data in DIR
211 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
212 --sharedstatedir=DIR modifiable architecture-independent data in DIR
214 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
215 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
216 --includedir=DIR C header files in DIR [PREFIX/include]
217 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
218 --infodir=DIR info documentation in DIR [PREFIX/info]
219 --mandir=DIR man documentation in DIR [PREFIX/man]
220 --srcdir=DIR find the sources in DIR [configure dir or ..]
221 --program-prefix=PREFIX prepend PREFIX to installed program names
222 --program-suffix=SUFFIX append SUFFIX to installed program names
223 --program-transform-name=PROGRAM
224 run sed PROGRAM on installed program names
228 --build=BUILD configure for building on BUILD [BUILD=HOST]
229 --host=HOST configure for HOST [guessed]
230 --target=TARGET configure for TARGET [TARGET=HOST]
231 Features and packages:
232 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
233 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
234 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
235 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
236 --x-includes=DIR X include files are in DIR
237 --x-libraries=DIR X library files are in DIR
239 if test -n "$ac_help"; then
240 echo "--enable and --with options recognized:$ac_help"
244 -host | --host | --hos | --ho)
246 -host=* | --host=* | --hos=* | --ho=*)
249 -includedir | --includedir | --includedi | --included | --include \
250 | --includ | --inclu | --incl | --inc)
251 ac_prev=includedir ;;
252 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
253 | --includ=* | --inclu=* | --incl=* | --inc=*)
254 includedir="$ac_optarg" ;;
256 -infodir | --infodir | --infodi | --infod | --info | --inf)
258 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
259 infodir="$ac_optarg" ;;
261 -libdir | --libdir | --libdi | --libd)
263 -libdir=* | --libdir=* | --libdi=* | --libd=*)
264 libdir="$ac_optarg" ;;
266 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
267 | --libexe | --libex | --libe)
268 ac_prev=libexecdir ;;
269 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
270 | --libexe=* | --libex=* | --libe=*)
271 libexecdir="$ac_optarg" ;;
273 -localstatedir | --localstatedir | --localstatedi | --localstated \
274 | --localstate | --localstat | --localsta | --localst \
275 | --locals | --local | --loca | --loc | --lo)
276 ac_prev=localstatedir ;;
277 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
278 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
279 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
280 localstatedir="$ac_optarg" ;;
282 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
284 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
285 mandir="$ac_optarg" ;;
288 # Obsolete; use --without-fp.
291 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
295 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
296 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
299 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
300 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
301 | --oldin | --oldi | --old | --ol | --o)
302 ac_prev=oldincludedir ;;
303 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
304 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
305 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
306 oldincludedir="$ac_optarg" ;;
308 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
310 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
311 prefix="$ac_optarg" ;;
313 -program-prefix | --program-prefix | --program-prefi | --program-pref \
314 | --program-pre | --program-pr | --program-p)
315 ac_prev=program_prefix ;;
316 -program-prefix=* | --program-prefix=* | --program-prefi=* \
317 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
318 program_prefix="$ac_optarg" ;;
320 -program-suffix | --program-suffix | --program-suffi | --program-suff \
321 | --program-suf | --program-su | --program-s)
322 ac_prev=program_suffix ;;
323 -program-suffix=* | --program-suffix=* | --program-suffi=* \
324 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
325 program_suffix="$ac_optarg" ;;
327 -program-transform-name | --program-transform-name \
328 | --program-transform-nam | --program-transform-na \
329 | --program-transform-n | --program-transform- \
330 | --program-transform | --program-transfor \
331 | --program-transfo | --program-transf \
332 | --program-trans | --program-tran \
333 | --progr-tra | --program-tr | --program-t)
334 ac_prev=program_transform_name ;;
335 -program-transform-name=* | --program-transform-name=* \
336 | --program-transform-nam=* | --program-transform-na=* \
337 | --program-transform-n=* | --program-transform-=* \
338 | --program-transform=* | --program-transfor=* \
339 | --program-transfo=* | --program-transf=* \
340 | --program-trans=* | --program-tran=* \
341 | --progr-tra=* | --program-tr=* | --program-t=*)
342 program_transform_name="$ac_optarg" ;;
344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
345 | -silent | --silent | --silen | --sile | --sil)
348 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
350 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
352 sbindir="$ac_optarg" ;;
354 -sharedstatedir | --sharedstatedir | --sharedstatedi \
355 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
356 | --sharedst | --shareds | --shared | --share | --shar \
358 ac_prev=sharedstatedir ;;
359 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
360 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
361 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
363 sharedstatedir="$ac_optarg" ;;
365 -site | --site | --sit)
367 -site=* | --site=* | --sit=*)
370 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
372 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
373 srcdir="$ac_optarg" ;;
375 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
376 | --syscon | --sysco | --sysc | --sys | --sy)
377 ac_prev=sysconfdir ;;
378 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
379 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
380 sysconfdir="$ac_optarg" ;;
382 -target | --target | --targe | --targ | --tar | --ta | --t)
384 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
385 target="$ac_optarg" ;;
387 -v | -verbose | --verbose | --verbos | --verbo | --verb)
390 -version | --version | --versio | --versi | --vers)
391 echo "configure generated by autoconf version 2.13"
395 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
396 # Reject names that are not valid shell variable names.
397 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
398 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
400 ac_package=`echo $ac_package| sed 's/-/_/g'`
405 eval "with_${ac_package}='$ac_optarg'" ;;
407 -without-* | --without-*)
408 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
409 # Reject names that are not valid shell variable names.
410 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
411 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
413 ac_package=`echo $ac_package| sed 's/-/_/g'`
414 eval "with_${ac_package}=no" ;;
417 # Obsolete; use --with-x.
420 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
421 | --x-incl | --x-inc | --x-in | --x-i)
422 ac_prev=x_includes ;;
423 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
424 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
425 x_includes="$ac_optarg" ;;
427 -x-libraries | --x-libraries | --x-librarie | --x-librari \
428 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
429 ac_prev=x_libraries ;;
430 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
431 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
432 x_libraries="$ac_optarg" ;;
434 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
438 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
439 echo "configure: warning: $ac_option: invalid host type" 1>&2
441 if test "x$nonopt" != xNONE; then
442 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
450 if test -n "$ac_prev"; then
451 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
454 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
456 # File descriptor usage:
459 # 2 errors and warnings
460 # 3 some systems may open it to /dev/tty
461 # 4 used on the Kubota Titan
462 # 6 checking for... messages and results
463 # 5 compiler messages saved in config.log
464 if test "$silent" = yes; then
472 This file contains any messages produced by compilers while
473 running configure, to aid debugging if configure makes a mistake.
476 # Strip out --no-create and --no-recursion so they do not pile up.
477 # Also quote any args containing shell metacharacters.
482 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
483 | --no-cr | --no-c) ;;
484 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
485 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
486 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
487 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
488 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
493 # Only set these to C if already set. These must not be set unconditionally
494 # because not all systems understand e.g. LANG=C (notably SCO).
495 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
496 # Non-C LC_CTYPE values break the ctype check.
497 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
498 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
499 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
500 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
503 rm -rf conftest* confdefs.h
504 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
507 # A filename unique to this package, relative to the directory that
508 # configure is in, which we can look for to find out if srcdir is correct.
509 ac_unique_file=src/ios.cc
511 # Find the source files, if location was not specified.
512 if test -z "$srcdir"; then
513 ac_srcdir_defaulted=yes
514 # Try the directory containing this script, then its parent.
516 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
517 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
519 if test ! -r $srcdir/$ac_unique_file; then
523 ac_srcdir_defaulted=no
525 if test ! -r $srcdir/$ac_unique_file; then
526 if test "$ac_srcdir_defaulted" = yes; then
527 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
529 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
532 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
534 # Prefer explicitly selected file to automatically selected ones.
535 if test -z "$CONFIG_SITE"; then
536 if test "x$prefix" != xNONE; then
537 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
539 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
542 for ac_site_file in $CONFIG_SITE; do
543 if test -r "$ac_site_file"; then
544 echo "loading site script $ac_site_file"
549 if test -r "$cache_file"; then
550 echo "loading cache $cache_file"
553 echo "creating cache $cache_file"
558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
559 ac_cpp='$CPP $CPPFLAGS'
560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
562 cross_compiling=$ac_cv_prog_cc_cross
566 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
567 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
568 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
575 ac_n= ac_c='\c' ac_t=
582 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
583 release_VERSION=3.1.0
585 # For libtool versioning info, format is CURRENT:REVISION:AGE
586 libtool_VERSION=4:0:0
589 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
590 # AC 2.5x sets target_alias iff the user specified --target, but we use it
591 # everywhere, so we set it here just to be sure. In AC 2.13
592 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
594 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
595 if test -f $ac_dir/install-sh; then
597 ac_install_sh="$ac_aux_dir/install-sh -c"
599 elif test -f $ac_dir/install.sh; then
601 ac_install_sh="$ac_aux_dir/install.sh -c"
605 if test -z "$ac_aux_dir"; then
606 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
608 ac_config_guess=$ac_aux_dir/config.guess
609 ac_config_sub=$ac_aux_dir/config.sub
610 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
613 # Do some error checking and defaulting for the host and target type.
615 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
618 # 1. You are not allowed to specify --host, --target, and nonopt at the
620 # 2. Host defaults to nonopt.
621 # 3. If nonopt is not specified, then host defaults to the current host,
622 # as determined by config.guess.
623 # 4. Target and build default to nonopt.
624 # 5. If nonopt is not specified, then target and build default to host.
626 # The aliases save the names the user supplied, while $host etc.
627 # will get canonicalized.
628 case $host---$target---$nonopt in
629 NONE---*---* | *---NONE---* | *---*---NONE) ;;
630 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
634 # Make sure we can run config.sub.
635 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
636 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
639 echo $ac_n "checking host system type""... $ac_c" 1>&6
640 echo "configure:641: checking host system type" >&5
643 case "$host_alias" in
647 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
648 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
650 *) host_alias=$nonopt ;;
654 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
655 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
656 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
657 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
658 echo "$ac_t""$host" 1>&6
660 echo $ac_n "checking target system type""... $ac_c" 1>&6
661 echo "configure:662: checking target system type" >&5
664 case "$target_alias" in
667 NONE) target_alias=$host_alias ;;
668 *) target_alias=$nonopt ;;
672 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
673 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
674 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
675 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
676 echo "$ac_t""$target" 1>&6
678 echo $ac_n "checking build system type""... $ac_c" 1>&6
679 echo "configure:680: checking build system type" >&5
682 case "$build_alias" in
685 NONE) build_alias=$host_alias ;;
686 *) build_alias=$nonopt ;;
690 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
691 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
692 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
693 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
694 echo "$ac_t""$build" 1>&6
696 test "$host_alias" != "$target_alias" &&
697 test "$program_prefix$program_suffix$program_transform_name" = \
699 program_prefix=${target_alias}-
701 target_alias=${target_alias-$target}
704 # Find a good install program. We prefer a C program (faster),
705 # so one script is as good as another. But avoid the broken or
706 # incompatible versions:
707 # SysV /etc/install, /usr/sbin/install
708 # SunOS /usr/etc/install
711 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
712 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
713 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
714 # ./install, which can be erroneously created by make from ./install.sh.
715 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
716 echo "configure:717: checking for a BSD compatible install" >&5
717 if test -z "$INSTALL"; then
718 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
719 echo $ac_n "(cached) $ac_c" 1>&6
721 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
722 for ac_dir in $PATH; do
723 # Account for people who put trailing slashes in PATH elements.
725 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
727 # OSF1 and SCO ODT 3.0 have their own names for install.
728 # Don't use installbsd from OSF since it installs stuff as root
730 for ac_prog in ginstall scoinst install; do
731 if test -f $ac_dir/$ac_prog; then
732 if test $ac_prog = install &&
733 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
734 # AIX install. It has an incompatible calling convention.
737 ac_cv_path_install="$ac_dir/$ac_prog -c"
748 if test "${ac_cv_path_install+set}" = set; then
749 INSTALL="$ac_cv_path_install"
751 # As a last resort, use the slow shell script. We don't cache a
752 # path for INSTALL within a source directory, because that will
753 # break other packages using the cache if that directory is
754 # removed, or if the path is relative.
755 INSTALL="$ac_install_sh"
758 echo "$ac_t""$INSTALL" 1>&6
760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
761 # It thinks the first close brace ends the variable substitution.
762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
768 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
769 echo "configure:770: checking whether build environment is sane" >&5
772 echo timestamp > conftestfile
773 # Do `set' in a subshell so we don't clobber the current shell's
774 # arguments. Must try -L first in case configure is actually a
775 # symlink; some systems play weird games with the mod time of symlinks
776 # (eg FreeBSD returns the mod time of the symlink's containing
779 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
780 if test "$*" = "X"; then
782 set X `ls -t $srcdir/configure conftestfile`
784 if test "$*" != "X $srcdir/configure conftestfile" \
785 && test "$*" != "X conftestfile $srcdir/configure"; then
787 # If neither matched, then we have a broken ls. This can happen
788 # if, for instance, CONFIG_SHELL is bash and it inherits a
789 # broken ls alias from the environment. This has actually
790 # happened. Such a system could not be considered "sane".
791 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
792 alias in your environment" 1>&2; exit 1; }
795 test "$2" = conftestfile
801 { echo "configure: error: newly created file is older than distributed files!
802 Check your system clock" 1>&2; exit 1; }
805 echo "$ac_t""yes" 1>&6
806 if test "$program_transform_name" = s,x,x,; then
807 program_transform_name=
809 # Double any \ or $. echo might interpret backslashes.
810 cat <<\EOF_SED > conftestsed
811 s,\\,\\\\,g; s,\$,$$,g
813 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
816 test "$program_prefix" != NONE &&
817 program_transform_name="s,^,${program_prefix},; $program_transform_name"
818 # Use a double $ so make ignores it.
819 test "$program_suffix" != NONE &&
820 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
822 # sed with no file args requires a program.
823 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
825 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
826 echo "configure:827: checking whether ${MAKE-make} sets \${MAKE}" >&5
827 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
828 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
829 echo $ac_n "(cached) $ac_c" 1>&6
831 cat > conftestmake <<\EOF
833 @echo 'ac_maketemp="${MAKE}"'
835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
836 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
837 if test -n "$ac_maketemp"; then
838 eval ac_cv_prog_make_${ac_make}_set=yes
840 eval ac_cv_prog_make_${ac_make}_set=no
844 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
845 echo "$ac_t""yes" 1>&6
848 echo "$ac_t""no" 1>&6
849 SET_MAKE="MAKE=${MAKE-make}"
855 VERSION=$release_VERSION
857 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
858 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
860 cat >> confdefs.h <<EOF
861 #define PACKAGE "$PACKAGE"
864 cat >> confdefs.h <<EOF
865 #define VERSION "$VERSION"
870 missing_dir=`cd $ac_aux_dir && pwd`
871 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
872 echo "configure:873: checking for working aclocal" >&5
873 # Run test in a subshell; some versions of sh will print an error if
874 # an executable is not found, even if stderr is redirected.
875 # Redirect stdin to placate older versions of autoconf. Sigh.
876 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
878 echo "$ac_t""found" 1>&6
880 ACLOCAL="$missing_dir/missing aclocal"
881 echo "$ac_t""missing" 1>&6
884 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
885 echo "configure:886: checking for working autoconf" >&5
886 # Run test in a subshell; some versions of sh will print an error if
887 # an executable is not found, even if stderr is redirected.
888 # Redirect stdin to placate older versions of autoconf. Sigh.
889 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
891 echo "$ac_t""found" 1>&6
893 AUTOCONF="$missing_dir/missing autoconf"
894 echo "$ac_t""missing" 1>&6
897 echo $ac_n "checking for working automake""... $ac_c" 1>&6
898 echo "configure:899: checking for working automake" >&5
899 # Run test in a subshell; some versions of sh will print an error if
900 # an executable is not found, even if stderr is redirected.
901 # Redirect stdin to placate older versions of autoconf. Sigh.
902 if (automake --version) < /dev/null > /dev/null 2>&1; then
904 echo "$ac_t""found" 1>&6
906 AUTOMAKE="$missing_dir/missing automake"
907 echo "$ac_t""missing" 1>&6
910 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
911 echo "configure:912: checking for working autoheader" >&5
912 # Run test in a subshell; some versions of sh will print an error if
913 # an executable is not found, even if stderr is redirected.
914 # Redirect stdin to placate older versions of autoconf. Sigh.
915 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
916 AUTOHEADER=autoheader
917 echo "$ac_t""found" 1>&6
919 AUTOHEADER="$missing_dir/missing autoheader"
920 echo "$ac_t""missing" 1>&6
923 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
924 echo "configure:925: checking for working makeinfo" >&5
925 # Run test in a subshell; some versions of sh will print an error if
926 # an executable is not found, even if stderr is redirected.
927 # Redirect stdin to placate older versions of autoconf. Sigh.
928 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
930 echo "$ac_t""found" 1>&6
932 MAKEINFO="$missing_dir/missing makeinfo"
933 echo "$ac_t""missing" 1>&6
941 # Runs configure.host and configure.target, as well as finds CC, CXX
942 # and assorted other critical bits. Have to run this before the
943 # GLIBCPP_ENABLE_* macros below.
944 if test $host != $build; then
945 ac_tool_prefix=${host_alias}-
950 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
951 echo "configure:952: checking for Cygwin environment" >&5
952 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
953 echo $ac_n "(cached) $ac_c" 1>&6
955 cat > conftest.$ac_ext <<EOF
956 #line 957 "configure"
957 #include "confdefs.h"
962 #define __CYGWIN__ __CYGWIN32__
967 if { (eval echo configure:968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
971 echo "configure: failed program was:" >&5
972 cat conftest.$ac_ext >&5
980 echo "$ac_t""$ac_cv_cygwin" 1>&6
982 test "$ac_cv_cygwin" = yes && CYGWIN=yes
983 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
984 echo "configure:985: checking for mingw32 environment" >&5
985 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
986 echo $ac_n "(cached) $ac_c" 1>&6
988 cat > conftest.$ac_ext <<EOF
989 #line 990 "configure"
990 #include "confdefs.h"
996 if { (eval echo configure:997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1000 echo "configure: failed program was:" >&5
1001 cat conftest.$ac_ext >&5
1009 echo "$ac_t""$ac_cv_mingw32" 1>&6
1011 test "$ac_cv_mingw32" = yes && MINGW32=yes
1013 # Check whether --enable-multilib or --disable-multilib was given.
1014 if test "${enable_multilib+set}" = set; then
1015 enableval="$enable_multilib"
1016 case "${enableval}" in
1017 yes) multilib=yes ;;
1019 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1025 # When building with srcdir == objdir, links to the source files will
1026 # be created in directories within the target_subdir. We have to
1027 # adjust toplevel_srcdir accordingly, so that configure finds
1028 # install-sh and other auxiliary files that live in the top-level
1030 if test "${srcdir}" = "."; then
1031 if test -z "${with_target_subdir}"; then
1034 if test "${with_target_subdir}" != "."; then
1035 toprel="${with_multisrctop}../.."
1037 toprel="${with_multisrctop}.."
1044 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1045 if test -f $ac_dir/install-sh; then
1047 ac_install_sh="$ac_aux_dir/install-sh -c"
1049 elif test -f $ac_dir/install.sh; then
1051 ac_install_sh="$ac_aux_dir/install.sh -c"
1055 if test -z "$ac_aux_dir"; then
1056 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1058 ac_config_guess=$ac_aux_dir/config.guess
1059 ac_config_sub=$ac_aux_dir/config.sub
1060 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1062 toplevel_srcdir=\${top_srcdir}/$toprel
1065 # Export build and source directories.
1066 # These need to be absolute paths, yet at the same time need to
1067 # canonicalize only relative paths, because then amd will not unmount
1068 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1069 glibcpp_builddir=`pwd`
1071 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1072 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1079 for ac_prog in gawk mawk nawk awk
1081 # Extract the first word of "$ac_prog", so it can be a program name with args.
1082 set dummy $ac_prog; ac_word=$2
1083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1084 echo "configure:1085: checking for $ac_word" >&5
1085 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1086 echo $ac_n "(cached) $ac_c" 1>&6
1088 if test -n "$AWK"; then
1089 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1093 for ac_dir in $ac_dummy; do
1094 test -z "$ac_dir" && ac_dir=.
1095 if test -f $ac_dir/$ac_word; then
1096 ac_cv_prog_AWK="$ac_prog"
1103 AWK="$ac_cv_prog_AWK"
1104 if test -n "$AWK"; then
1105 echo "$ac_t""$AWK" 1>&6
1107 echo "$ac_t""no" 1>&6
1110 test -n "$AWK" && break
1113 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1114 # be 'cp -p' if linking isn't available.
1115 #ac_cv_prog_LN_S='cp -p'
1116 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1117 echo "configure:1118: checking whether ln -s works" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1119 echo $ac_n "(cached) $ac_c" 1>&6
1122 if ln -s X conftestdata 2>/dev/null
1125 ac_cv_prog_LN_S="ln -s"
1130 LN_S="$ac_cv_prog_LN_S"
1131 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1132 echo "$ac_t""yes" 1>&6
1134 echo "$ac_t""no" 1>&6
1138 # We use these options to decide which functions to include.
1139 # Check whether --with-target-subdir or --without-target-subdir was given.
1140 if test "${with_target_subdir+set}" = set; then
1141 withval="$with_target_subdir"
1145 # Check whether --with-cross-host or --without-cross-host was given.
1146 if test "${with_cross_host+set}" = set; then
1147 withval="$with_cross_host"
1152 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1155 # Never versions of autoconf add an underscore to these functions.
1156 # Prevent future problems ...
1163 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1164 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1165 # are probably using a cross compiler, which will not be able to fully
1166 # link an executable. This is addressed in later versions of autoconf.
1171 # Extract the first word of "gcc", so it can be a program name with args.
1172 set dummy gcc; ac_word=$2
1173 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1174 echo "configure:1175: checking for $ac_word" >&5
1175 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1176 echo $ac_n "(cached) $ac_c" 1>&6
1178 if test -n "$CC"; then
1179 ac_cv_prog_CC="$CC" # Let the user override the test.
1181 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1183 for ac_dir in $ac_dummy; do
1184 test -z "$ac_dir" && ac_dir=.
1185 if test -f $ac_dir/$ac_word; then
1194 if test -n "$CC"; then
1195 echo "$ac_t""$CC" 1>&6
1197 echo "$ac_t""no" 1>&6
1200 if test -z "$CC"; then
1201 # Extract the first word of "cc", so it can be a program name with args.
1202 set dummy cc; ac_word=$2
1203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1204 echo "configure:1205: checking for $ac_word" >&5
1205 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1206 echo $ac_n "(cached) $ac_c" 1>&6
1208 if test -n "$CC"; then
1209 ac_cv_prog_CC="$CC" # Let the user override the test.
1211 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1214 for ac_dir in $ac_dummy; do
1215 test -z "$ac_dir" && ac_dir=.
1216 if test -f $ac_dir/$ac_word; then
1217 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1218 ac_prog_rejected=yes
1226 if test $ac_prog_rejected = yes; then
1227 # We found a bogon in the path, so make sure we never use it.
1228 set dummy $ac_cv_prog_CC
1230 if test $# -gt 0; then
1231 # We chose a different compiler from the bogus one.
1232 # However, it has the same basename, so the bogon will be chosen
1233 # first if we set CC to just the basename; use the full file name.
1235 set dummy "$ac_dir/$ac_word" "$@"
1243 if test -n "$CC"; then
1244 echo "$ac_t""$CC" 1>&6
1246 echo "$ac_t""no" 1>&6
1249 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1252 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1253 echo "configure:1254: checking whether we are using GNU C" >&5
1254 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1255 echo $ac_n "(cached) $ac_c" 1>&6
1257 cat > conftest.c <<EOF
1262 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1269 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1271 if test $ac_cv_prog_gcc = yes; then
1273 ac_test_CFLAGS="${CFLAGS+set}"
1274 ac_save_CFLAGS="$CFLAGS"
1276 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1277 echo "configure:1278: checking whether ${CC-cc} accepts -g" >&5
1278 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1279 echo $ac_n "(cached) $ac_c" 1>&6
1281 echo 'void f(){}' > conftest.c
1282 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1291 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1292 if test "$ac_test_CFLAGS" = set; then
1293 CFLAGS="$ac_save_CFLAGS"
1294 elif test $ac_cv_prog_cc_g = yes; then
1301 test "${CFLAGS+set}" = set || CFLAGS="-g"
1305 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1306 # will try to link in libstdc++.
1310 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1311 # flags that come in CXX while configuring libstdc++. They're different
1312 # from those used for all other target libraries. If CXX is set in
1313 # the environment, respect that here.
1315 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1317 # Extract the first word of "$ac_prog", so it can be a program name with args.
1318 set dummy $ac_prog; ac_word=$2
1319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1320 echo "configure:1321: checking for $ac_word" >&5
1321 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1322 echo $ac_n "(cached) $ac_c" 1>&6
1324 if test -n "$glibcpp_CXX"; then
1325 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1329 for ac_dir in $ac_dummy; do
1330 test -z "$ac_dir" && ac_dir=.
1331 if test -f $ac_dir/$ac_word; then
1332 ac_cv_prog_glibcpp_CXX="$ac_prog"
1339 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1340 if test -n "$glibcpp_CXX"; then
1341 echo "$ac_t""$glibcpp_CXX" 1>&6
1343 echo "$ac_t""no" 1>&6
1346 test -n "$glibcpp_CXX" && break
1348 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1352 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1354 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1355 echo "configure:1356: checking whether we are using GNU C++" >&5
1356 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1357 echo $ac_n "(cached) $ac_c" 1>&6
1359 cat > conftest.C <<EOF
1364 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1371 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1373 if test $ac_cv_prog_gxx = yes; then
1375 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1376 ac_save_CXXFLAGS="$CXXFLAGS"
1378 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1379 echo "configure:1380: checking whether ${CXX-g++} accepts -g" >&5
1380 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1381 echo $ac_n "(cached) $ac_c" 1>&6
1383 echo 'void f(){}' > conftest.cc
1384 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1385 ac_cv_prog_cxx_g=yes
1393 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1394 if test "$ac_test_CXXFLAGS" = set; then
1395 CXXFLAGS="$ac_save_CXXFLAGS"
1396 elif test $ac_cv_prog_cxx_g = yes; then
1403 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1407 # For some reason, gettext needs this.
1409 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1410 echo "configure:1411: checking for strerror in -lcposix" >&5
1411 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1412 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1415 ac_save_LIBS="$LIBS"
1416 LIBS="-lcposix $LIBS"
1417 cat > conftest.$ac_ext <<EOF
1418 #line 1419 "configure"
1419 #include "confdefs.h"
1420 /* Override any gcc2 internal prototype to avoid an error. */
1421 /* We use char because int might match the return type of a gcc2
1422 builtin and then its argument prototype would still apply. */
1429 if { (eval echo configure:1430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1431 eval "ac_cv_lib_$ac_lib_var=yes"
1433 echo "configure: failed program was:" >&5
1434 cat conftest.$ac_ext >&5
1436 eval "ac_cv_lib_$ac_lib_var=no"
1439 LIBS="$ac_save_LIBS"
1442 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1443 echo "$ac_t""yes" 1>&6
1444 LIBS="$LIBS -lcposix"
1446 echo "$ac_t""no" 1>&6
1452 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1453 set dummy ${ac_tool_prefix}as; ac_word=$2
1454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1455 echo "configure:1456: checking for $ac_word" >&5
1456 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1457 echo $ac_n "(cached) $ac_c" 1>&6
1459 if test -n "$AS"; then
1460 ac_cv_prog_AS="$AS" # Let the user override the test.
1462 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1464 for ac_dir in $ac_dummy; do
1465 test -z "$ac_dir" && ac_dir=.
1466 if test -f $ac_dir/$ac_word; then
1467 ac_cv_prog_AS="${ac_tool_prefix}as"
1472 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1476 if test -n "$AS"; then
1477 echo "$ac_t""$AS" 1>&6
1479 echo "$ac_t""no" 1>&6
1484 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1485 set dummy ${ac_tool_prefix}ar; ac_word=$2
1486 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1487 echo "configure:1488: checking for $ac_word" >&5
1488 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1489 echo $ac_n "(cached) $ac_c" 1>&6
1491 if test -n "$AR"; then
1492 ac_cv_prog_AR="$AR" # Let the user override the test.
1494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1496 for ac_dir in $ac_dummy; do
1497 test -z "$ac_dir" && ac_dir=.
1498 if test -f $ac_dir/$ac_word; then
1499 ac_cv_prog_AR="${ac_tool_prefix}ar"
1504 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1508 if test -n "$AR"; then
1509 echo "$ac_t""$AR" 1>&6
1511 echo "$ac_t""no" 1>&6
1516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1519 echo "configure:1520: checking for $ac_word" >&5
1520 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1521 echo $ac_n "(cached) $ac_c" 1>&6
1523 if test -n "$RANLIB"; then
1524 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1526 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1528 for ac_dir in $ac_dummy; do
1529 test -z "$ac_dir" && ac_dir=.
1530 if test -f $ac_dir/$ac_word; then
1531 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1538 RANLIB="$ac_cv_prog_RANLIB"
1539 if test -n "$RANLIB"; then
1540 echo "$ac_t""$RANLIB" 1>&6
1542 echo "$ac_t""no" 1>&6
1546 if test -z "$ac_cv_prog_RANLIB"; then
1547 if test -n "$ac_tool_prefix"; then
1548 # Extract the first word of "ranlib", so it can be a program name with args.
1549 set dummy ranlib; ac_word=$2
1550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1551 echo "configure:1552: checking for $ac_word" >&5
1552 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1553 echo $ac_n "(cached) $ac_c" 1>&6
1555 if test -n "$RANLIB"; then
1556 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1560 for ac_dir in $ac_dummy; do
1561 test -z "$ac_dir" && ac_dir=.
1562 if test -f $ac_dir/$ac_word; then
1563 ac_cv_prog_RANLIB="ranlib"
1568 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1571 RANLIB="$ac_cv_prog_RANLIB"
1572 if test -n "$RANLIB"; then
1573 echo "$ac_t""$RANLIB" 1>&6
1575 echo "$ac_t""no" 1>&6
1579 RANLIB="ranlib-not-found-in-path-error"
1583 # Find a good install program. We prefer a C program (faster),
1584 # so one script is as good as another. But avoid the broken or
1585 # incompatible versions:
1586 # SysV /etc/install, /usr/sbin/install
1587 # SunOS /usr/etc/install
1588 # IRIX /sbin/install
1590 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1591 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1592 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1595 echo "configure:1596: checking for a BSD compatible install" >&5
1596 if test -z "$INSTALL"; then
1597 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1598 echo $ac_n "(cached) $ac_c" 1>&6
1600 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1601 for ac_dir in $PATH; do
1602 # Account for people who put trailing slashes in PATH elements.
1604 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1606 # OSF1 and SCO ODT 3.0 have their own names for install.
1607 # Don't use installbsd from OSF since it installs stuff as root
1609 for ac_prog in ginstall scoinst install; do
1610 if test -f $ac_dir/$ac_prog; then
1611 if test $ac_prog = install &&
1612 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1613 # AIX install. It has an incompatible calling convention.
1616 ac_cv_path_install="$ac_dir/$ac_prog -c"
1627 if test "${ac_cv_path_install+set}" = set; then
1628 INSTALL="$ac_cv_path_install"
1630 # As a last resort, use the slow shell script. We don't cache a
1631 # path for INSTALL within a source directory, because that will
1632 # break other packages using the cache if that directory is
1633 # removed, or if the path is relative.
1634 INSTALL="$ac_install_sh"
1637 echo "$ac_t""$INSTALL" 1>&6
1639 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1640 # It thinks the first close brace ends the variable substitution.
1641 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1643 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1645 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1648 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1649 echo "configure:1650: checking whether to enable maintainer-specific portions of Makefiles" >&5
1650 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1651 if test "${enable_maintainer_mode+set}" = set; then
1652 enableval="$enable_maintainer_mode"
1653 USE_MAINTAINER_MODE=$enableval
1655 USE_MAINTAINER_MODE=no
1658 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1661 if test $USE_MAINTAINER_MODE = yes; then
1662 MAINTAINER_MODE_TRUE=
1663 MAINTAINER_MODE_FALSE='#'
1665 MAINTAINER_MODE_TRUE='#'
1666 MAINTAINER_MODE_FALSE=
1668 MAINT=$MAINTAINER_MODE_TRUE
1672 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1673 # at least currently, we never actually build a program, so we never
1674 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1675 # fails, because we are probably configuring with a cross compiler
1676 # which can't create executables. So we include AC_EXEEXT to keep
1677 # automake happy, but we don't execute it, since we don't care about
1680 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1681 # to nothing, so nothing would remain between `then' and `fi' if it
1682 # were not for the `:' below.
1686 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1687 echo "configure:1688: checking for executable suffix" >&5
1688 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1689 echo $ac_n "(cached) $ac_c" 1>&6
1691 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1695 echo 'int main () { return 0; }' > conftest.$ac_ext
1697 if { (eval echo configure:1698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1698 for file in conftest.*; do
1700 *.c | *.o | *.obj) ;;
1701 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1705 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1708 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1713 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1714 echo "$ac_t""${ac_cv_exeext}" 1>&6
1719 . ${glibcpp_basedir}/configure.host
1721 case ${glibcpp_basedir} in
1722 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1723 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1726 # This does for the target what configure.host does for the host. In
1727 # addition to possibly modifying the same flags, it also sets up symlinks.
1729 . ${glibcpp_basedir}/configure.target
1730 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1731 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1737 # Check whether --enable-shared or --disable-shared was given.
1738 if test "${enable_shared+set}" = set; then
1739 enableval="$enable_shared"
1740 p=${PACKAGE-default}
1742 yes) enable_shared=yes ;;
1743 no) enable_shared=no ;;
1746 # Look at the argument we got. We use all the common list separators.
1747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1748 for pkg in $enableval; do
1749 if test "X$pkg" = "X$p"; then
1760 # Check whether --enable-static or --disable-static was given.
1761 if test "${enable_static+set}" = set; then
1762 enableval="$enable_static"
1763 p=${PACKAGE-default}
1765 yes) enable_static=yes ;;
1766 no) enable_static=no ;;
1769 # Look at the argument we got. We use all the common list separators.
1770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1771 for pkg in $enableval; do
1772 if test "X$pkg" = "X$p"; then
1783 # Check whether --enable-fast-install or --disable-fast-install was given.
1784 if test "${enable_fast_install+set}" = set; then
1785 enableval="$enable_fast_install"
1786 p=${PACKAGE-default}
1788 yes) enable_fast_install=yes ;;
1789 no) enable_fast_install=no ;;
1791 enable_fast_install=no
1792 # Look at the argument we got. We use all the common list separators.
1793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1794 for pkg in $enableval; do
1795 if test "X$pkg" = "X$p"; then
1796 enable_fast_install=yes
1803 enable_fast_install=yes
1806 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1807 if test "${with_gnu_ld+set}" = set; then
1808 withval="$with_gnu_ld"
1809 test "$withval" = no || with_gnu_ld=yes
1815 if test "$GCC" = yes; then
1816 # Check if gcc -print-prog-name=ld gives a path.
1817 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1818 echo "configure:1819: checking for ld used by GCC" >&5
1821 # gcc leaves a trailing carriage return which upsets mingw
1822 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1827 # Accept absolute paths.
1828 [\\/]* | [A-Za-z]:[\\/]*)
1829 re_direlt='/[^/][^/]*/\.\./'
1830 # Canonicalize the path of ld
1831 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1832 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1833 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1835 test -z "$LD" && LD="$ac_prog"
1838 # If it fails, then pretend we aren't using GCC.
1842 # If it is relative, then search for the first ld in PATH.
1846 elif test "$with_gnu_ld" = yes; then
1847 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1848 echo "configure:1849: checking for GNU ld" >&5
1850 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1851 echo "configure:1852: checking for non-GNU ld" >&5
1853 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1854 echo $ac_n "(cached) $ac_c" 1>&6
1856 if test -z "$LD"; then
1857 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1858 for ac_dir in $PATH; do
1859 test -z "$ac_dir" && ac_dir=.
1860 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1861 lt_cv_path_LD="$ac_dir/$ac_prog"
1862 # Check to see if the program is GNU ld. I'd rather use --version,
1863 # but apparently some GNU ld's only accept -v.
1864 # Break only if it was the GNU/non-GNU ld that we prefer.
1865 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1866 test "$with_gnu_ld" != no && break
1868 test "$with_gnu_ld" != yes && break
1874 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1879 if test -n "$LD"; then
1880 echo "$ac_t""$LD" 1>&6
1882 echo "$ac_t""no" 1>&6
1884 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1885 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1886 echo "configure:1887: checking if the linker ($LD) is GNU ld" >&5
1887 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1888 echo $ac_n "(cached) $ac_c" 1>&6
1890 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1891 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1892 lt_cv_prog_gnu_ld=yes
1894 lt_cv_prog_gnu_ld=no
1898 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1899 with_gnu_ld=$lt_cv_prog_gnu_ld
1902 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1903 echo "configure:1904: checking for $LD option to reload object files" >&5
1904 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1905 echo $ac_n "(cached) $ac_c" 1>&6
1907 lt_cv_ld_reload_flag='-r'
1910 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1911 reload_flag=$lt_cv_ld_reload_flag
1912 test -n "$reload_flag" && reload_flag=" $reload_flag"
1914 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1915 echo "configure:1916: checking for BSD-compatible nm" >&5
1916 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1917 echo $ac_n "(cached) $ac_c" 1>&6
1919 if test -n "$NM"; then
1920 # Let the user override the test.
1923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1924 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1925 test -z "$ac_dir" && ac_dir=.
1926 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1927 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1928 # Check to see if the nm accepts a BSD-compat flag.
1929 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1930 # nm: unknown option "B" ignored
1931 # Tru64's nm complains that /dev/null is an invalid object file
1932 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1933 lt_cv_path_NM="$tmp_nm -B"
1935 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1936 lt_cv_path_NM="$tmp_nm -p"
1939 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1940 continue # so that we can try to find one that supports BSD flags
1945 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1950 echo "$ac_t""$NM" 1>&6
1952 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1953 echo "configure:1954: checking how to recognise dependant libraries" >&5
1954 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1955 echo $ac_n "(cached) $ac_c" 1>&6
1957 lt_cv_file_magic_cmd='$MAGIC_CMD'
1958 lt_cv_file_magic_test_file=
1959 lt_cv_deplibs_check_method='unknown'
1960 # Need to set the preceding variable on all platforms that support
1961 # interlibrary dependencies.
1962 # 'none' -- dependencies not supported.
1963 # `unknown' -- same as none, but documents that we really don't know.
1964 # 'pass_all' -- all dependencies passed with no checks.
1965 # 'test_compile' -- check by making test program.
1966 # 'file_magic [regex]' -- check by looking for files in library path
1967 # which responds to the $file_magic_cmd with a given egrep regex.
1968 # If you have `file' or equivalent on your system and you're not sure
1969 # whether `pass_all' will *always* work, you probably want this one.
1973 lt_cv_deplibs_check_method=pass_all
1977 lt_cv_deplibs_check_method=pass_all
1981 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1982 lt_cv_file_magic_cmd='/usr/bin/file -L'
1983 lt_cv_file_magic_test_file=/shlib/libc.so
1986 cygwin* | mingw* |pw32*)
1987 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1988 lt_cv_file_magic_cmd='$OBJDUMP -f'
1991 darwin* | rhapsody*)
1992 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1993 lt_cv_file_magic_cmd='/usr/bin/file -L'
1995 rhapsody* | darwin1.012)
1996 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1999 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2005 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2008 # Not sure whether the presence of OpenBSD here was a mistake.
2009 # Let's accept both of them until this is cleared up.
2010 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2011 lt_cv_file_magic_cmd=/usr/bin/file
2012 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2016 lt_cv_deplibs_check_method=pass_all
2021 lt_cv_deplibs_check_method=pass_all
2025 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2026 lt_cv_file_magic_cmd=/usr/bin/file
2027 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2033 # this will be overridden with pass_all, but let us keep it just in case
2034 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2038 *-32|*"-32 ") libmagic=32-bit;;
2039 *-n32|*"-n32 ") libmagic=N32;;
2040 *-64|*"-64 ") libmagic=64-bit;;
2041 *) libmagic=never-match;;
2043 # this will be overridden with pass_all, but let us keep it just in case
2044 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2047 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2048 lt_cv_deplibs_check_method=pass_all
2051 # This must be Linux ELF.
2054 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2055 lt_cv_deplibs_check_method=pass_all ;;
2057 # glibc up to 2.1.1 does not perform some relocations on ARM
2058 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2060 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2064 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2065 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2072 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2073 lt_cv_file_magic_cmd=/usr/bin/file
2074 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2077 osf3* | osf4* | osf5*)
2078 # this will be overridden with pass_all, but let us keep it just in case
2079 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2080 lt_cv_file_magic_test_file=/shlib/libc.so
2081 lt_cv_deplibs_check_method=pass_all
2085 lt_cv_deplibs_check_method=pass_all
2089 lt_cv_deplibs_check_method=pass_all
2090 lt_cv_file_magic_test_file=/lib/libc.so
2093 sysv5uw[78]* | sysv4*uw2*)
2094 lt_cv_deplibs_check_method=pass_all
2097 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2098 case $host_vendor in
2100 lt_cv_deplibs_check_method=pass_all
2103 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]'
2104 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2112 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2113 file_magic_cmd=$lt_cv_file_magic_cmd
2114 deplibs_check_method=$lt_cv_deplibs_check_method
2116 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2117 echo "configure:2118: checking for object suffix" >&5
2118 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2119 echo $ac_n "(cached) $ac_c" 1>&6
2122 echo 'int i = 1;' > conftest.$ac_ext
2123 if { (eval echo configure:2124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2124 for ac_file in conftest.*; do
2127 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2131 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2136 echo "$ac_t""$ac_cv_objext" 1>&6
2137 OBJEXT=$ac_cv_objext
2138 ac_objext=$ac_cv_objext
2140 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2142 # Only perform the check for file, if the check method requires it
2143 case $deplibs_check_method in
2145 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2146 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2147 echo "configure:2148: checking for ${ac_tool_prefix}file" >&5
2148 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2149 echo $ac_n "(cached) $ac_c" 1>&6
2153 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2156 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2159 ac_save_MAGIC_CMD="$MAGIC_CMD"
2160 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2161 ac_dummy="/usr/bin:$PATH"
2162 for ac_dir in $ac_dummy; do
2163 test -z "$ac_dir" && ac_dir=.
2164 if test -f $ac_dir/${ac_tool_prefix}file; then
2165 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2166 if test -n "$file_magic_test_file"; then
2167 case $deplibs_check_method in
2169 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2171 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2172 egrep "$file_magic_regex" > /dev/null; then
2177 *** Warning: the command libtool uses to detect shared libraries,
2178 *** $file_magic_cmd, produces output that libtool cannot recognize.
2179 *** The result is that libtool may fail to recognize shared libraries
2180 *** as such. This will affect the creation of libtool libraries that
2181 *** depend on shared libraries, but programs linked with such libtool
2182 *** libraries will work regardless of this problem. Nevertheless, you
2183 *** may want to report the problem to your system manager and/or to
2184 *** bug-libtool@gnu.org
2194 MAGIC_CMD="$ac_save_MAGIC_CMD"
2199 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2200 if test -n "$MAGIC_CMD"; then
2201 echo "$ac_t""$MAGIC_CMD" 1>&6
2203 echo "$ac_t""no" 1>&6
2206 if test -z "$lt_cv_path_MAGIC_CMD"; then
2207 if test -n "$ac_tool_prefix"; then
2208 echo $ac_n "checking for file""... $ac_c" 1>&6
2209 echo "configure:2210: checking for file" >&5
2210 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2211 echo $ac_n "(cached) $ac_c" 1>&6
2215 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2218 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2221 ac_save_MAGIC_CMD="$MAGIC_CMD"
2222 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2223 ac_dummy="/usr/bin:$PATH"
2224 for ac_dir in $ac_dummy; do
2225 test -z "$ac_dir" && ac_dir=.
2226 if test -f $ac_dir/file; then
2227 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2228 if test -n "$file_magic_test_file"; then
2229 case $deplibs_check_method in
2231 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2233 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2234 egrep "$file_magic_regex" > /dev/null; then
2239 *** Warning: the command libtool uses to detect shared libraries,
2240 *** $file_magic_cmd, produces output that libtool cannot recognize.
2241 *** The result is that libtool may fail to recognize shared libraries
2242 *** as such. This will affect the creation of libtool libraries that
2243 *** depend on shared libraries, but programs linked with such libtool
2244 *** libraries will work regardless of this problem. Nevertheless, you
2245 *** may want to report the problem to your system manager and/or to
2246 *** bug-libtool@gnu.org
2256 MAGIC_CMD="$ac_save_MAGIC_CMD"
2261 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2262 if test -n "$MAGIC_CMD"; then
2263 echo "$ac_t""$MAGIC_CMD" 1>&6
2265 echo "$ac_t""no" 1>&6
2277 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2278 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2280 echo "configure:2281: checking for $ac_word" >&5
2281 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2284 if test -n "$RANLIB"; then
2285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2289 for ac_dir in $ac_dummy; do
2290 test -z "$ac_dir" && ac_dir=.
2291 if test -f $ac_dir/$ac_word; then
2292 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2299 RANLIB="$ac_cv_prog_RANLIB"
2300 if test -n "$RANLIB"; then
2301 echo "$ac_t""$RANLIB" 1>&6
2303 echo "$ac_t""no" 1>&6
2307 if test -z "$ac_cv_prog_RANLIB"; then
2308 if test -n "$ac_tool_prefix"; then
2309 # Extract the first word of "ranlib", so it can be a program name with args.
2310 set dummy ranlib; ac_word=$2
2311 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2312 echo "configure:2313: checking for $ac_word" >&5
2313 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2314 echo $ac_n "(cached) $ac_c" 1>&6
2316 if test -n "$RANLIB"; then
2317 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2319 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2321 for ac_dir in $ac_dummy; do
2322 test -z "$ac_dir" && ac_dir=.
2323 if test -f $ac_dir/$ac_word; then
2324 ac_cv_prog_RANLIB="ranlib"
2329 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2332 RANLIB="$ac_cv_prog_RANLIB"
2333 if test -n "$RANLIB"; then
2334 echo "$ac_t""$RANLIB" 1>&6
2336 echo "$ac_t""no" 1>&6
2344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2345 set dummy ${ac_tool_prefix}strip; ac_word=$2
2346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2347 echo "configure:2348: checking for $ac_word" >&5
2348 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2349 echo $ac_n "(cached) $ac_c" 1>&6
2351 if test -n "$STRIP"; then
2352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2356 for ac_dir in $ac_dummy; do
2357 test -z "$ac_dir" && ac_dir=.
2358 if test -f $ac_dir/$ac_word; then
2359 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2366 STRIP="$ac_cv_prog_STRIP"
2367 if test -n "$STRIP"; then
2368 echo "$ac_t""$STRIP" 1>&6
2370 echo "$ac_t""no" 1>&6
2374 if test -z "$ac_cv_prog_STRIP"; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "strip", so it can be a program name with args.
2377 set dummy strip; ac_word=$2
2378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2379 echo "configure:2380: checking for $ac_word" >&5
2380 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2381 echo $ac_n "(cached) $ac_c" 1>&6
2383 if test -n "$STRIP"; then
2384 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2386 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2388 for ac_dir in $ac_dummy; do
2389 test -z "$ac_dir" && ac_dir=.
2390 if test -f $ac_dir/$ac_word; then
2391 ac_cv_prog_STRIP="strip"
2396 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2399 STRIP="$ac_cv_prog_STRIP"
2400 if test -n "$STRIP"; then
2401 echo "$ac_t""$STRIP" 1>&6
2403 echo "$ac_t""no" 1>&6
2412 # Check for any special flags to pass to ltconfig.
2413 libtool_flags="--cache-file=$cache_file"
2414 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2415 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2416 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2417 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2418 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2419 libtool_flags="$libtool_flags --enable-dlopen"
2421 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2422 if test "${enable_libtool_lock+set}" = set; then
2423 enableval="$enable_libtool_lock"
2427 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2428 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2430 # Check whether --with-pic or --without-pic was given.
2431 if test "${with_pic+set}" = set; then
2438 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2439 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2441 # Some flags need to be propagated to the compiler or linker for good
2445 # Find out which ABI we are using.
2446 echo '#line 2447 "configure"' > conftest.$ac_ext
2447 if { (eval echo configure:2448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2448 case `/usr/bin/file conftest.$ac_objext` in
2464 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2465 SAVE_CFLAGS="$CFLAGS"
2466 CFLAGS="$CFLAGS -belf"
2467 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2468 echo "configure:2469: checking whether the C compiler needs -belf" >&5
2469 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2470 echo $ac_n "(cached) $ac_c" 1>&6
2474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2475 ac_cpp='$CPP $CPPFLAGS'
2476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2478 cross_compiling=$ac_cv_prog_cc_cross
2480 cat > conftest.$ac_ext <<EOF
2481 #line 2482 "configure"
2482 #include "confdefs.h"
2488 if { (eval echo configure:2489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2490 lt_cv_cc_needs_belf=yes
2492 echo "configure: failed program was:" >&5
2493 cat conftest.$ac_ext >&5
2495 lt_cv_cc_needs_belf=no
2499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2500 ac_cpp='$CPP $CPPFLAGS'
2501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2503 cross_compiling=$ac_cv_prog_cc_cross
2507 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2508 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2509 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2510 CFLAGS="$SAVE_CFLAGS"
2517 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2518 echo "configure:2519: checking how to run the C++ preprocessor" >&5
2519 if test -z "$CXXCPP"; then
2520 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2521 echo $ac_n "(cached) $ac_c" 1>&6
2524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2525 ac_cpp='$CXXCPP $CPPFLAGS'
2526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2528 cross_compiling=$ac_cv_prog_cxx_cross
2529 CXXCPP="${CXX-g++} -E"
2530 cat > conftest.$ac_ext <<EOF
2531 #line 2532 "configure"
2532 #include "confdefs.h"
2535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2536 { (eval echo configure:2537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2538 if test -z "$ac_err"; then
2542 echo "configure: failed program was:" >&5
2543 cat conftest.$ac_ext >&5
2548 ac_cv_prog_CXXCPP="$CXXCPP"
2550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2551 ac_cpp='$CPP $CPPFLAGS'
2552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2554 cross_compiling=$ac_cv_prog_cc_cross
2557 CXXCPP="$ac_cv_prog_CXXCPP"
2558 echo "$ac_t""$CXXCPP" 1>&6
2561 # Save cache, so that ltconfig can load it
2562 cat > confcache <<\EOF
2563 # This file is a shell script that caches the results of configure
2564 # tests run on this system so they can be shared between configure
2565 # scripts and configure runs. It is not useful on other systems.
2566 # If it contains results you don't want to keep, you may remove or edit it.
2568 # By default, configure uses ./config.cache as the cache file,
2569 # creating it if it does not exist already. You can give configure
2570 # the --cache-file=FILE option to use a different cache file; that is
2571 # what configure does when it calls configure scripts in
2572 # subdirectories, so they share the cache.
2573 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2574 # config.status only pays attention to the cache file if you give it the
2575 # --recheck option to rerun configure.
2578 # The following way of writing the cache mishandles newlines in values,
2579 # but we know of no workaround that is simple, portable, and efficient.
2580 # So, don't put newlines in cache variables' values.
2581 # Ultrix sh set writes to stderr and can't be redirected directly,
2582 # and sets the high bit in the cache file unless we assign to the vars.
2584 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2586 # `set' does not quote correctly, so add quotes (double-quote substitution
2587 # turns \\\\ into \\, and sed turns \\ into \).
2589 -e "s/'/'\\\\''/g" \
2590 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2593 # `set' quotes correctly as required by POSIX, so do not add quotes.
2594 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2597 if cmp -s $cache_file confcache; then
2600 if test -w $cache_file; then
2601 echo "updating cache $cache_file"
2602 cat confcache > $cache_file
2604 echo "not updating unwritable cache $cache_file"
2610 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2611 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2612 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2613 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2614 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2615 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2616 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2617 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2618 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2619 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2621 # Reload cache, that may have been modified by ltconfig
2622 if test -r "$cache_file"; then
2623 echo "loading cache $cache_file"
2626 echo "creating cache $cache_file"
2631 # This can be used to rebuild libtool when needed
2632 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2634 # Always use our own libtool.
2635 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2637 # Redirect the config.log output again, so that the ltconfig log is not
2638 # clobbered by the next message.
2639 exec 5>>./config.log
2643 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2645 lt_save_CFLAGS="$CFLAGS"
2646 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2647 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2648 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2649 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2650 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2651 deplibs_check_method="$deplibs_check_method" \
2652 file_magic_cmd="$file_magic_cmd" \
2653 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2654 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2655 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2657 CFLAGS="$lt_save_CFLAGS"
2659 # Redirect the config.log output again, so that the ltconfig log is not
2660 # clobbered by the next message.
2661 exec 5>>./config.log
2671 # Check for c++ or library specific bits that don't require linking.
2672 #GLIBCPP_CHECK_COMPILER_VERSION
2673 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2674 echo "configure:2675: checking for GNU make" >&5
2675 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2676 echo $ac_n "(cached) $ac_c" 1>&6
2678 _cv_gnu_make_command='' ;
2679 for a in "${MAKE-make}" make gmake gnumake ; do
2680 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2682 _cv_gnu_make_command=$a ;
2689 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2690 if test "x$_cv_gnu_make_command" != "x" ; then
2698 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2699 # Check whether --enable-debug or --disable-debug was given.
2700 if test "${enable_debug+set}" = set; then
2701 enableval="$enable_debug"
2702 case "${enableval}" in
2703 yes) enable_debug=yes ;;
2704 no) enable_debug=no ;;
2705 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2711 case "${enable_debug}" in
2713 DEBUG_FLAGS='-O0 -ggdb3'
2721 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2722 echo "configure:2723: checking how to run the C preprocessor" >&5
2723 # On Suns, sometimes $CPP names a directory.
2724 if test -n "$CPP" && test -d "$CPP"; then
2727 if test -z "$CPP"; then
2728 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2729 echo $ac_n "(cached) $ac_c" 1>&6
2731 # This must be in double quotes, not single quotes, because CPP may get
2732 # substituted into the Makefile and "${CC-cc}" will confuse make.
2734 # On the NeXT, cc -E runs the code through the compiler's parser,
2735 # not just through cpp.
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2745 if test -z "$ac_err"; then
2749 echo "configure: failed program was:" >&5
2750 cat conftest.$ac_ext >&5
2752 CPP="${CC-cc} -E -traditional-cpp"
2753 cat > conftest.$ac_ext <<EOF
2754 #line 2755 "configure"
2755 #include "confdefs.h"
2759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2760 { (eval echo configure:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2762 if test -z "$ac_err"; then
2766 echo "configure: failed program was:" >&5
2767 cat conftest.$ac_ext >&5
2769 CPP="${CC-cc} -nologo -E"
2770 cat > conftest.$ac_ext <<EOF
2771 #line 2772 "configure"
2772 #include "confdefs.h"
2776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2777 { (eval echo configure:2778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2779 if test -z "$ac_err"; then
2783 echo "configure: failed program was:" >&5
2784 cat conftest.$ac_ext >&5
2793 ac_cv_prog_CPP="$CPP"
2795 CPP="$ac_cv_prog_CPP"
2797 ac_cv_prog_CPP="$CPP"
2799 echo "$ac_t""$CPP" 1>&6
2802 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2803 echo "configure:2804: checking for cstdio to use" >&5
2804 # Check whether --enable-cstdio or --disable-cstdio was given.
2805 if test "${enable_cstdio+set}" = set; then
2806 enableval="$enable_cstdio"
2807 if test x$enable_cstdio = xno; then
2815 enable_cstdio_flag=$enable_cstdio
2817 case x${enable_cstdio_flag} in
2819 CSTDIO_H=config/io/c_io_libio.h
2820 BASIC_FILE_H=config/io/basic_file_libio.h
2821 BASIC_FILE_CC=config/io/basic_file_libio.cc
2822 echo "$ac_t""libio" 1>&6
2824 # see if we are on a system with libio native (ie, linux)
2825 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2826 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2827 echo "configure:2828: checking for libio.h" >&5
2828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2829 echo $ac_n "(cached) $ac_c" 1>&6
2831 cat > conftest.$ac_ext <<EOF
2832 #line 2833 "configure"
2833 #include "confdefs.h"
2836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2837 { (eval echo configure:2838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2839 if test -z "$ac_err"; then
2841 eval "ac_cv_header_$ac_safe=yes"
2844 echo "configure: failed program was:" >&5
2845 cat conftest.$ac_ext >&5
2847 eval "ac_cv_header_$ac_safe=no"
2851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2852 echo "$ac_t""yes" 1>&6
2855 echo "$ac_t""no" 1>&6
2860 # Need to check and see what version of glibc is being used. If
2861 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2862 # compile most of libio for linux systems.
2863 if test x$has_libio = x"yes"; then
2866 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2867 echo "configure:2868: checking for glibc version >= 2.2" >&5
2868 cat > conftest.$ac_ext <<EOF
2869 #line 2870 "configure"
2870 #include "confdefs.h"
2872 #include <features.h>
2873 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2879 egrep "ok" >/dev/null 2>&1; then
2881 glibc_satisfactory=yes
2884 glibc_satisfactory=no
2888 echo "$ac_t""$glibc_satisfactory" 1>&6
2892 # XXX at the moment, admit defeat and force the recompilation
2893 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2894 glibc_satisfactory=no
2896 if test x$glibc_satisfactory = x"yes"; then
2901 # bkoz XXX need to add checks to enable this
2902 # pme XXX here's a first pass at such a check
2903 if test x$enable_c_mbchar != xno; then
2911 # Using libio, but <libio.h> doesn't exist on the target system. . .
2913 # bkoz XXX need to add checks to enable this
2914 # pme XXX here's a first pass at such a check
2915 if test x$enable_c_mbchar != xno; then
2922 xstdio | x | xno | xnone | xyes)
2924 CSTDIO_H=config/io/c_io_stdio.h
2925 BASIC_FILE_H=config/io/basic_file_stdio.h
2926 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2927 echo "$ac_t""stdio" 1>&6
2929 # We're not using stdio.
2934 echo "$enable_cstdio is an unknown io package" 1>&2
2942 # 2000-08-04 bkoz hack
2943 CCODECVT_C=config/io/c_io_libio_codecvt.c
2945 # 2000-08-04 bkoz hack
2949 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2950 GLIBCPP_BUILD_LIBIO_TRUE=
2951 GLIBCPP_BUILD_LIBIO_FALSE='#'
2953 GLIBCPP_BUILD_LIBIO_TRUE='#'
2954 GLIBCPP_BUILD_LIBIO_FALSE=
2958 if test "$need_libio" = yes; then
2959 GLIBCPP_NEED_LIBIO_TRUE=
2960 GLIBCPP_NEED_LIBIO_FALSE='#'
2962 GLIBCPP_NEED_LIBIO_TRUE='#'
2963 GLIBCPP_NEED_LIBIO_FALSE=
2967 if test "$need_wlibio" = yes; then
2968 GLIBCPP_NEED_WLIBIO_TRUE=
2969 GLIBCPP_NEED_WLIBIO_FALSE='#'
2971 GLIBCPP_NEED_WLIBIO_TRUE='#'
2972 GLIBCPP_NEED_WLIBIO_FALSE=
2974 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2975 libio_la=../libio/libio.la
2982 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2983 echo "configure:2984: checking for clocale to use" >&5
2984 # Check whether --enable-clocale or --disable-clocale was given.
2985 if test "${enable_clocale+set}" = set; then
2986 enableval="$enable_clocale"
2987 if test x$enable_clocale = xno; then
2995 enable_clocale_flag=$enable_clocale
2997 if test x$enable_clocale_flag = xno; then
2998 case x${target_os} in
3000 cat > conftest.$ac_ext <<EOF
3001 #line 3002 "configure"
3002 #include "confdefs.h"
3004 #include <features.h>
3005 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3011 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3013 enable_clocale_flag=gnu
3016 enable_clocale_flag=generic
3021 # Test for bugs early in glibc-2.2.x series
3022 if test x$enable_clocale_flag = xgnu; then
3023 if test "$cross_compiling" = yes; then
3024 enable_clocale_flag=generic
3026 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure"
3028 #include "confdefs.h"
3030 #define _GNU_SOURCE 1
3034 const char __one[] = "Äuglein Augmen";
3035 const char __two[] = "Äuglein";
3040 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3041 loc_dup = __duplocale(loc);
3042 i = __strcoll_l(__one, __two, loc);
3043 j = __strcoll_l(__one, __two, loc_dup);
3048 if { (eval echo configure:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3050 enable_clocale_flag=gnu
3052 echo "configure: failed program was:" >&5
3053 cat conftest.$ac_ext >&5
3055 enable_clocale_flag=generic
3062 # ... at some point put __strxfrm_l tests in as well.
3065 enable_clocale_flag=generic
3070 case x${enable_clocale_flag} in
3072 echo "$ac_t""generic" 1>&6
3074 # Don't use gettext.
3077 CLOCALE_H=config/locale/generic/c_locale.h
3078 CLOCALE_CC=config/locale/generic/c_locale.cc
3079 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3080 CCOLLATE_CC=config/locale/generic/collate_members.cc
3081 CCTYPE_CC=config/locale/generic/ctype_members.cc
3082 CMESSAGES_H=config/locale/generic/messages_members.h
3083 CMESSAGES_CC=config/locale/generic/messages_members.cc
3084 CMONEY_CC=config/locale/generic/monetary_members.cc
3085 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3086 CTIME_CC=config/locale/generic/time_members.cc
3089 echo "$ac_t""gnu" 1>&6
3091 # Declare intention to use gettext, and add support for specific
3093 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3095 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3096 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3099 # Export the build objects.
3100 for ling in $ALL_LINGUAS; do \
3101 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3102 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3107 CLOCALE_H=config/locale/gnu/c_locale.h
3108 CLOCALE_CC=config/locale/gnu/c_locale.cc
3109 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3110 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3111 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3112 CMESSAGES_H=config/locale/gnu/messages_members.h
3113 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3114 CMONEY_CC=config/locale/gnu/monetary_members.cc
3115 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3116 CTIME_CC=config/locale/gnu/time_members.cc
3119 echo "$ac_t""generic" 1>&6
3121 # Don't use gettext.
3124 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3125 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3126 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3127 CCOLLATE_CC=config/locale/generic/collate_members.cc
3128 CCTYPE_CC=config/locale/generic/ctype_members.cc
3129 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3130 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3131 CMONEY_CC=config/locale/generic/monetary_members.cc
3132 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3133 CTIME_CC=config/locale/generic/time_members.cc
3136 echo "$enable_clocale is an unknown locale package" 1>&2
3141 # This is where the testsuite looks for locale catalogs, using the
3142 # -DLOCALEDIR define during testsuite compilation.
3143 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3158 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3159 if test "${enable_c_mbchar+set}" = set; then
3160 enableval="$enable_c_mbchar"
3161 case "$enableval" in
3162 yes) enable_c_mbchar=yes ;;
3163 no) enable_c_mbchar=no ;;
3164 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3171 # Check whether --enable-c99 or --disable-c99 was given.
3172 if test "${enable_c99+set}" = set; then
3173 enableval="$enable_c99"
3174 case "$enableval" in
3175 yes) enable_c99=yes ;;
3176 no) enable_c99=no ;;
3177 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3186 ac_cpp='$CXXCPP $CPPFLAGS'
3187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3189 cross_compiling=$ac_cv_prog_cxx_cross
3192 # Check for the existence of <math.h> functions used if C99 is enabled.
3194 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3195 echo "configure:3196: checking for ISO C99 support in <math.h>" >&5
3196 cat > conftest.$ac_ext <<EOF
3197 #line 3198 "configure"
3198 #include "confdefs.h"
3204 if { (eval echo configure:3205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3207 echo "configure: failed program was:" >&5
3208 cat conftest.$ac_ext >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3221 if { (eval echo configure:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3224 echo "configure: failed program was:" >&5
3225 cat conftest.$ac_ext >&5
3230 cat > conftest.$ac_ext <<EOF
3231 #line 3232 "configure"
3232 #include "confdefs.h"
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3241 echo "configure: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3247 cat > conftest.$ac_ext <<EOF
3248 #line 3249 "configure"
3249 #include "confdefs.h"
3255 if { (eval echo configure:3256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3258 echo "configure: failed program was:" >&5
3259 cat conftest.$ac_ext >&5
3264 cat > conftest.$ac_ext <<EOF
3265 #line 3266 "configure"
3266 #include "confdefs.h"
3272 if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3275 echo "configure: failed program was:" >&5
3276 cat conftest.$ac_ext >&5
3281 cat > conftest.$ac_ext <<EOF
3282 #line 3283 "configure"
3283 #include "confdefs.h"
3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3292 echo "configure: failed program was:" >&5
3293 cat conftest.$ac_ext >&5
3298 cat > conftest.$ac_ext <<EOF
3299 #line 3300 "configure"
3300 #include "confdefs.h"
3306 if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 echo "configure: failed program was:" >&5
3310 cat conftest.$ac_ext >&5
3315 cat > conftest.$ac_ext <<EOF
3316 #line 3317 "configure"
3317 #include "confdefs.h"
3320 isgreaterequal(0.0,0.0);
3323 if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3326 echo "configure: failed program was:" >&5
3327 cat conftest.$ac_ext >&5
3332 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure"
3334 #include "confdefs.h"
3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 echo "configure: failed program was:" >&5
3344 cat conftest.$ac_ext >&5
3349 cat > conftest.$ac_ext <<EOF
3350 #line 3351 "configure"
3351 #include "confdefs.h"
3354 islessequal(0.0,0.0);
3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3360 echo "configure: failed program was:" >&5
3361 cat conftest.$ac_ext >&5
3366 cat > conftest.$ac_ext <<EOF
3367 #line 3368 "configure"
3368 #include "confdefs.h"
3371 islessgreater(0.0,0.0);
3374 if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3377 echo "configure: failed program was:" >&5
3378 cat conftest.$ac_ext >&5
3383 cat > conftest.$ac_ext <<EOF
3384 #line 3385 "configure"
3385 #include "confdefs.h"
3388 isunordered(0.0,0.0);
3391 if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3394 echo "configure: failed program was:" >&5
3395 cat conftest.$ac_ext >&5
3400 echo "$ac_t""$ac_c99_math" 1>&6
3402 # Check for the existence in <stdio.h> of vscanf, et. al.
3404 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3405 echo "configure:3406: checking for ISO C99 support in <stdio.h>" >&5
3406 cat > conftest.$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3411 snprintf("12", 0, "%i");
3414 if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3417 echo "configure: failed program was:" >&5
3418 cat conftest.$ac_ext >&5
3423 cat > conftest.$ac_ext <<EOF
3424 #line 3425 "configure"
3425 #include "confdefs.h"
3428 void foo(char* fmt, ...)
3429 {va_list args; va_start(args, fmt);
3430 vfscanf(stderr, "%i", args);}
3435 if { (eval echo configure:3436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3438 echo "configure: failed program was:" >&5
3439 cat conftest.$ac_ext >&5
3444 cat > conftest.$ac_ext <<EOF
3445 #line 3446 "configure"
3446 #include "confdefs.h"
3449 void foo(char* fmt, ...)
3450 {va_list args; va_start(args, fmt);
3451 vscanf("%i", args);}
3456 if { (eval echo configure:3457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3459 echo "configure: failed program was:" >&5
3460 cat conftest.$ac_ext >&5
3465 cat > conftest.$ac_ext <<EOF
3466 #line 3467 "configure"
3467 #include "confdefs.h"
3470 void foo(char* fmt, ...)
3471 {va_list args; va_start(args, fmt);
3472 vsnprintf(fmt, 0, "%i", args);}
3477 if { (eval echo configure:3478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3480 echo "configure: failed program was:" >&5
3481 cat conftest.$ac_ext >&5
3486 cat > conftest.$ac_ext <<EOF
3487 #line 3488 "configure"
3488 #include "confdefs.h"
3491 void foo(char* fmt, ...)
3492 {va_list args; va_start(args, fmt);
3493 vsscanf(fmt, "%i", args);}
3498 if { (eval echo configure:3499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3501 echo "configure: failed program was:" >&5
3502 cat conftest.$ac_ext >&5
3507 echo "$ac_t""$ac_c99_stdio" 1>&6
3509 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3511 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3512 echo "configure:3513: checking for lldiv_t declaration" >&5
3513 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3514 echo $ac_n "(cached) $ac_c" 1>&6
3517 cat > conftest.$ac_ext <<EOF
3518 #line 3519 "configure"
3519 #include "confdefs.h"
3525 if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3529 echo "configure: failed program was:" >&5
3530 cat conftest.$ac_ext >&5
3538 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3540 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3541 echo "configure:3542: checking for ISO C99 support in <stdlib.h>" >&5
3542 cat > conftest.$ac_ext <<EOF
3543 #line 3544 "configure"
3544 #include "confdefs.h"
3547 char* tmp; strtof("gnu", &tmp);
3550 if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3553 echo "configure: failed program was:" >&5
3554 cat conftest.$ac_ext >&5
3559 cat > conftest.$ac_ext <<EOF
3560 #line 3561 "configure"
3561 #include "confdefs.h"
3564 char* tmp; strtold("gnu", &tmp);
3567 if { (eval echo configure:3568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3570 echo "configure: failed program was:" >&5
3571 cat conftest.$ac_ext >&5
3576 cat > conftest.$ac_ext <<EOF
3577 #line 3578 "configure"
3578 #include "confdefs.h"
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3587 echo "configure: failed program was:" >&5
3588 cat conftest.$ac_ext >&5
3593 cat > conftest.$ac_ext <<EOF
3594 #line 3595 "configure"
3595 #include "confdefs.h"
3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3604 echo "configure: failed program was:" >&5
3605 cat conftest.$ac_ext >&5
3610 cat > conftest.$ac_ext <<EOF
3611 #line 3612 "configure"
3612 #include "confdefs.h"
3618 if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3621 echo "configure: failed program was:" >&5
3622 cat conftest.$ac_ext >&5
3627 cat > conftest.$ac_ext <<EOF
3628 #line 3629 "configure"
3629 #include "confdefs.h"
3635 if { (eval echo configure:3636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3638 echo "configure: failed program was:" >&5
3639 cat conftest.$ac_ext >&5
3644 if test x"$ac_c99_lldiv_t" = x"no"; then
3647 echo "$ac_t""$ac_c99_stdlib" 1>&6
3649 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3650 # XXX the wchar.h checks should be rolled into the general C99 bits.
3652 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3653 echo "configure:3654: checking for additional ISO C99 support in <wchar.h>" >&5
3654 cat > conftest.$ac_ext <<EOF
3655 #line 3656 "configure"
3656 #include "confdefs.h"
3659 wcstold(L"10.0", NULL);
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure: failed program was:" >&5
3666 cat conftest.$ac_ext >&5
3671 cat > conftest.$ac_ext <<EOF
3672 #line 3673 "configure"
3673 #include "confdefs.h"
3676 wcstoll(L"10", NULL, 10);
3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3682 echo "configure: failed program was:" >&5
3683 cat conftest.$ac_ext >&5
3688 cat > conftest.$ac_ext <<EOF
3689 #line 3690 "configure"
3690 #include "confdefs.h"
3693 wcstoull(L"10", NULL, 10);
3696 if { (eval echo configure:3697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3699 echo "configure: failed program was:" >&5
3700 cat conftest.$ac_ext >&5
3705 echo "$ac_t""$ac_c99_wchar" 1>&6
3707 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3708 echo "configure:3709: checking for enabled ISO C99 support" >&5
3709 if test x"$ac_c99_math" = x"no" ||
3710 test x"$ac_c99_stdio" = x"no" ||
3711 test x"$ac_c99_stdlib" = x"no" ||
3712 test x"$ac_c99_wchar" = x"no"; then
3715 echo "$ac_t""$enable_c99" 1>&6
3717 # Option parsed, now set things appropriately
3718 if test x"$enable_c99" = x"yes"; then
3719 cat >> confdefs.h <<\EOF
3720 #define _GLIBCPP_USE_C99 1
3726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3727 ac_cpp='$CPP $CPPFLAGS'
3728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3730 cross_compiling=$ac_cv_prog_cc_cross
3734 # Check whether --enable-long-long or --disable-long-long was given.
3735 if test "${enable_long_long+set}" = set; then
3736 enableval="$enable_long_long"
3737 case "$enableval" in
3738 yes) enable_long_long=yes ;;
3739 no) enable_long_long=no ;;
3740 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3743 enable_long_long=yes
3748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3749 ac_cpp='$CXXCPP $CPPFLAGS'
3750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3752 cross_compiling=$ac_cv_prog_cxx_cross
3755 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3756 echo "configure:3757: checking for enabled long long I/O support" >&5
3757 # iostreams require strtoll, strtoull to compile
3758 cat > conftest.$ac_ext <<EOF
3759 #line 3760 "configure"
3760 #include "confdefs.h"
3763 char* tmp; strtoll("gnu", &tmp, 10);
3766 if { (eval echo configure:3767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3769 echo "configure: failed program was:" >&5
3770 cat conftest.$ac_ext >&5
3775 cat > conftest.$ac_ext <<EOF
3776 #line 3777 "configure"
3777 #include "confdefs.h"
3780 char* tmp; strtoull("gnu", &tmp, 10);
3783 if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3786 echo "configure: failed program was:" >&5
3787 cat conftest.$ac_ext >&5
3793 # Option parsed, now set things appropriately
3794 if test x"$enable_long_long" = xyes; then
3795 cat >> confdefs.h <<\EOF
3796 #define _GLIBCPP_USE_LONG_LONG 1
3800 echo "$ac_t""$enable_long_long" 1>&6
3803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3807 cross_compiling=$ac_cv_prog_cc_cross
3810 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3811 echo "configure:3812: checking for c header strategy to use" >&5
3812 # Check whether --enable-cheaders or --disable-cheaders was given.
3813 if test "${enable_cheaders+set}" = set; then
3814 enableval="$enable_cheaders"
3816 case "$enableval" in
3821 enable_cheaders=c_std
3824 enable_cheaders=c_shadow
3826 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3830 enable_cheaders=c_std
3833 echo "$ac_t""$enable_cheaders" 1>&6
3835 case "$enable_cheaders" in
3837 CSHADOW_FLAGS="-fno-builtin"
3838 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3842 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3846 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3854 if test "$enable_cheaders" = c; then
3855 GLIBCPP_C_HEADERS_C_TRUE=
3856 GLIBCPP_C_HEADERS_C_FALSE='#'
3858 GLIBCPP_C_HEADERS_C_TRUE='#'
3859 GLIBCPP_C_HEADERS_C_FALSE=
3863 if test "$enable_cheaders" = c_std; then
3864 GLIBCPP_C_HEADERS_C_STD_TRUE=
3865 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3867 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3868 GLIBCPP_C_HEADERS_C_STD_FALSE=
3872 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3873 echo "configure:3874: checking for thread model used by GCC" >&5
3874 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3875 echo "$ac_t""$target_thread_file" 1>&6
3877 if test $target_thread_file != single; then
3878 cat >> confdefs.h <<\EOF
3879 #define HAVE_GTHR_DEFAULT 1
3882 cat >> confdefs.h <<\EOF
3883 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3888 glibcpp_thread_h=gthr-$target_thread_file.h
3891 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3892 if test "${enable_cxx_flags+set}" = set; then
3893 enableval="$enable_cxx_flags"
3894 case "x$enableval" in
3896 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3898 enable_cxx_flags='' ;;
3900 enable_cxx_flags="$enableval" ;;
3903 enable_cxx_flags='none'
3907 if test "$enable_cxx_flags" = "none"; then
3908 enable_cxx_flags='';
3911 if test -n "$enable_cxx_flags"; then
3912 for f in $enable_cxx_flags; do
3916 *) # and we're trying to pass /what/ exactly?
3917 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3921 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3925 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3926 echo "configure:3927: checking for exception model to use" >&5
3929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3930 ac_cpp='$CXXCPP $CPPFLAGS'
3931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3933 cross_compiling=$ac_cv_prog_cxx_cross
3935 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3936 if test "${enable_sjlj_exceptions+set}" = set; then
3937 enableval="$enable_sjlj_exceptions"
3940 cat > conftest.$ac_ext << EOF
3941 #line 3942 "configure"
3950 old_CXXFLAGS="$CXXFLAGS"
3952 if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3953 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3954 enable_sjlj_exceptions=yes
3955 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3956 enable_sjlj_exceptions=no
3959 CXXFLAGS="$old_CXXFLAGS"
3963 if test x$enable_sjlj_exceptions = xyes; then
3964 cat >> confdefs.h <<\EOF
3965 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3968 ac_exception_model_name=sjlj
3969 elif test x$enable_sjlj_exceptions = xno; then
3970 ac_exception_model_name="call frame"
3972 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3976 ac_cpp='$CPP $CPPFLAGS'
3977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3979 cross_compiling=$ac_cv_prog_cc_cross
3981 echo "$ac_t""$ac_exception_model_name" 1>&6
3984 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3985 echo "configure:3986: checking for use of libunwind" >&5
3986 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3987 if test "${enable_libunwind_exceptions+set}" = set; then
3988 enableval="$enable_libunwind_exceptions"
3989 use_libunwind_exceptions=$enableval
3991 use_libunwind_exceptions=no
3994 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3995 if test x"$use_libunwind_exceptions" = xyes; then
3996 LIBUNWIND_FLAG="-lunwind"
4002 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4003 if test "${enable_concept_checks+set}" = set; then
4004 enableval="$enable_concept_checks"
4005 case "$enableval" in
4006 yes) enable_concept_checks=yes ;;
4007 no) enable_concept_checks=no ;;
4008 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4011 enable_concept_checks=no
4013 if test x"$enable_concept_checks" = xyes; then
4014 cat >> confdefs.h <<\EOF
4015 #define _GLIBCPP_CONCEPT_CHECKS 1
4022 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4024 # This lets us hard-code the functionality we know
4025 # we'll have in the cross target environment. "Let" is a
4026 # sugar-coated word placed on an especially dull and tedious hack, actually.
4027 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4028 # that involve linking can't be used:
4029 # "cannot open sim-crt0.o"
4030 # "cannot open crt0.o"
4031 # etc. All this is because there currently exists no unified,
4032 # consistent way for top level CC information to be passed down
4033 # to target directories: newlib includes, newlib linking info,
4034 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4035 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4037 # We are being configured with some form of cross compiler.
4038 GLIBCPP_IS_CROSS_COMPILING=1
4040 # If Canadian cross, then don't pick up tools from the build
4042 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4048 # Construct crosses by hand, eliminating bits that need ld...
4049 # GLIBCPP_CHECK_COMPILER_FEATURES
4050 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4051 # GLIBCPP_CHECK_MATH_SUPPORT
4053 case "$target_alias" in
4055 # Check for available headers.
4056 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4057 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4058 fp.h locale.h float.h inttypes.h
4060 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4061 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4062 echo "configure:4063: checking for $ac_hdr" >&5
4063 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4064 echo $ac_n "(cached) $ac_c" 1>&6
4066 cat > conftest.$ac_ext <<EOF
4067 #line 4068 "configure"
4068 #include "confdefs.h"
4071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4072 { (eval echo configure:4073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4074 if test -z "$ac_err"; then
4076 eval "ac_cv_header_$ac_safe=yes"
4079 echo "configure: failed program was:" >&5
4080 cat conftest.$ac_ext >&5
4082 eval "ac_cv_header_$ac_safe=no"
4086 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4087 echo "$ac_t""yes" 1>&6
4088 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4089 cat >> confdefs.h <<EOF
4090 #define $ac_tr_hdr 1
4094 echo "$ac_t""no" 1>&6
4098 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4101 # If we're not using GNU ld, then there's no point in even trying these
4102 # tests. Check for that first. We should have already tested for gld
4103 # by now (in libtool), but require it now just to be safe...
4104 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4105 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4108 # The name set by libtool depends on the version of libtool. Shame on us
4109 # for depending on an impl detail, but c'est la vie. Older versions used
4110 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4111 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4112 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4113 # set (hence we're using an older libtool), then set it.
4114 if test x${with_gnu_ld+set} != xset; then
4115 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4116 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4119 with_gnu_ld=$ac_cv_prog_gnu_ld
4123 # Start by getting the version number. I think the libtool test already
4124 # does some of this, but throws away the result.
4126 ldver=`$LD --version 2>/dev/null | head -1 | \
4127 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4129 glibcpp_gnu_ld_version=`echo $ldver | \
4130 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4132 # Set --gc-sections.
4133 if test "$with_gnu_ld" = "notbroken"; then
4134 # GNU ld it is! Joy and bunny rabbits!
4136 # All these tests are for C++; save the language and the compiler flags.
4137 # Need to do this so that g++ won't try to link in libstdc++
4138 ac_test_CFLAGS="${CFLAGS+set}"
4139 ac_save_CFLAGS="$CFLAGS"
4140 CFLAGS='-x c++ -Wl,--gc-sections'
4142 # Check for -Wl,--gc-sections
4143 # XXX This test is broken at the moment, as symbols required for
4144 # linking are now in libsupc++ (not built yet.....). In addition,
4145 # this test has cored on solaris in the past. In addition,
4146 # --gc-sections doesn't really work at the moment (keeps on discarding
4147 # used sections, first .eh_frame and now some of the glibc sections for
4148 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4149 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4150 echo "configure:4151: checking for ld that supports -Wl,--gc-sections" >&5
4151 if test "$cross_compiling" = yes; then
4152 ac_sectionLDflags=yes
4154 cat > conftest.$ac_ext <<EOF
4155 #line 4156 "configure"
4156 #include "confdefs.h"
4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4168 ac_sectionLDflags=yes
4170 echo "configure: failed program was:" >&5
4171 cat conftest.$ac_ext >&5
4173 ac_sectionLDflags=no
4178 if test "$ac_test_CFLAGS" = set; then
4179 CFLAGS="$ac_save_CFLAGS"
4181 # this is the suspicious part
4184 if test "$ac_sectionLDflags" = "yes"; then
4185 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4187 echo "$ac_t""$ac_sectionLDflags" 1>&6
4190 # Set linker optimization flags.
4191 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4192 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4199 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4200 echo "configure:4201: checking for main in -lm" >&5
4201 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4203 echo $ac_n "(cached) $ac_c" 1>&6
4205 ac_save_LIBS="$LIBS"
4207 cat > conftest.$ac_ext <<EOF
4208 #line 4209 "configure"
4209 #include "confdefs.h"
4215 if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4217 eval "ac_cv_lib_$ac_lib_var=yes"
4219 echo "configure: failed program was:" >&5
4220 cat conftest.$ac_ext >&5
4222 eval "ac_cv_lib_$ac_lib_var=no"
4225 LIBS="$ac_save_LIBS"
4228 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4229 echo "$ac_t""yes" 1>&6
4230 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4231 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4232 cat >> confdefs.h <<EOF
4233 #define $ac_tr_lib 1
4239 echo "$ac_t""no" 1>&6
4242 for ac_func in nan copysignf
4244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4245 echo "configure:4246: checking for $ac_func" >&5
4246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4247 echo $ac_n "(cached) $ac_c" 1>&6
4249 cat > conftest.$ac_ext <<EOF
4250 #line 4251 "configure"
4251 #include "confdefs.h"
4252 /* System header to define __stub macros and hopefully few prototypes,
4253 which can conflict with char $ac_func(); below. */
4255 /* Override any gcc2 internal prototype to avoid an error. */
4256 /* We use char because int might match the return type of a gcc2
4257 builtin and then its argument prototype would still apply. */
4262 /* The GNU C library defines this for functions which it implements
4263 to always fail with ENOSYS. Some functions are actually named
4264 something starting with __ and the normal name is an alias. */
4265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4273 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4275 eval "ac_cv_func_$ac_func=yes"
4277 echo "configure: failed program was:" >&5
4278 cat conftest.$ac_ext >&5
4280 eval "ac_cv_func_$ac_func=no"
4285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4286 echo "$ac_t""yes" 1>&6
4287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4288 cat >> confdefs.h <<EOF
4289 #define $ac_tr_func 1
4293 echo "$ac_t""no" 1>&6
4294 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4299 for ac_func in __signbit
4301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4302 echo "configure:4303: checking for $ac_func" >&5
4303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4304 echo $ac_n "(cached) $ac_c" 1>&6
4306 cat > conftest.$ac_ext <<EOF
4307 #line 4308 "configure"
4308 #include "confdefs.h"
4309 /* System header to define __stub macros and hopefully few prototypes,
4310 which can conflict with char $ac_func(); below. */
4312 /* Override any gcc2 internal prototype to avoid an error. */
4313 /* We use char because int might match the return type of a gcc2
4314 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4332 eval "ac_cv_func_$ac_func=yes"
4334 echo "configure: failed program was:" >&5
4335 cat conftest.$ac_ext >&5
4337 eval "ac_cv_func_$ac_func=no"
4342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4343 echo "$ac_t""yes" 1>&6
4344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4345 cat >> confdefs.h <<EOF
4346 #define $ac_tr_func 1
4350 echo "$ac_t""no" 1>&6
4351 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4355 for ac_func in __signbitf
4357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4358 echo "configure:4359: checking for $ac_func" >&5
4359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4360 echo $ac_n "(cached) $ac_c" 1>&6
4362 cat > conftest.$ac_ext <<EOF
4363 #line 4364 "configure"
4364 #include "confdefs.h"
4365 /* System header to define __stub macros and hopefully few prototypes,
4366 which can conflict with char $ac_func(); below. */
4368 /* Override any gcc2 internal prototype to avoid an error. */
4369 /* We use char because int might match the return type of a gcc2
4370 builtin and then its argument prototype would still apply. */
4375 /* The GNU C library defines this for functions which it implements
4376 to always fail with ENOSYS. Some functions are actually named
4377 something starting with __ and the normal name is an alias. */
4378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4386 if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4388 eval "ac_cv_func_$ac_func=yes"
4390 echo "configure: failed program was:" >&5
4391 cat conftest.$ac_ext >&5
4393 eval "ac_cv_func_$ac_func=no"
4398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4399 echo "$ac_t""yes" 1>&6
4400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4401 cat >> confdefs.h <<EOF
4402 #define $ac_tr_func 1
4406 echo "$ac_t""no" 1>&6
4407 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4412 if test x$ac_cv_func_copysignl = x"yes"; then
4413 for ac_func in __signbitl
4415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4416 echo "configure:4417: checking for $ac_func" >&5
4417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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"
4423 /* System header to define __stub macros and hopefully few prototypes,
4424 which can conflict with char $ac_func(); below. */
4426 /* Override any gcc2 internal prototype to avoid an error. */
4427 /* We use char because int might match the return type of a gcc2
4428 builtin and then its argument prototype would still apply. */
4433 /* The GNU C library defines this for functions which it implements
4434 to always fail with ENOSYS. Some functions are actually named
4435 something starting with __ and the normal name is an alias. */
4436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4444 if { (eval echo configure:4445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4446 eval "ac_cv_func_$ac_func=yes"
4448 echo "configure: failed program was:" >&5
4449 cat conftest.$ac_ext >&5
4451 eval "ac_cv_func_$ac_func=no"
4456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4457 echo "$ac_t""yes" 1>&6
4458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4459 cat >> confdefs.h <<EOF
4460 #define $ac_tr_func 1
4464 echo "$ac_t""no" 1>&6
4465 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4475 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4476 echo "configure:4477: checking for mbstate_t" >&5
4477 cat > conftest.$ac_ext <<EOF
4478 #line 4479 "configure"
4479 #include "confdefs.h"
4482 mbstate_t teststate;
4485 if { (eval echo configure:4486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4489 echo "configure: failed program was:" >&5
4490 cat conftest.$ac_ext >&5
4495 echo "$ac_t""$have_mbstate_t" 1>&6
4496 if test x"$have_mbstate_t" = xyes; then
4497 cat >> confdefs.h <<\EOF
4498 #define HAVE_MBSTATE_T 1
4503 for ac_hdr in wchar.h
4505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4507 echo "configure:4508: checking for $ac_hdr" >&5
4508 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4509 echo $ac_n "(cached) $ac_c" 1>&6
4511 cat > conftest.$ac_ext <<EOF
4512 #line 4513 "configure"
4513 #include "confdefs.h"
4516 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4517 { (eval echo configure:4518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4519 if test -z "$ac_err"; then
4521 eval "ac_cv_header_$ac_safe=yes"
4524 echo "configure: failed program was:" >&5
4525 cat conftest.$ac_ext >&5
4527 eval "ac_cv_header_$ac_safe=no"
4531 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4532 echo "$ac_t""yes" 1>&6
4533 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4534 cat >> confdefs.h <<EOF
4535 #define $ac_tr_hdr 1
4539 echo "$ac_t""no" 1>&6
4544 for ac_hdr in wctype.h
4546 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4547 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4548 echo "configure:4549: checking for $ac_hdr" >&5
4549 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4550 echo $ac_n "(cached) $ac_c" 1>&6
4552 cat > conftest.$ac_ext <<EOF
4553 #line 4554 "configure"
4554 #include "confdefs.h"
4557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4558 { (eval echo configure:4559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4560 if test -z "$ac_err"; then
4562 eval "ac_cv_header_$ac_safe=yes"
4565 echo "configure: failed program was:" >&5
4566 cat conftest.$ac_ext >&5
4568 eval "ac_cv_header_$ac_safe=no"
4572 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4573 echo "$ac_t""yes" 1>&6
4574 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4575 cat >> confdefs.h <<EOF
4576 #define $ac_tr_hdr 1
4580 echo "$ac_t""no" 1>&6
4586 if test x"$ac_has_wchar_h" = xyes &&
4587 test x"$ac_has_wctype_h" = xyes &&
4588 test x"$enable_c_mbchar" != xno; then
4590 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4591 echo "configure:4592: checking for WCHAR_MIN and WCHAR_MAX" >&5
4592 cat > conftest.$ac_ext <<EOF
4593 #line 4594 "configure"
4594 #include "confdefs.h"
4597 int i = WCHAR_MIN; int j = WCHAR_MAX;
4600 if { (eval echo configure:4601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4602 has_wchar_minmax=yes
4604 echo "configure: failed program was:" >&5
4605 cat conftest.$ac_ext >&5
4610 echo "$ac_t""$has_wchar_minmax" 1>&6
4612 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4613 echo "configure:4614: checking for WEOF" >&5
4614 cat > conftest.$ac_ext <<EOF
4615 #line 4616 "configure"
4616 #include "confdefs.h"
4624 if { (eval echo configure:4625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4628 echo "configure: failed program was:" >&5
4629 cat conftest.$ac_ext >&5
4634 echo "$ac_t""$has_weof" 1>&6
4637 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4639 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4640 echo "configure:4641: checking for $ac_func" >&5
4641 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4642 echo $ac_n "(cached) $ac_c" 1>&6
4644 cat > conftest.$ac_ext <<EOF
4645 #line 4646 "configure"
4646 #include "confdefs.h"
4647 /* System header to define __stub macros and hopefully few prototypes,
4648 which can conflict with char $ac_func(); below. */
4650 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4657 /* The GNU C library defines this for functions which it implements
4658 to always fail with ENOSYS. Some functions are actually named
4659 something starting with __ and the normal name is an alias. */
4660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4668 if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4670 eval "ac_cv_func_$ac_func=yes"
4672 echo "configure: failed program was:" >&5
4673 cat conftest.$ac_ext >&5
4675 eval "ac_cv_func_$ac_func=no"
4680 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4681 echo "$ac_t""yes" 1>&6
4682 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4683 cat >> confdefs.h <<EOF
4684 #define $ac_tr_func 1
4688 echo "$ac_t""no" 1>&6
4695 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4696 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4697 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4698 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4699 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4700 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4703 echo "configure:4704: checking for $ac_func" >&5
4704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6
4707 cat > conftest.$ac_ext <<EOF
4708 #line 4709 "configure"
4709 #include "confdefs.h"
4710 /* System header to define __stub macros and hopefully few prototypes,
4711 which can conflict with char $ac_func(); below. */
4713 /* Override any gcc2 internal prototype to avoid an error. */
4714 /* We use char because int might match the return type of a gcc2
4715 builtin and then its argument prototype would still apply. */
4720 /* The GNU C library defines this for functions which it implements
4721 to always fail with ENOSYS. Some functions are actually named
4722 something starting with __ and the normal name is an alias. */
4723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4731 if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4733 eval "ac_cv_func_$ac_func=yes"
4735 echo "configure: failed program was:" >&5
4736 cat conftest.$ac_ext >&5
4738 eval "ac_cv_func_$ac_func=no"
4743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4744 echo "$ac_t""yes" 1>&6
4745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4746 cat >> confdefs.h <<EOF
4747 #define $ac_tr_func 1
4751 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4759 echo "configure:4760: checking for ISO C99 wchar_t support" >&5
4760 if test x"$has_weof" = xyes &&
4761 test x"$has_wchar_minmax" = xyes &&
4762 test x"$ac_wfuncs" = xyes; then
4763 ac_isoC99_wchar_t=yes
4765 ac_isoC99_wchar_t=no
4767 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4769 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4770 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4771 echo "configure:4772: checking for iconv.h" >&5
4772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4773 echo $ac_n "(cached) $ac_c" 1>&6
4775 cat > conftest.$ac_ext <<EOF
4776 #line 4777 "configure"
4777 #include "confdefs.h"
4780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4781 { (eval echo configure:4782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4783 if test -z "$ac_err"; then
4785 eval "ac_cv_header_$ac_safe=yes"
4788 echo "configure: failed program was:" >&5
4789 cat conftest.$ac_ext >&5
4791 eval "ac_cv_header_$ac_safe=no"
4795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4796 echo "$ac_t""yes" 1>&6
4799 echo "$ac_t""no" 1>&6
4803 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4804 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4805 echo "configure:4806: checking for langinfo.h" >&5
4806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4807 echo $ac_n "(cached) $ac_c" 1>&6
4809 cat > conftest.$ac_ext <<EOF
4810 #line 4811 "configure"
4811 #include "confdefs.h"
4812 #include <langinfo.h>
4814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4815 { (eval echo configure:4816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4817 if test -z "$ac_err"; then
4819 eval "ac_cv_header_$ac_safe=yes"
4822 echo "configure: failed program was:" >&5
4823 cat conftest.$ac_ext >&5
4825 eval "ac_cv_header_$ac_safe=no"
4829 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4830 echo "$ac_t""yes" 1>&6
4831 ac_has_langinfo_h=yes
4833 echo "$ac_t""no" 1>&6
4834 ac_has_langinfo_h=no
4838 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4839 echo "configure:4840: checking for iconv in -liconv" >&5
4840 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4841 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4842 echo $ac_n "(cached) $ac_c" 1>&6
4844 ac_save_LIBS="$LIBS"
4845 LIBS="-liconv $LIBS"
4846 cat > conftest.$ac_ext <<EOF
4847 #line 4848 "configure"
4848 #include "confdefs.h"
4849 /* Override any gcc2 internal prototype to avoid an error. */
4850 /* We use char because int might match the return type of a gcc2
4851 builtin and then its argument prototype would still apply. */
4858 if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4860 eval "ac_cv_lib_$ac_lib_var=yes"
4862 echo "configure: failed program was:" >&5
4863 cat conftest.$ac_ext >&5
4865 eval "ac_cv_lib_$ac_lib_var=no"
4868 LIBS="$ac_save_LIBS"
4871 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4872 echo "$ac_t""yes" 1>&6
4875 echo "$ac_t""no" 1>&6
4878 ac_save_LIBS="$LIBS"
4879 LIBS="$LIBS $libiconv"
4881 for ac_func in iconv_open iconv_close iconv nl_langinfo
4883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4884 echo "configure:4885: checking for $ac_func" >&5
4885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4886 echo $ac_n "(cached) $ac_c" 1>&6
4888 cat > conftest.$ac_ext <<EOF
4889 #line 4890 "configure"
4890 #include "confdefs.h"
4891 /* System header to define __stub macros and hopefully few prototypes,
4892 which can conflict with char $ac_func(); below. */
4894 /* Override any gcc2 internal prototype to avoid an error. */
4895 /* We use char because int might match the return type of a gcc2
4896 builtin and then its argument prototype would still apply. */
4901 /* The GNU C library defines this for functions which it implements
4902 to always fail with ENOSYS. Some functions are actually named
4903 something starting with __ and the normal name is an alias. */
4904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4912 if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4914 eval "ac_cv_func_$ac_func=yes"
4916 echo "configure: failed program was:" >&5
4917 cat conftest.$ac_ext >&5
4919 eval "ac_cv_func_$ac_func=no"
4924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4925 echo "$ac_t""yes" 1>&6
4926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4927 cat >> confdefs.h <<EOF
4928 #define $ac_tr_func 1
4933 echo "$ac_t""no" 1>&6
4939 LIBS="$ac_save_LIBS"
4941 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4942 echo "configure:4943: checking for XPG2 wchar_t support" >&5
4943 if test x"$ac_has_iconv_h" = xyes &&
4944 test x"$ac_has_langinfo_h" = xyes &&
4945 test x"$ac_XPG2funcs" = xyes; then
4950 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4952 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4953 echo "configure:4954: checking for enabled wchar_t specializations" >&5
4954 if test x"$ac_isoC99_wchar_t" = xyes &&
4955 test x"$ac_XPG2_wchar_t" = xyes; then
4956 cat >> confdefs.h <<\EOF
4957 #define _GLIBCPP_USE_WCHAR_T 1
4960 echo "$ac_t"""yes"" 1>&6
4962 echo "$ac_t"""no"" 1>&6
4965 echo "configure: warning: wchar_t support disabled." 1>&2
4968 os_include_dir="config/os/gnu-linux"
4969 cat >> confdefs.h <<\EOF
4970 #define HAVE_COPYSIGN 1
4973 cat >> confdefs.h <<\EOF
4974 #define HAVE_COPYSIGNF 1
4977 cat >> confdefs.h <<\EOF
4978 #define HAVE_FINITEF 1
4981 cat >> confdefs.h <<\EOF
4982 #define HAVE_FREXPF 1
4985 cat >> confdefs.h <<\EOF
4986 #define HAVE_HYPOTF 1
4989 cat >> confdefs.h <<\EOF
4990 #define HAVE_SINCOS 1
4993 cat >> confdefs.h <<\EOF
4994 #define HAVE_SINCOSF 1
4997 if test x"long_double_math_on_this_cpu" = x"yes"; then
4998 cat >> confdefs.h <<\EOF
4999 #define HAVE_HYPOTL 1
5005 # Check for available headers.
5006 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5007 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5008 fp.h locale.h float.h inttypes.h
5010 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5011 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5012 echo "configure:5013: checking for $ac_hdr" >&5
5013 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5014 echo $ac_n "(cached) $ac_c" 1>&6
5016 cat > conftest.$ac_ext <<EOF
5017 #line 5018 "configure"
5018 #include "confdefs.h"
5021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5022 { (eval echo configure:5023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5024 if test -z "$ac_err"; then
5026 eval "ac_cv_header_$ac_safe=yes"
5029 echo "configure: failed program was:" >&5
5030 cat conftest.$ac_ext >&5
5032 eval "ac_cv_header_$ac_safe=no"
5036 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5037 echo "$ac_t""yes" 1>&6
5038 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5039 cat >> confdefs.h <<EOF
5040 #define $ac_tr_hdr 1
5044 echo "$ac_t""no" 1>&6
5048 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5051 # If we're not using GNU ld, then there's no point in even trying these
5052 # tests. Check for that first. We should have already tested for gld
5053 # by now (in libtool), but require it now just to be safe...
5054 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5055 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5058 # The name set by libtool depends on the version of libtool. Shame on us
5059 # for depending on an impl detail, but c'est la vie. Older versions used
5060 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5061 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5062 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5063 # set (hence we're using an older libtool), then set it.
5064 if test x${with_gnu_ld+set} != xset; then
5065 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5066 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5069 with_gnu_ld=$ac_cv_prog_gnu_ld
5073 # Start by getting the version number. I think the libtool test already
5074 # does some of this, but throws away the result.
5076 ldver=`$LD --version 2>/dev/null | head -1 | \
5077 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5079 glibcpp_gnu_ld_version=`echo $ldver | \
5080 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5082 # Set --gc-sections.
5083 if test "$with_gnu_ld" = "notbroken"; then
5084 # GNU ld it is! Joy and bunny rabbits!
5086 # All these tests are for C++; save the language and the compiler flags.
5087 # Need to do this so that g++ won't try to link in libstdc++
5088 ac_test_CFLAGS="${CFLAGS+set}"
5089 ac_save_CFLAGS="$CFLAGS"
5090 CFLAGS='-x c++ -Wl,--gc-sections'
5092 # Check for -Wl,--gc-sections
5093 # XXX This test is broken at the moment, as symbols required for
5094 # linking are now in libsupc++ (not built yet.....). In addition,
5095 # this test has cored on solaris in the past. In addition,
5096 # --gc-sections doesn't really work at the moment (keeps on discarding
5097 # used sections, first .eh_frame and now some of the glibc sections for
5098 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5099 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5100 echo "configure:5101: checking for ld that supports -Wl,--gc-sections" >&5
5101 if test "$cross_compiling" = yes; then
5102 ac_sectionLDflags=yes
5104 cat > conftest.$ac_ext <<EOF
5105 #line 5106 "configure"
5106 #include "confdefs.h"
5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5118 ac_sectionLDflags=yes
5120 echo "configure: failed program was:" >&5
5121 cat conftest.$ac_ext >&5
5123 ac_sectionLDflags=no
5128 if test "$ac_test_CFLAGS" = set; then
5129 CFLAGS="$ac_save_CFLAGS"
5131 # this is the suspicious part
5134 if test "$ac_sectionLDflags" = "yes"; then
5135 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5137 echo "$ac_t""$ac_sectionLDflags" 1>&6
5140 # Set linker optimization flags.
5141 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5142 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5149 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5150 echo "configure:5151: checking for main in -lm" >&5
5151 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5152 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5153 echo $ac_n "(cached) $ac_c" 1>&6
5155 ac_save_LIBS="$LIBS"
5157 cat > conftest.$ac_ext <<EOF
5158 #line 5159 "configure"
5159 #include "confdefs.h"
5165 if { (eval echo configure:5166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5167 eval "ac_cv_lib_$ac_lib_var=yes"
5169 echo "configure: failed program was:" >&5
5170 cat conftest.$ac_ext >&5
5172 eval "ac_cv_lib_$ac_lib_var=no"
5175 LIBS="$ac_save_LIBS"
5178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5179 echo "$ac_t""yes" 1>&6
5180 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5181 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5182 cat >> confdefs.h <<EOF
5183 #define $ac_tr_lib 1
5189 echo "$ac_t""no" 1>&6
5192 for ac_func in nan copysignf
5194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5195 echo "configure:5196: checking for $ac_func" >&5
5196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5197 echo $ac_n "(cached) $ac_c" 1>&6
5199 cat > conftest.$ac_ext <<EOF
5200 #line 5201 "configure"
5201 #include "confdefs.h"
5202 /* System header to define __stub macros and hopefully few prototypes,
5203 which can conflict with char $ac_func(); below. */
5205 /* Override any gcc2 internal prototype to avoid an error. */
5206 /* We use char because int might match the return type of a gcc2
5207 builtin and then its argument prototype would still apply. */
5212 /* The GNU C library defines this for functions which it implements
5213 to always fail with ENOSYS. Some functions are actually named
5214 something starting with __ and the normal name is an alias. */
5215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5223 if { (eval echo configure:5224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5225 eval "ac_cv_func_$ac_func=yes"
5227 echo "configure: failed program was:" >&5
5228 cat conftest.$ac_ext >&5
5230 eval "ac_cv_func_$ac_func=no"
5235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5236 echo "$ac_t""yes" 1>&6
5237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5238 cat >> confdefs.h <<EOF
5239 #define $ac_tr_func 1
5243 echo "$ac_t""no" 1>&6
5244 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5249 for ac_func in __signbit
5251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5252 echo "configure:5253: checking for $ac_func" >&5
5253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5254 echo $ac_n "(cached) $ac_c" 1>&6
5256 cat > conftest.$ac_ext <<EOF
5257 #line 5258 "configure"
5258 #include "confdefs.h"
5259 /* System header to define __stub macros and hopefully few prototypes,
5260 which can conflict with char $ac_func(); below. */
5262 /* Override any gcc2 internal prototype to avoid an error. */
5263 /* We use char because int might match the return type of a gcc2
5264 builtin and then its argument prototype would still apply. */
5269 /* The GNU C library defines this for functions which it implements
5270 to always fail with ENOSYS. Some functions are actually named
5271 something starting with __ and the normal name is an alias. */
5272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5280 if { (eval echo configure:5281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5282 eval "ac_cv_func_$ac_func=yes"
5284 echo "configure: failed program was:" >&5
5285 cat conftest.$ac_ext >&5
5287 eval "ac_cv_func_$ac_func=no"
5292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5293 echo "$ac_t""yes" 1>&6
5294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5295 cat >> confdefs.h <<EOF
5296 #define $ac_tr_func 1
5300 echo "$ac_t""no" 1>&6
5301 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5305 for ac_func in __signbitf
5307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5308 echo "configure:5309: checking for $ac_func" >&5
5309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5310 echo $ac_n "(cached) $ac_c" 1>&6
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure"
5314 #include "confdefs.h"
5315 /* System header to define __stub macros and hopefully few prototypes,
5316 which can conflict with char $ac_func(); below. */
5318 /* Override any gcc2 internal prototype to avoid an error. */
5319 /* We use char because int might match the return type of a gcc2
5320 builtin and then its argument prototype would still apply. */
5325 /* The GNU C library defines this for functions which it implements
5326 to always fail with ENOSYS. Some functions are actually named
5327 something starting with __ and the normal name is an alias. */
5328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5336 if { (eval echo configure:5337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5338 eval "ac_cv_func_$ac_func=yes"
5340 echo "configure: failed program was:" >&5
5341 cat conftest.$ac_ext >&5
5343 eval "ac_cv_func_$ac_func=no"
5348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5349 echo "$ac_t""yes" 1>&6
5350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5351 cat >> confdefs.h <<EOF
5352 #define $ac_tr_func 1
5356 echo "$ac_t""no" 1>&6
5357 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5362 if test x$ac_cv_func_copysignl = x"yes"; then
5363 for ac_func in __signbitl
5365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5366 echo "configure:5367: checking for $ac_func" >&5
5367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5368 echo $ac_n "(cached) $ac_c" 1>&6
5370 cat > conftest.$ac_ext <<EOF
5371 #line 5372 "configure"
5372 #include "confdefs.h"
5373 /* System header to define __stub macros and hopefully few prototypes,
5374 which can conflict with char $ac_func(); below. */
5376 /* Override any gcc2 internal prototype to avoid an error. */
5377 /* We use char because int might match the return type of a gcc2
5378 builtin and then its argument prototype would still apply. */
5383 /* The GNU C library defines this for functions which it implements
5384 to always fail with ENOSYS. Some functions are actually named
5385 something starting with __ and the normal name is an alias. */
5386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5394 if { (eval echo configure:5395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5396 eval "ac_cv_func_$ac_func=yes"
5398 echo "configure: failed program was:" >&5
5399 cat conftest.$ac_ext >&5
5401 eval "ac_cv_func_$ac_func=no"
5406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5407 echo "$ac_t""yes" 1>&6
5408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5409 cat >> confdefs.h <<EOF
5410 #define $ac_tr_func 1
5414 echo "$ac_t""no" 1>&6
5415 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5425 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5426 echo "configure:5427: checking for mbstate_t" >&5
5427 cat > conftest.$ac_ext <<EOF
5428 #line 5429 "configure"
5429 #include "confdefs.h"
5432 mbstate_t teststate;
5435 if { (eval echo configure:5436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5439 echo "configure: failed program was:" >&5
5440 cat conftest.$ac_ext >&5
5445 echo "$ac_t""$have_mbstate_t" 1>&6
5446 if test x"$have_mbstate_t" = xyes; then
5447 cat >> confdefs.h <<\EOF
5448 #define HAVE_MBSTATE_T 1
5453 for ac_hdr in wchar.h
5455 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5456 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5457 echo "configure:5458: checking for $ac_hdr" >&5
5458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5459 echo $ac_n "(cached) $ac_c" 1>&6
5461 cat > conftest.$ac_ext <<EOF
5462 #line 5463 "configure"
5463 #include "confdefs.h"
5466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5467 { (eval echo configure:5468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5469 if test -z "$ac_err"; then
5471 eval "ac_cv_header_$ac_safe=yes"
5474 echo "configure: failed program was:" >&5
5475 cat conftest.$ac_ext >&5
5477 eval "ac_cv_header_$ac_safe=no"
5481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5482 echo "$ac_t""yes" 1>&6
5483 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5484 cat >> confdefs.h <<EOF
5485 #define $ac_tr_hdr 1
5489 echo "$ac_t""no" 1>&6
5494 for ac_hdr in wctype.h
5496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5498 echo "configure:5499: checking for $ac_hdr" >&5
5499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5500 echo $ac_n "(cached) $ac_c" 1>&6
5502 cat > conftest.$ac_ext <<EOF
5503 #line 5504 "configure"
5504 #include "confdefs.h"
5507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5508 { (eval echo configure:5509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5510 if test -z "$ac_err"; then
5512 eval "ac_cv_header_$ac_safe=yes"
5515 echo "configure: failed program was:" >&5
5516 cat conftest.$ac_ext >&5
5518 eval "ac_cv_header_$ac_safe=no"
5522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5523 echo "$ac_t""yes" 1>&6
5524 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5525 cat >> confdefs.h <<EOF
5526 #define $ac_tr_hdr 1
5530 echo "$ac_t""no" 1>&6
5536 if test x"$ac_has_wchar_h" = xyes &&
5537 test x"$ac_has_wctype_h" = xyes &&
5538 test x"$enable_c_mbchar" != xno; then
5540 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5541 echo "configure:5542: checking for WCHAR_MIN and WCHAR_MAX" >&5
5542 cat > conftest.$ac_ext <<EOF
5543 #line 5544 "configure"
5544 #include "confdefs.h"
5547 int i = WCHAR_MIN; int j = WCHAR_MAX;
5550 if { (eval echo configure:5551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5552 has_wchar_minmax=yes
5554 echo "configure: failed program was:" >&5
5555 cat conftest.$ac_ext >&5
5560 echo "$ac_t""$has_wchar_minmax" 1>&6
5562 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5563 echo "configure:5564: checking for WEOF" >&5
5564 cat > conftest.$ac_ext <<EOF
5565 #line 5566 "configure"
5566 #include "confdefs.h"
5574 if { (eval echo configure:5575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5578 echo "configure: failed program was:" >&5
5579 cat conftest.$ac_ext >&5
5584 echo "$ac_t""$has_weof" 1>&6
5587 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5590 echo "configure:5591: checking for $ac_func" >&5
5591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5592 echo $ac_n "(cached) $ac_c" 1>&6
5594 cat > conftest.$ac_ext <<EOF
5595 #line 5596 "configure"
5596 #include "confdefs.h"
5597 /* System header to define __stub macros and hopefully few prototypes,
5598 which can conflict with char $ac_func(); below. */
5600 /* Override any gcc2 internal prototype to avoid an error. */
5601 /* We use char because int might match the return type of a gcc2
5602 builtin and then its argument prototype would still apply. */
5607 /* The GNU C library defines this for functions which it implements
5608 to always fail with ENOSYS. Some functions are actually named
5609 something starting with __ and the normal name is an alias. */
5610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5618 if { (eval echo configure:5619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5620 eval "ac_cv_func_$ac_func=yes"
5622 echo "configure: failed program was:" >&5
5623 cat conftest.$ac_ext >&5
5625 eval "ac_cv_func_$ac_func=no"
5630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5631 echo "$ac_t""yes" 1>&6
5632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5633 cat >> confdefs.h <<EOF
5634 #define $ac_tr_func 1
5638 echo "$ac_t""no" 1>&6
5645 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5646 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5647 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5648 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5649 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5650 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5653 echo "configure:5654: checking for $ac_func" >&5
5654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5655 echo $ac_n "(cached) $ac_c" 1>&6
5657 cat > conftest.$ac_ext <<EOF
5658 #line 5659 "configure"
5659 #include "confdefs.h"
5660 /* System header to define __stub macros and hopefully few prototypes,
5661 which can conflict with char $ac_func(); below. */
5663 /* Override any gcc2 internal prototype to avoid an error. */
5664 /* We use char because int might match the return type of a gcc2
5665 builtin and then its argument prototype would still apply. */
5670 /* The GNU C library defines this for functions which it implements
5671 to always fail with ENOSYS. Some functions are actually named
5672 something starting with __ and the normal name is an alias. */
5673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5681 if { (eval echo configure:5682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5683 eval "ac_cv_func_$ac_func=yes"
5685 echo "configure: failed program was:" >&5
5686 cat conftest.$ac_ext >&5
5688 eval "ac_cv_func_$ac_func=no"
5693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5694 echo "$ac_t""yes" 1>&6
5695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5696 cat >> confdefs.h <<EOF
5697 #define $ac_tr_func 1
5701 echo "$ac_t""no" 1>&6
5708 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5709 echo "configure:5710: checking for ISO C99 wchar_t support" >&5
5710 if test x"$has_weof" = xyes &&
5711 test x"$has_wchar_minmax" = xyes &&
5712 test x"$ac_wfuncs" = xyes; then
5713 ac_isoC99_wchar_t=yes
5715 ac_isoC99_wchar_t=no
5717 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5719 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5720 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5721 echo "configure:5722: checking for iconv.h" >&5
5722 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5723 echo $ac_n "(cached) $ac_c" 1>&6
5725 cat > conftest.$ac_ext <<EOF
5726 #line 5727 "configure"
5727 #include "confdefs.h"
5730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5731 { (eval echo configure:5732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5733 if test -z "$ac_err"; then
5735 eval "ac_cv_header_$ac_safe=yes"
5738 echo "configure: failed program was:" >&5
5739 cat conftest.$ac_ext >&5
5741 eval "ac_cv_header_$ac_safe=no"
5745 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5746 echo "$ac_t""yes" 1>&6
5749 echo "$ac_t""no" 1>&6
5753 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5754 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5755 echo "configure:5756: checking for langinfo.h" >&5
5756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5757 echo $ac_n "(cached) $ac_c" 1>&6
5759 cat > conftest.$ac_ext <<EOF
5760 #line 5761 "configure"
5761 #include "confdefs.h"
5762 #include <langinfo.h>
5764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5765 { (eval echo configure:5766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5767 if test -z "$ac_err"; then
5769 eval "ac_cv_header_$ac_safe=yes"
5772 echo "configure: failed program was:" >&5
5773 cat conftest.$ac_ext >&5
5775 eval "ac_cv_header_$ac_safe=no"
5779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5780 echo "$ac_t""yes" 1>&6
5781 ac_has_langinfo_h=yes
5783 echo "$ac_t""no" 1>&6
5784 ac_has_langinfo_h=no
5788 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5789 echo "configure:5790: checking for iconv in -liconv" >&5
5790 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5792 echo $ac_n "(cached) $ac_c" 1>&6
5794 ac_save_LIBS="$LIBS"
5795 LIBS="-liconv $LIBS"
5796 cat > conftest.$ac_ext <<EOF
5797 #line 5798 "configure"
5798 #include "confdefs.h"
5799 /* Override any gcc2 internal prototype to avoid an error. */
5800 /* We use char because int might match the return type of a gcc2
5801 builtin and then its argument prototype would still apply. */
5808 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5810 eval "ac_cv_lib_$ac_lib_var=yes"
5812 echo "configure: failed program was:" >&5
5813 cat conftest.$ac_ext >&5
5815 eval "ac_cv_lib_$ac_lib_var=no"
5818 LIBS="$ac_save_LIBS"
5821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5822 echo "$ac_t""yes" 1>&6
5825 echo "$ac_t""no" 1>&6
5828 ac_save_LIBS="$LIBS"
5829 LIBS="$LIBS $libiconv"
5831 for ac_func in iconv_open iconv_close iconv nl_langinfo
5833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5834 echo "configure:5835: checking for $ac_func" >&5
5835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5836 echo $ac_n "(cached) $ac_c" 1>&6
5838 cat > conftest.$ac_ext <<EOF
5839 #line 5840 "configure"
5840 #include "confdefs.h"
5841 /* System header to define __stub macros and hopefully few prototypes,
5842 which can conflict with char $ac_func(); below. */
5844 /* Override any gcc2 internal prototype to avoid an error. */
5845 /* We use char because int might match the return type of a gcc2
5846 builtin and then its argument prototype would still apply. */
5851 /* The GNU C library defines this for functions which it implements
5852 to always fail with ENOSYS. Some functions are actually named
5853 something starting with __ and the normal name is an alias. */
5854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5862 if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5864 eval "ac_cv_func_$ac_func=yes"
5866 echo "configure: failed program was:" >&5
5867 cat conftest.$ac_ext >&5
5869 eval "ac_cv_func_$ac_func=no"
5874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5875 echo "$ac_t""yes" 1>&6
5876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5877 cat >> confdefs.h <<EOF
5878 #define $ac_tr_func 1
5883 echo "$ac_t""no" 1>&6
5889 LIBS="$ac_save_LIBS"
5891 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5892 echo "configure:5893: checking for XPG2 wchar_t support" >&5
5893 if test x"$ac_has_iconv_h" = xyes &&
5894 test x"$ac_has_langinfo_h" = xyes &&
5895 test x"$ac_XPG2funcs" = xyes; then
5900 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5902 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5903 echo "configure:5904: checking for enabled wchar_t specializations" >&5
5904 if test x"$ac_isoC99_wchar_t" = xyes &&
5905 test x"$ac_XPG2_wchar_t" = xyes; then
5906 cat >> confdefs.h <<\EOF
5907 #define _GLIBCPP_USE_WCHAR_T 1
5910 echo "$ac_t"""yes"" 1>&6
5912 echo "$ac_t"""no"" 1>&6
5915 echo "configure: warning: wchar_t support disabled." 1>&2
5918 os_include_dir="config/os/hpux"
5919 cat >> confdefs.h <<\EOF
5920 #define HAVE_COPYSIGN 1
5923 cat >> confdefs.h <<\EOF
5924 #define HAVE_COPYSIGNF 1
5927 cat >> confdefs.h <<\EOF
5928 #define HAVE_FINITEF 1
5931 cat >> confdefs.h <<\EOF
5932 #define HAVE_FREXPF 1
5935 cat >> confdefs.h <<\EOF
5936 #define HAVE_HYPOT 1
5939 cat >> confdefs.h <<\EOF
5940 #define HAVE_SINCOS 1
5943 cat >> confdefs.h <<\EOF
5944 #define HAVE_SINCOSF 1
5949 # Check for available headers.
5950 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5951 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5952 fp.h locale.h float.h inttypes.h
5954 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5956 echo "configure:5957: checking for $ac_hdr" >&5
5957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5958 echo $ac_n "(cached) $ac_c" 1>&6
5960 cat > conftest.$ac_ext <<EOF
5961 #line 5962 "configure"
5962 #include "confdefs.h"
5965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5966 { (eval echo configure:5967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5968 if test -z "$ac_err"; then
5970 eval "ac_cv_header_$ac_safe=yes"
5973 echo "configure: failed program was:" >&5
5974 cat conftest.$ac_ext >&5
5976 eval "ac_cv_header_$ac_safe=no"
5980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5981 echo "$ac_t""yes" 1>&6
5982 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5983 cat >> confdefs.h <<EOF
5984 #define $ac_tr_hdr 1
5988 echo "$ac_t""no" 1>&6
5992 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5995 # If we're not using GNU ld, then there's no point in even trying these
5996 # tests. Check for that first. We should have already tested for gld
5997 # by now (in libtool), but require it now just to be safe...
5998 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5999 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6002 # The name set by libtool depends on the version of libtool. Shame on us
6003 # for depending on an impl detail, but c'est la vie. Older versions used
6004 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6005 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6006 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6007 # set (hence we're using an older libtool), then set it.
6008 if test x${with_gnu_ld+set} != xset; then
6009 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6010 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6013 with_gnu_ld=$ac_cv_prog_gnu_ld
6017 # Start by getting the version number. I think the libtool test already
6018 # does some of this, but throws away the result.
6020 ldver=`$LD --version 2>/dev/null | head -1 | \
6021 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6023 glibcpp_gnu_ld_version=`echo $ldver | \
6024 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6026 # Set --gc-sections.
6027 if test "$with_gnu_ld" = "notbroken"; then
6028 # GNU ld it is! Joy and bunny rabbits!
6030 # All these tests are for C++; save the language and the compiler flags.
6031 # Need to do this so that g++ won't try to link in libstdc++
6032 ac_test_CFLAGS="${CFLAGS+set}"
6033 ac_save_CFLAGS="$CFLAGS"
6034 CFLAGS='-x c++ -Wl,--gc-sections'
6036 # Check for -Wl,--gc-sections
6037 # XXX This test is broken at the moment, as symbols required for
6038 # linking are now in libsupc++ (not built yet.....). In addition,
6039 # this test has cored on solaris in the past. In addition,
6040 # --gc-sections doesn't really work at the moment (keeps on discarding
6041 # used sections, first .eh_frame and now some of the glibc sections for
6042 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6043 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6044 echo "configure:6045: checking for ld that supports -Wl,--gc-sections" >&5
6045 if test "$cross_compiling" = yes; then
6046 ac_sectionLDflags=yes
6048 cat > conftest.$ac_ext <<EOF
6049 #line 6050 "configure"
6050 #include "confdefs.h"
6060 if { (eval echo configure:6061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6062 ac_sectionLDflags=yes
6064 echo "configure: failed program was:" >&5
6065 cat conftest.$ac_ext >&5
6067 ac_sectionLDflags=no
6072 if test "$ac_test_CFLAGS" = set; then
6073 CFLAGS="$ac_save_CFLAGS"
6075 # this is the suspicious part
6078 if test "$ac_sectionLDflags" = "yes"; then
6079 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6081 echo "$ac_t""$ac_sectionLDflags" 1>&6
6084 # Set linker optimization flags.
6085 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6086 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6093 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6094 echo "configure:6095: checking for main in -lm" >&5
6095 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6097 echo $ac_n "(cached) $ac_c" 1>&6
6099 ac_save_LIBS="$LIBS"
6101 cat > conftest.$ac_ext <<EOF
6102 #line 6103 "configure"
6103 #include "confdefs.h"
6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6111 eval "ac_cv_lib_$ac_lib_var=yes"
6113 echo "configure: failed program was:" >&5
6114 cat conftest.$ac_ext >&5
6116 eval "ac_cv_lib_$ac_lib_var=no"
6119 LIBS="$ac_save_LIBS"
6122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6123 echo "$ac_t""yes" 1>&6
6124 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6125 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6126 cat >> confdefs.h <<EOF
6127 #define $ac_tr_lib 1
6133 echo "$ac_t""no" 1>&6
6136 for ac_func in nan copysignf
6138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6139 echo "configure:6140: checking for $ac_func" >&5
6140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6141 echo $ac_n "(cached) $ac_c" 1>&6
6143 cat > conftest.$ac_ext <<EOF
6144 #line 6145 "configure"
6145 #include "confdefs.h"
6146 /* System header to define __stub macros and hopefully few prototypes,
6147 which can conflict with char $ac_func(); below. */
6149 /* Override any gcc2 internal prototype to avoid an error. */
6150 /* We use char because int might match the return type of a gcc2
6151 builtin and then its argument prototype would still apply. */
6156 /* The GNU C library defines this for functions which it implements
6157 to always fail with ENOSYS. Some functions are actually named
6158 something starting with __ and the normal name is an alias. */
6159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6167 if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6169 eval "ac_cv_func_$ac_func=yes"
6171 echo "configure: failed program was:" >&5
6172 cat conftest.$ac_ext >&5
6174 eval "ac_cv_func_$ac_func=no"
6179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6180 echo "$ac_t""yes" 1>&6
6181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6182 cat >> confdefs.h <<EOF
6183 #define $ac_tr_func 1
6187 echo "$ac_t""no" 1>&6
6188 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6193 for ac_func in __signbit
6195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6196 echo "configure:6197: checking for $ac_func" >&5
6197 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6198 echo $ac_n "(cached) $ac_c" 1>&6
6200 cat > conftest.$ac_ext <<EOF
6201 #line 6202 "configure"
6202 #include "confdefs.h"
6203 /* System header to define __stub macros and hopefully few prototypes,
6204 which can conflict with char $ac_func(); below. */
6206 /* Override any gcc2 internal prototype to avoid an error. */
6207 /* We use char because int might match the return type of a gcc2
6208 builtin and then its argument prototype would still apply. */
6213 /* The GNU C library defines this for functions which it implements
6214 to always fail with ENOSYS. Some functions are actually named
6215 something starting with __ and the normal name is an alias. */
6216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6224 if { (eval echo configure:6225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6226 eval "ac_cv_func_$ac_func=yes"
6228 echo "configure: failed program was:" >&5
6229 cat conftest.$ac_ext >&5
6231 eval "ac_cv_func_$ac_func=no"
6236 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6237 echo "$ac_t""yes" 1>&6
6238 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6239 cat >> confdefs.h <<EOF
6240 #define $ac_tr_func 1
6244 echo "$ac_t""no" 1>&6
6245 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6249 for ac_func in __signbitf
6251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6252 echo "configure:6253: checking for $ac_func" >&5
6253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6254 echo $ac_n "(cached) $ac_c" 1>&6
6256 cat > conftest.$ac_ext <<EOF
6257 #line 6258 "configure"
6258 #include "confdefs.h"
6259 /* System header to define __stub macros and hopefully few prototypes,
6260 which can conflict with char $ac_func(); below. */
6262 /* Override any gcc2 internal prototype to avoid an error. */
6263 /* We use char because int might match the return type of a gcc2
6264 builtin and then its argument prototype would still apply. */
6269 /* The GNU C library defines this for functions which it implements
6270 to always fail with ENOSYS. Some functions are actually named
6271 something starting with __ and the normal name is an alias. */
6272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6282 eval "ac_cv_func_$ac_func=yes"
6284 echo "configure: failed program was:" >&5
6285 cat conftest.$ac_ext >&5
6287 eval "ac_cv_func_$ac_func=no"
6292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6293 echo "$ac_t""yes" 1>&6
6294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6295 cat >> confdefs.h <<EOF
6296 #define $ac_tr_func 1
6300 echo "$ac_t""no" 1>&6
6301 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6306 if test x$ac_cv_func_copysignl = x"yes"; then
6307 for ac_func in __signbitl
6309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6310 echo "configure:6311: checking for $ac_func" >&5
6311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6312 echo $ac_n "(cached) $ac_c" 1>&6
6314 cat > conftest.$ac_ext <<EOF
6315 #line 6316 "configure"
6316 #include "confdefs.h"
6317 /* System header to define __stub macros and hopefully few prototypes,
6318 which can conflict with char $ac_func(); below. */
6320 /* Override any gcc2 internal prototype to avoid an error. */
6321 /* We use char because int might match the return type of a gcc2
6322 builtin and then its argument prototype would still apply. */
6327 /* The GNU C library defines this for functions which it implements
6328 to always fail with ENOSYS. Some functions are actually named
6329 something starting with __ and the normal name is an alias. */
6330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6338 if { (eval echo configure:6339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6340 eval "ac_cv_func_$ac_func=yes"
6342 echo "configure: failed program was:" >&5
6343 cat conftest.$ac_ext >&5
6345 eval "ac_cv_func_$ac_func=no"
6350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6351 echo "$ac_t""yes" 1>&6
6352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6353 cat >> confdefs.h <<EOF
6354 #define $ac_tr_func 1
6358 echo "$ac_t""no" 1>&6
6359 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6369 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6370 echo "configure:6371: checking for mbstate_t" >&5
6371 cat > conftest.$ac_ext <<EOF
6372 #line 6373 "configure"
6373 #include "confdefs.h"
6376 mbstate_t teststate;
6379 if { (eval echo configure:6380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6383 echo "configure: failed program was:" >&5
6384 cat conftest.$ac_ext >&5
6389 echo "$ac_t""$have_mbstate_t" 1>&6
6390 if test x"$have_mbstate_t" = xyes; then
6391 cat >> confdefs.h <<\EOF
6392 #define HAVE_MBSTATE_T 1
6397 for ac_hdr in wchar.h
6399 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6401 echo "configure:6402: checking for $ac_hdr" >&5
6402 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6403 echo $ac_n "(cached) $ac_c" 1>&6
6405 cat > conftest.$ac_ext <<EOF
6406 #line 6407 "configure"
6407 #include "confdefs.h"
6410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6411 { (eval echo configure:6412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6413 if test -z "$ac_err"; then
6415 eval "ac_cv_header_$ac_safe=yes"
6418 echo "configure: failed program was:" >&5
6419 cat conftest.$ac_ext >&5
6421 eval "ac_cv_header_$ac_safe=no"
6425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6426 echo "$ac_t""yes" 1>&6
6427 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6428 cat >> confdefs.h <<EOF
6429 #define $ac_tr_hdr 1
6433 echo "$ac_t""no" 1>&6
6438 for ac_hdr in wctype.h
6440 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6442 echo "configure:6443: checking for $ac_hdr" >&5
6443 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6444 echo $ac_n "(cached) $ac_c" 1>&6
6446 cat > conftest.$ac_ext <<EOF
6447 #line 6448 "configure"
6448 #include "confdefs.h"
6451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6452 { (eval echo configure:6453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6454 if test -z "$ac_err"; then
6456 eval "ac_cv_header_$ac_safe=yes"
6459 echo "configure: failed program was:" >&5
6460 cat conftest.$ac_ext >&5
6462 eval "ac_cv_header_$ac_safe=no"
6466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6467 echo "$ac_t""yes" 1>&6
6468 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6469 cat >> confdefs.h <<EOF
6470 #define $ac_tr_hdr 1
6474 echo "$ac_t""no" 1>&6
6480 if test x"$ac_has_wchar_h" = xyes &&
6481 test x"$ac_has_wctype_h" = xyes &&
6482 test x"$enable_c_mbchar" != xno; then
6484 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6485 echo "configure:6486: checking for WCHAR_MIN and WCHAR_MAX" >&5
6486 cat > conftest.$ac_ext <<EOF
6487 #line 6488 "configure"
6488 #include "confdefs.h"
6491 int i = WCHAR_MIN; int j = WCHAR_MAX;
6494 if { (eval echo configure:6495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6496 has_wchar_minmax=yes
6498 echo "configure: failed program was:" >&5
6499 cat conftest.$ac_ext >&5
6504 echo "$ac_t""$has_wchar_minmax" 1>&6
6506 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6507 echo "configure:6508: checking for WEOF" >&5
6508 cat > conftest.$ac_ext <<EOF
6509 #line 6510 "configure"
6510 #include "confdefs.h"
6518 if { (eval echo configure:6519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6522 echo "configure: failed program was:" >&5
6523 cat conftest.$ac_ext >&5
6528 echo "$ac_t""$has_weof" 1>&6
6531 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6534 echo "configure:6535: checking for $ac_func" >&5
6535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6536 echo $ac_n "(cached) $ac_c" 1>&6
6538 cat > conftest.$ac_ext <<EOF
6539 #line 6540 "configure"
6540 #include "confdefs.h"
6541 /* System header to define __stub macros and hopefully few prototypes,
6542 which can conflict with char $ac_func(); below. */
6544 /* Override any gcc2 internal prototype to avoid an error. */
6545 /* We use char because int might match the return type of a gcc2
6546 builtin and then its argument prototype would still apply. */
6551 /* The GNU C library defines this for functions which it implements
6552 to always fail with ENOSYS. Some functions are actually named
6553 something starting with __ and the normal name is an alias. */
6554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6562 if { (eval echo configure:6563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6564 eval "ac_cv_func_$ac_func=yes"
6566 echo "configure: failed program was:" >&5
6567 cat conftest.$ac_ext >&5
6569 eval "ac_cv_func_$ac_func=no"
6574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6575 echo "$ac_t""yes" 1>&6
6576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6577 cat >> confdefs.h <<EOF
6578 #define $ac_tr_func 1
6582 echo "$ac_t""no" 1>&6
6589 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6590 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6591 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6592 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6593 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6594 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6597 echo "configure:6598: checking for $ac_func" >&5
6598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6599 echo $ac_n "(cached) $ac_c" 1>&6
6601 cat > conftest.$ac_ext <<EOF
6602 #line 6603 "configure"
6603 #include "confdefs.h"
6604 /* System header to define __stub macros and hopefully few prototypes,
6605 which can conflict with char $ac_func(); below. */
6607 /* Override any gcc2 internal prototype to avoid an error. */
6608 /* We use char because int might match the return type of a gcc2
6609 builtin and then its argument prototype would still apply. */
6614 /* The GNU C library defines this for functions which it implements
6615 to always fail with ENOSYS. Some functions are actually named
6616 something starting with __ and the normal name is an alias. */
6617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6627 eval "ac_cv_func_$ac_func=yes"
6629 echo "configure: failed program was:" >&5
6630 cat conftest.$ac_ext >&5
6632 eval "ac_cv_func_$ac_func=no"
6637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6638 echo "$ac_t""yes" 1>&6
6639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6640 cat >> confdefs.h <<EOF
6641 #define $ac_tr_func 1
6645 echo "$ac_t""no" 1>&6
6652 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6653 echo "configure:6654: checking for ISO C99 wchar_t support" >&5
6654 if test x"$has_weof" = xyes &&
6655 test x"$has_wchar_minmax" = xyes &&
6656 test x"$ac_wfuncs" = xyes; then
6657 ac_isoC99_wchar_t=yes
6659 ac_isoC99_wchar_t=no
6661 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6663 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6664 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6665 echo "configure:6666: checking for iconv.h" >&5
6666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6667 echo $ac_n "(cached) $ac_c" 1>&6
6669 cat > conftest.$ac_ext <<EOF
6670 #line 6671 "configure"
6671 #include "confdefs.h"
6674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6675 { (eval echo configure:6676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6677 if test -z "$ac_err"; then
6679 eval "ac_cv_header_$ac_safe=yes"
6682 echo "configure: failed program was:" >&5
6683 cat conftest.$ac_ext >&5
6685 eval "ac_cv_header_$ac_safe=no"
6689 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6690 echo "$ac_t""yes" 1>&6
6693 echo "$ac_t""no" 1>&6
6697 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6698 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6699 echo "configure:6700: checking for langinfo.h" >&5
6700 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6701 echo $ac_n "(cached) $ac_c" 1>&6
6703 cat > conftest.$ac_ext <<EOF
6704 #line 6705 "configure"
6705 #include "confdefs.h"
6706 #include <langinfo.h>
6708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6709 { (eval echo configure:6710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6711 if test -z "$ac_err"; then
6713 eval "ac_cv_header_$ac_safe=yes"
6716 echo "configure: failed program was:" >&5
6717 cat conftest.$ac_ext >&5
6719 eval "ac_cv_header_$ac_safe=no"
6723 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6724 echo "$ac_t""yes" 1>&6
6725 ac_has_langinfo_h=yes
6727 echo "$ac_t""no" 1>&6
6728 ac_has_langinfo_h=no
6732 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6733 echo "configure:6734: checking for iconv in -liconv" >&5
6734 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6736 echo $ac_n "(cached) $ac_c" 1>&6
6738 ac_save_LIBS="$LIBS"
6739 LIBS="-liconv $LIBS"
6740 cat > conftest.$ac_ext <<EOF
6741 #line 6742 "configure"
6742 #include "confdefs.h"
6743 /* Override any gcc2 internal prototype to avoid an error. */
6744 /* We use char because int might match the return type of a gcc2
6745 builtin and then its argument prototype would still apply. */
6752 if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6754 eval "ac_cv_lib_$ac_lib_var=yes"
6756 echo "configure: failed program was:" >&5
6757 cat conftest.$ac_ext >&5
6759 eval "ac_cv_lib_$ac_lib_var=no"
6762 LIBS="$ac_save_LIBS"
6765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6766 echo "$ac_t""yes" 1>&6
6769 echo "$ac_t""no" 1>&6
6772 ac_save_LIBS="$LIBS"
6773 LIBS="$LIBS $libiconv"
6775 for ac_func in iconv_open iconv_close iconv nl_langinfo
6777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6778 echo "configure:6779: checking for $ac_func" >&5
6779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6780 echo $ac_n "(cached) $ac_c" 1>&6
6782 cat > conftest.$ac_ext <<EOF
6783 #line 6784 "configure"
6784 #include "confdefs.h"
6785 /* System header to define __stub macros and hopefully few prototypes,
6786 which can conflict with char $ac_func(); below. */
6788 /* Override any gcc2 internal prototype to avoid an error. */
6789 /* We use char because int might match the return type of a gcc2
6790 builtin and then its argument prototype would still apply. */
6795 /* The GNU C library defines this for functions which it implements
6796 to always fail with ENOSYS. Some functions are actually named
6797 something starting with __ and the normal name is an alias. */
6798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6806 if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6808 eval "ac_cv_func_$ac_func=yes"
6810 echo "configure: failed program was:" >&5
6811 cat conftest.$ac_ext >&5
6813 eval "ac_cv_func_$ac_func=no"
6818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6819 echo "$ac_t""yes" 1>&6
6820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6821 cat >> confdefs.h <<EOF
6822 #define $ac_tr_func 1
6827 echo "$ac_t""no" 1>&6
6833 LIBS="$ac_save_LIBS"
6835 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6836 echo "configure:6837: checking for XPG2 wchar_t support" >&5
6837 if test x"$ac_has_iconv_h" = xyes &&
6838 test x"$ac_has_langinfo_h" = xyes &&
6839 test x"$ac_XPG2funcs" = xyes; then
6844 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6846 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6847 echo "configure:6848: checking for enabled wchar_t specializations" >&5
6848 if test x"$ac_isoC99_wchar_t" = xyes &&
6849 test x"$ac_XPG2_wchar_t" = xyes; then
6850 cat >> confdefs.h <<\EOF
6851 #define _GLIBCPP_USE_WCHAR_T 1
6854 echo "$ac_t"""yes"" 1>&6
6856 echo "$ac_t"""no"" 1>&6
6859 echo "configure: warning: wchar_t support disabled." 1>&2
6862 os_include_dir="config/os/bsd/netbsd"
6863 cat >> confdefs.h <<\EOF
6864 #define HAVE_COPYSIGN 1
6867 cat >> confdefs.h <<\EOF
6868 #define HAVE_COPYSIGNF 1
6871 cat >> confdefs.h <<\EOF
6872 #define HAVE_FINITEF 1
6875 cat >> confdefs.h <<\EOF
6876 #define HAVE_FREXPF 1
6879 cat >> confdefs.h <<\EOF
6880 #define HAVE_HYPOTF 1
6885 for ac_hdr in sys/types.h locale.h float.h
6887 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6889 echo "configure:6890: checking for $ac_hdr" >&5
6890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6891 echo $ac_n "(cached) $ac_c" 1>&6
6893 cat > conftest.$ac_ext <<EOF
6894 #line 6895 "configure"
6895 #include "confdefs.h"
6898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6899 { (eval echo configure:6900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6901 if test -z "$ac_err"; then
6903 eval "ac_cv_header_$ac_safe=yes"
6906 echo "configure: failed program was:" >&5
6907 cat conftest.$ac_ext >&5
6909 eval "ac_cv_header_$ac_safe=no"
6913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6914 echo "$ac_t""yes" 1>&6
6915 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6916 cat >> confdefs.h <<EOF
6917 #define $ac_tr_hdr 1
6921 echo "$ac_t""no" 1>&6
6926 # If we're not using GNU ld, then there's no point in even trying these
6927 # tests. Check for that first. We should have already tested for gld
6928 # by now (in libtool), but require it now just to be safe...
6929 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6930 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6933 # The name set by libtool depends on the version of libtool. Shame on us
6934 # for depending on an impl detail, but c'est la vie. Older versions used
6935 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6936 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6937 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6938 # set (hence we're using an older libtool), then set it.
6939 if test x${with_gnu_ld+set} != xset; then
6940 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6941 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6944 with_gnu_ld=$ac_cv_prog_gnu_ld
6948 # Start by getting the version number. I think the libtool test already
6949 # does some of this, but throws away the result.
6951 ldver=`$LD --version 2>/dev/null | head -1 | \
6952 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6954 glibcpp_gnu_ld_version=`echo $ldver | \
6955 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6957 # Set --gc-sections.
6958 if test "$with_gnu_ld" = "notbroken"; then
6959 # GNU ld it is! Joy and bunny rabbits!
6961 # All these tests are for C++; save the language and the compiler flags.
6962 # Need to do this so that g++ won't try to link in libstdc++
6963 ac_test_CFLAGS="${CFLAGS+set}"
6964 ac_save_CFLAGS="$CFLAGS"
6965 CFLAGS='-x c++ -Wl,--gc-sections'
6967 # Check for -Wl,--gc-sections
6968 # XXX This test is broken at the moment, as symbols required for
6969 # linking are now in libsupc++ (not built yet.....). In addition,
6970 # this test has cored on solaris in the past. In addition,
6971 # --gc-sections doesn't really work at the moment (keeps on discarding
6972 # used sections, first .eh_frame and now some of the glibc sections for
6973 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6974 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6975 echo "configure:6976: checking for ld that supports -Wl,--gc-sections" >&5
6976 if test "$cross_compiling" = yes; then
6977 ac_sectionLDflags=yes
6979 cat > conftest.$ac_ext <<EOF
6980 #line 6981 "configure"
6981 #include "confdefs.h"
6991 if { (eval echo configure:6992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6993 ac_sectionLDflags=yes
6995 echo "configure: failed program was:" >&5
6996 cat conftest.$ac_ext >&5
6998 ac_sectionLDflags=no
7003 if test "$ac_test_CFLAGS" = set; then
7004 CFLAGS="$ac_save_CFLAGS"
7006 # this is the suspicious part
7009 if test "$ac_sectionLDflags" = "yes"; then
7010 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7012 echo "$ac_t""$ac_sectionLDflags" 1>&6
7015 # Set linker optimization flags.
7016 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7017 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7024 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7025 echo "configure:7026: checking for main in -lm" >&5
7026 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7027 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7028 echo $ac_n "(cached) $ac_c" 1>&6
7030 ac_save_LIBS="$LIBS"
7032 cat > conftest.$ac_ext <<EOF
7033 #line 7034 "configure"
7034 #include "confdefs.h"
7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7042 eval "ac_cv_lib_$ac_lib_var=yes"
7044 echo "configure: failed program was:" >&5
7045 cat conftest.$ac_ext >&5
7047 eval "ac_cv_lib_$ac_lib_var=no"
7050 LIBS="$ac_save_LIBS"
7053 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7054 echo "$ac_t""yes" 1>&6
7055 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7056 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7057 cat >> confdefs.h <<EOF
7058 #define $ac_tr_lib 1
7064 echo "$ac_t""no" 1>&6
7067 for ac_func in nan copysignf
7069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7070 echo "configure:7071: checking for $ac_func" >&5
7071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7072 echo $ac_n "(cached) $ac_c" 1>&6
7074 cat > conftest.$ac_ext <<EOF
7075 #line 7076 "configure"
7076 #include "confdefs.h"
7077 /* System header to define __stub macros and hopefully few prototypes,
7078 which can conflict with char $ac_func(); below. */
7080 /* Override any gcc2 internal prototype to avoid an error. */
7081 /* We use char because int might match the return type of a gcc2
7082 builtin and then its argument prototype would still apply. */
7087 /* The GNU C library defines this for functions which it implements
7088 to always fail with ENOSYS. Some functions are actually named
7089 something starting with __ and the normal name is an alias. */
7090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7098 if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7100 eval "ac_cv_func_$ac_func=yes"
7102 echo "configure: failed program was:" >&5
7103 cat conftest.$ac_ext >&5
7105 eval "ac_cv_func_$ac_func=no"
7110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7111 echo "$ac_t""yes" 1>&6
7112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7113 cat >> confdefs.h <<EOF
7114 #define $ac_tr_func 1
7118 echo "$ac_t""no" 1>&6
7119 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7124 for ac_func in __signbit
7126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7127 echo "configure:7128: checking for $ac_func" >&5
7128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7129 echo $ac_n "(cached) $ac_c" 1>&6
7131 cat > conftest.$ac_ext <<EOF
7132 #line 7133 "configure"
7133 #include "confdefs.h"
7134 /* System header to define __stub macros and hopefully few prototypes,
7135 which can conflict with char $ac_func(); below. */
7137 /* Override any gcc2 internal prototype to avoid an error. */
7138 /* We use char because int might match the return type of a gcc2
7139 builtin and then its argument prototype would still apply. */
7144 /* The GNU C library defines this for functions which it implements
7145 to always fail with ENOSYS. Some functions are actually named
7146 something starting with __ and the normal name is an alias. */
7147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7155 if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7157 eval "ac_cv_func_$ac_func=yes"
7159 echo "configure: failed program was:" >&5
7160 cat conftest.$ac_ext >&5
7162 eval "ac_cv_func_$ac_func=no"
7167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7168 echo "$ac_t""yes" 1>&6
7169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7170 cat >> confdefs.h <<EOF
7171 #define $ac_tr_func 1
7175 echo "$ac_t""no" 1>&6
7176 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7180 for ac_func in __signbitf
7182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7183 echo "configure:7184: checking for $ac_func" >&5
7184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7185 echo $ac_n "(cached) $ac_c" 1>&6
7187 cat > conftest.$ac_ext <<EOF
7188 #line 7189 "configure"
7189 #include "confdefs.h"
7190 /* System header to define __stub macros and hopefully few prototypes,
7191 which can conflict with char $ac_func(); below. */
7193 /* Override any gcc2 internal prototype to avoid an error. */
7194 /* We use char because int might match the return type of a gcc2
7195 builtin and then its argument prototype would still apply. */
7200 /* The GNU C library defines this for functions which it implements
7201 to always fail with ENOSYS. Some functions are actually named
7202 something starting with __ and the normal name is an alias. */
7203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7211 if { (eval echo configure:7212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7213 eval "ac_cv_func_$ac_func=yes"
7215 echo "configure: failed program was:" >&5
7216 cat conftest.$ac_ext >&5
7218 eval "ac_cv_func_$ac_func=no"
7223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7224 echo "$ac_t""yes" 1>&6
7225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7226 cat >> confdefs.h <<EOF
7227 #define $ac_tr_func 1
7231 echo "$ac_t""no" 1>&6
7232 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7237 if test x$ac_cv_func_copysignl = x"yes"; then
7238 for ac_func in __signbitl
7240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7241 echo "configure:7242: checking for $ac_func" >&5
7242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7243 echo $ac_n "(cached) $ac_c" 1>&6
7245 cat > conftest.$ac_ext <<EOF
7246 #line 7247 "configure"
7247 #include "confdefs.h"
7248 /* System header to define __stub macros and hopefully few prototypes,
7249 which can conflict with char $ac_func(); below. */
7251 /* Override any gcc2 internal prototype to avoid an error. */
7252 /* We use char because int might match the return type of a gcc2
7253 builtin and then its argument prototype would still apply. */
7258 /* The GNU C library defines this for functions which it implements
7259 to always fail with ENOSYS. Some functions are actually named
7260 something starting with __ and the normal name is an alias. */
7261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7269 if { (eval echo configure:7270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7271 eval "ac_cv_func_$ac_func=yes"
7273 echo "configure: failed program was:" >&5
7274 cat conftest.$ac_ext >&5
7276 eval "ac_cv_func_$ac_func=no"
7281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7282 echo "$ac_t""yes" 1>&6
7283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7284 cat >> confdefs.h <<EOF
7285 #define $ac_tr_func 1
7289 echo "$ac_t""no" 1>&6
7290 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7300 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7301 echo "configure:7302: checking for mbstate_t" >&5
7302 cat > conftest.$ac_ext <<EOF
7303 #line 7304 "configure"
7304 #include "confdefs.h"
7307 mbstate_t teststate;
7310 if { (eval echo configure:7311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7314 echo "configure: failed program was:" >&5
7315 cat conftest.$ac_ext >&5
7320 echo "$ac_t""$have_mbstate_t" 1>&6
7321 if test x"$have_mbstate_t" = xyes; then
7322 cat >> confdefs.h <<\EOF
7323 #define HAVE_MBSTATE_T 1
7328 for ac_hdr in wchar.h
7330 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7331 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7332 echo "configure:7333: checking for $ac_hdr" >&5
7333 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7334 echo $ac_n "(cached) $ac_c" 1>&6
7336 cat > conftest.$ac_ext <<EOF
7337 #line 7338 "configure"
7338 #include "confdefs.h"
7341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7342 { (eval echo configure:7343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7344 if test -z "$ac_err"; then
7346 eval "ac_cv_header_$ac_safe=yes"
7349 echo "configure: failed program was:" >&5
7350 cat conftest.$ac_ext >&5
7352 eval "ac_cv_header_$ac_safe=no"
7356 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7357 echo "$ac_t""yes" 1>&6
7358 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7359 cat >> confdefs.h <<EOF
7360 #define $ac_tr_hdr 1
7364 echo "$ac_t""no" 1>&6
7369 for ac_hdr in wctype.h
7371 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7372 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7373 echo "configure:7374: checking for $ac_hdr" >&5
7374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7375 echo $ac_n "(cached) $ac_c" 1>&6
7377 cat > conftest.$ac_ext <<EOF
7378 #line 7379 "configure"
7379 #include "confdefs.h"
7382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7383 { (eval echo configure:7384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7385 if test -z "$ac_err"; then
7387 eval "ac_cv_header_$ac_safe=yes"
7390 echo "configure: failed program was:" >&5
7391 cat conftest.$ac_ext >&5
7393 eval "ac_cv_header_$ac_safe=no"
7397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7398 echo "$ac_t""yes" 1>&6
7399 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7400 cat >> confdefs.h <<EOF
7401 #define $ac_tr_hdr 1
7405 echo "$ac_t""no" 1>&6
7411 if test x"$ac_has_wchar_h" = xyes &&
7412 test x"$ac_has_wctype_h" = xyes &&
7413 test x"$enable_c_mbchar" != xno; then
7415 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7416 echo "configure:7417: checking for WCHAR_MIN and WCHAR_MAX" >&5
7417 cat > conftest.$ac_ext <<EOF
7418 #line 7419 "configure"
7419 #include "confdefs.h"
7422 int i = WCHAR_MIN; int j = WCHAR_MAX;
7425 if { (eval echo configure:7426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7427 has_wchar_minmax=yes
7429 echo "configure: failed program was:" >&5
7430 cat conftest.$ac_ext >&5
7435 echo "$ac_t""$has_wchar_minmax" 1>&6
7437 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7438 echo "configure:7439: checking for WEOF" >&5
7439 cat > conftest.$ac_ext <<EOF
7440 #line 7441 "configure"
7441 #include "confdefs.h"
7449 if { (eval echo configure:7450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7453 echo "configure: failed program was:" >&5
7454 cat conftest.$ac_ext >&5
7459 echo "$ac_t""$has_weof" 1>&6
7462 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7465 echo "configure:7466: checking for $ac_func" >&5
7466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7467 echo $ac_n "(cached) $ac_c" 1>&6
7469 cat > conftest.$ac_ext <<EOF
7470 #line 7471 "configure"
7471 #include "confdefs.h"
7472 /* System header to define __stub macros and hopefully few prototypes,
7473 which can conflict with char $ac_func(); below. */
7475 /* Override any gcc2 internal prototype to avoid an error. */
7476 /* We use char because int might match the return type of a gcc2
7477 builtin and then its argument prototype would still apply. */
7482 /* The GNU C library defines this for functions which it implements
7483 to always fail with ENOSYS. Some functions are actually named
7484 something starting with __ and the normal name is an alias. */
7485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7493 if { (eval echo configure:7494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7495 eval "ac_cv_func_$ac_func=yes"
7497 echo "configure: failed program was:" >&5
7498 cat conftest.$ac_ext >&5
7500 eval "ac_cv_func_$ac_func=no"
7505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7506 echo "$ac_t""yes" 1>&6
7507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7508 cat >> confdefs.h <<EOF
7509 #define $ac_tr_func 1
7513 echo "$ac_t""no" 1>&6
7520 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7521 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7522 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7523 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7524 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7525 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7528 echo "configure:7529: checking for $ac_func" >&5
7529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7530 echo $ac_n "(cached) $ac_c" 1>&6
7532 cat > conftest.$ac_ext <<EOF
7533 #line 7534 "configure"
7534 #include "confdefs.h"
7535 /* System header to define __stub macros and hopefully few prototypes,
7536 which can conflict with char $ac_func(); below. */
7538 /* Override any gcc2 internal prototype to avoid an error. */
7539 /* We use char because int might match the return type of a gcc2
7540 builtin and then its argument prototype would still apply. */
7545 /* The GNU C library defines this for functions which it implements
7546 to always fail with ENOSYS. Some functions are actually named
7547 something starting with __ and the normal name is an alias. */
7548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7556 if { (eval echo configure:7557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7558 eval "ac_cv_func_$ac_func=yes"
7560 echo "configure: failed program was:" >&5
7561 cat conftest.$ac_ext >&5
7563 eval "ac_cv_func_$ac_func=no"
7568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7569 echo "$ac_t""yes" 1>&6
7570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7571 cat >> confdefs.h <<EOF
7572 #define $ac_tr_func 1
7576 echo "$ac_t""no" 1>&6
7583 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7584 echo "configure:7585: checking for ISO C99 wchar_t support" >&5
7585 if test x"$has_weof" = xyes &&
7586 test x"$has_wchar_minmax" = xyes &&
7587 test x"$ac_wfuncs" = xyes; then
7588 ac_isoC99_wchar_t=yes
7590 ac_isoC99_wchar_t=no
7592 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7594 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7595 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7596 echo "configure:7597: checking for iconv.h" >&5
7597 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7598 echo $ac_n "(cached) $ac_c" 1>&6
7600 cat > conftest.$ac_ext <<EOF
7601 #line 7602 "configure"
7602 #include "confdefs.h"
7605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7606 { (eval echo configure:7607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7608 if test -z "$ac_err"; then
7610 eval "ac_cv_header_$ac_safe=yes"
7613 echo "configure: failed program was:" >&5
7614 cat conftest.$ac_ext >&5
7616 eval "ac_cv_header_$ac_safe=no"
7620 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7621 echo "$ac_t""yes" 1>&6
7624 echo "$ac_t""no" 1>&6
7628 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7629 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7630 echo "configure:7631: checking for langinfo.h" >&5
7631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7632 echo $ac_n "(cached) $ac_c" 1>&6
7634 cat > conftest.$ac_ext <<EOF
7635 #line 7636 "configure"
7636 #include "confdefs.h"
7637 #include <langinfo.h>
7639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7640 { (eval echo configure:7641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7642 if test -z "$ac_err"; then
7644 eval "ac_cv_header_$ac_safe=yes"
7647 echo "configure: failed program was:" >&5
7648 cat conftest.$ac_ext >&5
7650 eval "ac_cv_header_$ac_safe=no"
7654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7655 echo "$ac_t""yes" 1>&6
7656 ac_has_langinfo_h=yes
7658 echo "$ac_t""no" 1>&6
7659 ac_has_langinfo_h=no
7663 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7664 echo "configure:7665: checking for iconv in -liconv" >&5
7665 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7666 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7667 echo $ac_n "(cached) $ac_c" 1>&6
7669 ac_save_LIBS="$LIBS"
7670 LIBS="-liconv $LIBS"
7671 cat > conftest.$ac_ext <<EOF
7672 #line 7673 "configure"
7673 #include "confdefs.h"
7674 /* Override any gcc2 internal prototype to avoid an error. */
7675 /* We use char because int might match the return type of a gcc2
7676 builtin and then its argument prototype would still apply. */
7683 if { (eval echo configure:7684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7685 eval "ac_cv_lib_$ac_lib_var=yes"
7687 echo "configure: failed program was:" >&5
7688 cat conftest.$ac_ext >&5
7690 eval "ac_cv_lib_$ac_lib_var=no"
7693 LIBS="$ac_save_LIBS"
7696 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7697 echo "$ac_t""yes" 1>&6
7700 echo "$ac_t""no" 1>&6
7703 ac_save_LIBS="$LIBS"
7704 LIBS="$LIBS $libiconv"
7706 for ac_func in iconv_open iconv_close iconv nl_langinfo
7708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7709 echo "configure:7710: checking for $ac_func" >&5
7710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7711 echo $ac_n "(cached) $ac_c" 1>&6
7713 cat > conftest.$ac_ext <<EOF
7714 #line 7715 "configure"
7715 #include "confdefs.h"
7716 /* System header to define __stub macros and hopefully few prototypes,
7717 which can conflict with char $ac_func(); below. */
7719 /* Override any gcc2 internal prototype to avoid an error. */
7720 /* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */
7726 /* The GNU C library defines this for functions which it implements
7727 to always fail with ENOSYS. Some functions are actually named
7728 something starting with __ and the normal name is an alias. */
7729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7737 if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7739 eval "ac_cv_func_$ac_func=yes"
7741 echo "configure: failed program was:" >&5
7742 cat conftest.$ac_ext >&5
7744 eval "ac_cv_func_$ac_func=no"
7749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7750 echo "$ac_t""yes" 1>&6
7751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7752 cat >> confdefs.h <<EOF
7753 #define $ac_tr_func 1
7758 echo "$ac_t""no" 1>&6
7764 LIBS="$ac_save_LIBS"
7766 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7767 echo "configure:7768: checking for XPG2 wchar_t support" >&5
7768 if test x"$ac_has_iconv_h" = xyes &&
7769 test x"$ac_has_langinfo_h" = xyes &&
7770 test x"$ac_XPG2funcs" = xyes; then
7775 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7777 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7778 echo "configure:7779: checking for enabled wchar_t specializations" >&5
7779 if test x"$ac_isoC99_wchar_t" = xyes &&
7780 test x"$ac_XPG2_wchar_t" = xyes; then
7781 cat >> confdefs.h <<\EOF
7782 #define _GLIBCPP_USE_WCHAR_T 1
7785 echo "$ac_t"""yes"" 1>&6
7787 echo "$ac_t"""no"" 1>&6
7790 echo "configure: warning: wchar_t support disabled." 1>&2
7793 os_include_dir="config/os/mingw32"
7796 os_include_dir="config/os/newlib"
7797 cat >> confdefs.h <<\EOF
7798 #define HAVE_HYPOT 1
7804 case "$target_alias" in
7808 # GLIBCPP_CHECK_STDLIB_SUPPORT
7809 cat >> confdefs.h <<\EOF
7810 #define HAVE_STRTOF 1
7813 cat >> confdefs.h <<\EOF
7814 #define HAVE_STRTOLD 1
7818 cat >> confdefs.h <<\EOF
7823 cat >> confdefs.h <<\EOF
7824 #define HAVE_ACOSF 1
7827 cat >> confdefs.h <<\EOF
7828 #define HAVE_ASINF 1
7831 cat >> confdefs.h <<\EOF
7832 #define HAVE_ATAN2F 1
7835 cat >> confdefs.h <<\EOF
7836 #define HAVE_ATANF 1
7839 cat >> confdefs.h <<\EOF
7840 #define HAVE_CEILF 1
7843 cat >> confdefs.h <<\EOF
7844 #define HAVE_COPYSIGN 1
7847 cat >> confdefs.h <<\EOF
7848 #define HAVE_COPYSIGNF 1
7851 cat >> confdefs.h <<\EOF
7855 cat >> confdefs.h <<\EOF
7856 #define HAVE_COSHF 1
7859 cat >> confdefs.h <<\EOF
7863 cat >> confdefs.h <<\EOF
7864 #define HAVE_FABSF 1
7867 cat >> confdefs.h <<\EOF
7868 #define HAVE_FINITE 1
7871 cat >> confdefs.h <<\EOF
7872 #define HAVE_FINITEF 1
7875 cat >> confdefs.h <<\EOF
7876 #define HAVE_FLOORF 1
7879 cat >> confdefs.h <<\EOF
7880 #define HAVE_FMODF 1
7883 cat >> confdefs.h <<\EOF
7884 #define HAVE_FREXPF 1
7887 cat >> confdefs.h <<\EOF
7888 #define HAVE_ISINF 1
7891 cat >> confdefs.h <<\EOF
7892 #define HAVE_ISINFF 1
7895 cat >> confdefs.h <<\EOF
7896 #define HAVE_ISNAN 1
7899 cat >> confdefs.h <<\EOF
7900 #define HAVE_ISNANF 1
7903 cat >> confdefs.h <<\EOF
7904 #define HAVE_LDEXPF 1
7907 cat >> confdefs.h <<\EOF
7908 #define HAVE_LOG10F 1
7911 cat >> confdefs.h <<\EOF
7915 cat >> confdefs.h <<\EOF
7916 #define HAVE_MODFF 1
7919 cat >> confdefs.h <<\EOF
7923 cat >> confdefs.h <<\EOF
7927 cat >> confdefs.h <<\EOF
7928 #define HAVE_SINHF 1
7931 cat >> confdefs.h <<\EOF
7932 #define HAVE_SQRTF 1
7935 cat >> confdefs.h <<\EOF
7939 cat >> confdefs.h <<\EOF
7940 #define HAVE_TANHF 1
7946 # At some point, we should differentiate between architectures
7947 # like x86, which have long double versions, and alpha/powerpc/etc.,
7948 # which don't. For the time being, punt.
7949 if test x"long_double_math_on_this_cpu" = x"yes"; then
7950 cat >> confdefs.h <<\EOF
7951 #define HAVE_ACOSL 1
7954 cat >> confdefs.h <<\EOF
7955 #define HAVE_ASINL 1
7958 cat >> confdefs.h <<\EOF
7959 #define HAVE_ATAN2L 1
7962 cat >> confdefs.h <<\EOF
7963 #define HAVE_ATANL 1
7966 cat >> confdefs.h <<\EOF
7967 #define HAVE_CEILL 1
7970 cat >> confdefs.h <<\EOF
7971 #define HAVE_COPYSIGNL 1
7974 cat >> confdefs.h <<\EOF
7978 cat >> confdefs.h <<\EOF
7979 #define HAVE_COSHL 1
7982 cat >> confdefs.h <<\EOF
7986 cat >> confdefs.h <<\EOF
7987 #define HAVE_FABSL 1
7990 cat >> confdefs.h <<\EOF
7991 #define HAVE_FINITEL 1
7994 cat >> confdefs.h <<\EOF
7995 #define HAVE_FLOORL 1
7998 cat >> confdefs.h <<\EOF
7999 #define HAVE_FMODL 1
8002 cat >> confdefs.h <<\EOF
8003 #define HAVE_FREXPL 1
8006 cat >> confdefs.h <<\EOF
8007 #define HAVE_ISINFL 1
8010 cat >> confdefs.h <<\EOF
8011 #define HAVE_ISNANL 1
8014 cat >> confdefs.h <<\EOF
8015 #define HAVE_LDEXPL 1
8018 cat >> confdefs.h <<\EOF
8019 #define HAVE_LOG10L 1
8022 cat >> confdefs.h <<\EOF
8026 cat >> confdefs.h <<\EOF
8027 #define HAVE_MODFL 1
8030 cat >> confdefs.h <<\EOF
8034 cat >> confdefs.h <<\EOF
8035 #define HAVE_SINCOSL 1
8038 cat >> confdefs.h <<\EOF
8042 cat >> confdefs.h <<\EOF
8043 #define HAVE_SINHL 1
8046 cat >> confdefs.h <<\EOF
8047 #define HAVE_SQRTL 1
8050 cat >> confdefs.h <<\EOF
8054 cat >> confdefs.h <<\EOF
8055 #define HAVE_TANHL 1
8061 # We are being configured natively. We can do more elaborate tests
8062 # that include AC_TRY_COMPILE now, as the linker is assumed to be
8064 GLIBCPP_IS_CROSS_COMPILING=0
8067 # Check for available headers.
8068 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8069 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
8071 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8072 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8073 echo "configure:8074: checking for $ac_hdr" >&5
8074 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8075 echo $ac_n "(cached) $ac_c" 1>&6
8077 cat > conftest.$ac_ext <<EOF
8078 #line 8079 "configure"
8079 #include "confdefs.h"
8082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8083 { (eval echo configure:8084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8085 if test -z "$ac_err"; then
8087 eval "ac_cv_header_$ac_safe=yes"
8090 echo "configure: failed program was:" >&5
8091 cat conftest.$ac_ext >&5
8093 eval "ac_cv_header_$ac_safe=no"
8097 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8098 echo "$ac_t""yes" 1>&6
8099 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8100 cat >> confdefs.h <<EOF
8101 #define $ac_tr_hdr 1
8105 echo "$ac_t""no" 1>&6
8111 # All these tests are for C++; save the language and the compiler flags.
8112 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8113 # found in GLIBCPP_CONFIGURE.
8116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8117 ac_cpp='$CXXCPP $CPPFLAGS'
8118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8120 cross_compiling=$ac_cv_prog_cxx_cross
8122 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8123 ac_save_CXXFLAGS="$CXXFLAGS"
8125 # Check for maintainer-mode bits.
8126 if test x"$USE_MAINTAINER_MODE" = xno; then
8132 # Check for -ffunction-sections -fdata-sections
8133 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
8134 echo "configure:8135: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8135 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8136 cat > conftest.$ac_ext <<EOF
8137 #line 8138 "configure"
8138 #include "confdefs.h"
8145 if { (eval echo configure:8146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8149 echo "configure: failed program was:" >&5
8150 cat conftest.$ac_ext >&5
8155 if test "$ac_test_CXXFLAGS" = set; then
8156 CXXFLAGS="$ac_save_CXXFLAGS"
8158 # this is the suspicious part
8161 if test x"$ac_fdsections" = x"yes" &&
8162 test x"$enable_debug" = x"no"; then
8163 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8165 echo "$ac_t""$ac_fdsections" 1>&6
8168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8171 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8172 cross_compiling=$ac_cv_prog_cc_cross
8178 # If we're not using GNU ld, then there's no point in even trying these
8179 # tests. Check for that first. We should have already tested for gld
8180 # by now (in libtool), but require it now just to be safe...
8181 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8182 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8185 # The name set by libtool depends on the version of libtool. Shame on us
8186 # for depending on an impl detail, but c'est la vie. Older versions used
8187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8190 # set (hence we're using an older libtool), then set it.
8191 if test x${with_gnu_ld+set} != xset; then
8192 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8196 with_gnu_ld=$ac_cv_prog_gnu_ld
8200 # Start by getting the version number. I think the libtool test already
8201 # does some of this, but throws away the result.
8203 ldver=`$LD --version 2>/dev/null | head -1 | \
8204 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8206 glibcpp_gnu_ld_version=`echo $ldver | \
8207 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8209 # Set --gc-sections.
8210 if test "$with_gnu_ld" = "notbroken"; then
8211 # GNU ld it is! Joy and bunny rabbits!
8213 # All these tests are for C++; save the language and the compiler flags.
8214 # Need to do this so that g++ won't try to link in libstdc++
8215 ac_test_CFLAGS="${CFLAGS+set}"
8216 ac_save_CFLAGS="$CFLAGS"
8217 CFLAGS='-x c++ -Wl,--gc-sections'
8219 # Check for -Wl,--gc-sections
8220 # XXX This test is broken at the moment, as symbols required for
8221 # linking are now in libsupc++ (not built yet.....). In addition,
8222 # this test has cored on solaris in the past. In addition,
8223 # --gc-sections doesn't really work at the moment (keeps on discarding
8224 # used sections, first .eh_frame and now some of the glibc sections for
8225 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8226 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8227 echo "configure:8228: checking for ld that supports -Wl,--gc-sections" >&5
8228 if test "$cross_compiling" = yes; then
8229 ac_sectionLDflags=yes
8231 cat > conftest.$ac_ext <<EOF
8232 #line 8233 "configure"
8233 #include "confdefs.h"
8243 if { (eval echo configure:8244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8245 ac_sectionLDflags=yes
8247 echo "configure: failed program was:" >&5
8248 cat conftest.$ac_ext >&5
8250 ac_sectionLDflags=no
8255 if test "$ac_test_CFLAGS" = set; then
8256 CFLAGS="$ac_save_CFLAGS"
8258 # this is the suspicious part
8261 if test "$ac_sectionLDflags" = "yes"; then
8262 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8264 echo "$ac_t""$ac_sectionLDflags" 1>&6
8267 # Set linker optimization flags.
8268 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8269 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8277 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
8278 echo "configure:8279: checking for __builtin_abs declaration" >&5
8279 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
8280 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
8281 echo $ac_n "(cached) $ac_c" 1>&6
8286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8287 ac_cpp='$CXXCPP $CPPFLAGS'
8288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8290 cross_compiling=$ac_cv_prog_cxx_cross
8292 cat > conftest.$ac_ext <<EOF
8293 #line 8294 "configure"
8294 #include "confdefs.h"
8300 if { (eval echo configure:8301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8302 glibcpp_cv_func___builtin_abs_use=yes
8304 echo "configure: failed program was:" >&5
8305 cat conftest.$ac_ext >&5
8307 glibcpp_cv_func___builtin_abs_use=no
8311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8312 ac_cpp='$CPP $CPPFLAGS'
8313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8315 cross_compiling=$ac_cv_prog_cc_cross
8321 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
8322 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
8323 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
8324 echo "configure:8325: checking for __builtin_abs linkage" >&5
8325 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
8326 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
8327 echo $ac_n "(cached) $ac_c" 1>&6
8330 cat > conftest.$ac_ext <<EOF
8331 #line 8332 "configure"
8332 #include "confdefs.h"
8338 if { (eval echo configure:8339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8340 glibcpp_cv_func___builtin_abs_link=yes
8342 echo "configure: failed program was:" >&5
8343 cat conftest.$ac_ext >&5
8345 glibcpp_cv_func___builtin_abs_link=no
8352 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
8353 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
8354 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8355 cat >> confdefs.h <<EOF
8356 #define ${ac_tr_func} 1
8363 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
8364 echo "configure:8365: checking for __builtin_fabsf declaration" >&5
8365 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
8366 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
8367 echo $ac_n "(cached) $ac_c" 1>&6
8372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8373 ac_cpp='$CXXCPP $CPPFLAGS'
8374 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8375 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8376 cross_compiling=$ac_cv_prog_cxx_cross
8378 cat > conftest.$ac_ext <<EOF
8379 #line 8380 "configure"
8380 #include "confdefs.h"
8386 if { (eval echo configure:8387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8388 glibcpp_cv_func___builtin_fabsf_use=yes
8390 echo "configure: failed program was:" >&5
8391 cat conftest.$ac_ext >&5
8393 glibcpp_cv_func___builtin_fabsf_use=no
8397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8398 ac_cpp='$CPP $CPPFLAGS'
8399 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8400 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8401 cross_compiling=$ac_cv_prog_cc_cross
8407 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
8408 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
8409 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
8410 echo "configure:8411: checking for __builtin_fabsf linkage" >&5
8411 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
8412 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
8413 echo $ac_n "(cached) $ac_c" 1>&6
8416 cat > conftest.$ac_ext <<EOF
8417 #line 8418 "configure"
8418 #include "confdefs.h"
8424 if { (eval echo configure:8425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8426 glibcpp_cv_func___builtin_fabsf_link=yes
8428 echo "configure: failed program was:" >&5
8429 cat conftest.$ac_ext >&5
8431 glibcpp_cv_func___builtin_fabsf_link=no
8438 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
8439 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
8440 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8441 cat >> confdefs.h <<EOF
8442 #define ${ac_tr_func} 1
8449 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
8450 echo "configure:8451: checking for __builtin_fabs declaration" >&5
8451 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
8452 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
8453 echo $ac_n "(cached) $ac_c" 1>&6
8458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8459 ac_cpp='$CXXCPP $CPPFLAGS'
8460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8462 cross_compiling=$ac_cv_prog_cxx_cross
8464 cat > conftest.$ac_ext <<EOF
8465 #line 8466 "configure"
8466 #include "confdefs.h"
8472 if { (eval echo configure:8473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8474 glibcpp_cv_func___builtin_fabs_use=yes
8476 echo "configure: failed program was:" >&5
8477 cat conftest.$ac_ext >&5
8479 glibcpp_cv_func___builtin_fabs_use=no
8483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8484 ac_cpp='$CPP $CPPFLAGS'
8485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8487 cross_compiling=$ac_cv_prog_cc_cross
8493 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8494 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8495 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8496 echo "configure:8497: checking for __builtin_fabs linkage" >&5
8497 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8498 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8499 echo $ac_n "(cached) $ac_c" 1>&6
8502 cat > conftest.$ac_ext <<EOF
8503 #line 8504 "configure"
8504 #include "confdefs.h"
8510 if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8512 glibcpp_cv_func___builtin_fabs_link=yes
8514 echo "configure: failed program was:" >&5
8515 cat conftest.$ac_ext >&5
8517 glibcpp_cv_func___builtin_fabs_link=no
8524 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8525 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8526 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8527 cat >> confdefs.h <<EOF
8528 #define ${ac_tr_func} 1
8535 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8536 echo "configure:8537: checking for __builtin_fabsl declaration" >&5
8537 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8538 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8539 echo $ac_n "(cached) $ac_c" 1>&6
8544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8545 ac_cpp='$CXXCPP $CPPFLAGS'
8546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8548 cross_compiling=$ac_cv_prog_cxx_cross
8550 cat > conftest.$ac_ext <<EOF
8551 #line 8552 "configure"
8552 #include "confdefs.h"
8558 if { (eval echo configure:8559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8560 glibcpp_cv_func___builtin_fabsl_use=yes
8562 echo "configure: failed program was:" >&5
8563 cat conftest.$ac_ext >&5
8565 glibcpp_cv_func___builtin_fabsl_use=no
8569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8570 ac_cpp='$CPP $CPPFLAGS'
8571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8573 cross_compiling=$ac_cv_prog_cc_cross
8579 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8580 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8581 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8582 echo "configure:8583: checking for __builtin_fabsl linkage" >&5
8583 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8584 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8585 echo $ac_n "(cached) $ac_c" 1>&6
8588 cat > conftest.$ac_ext <<EOF
8589 #line 8590 "configure"
8590 #include "confdefs.h"
8596 if { (eval echo configure:8597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8598 glibcpp_cv_func___builtin_fabsl_link=yes
8600 echo "configure: failed program was:" >&5
8601 cat conftest.$ac_ext >&5
8603 glibcpp_cv_func___builtin_fabsl_link=no
8610 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8611 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8612 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8613 cat >> confdefs.h <<EOF
8614 #define ${ac_tr_func} 1
8621 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8622 echo "configure:8623: checking for __builtin_labs declaration" >&5
8623 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8624 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8625 echo $ac_n "(cached) $ac_c" 1>&6
8630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8631 ac_cpp='$CXXCPP $CPPFLAGS'
8632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8634 cross_compiling=$ac_cv_prog_cxx_cross
8636 cat > conftest.$ac_ext <<EOF
8637 #line 8638 "configure"
8638 #include "confdefs.h"
8644 if { (eval echo configure:8645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8646 glibcpp_cv_func___builtin_labs_use=yes
8648 echo "configure: failed program was:" >&5
8649 cat conftest.$ac_ext >&5
8651 glibcpp_cv_func___builtin_labs_use=no
8655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8656 ac_cpp='$CPP $CPPFLAGS'
8657 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8658 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8659 cross_compiling=$ac_cv_prog_cc_cross
8665 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8666 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8667 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8668 echo "configure:8669: checking for __builtin_labs linkage" >&5
8669 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8670 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8674 cat > conftest.$ac_ext <<EOF
8675 #line 8676 "configure"
8676 #include "confdefs.h"
8682 if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8684 glibcpp_cv_func___builtin_labs_link=yes
8686 echo "configure: failed program was:" >&5
8687 cat conftest.$ac_ext >&5
8689 glibcpp_cv_func___builtin_labs_link=no
8696 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8697 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8698 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8699 cat >> confdefs.h <<EOF
8700 #define ${ac_tr_func} 1
8708 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8709 echo "configure:8710: checking for __builtin_sqrtf declaration" >&5
8710 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8711 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8712 echo $ac_n "(cached) $ac_c" 1>&6
8717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8718 ac_cpp='$CXXCPP $CPPFLAGS'
8719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8721 cross_compiling=$ac_cv_prog_cxx_cross
8723 cat > conftest.$ac_ext <<EOF
8724 #line 8725 "configure"
8725 #include "confdefs.h"
8731 if { (eval echo configure:8732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8733 glibcpp_cv_func___builtin_sqrtf_use=yes
8735 echo "configure: failed program was:" >&5
8736 cat conftest.$ac_ext >&5
8738 glibcpp_cv_func___builtin_sqrtf_use=no
8742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8743 ac_cpp='$CPP $CPPFLAGS'
8744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8746 cross_compiling=$ac_cv_prog_cc_cross
8752 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8753 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8754 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8755 echo "configure:8756: checking for __builtin_sqrtf linkage" >&5
8756 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8757 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8758 echo $ac_n "(cached) $ac_c" 1>&6
8761 cat > conftest.$ac_ext <<EOF
8762 #line 8763 "configure"
8763 #include "confdefs.h"
8769 if { (eval echo configure:8770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8771 glibcpp_cv_func___builtin_sqrtf_link=yes
8773 echo "configure: failed program was:" >&5
8774 cat conftest.$ac_ext >&5
8776 glibcpp_cv_func___builtin_sqrtf_link=no
8783 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8784 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8785 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8786 cat >> confdefs.h <<EOF
8787 #define ${ac_tr_func} 1
8794 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8795 echo "configure:8796: checking for __builtin_sqrt declaration" >&5
8796 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8797 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8798 echo $ac_n "(cached) $ac_c" 1>&6
8803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8804 ac_cpp='$CXXCPP $CPPFLAGS'
8805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8807 cross_compiling=$ac_cv_prog_cxx_cross
8809 cat > conftest.$ac_ext <<EOF
8810 #line 8811 "configure"
8811 #include "confdefs.h"
8817 if { (eval echo configure:8818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8819 glibcpp_cv_func___builtin_sqrt_use=yes
8821 echo "configure: failed program was:" >&5
8822 cat conftest.$ac_ext >&5
8824 glibcpp_cv_func___builtin_sqrt_use=no
8828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8829 ac_cpp='$CPP $CPPFLAGS'
8830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8832 cross_compiling=$ac_cv_prog_cc_cross
8838 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
8839 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
8840 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
8841 echo "configure:8842: checking for __builtin_sqrt linkage" >&5
8842 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
8843 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
8844 echo $ac_n "(cached) $ac_c" 1>&6
8847 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8855 if { (eval echo configure:8856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8857 glibcpp_cv_func___builtin_sqrt_link=yes
8859 echo "configure: failed program was:" >&5
8860 cat conftest.$ac_ext >&5
8862 glibcpp_cv_func___builtin_sqrt_link=no
8869 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
8870 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
8871 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8872 cat >> confdefs.h <<EOF
8873 #define ${ac_tr_func} 1
8880 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
8881 echo "configure:8882: checking for __builtin_sqrtl declaration" >&5
8882 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
8883 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
8884 echo $ac_n "(cached) $ac_c" 1>&6
8889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8890 ac_cpp='$CXXCPP $CPPFLAGS'
8891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8893 cross_compiling=$ac_cv_prog_cxx_cross
8895 cat > conftest.$ac_ext <<EOF
8896 #line 8897 "configure"
8897 #include "confdefs.h"
8903 if { (eval echo configure:8904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8905 glibcpp_cv_func___builtin_sqrtl_use=yes
8907 echo "configure: failed program was:" >&5
8908 cat conftest.$ac_ext >&5
8910 glibcpp_cv_func___builtin_sqrtl_use=no
8914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8915 ac_cpp='$CPP $CPPFLAGS'
8916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8918 cross_compiling=$ac_cv_prog_cc_cross
8924 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
8925 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
8926 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
8927 echo "configure:8928: checking for __builtin_sqrtl linkage" >&5
8928 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
8929 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
8930 echo $ac_n "(cached) $ac_c" 1>&6
8933 cat > conftest.$ac_ext <<EOF
8934 #line 8935 "configure"
8935 #include "confdefs.h"
8941 if { (eval echo configure:8942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8943 glibcpp_cv_func___builtin_sqrtl_link=yes
8945 echo "configure: failed program was:" >&5
8946 cat conftest.$ac_ext >&5
8948 glibcpp_cv_func___builtin_sqrtl_link=no
8955 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
8956 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
8957 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8958 cat >> confdefs.h <<EOF
8959 #define ${ac_tr_func} 1
8967 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
8968 echo "configure:8969: checking for __builtin_sinf declaration" >&5
8969 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
8970 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
8971 echo $ac_n "(cached) $ac_c" 1>&6
8976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8977 ac_cpp='$CXXCPP $CPPFLAGS'
8978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8980 cross_compiling=$ac_cv_prog_cxx_cross
8982 cat > conftest.$ac_ext <<EOF
8983 #line 8984 "configure"
8984 #include "confdefs.h"
8990 if { (eval echo configure:8991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8992 glibcpp_cv_func___builtin_sinf_use=yes
8994 echo "configure: failed program was:" >&5
8995 cat conftest.$ac_ext >&5
8997 glibcpp_cv_func___builtin_sinf_use=no
9001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9002 ac_cpp='$CPP $CPPFLAGS'
9003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9005 cross_compiling=$ac_cv_prog_cc_cross
9011 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
9012 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
9013 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
9014 echo "configure:9015: checking for __builtin_sinf linkage" >&5
9015 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
9016 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
9017 echo $ac_n "(cached) $ac_c" 1>&6
9020 cat > conftest.$ac_ext <<EOF
9021 #line 9022 "configure"
9022 #include "confdefs.h"
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9030 glibcpp_cv_func___builtin_sinf_link=yes
9032 echo "configure: failed program was:" >&5
9033 cat conftest.$ac_ext >&5
9035 glibcpp_cv_func___builtin_sinf_link=no
9042 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
9043 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
9044 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9045 cat >> confdefs.h <<EOF
9046 #define ${ac_tr_func} 1
9053 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
9054 echo "configure:9055: checking for __builtin_sin declaration" >&5
9055 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
9056 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
9057 echo $ac_n "(cached) $ac_c" 1>&6
9062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9063 ac_cpp='$CXXCPP $CPPFLAGS'
9064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9066 cross_compiling=$ac_cv_prog_cxx_cross
9068 cat > conftest.$ac_ext <<EOF
9069 #line 9070 "configure"
9070 #include "confdefs.h"
9076 if { (eval echo configure:9077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9078 glibcpp_cv_func___builtin_sin_use=yes
9080 echo "configure: failed program was:" >&5
9081 cat conftest.$ac_ext >&5
9083 glibcpp_cv_func___builtin_sin_use=no
9087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9088 ac_cpp='$CPP $CPPFLAGS'
9089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9091 cross_compiling=$ac_cv_prog_cc_cross
9097 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
9098 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
9099 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
9100 echo "configure:9101: checking for __builtin_sin linkage" >&5
9101 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
9102 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
9103 echo $ac_n "(cached) $ac_c" 1>&6
9106 cat > conftest.$ac_ext <<EOF
9107 #line 9108 "configure"
9108 #include "confdefs.h"
9114 if { (eval echo configure:9115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9116 glibcpp_cv_func___builtin_sin_link=yes
9118 echo "configure: failed program was:" >&5
9119 cat conftest.$ac_ext >&5
9121 glibcpp_cv_func___builtin_sin_link=no
9128 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
9129 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
9130 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9131 cat >> confdefs.h <<EOF
9132 #define ${ac_tr_func} 1
9139 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
9140 echo "configure:9141: checking for __builtin_sinl declaration" >&5
9141 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
9142 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
9143 echo $ac_n "(cached) $ac_c" 1>&6
9148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9149 ac_cpp='$CXXCPP $CPPFLAGS'
9150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9152 cross_compiling=$ac_cv_prog_cxx_cross
9154 cat > conftest.$ac_ext <<EOF
9155 #line 9156 "configure"
9156 #include "confdefs.h"
9162 if { (eval echo configure:9163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9164 glibcpp_cv_func___builtin_sinl_use=yes
9166 echo "configure: failed program was:" >&5
9167 cat conftest.$ac_ext >&5
9169 glibcpp_cv_func___builtin_sinl_use=no
9173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9174 ac_cpp='$CPP $CPPFLAGS'
9175 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9176 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9177 cross_compiling=$ac_cv_prog_cc_cross
9183 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
9184 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
9185 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
9186 echo "configure:9187: checking for __builtin_sinl linkage" >&5
9187 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
9188 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
9189 echo $ac_n "(cached) $ac_c" 1>&6
9192 cat > conftest.$ac_ext <<EOF
9193 #line 9194 "configure"
9194 #include "confdefs.h"
9200 if { (eval echo configure:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9202 glibcpp_cv_func___builtin_sinl_link=yes
9204 echo "configure: failed program was:" >&5
9205 cat conftest.$ac_ext >&5
9207 glibcpp_cv_func___builtin_sinl_link=no
9214 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
9215 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
9216 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9217 cat >> confdefs.h <<EOF
9218 #define ${ac_tr_func} 1
9226 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
9227 echo "configure:9228: checking for __builtin_cosf declaration" >&5
9228 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
9229 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
9230 echo $ac_n "(cached) $ac_c" 1>&6
9235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9236 ac_cpp='$CXXCPP $CPPFLAGS'
9237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9239 cross_compiling=$ac_cv_prog_cxx_cross
9241 cat > conftest.$ac_ext <<EOF
9242 #line 9243 "configure"
9243 #include "confdefs.h"
9249 if { (eval echo configure:9250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9251 glibcpp_cv_func___builtin_cosf_use=yes
9253 echo "configure: failed program was:" >&5
9254 cat conftest.$ac_ext >&5
9256 glibcpp_cv_func___builtin_cosf_use=no
9260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9261 ac_cpp='$CPP $CPPFLAGS'
9262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9264 cross_compiling=$ac_cv_prog_cc_cross
9270 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
9271 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
9272 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
9273 echo "configure:9274: checking for __builtin_cosf linkage" >&5
9274 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
9275 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
9276 echo $ac_n "(cached) $ac_c" 1>&6
9279 cat > conftest.$ac_ext <<EOF
9280 #line 9281 "configure"
9281 #include "confdefs.h"
9287 if { (eval echo configure:9288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9289 glibcpp_cv_func___builtin_cosf_link=yes
9291 echo "configure: failed program was:" >&5
9292 cat conftest.$ac_ext >&5
9294 glibcpp_cv_func___builtin_cosf_link=no
9301 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
9302 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
9303 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9304 cat >> confdefs.h <<EOF
9305 #define ${ac_tr_func} 1
9312 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
9313 echo "configure:9314: checking for __builtin_cos declaration" >&5
9314 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
9315 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
9316 echo $ac_n "(cached) $ac_c" 1>&6
9321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9322 ac_cpp='$CXXCPP $CPPFLAGS'
9323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9325 cross_compiling=$ac_cv_prog_cxx_cross
9327 cat > conftest.$ac_ext <<EOF
9328 #line 9329 "configure"
9329 #include "confdefs.h"
9335 if { (eval echo configure:9336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9337 glibcpp_cv_func___builtin_cos_use=yes
9339 echo "configure: failed program was:" >&5
9340 cat conftest.$ac_ext >&5
9342 glibcpp_cv_func___builtin_cos_use=no
9346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9347 ac_cpp='$CPP $CPPFLAGS'
9348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9350 cross_compiling=$ac_cv_prog_cc_cross
9356 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
9357 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
9358 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
9359 echo "configure:9360: checking for __builtin_cos linkage" >&5
9360 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
9361 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
9362 echo $ac_n "(cached) $ac_c" 1>&6
9365 cat > conftest.$ac_ext <<EOF
9366 #line 9367 "configure"
9367 #include "confdefs.h"
9373 if { (eval echo configure:9374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9375 glibcpp_cv_func___builtin_cos_link=yes
9377 echo "configure: failed program was:" >&5
9378 cat conftest.$ac_ext >&5
9380 glibcpp_cv_func___builtin_cos_link=no
9387 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
9388 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
9389 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9390 cat >> confdefs.h <<EOF
9391 #define ${ac_tr_func} 1
9398 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
9399 echo "configure:9400: checking for __builtin_cosl declaration" >&5
9400 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
9401 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
9402 echo $ac_n "(cached) $ac_c" 1>&6
9407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9408 ac_cpp='$CXXCPP $CPPFLAGS'
9409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9411 cross_compiling=$ac_cv_prog_cxx_cross
9413 cat > conftest.$ac_ext <<EOF
9414 #line 9415 "configure"
9415 #include "confdefs.h"
9421 if { (eval echo configure:9422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9423 glibcpp_cv_func___builtin_cosl_use=yes
9425 echo "configure: failed program was:" >&5
9426 cat conftest.$ac_ext >&5
9428 glibcpp_cv_func___builtin_cosl_use=no
9432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9433 ac_cpp='$CPP $CPPFLAGS'
9434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9436 cross_compiling=$ac_cv_prog_cc_cross
9442 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
9443 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
9444 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
9445 echo "configure:9446: checking for __builtin_cosl linkage" >&5
9446 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
9447 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
9448 echo $ac_n "(cached) $ac_c" 1>&6
9451 cat > conftest.$ac_ext <<EOF
9452 #line 9453 "configure"
9453 #include "confdefs.h"
9459 if { (eval echo configure:9460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9461 glibcpp_cv_func___builtin_cosl_link=yes
9463 echo "configure: failed program was:" >&5
9464 cat conftest.$ac_ext >&5
9466 glibcpp_cv_func___builtin_cosl_link=no
9473 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9474 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9475 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9476 cat >> confdefs.h <<EOF
9477 #define ${ac_tr_func} 1
9485 if test x$dummyvar = x"yes"; then
9486 cat >> confdefs.h <<\EOF
9487 #define HAVE___BUILTIN_ABS 1
9490 cat >> confdefs.h <<\EOF
9491 #define HAVE___BUILTIN_LABS 1
9494 cat >> confdefs.h <<\EOF
9495 #define HAVE___BUILTIN_COS 1
9498 cat >> confdefs.h <<\EOF
9499 #define HAVE___BUILTIN_COSF 1
9502 cat >> confdefs.h <<\EOF
9503 #define HAVE___BUILTIN_COSL 1
9506 cat >> confdefs.h <<\EOF
9507 #define HAVE___BUILTIN_FABS 1
9510 cat >> confdefs.h <<\EOF
9511 #define HAVE___BUILTIN_FABSF 1
9514 cat >> confdefs.h <<\EOF
9515 #define HAVE___BUILTIN_FABSL 1
9518 cat >> confdefs.h <<\EOF
9519 #define HAVE___BUILTIN_SIN 1
9522 cat >> confdefs.h <<\EOF
9523 #define HAVE___BUILTIN_SINF 1
9526 cat >> confdefs.h <<\EOF
9527 #define HAVE___BUILTIN_SINL 1
9530 cat >> confdefs.h <<\EOF
9531 #define HAVE___BUILTIN_SQRT 1
9534 cat >> confdefs.h <<\EOF
9535 #define HAVE___BUILTIN_SQRTF 1
9538 cat >> confdefs.h <<\EOF
9539 #define HAVE___BUILTIN_SQRTL 1
9545 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9546 ac_save_CXXFLAGS="$CXXFLAGS"
9547 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9549 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9550 echo "configure:9551: checking for sin in -lm" >&5
9551 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9553 echo $ac_n "(cached) $ac_c" 1>&6
9555 ac_save_LIBS="$LIBS"
9557 cat > conftest.$ac_ext <<EOF
9558 #line 9559 "configure"
9559 #include "confdefs.h"
9560 /* Override any gcc2 internal prototype to avoid an error. */
9561 /* We use char because int might match the return type of a gcc2
9562 builtin and then its argument prototype would still apply. */
9569 if { (eval echo configure:9570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9571 eval "ac_cv_lib_$ac_lib_var=yes"
9573 echo "configure: failed program was:" >&5
9574 cat conftest.$ac_ext >&5
9576 eval "ac_cv_lib_$ac_lib_var=no"
9579 LIBS="$ac_save_LIBS"
9582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9583 echo "$ac_t""yes" 1>&6
9586 echo "$ac_t""no" 1>&6
9589 ac_save_LIBS="$LIBS"
9594 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9595 echo "configure:9596: checking for isinf declaration" >&5
9596 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9597 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9598 echo $ac_n "(cached) $ac_c" 1>&6
9603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9604 ac_cpp='$CXXCPP $CPPFLAGS'
9605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9607 cross_compiling=$ac_cv_prog_cxx_cross
9609 cat > conftest.$ac_ext <<EOF
9610 #line 9611 "configure"
9611 #include "confdefs.h"
9613 #ifdef HAVE_IEEEFP_H
9621 if { (eval echo configure:9622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9623 glibcpp_cv_func_isinf_use=yes
9625 echo "configure: failed program was:" >&5
9626 cat conftest.$ac_ext >&5
9628 glibcpp_cv_func_isinf_use=no
9632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9633 ac_cpp='$CPP $CPPFLAGS'
9634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9636 cross_compiling=$ac_cv_prog_cc_cross
9642 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9644 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9645 for ac_func in isinf
9647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9648 echo "configure:9649: checking for $ac_func" >&5
9649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9650 echo $ac_n "(cached) $ac_c" 1>&6
9652 cat > conftest.$ac_ext <<EOF
9653 #line 9654 "configure"
9654 #include "confdefs.h"
9655 /* System header to define __stub macros and hopefully few prototypes,
9656 which can conflict with char $ac_func(); below. */
9658 /* Override any gcc2 internal prototype to avoid an error. */
9659 /* We use char because int might match the return type of a gcc2
9660 builtin and then its argument prototype would still apply. */
9665 /* The GNU C library defines this for functions which it implements
9666 to always fail with ENOSYS. Some functions are actually named
9667 something starting with __ and the normal name is an alias. */
9668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9676 if { (eval echo configure:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9678 eval "ac_cv_func_$ac_func=yes"
9680 echo "configure: failed program was:" >&5
9681 cat conftest.$ac_ext >&5
9683 eval "ac_cv_func_$ac_func=no"
9688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9689 echo "$ac_t""yes" 1>&6
9690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9691 cat >> confdefs.h <<EOF
9692 #define $ac_tr_func 1
9696 echo "$ac_t""no" 1>&6
9702 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9703 echo "configure:9704: checking for _isinf declaration" >&5
9704 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9705 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9712 ac_cpp='$CXXCPP $CPPFLAGS'
9713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9715 cross_compiling=$ac_cv_prog_cxx_cross
9717 cat > conftest.$ac_ext <<EOF
9718 #line 9719 "configure"
9719 #include "confdefs.h"
9721 #ifdef HAVE_IEEEFP_H
9729 if { (eval echo configure:9730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9731 glibcpp_cv_func__isinf_use=yes
9733 echo "configure: failed program was:" >&5
9734 cat conftest.$ac_ext >&5
9736 glibcpp_cv_func__isinf_use=no
9740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9741 ac_cpp='$CPP $CPPFLAGS'
9742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9744 cross_compiling=$ac_cv_prog_cc_cross
9750 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9752 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9753 for ac_func in _isinf
9755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9756 echo "configure:9757: checking for $ac_func" >&5
9757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9758 echo $ac_n "(cached) $ac_c" 1>&6
9760 cat > conftest.$ac_ext <<EOF
9761 #line 9762 "configure"
9762 #include "confdefs.h"
9763 /* System header to define __stub macros and hopefully few prototypes,
9764 which can conflict with char $ac_func(); below. */
9766 /* Override any gcc2 internal prototype to avoid an error. */
9767 /* We use char because int might match the return type of a gcc2
9768 builtin and then its argument prototype would still apply. */
9773 /* The GNU C library defines this for functions which it implements
9774 to always fail with ENOSYS. Some functions are actually named
9775 something starting with __ and the normal name is an alias. */
9776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9784 if { (eval echo configure:9785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9786 eval "ac_cv_func_$ac_func=yes"
9788 echo "configure: failed program was:" >&5
9789 cat conftest.$ac_ext >&5
9791 eval "ac_cv_func_$ac_func=no"
9796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9797 echo "$ac_t""yes" 1>&6
9798 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9799 cat >> confdefs.h <<EOF
9800 #define $ac_tr_func 1
9804 echo "$ac_t""no" 1>&6
9813 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
9814 echo "configure:9815: checking for isnan declaration" >&5
9815 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
9816 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
9817 echo $ac_n "(cached) $ac_c" 1>&6
9822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9823 ac_cpp='$CXXCPP $CPPFLAGS'
9824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9826 cross_compiling=$ac_cv_prog_cxx_cross
9828 cat > conftest.$ac_ext <<EOF
9829 #line 9830 "configure"
9830 #include "confdefs.h"
9832 #ifdef HAVE_IEEEFP_H
9840 if { (eval echo configure:9841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9842 glibcpp_cv_func_isnan_use=yes
9844 echo "configure: failed program was:" >&5
9845 cat conftest.$ac_ext >&5
9847 glibcpp_cv_func_isnan_use=no
9851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9852 ac_cpp='$CPP $CPPFLAGS'
9853 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9854 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9855 cross_compiling=$ac_cv_prog_cc_cross
9861 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
9863 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
9864 for ac_func in isnan
9866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9867 echo "configure:9868: checking for $ac_func" >&5
9868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9869 echo $ac_n "(cached) $ac_c" 1>&6
9871 cat > conftest.$ac_ext <<EOF
9872 #line 9873 "configure"
9873 #include "confdefs.h"
9874 /* System header to define __stub macros and hopefully few prototypes,
9875 which can conflict with char $ac_func(); below. */
9877 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9884 /* The GNU C library defines this for functions which it implements
9885 to always fail with ENOSYS. Some functions are actually named
9886 something starting with __ and the normal name is an alias. */
9887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9895 if { (eval echo configure:9896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9897 eval "ac_cv_func_$ac_func=yes"
9899 echo "configure: failed program was:" >&5
9900 cat conftest.$ac_ext >&5
9902 eval "ac_cv_func_$ac_func=no"
9907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9908 echo "$ac_t""yes" 1>&6
9909 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9910 cat >> confdefs.h <<EOF
9911 #define $ac_tr_func 1
9915 echo "$ac_t""no" 1>&6
9921 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
9922 echo "configure:9923: checking for _isnan declaration" >&5
9923 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
9924 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9931 ac_cpp='$CXXCPP $CPPFLAGS'
9932 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9933 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9934 cross_compiling=$ac_cv_prog_cxx_cross
9936 cat > conftest.$ac_ext <<EOF
9937 #line 9938 "configure"
9938 #include "confdefs.h"
9940 #ifdef HAVE_IEEEFP_H
9948 if { (eval echo configure:9949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9950 glibcpp_cv_func__isnan_use=yes
9952 echo "configure: failed program was:" >&5
9953 cat conftest.$ac_ext >&5
9955 glibcpp_cv_func__isnan_use=no
9959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9960 ac_cpp='$CPP $CPPFLAGS'
9961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9963 cross_compiling=$ac_cv_prog_cc_cross
9969 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
9971 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
9972 for ac_func in _isnan
9974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9975 echo "configure:9976: checking for $ac_func" >&5
9976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9977 echo $ac_n "(cached) $ac_c" 1>&6
9979 cat > conftest.$ac_ext <<EOF
9980 #line 9981 "configure"
9981 #include "confdefs.h"
9982 /* System header to define __stub macros and hopefully few prototypes,
9983 which can conflict with char $ac_func(); below. */
9985 /* Override any gcc2 internal prototype to avoid an error. */
9986 /* We use char because int might match the return type of a gcc2
9987 builtin and then its argument prototype would still apply. */
9992 /* The GNU C library defines this for functions which it implements
9993 to always fail with ENOSYS. Some functions are actually named
9994 something starting with __ and the normal name is an alias. */
9995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10003 if { (eval echo configure:10004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10005 eval "ac_cv_func_$ac_func=yes"
10007 echo "configure: failed program was:" >&5
10008 cat conftest.$ac_ext >&5
10010 eval "ac_cv_func_$ac_func=no"
10015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10016 echo "$ac_t""yes" 1>&6
10017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10018 cat >> confdefs.h <<EOF
10019 #define $ac_tr_func 1
10023 echo "$ac_t""no" 1>&6
10032 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
10033 echo "configure:10034: checking for finite declaration" >&5
10034 if test x${glibcpp_cv_func_finite_use+set} != xset; then
10035 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
10036 echo $ac_n "(cached) $ac_c" 1>&6
10041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10042 ac_cpp='$CXXCPP $CPPFLAGS'
10043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10045 cross_compiling=$ac_cv_prog_cxx_cross
10047 cat > conftest.$ac_ext <<EOF
10048 #line 10049 "configure"
10049 #include "confdefs.h"
10051 #ifdef HAVE_IEEEFP_H
10052 #include <ieeefp.h>
10059 if { (eval echo configure:10060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10061 glibcpp_cv_func_finite_use=yes
10063 echo "configure: failed program was:" >&5
10064 cat conftest.$ac_ext >&5
10066 glibcpp_cv_func_finite_use=no
10070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10071 ac_cpp='$CPP $CPPFLAGS'
10072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10074 cross_compiling=$ac_cv_prog_cc_cross
10080 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
10082 if test x$glibcpp_cv_func_finite_use = x"yes"; then
10083 for ac_func in finite
10085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10086 echo "configure:10087: checking for $ac_func" >&5
10087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10088 echo $ac_n "(cached) $ac_c" 1>&6
10090 cat > conftest.$ac_ext <<EOF
10091 #line 10092 "configure"
10092 #include "confdefs.h"
10093 /* System header to define __stub macros and hopefully few prototypes,
10094 which can conflict with char $ac_func(); below. */
10095 #include <assert.h>
10096 /* Override any gcc2 internal prototype to avoid an error. */
10097 /* We use char because int might match the return type of a gcc2
10098 builtin and then its argument prototype would still apply. */
10103 /* The GNU C library defines this for functions which it implements
10104 to always fail with ENOSYS. Some functions are actually named
10105 something starting with __ and the normal name is an alias. */
10106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10114 if { (eval echo configure:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10116 eval "ac_cv_func_$ac_func=yes"
10118 echo "configure: failed program was:" >&5
10119 cat conftest.$ac_ext >&5
10121 eval "ac_cv_func_$ac_func=no"
10126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10127 echo "$ac_t""yes" 1>&6
10128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10129 cat >> confdefs.h <<EOF
10130 #define $ac_tr_func 1
10134 echo "$ac_t""no" 1>&6
10140 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
10141 echo "configure:10142: checking for _finite declaration" >&5
10142 if test x${glibcpp_cv_func__finite_use+set} != xset; then
10143 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
10144 echo $ac_n "(cached) $ac_c" 1>&6
10149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10150 ac_cpp='$CXXCPP $CPPFLAGS'
10151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10153 cross_compiling=$ac_cv_prog_cxx_cross
10155 cat > conftest.$ac_ext <<EOF
10156 #line 10157 "configure"
10157 #include "confdefs.h"
10159 #ifdef HAVE_IEEEFP_H
10160 #include <ieeefp.h>
10167 if { (eval echo configure:10168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10169 glibcpp_cv_func__finite_use=yes
10171 echo "configure: failed program was:" >&5
10172 cat conftest.$ac_ext >&5
10174 glibcpp_cv_func__finite_use=no
10178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10179 ac_cpp='$CPP $CPPFLAGS'
10180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10182 cross_compiling=$ac_cv_prog_cc_cross
10188 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
10190 if test x$glibcpp_cv_func__finite_use = x"yes"; then
10191 for ac_func in _finite
10193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10194 echo "configure:10195: checking for $ac_func" >&5
10195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10196 echo $ac_n "(cached) $ac_c" 1>&6
10198 cat > conftest.$ac_ext <<EOF
10199 #line 10200 "configure"
10200 #include "confdefs.h"
10201 /* System header to define __stub macros and hopefully few prototypes,
10202 which can conflict with char $ac_func(); below. */
10203 #include <assert.h>
10204 /* Override any gcc2 internal prototype to avoid an error. */
10205 /* We use char because int might match the return type of a gcc2
10206 builtin and then its argument prototype would still apply. */
10211 /* The GNU C library defines this for functions which it implements
10212 to always fail with ENOSYS. Some functions are actually named
10213 something starting with __ and the normal name is an alias. */
10214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10222 if { (eval echo configure:10223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10224 eval "ac_cv_func_$ac_func=yes"
10226 echo "configure: failed program was:" >&5
10227 cat conftest.$ac_ext >&5
10229 eval "ac_cv_func_$ac_func=no"
10234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10235 echo "$ac_t""yes" 1>&6
10236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10237 cat >> confdefs.h <<EOF
10238 #define $ac_tr_func 1
10242 echo "$ac_t""no" 1>&6
10251 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
10252 echo "configure:10253: checking for copysign declaration" >&5
10253 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
10254 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10261 ac_cpp='$CXXCPP $CPPFLAGS'
10262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10264 cross_compiling=$ac_cv_prog_cxx_cross
10266 cat > conftest.$ac_ext <<EOF
10267 #line 10268 "configure"
10268 #include "confdefs.h"
10274 if { (eval echo configure:10275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10276 glibcpp_cv_func_copysign_use=yes
10278 echo "configure: failed program was:" >&5
10279 cat conftest.$ac_ext >&5
10281 glibcpp_cv_func_copysign_use=no
10285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10286 ac_cpp='$CPP $CPPFLAGS'
10287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10289 cross_compiling=$ac_cv_prog_cc_cross
10295 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
10297 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
10298 for ac_func in copysign
10300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10301 echo "configure:10302: checking for $ac_func" >&5
10302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10303 echo $ac_n "(cached) $ac_c" 1>&6
10305 cat > conftest.$ac_ext <<EOF
10306 #line 10307 "configure"
10307 #include "confdefs.h"
10308 /* System header to define __stub macros and hopefully few prototypes,
10309 which can conflict with char $ac_func(); below. */
10310 #include <assert.h>
10311 /* Override any gcc2 internal prototype to avoid an error. */
10312 /* We use char because int might match the return type of a gcc2
10313 builtin and then its argument prototype would still apply. */
10318 /* The GNU C library defines this for functions which it implements
10319 to always fail with ENOSYS. Some functions are actually named
10320 something starting with __ and the normal name is an alias. */
10321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10329 if { (eval echo configure:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10331 eval "ac_cv_func_$ac_func=yes"
10333 echo "configure: failed program was:" >&5
10334 cat conftest.$ac_ext >&5
10336 eval "ac_cv_func_$ac_func=no"
10341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10342 echo "$ac_t""yes" 1>&6
10343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10344 cat >> confdefs.h <<EOF
10345 #define $ac_tr_func 1
10349 echo "$ac_t""no" 1>&6
10355 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
10356 echo "configure:10357: checking for _copysign declaration" >&5
10357 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
10358 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
10359 echo $ac_n "(cached) $ac_c" 1>&6
10364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10365 ac_cpp='$CXXCPP $CPPFLAGS'
10366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10368 cross_compiling=$ac_cv_prog_cxx_cross
10370 cat > conftest.$ac_ext <<EOF
10371 #line 10372 "configure"
10372 #include "confdefs.h"
10378 if { (eval echo configure:10379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10380 glibcpp_cv_func__copysign_use=yes
10382 echo "configure: failed program was:" >&5
10383 cat conftest.$ac_ext >&5
10385 glibcpp_cv_func__copysign_use=no
10389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10390 ac_cpp='$CPP $CPPFLAGS'
10391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10393 cross_compiling=$ac_cv_prog_cc_cross
10399 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
10401 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
10402 for ac_func in _copysign
10404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10405 echo "configure:10406: checking for $ac_func" >&5
10406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10407 echo $ac_n "(cached) $ac_c" 1>&6
10409 cat > conftest.$ac_ext <<EOF
10410 #line 10411 "configure"
10411 #include "confdefs.h"
10412 /* System header to define __stub macros and hopefully few prototypes,
10413 which can conflict with char $ac_func(); below. */
10414 #include <assert.h>
10415 /* Override any gcc2 internal prototype to avoid an error. */
10416 /* We use char because int might match the return type of a gcc2
10417 builtin and then its argument prototype would still apply. */
10422 /* The GNU C library defines this for functions which it implements
10423 to always fail with ENOSYS. Some functions are actually named
10424 something starting with __ and the normal name is an alias. */
10425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10433 if { (eval echo configure:10434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10435 eval "ac_cv_func_$ac_func=yes"
10437 echo "configure: failed program was:" >&5
10438 cat conftest.$ac_ext >&5
10440 eval "ac_cv_func_$ac_func=no"
10445 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10446 echo "$ac_t""yes" 1>&6
10447 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10448 cat >> confdefs.h <<EOF
10449 #define $ac_tr_func 1
10453 echo "$ac_t""no" 1>&6
10462 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
10463 echo "configure:10464: checking for sincos declaration" >&5
10464 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10465 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10466 echo $ac_n "(cached) $ac_c" 1>&6
10471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10472 ac_cpp='$CXXCPP $CPPFLAGS'
10473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10475 cross_compiling=$ac_cv_prog_cxx_cross
10477 cat > conftest.$ac_ext <<EOF
10478 #line 10479 "configure"
10479 #include "confdefs.h"
10485 if { (eval echo configure:10486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10487 glibcpp_cv_func_sincos_use=yes
10489 echo "configure: failed program was:" >&5
10490 cat conftest.$ac_ext >&5
10492 glibcpp_cv_func_sincos_use=no
10496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10497 ac_cpp='$CPP $CPPFLAGS'
10498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10500 cross_compiling=$ac_cv_prog_cc_cross
10506 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10508 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10509 for ac_func in sincos
10511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10512 echo "configure:10513: checking for $ac_func" >&5
10513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10514 echo $ac_n "(cached) $ac_c" 1>&6
10516 cat > conftest.$ac_ext <<EOF
10517 #line 10518 "configure"
10518 #include "confdefs.h"
10519 /* System header to define __stub macros and hopefully few prototypes,
10520 which can conflict with char $ac_func(); below. */
10521 #include <assert.h>
10522 /* Override any gcc2 internal prototype to avoid an error. */
10523 /* We use char because int might match the return type of a gcc2
10524 builtin and then its argument prototype would still apply. */
10529 /* The GNU C library defines this for functions which it implements
10530 to always fail with ENOSYS. Some functions are actually named
10531 something starting with __ and the normal name is an alias. */
10532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10540 if { (eval echo configure:10541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10542 eval "ac_cv_func_$ac_func=yes"
10544 echo "configure: failed program was:" >&5
10545 cat conftest.$ac_ext >&5
10547 eval "ac_cv_func_$ac_func=no"
10552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10553 echo "$ac_t""yes" 1>&6
10554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10555 cat >> confdefs.h <<EOF
10556 #define $ac_tr_func 1
10560 echo "$ac_t""no" 1>&6
10566 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10567 echo "configure:10568: checking for _sincos declaration" >&5
10568 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10569 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10570 echo $ac_n "(cached) $ac_c" 1>&6
10575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10576 ac_cpp='$CXXCPP $CPPFLAGS'
10577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10579 cross_compiling=$ac_cv_prog_cxx_cross
10581 cat > conftest.$ac_ext <<EOF
10582 #line 10583 "configure"
10583 #include "confdefs.h"
10589 if { (eval echo configure:10590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10591 glibcpp_cv_func__sincos_use=yes
10593 echo "configure: failed program was:" >&5
10594 cat conftest.$ac_ext >&5
10596 glibcpp_cv_func__sincos_use=no
10600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10601 ac_cpp='$CPP $CPPFLAGS'
10602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10604 cross_compiling=$ac_cv_prog_cc_cross
10610 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10612 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10613 for ac_func in _sincos
10615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10616 echo "configure:10617: checking for $ac_func" >&5
10617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10618 echo $ac_n "(cached) $ac_c" 1>&6
10620 cat > conftest.$ac_ext <<EOF
10621 #line 10622 "configure"
10622 #include "confdefs.h"
10623 /* System header to define __stub macros and hopefully few prototypes,
10624 which can conflict with char $ac_func(); below. */
10625 #include <assert.h>
10626 /* Override any gcc2 internal prototype to avoid an error. */
10627 /* We use char because int might match the return type of a gcc2
10628 builtin and then its argument prototype would still apply. */
10633 /* The GNU C library defines this for functions which it implements
10634 to always fail with ENOSYS. Some functions are actually named
10635 something starting with __ and the normal name is an alias. */
10636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10646 eval "ac_cv_func_$ac_func=yes"
10648 echo "configure: failed program was:" >&5
10649 cat conftest.$ac_ext >&5
10651 eval "ac_cv_func_$ac_func=no"
10656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10657 echo "$ac_t""yes" 1>&6
10658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10659 cat >> confdefs.h <<EOF
10660 #define $ac_tr_func 1
10664 echo "$ac_t""no" 1>&6
10673 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10674 echo "configure:10675: checking for fpclass declaration" >&5
10675 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10676 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10683 ac_cpp='$CXXCPP $CPPFLAGS'
10684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10686 cross_compiling=$ac_cv_prog_cxx_cross
10688 cat > conftest.$ac_ext <<EOF
10689 #line 10690 "configure"
10690 #include "confdefs.h"
10692 #ifdef HAVE_IEEEFP_H
10693 #include <ieeefp.h>
10700 if { (eval echo configure:10701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10702 glibcpp_cv_func_fpclass_use=yes
10704 echo "configure: failed program was:" >&5
10705 cat conftest.$ac_ext >&5
10707 glibcpp_cv_func_fpclass_use=no
10711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10712 ac_cpp='$CPP $CPPFLAGS'
10713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10715 cross_compiling=$ac_cv_prog_cc_cross
10721 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10723 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10724 for ac_func in fpclass
10726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10727 echo "configure:10728: checking for $ac_func" >&5
10728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10731 cat > conftest.$ac_ext <<EOF
10732 #line 10733 "configure"
10733 #include "confdefs.h"
10734 /* System header to define __stub macros and hopefully few prototypes,
10735 which can conflict with char $ac_func(); below. */
10736 #include <assert.h>
10737 /* Override any gcc2 internal prototype to avoid an error. */
10738 /* We use char because int might match the return type of a gcc2
10739 builtin and then its argument prototype would still apply. */
10744 /* The GNU C library defines this for functions which it implements
10745 to always fail with ENOSYS. Some functions are actually named
10746 something starting with __ and the normal name is an alias. */
10747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10755 if { (eval echo configure:10756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10757 eval "ac_cv_func_$ac_func=yes"
10759 echo "configure: failed program was:" >&5
10760 cat conftest.$ac_ext >&5
10762 eval "ac_cv_func_$ac_func=no"
10767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10768 echo "$ac_t""yes" 1>&6
10769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10770 cat >> confdefs.h <<EOF
10771 #define $ac_tr_func 1
10775 echo "$ac_t""no" 1>&6
10781 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10782 echo "configure:10783: checking for _fpclass declaration" >&5
10783 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10784 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10785 echo $ac_n "(cached) $ac_c" 1>&6
10790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10791 ac_cpp='$CXXCPP $CPPFLAGS'
10792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10794 cross_compiling=$ac_cv_prog_cxx_cross
10796 cat > conftest.$ac_ext <<EOF
10797 #line 10798 "configure"
10798 #include "confdefs.h"
10800 #ifdef HAVE_IEEEFP_H
10801 #include <ieeefp.h>
10808 if { (eval echo configure:10809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10810 glibcpp_cv_func__fpclass_use=yes
10812 echo "configure: failed program was:" >&5
10813 cat conftest.$ac_ext >&5
10815 glibcpp_cv_func__fpclass_use=no
10819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10820 ac_cpp='$CPP $CPPFLAGS'
10821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10823 cross_compiling=$ac_cv_prog_cc_cross
10829 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
10831 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
10832 for ac_func in _fpclass
10834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10835 echo "configure:10836: checking for $ac_func" >&5
10836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10837 echo $ac_n "(cached) $ac_c" 1>&6
10839 cat > conftest.$ac_ext <<EOF
10840 #line 10841 "configure"
10841 #include "confdefs.h"
10842 /* System header to define __stub macros and hopefully few prototypes,
10843 which can conflict with char $ac_func(); below. */
10844 #include <assert.h>
10845 /* Override any gcc2 internal prototype to avoid an error. */
10846 /* We use char because int might match the return type of a gcc2
10847 builtin and then its argument prototype would still apply. */
10852 /* The GNU C library defines this for functions which it implements
10853 to always fail with ENOSYS. Some functions are actually named
10854 something starting with __ and the normal name is an alias. */
10855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10863 if { (eval echo configure:10864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10865 eval "ac_cv_func_$ac_func=yes"
10867 echo "configure: failed program was:" >&5
10868 cat conftest.$ac_ext >&5
10870 eval "ac_cv_func_$ac_func=no"
10875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10876 echo "$ac_t""yes" 1>&6
10877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10878 cat >> confdefs.h <<EOF
10879 #define $ac_tr_func 1
10883 echo "$ac_t""no" 1>&6
10892 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
10893 echo "configure:10894: checking for qfpclass declaration" >&5
10894 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
10895 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
10896 echo $ac_n "(cached) $ac_c" 1>&6
10901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10902 ac_cpp='$CXXCPP $CPPFLAGS'
10903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10905 cross_compiling=$ac_cv_prog_cxx_cross
10907 cat > conftest.$ac_ext <<EOF
10908 #line 10909 "configure"
10909 #include "confdefs.h"
10911 #ifdef HAVE_IEEEFP_H
10912 #include <ieeefp.h>
10919 if { (eval echo configure:10920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10921 glibcpp_cv_func_qfpclass_use=yes
10923 echo "configure: failed program was:" >&5
10924 cat conftest.$ac_ext >&5
10926 glibcpp_cv_func_qfpclass_use=no
10930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10931 ac_cpp='$CPP $CPPFLAGS'
10932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10934 cross_compiling=$ac_cv_prog_cc_cross
10940 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
10942 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
10943 for ac_func in qfpclass
10945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10946 echo "configure:10947: checking for $ac_func" >&5
10947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10948 echo $ac_n "(cached) $ac_c" 1>&6
10950 cat > conftest.$ac_ext <<EOF
10951 #line 10952 "configure"
10952 #include "confdefs.h"
10953 /* System header to define __stub macros and hopefully few prototypes,
10954 which can conflict with char $ac_func(); below. */
10955 #include <assert.h>
10956 /* Override any gcc2 internal prototype to avoid an error. */
10957 /* We use char because int might match the return type of a gcc2
10958 builtin and then its argument prototype would still apply. */
10963 /* The GNU C library defines this for functions which it implements
10964 to always fail with ENOSYS. Some functions are actually named
10965 something starting with __ and the normal name is an alias. */
10966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10976 eval "ac_cv_func_$ac_func=yes"
10978 echo "configure: failed program was:" >&5
10979 cat conftest.$ac_ext >&5
10981 eval "ac_cv_func_$ac_func=no"
10986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10987 echo "$ac_t""yes" 1>&6
10988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10989 cat >> confdefs.h <<EOF
10990 #define $ac_tr_func 1
10994 echo "$ac_t""no" 1>&6
11000 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11001 echo "configure:11002: checking for _qfpclass declaration" >&5
11002 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11003 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11004 echo $ac_n "(cached) $ac_c" 1>&6
11009 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11010 ac_cpp='$CXXCPP $CPPFLAGS'
11011 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11012 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11013 cross_compiling=$ac_cv_prog_cxx_cross
11015 cat > conftest.$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11019 #ifdef HAVE_IEEEFP_H
11020 #include <ieeefp.h>
11027 if { (eval echo configure:11028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11029 glibcpp_cv_func__qfpclass_use=yes
11031 echo "configure: failed program was:" >&5
11032 cat conftest.$ac_ext >&5
11034 glibcpp_cv_func__qfpclass_use=no
11038 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11039 ac_cpp='$CPP $CPPFLAGS'
11040 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11041 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11042 cross_compiling=$ac_cv_prog_cc_cross
11048 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11050 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11051 for ac_func in _qfpclass
11053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11054 echo "configure:11055: checking for $ac_func" >&5
11055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11056 echo $ac_n "(cached) $ac_c" 1>&6
11058 cat > conftest.$ac_ext <<EOF
11059 #line 11060 "configure"
11060 #include "confdefs.h"
11061 /* System header to define __stub macros and hopefully few prototypes,
11062 which can conflict with char $ac_func(); below. */
11063 #include <assert.h>
11064 /* Override any gcc2 internal prototype to avoid an error. */
11065 /* We use char because int might match the return type of a gcc2
11066 builtin and then its argument prototype would still apply. */
11071 /* The GNU C library defines this for functions which it implements
11072 to always fail with ENOSYS. Some functions are actually named
11073 something starting with __ and the normal name is an alias. */
11074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11082 if { (eval echo configure:11083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11084 eval "ac_cv_func_$ac_func=yes"
11086 echo "configure: failed program was:" >&5
11087 cat conftest.$ac_ext >&5
11089 eval "ac_cv_func_$ac_func=no"
11094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11095 echo "$ac_t""yes" 1>&6
11096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11097 cat >> confdefs.h <<EOF
11098 #define $ac_tr_func 1
11102 echo "$ac_t""no" 1>&6
11111 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
11112 echo "configure:11113: checking for hypot declaration" >&5
11113 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
11114 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
11115 echo $ac_n "(cached) $ac_c" 1>&6
11120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11121 ac_cpp='$CXXCPP $CPPFLAGS'
11122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11124 cross_compiling=$ac_cv_prog_cxx_cross
11126 cat > conftest.$ac_ext <<EOF
11127 #line 11128 "configure"
11128 #include "confdefs.h"
11134 if { (eval echo configure:11135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11136 glibcpp_cv_func_hypot_use=yes
11138 echo "configure: failed program was:" >&5
11139 cat conftest.$ac_ext >&5
11141 glibcpp_cv_func_hypot_use=no
11145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11146 ac_cpp='$CPP $CPPFLAGS'
11147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11149 cross_compiling=$ac_cv_prog_cc_cross
11155 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
11157 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
11158 for ac_func in hypot
11160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11161 echo "configure:11162: checking for $ac_func" >&5
11162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11163 echo $ac_n "(cached) $ac_c" 1>&6
11165 cat > conftest.$ac_ext <<EOF
11166 #line 11167 "configure"
11167 #include "confdefs.h"
11168 /* System header to define __stub macros and hopefully few prototypes,
11169 which can conflict with char $ac_func(); below. */
11170 #include <assert.h>
11171 /* Override any gcc2 internal prototype to avoid an error. */
11172 /* We use char because int might match the return type of a gcc2
11173 builtin and then its argument prototype would still apply. */
11178 /* The GNU C library defines this for functions which it implements
11179 to always fail with ENOSYS. Some functions are actually named
11180 something starting with __ and the normal name is an alias. */
11181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11189 if { (eval echo configure:11190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11191 eval "ac_cv_func_$ac_func=yes"
11193 echo "configure: failed program was:" >&5
11194 cat conftest.$ac_ext >&5
11196 eval "ac_cv_func_$ac_func=no"
11201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11202 echo "$ac_t""yes" 1>&6
11203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11204 cat >> confdefs.h <<EOF
11205 #define $ac_tr_func 1
11209 echo "$ac_t""no" 1>&6
11215 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
11216 echo "configure:11217: checking for _hypot declaration" >&5
11217 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
11218 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
11219 echo $ac_n "(cached) $ac_c" 1>&6
11224 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11225 ac_cpp='$CXXCPP $CPPFLAGS'
11226 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11227 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11228 cross_compiling=$ac_cv_prog_cxx_cross
11230 cat > conftest.$ac_ext <<EOF
11231 #line 11232 "configure"
11232 #include "confdefs.h"
11238 if { (eval echo configure:11239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11240 glibcpp_cv_func__hypot_use=yes
11242 echo "configure: failed program was:" >&5
11243 cat conftest.$ac_ext >&5
11245 glibcpp_cv_func__hypot_use=no
11249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11250 ac_cpp='$CPP $CPPFLAGS'
11251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11253 cross_compiling=$ac_cv_prog_cc_cross
11259 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
11261 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
11262 for ac_func in _hypot
11264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11265 echo "configure:11266: checking for $ac_func" >&5
11266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11267 echo $ac_n "(cached) $ac_c" 1>&6
11269 cat > conftest.$ac_ext <<EOF
11270 #line 11271 "configure"
11271 #include "confdefs.h"
11272 /* System header to define __stub macros and hopefully few prototypes,
11273 which can conflict with char $ac_func(); below. */
11274 #include <assert.h>
11275 /* Override any gcc2 internal prototype to avoid an error. */
11276 /* We use char because int might match the return type of a gcc2
11277 builtin and then its argument prototype would still apply. */
11282 /* The GNU C library defines this for functions which it implements
11283 to always fail with ENOSYS. Some functions are actually named
11284 something starting with __ and the normal name is an alias. */
11285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11293 if { (eval echo configure:11294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11295 eval "ac_cv_func_$ac_func=yes"
11297 echo "configure: failed program was:" >&5
11298 cat conftest.$ac_ext >&5
11300 eval "ac_cv_func_$ac_func=no"
11305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11306 echo "$ac_t""yes" 1>&6
11307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11308 cat >> confdefs.h <<EOF
11309 #define $ac_tr_func 1
11313 echo "$ac_t""no" 1>&6
11322 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
11323 echo "configure:11324: checking for float trig functions" >&5
11324 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
11325 echo $ac_n "(cached) $ac_c" 1>&6
11330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11331 ac_cpp='$CXXCPP $CPPFLAGS'
11332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11334 cross_compiling=$ac_cv_prog_cxx_cross
11336 cat > conftest.$ac_ext <<EOF
11337 #line 11338 "configure"
11338 #include "confdefs.h"
11341 `for x in acosf asinf atanf \
11343 coshf sinhf tanhf; do echo "$x (0);"; done`
11346 if { (eval echo configure:11347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11348 glibcpp_cv_func_float_trig_use=yes
11350 echo "configure: failed program was:" >&5
11351 cat conftest.$ac_ext >&5
11353 glibcpp_cv_func_float_trig_use=no
11357 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11358 ac_cpp='$CPP $CPPFLAGS'
11359 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11360 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11361 cross_compiling=$ac_cv_prog_cc_cross
11365 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
11366 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
11367 for ac_func in acosf asinf atanf \
11371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11372 echo "configure:11373: checking for $ac_func" >&5
11373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11374 echo $ac_n "(cached) $ac_c" 1>&6
11376 cat > conftest.$ac_ext <<EOF
11377 #line 11378 "configure"
11378 #include "confdefs.h"
11379 /* System header to define __stub macros and hopefully few prototypes,
11380 which can conflict with char $ac_func(); below. */
11381 #include <assert.h>
11382 /* Override any gcc2 internal prototype to avoid an error. */
11383 /* We use char because int might match the return type of a gcc2
11384 builtin and then its argument prototype would still apply. */
11389 /* The GNU C library defines this for functions which it implements
11390 to always fail with ENOSYS. Some functions are actually named
11391 something starting with __ and the normal name is an alias. */
11392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11400 if { (eval echo configure:11401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11402 eval "ac_cv_func_$ac_func=yes"
11404 echo "configure: failed program was:" >&5
11405 cat conftest.$ac_ext >&5
11407 eval "ac_cv_func_$ac_func=no"
11412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11413 echo "$ac_t""yes" 1>&6
11414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11415 cat >> confdefs.h <<EOF
11416 #define $ac_tr_func 1
11420 echo "$ac_t""no" 1>&6
11427 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
11428 echo "configure:11429: checking for float round functions" >&5
11429 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
11430 echo $ac_n "(cached) $ac_c" 1>&6
11435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11436 ac_cpp='$CXXCPP $CPPFLAGS'
11437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11439 cross_compiling=$ac_cv_prog_cxx_cross
11441 cat > conftest.$ac_ext <<EOF
11442 #line 11443 "configure"
11443 #include "confdefs.h"
11446 `for x in ceilf floorf; do echo "$x (0);"; done`
11449 if { (eval echo configure:11450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11451 glibcpp_cv_func_float_round_use=yes
11453 echo "configure: failed program was:" >&5
11454 cat conftest.$ac_ext >&5
11456 glibcpp_cv_func_float_round_use=no
11460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11461 ac_cpp='$CPP $CPPFLAGS'
11462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11464 cross_compiling=$ac_cv_prog_cc_cross
11468 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11469 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11470 for ac_func in ceilf floorf
11472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11473 echo "configure:11474: checking for $ac_func" >&5
11474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11475 echo $ac_n "(cached) $ac_c" 1>&6
11477 cat > conftest.$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11480 /* System header to define __stub macros and hopefully few prototypes,
11481 which can conflict with char $ac_func(); below. */
11482 #include <assert.h>
11483 /* Override any gcc2 internal prototype to avoid an error. */
11484 /* We use char because int might match the return type of a gcc2
11485 builtin and then its argument prototype would still apply. */
11490 /* The GNU C library defines this for functions which it implements
11491 to always fail with ENOSYS. Some functions are actually named
11492 something starting with __ and the normal name is an alias. */
11493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11501 if { (eval echo configure:11502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11503 eval "ac_cv_func_$ac_func=yes"
11505 echo "configure: failed program was:" >&5
11506 cat conftest.$ac_ext >&5
11508 eval "ac_cv_func_$ac_func=no"
11513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11514 echo "$ac_t""yes" 1>&6
11515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11516 cat >> confdefs.h <<EOF
11517 #define $ac_tr_func 1
11521 echo "$ac_t""no" 1>&6
11529 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
11530 echo "configure:11531: checking for expf declaration" >&5
11531 if test x${glibcpp_cv_func_expf_use+set} != xset; then
11532 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
11533 echo $ac_n "(cached) $ac_c" 1>&6
11538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11539 ac_cpp='$CXXCPP $CPPFLAGS'
11540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11542 cross_compiling=$ac_cv_prog_cxx_cross
11544 cat > conftest.$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11548 #ifdef HAVE_IEEEFP_H
11549 #include <ieeefp.h>
11556 if { (eval echo configure:11557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11558 glibcpp_cv_func_expf_use=yes
11560 echo "configure: failed program was:" >&5
11561 cat conftest.$ac_ext >&5
11563 glibcpp_cv_func_expf_use=no
11567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11568 ac_cpp='$CPP $CPPFLAGS'
11569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11571 cross_compiling=$ac_cv_prog_cc_cross
11577 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
11579 if test x$glibcpp_cv_func_expf_use = x"yes"; then
11580 for ac_func in expf
11582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11583 echo "configure:11584: checking for $ac_func" >&5
11584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11585 echo $ac_n "(cached) $ac_c" 1>&6
11587 cat > conftest.$ac_ext <<EOF
11588 #line 11589 "configure"
11589 #include "confdefs.h"
11590 /* System header to define __stub macros and hopefully few prototypes,
11591 which can conflict with char $ac_func(); below. */
11592 #include <assert.h>
11593 /* Override any gcc2 internal prototype to avoid an error. */
11594 /* We use char because int might match the return type of a gcc2
11595 builtin and then its argument prototype would still apply. */
11600 /* The GNU C library defines this for functions which it implements
11601 to always fail with ENOSYS. Some functions are actually named
11602 something starting with __ and the normal name is an alias. */
11603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11611 if { (eval echo configure:11612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11613 eval "ac_cv_func_$ac_func=yes"
11615 echo "configure: failed program was:" >&5
11616 cat conftest.$ac_ext >&5
11618 eval "ac_cv_func_$ac_func=no"
11623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11624 echo "$ac_t""yes" 1>&6
11625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11626 cat >> confdefs.h <<EOF
11627 #define $ac_tr_func 1
11631 echo "$ac_t""no" 1>&6
11637 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
11638 echo "configure:11639: checking for _expf declaration" >&5
11639 if test x${glibcpp_cv_func__expf_use+set} != xset; then
11640 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
11641 echo $ac_n "(cached) $ac_c" 1>&6
11646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11647 ac_cpp='$CXXCPP $CPPFLAGS'
11648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11650 cross_compiling=$ac_cv_prog_cxx_cross
11652 cat > conftest.$ac_ext <<EOF
11653 #line 11654 "configure"
11654 #include "confdefs.h"
11656 #ifdef HAVE_IEEEFP_H
11657 #include <ieeefp.h>
11664 if { (eval echo configure:11665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11666 glibcpp_cv_func__expf_use=yes
11668 echo "configure: failed program was:" >&5
11669 cat conftest.$ac_ext >&5
11671 glibcpp_cv_func__expf_use=no
11675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11676 ac_cpp='$CPP $CPPFLAGS'
11677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11679 cross_compiling=$ac_cv_prog_cc_cross
11685 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
11687 if test x$glibcpp_cv_func__expf_use = x"yes"; then
11688 for ac_func in _expf
11690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11691 echo "configure:11692: checking for $ac_func" >&5
11692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11693 echo $ac_n "(cached) $ac_c" 1>&6
11695 cat > conftest.$ac_ext <<EOF
11696 #line 11697 "configure"
11697 #include "confdefs.h"
11698 /* System header to define __stub macros and hopefully few prototypes,
11699 which can conflict with char $ac_func(); below. */
11700 #include <assert.h>
11701 /* Override any gcc2 internal prototype to avoid an error. */
11702 /* We use char because int might match the return type of a gcc2
11703 builtin and then its argument prototype would still apply. */
11708 /* The GNU C library defines this for functions which it implements
11709 to always fail with ENOSYS. Some functions are actually named
11710 something starting with __ and the normal name is an alias. */
11711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11719 if { (eval echo configure:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11721 eval "ac_cv_func_$ac_func=yes"
11723 echo "configure: failed program was:" >&5
11724 cat conftest.$ac_ext >&5
11726 eval "ac_cv_func_$ac_func=no"
11731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11732 echo "$ac_t""yes" 1>&6
11733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11734 cat >> confdefs.h <<EOF
11735 #define $ac_tr_func 1
11739 echo "$ac_t""no" 1>&6
11748 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11749 echo "configure:11750: checking for isnanf declaration" >&5
11750 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11751 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11752 echo $ac_n "(cached) $ac_c" 1>&6
11757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11758 ac_cpp='$CXXCPP $CPPFLAGS'
11759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11761 cross_compiling=$ac_cv_prog_cxx_cross
11763 cat > conftest.$ac_ext <<EOF
11764 #line 11765 "configure"
11765 #include "confdefs.h"
11767 #ifdef HAVE_IEEEFP_H
11768 #include <ieeefp.h>
11775 if { (eval echo configure:11776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11777 glibcpp_cv_func_isnanf_use=yes
11779 echo "configure: failed program was:" >&5
11780 cat conftest.$ac_ext >&5
11782 glibcpp_cv_func_isnanf_use=no
11786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11787 ac_cpp='$CPP $CPPFLAGS'
11788 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11789 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11790 cross_compiling=$ac_cv_prog_cc_cross
11796 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11798 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11799 for ac_func in isnanf
11801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11802 echo "configure:11803: checking for $ac_func" >&5
11803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11804 echo $ac_n "(cached) $ac_c" 1>&6
11806 cat > conftest.$ac_ext <<EOF
11807 #line 11808 "configure"
11808 #include "confdefs.h"
11809 /* System header to define __stub macros and hopefully few prototypes,
11810 which can conflict with char $ac_func(); below. */
11811 #include <assert.h>
11812 /* Override any gcc2 internal prototype to avoid an error. */
11813 /* We use char because int might match the return type of a gcc2
11814 builtin and then its argument prototype would still apply. */
11819 /* The GNU C library defines this for functions which it implements
11820 to always fail with ENOSYS. Some functions are actually named
11821 something starting with __ and the normal name is an alias. */
11822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11830 if { (eval echo configure:11831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11832 eval "ac_cv_func_$ac_func=yes"
11834 echo "configure: failed program was:" >&5
11835 cat conftest.$ac_ext >&5
11837 eval "ac_cv_func_$ac_func=no"
11842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11843 echo "$ac_t""yes" 1>&6
11844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11845 cat >> confdefs.h <<EOF
11846 #define $ac_tr_func 1
11850 echo "$ac_t""no" 1>&6
11856 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11857 echo "configure:11858: checking for _isnanf declaration" >&5
11858 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11859 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11860 echo $ac_n "(cached) $ac_c" 1>&6
11865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11866 ac_cpp='$CXXCPP $CPPFLAGS'
11867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11869 cross_compiling=$ac_cv_prog_cxx_cross
11871 cat > conftest.$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11875 #ifdef HAVE_IEEEFP_H
11876 #include <ieeefp.h>
11883 if { (eval echo configure:11884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11885 glibcpp_cv_func__isnanf_use=yes
11887 echo "configure: failed program was:" >&5
11888 cat conftest.$ac_ext >&5
11890 glibcpp_cv_func__isnanf_use=no
11894 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11895 ac_cpp='$CPP $CPPFLAGS'
11896 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11897 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11898 cross_compiling=$ac_cv_prog_cc_cross
11904 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11906 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11907 for ac_func in _isnanf
11909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11910 echo "configure:11911: checking for $ac_func" >&5
11911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11912 echo $ac_n "(cached) $ac_c" 1>&6
11914 cat > conftest.$ac_ext <<EOF
11915 #line 11916 "configure"
11916 #include "confdefs.h"
11917 /* System header to define __stub macros and hopefully few prototypes,
11918 which can conflict with char $ac_func(); below. */
11919 #include <assert.h>
11920 /* Override any gcc2 internal prototype to avoid an error. */
11921 /* We use char because int might match the return type of a gcc2
11922 builtin and then its argument prototype would still apply. */
11927 /* The GNU C library defines this for functions which it implements
11928 to always fail with ENOSYS. Some functions are actually named
11929 something starting with __ and the normal name is an alias. */
11930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11938 if { (eval echo configure:11939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11940 eval "ac_cv_func_$ac_func=yes"
11942 echo "configure: failed program was:" >&5
11943 cat conftest.$ac_ext >&5
11945 eval "ac_cv_func_$ac_func=no"
11950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11951 echo "$ac_t""yes" 1>&6
11952 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11953 cat >> confdefs.h <<EOF
11954 #define $ac_tr_func 1
11958 echo "$ac_t""no" 1>&6
11967 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
11968 echo "configure:11969: checking for isinff declaration" >&5
11969 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
11970 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
11971 echo $ac_n "(cached) $ac_c" 1>&6
11976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11977 ac_cpp='$CXXCPP $CPPFLAGS'
11978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11980 cross_compiling=$ac_cv_prog_cxx_cross
11982 cat > conftest.$ac_ext <<EOF
11983 #line 11984 "configure"
11984 #include "confdefs.h"
11986 #ifdef HAVE_IEEEFP_H
11987 #include <ieeefp.h>
11994 if { (eval echo configure:11995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11996 glibcpp_cv_func_isinff_use=yes
11998 echo "configure: failed program was:" >&5
11999 cat conftest.$ac_ext >&5
12001 glibcpp_cv_func_isinff_use=no
12005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12006 ac_cpp='$CPP $CPPFLAGS'
12007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12009 cross_compiling=$ac_cv_prog_cc_cross
12015 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
12017 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
12018 for ac_func in isinff
12020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12021 echo "configure:12022: checking for $ac_func" >&5
12022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12023 echo $ac_n "(cached) $ac_c" 1>&6
12025 cat > conftest.$ac_ext <<EOF
12026 #line 12027 "configure"
12027 #include "confdefs.h"
12028 /* System header to define __stub macros and hopefully few prototypes,
12029 which can conflict with char $ac_func(); below. */
12030 #include <assert.h>
12031 /* Override any gcc2 internal prototype to avoid an error. */
12032 /* We use char because int might match the return type of a gcc2
12033 builtin and then its argument prototype would still apply. */
12038 /* The GNU C library defines this for functions which it implements
12039 to always fail with ENOSYS. Some functions are actually named
12040 something starting with __ and the normal name is an alias. */
12041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12049 if { (eval echo configure:12050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12051 eval "ac_cv_func_$ac_func=yes"
12053 echo "configure: failed program was:" >&5
12054 cat conftest.$ac_ext >&5
12056 eval "ac_cv_func_$ac_func=no"
12061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12062 echo "$ac_t""yes" 1>&6
12063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12064 cat >> confdefs.h <<EOF
12065 #define $ac_tr_func 1
12069 echo "$ac_t""no" 1>&6
12075 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
12076 echo "configure:12077: checking for _isinff declaration" >&5
12077 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
12078 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
12079 echo $ac_n "(cached) $ac_c" 1>&6
12084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12085 ac_cpp='$CXXCPP $CPPFLAGS'
12086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12088 cross_compiling=$ac_cv_prog_cxx_cross
12090 cat > conftest.$ac_ext <<EOF
12091 #line 12092 "configure"
12092 #include "confdefs.h"
12094 #ifdef HAVE_IEEEFP_H
12095 #include <ieeefp.h>
12102 if { (eval echo configure:12103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12104 glibcpp_cv_func__isinff_use=yes
12106 echo "configure: failed program was:" >&5
12107 cat conftest.$ac_ext >&5
12109 glibcpp_cv_func__isinff_use=no
12113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12114 ac_cpp='$CPP $CPPFLAGS'
12115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12117 cross_compiling=$ac_cv_prog_cc_cross
12123 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
12125 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
12126 for ac_func in _isinff
12128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12129 echo "configure:12130: checking for $ac_func" >&5
12130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12131 echo $ac_n "(cached) $ac_c" 1>&6
12133 cat > conftest.$ac_ext <<EOF
12134 #line 12135 "configure"
12135 #include "confdefs.h"
12136 /* System header to define __stub macros and hopefully few prototypes,
12137 which can conflict with char $ac_func(); below. */
12138 #include <assert.h>
12139 /* Override any gcc2 internal prototype to avoid an error. */
12140 /* We use char because int might match the return type of a gcc2
12141 builtin and then its argument prototype would still apply. */
12146 /* The GNU C library defines this for functions which it implements
12147 to always fail with ENOSYS. Some functions are actually named
12148 something starting with __ and the normal name is an alias. */
12149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12157 if { (eval echo configure:12158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12159 eval "ac_cv_func_$ac_func=yes"
12161 echo "configure: failed program was:" >&5
12162 cat conftest.$ac_ext >&5
12164 eval "ac_cv_func_$ac_func=no"
12169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12170 echo "$ac_t""yes" 1>&6
12171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12172 cat >> confdefs.h <<EOF
12173 #define $ac_tr_func 1
12177 echo "$ac_t""no" 1>&6
12186 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
12187 echo "configure:12188: checking for atan2f declaration" >&5
12188 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
12189 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
12190 echo $ac_n "(cached) $ac_c" 1>&6
12195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12196 ac_cpp='$CXXCPP $CPPFLAGS'
12197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12199 cross_compiling=$ac_cv_prog_cxx_cross
12201 cat > conftest.$ac_ext <<EOF
12202 #line 12203 "configure"
12203 #include "confdefs.h"
12209 if { (eval echo configure:12210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12211 glibcpp_cv_func_atan2f_use=yes
12213 echo "configure: failed program was:" >&5
12214 cat conftest.$ac_ext >&5
12216 glibcpp_cv_func_atan2f_use=no
12220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12221 ac_cpp='$CPP $CPPFLAGS'
12222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12224 cross_compiling=$ac_cv_prog_cc_cross
12230 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
12232 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
12233 for ac_func in atan2f
12235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12236 echo "configure:12237: checking for $ac_func" >&5
12237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12238 echo $ac_n "(cached) $ac_c" 1>&6
12240 cat > conftest.$ac_ext <<EOF
12241 #line 12242 "configure"
12242 #include "confdefs.h"
12243 /* System header to define __stub macros and hopefully few prototypes,
12244 which can conflict with char $ac_func(); below. */
12245 #include <assert.h>
12246 /* Override any gcc2 internal prototype to avoid an error. */
12247 /* We use char because int might match the return type of a gcc2
12248 builtin and then its argument prototype would still apply. */
12253 /* The GNU C library defines this for functions which it implements
12254 to always fail with ENOSYS. Some functions are actually named
12255 something starting with __ and the normal name is an alias. */
12256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12264 if { (eval echo configure:12265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12266 eval "ac_cv_func_$ac_func=yes"
12268 echo "configure: failed program was:" >&5
12269 cat conftest.$ac_ext >&5
12271 eval "ac_cv_func_$ac_func=no"
12276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12277 echo "$ac_t""yes" 1>&6
12278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12279 cat >> confdefs.h <<EOF
12280 #define $ac_tr_func 1
12284 echo "$ac_t""no" 1>&6
12290 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12291 echo "configure:12292: checking for _atan2f declaration" >&5
12292 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
12293 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12294 echo $ac_n "(cached) $ac_c" 1>&6
12299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12300 ac_cpp='$CXXCPP $CPPFLAGS'
12301 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12302 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12303 cross_compiling=$ac_cv_prog_cxx_cross
12305 cat > conftest.$ac_ext <<EOF
12306 #line 12307 "configure"
12307 #include "confdefs.h"
12313 if { (eval echo configure:12314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12315 glibcpp_cv_func__atan2f_use=yes
12317 echo "configure: failed program was:" >&5
12318 cat conftest.$ac_ext >&5
12320 glibcpp_cv_func__atan2f_use=no
12324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12325 ac_cpp='$CPP $CPPFLAGS'
12326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12328 cross_compiling=$ac_cv_prog_cc_cross
12334 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12336 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12337 for ac_func in _atan2f
12339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12340 echo "configure:12341: checking for $ac_func" >&5
12341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12342 echo $ac_n "(cached) $ac_c" 1>&6
12344 cat > conftest.$ac_ext <<EOF
12345 #line 12346 "configure"
12346 #include "confdefs.h"
12347 /* System header to define __stub macros and hopefully few prototypes,
12348 which can conflict with char $ac_func(); below. */
12349 #include <assert.h>
12350 /* Override any gcc2 internal prototype to avoid an error. */
12351 /* We use char because int might match the return type of a gcc2
12352 builtin and then its argument prototype would still apply. */
12357 /* The GNU C library defines this for functions which it implements
12358 to always fail with ENOSYS. Some functions are actually named
12359 something starting with __ and the normal name is an alias. */
12360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12368 if { (eval echo configure:12369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12370 eval "ac_cv_func_$ac_func=yes"
12372 echo "configure: failed program was:" >&5
12373 cat conftest.$ac_ext >&5
12375 eval "ac_cv_func_$ac_func=no"
12380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12381 echo "$ac_t""yes" 1>&6
12382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12383 cat >> confdefs.h <<EOF
12384 #define $ac_tr_func 1
12388 echo "$ac_t""no" 1>&6
12397 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
12398 echo "configure:12399: checking for fabsf declaration" >&5
12399 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
12400 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
12401 echo $ac_n "(cached) $ac_c" 1>&6
12406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12407 ac_cpp='$CXXCPP $CPPFLAGS'
12408 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12409 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12410 cross_compiling=$ac_cv_prog_cxx_cross
12412 cat > conftest.$ac_ext <<EOF
12413 #line 12414 "configure"
12414 #include "confdefs.h"
12416 #ifdef HAVE_IEEEFP_H
12417 #include <ieeefp.h>
12424 if { (eval echo configure:12425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12426 glibcpp_cv_func_fabsf_use=yes
12428 echo "configure: failed program was:" >&5
12429 cat conftest.$ac_ext >&5
12431 glibcpp_cv_func_fabsf_use=no
12435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12436 ac_cpp='$CPP $CPPFLAGS'
12437 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12438 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12439 cross_compiling=$ac_cv_prog_cc_cross
12445 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
12447 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
12448 for ac_func in fabsf
12450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12451 echo "configure:12452: checking for $ac_func" >&5
12452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12453 echo $ac_n "(cached) $ac_c" 1>&6
12455 cat > conftest.$ac_ext <<EOF
12456 #line 12457 "configure"
12457 #include "confdefs.h"
12458 /* System header to define __stub macros and hopefully few prototypes,
12459 which can conflict with char $ac_func(); below. */
12460 #include <assert.h>
12461 /* Override any gcc2 internal prototype to avoid an error. */
12462 /* We use char because int might match the return type of a gcc2
12463 builtin and then its argument prototype would still apply. */
12468 /* The GNU C library defines this for functions which it implements
12469 to always fail with ENOSYS. Some functions are actually named
12470 something starting with __ and the normal name is an alias. */
12471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12481 eval "ac_cv_func_$ac_func=yes"
12483 echo "configure: failed program was:" >&5
12484 cat conftest.$ac_ext >&5
12486 eval "ac_cv_func_$ac_func=no"
12491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12492 echo "$ac_t""yes" 1>&6
12493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12494 cat >> confdefs.h <<EOF
12495 #define $ac_tr_func 1
12499 echo "$ac_t""no" 1>&6
12505 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12506 echo "configure:12507: checking for _fabsf declaration" >&5
12507 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
12508 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12509 echo $ac_n "(cached) $ac_c" 1>&6
12514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12515 ac_cpp='$CXXCPP $CPPFLAGS'
12516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12518 cross_compiling=$ac_cv_prog_cxx_cross
12520 cat > conftest.$ac_ext <<EOF
12521 #line 12522 "configure"
12522 #include "confdefs.h"
12524 #ifdef HAVE_IEEEFP_H
12525 #include <ieeefp.h>
12532 if { (eval echo configure:12533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12534 glibcpp_cv_func__fabsf_use=yes
12536 echo "configure: failed program was:" >&5
12537 cat conftest.$ac_ext >&5
12539 glibcpp_cv_func__fabsf_use=no
12543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12544 ac_cpp='$CPP $CPPFLAGS'
12545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12547 cross_compiling=$ac_cv_prog_cc_cross
12553 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12555 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12556 for ac_func in _fabsf
12558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12559 echo "configure:12560: checking for $ac_func" >&5
12560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12561 echo $ac_n "(cached) $ac_c" 1>&6
12563 cat > conftest.$ac_ext <<EOF
12564 #line 12565 "configure"
12565 #include "confdefs.h"
12566 /* System header to define __stub macros and hopefully few prototypes,
12567 which can conflict with char $ac_func(); below. */
12568 #include <assert.h>
12569 /* Override any gcc2 internal prototype to avoid an error. */
12570 /* We use char because int might match the return type of a gcc2
12571 builtin and then its argument prototype would still apply. */
12576 /* The GNU C library defines this for functions which it implements
12577 to always fail with ENOSYS. Some functions are actually named
12578 something starting with __ and the normal name is an alias. */
12579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12587 if { (eval echo configure:12588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12589 eval "ac_cv_func_$ac_func=yes"
12591 echo "configure: failed program was:" >&5
12592 cat conftest.$ac_ext >&5
12594 eval "ac_cv_func_$ac_func=no"
12599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12600 echo "$ac_t""yes" 1>&6
12601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12602 cat >> confdefs.h <<EOF
12603 #define $ac_tr_func 1
12607 echo "$ac_t""no" 1>&6
12616 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
12617 echo "configure:12618: checking for fmodf declaration" >&5
12618 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
12619 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
12620 echo $ac_n "(cached) $ac_c" 1>&6
12625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12626 ac_cpp='$CXXCPP $CPPFLAGS'
12627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12629 cross_compiling=$ac_cv_prog_cxx_cross
12631 cat > conftest.$ac_ext <<EOF
12632 #line 12633 "configure"
12633 #include "confdefs.h"
12639 if { (eval echo configure:12640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12641 glibcpp_cv_func_fmodf_use=yes
12643 echo "configure: failed program was:" >&5
12644 cat conftest.$ac_ext >&5
12646 glibcpp_cv_func_fmodf_use=no
12650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12651 ac_cpp='$CPP $CPPFLAGS'
12652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12654 cross_compiling=$ac_cv_prog_cc_cross
12660 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
12662 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
12663 for ac_func in fmodf
12665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12666 echo "configure:12667: checking for $ac_func" >&5
12667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12668 echo $ac_n "(cached) $ac_c" 1>&6
12670 cat > conftest.$ac_ext <<EOF
12671 #line 12672 "configure"
12672 #include "confdefs.h"
12673 /* System header to define __stub macros and hopefully few prototypes,
12674 which can conflict with char $ac_func(); below. */
12675 #include <assert.h>
12676 /* Override any gcc2 internal prototype to avoid an error. */
12677 /* We use char because int might match the return type of a gcc2
12678 builtin and then its argument prototype would still apply. */
12683 /* The GNU C library defines this for functions which it implements
12684 to always fail with ENOSYS. Some functions are actually named
12685 something starting with __ and the normal name is an alias. */
12686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12694 if { (eval echo configure:12695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12696 eval "ac_cv_func_$ac_func=yes"
12698 echo "configure: failed program was:" >&5
12699 cat conftest.$ac_ext >&5
12701 eval "ac_cv_func_$ac_func=no"
12706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12707 echo "$ac_t""yes" 1>&6
12708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12709 cat >> confdefs.h <<EOF
12710 #define $ac_tr_func 1
12714 echo "$ac_t""no" 1>&6
12720 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12721 echo "configure:12722: checking for _fmodf declaration" >&5
12722 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12723 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12724 echo $ac_n "(cached) $ac_c" 1>&6
12729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12730 ac_cpp='$CXXCPP $CPPFLAGS'
12731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12733 cross_compiling=$ac_cv_prog_cxx_cross
12735 cat > conftest.$ac_ext <<EOF
12736 #line 12737 "configure"
12737 #include "confdefs.h"
12743 if { (eval echo configure:12744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12745 glibcpp_cv_func__fmodf_use=yes
12747 echo "configure: failed program was:" >&5
12748 cat conftest.$ac_ext >&5
12750 glibcpp_cv_func__fmodf_use=no
12754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12755 ac_cpp='$CPP $CPPFLAGS'
12756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12758 cross_compiling=$ac_cv_prog_cc_cross
12764 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12766 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12767 for ac_func in _fmodf
12769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12770 echo "configure:12771: checking for $ac_func" >&5
12771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12772 echo $ac_n "(cached) $ac_c" 1>&6
12774 cat > conftest.$ac_ext <<EOF
12775 #line 12776 "configure"
12776 #include "confdefs.h"
12777 /* System header to define __stub macros and hopefully few prototypes,
12778 which can conflict with char $ac_func(); below. */
12779 #include <assert.h>
12780 /* Override any gcc2 internal prototype to avoid an error. */
12781 /* We use char because int might match the return type of a gcc2
12782 builtin and then its argument prototype would still apply. */
12787 /* The GNU C library defines this for functions which it implements
12788 to always fail with ENOSYS. Some functions are actually named
12789 something starting with __ and the normal name is an alias. */
12790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12798 if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12800 eval "ac_cv_func_$ac_func=yes"
12802 echo "configure: failed program was:" >&5
12803 cat conftest.$ac_ext >&5
12805 eval "ac_cv_func_$ac_func=no"
12810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12811 echo "$ac_t""yes" 1>&6
12812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12813 cat >> confdefs.h <<EOF
12814 #define $ac_tr_func 1
12818 echo "$ac_t""no" 1>&6
12827 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
12828 echo "configure:12829: checking for frexpf declaration" >&5
12829 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
12830 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
12831 echo $ac_n "(cached) $ac_c" 1>&6
12836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12837 ac_cpp='$CXXCPP $CPPFLAGS'
12838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12840 cross_compiling=$ac_cv_prog_cxx_cross
12842 cat > conftest.$ac_ext <<EOF
12843 #line 12844 "configure"
12844 #include "confdefs.h"
12850 if { (eval echo configure:12851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12852 glibcpp_cv_func_frexpf_use=yes
12854 echo "configure: failed program was:" >&5
12855 cat conftest.$ac_ext >&5
12857 glibcpp_cv_func_frexpf_use=no
12861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12862 ac_cpp='$CPP $CPPFLAGS'
12863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12865 cross_compiling=$ac_cv_prog_cc_cross
12871 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
12873 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
12874 for ac_func in frexpf
12876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12877 echo "configure:12878: checking for $ac_func" >&5
12878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12879 echo $ac_n "(cached) $ac_c" 1>&6
12881 cat > conftest.$ac_ext <<EOF
12882 #line 12883 "configure"
12883 #include "confdefs.h"
12884 /* System header to define __stub macros and hopefully few prototypes,
12885 which can conflict with char $ac_func(); below. */
12886 #include <assert.h>
12887 /* Override any gcc2 internal prototype to avoid an error. */
12888 /* We use char because int might match the return type of a gcc2
12889 builtin and then its argument prototype would still apply. */
12894 /* The GNU C library defines this for functions which it implements
12895 to always fail with ENOSYS. Some functions are actually named
12896 something starting with __ and the normal name is an alias. */
12897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12905 if { (eval echo configure:12906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12907 eval "ac_cv_func_$ac_func=yes"
12909 echo "configure: failed program was:" >&5
12910 cat conftest.$ac_ext >&5
12912 eval "ac_cv_func_$ac_func=no"
12917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12918 echo "$ac_t""yes" 1>&6
12919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12920 cat >> confdefs.h <<EOF
12921 #define $ac_tr_func 1
12925 echo "$ac_t""no" 1>&6
12931 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12932 echo "configure:12933: checking for _frexpf declaration" >&5
12933 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
12934 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12935 echo $ac_n "(cached) $ac_c" 1>&6
12940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12941 ac_cpp='$CXXCPP $CPPFLAGS'
12942 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12943 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12944 cross_compiling=$ac_cv_prog_cxx_cross
12946 cat > conftest.$ac_ext <<EOF
12947 #line 12948 "configure"
12948 #include "confdefs.h"
12954 if { (eval echo configure:12955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12956 glibcpp_cv_func__frexpf_use=yes
12958 echo "configure: failed program was:" >&5
12959 cat conftest.$ac_ext >&5
12961 glibcpp_cv_func__frexpf_use=no
12965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12966 ac_cpp='$CPP $CPPFLAGS'
12967 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12968 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12969 cross_compiling=$ac_cv_prog_cc_cross
12975 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12977 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12978 for ac_func in _frexpf
12980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12981 echo "configure:12982: checking for $ac_func" >&5
12982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12983 echo $ac_n "(cached) $ac_c" 1>&6
12985 cat > conftest.$ac_ext <<EOF
12986 #line 12987 "configure"
12987 #include "confdefs.h"
12988 /* System header to define __stub macros and hopefully few prototypes,
12989 which can conflict with char $ac_func(); below. */
12990 #include <assert.h>
12991 /* Override any gcc2 internal prototype to avoid an error. */
12992 /* We use char because int might match the return type of a gcc2
12993 builtin and then its argument prototype would still apply. */
12998 /* The GNU C library defines this for functions which it implements
12999 to always fail with ENOSYS. Some functions are actually named
13000 something starting with __ and the normal name is an alias. */
13001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13009 if { (eval echo configure:13010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13011 eval "ac_cv_func_$ac_func=yes"
13013 echo "configure: failed program was:" >&5
13014 cat conftest.$ac_ext >&5
13016 eval "ac_cv_func_$ac_func=no"
13021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13022 echo "$ac_t""yes" 1>&6
13023 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13024 cat >> confdefs.h <<EOF
13025 #define $ac_tr_func 1
13029 echo "$ac_t""no" 1>&6
13038 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
13039 echo "configure:13040: checking for hypotf declaration" >&5
13040 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
13041 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
13042 echo $ac_n "(cached) $ac_c" 1>&6
13047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13048 ac_cpp='$CXXCPP $CPPFLAGS'
13049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13051 cross_compiling=$ac_cv_prog_cxx_cross
13053 cat > conftest.$ac_ext <<EOF
13054 #line 13055 "configure"
13055 #include "confdefs.h"
13061 if { (eval echo configure:13062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13063 glibcpp_cv_func_hypotf_use=yes
13065 echo "configure: failed program was:" >&5
13066 cat conftest.$ac_ext >&5
13068 glibcpp_cv_func_hypotf_use=no
13072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13073 ac_cpp='$CPP $CPPFLAGS'
13074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13076 cross_compiling=$ac_cv_prog_cc_cross
13082 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
13084 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
13085 for ac_func in hypotf
13087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13088 echo "configure:13089: checking for $ac_func" >&5
13089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13090 echo $ac_n "(cached) $ac_c" 1>&6
13092 cat > conftest.$ac_ext <<EOF
13093 #line 13094 "configure"
13094 #include "confdefs.h"
13095 /* System header to define __stub macros and hopefully few prototypes,
13096 which can conflict with char $ac_func(); below. */
13097 #include <assert.h>
13098 /* Override any gcc2 internal prototype to avoid an error. */
13099 /* We use char because int might match the return type of a gcc2
13100 builtin and then its argument prototype would still apply. */
13105 /* The GNU C library defines this for functions which it implements
13106 to always fail with ENOSYS. Some functions are actually named
13107 something starting with __ and the normal name is an alias. */
13108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13116 if { (eval echo configure:13117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13118 eval "ac_cv_func_$ac_func=yes"
13120 echo "configure: failed program was:" >&5
13121 cat conftest.$ac_ext >&5
13123 eval "ac_cv_func_$ac_func=no"
13128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13129 echo "$ac_t""yes" 1>&6
13130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13131 cat >> confdefs.h <<EOF
13132 #define $ac_tr_func 1
13136 echo "$ac_t""no" 1>&6
13142 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
13143 echo "configure:13144: checking for _hypotf declaration" >&5
13144 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
13145 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
13146 echo $ac_n "(cached) $ac_c" 1>&6
13151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13152 ac_cpp='$CXXCPP $CPPFLAGS'
13153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13155 cross_compiling=$ac_cv_prog_cxx_cross
13157 cat > conftest.$ac_ext <<EOF
13158 #line 13159 "configure"
13159 #include "confdefs.h"
13165 if { (eval echo configure:13166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13167 glibcpp_cv_func__hypotf_use=yes
13169 echo "configure: failed program was:" >&5
13170 cat conftest.$ac_ext >&5
13172 glibcpp_cv_func__hypotf_use=no
13176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13177 ac_cpp='$CPP $CPPFLAGS'
13178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13180 cross_compiling=$ac_cv_prog_cc_cross
13186 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
13188 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
13189 for ac_func in _hypotf
13191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_func" >&5
13193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 cat > conftest.$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char $ac_func(); below. */
13201 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */
13203 /* We use char because int might match the return type of a gcc2
13204 builtin and then its argument prototype would still apply. */
13209 /* The GNU C library defines this for functions which it implements
13210 to always fail with ENOSYS. Some functions are actually named
13211 something starting with __ and the normal name is an alias. */
13212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13220 if { (eval echo configure:13221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13222 eval "ac_cv_func_$ac_func=yes"
13224 echo "configure: failed program was:" >&5
13225 cat conftest.$ac_ext >&5
13227 eval "ac_cv_func_$ac_func=no"
13232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13233 echo "$ac_t""yes" 1>&6
13234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13235 cat >> confdefs.h <<EOF
13236 #define $ac_tr_func 1
13240 echo "$ac_t""no" 1>&6
13249 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
13250 echo "configure:13251: checking for ldexpf declaration" >&5
13251 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
13252 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
13253 echo $ac_n "(cached) $ac_c" 1>&6
13258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13259 ac_cpp='$CXXCPP $CPPFLAGS'
13260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13262 cross_compiling=$ac_cv_prog_cxx_cross
13264 cat > conftest.$ac_ext <<EOF
13265 #line 13266 "configure"
13266 #include "confdefs.h"
13272 if { (eval echo configure:13273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13274 glibcpp_cv_func_ldexpf_use=yes
13276 echo "configure: failed program was:" >&5
13277 cat conftest.$ac_ext >&5
13279 glibcpp_cv_func_ldexpf_use=no
13283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13284 ac_cpp='$CPP $CPPFLAGS'
13285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13287 cross_compiling=$ac_cv_prog_cc_cross
13293 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
13295 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
13296 for ac_func in ldexpf
13298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13299 echo "configure:13300: checking for $ac_func" >&5
13300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13301 echo $ac_n "(cached) $ac_c" 1>&6
13303 cat > conftest.$ac_ext <<EOF
13304 #line 13305 "configure"
13305 #include "confdefs.h"
13306 /* System header to define __stub macros and hopefully few prototypes,
13307 which can conflict with char $ac_func(); below. */
13308 #include <assert.h>
13309 /* Override any gcc2 internal prototype to avoid an error. */
13310 /* We use char because int might match the return type of a gcc2
13311 builtin and then its argument prototype would still apply. */
13316 /* The GNU C library defines this for functions which it implements
13317 to always fail with ENOSYS. Some functions are actually named
13318 something starting with __ and the normal name is an alias. */
13319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13327 if { (eval echo configure:13328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13329 eval "ac_cv_func_$ac_func=yes"
13331 echo "configure: failed program was:" >&5
13332 cat conftest.$ac_ext >&5
13334 eval "ac_cv_func_$ac_func=no"
13339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13340 echo "$ac_t""yes" 1>&6
13341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13342 cat >> confdefs.h <<EOF
13343 #define $ac_tr_func 1
13347 echo "$ac_t""no" 1>&6
13353 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13354 echo "configure:13355: checking for _ldexpf declaration" >&5
13355 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
13356 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13357 echo $ac_n "(cached) $ac_c" 1>&6
13362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13363 ac_cpp='$CXXCPP $CPPFLAGS'
13364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13366 cross_compiling=$ac_cv_prog_cxx_cross
13368 cat > conftest.$ac_ext <<EOF
13369 #line 13370 "configure"
13370 #include "confdefs.h"
13376 if { (eval echo configure:13377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13378 glibcpp_cv_func__ldexpf_use=yes
13380 echo "configure: failed program was:" >&5
13381 cat conftest.$ac_ext >&5
13383 glibcpp_cv_func__ldexpf_use=no
13387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13388 ac_cpp='$CPP $CPPFLAGS'
13389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13391 cross_compiling=$ac_cv_prog_cc_cross
13397 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13399 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13400 for ac_func in _ldexpf
13402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13403 echo "configure:13404: checking for $ac_func" >&5
13404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13405 echo $ac_n "(cached) $ac_c" 1>&6
13407 cat > conftest.$ac_ext <<EOF
13408 #line 13409 "configure"
13409 #include "confdefs.h"
13410 /* System header to define __stub macros and hopefully few prototypes,
13411 which can conflict with char $ac_func(); below. */
13412 #include <assert.h>
13413 /* Override any gcc2 internal prototype to avoid an error. */
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13431 if { (eval echo configure:13432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13433 eval "ac_cv_func_$ac_func=yes"
13435 echo "configure: failed program was:" >&5
13436 cat conftest.$ac_ext >&5
13438 eval "ac_cv_func_$ac_func=no"
13443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13444 echo "$ac_t""yes" 1>&6
13445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13446 cat >> confdefs.h <<EOF
13447 #define $ac_tr_func 1
13451 echo "$ac_t""no" 1>&6
13460 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
13461 echo "configure:13462: checking for logf declaration" >&5
13462 if test x${glibcpp_cv_func_logf_use+set} != xset; then
13463 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
13464 echo $ac_n "(cached) $ac_c" 1>&6
13469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13470 ac_cpp='$CXXCPP $CPPFLAGS'
13471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13473 cross_compiling=$ac_cv_prog_cxx_cross
13475 cat > conftest.$ac_ext <<EOF
13476 #line 13477 "configure"
13477 #include "confdefs.h"
13479 #ifdef HAVE_IEEEFP_H
13480 #include <ieeefp.h>
13487 if { (eval echo configure:13488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13489 glibcpp_cv_func_logf_use=yes
13491 echo "configure: failed program was:" >&5
13492 cat conftest.$ac_ext >&5
13494 glibcpp_cv_func_logf_use=no
13498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13502 cross_compiling=$ac_cv_prog_cc_cross
13508 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
13510 if test x$glibcpp_cv_func_logf_use = x"yes"; then
13511 for ac_func in logf
13513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13514 echo "configure:13515: checking for $ac_func" >&5
13515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13516 echo $ac_n "(cached) $ac_c" 1>&6
13518 cat > conftest.$ac_ext <<EOF
13519 #line 13520 "configure"
13520 #include "confdefs.h"
13521 /* System header to define __stub macros and hopefully few prototypes,
13522 which can conflict with char $ac_func(); below. */
13523 #include <assert.h>
13524 /* Override any gcc2 internal prototype to avoid an error. */
13525 /* We use char because int might match the return type of a gcc2
13526 builtin and then its argument prototype would still apply. */
13531 /* The GNU C library defines this for functions which it implements
13532 to always fail with ENOSYS. Some functions are actually named
13533 something starting with __ and the normal name is an alias. */
13534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13542 if { (eval echo configure:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13544 eval "ac_cv_func_$ac_func=yes"
13546 echo "configure: failed program was:" >&5
13547 cat conftest.$ac_ext >&5
13549 eval "ac_cv_func_$ac_func=no"
13554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13555 echo "$ac_t""yes" 1>&6
13556 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13557 cat >> confdefs.h <<EOF
13558 #define $ac_tr_func 1
13562 echo "$ac_t""no" 1>&6
13568 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13569 echo "configure:13570: checking for _logf declaration" >&5
13570 if test x${glibcpp_cv_func__logf_use+set} != xset; then
13571 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13572 echo $ac_n "(cached) $ac_c" 1>&6
13577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13578 ac_cpp='$CXXCPP $CPPFLAGS'
13579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13581 cross_compiling=$ac_cv_prog_cxx_cross
13583 cat > conftest.$ac_ext <<EOF
13584 #line 13585 "configure"
13585 #include "confdefs.h"
13587 #ifdef HAVE_IEEEFP_H
13588 #include <ieeefp.h>
13595 if { (eval echo configure:13596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13597 glibcpp_cv_func__logf_use=yes
13599 echo "configure: failed program was:" >&5
13600 cat conftest.$ac_ext >&5
13602 glibcpp_cv_func__logf_use=no
13606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13607 ac_cpp='$CPP $CPPFLAGS'
13608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13610 cross_compiling=$ac_cv_prog_cc_cross
13616 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13618 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13619 for ac_func in _logf
13621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13622 echo "configure:13623: checking for $ac_func" >&5
13623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13624 echo $ac_n "(cached) $ac_c" 1>&6
13626 cat > conftest.$ac_ext <<EOF
13627 #line 13628 "configure"
13628 #include "confdefs.h"
13629 /* System header to define __stub macros and hopefully few prototypes,
13630 which can conflict with char $ac_func(); below. */
13631 #include <assert.h>
13632 /* Override any gcc2 internal prototype to avoid an error. */
13633 /* We use char because int might match the return type of a gcc2
13634 builtin and then its argument prototype would still apply. */
13639 /* The GNU C library defines this for functions which it implements
13640 to always fail with ENOSYS. Some functions are actually named
13641 something starting with __ and the normal name is an alias. */
13642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13650 if { (eval echo configure:13651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13652 eval "ac_cv_func_$ac_func=yes"
13654 echo "configure: failed program was:" >&5
13655 cat conftest.$ac_ext >&5
13657 eval "ac_cv_func_$ac_func=no"
13662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13663 echo "$ac_t""yes" 1>&6
13664 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13665 cat >> confdefs.h <<EOF
13666 #define $ac_tr_func 1
13670 echo "$ac_t""no" 1>&6
13679 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
13680 echo "configure:13681: checking for log10f declaration" >&5
13681 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13682 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13683 echo $ac_n "(cached) $ac_c" 1>&6
13688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13689 ac_cpp='$CXXCPP $CPPFLAGS'
13690 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13691 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13692 cross_compiling=$ac_cv_prog_cxx_cross
13694 cat > conftest.$ac_ext <<EOF
13695 #line 13696 "configure"
13696 #include "confdefs.h"
13698 #ifdef HAVE_IEEEFP_H
13699 #include <ieeefp.h>
13706 if { (eval echo configure:13707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13708 glibcpp_cv_func_log10f_use=yes
13710 echo "configure: failed program was:" >&5
13711 cat conftest.$ac_ext >&5
13713 glibcpp_cv_func_log10f_use=no
13717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13718 ac_cpp='$CPP $CPPFLAGS'
13719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13721 cross_compiling=$ac_cv_prog_cc_cross
13727 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13729 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13730 for ac_func in log10f
13732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13733 echo "configure:13734: checking for $ac_func" >&5
13734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13735 echo $ac_n "(cached) $ac_c" 1>&6
13737 cat > conftest.$ac_ext <<EOF
13738 #line 13739 "configure"
13739 #include "confdefs.h"
13740 /* System header to define __stub macros and hopefully few prototypes,
13741 which can conflict with char $ac_func(); below. */
13742 #include <assert.h>
13743 /* Override any gcc2 internal prototype to avoid an error. */
13744 /* We use char because int might match the return type of a gcc2
13745 builtin and then its argument prototype would still apply. */
13750 /* The GNU C library defines this for functions which it implements
13751 to always fail with ENOSYS. Some functions are actually named
13752 something starting with __ and the normal name is an alias. */
13753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13761 if { (eval echo configure:13762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13763 eval "ac_cv_func_$ac_func=yes"
13765 echo "configure: failed program was:" >&5
13766 cat conftest.$ac_ext >&5
13768 eval "ac_cv_func_$ac_func=no"
13773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13774 echo "$ac_t""yes" 1>&6
13775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13776 cat >> confdefs.h <<EOF
13777 #define $ac_tr_func 1
13781 echo "$ac_t""no" 1>&6
13787 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13788 echo "configure:13789: checking for _log10f declaration" >&5
13789 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13790 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13791 echo $ac_n "(cached) $ac_c" 1>&6
13796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13797 ac_cpp='$CXXCPP $CPPFLAGS'
13798 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13799 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13800 cross_compiling=$ac_cv_prog_cxx_cross
13802 cat > conftest.$ac_ext <<EOF
13803 #line 13804 "configure"
13804 #include "confdefs.h"
13806 #ifdef HAVE_IEEEFP_H
13807 #include <ieeefp.h>
13814 if { (eval echo configure:13815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13816 glibcpp_cv_func__log10f_use=yes
13818 echo "configure: failed program was:" >&5
13819 cat conftest.$ac_ext >&5
13821 glibcpp_cv_func__log10f_use=no
13825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13826 ac_cpp='$CPP $CPPFLAGS'
13827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13829 cross_compiling=$ac_cv_prog_cc_cross
13835 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13837 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13838 for ac_func in _log10f
13840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13841 echo "configure:13842: checking for $ac_func" >&5
13842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13843 echo $ac_n "(cached) $ac_c" 1>&6
13845 cat > conftest.$ac_ext <<EOF
13846 #line 13847 "configure"
13847 #include "confdefs.h"
13848 /* System header to define __stub macros and hopefully few prototypes,
13849 which can conflict with char $ac_func(); below. */
13850 #include <assert.h>
13851 /* Override any gcc2 internal prototype to avoid an error. */
13852 /* We use char because int might match the return type of a gcc2
13853 builtin and then its argument prototype would still apply. */
13858 /* The GNU C library defines this for functions which it implements
13859 to always fail with ENOSYS. Some functions are actually named
13860 something starting with __ and the normal name is an alias. */
13861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13871 eval "ac_cv_func_$ac_func=yes"
13873 echo "configure: failed program was:" >&5
13874 cat conftest.$ac_ext >&5
13876 eval "ac_cv_func_$ac_func=no"
13881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13882 echo "$ac_t""yes" 1>&6
13883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13884 cat >> confdefs.h <<EOF
13885 #define $ac_tr_func 1
13889 echo "$ac_t""no" 1>&6
13898 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
13899 echo "configure:13900: checking for modff declaration" >&5
13900 if test x${glibcpp_cv_func_modff_use+set} != xset; then
13901 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
13902 echo $ac_n "(cached) $ac_c" 1>&6
13907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13908 ac_cpp='$CXXCPP $CPPFLAGS'
13909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13911 cross_compiling=$ac_cv_prog_cxx_cross
13913 cat > conftest.$ac_ext <<EOF
13914 #line 13915 "configure"
13915 #include "confdefs.h"
13921 if { (eval echo configure:13922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13923 glibcpp_cv_func_modff_use=yes
13925 echo "configure: failed program was:" >&5
13926 cat conftest.$ac_ext >&5
13928 glibcpp_cv_func_modff_use=no
13932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13936 cross_compiling=$ac_cv_prog_cc_cross
13942 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
13944 if test x$glibcpp_cv_func_modff_use = x"yes"; then
13945 for ac_func in modff
13947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13948 echo "configure:13949: checking for $ac_func" >&5
13949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13950 echo $ac_n "(cached) $ac_c" 1>&6
13952 cat > conftest.$ac_ext <<EOF
13953 #line 13954 "configure"
13954 #include "confdefs.h"
13955 /* System header to define __stub macros and hopefully few prototypes,
13956 which can conflict with char $ac_func(); below. */
13957 #include <assert.h>
13958 /* Override any gcc2 internal prototype to avoid an error. */
13959 /* We use char because int might match the return type of a gcc2
13960 builtin and then its argument prototype would still apply. */
13965 /* The GNU C library defines this for functions which it implements
13966 to always fail with ENOSYS. Some functions are actually named
13967 something starting with __ and the normal name is an alias. */
13968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13976 if { (eval echo configure:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13978 eval "ac_cv_func_$ac_func=yes"
13980 echo "configure: failed program was:" >&5
13981 cat conftest.$ac_ext >&5
13983 eval "ac_cv_func_$ac_func=no"
13988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13989 echo "$ac_t""yes" 1>&6
13990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13991 cat >> confdefs.h <<EOF
13992 #define $ac_tr_func 1
13996 echo "$ac_t""no" 1>&6
14002 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
14003 echo "configure:14004: checking for _modff declaration" >&5
14004 if test x${glibcpp_cv_func__modff_use+set} != xset; then
14005 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
14006 echo $ac_n "(cached) $ac_c" 1>&6
14011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14012 ac_cpp='$CXXCPP $CPPFLAGS'
14013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14015 cross_compiling=$ac_cv_prog_cxx_cross
14017 cat > conftest.$ac_ext <<EOF
14018 #line 14019 "configure"
14019 #include "confdefs.h"
14025 if { (eval echo configure:14026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14027 glibcpp_cv_func__modff_use=yes
14029 echo "configure: failed program was:" >&5
14030 cat conftest.$ac_ext >&5
14032 glibcpp_cv_func__modff_use=no
14036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14037 ac_cpp='$CPP $CPPFLAGS'
14038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14040 cross_compiling=$ac_cv_prog_cc_cross
14046 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
14048 if test x$glibcpp_cv_func__modff_use = x"yes"; then
14049 for ac_func in _modff
14051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14052 echo "configure:14053: checking for $ac_func" >&5
14053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14054 echo $ac_n "(cached) $ac_c" 1>&6
14056 cat > conftest.$ac_ext <<EOF
14057 #line 14058 "configure"
14058 #include "confdefs.h"
14059 /* System header to define __stub macros and hopefully few prototypes,
14060 which can conflict with char $ac_func(); below. */
14061 #include <assert.h>
14062 /* Override any gcc2 internal prototype to avoid an error. */
14063 /* We use char because int might match the return type of a gcc2
14064 builtin and then its argument prototype would still apply. */
14069 /* The GNU C library defines this for functions which it implements
14070 to always fail with ENOSYS. Some functions are actually named
14071 something starting with __ and the normal name is an alias. */
14072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14080 if { (eval echo configure:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14082 eval "ac_cv_func_$ac_func=yes"
14084 echo "configure: failed program was:" >&5
14085 cat conftest.$ac_ext >&5
14087 eval "ac_cv_func_$ac_func=no"
14092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14093 echo "$ac_t""yes" 1>&6
14094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14095 cat >> confdefs.h <<EOF
14096 #define $ac_tr_func 1
14100 echo "$ac_t""no" 1>&6
14109 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
14110 echo "configure:14111: checking for powf declaration" >&5
14111 if test x${glibcpp_cv_func_powf_use+set} != xset; then
14112 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
14113 echo $ac_n "(cached) $ac_c" 1>&6
14118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14119 ac_cpp='$CXXCPP $CPPFLAGS'
14120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14122 cross_compiling=$ac_cv_prog_cxx_cross
14124 cat > conftest.$ac_ext <<EOF
14125 #line 14126 "configure"
14126 #include "confdefs.h"
14132 if { (eval echo configure:14133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14134 glibcpp_cv_func_powf_use=yes
14136 echo "configure: failed program was:" >&5
14137 cat conftest.$ac_ext >&5
14139 glibcpp_cv_func_powf_use=no
14143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14144 ac_cpp='$CPP $CPPFLAGS'
14145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14147 cross_compiling=$ac_cv_prog_cc_cross
14153 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
14155 if test x$glibcpp_cv_func_powf_use = x"yes"; then
14156 for ac_func in powf
14158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14159 echo "configure:14160: checking for $ac_func" >&5
14160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14161 echo $ac_n "(cached) $ac_c" 1>&6
14163 cat > conftest.$ac_ext <<EOF
14164 #line 14165 "configure"
14165 #include "confdefs.h"
14166 /* System header to define __stub macros and hopefully few prototypes,
14167 which can conflict with char $ac_func(); below. */
14168 #include <assert.h>
14169 /* Override any gcc2 internal prototype to avoid an error. */
14170 /* We use char because int might match the return type of a gcc2
14171 builtin and then its argument prototype would still apply. */
14176 /* The GNU C library defines this for functions which it implements
14177 to always fail with ENOSYS. Some functions are actually named
14178 something starting with __ and the normal name is an alias. */
14179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14187 if { (eval echo configure:14188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14189 eval "ac_cv_func_$ac_func=yes"
14191 echo "configure: failed program was:" >&5
14192 cat conftest.$ac_ext >&5
14194 eval "ac_cv_func_$ac_func=no"
14199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14200 echo "$ac_t""yes" 1>&6
14201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14202 cat >> confdefs.h <<EOF
14203 #define $ac_tr_func 1
14207 echo "$ac_t""no" 1>&6
14213 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
14214 echo "configure:14215: checking for _powf declaration" >&5
14215 if test x${glibcpp_cv_func__powf_use+set} != xset; then
14216 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
14217 echo $ac_n "(cached) $ac_c" 1>&6
14222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14223 ac_cpp='$CXXCPP $CPPFLAGS'
14224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14226 cross_compiling=$ac_cv_prog_cxx_cross
14228 cat > conftest.$ac_ext <<EOF
14229 #line 14230 "configure"
14230 #include "confdefs.h"
14236 if { (eval echo configure:14237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14238 glibcpp_cv_func__powf_use=yes
14240 echo "configure: failed program was:" >&5
14241 cat conftest.$ac_ext >&5
14243 glibcpp_cv_func__powf_use=no
14247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14248 ac_cpp='$CPP $CPPFLAGS'
14249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14251 cross_compiling=$ac_cv_prog_cc_cross
14257 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
14259 if test x$glibcpp_cv_func__powf_use = x"yes"; then
14260 for ac_func in _powf
14262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14263 echo "configure:14264: checking for $ac_func" >&5
14264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14267 cat > conftest.$ac_ext <<EOF
14268 #line 14269 "configure"
14269 #include "confdefs.h"
14270 /* System header to define __stub macros and hopefully few prototypes,
14271 which can conflict with char $ac_func(); below. */
14272 #include <assert.h>
14273 /* Override any gcc2 internal prototype to avoid an error. */
14274 /* We use char because int might match the return type of a gcc2
14275 builtin and then its argument prototype would still apply. */
14280 /* The GNU C library defines this for functions which it implements
14281 to always fail with ENOSYS. Some functions are actually named
14282 something starting with __ and the normal name is an alias. */
14283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14291 if { (eval echo configure:14292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14293 eval "ac_cv_func_$ac_func=yes"
14295 echo "configure: failed program was:" >&5
14296 cat conftest.$ac_ext >&5
14298 eval "ac_cv_func_$ac_func=no"
14303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14304 echo "$ac_t""yes" 1>&6
14305 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14306 cat >> confdefs.h <<EOF
14307 #define $ac_tr_func 1
14311 echo "$ac_t""no" 1>&6
14320 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
14321 echo "configure:14322: checking for sqrtf declaration" >&5
14322 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
14323 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
14324 echo $ac_n "(cached) $ac_c" 1>&6
14329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14330 ac_cpp='$CXXCPP $CPPFLAGS'
14331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14333 cross_compiling=$ac_cv_prog_cxx_cross
14335 cat > conftest.$ac_ext <<EOF
14336 #line 14337 "configure"
14337 #include "confdefs.h"
14339 #ifdef HAVE_IEEEFP_H
14340 #include <ieeefp.h>
14347 if { (eval echo configure:14348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14349 glibcpp_cv_func_sqrtf_use=yes
14351 echo "configure: failed program was:" >&5
14352 cat conftest.$ac_ext >&5
14354 glibcpp_cv_func_sqrtf_use=no
14358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14359 ac_cpp='$CPP $CPPFLAGS'
14360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14362 cross_compiling=$ac_cv_prog_cc_cross
14368 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
14370 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
14371 for ac_func in sqrtf
14373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14374 echo "configure:14375: checking for $ac_func" >&5
14375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14376 echo $ac_n "(cached) $ac_c" 1>&6
14378 cat > conftest.$ac_ext <<EOF
14379 #line 14380 "configure"
14380 #include "confdefs.h"
14381 /* System header to define __stub macros and hopefully few prototypes,
14382 which can conflict with char $ac_func(); below. */
14383 #include <assert.h>
14384 /* Override any gcc2 internal prototype to avoid an error. */
14385 /* We use char because int might match the return type of a gcc2
14386 builtin and then its argument prototype would still apply. */
14391 /* The GNU C library defines this for functions which it implements
14392 to always fail with ENOSYS. Some functions are actually named
14393 something starting with __ and the normal name is an alias. */
14394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14402 if { (eval echo configure:14403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14404 eval "ac_cv_func_$ac_func=yes"
14406 echo "configure: failed program was:" >&5
14407 cat conftest.$ac_ext >&5
14409 eval "ac_cv_func_$ac_func=no"
14414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14415 echo "$ac_t""yes" 1>&6
14416 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14417 cat >> confdefs.h <<EOF
14418 #define $ac_tr_func 1
14422 echo "$ac_t""no" 1>&6
14428 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
14429 echo "configure:14430: checking for _sqrtf declaration" >&5
14430 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
14431 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14432 echo $ac_n "(cached) $ac_c" 1>&6
14437 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14438 ac_cpp='$CXXCPP $CPPFLAGS'
14439 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14440 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14441 cross_compiling=$ac_cv_prog_cxx_cross
14443 cat > conftest.$ac_ext <<EOF
14444 #line 14445 "configure"
14445 #include "confdefs.h"
14447 #ifdef HAVE_IEEEFP_H
14448 #include <ieeefp.h>
14455 if { (eval echo configure:14456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14457 glibcpp_cv_func__sqrtf_use=yes
14459 echo "configure: failed program was:" >&5
14460 cat conftest.$ac_ext >&5
14462 glibcpp_cv_func__sqrtf_use=no
14466 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14467 ac_cpp='$CPP $CPPFLAGS'
14468 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14469 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14470 cross_compiling=$ac_cv_prog_cc_cross
14476 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14478 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14479 for ac_func in _sqrtf
14481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14482 echo "configure:14483: checking for $ac_func" >&5
14483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14484 echo $ac_n "(cached) $ac_c" 1>&6
14486 cat > conftest.$ac_ext <<EOF
14487 #line 14488 "configure"
14488 #include "confdefs.h"
14489 /* System header to define __stub macros and hopefully few prototypes,
14490 which can conflict with char $ac_func(); below. */
14491 #include <assert.h>
14492 /* Override any gcc2 internal prototype to avoid an error. */
14493 /* We use char because int might match the return type of a gcc2
14494 builtin and then its argument prototype would still apply. */
14499 /* The GNU C library defines this for functions which it implements
14500 to always fail with ENOSYS. Some functions are actually named
14501 something starting with __ and the normal name is an alias. */
14502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14510 if { (eval echo configure:14511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14512 eval "ac_cv_func_$ac_func=yes"
14514 echo "configure: failed program was:" >&5
14515 cat conftest.$ac_ext >&5
14517 eval "ac_cv_func_$ac_func=no"
14522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14523 echo "$ac_t""yes" 1>&6
14524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14525 cat >> confdefs.h <<EOF
14526 #define $ac_tr_func 1
14530 echo "$ac_t""no" 1>&6
14539 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
14540 echo "configure:14541: checking for sincosf declaration" >&5
14541 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
14542 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
14543 echo $ac_n "(cached) $ac_c" 1>&6
14548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14549 ac_cpp='$CXXCPP $CPPFLAGS'
14550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14552 cross_compiling=$ac_cv_prog_cxx_cross
14554 cat > conftest.$ac_ext <<EOF
14555 #line 14556 "configure"
14556 #include "confdefs.h"
14562 if { (eval echo configure:14563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14564 glibcpp_cv_func_sincosf_use=yes
14566 echo "configure: failed program was:" >&5
14567 cat conftest.$ac_ext >&5
14569 glibcpp_cv_func_sincosf_use=no
14573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14574 ac_cpp='$CPP $CPPFLAGS'
14575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14577 cross_compiling=$ac_cv_prog_cc_cross
14583 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
14585 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
14586 for ac_func in sincosf
14588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14589 echo "configure:14590: checking for $ac_func" >&5
14590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14591 echo $ac_n "(cached) $ac_c" 1>&6
14593 cat > conftest.$ac_ext <<EOF
14594 #line 14595 "configure"
14595 #include "confdefs.h"
14596 /* System header to define __stub macros and hopefully few prototypes,
14597 which can conflict with char $ac_func(); below. */
14598 #include <assert.h>
14599 /* Override any gcc2 internal prototype to avoid an error. */
14600 /* We use char because int might match the return type of a gcc2
14601 builtin and then its argument prototype would still apply. */
14606 /* The GNU C library defines this for functions which it implements
14607 to always fail with ENOSYS. Some functions are actually named
14608 something starting with __ and the normal name is an alias. */
14609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14617 if { (eval echo configure:14618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14619 eval "ac_cv_func_$ac_func=yes"
14621 echo "configure: failed program was:" >&5
14622 cat conftest.$ac_ext >&5
14624 eval "ac_cv_func_$ac_func=no"
14629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14630 echo "$ac_t""yes" 1>&6
14631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14632 cat >> confdefs.h <<EOF
14633 #define $ac_tr_func 1
14637 echo "$ac_t""no" 1>&6
14643 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14644 echo "configure:14645: checking for _sincosf declaration" >&5
14645 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
14646 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14647 echo $ac_n "(cached) $ac_c" 1>&6
14652 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14653 ac_cpp='$CXXCPP $CPPFLAGS'
14654 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14655 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14656 cross_compiling=$ac_cv_prog_cxx_cross
14658 cat > conftest.$ac_ext <<EOF
14659 #line 14660 "configure"
14660 #include "confdefs.h"
14666 if { (eval echo configure:14667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14668 glibcpp_cv_func__sincosf_use=yes
14670 echo "configure: failed program was:" >&5
14671 cat conftest.$ac_ext >&5
14673 glibcpp_cv_func__sincosf_use=no
14677 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14678 ac_cpp='$CPP $CPPFLAGS'
14679 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14680 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14681 cross_compiling=$ac_cv_prog_cc_cross
14687 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14689 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14690 for ac_func in _sincosf
14692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14693 echo "configure:14694: checking for $ac_func" >&5
14694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14695 echo $ac_n "(cached) $ac_c" 1>&6
14697 cat > conftest.$ac_ext <<EOF
14698 #line 14699 "configure"
14699 #include "confdefs.h"
14700 /* System header to define __stub macros and hopefully few prototypes,
14701 which can conflict with char $ac_func(); below. */
14702 #include <assert.h>
14703 /* Override any gcc2 internal prototype to avoid an error. */
14704 /* We use char because int might match the return type of a gcc2
14705 builtin and then its argument prototype would still apply. */
14710 /* The GNU C library defines this for functions which it implements
14711 to always fail with ENOSYS. Some functions are actually named
14712 something starting with __ and the normal name is an alias. */
14713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14721 if { (eval echo configure:14722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14723 eval "ac_cv_func_$ac_func=yes"
14725 echo "configure: failed program was:" >&5
14726 cat conftest.$ac_ext >&5
14728 eval "ac_cv_func_$ac_func=no"
14733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14734 echo "$ac_t""yes" 1>&6
14735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14736 cat >> confdefs.h <<EOF
14737 #define $ac_tr_func 1
14741 echo "$ac_t""no" 1>&6
14750 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14751 echo "configure:14752: checking for finitef declaration" >&5
14752 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14753 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14754 echo $ac_n "(cached) $ac_c" 1>&6
14759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14760 ac_cpp='$CXXCPP $CPPFLAGS'
14761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14763 cross_compiling=$ac_cv_prog_cxx_cross
14765 cat > conftest.$ac_ext <<EOF
14766 #line 14767 "configure"
14767 #include "confdefs.h"
14769 #ifdef HAVE_IEEEFP_H
14770 #include <ieeefp.h>
14777 if { (eval echo configure:14778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14779 glibcpp_cv_func_finitef_use=yes
14781 echo "configure: failed program was:" >&5
14782 cat conftest.$ac_ext >&5
14784 glibcpp_cv_func_finitef_use=no
14788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14789 ac_cpp='$CPP $CPPFLAGS'
14790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14792 cross_compiling=$ac_cv_prog_cc_cross
14798 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14800 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14801 for ac_func in finitef
14803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14804 echo "configure:14805: checking for $ac_func" >&5
14805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14806 echo $ac_n "(cached) $ac_c" 1>&6
14808 cat > conftest.$ac_ext <<EOF
14809 #line 14810 "configure"
14810 #include "confdefs.h"
14811 /* System header to define __stub macros and hopefully few prototypes,
14812 which can conflict with char $ac_func(); below. */
14813 #include <assert.h>
14814 /* Override any gcc2 internal prototype to avoid an error. */
14815 /* We use char because int might match the return type of a gcc2
14816 builtin and then its argument prototype would still apply. */
14821 /* The GNU C library defines this for functions which it implements
14822 to always fail with ENOSYS. Some functions are actually named
14823 something starting with __ and the normal name is an alias. */
14824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14832 if { (eval echo configure:14833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14834 eval "ac_cv_func_$ac_func=yes"
14836 echo "configure: failed program was:" >&5
14837 cat conftest.$ac_ext >&5
14839 eval "ac_cv_func_$ac_func=no"
14844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14845 echo "$ac_t""yes" 1>&6
14846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14847 cat >> confdefs.h <<EOF
14848 #define $ac_tr_func 1
14852 echo "$ac_t""no" 1>&6
14858 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14859 echo "configure:14860: checking for _finitef declaration" >&5
14860 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
14861 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14862 echo $ac_n "(cached) $ac_c" 1>&6
14867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14868 ac_cpp='$CXXCPP $CPPFLAGS'
14869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14871 cross_compiling=$ac_cv_prog_cxx_cross
14873 cat > conftest.$ac_ext <<EOF
14874 #line 14875 "configure"
14875 #include "confdefs.h"
14877 #ifdef HAVE_IEEEFP_H
14878 #include <ieeefp.h>
14885 if { (eval echo configure:14886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14887 glibcpp_cv_func__finitef_use=yes
14889 echo "configure: failed program was:" >&5
14890 cat conftest.$ac_ext >&5
14892 glibcpp_cv_func__finitef_use=no
14896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14897 ac_cpp='$CPP $CPPFLAGS'
14898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14900 cross_compiling=$ac_cv_prog_cc_cross
14906 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14908 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14909 for ac_func in _finitef
14911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14912 echo "configure:14913: checking for $ac_func" >&5
14913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14914 echo $ac_n "(cached) $ac_c" 1>&6
14916 cat > conftest.$ac_ext <<EOF
14917 #line 14918 "configure"
14918 #include "confdefs.h"
14919 /* System header to define __stub macros and hopefully few prototypes,
14920 which can conflict with char $ac_func(); below. */
14921 #include <assert.h>
14922 /* Override any gcc2 internal prototype to avoid an error. */
14923 /* We use char because int might match the return type of a gcc2
14924 builtin and then its argument prototype would still apply. */
14929 /* The GNU C library defines this for functions which it implements
14930 to always fail with ENOSYS. Some functions are actually named
14931 something starting with __ and the normal name is an alias. */
14932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14940 if { (eval echo configure:14941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14942 eval "ac_cv_func_$ac_func=yes"
14944 echo "configure: failed program was:" >&5
14945 cat conftest.$ac_ext >&5
14947 eval "ac_cv_func_$ac_func=no"
14952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14953 echo "$ac_t""yes" 1>&6
14954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14955 cat >> confdefs.h <<EOF
14956 #define $ac_tr_func 1
14960 echo "$ac_t""no" 1>&6
14969 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
14970 echo "configure:14971: checking for long double trig functions" >&5
14971 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
14972 echo $ac_n "(cached) $ac_c" 1>&6
14977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14978 ac_cpp='$CXXCPP $CPPFLAGS'
14979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14981 cross_compiling=$ac_cv_prog_cxx_cross
14983 cat > conftest.$ac_ext <<EOF
14984 #line 14985 "configure"
14985 #include "confdefs.h"
14988 `for x in acosl asinl atanl \
14990 coshl sinhl tanhl; do echo "$x (0);"; done`
14993 if { (eval echo configure:14994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14995 glibcpp_cv_func_long_double_trig_use=yes
14997 echo "configure: failed program was:" >&5
14998 cat conftest.$ac_ext >&5
15000 glibcpp_cv_func_long_double_trig_use=no
15004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15005 ac_cpp='$CPP $CPPFLAGS'
15006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15008 cross_compiling=$ac_cv_prog_cc_cross
15012 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
15013 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
15014 for ac_func in acosl asinl atanl \
15018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15019 echo "configure:15020: checking for $ac_func" >&5
15020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15021 echo $ac_n "(cached) $ac_c" 1>&6
15023 cat > conftest.$ac_ext <<EOF
15024 #line 15025 "configure"
15025 #include "confdefs.h"
15026 /* System header to define __stub macros and hopefully few prototypes,
15027 which can conflict with char $ac_func(); below. */
15028 #include <assert.h>
15029 /* Override any gcc2 internal prototype to avoid an error. */
15030 /* We use char because int might match the return type of a gcc2
15031 builtin and then its argument prototype would still apply. */
15036 /* The GNU C library defines this for functions which it implements
15037 to always fail with ENOSYS. Some functions are actually named
15038 something starting with __ and the normal name is an alias. */
15039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15047 if { (eval echo configure:15048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15049 eval "ac_cv_func_$ac_func=yes"
15051 echo "configure: failed program was:" >&5
15052 cat conftest.$ac_ext >&5
15054 eval "ac_cv_func_$ac_func=no"
15059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15060 echo "$ac_t""yes" 1>&6
15061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15062 cat >> confdefs.h <<EOF
15063 #define $ac_tr_func 1
15067 echo "$ac_t""no" 1>&6
15074 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
15075 echo "configure:15076: checking for long double round functions" >&5
15076 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
15077 echo $ac_n "(cached) $ac_c" 1>&6
15082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15083 ac_cpp='$CXXCPP $CPPFLAGS'
15084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15086 cross_compiling=$ac_cv_prog_cxx_cross
15088 cat > conftest.$ac_ext <<EOF
15089 #line 15090 "configure"
15090 #include "confdefs.h"
15093 `for x in ceill floorl; do echo "$x (0);"; done`
15096 if { (eval echo configure:15097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15098 glibcpp_cv_func_long_double_round_use=yes
15100 echo "configure: failed program was:" >&5
15101 cat conftest.$ac_ext >&5
15103 glibcpp_cv_func_long_double_round_use=no
15107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15108 ac_cpp='$CPP $CPPFLAGS'
15109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15111 cross_compiling=$ac_cv_prog_cc_cross
15115 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
15116 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
15117 for ac_func in ceill floorl
15119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15120 echo "configure:15121: checking for $ac_func" >&5
15121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15122 echo $ac_n "(cached) $ac_c" 1>&6
15124 cat > conftest.$ac_ext <<EOF
15125 #line 15126 "configure"
15126 #include "confdefs.h"
15127 /* System header to define __stub macros and hopefully few prototypes,
15128 which can conflict with char $ac_func(); below. */
15129 #include <assert.h>
15130 /* Override any gcc2 internal prototype to avoid an error. */
15131 /* We use char because int might match the return type of a gcc2
15132 builtin and then its argument prototype would still apply. */
15137 /* The GNU C library defines this for functions which it implements
15138 to always fail with ENOSYS. Some functions are actually named
15139 something starting with __ and the normal name is an alias. */
15140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15148 if { (eval echo configure:15149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15150 eval "ac_cv_func_$ac_func=yes"
15152 echo "configure: failed program was:" >&5
15153 cat conftest.$ac_ext >&5
15155 eval "ac_cv_func_$ac_func=no"
15160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15161 echo "$ac_t""yes" 1>&6
15162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15163 cat >> confdefs.h <<EOF
15164 #define $ac_tr_func 1
15168 echo "$ac_t""no" 1>&6
15176 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
15177 echo "configure:15178: checking for isnanl declaration" >&5
15178 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
15179 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
15180 echo $ac_n "(cached) $ac_c" 1>&6
15185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15186 ac_cpp='$CXXCPP $CPPFLAGS'
15187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15189 cross_compiling=$ac_cv_prog_cxx_cross
15191 cat > conftest.$ac_ext <<EOF
15192 #line 15193 "configure"
15193 #include "confdefs.h"
15195 #ifdef HAVE_IEEEFP_H
15196 #include <ieeefp.h>
15203 if { (eval echo configure:15204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15205 glibcpp_cv_func_isnanl_use=yes
15207 echo "configure: failed program was:" >&5
15208 cat conftest.$ac_ext >&5
15210 glibcpp_cv_func_isnanl_use=no
15214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15215 ac_cpp='$CPP $CPPFLAGS'
15216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15218 cross_compiling=$ac_cv_prog_cc_cross
15224 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
15226 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
15227 for ac_func in isnanl
15229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15230 echo "configure:15231: checking for $ac_func" >&5
15231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15232 echo $ac_n "(cached) $ac_c" 1>&6
15234 cat > conftest.$ac_ext <<EOF
15235 #line 15236 "configure"
15236 #include "confdefs.h"
15237 /* System header to define __stub macros and hopefully few prototypes,
15238 which can conflict with char $ac_func(); below. */
15239 #include <assert.h>
15240 /* Override any gcc2 internal prototype to avoid an error. */
15241 /* We use char because int might match the return type of a gcc2
15242 builtin and then its argument prototype would still apply. */
15247 /* The GNU C library defines this for functions which it implements
15248 to always fail with ENOSYS. Some functions are actually named
15249 something starting with __ and the normal name is an alias. */
15250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15258 if { (eval echo configure:15259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15260 eval "ac_cv_func_$ac_func=yes"
15262 echo "configure: failed program was:" >&5
15263 cat conftest.$ac_ext >&5
15265 eval "ac_cv_func_$ac_func=no"
15270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15271 echo "$ac_t""yes" 1>&6
15272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15273 cat >> confdefs.h <<EOF
15274 #define $ac_tr_func 1
15278 echo "$ac_t""no" 1>&6
15284 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
15285 echo "configure:15286: checking for _isnanl declaration" >&5
15286 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
15287 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
15288 echo $ac_n "(cached) $ac_c" 1>&6
15293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15294 ac_cpp='$CXXCPP $CPPFLAGS'
15295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15297 cross_compiling=$ac_cv_prog_cxx_cross
15299 cat > conftest.$ac_ext <<EOF
15300 #line 15301 "configure"
15301 #include "confdefs.h"
15303 #ifdef HAVE_IEEEFP_H
15304 #include <ieeefp.h>
15311 if { (eval echo configure:15312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15313 glibcpp_cv_func__isnanl_use=yes
15315 echo "configure: failed program was:" >&5
15316 cat conftest.$ac_ext >&5
15318 glibcpp_cv_func__isnanl_use=no
15322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15323 ac_cpp='$CPP $CPPFLAGS'
15324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15326 cross_compiling=$ac_cv_prog_cc_cross
15332 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
15334 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
15335 for ac_func in _isnanl
15337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15338 echo "configure:15339: checking for $ac_func" >&5
15339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15340 echo $ac_n "(cached) $ac_c" 1>&6
15342 cat > conftest.$ac_ext <<EOF
15343 #line 15344 "configure"
15344 #include "confdefs.h"
15345 /* System header to define __stub macros and hopefully few prototypes,
15346 which can conflict with char $ac_func(); below. */
15347 #include <assert.h>
15348 /* Override any gcc2 internal prototype to avoid an error. */
15349 /* We use char because int might match the return type of a gcc2
15350 builtin and then its argument prototype would still apply. */
15355 /* The GNU C library defines this for functions which it implements
15356 to always fail with ENOSYS. Some functions are actually named
15357 something starting with __ and the normal name is an alias. */
15358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15368 eval "ac_cv_func_$ac_func=yes"
15370 echo "configure: failed program was:" >&5
15371 cat conftest.$ac_ext >&5
15373 eval "ac_cv_func_$ac_func=no"
15378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15379 echo "$ac_t""yes" 1>&6
15380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15381 cat >> confdefs.h <<EOF
15382 #define $ac_tr_func 1
15386 echo "$ac_t""no" 1>&6
15395 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
15396 echo "configure:15397: checking for isinfl declaration" >&5
15397 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
15398 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
15399 echo $ac_n "(cached) $ac_c" 1>&6
15404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15405 ac_cpp='$CXXCPP $CPPFLAGS'
15406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15408 cross_compiling=$ac_cv_prog_cxx_cross
15410 cat > conftest.$ac_ext <<EOF
15411 #line 15412 "configure"
15412 #include "confdefs.h"
15414 #ifdef HAVE_IEEEFP_H
15415 #include <ieeefp.h>
15422 if { (eval echo configure:15423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15424 glibcpp_cv_func_isinfl_use=yes
15426 echo "configure: failed program was:" >&5
15427 cat conftest.$ac_ext >&5
15429 glibcpp_cv_func_isinfl_use=no
15433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15434 ac_cpp='$CPP $CPPFLAGS'
15435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15437 cross_compiling=$ac_cv_prog_cc_cross
15443 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
15445 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
15446 for ac_func in isinfl
15448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15449 echo "configure:15450: checking for $ac_func" >&5
15450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15451 echo $ac_n "(cached) $ac_c" 1>&6
15453 cat > conftest.$ac_ext <<EOF
15454 #line 15455 "configure"
15455 #include "confdefs.h"
15456 /* System header to define __stub macros and hopefully few prototypes,
15457 which can conflict with char $ac_func(); below. */
15458 #include <assert.h>
15459 /* Override any gcc2 internal prototype to avoid an error. */
15460 /* We use char because int might match the return type of a gcc2
15461 builtin and then its argument prototype would still apply. */
15466 /* The GNU C library defines this for functions which it implements
15467 to always fail with ENOSYS. Some functions are actually named
15468 something starting with __ and the normal name is an alias. */
15469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15477 if { (eval echo configure:15478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15479 eval "ac_cv_func_$ac_func=yes"
15481 echo "configure: failed program was:" >&5
15482 cat conftest.$ac_ext >&5
15484 eval "ac_cv_func_$ac_func=no"
15489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15490 echo "$ac_t""yes" 1>&6
15491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15492 cat >> confdefs.h <<EOF
15493 #define $ac_tr_func 1
15497 echo "$ac_t""no" 1>&6
15503 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
15504 echo "configure:15505: checking for _isinfl declaration" >&5
15505 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
15506 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
15507 echo $ac_n "(cached) $ac_c" 1>&6
15512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15513 ac_cpp='$CXXCPP $CPPFLAGS'
15514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15516 cross_compiling=$ac_cv_prog_cxx_cross
15518 cat > conftest.$ac_ext <<EOF
15519 #line 15520 "configure"
15520 #include "confdefs.h"
15522 #ifdef HAVE_IEEEFP_H
15523 #include <ieeefp.h>
15530 if { (eval echo configure:15531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15532 glibcpp_cv_func__isinfl_use=yes
15534 echo "configure: failed program was:" >&5
15535 cat conftest.$ac_ext >&5
15537 glibcpp_cv_func__isinfl_use=no
15541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15542 ac_cpp='$CPP $CPPFLAGS'
15543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15545 cross_compiling=$ac_cv_prog_cc_cross
15551 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
15553 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
15554 for ac_func in _isinfl
15556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15557 echo "configure:15558: checking for $ac_func" >&5
15558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15559 echo $ac_n "(cached) $ac_c" 1>&6
15561 cat > conftest.$ac_ext <<EOF
15562 #line 15563 "configure"
15563 #include "confdefs.h"
15564 /* System header to define __stub macros and hopefully few prototypes,
15565 which can conflict with char $ac_func(); below. */
15566 #include <assert.h>
15567 /* Override any gcc2 internal prototype to avoid an error. */
15568 /* We use char because int might match the return type of a gcc2
15569 builtin and then its argument prototype would still apply. */
15574 /* The GNU C library defines this for functions which it implements
15575 to always fail with ENOSYS. Some functions are actually named
15576 something starting with __ and the normal name is an alias. */
15577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15585 if { (eval echo configure:15586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15587 eval "ac_cv_func_$ac_func=yes"
15589 echo "configure: failed program was:" >&5
15590 cat conftest.$ac_ext >&5
15592 eval "ac_cv_func_$ac_func=no"
15597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15598 echo "$ac_t""yes" 1>&6
15599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15600 cat >> confdefs.h <<EOF
15601 #define $ac_tr_func 1
15605 echo "$ac_t""no" 1>&6
15614 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
15615 echo "configure:15616: checking for copysignl declaration" >&5
15616 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
15617 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
15618 echo $ac_n "(cached) $ac_c" 1>&6
15623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15627 cross_compiling=$ac_cv_prog_cxx_cross
15629 cat > conftest.$ac_ext <<EOF
15630 #line 15631 "configure"
15631 #include "confdefs.h"
15637 if { (eval echo configure:15638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15639 glibcpp_cv_func_copysignl_use=yes
15641 echo "configure: failed program was:" >&5
15642 cat conftest.$ac_ext >&5
15644 glibcpp_cv_func_copysignl_use=no
15648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15652 cross_compiling=$ac_cv_prog_cc_cross
15658 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
15660 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
15661 for ac_func in copysignl
15663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15664 echo "configure:15665: checking for $ac_func" >&5
15665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15666 echo $ac_n "(cached) $ac_c" 1>&6
15668 cat > conftest.$ac_ext <<EOF
15669 #line 15670 "configure"
15670 #include "confdefs.h"
15671 /* System header to define __stub macros and hopefully few prototypes,
15672 which can conflict with char $ac_func(); below. */
15673 #include <assert.h>
15674 /* Override any gcc2 internal prototype to avoid an error. */
15675 /* We use char because int might match the return type of a gcc2
15676 builtin and then its argument prototype would still apply. */
15681 /* The GNU C library defines this for functions which it implements
15682 to always fail with ENOSYS. Some functions are actually named
15683 something starting with __ and the normal name is an alias. */
15684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15692 if { (eval echo configure:15693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15694 eval "ac_cv_func_$ac_func=yes"
15696 echo "configure: failed program was:" >&5
15697 cat conftest.$ac_ext >&5
15699 eval "ac_cv_func_$ac_func=no"
15704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15705 echo "$ac_t""yes" 1>&6
15706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15707 cat >> confdefs.h <<EOF
15708 #define $ac_tr_func 1
15712 echo "$ac_t""no" 1>&6
15718 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15719 echo "configure:15720: checking for _copysignl declaration" >&5
15720 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15721 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15722 echo $ac_n "(cached) $ac_c" 1>&6
15727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15728 ac_cpp='$CXXCPP $CPPFLAGS'
15729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15731 cross_compiling=$ac_cv_prog_cxx_cross
15733 cat > conftest.$ac_ext <<EOF
15734 #line 15735 "configure"
15735 #include "confdefs.h"
15741 if { (eval echo configure:15742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15743 glibcpp_cv_func__copysignl_use=yes
15745 echo "configure: failed program was:" >&5
15746 cat conftest.$ac_ext >&5
15748 glibcpp_cv_func__copysignl_use=no
15752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15753 ac_cpp='$CPP $CPPFLAGS'
15754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15756 cross_compiling=$ac_cv_prog_cc_cross
15762 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15764 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15765 for ac_func in _copysignl
15767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15768 echo "configure:15769: checking for $ac_func" >&5
15769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15770 echo $ac_n "(cached) $ac_c" 1>&6
15772 cat > conftest.$ac_ext <<EOF
15773 #line 15774 "configure"
15774 #include "confdefs.h"
15775 /* System header to define __stub macros and hopefully few prototypes,
15776 which can conflict with char $ac_func(); below. */
15777 #include <assert.h>
15778 /* Override any gcc2 internal prototype to avoid an error. */
15779 /* We use char because int might match the return type of a gcc2
15780 builtin and then its argument prototype would still apply. */
15785 /* The GNU C library defines this for functions which it implements
15786 to always fail with ENOSYS. Some functions are actually named
15787 something starting with __ and the normal name is an alias. */
15788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15796 if { (eval echo configure:15797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15798 eval "ac_cv_func_$ac_func=yes"
15800 echo "configure: failed program was:" >&5
15801 cat conftest.$ac_ext >&5
15803 eval "ac_cv_func_$ac_func=no"
15808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15809 echo "$ac_t""yes" 1>&6
15810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15811 cat >> confdefs.h <<EOF
15812 #define $ac_tr_func 1
15816 echo "$ac_t""no" 1>&6
15825 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
15826 echo "configure:15827: checking for atan2l declaration" >&5
15827 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
15828 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
15829 echo $ac_n "(cached) $ac_c" 1>&6
15834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15835 ac_cpp='$CXXCPP $CPPFLAGS'
15836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15838 cross_compiling=$ac_cv_prog_cxx_cross
15840 cat > conftest.$ac_ext <<EOF
15841 #line 15842 "configure"
15842 #include "confdefs.h"
15848 if { (eval echo configure:15849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15850 glibcpp_cv_func_atan2l_use=yes
15852 echo "configure: failed program was:" >&5
15853 cat conftest.$ac_ext >&5
15855 glibcpp_cv_func_atan2l_use=no
15859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15860 ac_cpp='$CPP $CPPFLAGS'
15861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15863 cross_compiling=$ac_cv_prog_cc_cross
15869 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
15871 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
15872 for ac_func in atan2l
15874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15875 echo "configure:15876: checking for $ac_func" >&5
15876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15877 echo $ac_n "(cached) $ac_c" 1>&6
15879 cat > conftest.$ac_ext <<EOF
15880 #line 15881 "configure"
15881 #include "confdefs.h"
15882 /* System header to define __stub macros and hopefully few prototypes,
15883 which can conflict with char $ac_func(); below. */
15884 #include <assert.h>
15885 /* Override any gcc2 internal prototype to avoid an error. */
15886 /* We use char because int might match the return type of a gcc2
15887 builtin and then its argument prototype would still apply. */
15892 /* The GNU C library defines this for functions which it implements
15893 to always fail with ENOSYS. Some functions are actually named
15894 something starting with __ and the normal name is an alias. */
15895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15903 if { (eval echo configure:15904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15905 eval "ac_cv_func_$ac_func=yes"
15907 echo "configure: failed program was:" >&5
15908 cat conftest.$ac_ext >&5
15910 eval "ac_cv_func_$ac_func=no"
15915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15916 echo "$ac_t""yes" 1>&6
15917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15918 cat >> confdefs.h <<EOF
15919 #define $ac_tr_func 1
15923 echo "$ac_t""no" 1>&6
15929 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
15930 echo "configure:15931: checking for _atan2l declaration" >&5
15931 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
15932 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15933 echo $ac_n "(cached) $ac_c" 1>&6
15938 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15939 ac_cpp='$CXXCPP $CPPFLAGS'
15940 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15941 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15942 cross_compiling=$ac_cv_prog_cxx_cross
15944 cat > conftest.$ac_ext <<EOF
15945 #line 15946 "configure"
15946 #include "confdefs.h"
15952 if { (eval echo configure:15953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15954 glibcpp_cv_func__atan2l_use=yes
15956 echo "configure: failed program was:" >&5
15957 cat conftest.$ac_ext >&5
15959 glibcpp_cv_func__atan2l_use=no
15963 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15964 ac_cpp='$CPP $CPPFLAGS'
15965 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15966 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15967 cross_compiling=$ac_cv_prog_cc_cross
15973 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15975 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15976 for ac_func in _atan2l
15978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15979 echo "configure:15980: checking for $ac_func" >&5
15980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15981 echo $ac_n "(cached) $ac_c" 1>&6
15983 cat > conftest.$ac_ext <<EOF
15984 #line 15985 "configure"
15985 #include "confdefs.h"
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func(); below. */
15988 #include <assert.h>
15989 /* Override any gcc2 internal prototype to avoid an error. */
15990 /* We use char because int might match the return type of a gcc2
15991 builtin and then its argument prototype would still apply. */
15996 /* The GNU C library defines this for functions which it implements
15997 to always fail with ENOSYS. Some functions are actually named
15998 something starting with __ and the normal name is an alias. */
15999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16007 if { (eval echo configure:16008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16009 eval "ac_cv_func_$ac_func=yes"
16011 echo "configure: failed program was:" >&5
16012 cat conftest.$ac_ext >&5
16014 eval "ac_cv_func_$ac_func=no"
16019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16020 echo "$ac_t""yes" 1>&6
16021 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16022 cat >> confdefs.h <<EOF
16023 #define $ac_tr_func 1
16027 echo "$ac_t""no" 1>&6
16036 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
16037 echo "configure:16038: checking for expl declaration" >&5
16038 if test x${glibcpp_cv_func_expl_use+set} != xset; then
16039 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
16040 echo $ac_n "(cached) $ac_c" 1>&6
16045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16046 ac_cpp='$CXXCPP $CPPFLAGS'
16047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16049 cross_compiling=$ac_cv_prog_cxx_cross
16051 cat > conftest.$ac_ext <<EOF
16052 #line 16053 "configure"
16053 #include "confdefs.h"
16055 #ifdef HAVE_IEEEFP_H
16056 #include <ieeefp.h>
16063 if { (eval echo configure:16064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16065 glibcpp_cv_func_expl_use=yes
16067 echo "configure: failed program was:" >&5
16068 cat conftest.$ac_ext >&5
16070 glibcpp_cv_func_expl_use=no
16074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16078 cross_compiling=$ac_cv_prog_cc_cross
16084 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
16086 if test x$glibcpp_cv_func_expl_use = x"yes"; then
16087 for ac_func in expl
16089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16090 echo "configure:16091: checking for $ac_func" >&5
16091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16092 echo $ac_n "(cached) $ac_c" 1>&6
16094 cat > conftest.$ac_ext <<EOF
16095 #line 16096 "configure"
16096 #include "confdefs.h"
16097 /* System header to define __stub macros and hopefully few prototypes,
16098 which can conflict with char $ac_func(); below. */
16099 #include <assert.h>
16100 /* Override any gcc2 internal prototype to avoid an error. */
16101 /* We use char because int might match the return type of a gcc2
16102 builtin and then its argument prototype would still apply. */
16107 /* The GNU C library defines this for functions which it implements
16108 to always fail with ENOSYS. Some functions are actually named
16109 something starting with __ and the normal name is an alias. */
16110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16118 if { (eval echo configure:16119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16120 eval "ac_cv_func_$ac_func=yes"
16122 echo "configure: failed program was:" >&5
16123 cat conftest.$ac_ext >&5
16125 eval "ac_cv_func_$ac_func=no"
16130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16131 echo "$ac_t""yes" 1>&6
16132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16133 cat >> confdefs.h <<EOF
16134 #define $ac_tr_func 1
16138 echo "$ac_t""no" 1>&6
16144 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
16145 echo "configure:16146: checking for _expl declaration" >&5
16146 if test x${glibcpp_cv_func__expl_use+set} != xset; then
16147 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
16148 echo $ac_n "(cached) $ac_c" 1>&6
16153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16154 ac_cpp='$CXXCPP $CPPFLAGS'
16155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16157 cross_compiling=$ac_cv_prog_cxx_cross
16159 cat > conftest.$ac_ext <<EOF
16160 #line 16161 "configure"
16161 #include "confdefs.h"
16163 #ifdef HAVE_IEEEFP_H
16164 #include <ieeefp.h>
16171 if { (eval echo configure:16172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16173 glibcpp_cv_func__expl_use=yes
16175 echo "configure: failed program was:" >&5
16176 cat conftest.$ac_ext >&5
16178 glibcpp_cv_func__expl_use=no
16182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16186 cross_compiling=$ac_cv_prog_cc_cross
16192 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
16194 if test x$glibcpp_cv_func__expl_use = x"yes"; then
16195 for ac_func in _expl
16197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16198 echo "configure:16199: checking for $ac_func" >&5
16199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16200 echo $ac_n "(cached) $ac_c" 1>&6
16202 cat > conftest.$ac_ext <<EOF
16203 #line 16204 "configure"
16204 #include "confdefs.h"
16205 /* System header to define __stub macros and hopefully few prototypes,
16206 which can conflict with char $ac_func(); below. */
16207 #include <assert.h>
16208 /* Override any gcc2 internal prototype to avoid an error. */
16209 /* We use char because int might match the return type of a gcc2
16210 builtin and then its argument prototype would still apply. */
16215 /* The GNU C library defines this for functions which it implements
16216 to always fail with ENOSYS. Some functions are actually named
16217 something starting with __ and the normal name is an alias. */
16218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16226 if { (eval echo configure:16227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16228 eval "ac_cv_func_$ac_func=yes"
16230 echo "configure: failed program was:" >&5
16231 cat conftest.$ac_ext >&5
16233 eval "ac_cv_func_$ac_func=no"
16238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16239 echo "$ac_t""yes" 1>&6
16240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16241 cat >> confdefs.h <<EOF
16242 #define $ac_tr_func 1
16246 echo "$ac_t""no" 1>&6
16255 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
16256 echo "configure:16257: checking for fabsl declaration" >&5
16257 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
16258 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
16259 echo $ac_n "(cached) $ac_c" 1>&6
16264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16265 ac_cpp='$CXXCPP $CPPFLAGS'
16266 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16267 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16268 cross_compiling=$ac_cv_prog_cxx_cross
16270 cat > conftest.$ac_ext <<EOF
16271 #line 16272 "configure"
16272 #include "confdefs.h"
16274 #ifdef HAVE_IEEEFP_H
16275 #include <ieeefp.h>
16282 if { (eval echo configure:16283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16284 glibcpp_cv_func_fabsl_use=yes
16286 echo "configure: failed program was:" >&5
16287 cat conftest.$ac_ext >&5
16289 glibcpp_cv_func_fabsl_use=no
16293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16294 ac_cpp='$CPP $CPPFLAGS'
16295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16297 cross_compiling=$ac_cv_prog_cc_cross
16303 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
16305 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
16306 for ac_func in fabsl
16308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16309 echo "configure:16310: checking for $ac_func" >&5
16310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16311 echo $ac_n "(cached) $ac_c" 1>&6
16313 cat > conftest.$ac_ext <<EOF
16314 #line 16315 "configure"
16315 #include "confdefs.h"
16316 /* System header to define __stub macros and hopefully few prototypes,
16317 which can conflict with char $ac_func(); below. */
16318 #include <assert.h>
16319 /* Override any gcc2 internal prototype to avoid an error. */
16320 /* We use char because int might match the return type of a gcc2
16321 builtin and then its argument prototype would still apply. */
16326 /* The GNU C library defines this for functions which it implements
16327 to always fail with ENOSYS. Some functions are actually named
16328 something starting with __ and the normal name is an alias. */
16329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16337 if { (eval echo configure:16338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16339 eval "ac_cv_func_$ac_func=yes"
16341 echo "configure: failed program was:" >&5
16342 cat conftest.$ac_ext >&5
16344 eval "ac_cv_func_$ac_func=no"
16349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16350 echo "$ac_t""yes" 1>&6
16351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16352 cat >> confdefs.h <<EOF
16353 #define $ac_tr_func 1
16357 echo "$ac_t""no" 1>&6
16363 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
16364 echo "configure:16365: checking for _fabsl declaration" >&5
16365 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
16366 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
16367 echo $ac_n "(cached) $ac_c" 1>&6
16372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16373 ac_cpp='$CXXCPP $CPPFLAGS'
16374 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16375 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16376 cross_compiling=$ac_cv_prog_cxx_cross
16378 cat > conftest.$ac_ext <<EOF
16379 #line 16380 "configure"
16380 #include "confdefs.h"
16382 #ifdef HAVE_IEEEFP_H
16383 #include <ieeefp.h>
16390 if { (eval echo configure:16391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16392 glibcpp_cv_func__fabsl_use=yes
16394 echo "configure: failed program was:" >&5
16395 cat conftest.$ac_ext >&5
16397 glibcpp_cv_func__fabsl_use=no
16401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16402 ac_cpp='$CPP $CPPFLAGS'
16403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16405 cross_compiling=$ac_cv_prog_cc_cross
16411 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
16413 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
16414 for ac_func in _fabsl
16416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16417 echo "configure:16418: checking for $ac_func" >&5
16418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16419 echo $ac_n "(cached) $ac_c" 1>&6
16421 cat > conftest.$ac_ext <<EOF
16422 #line 16423 "configure"
16423 #include "confdefs.h"
16424 /* System header to define __stub macros and hopefully few prototypes,
16425 which can conflict with char $ac_func(); below. */
16426 #include <assert.h>
16427 /* Override any gcc2 internal prototype to avoid an error. */
16428 /* We use char because int might match the return type of a gcc2
16429 builtin and then its argument prototype would still apply. */
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16445 if { (eval echo configure:16446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16447 eval "ac_cv_func_$ac_func=yes"
16449 echo "configure: failed program was:" >&5
16450 cat conftest.$ac_ext >&5
16452 eval "ac_cv_func_$ac_func=no"
16457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16458 echo "$ac_t""yes" 1>&6
16459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16460 cat >> confdefs.h <<EOF
16461 #define $ac_tr_func 1
16465 echo "$ac_t""no" 1>&6
16474 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
16475 echo "configure:16476: checking for fmodl declaration" >&5
16476 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
16477 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
16478 echo $ac_n "(cached) $ac_c" 1>&6
16483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16484 ac_cpp='$CXXCPP $CPPFLAGS'
16485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16487 cross_compiling=$ac_cv_prog_cxx_cross
16489 cat > conftest.$ac_ext <<EOF
16490 #line 16491 "configure"
16491 #include "confdefs.h"
16497 if { (eval echo configure:16498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16499 glibcpp_cv_func_fmodl_use=yes
16501 echo "configure: failed program was:" >&5
16502 cat conftest.$ac_ext >&5
16504 glibcpp_cv_func_fmodl_use=no
16508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16512 cross_compiling=$ac_cv_prog_cc_cross
16518 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
16520 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
16521 for ac_func in fmodl
16523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16524 echo "configure:16525: checking for $ac_func" >&5
16525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16526 echo $ac_n "(cached) $ac_c" 1>&6
16528 cat > conftest.$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16531 /* System header to define __stub macros and hopefully few prototypes,
16532 which can conflict with char $ac_func(); below. */
16533 #include <assert.h>
16534 /* Override any gcc2 internal prototype to avoid an error. */
16535 /* We use char because int might match the return type of a gcc2
16536 builtin and then its argument prototype would still apply. */
16541 /* The GNU C library defines this for functions which it implements
16542 to always fail with ENOSYS. Some functions are actually named
16543 something starting with __ and the normal name is an alias. */
16544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16552 if { (eval echo configure:16553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16554 eval "ac_cv_func_$ac_func=yes"
16556 echo "configure: failed program was:" >&5
16557 cat conftest.$ac_ext >&5
16559 eval "ac_cv_func_$ac_func=no"
16564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16565 echo "$ac_t""yes" 1>&6
16566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16567 cat >> confdefs.h <<EOF
16568 #define $ac_tr_func 1
16572 echo "$ac_t""no" 1>&6
16578 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
16579 echo "configure:16580: checking for _fmodl declaration" >&5
16580 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
16581 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
16582 echo $ac_n "(cached) $ac_c" 1>&6
16587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16588 ac_cpp='$CXXCPP $CPPFLAGS'
16589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16591 cross_compiling=$ac_cv_prog_cxx_cross
16593 cat > conftest.$ac_ext <<EOF
16594 #line 16595 "configure"
16595 #include "confdefs.h"
16601 if { (eval echo configure:16602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16603 glibcpp_cv_func__fmodl_use=yes
16605 echo "configure: failed program was:" >&5
16606 cat conftest.$ac_ext >&5
16608 glibcpp_cv_func__fmodl_use=no
16612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16613 ac_cpp='$CPP $CPPFLAGS'
16614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16616 cross_compiling=$ac_cv_prog_cc_cross
16622 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
16624 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
16625 for ac_func in _fmodl
16627 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16628 echo "configure:16629: checking for $ac_func" >&5
16629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16630 echo $ac_n "(cached) $ac_c" 1>&6
16632 cat > conftest.$ac_ext <<EOF
16633 #line 16634 "configure"
16634 #include "confdefs.h"
16635 /* System header to define __stub macros and hopefully few prototypes,
16636 which can conflict with char $ac_func(); below. */
16637 #include <assert.h>
16638 /* Override any gcc2 internal prototype to avoid an error. */
16639 /* We use char because int might match the return type of a gcc2
16640 builtin and then its argument prototype would still apply. */
16645 /* The GNU C library defines this for functions which it implements
16646 to always fail with ENOSYS. Some functions are actually named
16647 something starting with __ and the normal name is an alias. */
16648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16656 if { (eval echo configure:16657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16658 eval "ac_cv_func_$ac_func=yes"
16660 echo "configure: failed program was:" >&5
16661 cat conftest.$ac_ext >&5
16663 eval "ac_cv_func_$ac_func=no"
16668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16669 echo "$ac_t""yes" 1>&6
16670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16671 cat >> confdefs.h <<EOF
16672 #define $ac_tr_func 1
16676 echo "$ac_t""no" 1>&6
16685 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
16686 echo "configure:16687: checking for frexpl declaration" >&5
16687 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16688 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16689 echo $ac_n "(cached) $ac_c" 1>&6
16694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16695 ac_cpp='$CXXCPP $CPPFLAGS'
16696 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16697 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16698 cross_compiling=$ac_cv_prog_cxx_cross
16700 cat > conftest.$ac_ext <<EOF
16701 #line 16702 "configure"
16702 #include "confdefs.h"
16708 if { (eval echo configure:16709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16710 glibcpp_cv_func_frexpl_use=yes
16712 echo "configure: failed program was:" >&5
16713 cat conftest.$ac_ext >&5
16715 glibcpp_cv_func_frexpl_use=no
16719 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16720 ac_cpp='$CPP $CPPFLAGS'
16721 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16722 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16723 cross_compiling=$ac_cv_prog_cc_cross
16729 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16731 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16732 for ac_func in frexpl
16734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16735 echo "configure:16736: checking for $ac_func" >&5
16736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16737 echo $ac_n "(cached) $ac_c" 1>&6
16739 cat > conftest.$ac_ext <<EOF
16740 #line 16741 "configure"
16741 #include "confdefs.h"
16742 /* System header to define __stub macros and hopefully few prototypes,
16743 which can conflict with char $ac_func(); below. */
16744 #include <assert.h>
16745 /* Override any gcc2 internal prototype to avoid an error. */
16746 /* We use char because int might match the return type of a gcc2
16747 builtin and then its argument prototype would still apply. */
16752 /* The GNU C library defines this for functions which it implements
16753 to always fail with ENOSYS. Some functions are actually named
16754 something starting with __ and the normal name is an alias. */
16755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16763 if { (eval echo configure:16764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16765 eval "ac_cv_func_$ac_func=yes"
16767 echo "configure: failed program was:" >&5
16768 cat conftest.$ac_ext >&5
16770 eval "ac_cv_func_$ac_func=no"
16775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16776 echo "$ac_t""yes" 1>&6
16777 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16778 cat >> confdefs.h <<EOF
16779 #define $ac_tr_func 1
16783 echo "$ac_t""no" 1>&6
16789 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16790 echo "configure:16791: checking for _frexpl declaration" >&5
16791 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16792 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16793 echo $ac_n "(cached) $ac_c" 1>&6
16798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16799 ac_cpp='$CXXCPP $CPPFLAGS'
16800 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16801 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16802 cross_compiling=$ac_cv_prog_cxx_cross
16804 cat > conftest.$ac_ext <<EOF
16805 #line 16806 "configure"
16806 #include "confdefs.h"
16812 if { (eval echo configure:16813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16814 glibcpp_cv_func__frexpl_use=yes
16816 echo "configure: failed program was:" >&5
16817 cat conftest.$ac_ext >&5
16819 glibcpp_cv_func__frexpl_use=no
16823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16824 ac_cpp='$CPP $CPPFLAGS'
16825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16827 cross_compiling=$ac_cv_prog_cc_cross
16833 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
16835 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
16836 for ac_func in _frexpl
16838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16839 echo "configure:16840: checking for $ac_func" >&5
16840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16841 echo $ac_n "(cached) $ac_c" 1>&6
16843 cat > conftest.$ac_ext <<EOF
16844 #line 16845 "configure"
16845 #include "confdefs.h"
16846 /* System header to define __stub macros and hopefully few prototypes,
16847 which can conflict with char $ac_func(); below. */
16848 #include <assert.h>
16849 /* Override any gcc2 internal prototype to avoid an error. */
16850 /* We use char because int might match the return type of a gcc2
16851 builtin and then its argument prototype would still apply. */
16856 /* The GNU C library defines this for functions which it implements
16857 to always fail with ENOSYS. Some functions are actually named
16858 something starting with __ and the normal name is an alias. */
16859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16867 if { (eval echo configure:16868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16869 eval "ac_cv_func_$ac_func=yes"
16871 echo "configure: failed program was:" >&5
16872 cat conftest.$ac_ext >&5
16874 eval "ac_cv_func_$ac_func=no"
16879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16880 echo "$ac_t""yes" 1>&6
16881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16882 cat >> confdefs.h <<EOF
16883 #define $ac_tr_func 1
16887 echo "$ac_t""no" 1>&6
16896 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
16897 echo "configure:16898: checking for hypotl declaration" >&5
16898 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
16899 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
16900 echo $ac_n "(cached) $ac_c" 1>&6
16905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16906 ac_cpp='$CXXCPP $CPPFLAGS'
16907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16909 cross_compiling=$ac_cv_prog_cxx_cross
16911 cat > conftest.$ac_ext <<EOF
16912 #line 16913 "configure"
16913 #include "confdefs.h"
16919 if { (eval echo configure:16920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16921 glibcpp_cv_func_hypotl_use=yes
16923 echo "configure: failed program was:" >&5
16924 cat conftest.$ac_ext >&5
16926 glibcpp_cv_func_hypotl_use=no
16930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16931 ac_cpp='$CPP $CPPFLAGS'
16932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16934 cross_compiling=$ac_cv_prog_cc_cross
16940 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
16942 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
16943 for ac_func in hypotl
16945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16946 echo "configure:16947: checking for $ac_func" >&5
16947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16948 echo $ac_n "(cached) $ac_c" 1>&6
16950 cat > conftest.$ac_ext <<EOF
16951 #line 16952 "configure"
16952 #include "confdefs.h"
16953 /* System header to define __stub macros and hopefully few prototypes,
16954 which can conflict with char $ac_func(); below. */
16955 #include <assert.h>
16956 /* Override any gcc2 internal prototype to avoid an error. */
16957 /* We use char because int might match the return type of a gcc2
16958 builtin and then its argument prototype would still apply. */
16963 /* The GNU C library defines this for functions which it implements
16964 to always fail with ENOSYS. Some functions are actually named
16965 something starting with __ and the normal name is an alias. */
16966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16974 if { (eval echo configure:16975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16976 eval "ac_cv_func_$ac_func=yes"
16978 echo "configure: failed program was:" >&5
16979 cat conftest.$ac_ext >&5
16981 eval "ac_cv_func_$ac_func=no"
16986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16987 echo "$ac_t""yes" 1>&6
16988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16989 cat >> confdefs.h <<EOF
16990 #define $ac_tr_func 1
16994 echo "$ac_t""no" 1>&6
17000 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
17001 echo "configure:17002: checking for _hypotl declaration" >&5
17002 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
17003 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
17004 echo $ac_n "(cached) $ac_c" 1>&6
17009 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17010 ac_cpp='$CXXCPP $CPPFLAGS'
17011 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17012 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17013 cross_compiling=$ac_cv_prog_cxx_cross
17015 cat > conftest.$ac_ext <<EOF
17016 #line 17017 "configure"
17017 #include "confdefs.h"
17023 if { (eval echo configure:17024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17025 glibcpp_cv_func__hypotl_use=yes
17027 echo "configure: failed program was:" >&5
17028 cat conftest.$ac_ext >&5
17030 glibcpp_cv_func__hypotl_use=no
17034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17035 ac_cpp='$CPP $CPPFLAGS'
17036 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17037 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17038 cross_compiling=$ac_cv_prog_cc_cross
17044 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
17046 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
17047 for ac_func in _hypotl
17049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17050 echo "configure:17051: checking for $ac_func" >&5
17051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17052 echo $ac_n "(cached) $ac_c" 1>&6
17054 cat > conftest.$ac_ext <<EOF
17055 #line 17056 "configure"
17056 #include "confdefs.h"
17057 /* System header to define __stub macros and hopefully few prototypes,
17058 which can conflict with char $ac_func(); below. */
17059 #include <assert.h>
17060 /* Override any gcc2 internal prototype to avoid an error. */
17061 /* We use char because int might match the return type of a gcc2
17062 builtin and then its argument prototype would still apply. */
17067 /* The GNU C library defines this for functions which it implements
17068 to always fail with ENOSYS. Some functions are actually named
17069 something starting with __ and the normal name is an alias. */
17070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17078 if { (eval echo configure:17079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17080 eval "ac_cv_func_$ac_func=yes"
17082 echo "configure: failed program was:" >&5
17083 cat conftest.$ac_ext >&5
17085 eval "ac_cv_func_$ac_func=no"
17090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17091 echo "$ac_t""yes" 1>&6
17092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17093 cat >> confdefs.h <<EOF
17094 #define $ac_tr_func 1
17098 echo "$ac_t""no" 1>&6
17107 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
17108 echo "configure:17109: checking for ldexpl declaration" >&5
17109 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
17110 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
17111 echo $ac_n "(cached) $ac_c" 1>&6
17116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17120 cross_compiling=$ac_cv_prog_cxx_cross
17122 cat > conftest.$ac_ext <<EOF
17123 #line 17124 "configure"
17124 #include "confdefs.h"
17130 if { (eval echo configure:17131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17132 glibcpp_cv_func_ldexpl_use=yes
17134 echo "configure: failed program was:" >&5
17135 cat conftest.$ac_ext >&5
17137 glibcpp_cv_func_ldexpl_use=no
17141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17142 ac_cpp='$CPP $CPPFLAGS'
17143 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17144 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17145 cross_compiling=$ac_cv_prog_cc_cross
17151 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
17153 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
17154 for ac_func in ldexpl
17156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17157 echo "configure:17158: checking for $ac_func" >&5
17158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17159 echo $ac_n "(cached) $ac_c" 1>&6
17161 cat > conftest.$ac_ext <<EOF
17162 #line 17163 "configure"
17163 #include "confdefs.h"
17164 /* System header to define __stub macros and hopefully few prototypes,
17165 which can conflict with char $ac_func(); below. */
17166 #include <assert.h>
17167 /* Override any gcc2 internal prototype to avoid an error. */
17168 /* We use char because int might match the return type of a gcc2
17169 builtin and then its argument prototype would still apply. */
17174 /* The GNU C library defines this for functions which it implements
17175 to always fail with ENOSYS. Some functions are actually named
17176 something starting with __ and the normal name is an alias. */
17177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17185 if { (eval echo configure:17186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17187 eval "ac_cv_func_$ac_func=yes"
17189 echo "configure: failed program was:" >&5
17190 cat conftest.$ac_ext >&5
17192 eval "ac_cv_func_$ac_func=no"
17197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17198 echo "$ac_t""yes" 1>&6
17199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17200 cat >> confdefs.h <<EOF
17201 #define $ac_tr_func 1
17205 echo "$ac_t""no" 1>&6
17211 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
17212 echo "configure:17213: checking for _ldexpl declaration" >&5
17213 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
17214 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
17215 echo $ac_n "(cached) $ac_c" 1>&6
17220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17221 ac_cpp='$CXXCPP $CPPFLAGS'
17222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17224 cross_compiling=$ac_cv_prog_cxx_cross
17226 cat > conftest.$ac_ext <<EOF
17227 #line 17228 "configure"
17228 #include "confdefs.h"
17234 if { (eval echo configure:17235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17236 glibcpp_cv_func__ldexpl_use=yes
17238 echo "configure: failed program was:" >&5
17239 cat conftest.$ac_ext >&5
17241 glibcpp_cv_func__ldexpl_use=no
17245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17246 ac_cpp='$CPP $CPPFLAGS'
17247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17249 cross_compiling=$ac_cv_prog_cc_cross
17255 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
17257 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
17258 for ac_func in _ldexpl
17260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17261 echo "configure:17262: checking for $ac_func" >&5
17262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17263 echo $ac_n "(cached) $ac_c" 1>&6
17265 cat > conftest.$ac_ext <<EOF
17266 #line 17267 "configure"
17267 #include "confdefs.h"
17268 /* System header to define __stub macros and hopefully few prototypes,
17269 which can conflict with char $ac_func(); below. */
17270 #include <assert.h>
17271 /* Override any gcc2 internal prototype to avoid an error. */
17272 /* We use char because int might match the return type of a gcc2
17273 builtin and then its argument prototype would still apply. */
17278 /* The GNU C library defines this for functions which it implements
17279 to always fail with ENOSYS. Some functions are actually named
17280 something starting with __ and the normal name is an alias. */
17281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17289 if { (eval echo configure:17290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17291 eval "ac_cv_func_$ac_func=yes"
17293 echo "configure: failed program was:" >&5
17294 cat conftest.$ac_ext >&5
17296 eval "ac_cv_func_$ac_func=no"
17301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17302 echo "$ac_t""yes" 1>&6
17303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17304 cat >> confdefs.h <<EOF
17305 #define $ac_tr_func 1
17309 echo "$ac_t""no" 1>&6
17318 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
17319 echo "configure:17320: checking for logl declaration" >&5
17320 if test x${glibcpp_cv_func_logl_use+set} != xset; then
17321 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
17322 echo $ac_n "(cached) $ac_c" 1>&6
17327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17328 ac_cpp='$CXXCPP $CPPFLAGS'
17329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17331 cross_compiling=$ac_cv_prog_cxx_cross
17333 cat > conftest.$ac_ext <<EOF
17334 #line 17335 "configure"
17335 #include "confdefs.h"
17337 #ifdef HAVE_IEEEFP_H
17338 #include <ieeefp.h>
17345 if { (eval echo configure:17346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17347 glibcpp_cv_func_logl_use=yes
17349 echo "configure: failed program was:" >&5
17350 cat conftest.$ac_ext >&5
17352 glibcpp_cv_func_logl_use=no
17356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17357 ac_cpp='$CPP $CPPFLAGS'
17358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17360 cross_compiling=$ac_cv_prog_cc_cross
17366 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
17368 if test x$glibcpp_cv_func_logl_use = x"yes"; then
17369 for ac_func in logl
17371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17372 echo "configure:17373: checking for $ac_func" >&5
17373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17374 echo $ac_n "(cached) $ac_c" 1>&6
17376 cat > conftest.$ac_ext <<EOF
17377 #line 17378 "configure"
17378 #include "confdefs.h"
17379 /* System header to define __stub macros and hopefully few prototypes,
17380 which can conflict with char $ac_func(); below. */
17381 #include <assert.h>
17382 /* Override any gcc2 internal prototype to avoid an error. */
17383 /* We use char because int might match the return type of a gcc2
17384 builtin and then its argument prototype would still apply. */
17389 /* The GNU C library defines this for functions which it implements
17390 to always fail with ENOSYS. Some functions are actually named
17391 something starting with __ and the normal name is an alias. */
17392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17400 if { (eval echo configure:17401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17402 eval "ac_cv_func_$ac_func=yes"
17404 echo "configure: failed program was:" >&5
17405 cat conftest.$ac_ext >&5
17407 eval "ac_cv_func_$ac_func=no"
17412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17413 echo "$ac_t""yes" 1>&6
17414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17415 cat >> confdefs.h <<EOF
17416 #define $ac_tr_func 1
17420 echo "$ac_t""no" 1>&6
17426 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
17427 echo "configure:17428: checking for _logl declaration" >&5
17428 if test x${glibcpp_cv_func__logl_use+set} != xset; then
17429 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
17430 echo $ac_n "(cached) $ac_c" 1>&6
17435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17436 ac_cpp='$CXXCPP $CPPFLAGS'
17437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17439 cross_compiling=$ac_cv_prog_cxx_cross
17441 cat > conftest.$ac_ext <<EOF
17442 #line 17443 "configure"
17443 #include "confdefs.h"
17445 #ifdef HAVE_IEEEFP_H
17446 #include <ieeefp.h>
17453 if { (eval echo configure:17454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17455 glibcpp_cv_func__logl_use=yes
17457 echo "configure: failed program was:" >&5
17458 cat conftest.$ac_ext >&5
17460 glibcpp_cv_func__logl_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
17474 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
17476 if test x$glibcpp_cv_func__logl_use = x"yes"; then
17477 for ac_func in _logl
17479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17480 echo "configure:17481: checking for $ac_func" >&5
17481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17482 echo $ac_n "(cached) $ac_c" 1>&6
17484 cat > conftest.$ac_ext <<EOF
17485 #line 17486 "configure"
17486 #include "confdefs.h"
17487 /* System header to define __stub macros and hopefully few prototypes,
17488 which can conflict with char $ac_func(); below. */
17489 #include <assert.h>
17490 /* Override any gcc2 internal prototype to avoid an error. */
17491 /* We use char because int might match the return type of a gcc2
17492 builtin and then its argument prototype would still apply. */
17497 /* The GNU C library defines this for functions which it implements
17498 to always fail with ENOSYS. Some functions are actually named
17499 something starting with __ and the normal name is an alias. */
17500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17508 if { (eval echo configure:17509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17510 eval "ac_cv_func_$ac_func=yes"
17512 echo "configure: failed program was:" >&5
17513 cat conftest.$ac_ext >&5
17515 eval "ac_cv_func_$ac_func=no"
17520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17521 echo "$ac_t""yes" 1>&6
17522 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17523 cat >> confdefs.h <<EOF
17524 #define $ac_tr_func 1
17528 echo "$ac_t""no" 1>&6
17537 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
17538 echo "configure:17539: checking for log10l declaration" >&5
17539 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
17540 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
17541 echo $ac_n "(cached) $ac_c" 1>&6
17546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17547 ac_cpp='$CXXCPP $CPPFLAGS'
17548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17550 cross_compiling=$ac_cv_prog_cxx_cross
17552 cat > conftest.$ac_ext <<EOF
17553 #line 17554 "configure"
17554 #include "confdefs.h"
17556 #ifdef HAVE_IEEEFP_H
17557 #include <ieeefp.h>
17564 if { (eval echo configure:17565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17566 glibcpp_cv_func_log10l_use=yes
17568 echo "configure: failed program was:" >&5
17569 cat conftest.$ac_ext >&5
17571 glibcpp_cv_func_log10l_use=no
17575 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17576 ac_cpp='$CPP $CPPFLAGS'
17577 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17578 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17579 cross_compiling=$ac_cv_prog_cc_cross
17585 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
17587 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
17588 for ac_func in log10l
17590 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17591 echo "configure:17592: checking for $ac_func" >&5
17592 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17593 echo $ac_n "(cached) $ac_c" 1>&6
17595 cat > conftest.$ac_ext <<EOF
17596 #line 17597 "configure"
17597 #include "confdefs.h"
17598 /* System header to define __stub macros and hopefully few prototypes,
17599 which can conflict with char $ac_func(); below. */
17600 #include <assert.h>
17601 /* Override any gcc2 internal prototype to avoid an error. */
17602 /* We use char because int might match the return type of a gcc2
17603 builtin and then its argument prototype would still apply. */
17608 /* The GNU C library defines this for functions which it implements
17609 to always fail with ENOSYS. Some functions are actually named
17610 something starting with __ and the normal name is an alias. */
17611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17619 if { (eval echo configure:17620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17621 eval "ac_cv_func_$ac_func=yes"
17623 echo "configure: failed program was:" >&5
17624 cat conftest.$ac_ext >&5
17626 eval "ac_cv_func_$ac_func=no"
17631 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17632 echo "$ac_t""yes" 1>&6
17633 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17634 cat >> confdefs.h <<EOF
17635 #define $ac_tr_func 1
17639 echo "$ac_t""no" 1>&6
17645 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
17646 echo "configure:17647: checking for _log10l declaration" >&5
17647 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
17648 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
17649 echo $ac_n "(cached) $ac_c" 1>&6
17654 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17655 ac_cpp='$CXXCPP $CPPFLAGS'
17656 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17657 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17658 cross_compiling=$ac_cv_prog_cxx_cross
17660 cat > conftest.$ac_ext <<EOF
17661 #line 17662 "configure"
17662 #include "confdefs.h"
17664 #ifdef HAVE_IEEEFP_H
17665 #include <ieeefp.h>
17672 if { (eval echo configure:17673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17674 glibcpp_cv_func__log10l_use=yes
17676 echo "configure: failed program was:" >&5
17677 cat conftest.$ac_ext >&5
17679 glibcpp_cv_func__log10l_use=no
17683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17684 ac_cpp='$CPP $CPPFLAGS'
17685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17687 cross_compiling=$ac_cv_prog_cc_cross
17693 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17695 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17696 for ac_func in _log10l
17698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17699 echo "configure:17700: checking for $ac_func" >&5
17700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17701 echo $ac_n "(cached) $ac_c" 1>&6
17703 cat > conftest.$ac_ext <<EOF
17704 #line 17705 "configure"
17705 #include "confdefs.h"
17706 /* System header to define __stub macros and hopefully few prototypes,
17707 which can conflict with char $ac_func(); below. */
17708 #include <assert.h>
17709 /* Override any gcc2 internal prototype to avoid an error. */
17710 /* We use char because int might match the return type of a gcc2
17711 builtin and then its argument prototype would still apply. */
17716 /* The GNU C library defines this for functions which it implements
17717 to always fail with ENOSYS. Some functions are actually named
17718 something starting with __ and the normal name is an alias. */
17719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17727 if { (eval echo configure:17728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17729 eval "ac_cv_func_$ac_func=yes"
17731 echo "configure: failed program was:" >&5
17732 cat conftest.$ac_ext >&5
17734 eval "ac_cv_func_$ac_func=no"
17739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17740 echo "$ac_t""yes" 1>&6
17741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17742 cat >> confdefs.h <<EOF
17743 #define $ac_tr_func 1
17747 echo "$ac_t""no" 1>&6
17756 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17757 echo "configure:17758: checking for modfl declaration" >&5
17758 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17759 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17760 echo $ac_n "(cached) $ac_c" 1>&6
17765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17766 ac_cpp='$CXXCPP $CPPFLAGS'
17767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17769 cross_compiling=$ac_cv_prog_cxx_cross
17771 cat > conftest.$ac_ext <<EOF
17772 #line 17773 "configure"
17773 #include "confdefs.h"
17779 if { (eval echo configure:17780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17781 glibcpp_cv_func_modfl_use=yes
17783 echo "configure: failed program was:" >&5
17784 cat conftest.$ac_ext >&5
17786 glibcpp_cv_func_modfl_use=no
17790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17791 ac_cpp='$CPP $CPPFLAGS'
17792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17794 cross_compiling=$ac_cv_prog_cc_cross
17800 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17802 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17803 for ac_func in modfl
17805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17806 echo "configure:17807: checking for $ac_func" >&5
17807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17808 echo $ac_n "(cached) $ac_c" 1>&6
17810 cat > conftest.$ac_ext <<EOF
17811 #line 17812 "configure"
17812 #include "confdefs.h"
17813 /* System header to define __stub macros and hopefully few prototypes,
17814 which can conflict with char $ac_func(); below. */
17815 #include <assert.h>
17816 /* Override any gcc2 internal prototype to avoid an error. */
17817 /* We use char because int might match the return type of a gcc2
17818 builtin and then its argument prototype would still apply. */
17823 /* The GNU C library defines this for functions which it implements
17824 to always fail with ENOSYS. Some functions are actually named
17825 something starting with __ and the normal name is an alias. */
17826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17834 if { (eval echo configure:17835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17836 eval "ac_cv_func_$ac_func=yes"
17838 echo "configure: failed program was:" >&5
17839 cat conftest.$ac_ext >&5
17841 eval "ac_cv_func_$ac_func=no"
17846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17847 echo "$ac_t""yes" 1>&6
17848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17849 cat >> confdefs.h <<EOF
17850 #define $ac_tr_func 1
17854 echo "$ac_t""no" 1>&6
17860 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
17861 echo "configure:17862: checking for _modfl declaration" >&5
17862 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
17863 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
17864 echo $ac_n "(cached) $ac_c" 1>&6
17869 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17870 ac_cpp='$CXXCPP $CPPFLAGS'
17871 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17872 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17873 cross_compiling=$ac_cv_prog_cxx_cross
17875 cat > conftest.$ac_ext <<EOF
17876 #line 17877 "configure"
17877 #include "confdefs.h"
17883 if { (eval echo configure:17884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17885 glibcpp_cv_func__modfl_use=yes
17887 echo "configure: failed program was:" >&5
17888 cat conftest.$ac_ext >&5
17890 glibcpp_cv_func__modfl_use=no
17894 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17895 ac_cpp='$CPP $CPPFLAGS'
17896 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17897 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17898 cross_compiling=$ac_cv_prog_cc_cross
17904 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
17906 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
17907 for ac_func in _modfl
17909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17910 echo "configure:17911: checking for $ac_func" >&5
17911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17912 echo $ac_n "(cached) $ac_c" 1>&6
17914 cat > conftest.$ac_ext <<EOF
17915 #line 17916 "configure"
17916 #include "confdefs.h"
17917 /* System header to define __stub macros and hopefully few prototypes,
17918 which can conflict with char $ac_func(); below. */
17919 #include <assert.h>
17920 /* Override any gcc2 internal prototype to avoid an error. */
17921 /* We use char because int might match the return type of a gcc2
17922 builtin and then its argument prototype would still apply. */
17927 /* The GNU C library defines this for functions which it implements
17928 to always fail with ENOSYS. Some functions are actually named
17929 something starting with __ and the normal name is an alias. */
17930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17938 if { (eval echo configure:17939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17940 eval "ac_cv_func_$ac_func=yes"
17942 echo "configure: failed program was:" >&5
17943 cat conftest.$ac_ext >&5
17945 eval "ac_cv_func_$ac_func=no"
17950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17951 echo "$ac_t""yes" 1>&6
17952 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17953 cat >> confdefs.h <<EOF
17954 #define $ac_tr_func 1
17958 echo "$ac_t""no" 1>&6
17967 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
17968 echo "configure:17969: checking for powl declaration" >&5
17969 if test x${glibcpp_cv_func_powl_use+set} != xset; then
17970 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
17971 echo $ac_n "(cached) $ac_c" 1>&6
17976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17977 ac_cpp='$CXXCPP $CPPFLAGS'
17978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17980 cross_compiling=$ac_cv_prog_cxx_cross
17982 cat > conftest.$ac_ext <<EOF
17983 #line 17984 "configure"
17984 #include "confdefs.h"
17990 if { (eval echo configure:17991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17992 glibcpp_cv_func_powl_use=yes
17994 echo "configure: failed program was:" >&5
17995 cat conftest.$ac_ext >&5
17997 glibcpp_cv_func_powl_use=no
18001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18002 ac_cpp='$CPP $CPPFLAGS'
18003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18005 cross_compiling=$ac_cv_prog_cc_cross
18011 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
18013 if test x$glibcpp_cv_func_powl_use = x"yes"; then
18014 for ac_func in powl
18016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18017 echo "configure:18018: checking for $ac_func" >&5
18018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18019 echo $ac_n "(cached) $ac_c" 1>&6
18021 cat > conftest.$ac_ext <<EOF
18022 #line 18023 "configure"
18023 #include "confdefs.h"
18024 /* System header to define __stub macros and hopefully few prototypes,
18025 which can conflict with char $ac_func(); below. */
18026 #include <assert.h>
18027 /* Override any gcc2 internal prototype to avoid an error. */
18028 /* We use char because int might match the return type of a gcc2
18029 builtin and then its argument prototype would still apply. */
18034 /* The GNU C library defines this for functions which it implements
18035 to always fail with ENOSYS. Some functions are actually named
18036 something starting with __ and the normal name is an alias. */
18037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18045 if { (eval echo configure:18046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18047 eval "ac_cv_func_$ac_func=yes"
18049 echo "configure: failed program was:" >&5
18050 cat conftest.$ac_ext >&5
18052 eval "ac_cv_func_$ac_func=no"
18057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18058 echo "$ac_t""yes" 1>&6
18059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18060 cat >> confdefs.h <<EOF
18061 #define $ac_tr_func 1
18065 echo "$ac_t""no" 1>&6
18071 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
18072 echo "configure:18073: checking for _powl declaration" >&5
18073 if test x${glibcpp_cv_func__powl_use+set} != xset; then
18074 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
18075 echo $ac_n "(cached) $ac_c" 1>&6
18080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18081 ac_cpp='$CXXCPP $CPPFLAGS'
18082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18084 cross_compiling=$ac_cv_prog_cxx_cross
18086 cat > conftest.$ac_ext <<EOF
18087 #line 18088 "configure"
18088 #include "confdefs.h"
18094 if { (eval echo configure:18095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18096 glibcpp_cv_func__powl_use=yes
18098 echo "configure: failed program was:" >&5
18099 cat conftest.$ac_ext >&5
18101 glibcpp_cv_func__powl_use=no
18105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18106 ac_cpp='$CPP $CPPFLAGS'
18107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18109 cross_compiling=$ac_cv_prog_cc_cross
18115 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
18117 if test x$glibcpp_cv_func__powl_use = x"yes"; then
18118 for ac_func in _powl
18120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18121 echo "configure:18122: checking for $ac_func" >&5
18122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18123 echo $ac_n "(cached) $ac_c" 1>&6
18125 cat > conftest.$ac_ext <<EOF
18126 #line 18127 "configure"
18127 #include "confdefs.h"
18128 /* System header to define __stub macros and hopefully few prototypes,
18129 which can conflict with char $ac_func(); below. */
18130 #include <assert.h>
18131 /* Override any gcc2 internal prototype to avoid an error. */
18132 /* We use char because int might match the return type of a gcc2
18133 builtin and then its argument prototype would still apply. */
18138 /* The GNU C library defines this for functions which it implements
18139 to always fail with ENOSYS. Some functions are actually named
18140 something starting with __ and the normal name is an alias. */
18141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18149 if { (eval echo configure:18150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18151 eval "ac_cv_func_$ac_func=yes"
18153 echo "configure: failed program was:" >&5
18154 cat conftest.$ac_ext >&5
18156 eval "ac_cv_func_$ac_func=no"
18161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18162 echo "$ac_t""yes" 1>&6
18163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18164 cat >> confdefs.h <<EOF
18165 #define $ac_tr_func 1
18169 echo "$ac_t""no" 1>&6
18178 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
18179 echo "configure:18180: checking for sqrtl declaration" >&5
18180 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
18181 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
18182 echo $ac_n "(cached) $ac_c" 1>&6
18187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18188 ac_cpp='$CXXCPP $CPPFLAGS'
18189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18191 cross_compiling=$ac_cv_prog_cxx_cross
18193 cat > conftest.$ac_ext <<EOF
18194 #line 18195 "configure"
18195 #include "confdefs.h"
18197 #ifdef HAVE_IEEEFP_H
18198 #include <ieeefp.h>
18205 if { (eval echo configure:18206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18207 glibcpp_cv_func_sqrtl_use=yes
18209 echo "configure: failed program was:" >&5
18210 cat conftest.$ac_ext >&5
18212 glibcpp_cv_func_sqrtl_use=no
18216 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18217 ac_cpp='$CPP $CPPFLAGS'
18218 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18219 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18220 cross_compiling=$ac_cv_prog_cc_cross
18226 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
18228 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
18229 for ac_func in sqrtl
18231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18232 echo "configure:18233: checking for $ac_func" >&5
18233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18234 echo $ac_n "(cached) $ac_c" 1>&6
18236 cat > conftest.$ac_ext <<EOF
18237 #line 18238 "configure"
18238 #include "confdefs.h"
18239 /* System header to define __stub macros and hopefully few prototypes,
18240 which can conflict with char $ac_func(); below. */
18241 #include <assert.h>
18242 /* Override any gcc2 internal prototype to avoid an error. */
18243 /* We use char because int might match the return type of a gcc2
18244 builtin and then its argument prototype would still apply. */
18249 /* The GNU C library defines this for functions which it implements
18250 to always fail with ENOSYS. Some functions are actually named
18251 something starting with __ and the normal name is an alias. */
18252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18260 if { (eval echo configure:18261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18262 eval "ac_cv_func_$ac_func=yes"
18264 echo "configure: failed program was:" >&5
18265 cat conftest.$ac_ext >&5
18267 eval "ac_cv_func_$ac_func=no"
18272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18273 echo "$ac_t""yes" 1>&6
18274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18275 cat >> confdefs.h <<EOF
18276 #define $ac_tr_func 1
18280 echo "$ac_t""no" 1>&6
18286 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
18287 echo "configure:18288: checking for _sqrtl declaration" >&5
18288 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
18289 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
18290 echo $ac_n "(cached) $ac_c" 1>&6
18295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18296 ac_cpp='$CXXCPP $CPPFLAGS'
18297 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18298 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18299 cross_compiling=$ac_cv_prog_cxx_cross
18301 cat > conftest.$ac_ext <<EOF
18302 #line 18303 "configure"
18303 #include "confdefs.h"
18305 #ifdef HAVE_IEEEFP_H
18306 #include <ieeefp.h>
18313 if { (eval echo configure:18314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18315 glibcpp_cv_func__sqrtl_use=yes
18317 echo "configure: failed program was:" >&5
18318 cat conftest.$ac_ext >&5
18320 glibcpp_cv_func__sqrtl_use=no
18324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18325 ac_cpp='$CPP $CPPFLAGS'
18326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18328 cross_compiling=$ac_cv_prog_cc_cross
18334 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
18336 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
18337 for ac_func in _sqrtl
18339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18340 echo "configure:18341: checking for $ac_func" >&5
18341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18342 echo $ac_n "(cached) $ac_c" 1>&6
18344 cat > conftest.$ac_ext <<EOF
18345 #line 18346 "configure"
18346 #include "confdefs.h"
18347 /* System header to define __stub macros and hopefully few prototypes,
18348 which can conflict with char $ac_func(); below. */
18349 #include <assert.h>
18350 /* Override any gcc2 internal prototype to avoid an error. */
18351 /* We use char because int might match the return type of a gcc2
18352 builtin and then its argument prototype would still apply. */
18357 /* The GNU C library defines this for functions which it implements
18358 to always fail with ENOSYS. Some functions are actually named
18359 something starting with __ and the normal name is an alias. */
18360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18368 if { (eval echo configure:18369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18370 eval "ac_cv_func_$ac_func=yes"
18372 echo "configure: failed program was:" >&5
18373 cat conftest.$ac_ext >&5
18375 eval "ac_cv_func_$ac_func=no"
18380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18381 echo "$ac_t""yes" 1>&6
18382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18383 cat >> confdefs.h <<EOF
18384 #define $ac_tr_func 1
18388 echo "$ac_t""no" 1>&6
18397 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
18398 echo "configure:18399: checking for sincosl declaration" >&5
18399 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
18400 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
18401 echo $ac_n "(cached) $ac_c" 1>&6
18406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18407 ac_cpp='$CXXCPP $CPPFLAGS'
18408 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18409 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18410 cross_compiling=$ac_cv_prog_cxx_cross
18412 cat > conftest.$ac_ext <<EOF
18413 #line 18414 "configure"
18414 #include "confdefs.h"
18420 if { (eval echo configure:18421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18422 glibcpp_cv_func_sincosl_use=yes
18424 echo "configure: failed program was:" >&5
18425 cat conftest.$ac_ext >&5
18427 glibcpp_cv_func_sincosl_use=no
18431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18435 cross_compiling=$ac_cv_prog_cc_cross
18441 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
18443 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
18444 for ac_func in sincosl
18446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18447 echo "configure:18448: checking for $ac_func" >&5
18448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18449 echo $ac_n "(cached) $ac_c" 1>&6
18451 cat > conftest.$ac_ext <<EOF
18452 #line 18453 "configure"
18453 #include "confdefs.h"
18454 /* System header to define __stub macros and hopefully few prototypes,
18455 which can conflict with char $ac_func(); below. */
18456 #include <assert.h>
18457 /* Override any gcc2 internal prototype to avoid an error. */
18458 /* We use char because int might match the return type of a gcc2
18459 builtin and then its argument prototype would still apply. */
18464 /* The GNU C library defines this for functions which it implements
18465 to always fail with ENOSYS. Some functions are actually named
18466 something starting with __ and the normal name is an alias. */
18467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18475 if { (eval echo configure:18476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18477 eval "ac_cv_func_$ac_func=yes"
18479 echo "configure: failed program was:" >&5
18480 cat conftest.$ac_ext >&5
18482 eval "ac_cv_func_$ac_func=no"
18487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18488 echo "$ac_t""yes" 1>&6
18489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18490 cat >> confdefs.h <<EOF
18491 #define $ac_tr_func 1
18495 echo "$ac_t""no" 1>&6
18501 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
18502 echo "configure:18503: checking for _sincosl declaration" >&5
18503 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
18504 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
18505 echo $ac_n "(cached) $ac_c" 1>&6
18510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18511 ac_cpp='$CXXCPP $CPPFLAGS'
18512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18514 cross_compiling=$ac_cv_prog_cxx_cross
18516 cat > conftest.$ac_ext <<EOF
18517 #line 18518 "configure"
18518 #include "confdefs.h"
18524 if { (eval echo configure:18525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18526 glibcpp_cv_func__sincosl_use=yes
18528 echo "configure: failed program was:" >&5
18529 cat conftest.$ac_ext >&5
18531 glibcpp_cv_func__sincosl_use=no
18535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18536 ac_cpp='$CPP $CPPFLAGS'
18537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18539 cross_compiling=$ac_cv_prog_cc_cross
18545 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
18547 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
18548 for ac_func in _sincosl
18550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18551 echo "configure:18552: checking for $ac_func" >&5
18552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18553 echo $ac_n "(cached) $ac_c" 1>&6
18555 cat > conftest.$ac_ext <<EOF
18556 #line 18557 "configure"
18557 #include "confdefs.h"
18558 /* System header to define __stub macros and hopefully few prototypes,
18559 which can conflict with char $ac_func(); below. */
18560 #include <assert.h>
18561 /* Override any gcc2 internal prototype to avoid an error. */
18562 /* We use char because int might match the return type of a gcc2
18563 builtin and then its argument prototype would still apply. */
18568 /* The GNU C library defines this for functions which it implements
18569 to always fail with ENOSYS. Some functions are actually named
18570 something starting with __ and the normal name is an alias. */
18571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18579 if { (eval echo configure:18580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18581 eval "ac_cv_func_$ac_func=yes"
18583 echo "configure: failed program was:" >&5
18584 cat conftest.$ac_ext >&5
18586 eval "ac_cv_func_$ac_func=no"
18591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18592 echo "$ac_t""yes" 1>&6
18593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18594 cat >> confdefs.h <<EOF
18595 #define $ac_tr_func 1
18599 echo "$ac_t""no" 1>&6
18608 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
18609 echo "configure:18610: checking for finitel declaration" >&5
18610 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
18611 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
18612 echo $ac_n "(cached) $ac_c" 1>&6
18617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18618 ac_cpp='$CXXCPP $CPPFLAGS'
18619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18621 cross_compiling=$ac_cv_prog_cxx_cross
18623 cat > conftest.$ac_ext <<EOF
18624 #line 18625 "configure"
18625 #include "confdefs.h"
18627 #ifdef HAVE_IEEEFP_H
18628 #include <ieeefp.h>
18635 if { (eval echo configure:18636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18637 glibcpp_cv_func_finitel_use=yes
18639 echo "configure: failed program was:" >&5
18640 cat conftest.$ac_ext >&5
18642 glibcpp_cv_func_finitel_use=no
18646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18647 ac_cpp='$CPP $CPPFLAGS'
18648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18650 cross_compiling=$ac_cv_prog_cc_cross
18656 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
18658 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
18659 for ac_func in finitel
18661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18662 echo "configure:18663: checking for $ac_func" >&5
18663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18664 echo $ac_n "(cached) $ac_c" 1>&6
18666 cat > conftest.$ac_ext <<EOF
18667 #line 18668 "configure"
18668 #include "confdefs.h"
18669 /* System header to define __stub macros and hopefully few prototypes,
18670 which can conflict with char $ac_func(); below. */
18671 #include <assert.h>
18672 /* Override any gcc2 internal prototype to avoid an error. */
18673 /* We use char because int might match the return type of a gcc2
18674 builtin and then its argument prototype would still apply. */
18679 /* The GNU C library defines this for functions which it implements
18680 to always fail with ENOSYS. Some functions are actually named
18681 something starting with __ and the normal name is an alias. */
18682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18690 if { (eval echo configure:18691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18692 eval "ac_cv_func_$ac_func=yes"
18694 echo "configure: failed program was:" >&5
18695 cat conftest.$ac_ext >&5
18697 eval "ac_cv_func_$ac_func=no"
18702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18703 echo "$ac_t""yes" 1>&6
18704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18705 cat >> confdefs.h <<EOF
18706 #define $ac_tr_func 1
18710 echo "$ac_t""no" 1>&6
18716 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18717 echo "configure:18718: checking for _finitel declaration" >&5
18718 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18719 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18720 echo $ac_n "(cached) $ac_c" 1>&6
18725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18726 ac_cpp='$CXXCPP $CPPFLAGS'
18727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18729 cross_compiling=$ac_cv_prog_cxx_cross
18731 cat > conftest.$ac_ext <<EOF
18732 #line 18733 "configure"
18733 #include "confdefs.h"
18735 #ifdef HAVE_IEEEFP_H
18736 #include <ieeefp.h>
18743 if { (eval echo configure:18744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18745 glibcpp_cv_func__finitel_use=yes
18747 echo "configure: failed program was:" >&5
18748 cat conftest.$ac_ext >&5
18750 glibcpp_cv_func__finitel_use=no
18754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18755 ac_cpp='$CPP $CPPFLAGS'
18756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18758 cross_compiling=$ac_cv_prog_cc_cross
18764 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18766 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18767 for ac_func in _finitel
18769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18770 echo "configure:18771: checking for $ac_func" >&5
18771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18772 echo $ac_n "(cached) $ac_c" 1>&6
18774 cat > conftest.$ac_ext <<EOF
18775 #line 18776 "configure"
18776 #include "confdefs.h"
18777 /* System header to define __stub macros and hopefully few prototypes,
18778 which can conflict with char $ac_func(); below. */
18779 #include <assert.h>
18780 /* Override any gcc2 internal prototype to avoid an error. */
18781 /* We use char because int might match the return type of a gcc2
18782 builtin and then its argument prototype would still apply. */
18787 /* The GNU C library defines this for functions which it implements
18788 to always fail with ENOSYS. Some functions are actually named
18789 something starting with __ and the normal name is an alias. */
18790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18798 if { (eval echo configure:18799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18800 eval "ac_cv_func_$ac_func=yes"
18802 echo "configure: failed program was:" >&5
18803 cat conftest.$ac_ext >&5
18805 eval "ac_cv_func_$ac_func=no"
18810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18811 echo "$ac_t""yes" 1>&6
18812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18813 cat >> confdefs.h <<EOF
18814 #define $ac_tr_func 1
18818 echo "$ac_t""no" 1>&6
18828 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
18829 echo "configure:18830: checking for _float trig functions" >&5
18830 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
18831 echo $ac_n "(cached) $ac_c" 1>&6
18836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18837 ac_cpp='$CXXCPP $CPPFLAGS'
18838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18840 cross_compiling=$ac_cv_prog_cxx_cross
18842 cat > conftest.$ac_ext <<EOF
18843 #line 18844 "configure"
18844 #include "confdefs.h"
18847 `for x in _acosf _asinf _atanf \
18848 _cosf _sinf _tanf \
18849 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
18852 if { (eval echo configure:18853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18854 glibcpp_cv_func__float_trig_use=yes
18856 echo "configure: failed program was:" >&5
18857 cat conftest.$ac_ext >&5
18859 glibcpp_cv_func__float_trig_use=no
18863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18864 ac_cpp='$CPP $CPPFLAGS'
18865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18867 cross_compiling=$ac_cv_prog_cc_cross
18871 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
18872 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
18873 for ac_func in _acosf _asinf _atanf \
18874 _cosf _sinf _tanf \
18875 _coshf _sinhf _tanhf
18877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18878 echo "configure:18879: checking for $ac_func" >&5
18879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18880 echo $ac_n "(cached) $ac_c" 1>&6
18882 cat > conftest.$ac_ext <<EOF
18883 #line 18884 "configure"
18884 #include "confdefs.h"
18885 /* System header to define __stub macros and hopefully few prototypes,
18886 which can conflict with char $ac_func(); below. */
18887 #include <assert.h>
18888 /* Override any gcc2 internal prototype to avoid an error. */
18889 /* We use char because int might match the return type of a gcc2
18890 builtin and then its argument prototype would still apply. */
18895 /* The GNU C library defines this for functions which it implements
18896 to always fail with ENOSYS. Some functions are actually named
18897 something starting with __ and the normal name is an alias. */
18898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18906 if { (eval echo configure:18907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18908 eval "ac_cv_func_$ac_func=yes"
18910 echo "configure: failed program was:" >&5
18911 cat conftest.$ac_ext >&5
18913 eval "ac_cv_func_$ac_func=no"
18918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18919 echo "$ac_t""yes" 1>&6
18920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18921 cat >> confdefs.h <<EOF
18922 #define $ac_tr_func 1
18926 echo "$ac_t""no" 1>&6
18933 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
18934 echo "configure:18935: checking for _float round functions" >&5
18935 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
18936 echo $ac_n "(cached) $ac_c" 1>&6
18941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18945 cross_compiling=$ac_cv_prog_cxx_cross
18947 cat > conftest.$ac_ext <<EOF
18948 #line 18949 "configure"
18949 #include "confdefs.h"
18952 `for x in _ceilf _floorf; do echo "$x (0);"; done`
18955 if { (eval echo configure:18956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18957 glibcpp_cv_func__float_round_use=yes
18959 echo "configure: failed program was:" >&5
18960 cat conftest.$ac_ext >&5
18962 glibcpp_cv_func__float_round_use=no
18966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18967 ac_cpp='$CPP $CPPFLAGS'
18968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18970 cross_compiling=$ac_cv_prog_cc_cross
18974 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
18975 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
18976 for ac_func in _ceilf _floorf
18978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18979 echo "configure:18980: checking for $ac_func" >&5
18980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18981 echo $ac_n "(cached) $ac_c" 1>&6
18983 cat > conftest.$ac_ext <<EOF
18984 #line 18985 "configure"
18985 #include "confdefs.h"
18986 /* System header to define __stub macros and hopefully few prototypes,
18987 which can conflict with char $ac_func(); below. */
18988 #include <assert.h>
18989 /* Override any gcc2 internal prototype to avoid an error. */
18990 /* We use char because int might match the return type of a gcc2
18991 builtin and then its argument prototype would still apply. */
18996 /* The GNU C library defines this for functions which it implements
18997 to always fail with ENOSYS. Some functions are actually named
18998 something starting with __ and the normal name is an alias. */
18999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19007 if { (eval echo configure:19008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19009 eval "ac_cv_func_$ac_func=yes"
19011 echo "configure: failed program was:" >&5
19012 cat conftest.$ac_ext >&5
19014 eval "ac_cv_func_$ac_func=no"
19019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19020 echo "$ac_t""yes" 1>&6
19021 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19022 cat >> confdefs.h <<EOF
19023 #define $ac_tr_func 1
19027 echo "$ac_t""no" 1>&6
19035 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
19036 echo "configure:19037: checking for _long double trig functions" >&5
19037 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
19038 echo $ac_n "(cached) $ac_c" 1>&6
19043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19044 ac_cpp='$CXXCPP $CPPFLAGS'
19045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19047 cross_compiling=$ac_cv_prog_cxx_cross
19049 cat > conftest.$ac_ext <<EOF
19050 #line 19051 "configure"
19051 #include "confdefs.h"
19054 `for x in _acosl _asinl _atanl \
19055 _cosl _sinl _tanl \
19056 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
19059 if { (eval echo configure:19060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19061 glibcpp_cv_func__long_double_trig_use=yes
19063 echo "configure: failed program was:" >&5
19064 cat conftest.$ac_ext >&5
19066 glibcpp_cv_func__long_double_trig_use=no
19070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19071 ac_cpp='$CPP $CPPFLAGS'
19072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19074 cross_compiling=$ac_cv_prog_cc_cross
19078 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
19079 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
19080 for ac_func in _acosl _asinl _atanl \
19081 _cosl _sinl _tanl \
19082 _coshl _sinhl _tanhl
19084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19085 echo "configure:19086: checking for $ac_func" >&5
19086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19087 echo $ac_n "(cached) $ac_c" 1>&6
19089 cat > conftest.$ac_ext <<EOF
19090 #line 19091 "configure"
19091 #include "confdefs.h"
19092 /* System header to define __stub macros and hopefully few prototypes,
19093 which can conflict with char $ac_func(); below. */
19094 #include <assert.h>
19095 /* Override any gcc2 internal prototype to avoid an error. */
19096 /* We use char because int might match the return type of a gcc2
19097 builtin and then its argument prototype would still apply. */
19102 /* The GNU C library defines this for functions which it implements
19103 to always fail with ENOSYS. Some functions are actually named
19104 something starting with __ and the normal name is an alias. */
19105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19113 if { (eval echo configure:19114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19115 eval "ac_cv_func_$ac_func=yes"
19117 echo "configure: failed program was:" >&5
19118 cat conftest.$ac_ext >&5
19120 eval "ac_cv_func_$ac_func=no"
19125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19126 echo "$ac_t""yes" 1>&6
19127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19128 cat >> confdefs.h <<EOF
19129 #define $ac_tr_func 1
19133 echo "$ac_t""no" 1>&6
19140 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
19141 echo "configure:19142: checking for _long double round functions" >&5
19142 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
19143 echo $ac_n "(cached) $ac_c" 1>&6
19148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19149 ac_cpp='$CXXCPP $CPPFLAGS'
19150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19152 cross_compiling=$ac_cv_prog_cxx_cross
19154 cat > conftest.$ac_ext <<EOF
19155 #line 19156 "configure"
19156 #include "confdefs.h"
19159 `for x in _ceill _floorl; do echo "$x (0);"; done`
19162 if { (eval echo configure:19163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19164 glibcpp_cv_func__long_double_round_use=yes
19166 echo "configure: failed program was:" >&5
19167 cat conftest.$ac_ext >&5
19169 glibcpp_cv_func__long_double_round_use=no
19173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19174 ac_cpp='$CPP $CPPFLAGS'
19175 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19176 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19177 cross_compiling=$ac_cv_prog_cc_cross
19181 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
19182 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
19183 for ac_func in _ceill _floorl
19185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19186 echo "configure:19187: checking for $ac_func" >&5
19187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19188 echo $ac_n "(cached) $ac_c" 1>&6
19190 cat > conftest.$ac_ext <<EOF
19191 #line 19192 "configure"
19192 #include "confdefs.h"
19193 /* System header to define __stub macros and hopefully few prototypes,
19194 which can conflict with char $ac_func(); below. */
19195 #include <assert.h>
19196 /* Override any gcc2 internal prototype to avoid an error. */
19197 /* We use char because int might match the return type of a gcc2
19198 builtin and then its argument prototype would still apply. */
19203 /* The GNU C library defines this for functions which it implements
19204 to always fail with ENOSYS. Some functions are actually named
19205 something starting with __ and the normal name is an alias. */
19206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19214 if { (eval echo configure:19215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19216 eval "ac_cv_func_$ac_func=yes"
19218 echo "configure: failed program was:" >&5
19219 cat conftest.$ac_ext >&5
19221 eval "ac_cv_func_$ac_func=no"
19226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19227 echo "$ac_t""yes" 1>&6
19228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19229 cat >> confdefs.h <<EOF
19230 #define $ac_tr_func 1
19234 echo "$ac_t""no" 1>&6
19241 LIBS="$ac_save_LIBS"
19242 CXXFLAGS="$ac_save_CXXFLAGS"
19245 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
19246 echo "configure:19247: checking for main in -lm" >&5
19247 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
19248 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19249 echo $ac_n "(cached) $ac_c" 1>&6
19251 ac_save_LIBS="$LIBS"
19253 cat > conftest.$ac_ext <<EOF
19254 #line 19255 "configure"
19255 #include "confdefs.h"
19261 if { (eval echo configure:19262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19263 eval "ac_cv_lib_$ac_lib_var=yes"
19265 echo "configure: failed program was:" >&5
19266 cat conftest.$ac_ext >&5
19268 eval "ac_cv_lib_$ac_lib_var=no"
19271 LIBS="$ac_save_LIBS"
19274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19275 echo "$ac_t""yes" 1>&6
19276 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19277 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19278 cat >> confdefs.h <<EOF
19279 #define $ac_tr_lib 1
19285 echo "$ac_t""no" 1>&6
19288 for ac_func in nan copysignf
19290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19291 echo "configure:19292: checking for $ac_func" >&5
19292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19293 echo $ac_n "(cached) $ac_c" 1>&6
19295 cat > conftest.$ac_ext <<EOF
19296 #line 19297 "configure"
19297 #include "confdefs.h"
19298 /* System header to define __stub macros and hopefully few prototypes,
19299 which can conflict with char $ac_func(); below. */
19300 #include <assert.h>
19301 /* Override any gcc2 internal prototype to avoid an error. */
19302 /* We use char because int might match the return type of a gcc2
19303 builtin and then its argument prototype would still apply. */
19308 /* The GNU C library defines this for functions which it implements
19309 to always fail with ENOSYS. Some functions are actually named
19310 something starting with __ and the normal name is an alias. */
19311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19319 if { (eval echo configure:19320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19321 eval "ac_cv_func_$ac_func=yes"
19323 echo "configure: failed program was:" >&5
19324 cat conftest.$ac_ext >&5
19326 eval "ac_cv_func_$ac_func=no"
19331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19332 echo "$ac_t""yes" 1>&6
19333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19334 cat >> confdefs.h <<EOF
19335 #define $ac_tr_func 1
19339 echo "$ac_t""no" 1>&6
19340 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
19345 for ac_func in __signbit
19347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19348 echo "configure:19349: checking for $ac_func" >&5
19349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19350 echo $ac_n "(cached) $ac_c" 1>&6
19352 cat > conftest.$ac_ext <<EOF
19353 #line 19354 "configure"
19354 #include "confdefs.h"
19355 /* System header to define __stub macros and hopefully few prototypes,
19356 which can conflict with char $ac_func(); below. */
19357 #include <assert.h>
19358 /* Override any gcc2 internal prototype to avoid an error. */
19359 /* We use char because int might match the return type of a gcc2
19360 builtin and then its argument prototype would still apply. */
19365 /* The GNU C library defines this for functions which it implements
19366 to always fail with ENOSYS. Some functions are actually named
19367 something starting with __ and the normal name is an alias. */
19368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19376 if { (eval echo configure:19377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19378 eval "ac_cv_func_$ac_func=yes"
19380 echo "configure: failed program was:" >&5
19381 cat conftest.$ac_ext >&5
19383 eval "ac_cv_func_$ac_func=no"
19388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19389 echo "$ac_t""yes" 1>&6
19390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19391 cat >> confdefs.h <<EOF
19392 #define $ac_tr_func 1
19396 echo "$ac_t""no" 1>&6
19397 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
19401 for ac_func in __signbitf
19403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19404 echo "configure:19405: checking for $ac_func" >&5
19405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19406 echo $ac_n "(cached) $ac_c" 1>&6
19408 cat > conftest.$ac_ext <<EOF
19409 #line 19410 "configure"
19410 #include "confdefs.h"
19411 /* System header to define __stub macros and hopefully few prototypes,
19412 which can conflict with char $ac_func(); below. */
19413 #include <assert.h>
19414 /* Override any gcc2 internal prototype to avoid an error. */
19415 /* We use char because int might match the return type of a gcc2
19416 builtin and then its argument prototype would still apply. */
19421 /* The GNU C library defines this for functions which it implements
19422 to always fail with ENOSYS. Some functions are actually named
19423 something starting with __ and the normal name is an alias. */
19424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19432 if { (eval echo configure:19433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19434 eval "ac_cv_func_$ac_func=yes"
19436 echo "configure: failed program was:" >&5
19437 cat conftest.$ac_ext >&5
19439 eval "ac_cv_func_$ac_func=no"
19444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19445 echo "$ac_t""yes" 1>&6
19446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19447 cat >> confdefs.h <<EOF
19448 #define $ac_tr_func 1
19452 echo "$ac_t""no" 1>&6
19453 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
19458 if test x$ac_cv_func_copysignl = x"yes"; then
19459 for ac_func in __signbitl
19461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19462 echo "configure:19463: checking for $ac_func" >&5
19463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19464 echo $ac_n "(cached) $ac_c" 1>&6
19466 cat > conftest.$ac_ext <<EOF
19467 #line 19468 "configure"
19468 #include "confdefs.h"
19469 /* System header to define __stub macros and hopefully few prototypes,
19470 which can conflict with char $ac_func(); below. */
19471 #include <assert.h>
19472 /* Override any gcc2 internal prototype to avoid an error. */
19473 /* We use char because int might match the return type of a gcc2
19474 builtin and then its argument prototype would still apply. */
19479 /* The GNU C library defines this for functions which it implements
19480 to always fail with ENOSYS. Some functions are actually named
19481 something starting with __ and the normal name is an alias. */
19482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19490 if { (eval echo configure:19491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19492 eval "ac_cv_func_$ac_func=yes"
19494 echo "configure: failed program was:" >&5
19495 cat conftest.$ac_ext >&5
19497 eval "ac_cv_func_$ac_func=no"
19502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19503 echo "$ac_t""yes" 1>&6
19504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19505 cat >> confdefs.h <<EOF
19506 #define $ac_tr_func 1
19510 echo "$ac_t""no" 1>&6
19511 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
19521 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
19522 echo "configure:19523: checking for mbstate_t" >&5
19523 cat > conftest.$ac_ext <<EOF
19524 #line 19525 "configure"
19525 #include "confdefs.h"
19528 mbstate_t teststate;
19531 if { (eval echo configure:19532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19535 echo "configure: failed program was:" >&5
19536 cat conftest.$ac_ext >&5
19541 echo "$ac_t""$have_mbstate_t" 1>&6
19542 if test x"$have_mbstate_t" = xyes; then
19543 cat >> confdefs.h <<\EOF
19544 #define HAVE_MBSTATE_T 1
19549 for ac_hdr in wchar.h
19551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19553 echo "configure:19554: checking for $ac_hdr" >&5
19554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19555 echo $ac_n "(cached) $ac_c" 1>&6
19557 cat > conftest.$ac_ext <<EOF
19558 #line 19559 "configure"
19559 #include "confdefs.h"
19562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19563 { (eval echo configure:19564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19565 if test -z "$ac_err"; then
19567 eval "ac_cv_header_$ac_safe=yes"
19570 echo "configure: failed program was:" >&5
19571 cat conftest.$ac_ext >&5
19573 eval "ac_cv_header_$ac_safe=no"
19577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19578 echo "$ac_t""yes" 1>&6
19579 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19580 cat >> confdefs.h <<EOF
19581 #define $ac_tr_hdr 1
19585 echo "$ac_t""no" 1>&6
19590 for ac_hdr in wctype.h
19592 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19593 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19594 echo "configure:19595: checking for $ac_hdr" >&5
19595 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19596 echo $ac_n "(cached) $ac_c" 1>&6
19598 cat > conftest.$ac_ext <<EOF
19599 #line 19600 "configure"
19600 #include "confdefs.h"
19603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19604 { (eval echo configure:19605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19606 if test -z "$ac_err"; then
19608 eval "ac_cv_header_$ac_safe=yes"
19611 echo "configure: failed program was:" >&5
19612 cat conftest.$ac_ext >&5
19614 eval "ac_cv_header_$ac_safe=no"
19618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19619 echo "$ac_t""yes" 1>&6
19620 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19621 cat >> confdefs.h <<EOF
19622 #define $ac_tr_hdr 1
19624 ac_has_wctype_h=yes
19626 echo "$ac_t""no" 1>&6
19632 if test x"$ac_has_wchar_h" = xyes &&
19633 test x"$ac_has_wctype_h" = xyes &&
19634 test x"$enable_c_mbchar" != xno; then
19636 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
19637 echo "configure:19638: checking for WCHAR_MIN and WCHAR_MAX" >&5
19638 cat > conftest.$ac_ext <<EOF
19639 #line 19640 "configure"
19640 #include "confdefs.h"
19643 int i = WCHAR_MIN; int j = WCHAR_MAX;
19646 if { (eval echo configure:19647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19648 has_wchar_minmax=yes
19650 echo "configure: failed program was:" >&5
19651 cat conftest.$ac_ext >&5
19653 has_wchar_minmax=no
19656 echo "$ac_t""$has_wchar_minmax" 1>&6
19658 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
19659 echo "configure:19660: checking for WEOF" >&5
19660 cat > conftest.$ac_ext <<EOF
19661 #line 19662 "configure"
19662 #include "confdefs.h"
19665 #include <stddef.h>
19670 if { (eval echo configure:19671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19674 echo "configure: failed program was:" >&5
19675 cat conftest.$ac_ext >&5
19680 echo "$ac_t""$has_weof" 1>&6
19683 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
19685 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19686 echo "configure:19687: checking for $ac_func" >&5
19687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19688 echo $ac_n "(cached) $ac_c" 1>&6
19690 cat > conftest.$ac_ext <<EOF
19691 #line 19692 "configure"
19692 #include "confdefs.h"
19693 /* System header to define __stub macros and hopefully few prototypes,
19694 which can conflict with char $ac_func(); below. */
19695 #include <assert.h>
19696 /* Override any gcc2 internal prototype to avoid an error. */
19697 /* We use char because int might match the return type of a gcc2
19698 builtin and then its argument prototype would still apply. */
19703 /* The GNU C library defines this for functions which it implements
19704 to always fail with ENOSYS. Some functions are actually named
19705 something starting with __ and the normal name is an alias. */
19706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19714 if { (eval echo configure:19715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19716 eval "ac_cv_func_$ac_func=yes"
19718 echo "configure: failed program was:" >&5
19719 cat conftest.$ac_ext >&5
19721 eval "ac_cv_func_$ac_func=no"
19726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19727 echo "$ac_t""yes" 1>&6
19728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19729 cat >> confdefs.h <<EOF
19730 #define $ac_tr_func 1
19734 echo "$ac_t""no" 1>&6
19741 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
19742 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
19743 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
19744 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
19745 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
19746 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
19748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19749 echo "configure:19750: checking for $ac_func" >&5
19750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19751 echo $ac_n "(cached) $ac_c" 1>&6
19753 cat > conftest.$ac_ext <<EOF
19754 #line 19755 "configure"
19755 #include "confdefs.h"
19756 /* System header to define __stub macros and hopefully few prototypes,
19757 which can conflict with char $ac_func(); below. */
19758 #include <assert.h>
19759 /* Override any gcc2 internal prototype to avoid an error. */
19760 /* We use char because int might match the return type of a gcc2
19761 builtin and then its argument prototype would still apply. */
19766 /* The GNU C library defines this for functions which it implements
19767 to always fail with ENOSYS. Some functions are actually named
19768 something starting with __ and the normal name is an alias. */
19769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19777 if { (eval echo configure:19778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19779 eval "ac_cv_func_$ac_func=yes"
19781 echo "configure: failed program was:" >&5
19782 cat conftest.$ac_ext >&5
19784 eval "ac_cv_func_$ac_func=no"
19789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19790 echo "$ac_t""yes" 1>&6
19791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19792 cat >> confdefs.h <<EOF
19793 #define $ac_tr_func 1
19797 echo "$ac_t""no" 1>&6
19804 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
19805 echo "configure:19806: checking for ISO C99 wchar_t support" >&5
19806 if test x"$has_weof" = xyes &&
19807 test x"$has_wchar_minmax" = xyes &&
19808 test x"$ac_wfuncs" = xyes; then
19809 ac_isoC99_wchar_t=yes
19811 ac_isoC99_wchar_t=no
19813 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
19815 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
19816 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
19817 echo "configure:19818: checking for iconv.h" >&5
19818 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19819 echo $ac_n "(cached) $ac_c" 1>&6
19821 cat > conftest.$ac_ext <<EOF
19822 #line 19823 "configure"
19823 #include "confdefs.h"
19826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19827 { (eval echo configure:19828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19829 if test -z "$ac_err"; then
19831 eval "ac_cv_header_$ac_safe=yes"
19834 echo "configure: failed program was:" >&5
19835 cat conftest.$ac_ext >&5
19837 eval "ac_cv_header_$ac_safe=no"
19841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19842 echo "$ac_t""yes" 1>&6
19845 echo "$ac_t""no" 1>&6
19849 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
19850 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
19851 echo "configure:19852: checking for langinfo.h" >&5
19852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19853 echo $ac_n "(cached) $ac_c" 1>&6
19855 cat > conftest.$ac_ext <<EOF
19856 #line 19857 "configure"
19857 #include "confdefs.h"
19858 #include <langinfo.h>
19860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19861 { (eval echo configure:19862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19863 if test -z "$ac_err"; then
19865 eval "ac_cv_header_$ac_safe=yes"
19868 echo "configure: failed program was:" >&5
19869 cat conftest.$ac_ext >&5
19871 eval "ac_cv_header_$ac_safe=no"
19875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19876 echo "$ac_t""yes" 1>&6
19877 ac_has_langinfo_h=yes
19879 echo "$ac_t""no" 1>&6
19880 ac_has_langinfo_h=no
19884 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
19885 echo "configure:19886: checking for iconv in -liconv" >&5
19886 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
19887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19888 echo $ac_n "(cached) $ac_c" 1>&6
19890 ac_save_LIBS="$LIBS"
19891 LIBS="-liconv $LIBS"
19892 cat > conftest.$ac_ext <<EOF
19893 #line 19894 "configure"
19894 #include "confdefs.h"
19895 /* Override any gcc2 internal prototype to avoid an error. */
19896 /* We use char because int might match the return type of a gcc2
19897 builtin and then its argument prototype would still apply. */
19904 if { (eval echo configure:19905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19906 eval "ac_cv_lib_$ac_lib_var=yes"
19908 echo "configure: failed program was:" >&5
19909 cat conftest.$ac_ext >&5
19911 eval "ac_cv_lib_$ac_lib_var=no"
19914 LIBS="$ac_save_LIBS"
19917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19918 echo "$ac_t""yes" 1>&6
19921 echo "$ac_t""no" 1>&6
19924 ac_save_LIBS="$LIBS"
19925 LIBS="$LIBS $libiconv"
19927 for ac_func in iconv_open iconv_close iconv nl_langinfo
19929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19930 echo "configure:19931: checking for $ac_func" >&5
19931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19932 echo $ac_n "(cached) $ac_c" 1>&6
19934 cat > conftest.$ac_ext <<EOF
19935 #line 19936 "configure"
19936 #include "confdefs.h"
19937 /* System header to define __stub macros and hopefully few prototypes,
19938 which can conflict with char $ac_func(); below. */
19939 #include <assert.h>
19940 /* Override any gcc2 internal prototype to avoid an error. */
19941 /* We use char because int might match the return type of a gcc2
19942 builtin and then its argument prototype would still apply. */
19947 /* The GNU C library defines this for functions which it implements
19948 to always fail with ENOSYS. Some functions are actually named
19949 something starting with __ and the normal name is an alias. */
19950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19958 if { (eval echo configure:19959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19960 eval "ac_cv_func_$ac_func=yes"
19962 echo "configure: failed program was:" >&5
19963 cat conftest.$ac_ext >&5
19965 eval "ac_cv_func_$ac_func=no"
19970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19971 echo "$ac_t""yes" 1>&6
19972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19973 cat >> confdefs.h <<EOF
19974 #define $ac_tr_func 1
19979 echo "$ac_t""no" 1>&6
19985 LIBS="$ac_save_LIBS"
19987 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
19988 echo "configure:19989: checking for XPG2 wchar_t support" >&5
19989 if test x"$ac_has_iconv_h" = xyes &&
19990 test x"$ac_has_langinfo_h" = xyes &&
19991 test x"$ac_XPG2funcs" = xyes; then
19992 ac_XPG2_wchar_t=yes
19996 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
19998 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
19999 echo "configure:20000: checking for enabled wchar_t specializations" >&5
20000 if test x"$ac_isoC99_wchar_t" = xyes &&
20001 test x"$ac_XPG2_wchar_t" = xyes; then
20002 cat >> confdefs.h <<\EOF
20003 #define _GLIBCPP_USE_WCHAR_T 1
20006 echo "$ac_t"""yes"" 1>&6
20008 echo "$ac_t"""no"" 1>&6
20011 echo "configure: warning: wchar_t support disabled." 1>&2
20015 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20016 ac_save_CXXFLAGS="$CXXFLAGS"
20017 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
20020 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
20021 echo "configure:20022: checking for strtold declaration" >&5
20022 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
20023 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
20024 echo $ac_n "(cached) $ac_c" 1>&6
20029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20030 ac_cpp='$CXXCPP $CPPFLAGS'
20031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20033 cross_compiling=$ac_cv_prog_cxx_cross
20035 cat > conftest.$ac_ext <<EOF
20036 #line 20037 "configure"
20037 #include "confdefs.h"
20038 #include <stdlib.h>
20043 if { (eval echo configure:20044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20045 glibcpp_cv_func_strtold_use=yes
20047 echo "configure: failed program was:" >&5
20048 cat conftest.$ac_ext >&5
20050 glibcpp_cv_func_strtold_use=no
20054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20055 ac_cpp='$CPP $CPPFLAGS'
20056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20058 cross_compiling=$ac_cv_prog_cc_cross
20064 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
20065 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
20066 for ac_func in strtold
20068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20069 echo "configure:20070: checking for $ac_func" >&5
20070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20071 echo $ac_n "(cached) $ac_c" 1>&6
20073 cat > conftest.$ac_ext <<EOF
20074 #line 20075 "configure"
20075 #include "confdefs.h"
20076 /* System header to define __stub macros and hopefully few prototypes,
20077 which can conflict with char $ac_func(); below. */
20078 #include <assert.h>
20079 /* Override any gcc2 internal prototype to avoid an error. */
20080 /* We use char because int might match the return type of a gcc2
20081 builtin and then its argument prototype would still apply. */
20086 /* The GNU C library defines this for functions which it implements
20087 to always fail with ENOSYS. Some functions are actually named
20088 something starting with __ and the normal name is an alias. */
20089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20097 if { (eval echo configure:20098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20099 eval "ac_cv_func_$ac_func=yes"
20101 echo "configure: failed program was:" >&5
20102 cat conftest.$ac_ext >&5
20104 eval "ac_cv_func_$ac_func=no"
20109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20110 echo "$ac_t""yes" 1>&6
20111 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20112 cat >> confdefs.h <<EOF
20113 #define $ac_tr_func 1
20117 echo "$ac_t""no" 1>&6
20124 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
20125 echo "configure:20126: checking for strtof declaration" >&5
20126 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
20127 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
20128 echo $ac_n "(cached) $ac_c" 1>&6
20133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20134 ac_cpp='$CXXCPP $CPPFLAGS'
20135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20137 cross_compiling=$ac_cv_prog_cxx_cross
20139 cat > conftest.$ac_ext <<EOF
20140 #line 20141 "configure"
20141 #include "confdefs.h"
20142 #include <stdlib.h>
20147 if { (eval echo configure:20148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20149 glibcpp_cv_func_strtof_use=yes
20151 echo "configure: failed program was:" >&5
20152 cat conftest.$ac_ext >&5
20154 glibcpp_cv_func_strtof_use=no
20158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20159 ac_cpp='$CPP $CPPFLAGS'
20160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20162 cross_compiling=$ac_cv_prog_cc_cross
20168 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
20169 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
20170 for ac_func in strtof
20172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20173 echo "configure:20174: checking for $ac_func" >&5
20174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20175 echo $ac_n "(cached) $ac_c" 1>&6
20177 cat > conftest.$ac_ext <<EOF
20178 #line 20179 "configure"
20179 #include "confdefs.h"
20180 /* System header to define __stub macros and hopefully few prototypes,
20181 which can conflict with char $ac_func(); below. */
20182 #include <assert.h>
20183 /* Override any gcc2 internal prototype to avoid an error. */
20184 /* We use char because int might match the return type of a gcc2
20185 builtin and then its argument prototype would still apply. */
20190 /* The GNU C library defines this for functions which it implements
20191 to always fail with ENOSYS. Some functions are actually named
20192 something starting with __ and the normal name is an alias. */
20193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20201 if { (eval echo configure:20202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20203 eval "ac_cv_func_$ac_func=yes"
20205 echo "configure: failed program was:" >&5
20206 cat conftest.$ac_ext >&5
20208 eval "ac_cv_func_$ac_func=no"
20213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20214 echo "$ac_t""yes" 1>&6
20215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20216 cat >> confdefs.h <<EOF
20217 #define $ac_tr_func 1
20221 echo "$ac_t""no" 1>&6
20227 for ac_func in drand48
20229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20230 echo "configure:20231: checking for $ac_func" >&5
20231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20232 echo $ac_n "(cached) $ac_c" 1>&6
20234 cat > conftest.$ac_ext <<EOF
20235 #line 20236 "configure"
20236 #include "confdefs.h"
20237 /* System header to define __stub macros and hopefully few prototypes,
20238 which can conflict with char $ac_func(); below. */
20239 #include <assert.h>
20240 /* Override any gcc2 internal prototype to avoid an error. */
20241 /* We use char because int might match the return type of a gcc2
20242 builtin and then its argument prototype would still apply. */
20247 /* The GNU C library defines this for functions which it implements
20248 to always fail with ENOSYS. Some functions are actually named
20249 something starting with __ and the normal name is an alias. */
20250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20258 if { (eval echo configure:20259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20260 eval "ac_cv_func_$ac_func=yes"
20262 echo "configure: failed program was:" >&5
20263 cat conftest.$ac_ext >&5
20265 eval "ac_cv_func_$ac_func=no"
20270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20271 echo "$ac_t""yes" 1>&6
20272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20273 cat >> confdefs.h <<EOF
20274 #define $ac_tr_func 1
20278 echo "$ac_t""no" 1>&6
20283 CXXFLAGS="$ac_save_CXXFLAGS"
20286 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
20287 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
20288 echo "configure:20289: checking for locale.h" >&5
20289 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20290 echo $ac_n "(cached) $ac_c" 1>&6
20292 cat > conftest.$ac_ext <<EOF
20293 #line 20294 "configure"
20294 #include "confdefs.h"
20295 #include <locale.h>
20297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20298 { (eval echo configure:20299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20300 if test -z "$ac_err"; then
20302 eval "ac_cv_header_$ac_safe=yes"
20305 echo "configure: failed program was:" >&5
20306 cat conftest.$ac_ext >&5
20308 eval "ac_cv_header_$ac_safe=no"
20312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20313 echo "$ac_t""yes" 1>&6
20315 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
20316 echo "configure:20317: checking for LC_MESSAGES" >&5
20317 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
20318 echo $ac_n "(cached) $ac_c" 1>&6
20320 cat > conftest.$ac_ext <<EOF
20321 #line 20322 "configure"
20322 #include "confdefs.h"
20323 #include <locale.h>
20328 if { (eval echo configure:20329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20330 ac_cv_val_LC_MESSAGES=yes
20332 echo "configure: failed program was:" >&5
20333 cat conftest.$ac_ext >&5
20335 ac_cv_val_LC_MESSAGES=no
20340 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
20341 if test $ac_cv_val_LC_MESSAGES = yes; then
20342 cat >> confdefs.h <<\EOF
20343 #define HAVE_LC_MESSAGES 1
20349 echo "$ac_t""no" 1>&6
20354 cat > conftest.$ac_ext <<EOF
20355 #line 20356 "configure"
20356 #include "confdefs.h"
20358 #include <setjmp.h>
20361 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20364 if { (eval echo configure:20365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20366 cat >> confdefs.h <<\EOF
20367 #define HAVE_SIGSETJMP 1
20372 echo "configure: failed program was:" >&5
20373 cat conftest.$ac_ext >&5
20377 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
20379 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20380 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20381 echo "configure:20382: checking for $ac_hdr" >&5
20382 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20383 echo $ac_n "(cached) $ac_c" 1>&6
20385 cat > conftest.$ac_ext <<EOF
20386 #line 20387 "configure"
20387 #include "confdefs.h"
20390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20391 { (eval echo configure:20392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20393 if test -z "$ac_err"; then
20395 eval "ac_cv_header_$ac_safe=yes"
20398 echo "configure: failed program was:" >&5
20399 cat conftest.$ac_ext >&5
20401 eval "ac_cv_header_$ac_safe=no"
20405 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20406 echo "$ac_t""yes" 1>&6
20407 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20408 cat >> confdefs.h <<EOF
20409 #define $ac_tr_hdr 1
20413 echo "$ac_t""no" 1>&6
20417 for ac_func in getpagesize
20419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20420 echo "configure:20421: checking for $ac_func" >&5
20421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20422 echo $ac_n "(cached) $ac_c" 1>&6
20424 cat > conftest.$ac_ext <<EOF
20425 #line 20426 "configure"
20426 #include "confdefs.h"
20427 /* System header to define __stub macros and hopefully few prototypes,
20428 which can conflict with char $ac_func(); below. */
20429 #include <assert.h>
20430 /* Override any gcc2 internal prototype to avoid an error. */
20431 /* We use char because int might match the return type of a gcc2
20432 builtin and then its argument prototype would still apply. */
20437 /* The GNU C library defines this for functions which it implements
20438 to always fail with ENOSYS. Some functions are actually named
20439 something starting with __ and the normal name is an alias. */
20440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20448 if { (eval echo configure:20449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20450 eval "ac_cv_func_$ac_func=yes"
20452 echo "configure: failed program was:" >&5
20453 cat conftest.$ac_ext >&5
20455 eval "ac_cv_func_$ac_func=no"
20460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20461 echo "$ac_t""yes" 1>&6
20462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20463 cat >> confdefs.h <<EOF
20464 #define $ac_tr_func 1
20468 echo "$ac_t""no" 1>&6
20472 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
20473 echo "configure:20474: checking for working mmap" >&5
20474 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
20475 echo $ac_n "(cached) $ac_c" 1>&6
20477 if test "$cross_compiling" = yes; then
20478 ac_cv_func_mmap_fixed_mapped=no
20480 cat > conftest.$ac_ext <<EOF
20481 #line 20482 "configure"
20482 #include "confdefs.h"
20484 /* Thanks to Mike Haertel and Jim Avera for this test.
20485 Here is a matrix of mmap possibilities:
20486 mmap private not fixed
20487 mmap private fixed at somewhere currently unmapped
20488 mmap private fixed at somewhere already mapped
20489 mmap shared not fixed
20490 mmap shared fixed at somewhere currently unmapped
20491 mmap shared fixed at somewhere already mapped
20492 For private mappings, we should verify that changes cannot be read()
20493 back from the file, nor mmap's back from the file at a different
20494 address. (There have been systems where private was not correctly
20495 implemented like the infamous i386 svr4.0, and systems where the
20496 VM page cache was not coherent with the filesystem buffer cache
20497 like early versions of FreeBSD and possibly contemporary NetBSD.)
20498 For shared mappings, we should conversely verify that changes get
20499 propogated back to all the places they're supposed to be.
20501 Grep wants private fixed already mapped.
20502 The main things grep needs to know about mmap are:
20503 * does it exist and is it safe to write into the mmap'd area
20504 * how to use it (BSD variants) */
20505 #include <sys/types.h>
20507 #include <sys/mman.h>
20509 #if HAVE_SYS_TYPES_H
20510 # include <sys/types.h>
20514 # include <stdlib.h>
20517 #if HAVE_SYS_STAT_H
20518 # include <sys/stat.h>
20522 # include <unistd.h>
20525 /* This mess was copied from the GNU getpagesize.h. */
20526 #ifndef HAVE_GETPAGESIZE
20528 /* Assume that all systems that can run configure have sys/param.h. */
20529 # ifndef HAVE_SYS_PARAM_H
20530 # define HAVE_SYS_PARAM_H 1
20533 # ifdef _SC_PAGESIZE
20534 # define getpagesize() sysconf(_SC_PAGESIZE)
20535 # else /* no _SC_PAGESIZE */
20536 # ifdef HAVE_SYS_PARAM_H
20537 # include <sys/param.h>
20538 # ifdef EXEC_PAGESIZE
20539 # define getpagesize() EXEC_PAGESIZE
20540 # else /* no EXEC_PAGESIZE */
20542 # define getpagesize() NBPG * CLSIZE
20545 # endif /* no CLSIZE */
20546 # else /* no NBPG */
20548 # define getpagesize() NBPC
20549 # else /* no NBPC */
20551 # define getpagesize() PAGESIZE
20552 # endif /* PAGESIZE */
20553 # endif /* no NBPC */
20554 # endif /* no NBPG */
20555 # endif /* no EXEC_PAGESIZE */
20556 # else /* no HAVE_SYS_PARAM_H */
20557 # define getpagesize() 8192 /* punt totally */
20558 # endif /* no HAVE_SYS_PARAM_H */
20559 # endif /* no _SC_PAGESIZE */
20561 #endif /* no HAVE_GETPAGESIZE */
20564 extern "C" { void *malloc(unsigned); }
20572 char *data, *data2, *data3;
20576 pagesize = getpagesize();
20579 * First, make a file with some known garbage in it.
20581 data = malloc(pagesize);
20584 for (i = 0; i < pagesize; ++i)
20585 *(data + i) = rand();
20587 fd = creat("conftestmmap", 0600);
20590 if (write(fd, data, pagesize) != pagesize)
20595 * Next, try to mmap the file at a fixed address which
20596 * already has something else allocated at it. If we can,
20597 * also make sure that we see the same garbage.
20599 fd = open("conftestmmap", O_RDWR);
20602 data2 = malloc(2 * pagesize);
20605 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
20606 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
20607 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20609 for (i = 0; i < pagesize; ++i)
20610 if (*(data + i) != *(data2 + i))
20614 * Finally, make sure that changes to the mapped area
20615 * do not percolate back to the file as seen by read().
20616 * (This is a bug on some variants of i386 svr4.0.)
20618 for (i = 0; i < pagesize; ++i)
20619 *(data2 + i) = *(data2 + i) + 1;
20620 data3 = malloc(pagesize);
20623 if (read(fd, data3, pagesize) != pagesize)
20625 for (i = 0; i < pagesize; ++i)
20626 if (*(data + i) != *(data3 + i))
20629 unlink("conftestmmap");
20634 if { (eval echo configure:20635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
20636 ac_cv_func_mmap_fixed_mapped=yes
20638 echo "configure: failed program was:" >&5
20639 cat conftest.$ac_ext >&5
20641 ac_cv_func_mmap_fixed_mapped=no
20648 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
20649 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20650 cat >> confdefs.h <<\EOF
20651 #define HAVE_MMAP 1
20657 # Establish limits on memory usage during 'make check'
20660 setrlimit_have_headers=yes
20661 for ac_hdr in sys/resource.h unistd.h
20663 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20664 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20665 echo "configure:20666: checking for $ac_hdr" >&5
20666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20667 echo $ac_n "(cached) $ac_c" 1>&6
20669 cat > conftest.$ac_ext <<EOF
20670 #line 20671 "configure"
20671 #include "confdefs.h"
20674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20675 { (eval echo configure:20676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20677 if test -z "$ac_err"; then
20679 eval "ac_cv_header_$ac_safe=yes"
20682 echo "configure: failed program was:" >&5
20683 cat conftest.$ac_ext >&5
20685 eval "ac_cv_header_$ac_safe=no"
20689 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20690 echo "$ac_t""yes" 1>&6
20691 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20692 cat >> confdefs.h <<EOF
20693 #define $ac_tr_hdr 1
20697 echo "$ac_t""no" 1>&6
20698 setrlimit_have_headers=no
20702 # If don't have the headers, then we can't run the tests now, and we
20703 # won't be seeing any of these during testsuite compilation.
20704 if test $setrlimit_have_headers = yes; then
20705 # Can't do these in a loop, else the resulting syntax is wrong.
20707 cat > conftest.$ac_ext <<EOF
20708 #line 20709 "configure"
20709 #include "confdefs.h"
20710 #include <sys/resource.h>
20711 #include <unistd.h>
20714 int f = RLIMIT_DATA ;
20717 if { (eval echo configure:20718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20721 echo "configure: failed program was:" >&5
20722 cat conftest.$ac_ext >&5
20727 cat >> confdefs.h <<EOF
20728 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
20733 cat > conftest.$ac_ext <<EOF
20734 #line 20735 "configure"
20735 #include "confdefs.h"
20736 #include <sys/resource.h>
20737 #include <unistd.h>
20740 int f = RLIMIT_RSS ;
20743 if { (eval echo configure:20744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20747 echo "configure: failed program was:" >&5
20748 cat conftest.$ac_ext >&5
20753 cat >> confdefs.h <<EOF
20754 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
20759 cat > conftest.$ac_ext <<EOF
20760 #line 20761 "configure"
20761 #include "confdefs.h"
20762 #include <sys/resource.h>
20763 #include <unistd.h>
20766 int f = RLIMIT_VMEM ;
20769 if { (eval echo configure:20770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20773 echo "configure: failed program was:" >&5
20774 cat conftest.$ac_ext >&5
20779 cat >> confdefs.h <<EOF
20780 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20785 cat > conftest.$ac_ext <<EOF
20786 #line 20787 "configure"
20787 #include "confdefs.h"
20788 #include <sys/resource.h>
20789 #include <unistd.h>
20792 int f = RLIMIT_AS ;
20795 if { (eval echo configure:20796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20799 echo "configure: failed program was:" >&5
20800 cat conftest.$ac_ext >&5
20805 cat >> confdefs.h <<EOF
20806 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20811 # Check for rlimit, setrlimit.
20812 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20813 echo $ac_n "(cached) $ac_c" 1>&6
20816 cat > conftest.$ac_ext <<EOF
20817 #line 20818 "configure"
20818 #include "confdefs.h"
20819 #include <sys/resource.h>
20820 #include <unistd.h>
20823 struct rlimit r; setrlimit(0, &r);
20826 if { (eval echo configure:20827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20830 echo "configure: failed program was:" >&5
20831 cat conftest.$ac_ext >&5
20841 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
20842 echo "configure:20843: checking for testsuite memory limit support" >&5
20843 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
20845 cat >> confdefs.h <<\EOF
20846 #define _GLIBCPP_MEM_LIMITS 1
20852 echo "$ac_t""$ac_mem_limits" 1>&6
20855 # Look for setenv, so that extended locale tests can be performed.
20857 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
20858 echo "configure:20859: checking for setenv declaration" >&5
20859 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
20860 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
20861 echo $ac_n "(cached) $ac_c" 1>&6
20866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20867 ac_cpp='$CXXCPP $CPPFLAGS'
20868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20870 cross_compiling=$ac_cv_prog_cxx_cross
20872 cat > conftest.$ac_ext <<EOF
20873 #line 20874 "configure"
20874 #include "confdefs.h"
20875 #include <stdlib.h>
20880 if { (eval echo configure:20881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20882 glibcpp_cv_func_setenv_use=yes
20884 echo "configure: failed program was:" >&5
20885 cat conftest.$ac_ext >&5
20887 glibcpp_cv_func_setenv_use=no
20891 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20892 ac_cpp='$CPP $CPPFLAGS'
20893 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20894 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20895 cross_compiling=$ac_cv_prog_cc_cross
20901 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
20902 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
20903 for ac_func in setenv
20905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20906 echo "configure:20907: checking for $ac_func" >&5
20907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20908 echo $ac_n "(cached) $ac_c" 1>&6
20910 cat > conftest.$ac_ext <<EOF
20911 #line 20912 "configure"
20912 #include "confdefs.h"
20913 /* System header to define __stub macros and hopefully few prototypes,
20914 which can conflict with char $ac_func(); below. */
20915 #include <assert.h>
20916 /* Override any gcc2 internal prototype to avoid an error. */
20917 /* We use char because int might match the return type of a gcc2
20918 builtin and then its argument prototype would still apply. */
20923 /* The GNU C library defines this for functions which it implements
20924 to always fail with ENOSYS. Some functions are actually named
20925 something starting with __ and the normal name is an alias. */
20926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20934 if { (eval echo configure:20935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20936 eval "ac_cv_func_$ac_func=yes"
20938 echo "configure: failed program was:" >&5
20939 cat conftest.$ac_ext >&5
20941 eval "ac_cv_func_$ac_func=no"
20946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20947 echo "$ac_t""yes" 1>&6
20948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20949 cat >> confdefs.h <<EOF
20950 #define $ac_tr_func 1
20954 echo "$ac_t""no" 1>&6
20963 # This depends on the possibly-skipped linker test above.
20964 # Check whether --enable-symvers or --disable-symvers was given.
20965 if test "${enable_symvers+set}" = set; then
20966 enableval="$enable_symvers"
20967 case "$enableval" in
20968 yes) enable_symvers=yes ;;
20969 no) enable_symvers=no ;;
20970 # other names here, just as sanity checks
20971 #gnu|sun|etcetera) enable_symvers=$enableval ;;
20972 gnu) enable_symvers=$enableval ;;
20973 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
20979 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
20980 # don't know enough about $LD to do tricks...
20981 if test x$enable_shared = xno ||
20983 test x$glibcpp_gnu_ld_version = x; then
20987 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
20988 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
20989 echo "configure:20990: checking for shared libgcc" >&5
20990 ac_save_CFLAGS="$CFLAGS"
20992 cat > conftest.$ac_ext <<EOF
20993 #line 20994 "configure"
20994 #include "confdefs.h"
21000 if { (eval echo configure:21001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21002 glibcpp_shared_libgcc=yes
21004 echo "configure: failed program was:" >&5
21005 cat conftest.$ac_ext >&5
21007 glibcpp_shared_libgcc=no
21010 CFLAGS="$ac_save_CFLAGS"
21011 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
21013 # For GNU ld, we need at least this version. It's 2.12 in the same format
21014 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
21015 glibcpp_min_gnu_ld_version=21200
21017 # Check to see if unspecified "yes" value can win, given results
21019 if test $enable_symvers = yes ; then
21020 if test $with_gnu_ld = yes &&
21021 test $glibcpp_shared_libgcc = yes ;
21023 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
21026 ac_test_CFLAGS="${CFLAGS+set}"
21027 ac_save_CFLAGS="$CFLAGS"
21028 CFLAGS='-shared -Wl,--version-script,conftest.map'
21031 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
21033 cat > conftest.$ac_ext <<EOF
21034 #line 21035 "configure"
21035 #include "confdefs.h"
21041 if { (eval echo configure:21042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21045 echo "configure: failed program was:" >&5
21046 cat conftest.$ac_ext >&5
21049 if test "$ac_test_CFLAGS" = set; then
21050 CFLAGS="$ac_save_CFLAGS"
21052 # this is the suspicious part
21058 # just fail for now
21063 case $enable_symvers in
21065 LINKER_MAP=config/linker-map.dummy
21068 LINKER_MAP=config/linker-map.gnu
21075 if test $enable_symvers != no; then
21076 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
21077 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
21079 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
21080 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
21082 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
21083 echo "configure:21084: checking versioning on shared library symbols" >&5
21084 echo "$ac_t""$enable_symvers" 1>&6
21087 # Propagate the target-specific source directories through the build chain.
21088 OS_INC_SRCDIR=$os_include_dir/bits
21089 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
21090 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
21095 # Set up cross-compile flags
21099 if test "$CANADIAN" = yes; then
21107 cat > confcache <<\EOF
21108 # This file is a shell script that caches the results of configure
21109 # tests run on this system so they can be shared between configure
21110 # scripts and configure runs. It is not useful on other systems.
21111 # If it contains results you don't want to keep, you may remove or edit it.
21113 # By default, configure uses ./config.cache as the cache file,
21114 # creating it if it does not exist already. You can give configure
21115 # the --cache-file=FILE option to use a different cache file; that is
21116 # what configure does when it calls configure scripts in
21117 # subdirectories, so they share the cache.
21118 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21119 # config.status only pays attention to the cache file if you give it the
21120 # --recheck option to rerun configure.
21123 # The following way of writing the cache mishandles newlines in values,
21124 # but we know of no workaround that is simple, portable, and efficient.
21125 # So, don't put newlines in cache variables' values.
21126 # Ultrix sh set writes to stderr and can't be redirected directly,
21127 # and sets the high bit in the cache file unless we assign to the vars.
21129 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21131 # `set' does not quote correctly, so add quotes (double-quote substitution
21132 # turns \\\\ into \\, and sed turns \\ into \).
21134 -e "s/'/'\\\\''/g" \
21135 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21138 # `set' quotes correctly as required by POSIX, so do not add quotes.
21139 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21142 if cmp -s $cache_file confcache; then
21145 if test -w $cache_file; then
21146 echo "updating cache $cache_file"
21147 cat confcache > $cache_file
21149 echo "not updating unwritable cache $cache_file"
21155 if test "${multilib}" = "yes"; then
21156 multilib_arg="--enable-multilib"
21161 # Needed so that g++ can find the correct include subdir automatically.
21164 # Export all the install information
21166 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
21167 # exported correctly in GLIBCPP_CONFIGURE.
21168 glibcpp_toolexecdir=no
21169 glibcpp_toolexeclibdir=no
21170 glibcpp_prefixdir=${prefix}
21172 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
21173 echo "configure:21174: checking for interface version number" >&5
21174 libstdcxx_interface=$INTERFACE
21175 echo "$ac_t""$libstdcxx_interface" 1>&6
21177 # Process the option --with-gxx-include-dir=<path to include-files directory>
21178 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
21179 echo "configure:21180: checking for --with-gxx-include-dir" >&5
21180 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
21181 if test "${with_gxx_include_dir+set}" = set; then
21182 withval="$with_gxx_include_dir"
21183 case "${withval}" in
21185 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
21192 gxx_include_dir=${withval}
21199 echo "$ac_t""$gxx_include_dir" 1>&6
21201 # Process the option "--enable-version-specific-runtime-libs"
21202 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
21203 echo "configure:21204: checking for --enable-version-specific-runtime-libs" >&5
21204 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
21205 if test "${enable_version_specific_runtime_libs+set}" = set; then
21206 enableval="$enable_version_specific_runtime_libs"
21207 case "$enableval" in
21208 yes) version_specific_libs=yes ;;
21209 no) version_specific_libs=no ;;
21210 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
21213 version_specific_libs=no
21215 # Option set, now we can test it.
21216 echo "$ac_t""$version_specific_libs" 1>&6
21218 if test $version_specific_libs = yes; then
21219 # Need the gcc compiler version to know where to install libraries
21220 # and header files if --enable-version-specific-runtime-libs option
21222 gcc_version_trigger=${srcdir}/../gcc/version.c
21223 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
21224 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
21225 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
21226 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21227 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
21230 # Default case for install directory for include files.
21231 if test $version_specific_libs = no &&
21232 test $gxx_include_dir = no; then
21233 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
21236 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
21237 # Install a library built with a cross compiler in tooldir, not libdir.
21238 if test x"$glibcpp_toolexecdir" = x"no"; then
21239 if test -n "$with_cross_host" &&
21240 test x"$with_cross_host" != x"no"; then
21241 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
21242 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
21244 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21245 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
21249 echo $ac_n "checking for install location""... $ac_c" 1>&6
21250 echo "configure:21251: checking for install location" >&5
21251 echo "$ac_t""$gxx_include_dir" 1>&6
21259 # Export all the include and flag information to makefiles.
21261 # Root level of the build directory include sources.
21262 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
21264 # Passed down for canadian crosses.
21265 if test x"$CANADIAN" = xyes; then
21266 TOPLEVEL_INCLUDES='-I$(includedir)'
21269 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
21271 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
21273 if test x"$need_libio" = xyes; then
21274 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
21278 # Now, export this to all the little Makefiles....
21285 # Optimization flags that are probably a good idea for thrill-seekers. Just
21286 # uncomment the lines below and make, everything else is ready to go...
21287 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
21291 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
21295 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
21296 grep "enable shared" > /dev/null; then
21297 LIBSUPCXX_PICFLAGS=-prefer-pic
21299 LIBSUPCXX_PICFLAGS=
21303 # Generate the various Makefiles, include files, and scripts.
21304 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
21305 # and libsupc++/Makefile.am so that multilib installs will end up
21306 # installed in the correct place. To work around this not being passed
21307 # down from config-ml.in -> top_srcdir/Makefile.am ->
21308 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
21310 cat > confcache <<\EOF
21311 # This file is a shell script that caches the results of configure
21312 # tests run on this system so they can be shared between configure
21313 # scripts and configure runs. It is not useful on other systems.
21314 # If it contains results you don't want to keep, you may remove or edit it.
21316 # By default, configure uses ./config.cache as the cache file,
21317 # creating it if it does not exist already. You can give configure
21318 # the --cache-file=FILE option to use a different cache file; that is
21319 # what configure does when it calls configure scripts in
21320 # subdirectories, so they share the cache.
21321 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21322 # config.status only pays attention to the cache file if you give it the
21323 # --recheck option to rerun configure.
21326 # The following way of writing the cache mishandles newlines in values,
21327 # but we know of no workaround that is simple, portable, and efficient.
21328 # So, don't put newlines in cache variables' values.
21329 # Ultrix sh set writes to stderr and can't be redirected directly,
21330 # and sets the high bit in the cache file unless we assign to the vars.
21332 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21334 # `set' does not quote correctly, so add quotes (double-quote substitution
21335 # turns \\\\ into \\, and sed turns \\ into \).
21337 -e "s/'/'\\\\''/g" \
21338 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21341 # `set' quotes correctly as required by POSIX, so do not add quotes.
21342 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21345 if cmp -s $cache_file confcache; then
21348 if test -w $cache_file; then
21349 echo "updating cache $cache_file"
21350 cat confcache > $cache_file
21352 echo "not updating unwritable cache $cache_file"
21357 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21359 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21360 # Let make expand exec_prefix.
21361 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21363 # Any assignment to VPATH causes Sun make to only execute
21364 # the first set of double-colon rules, so remove it if not needed.
21365 # If there is a colon in the path, we need to keep it.
21366 if test "x$srcdir" = x.; then
21367 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
21370 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21372 DEFS=-DHAVE_CONFIG_H
21374 # Without the "./", some shells look in PATH for config.status.
21375 : ${CONFIG_STATUS=./config.status}
21377 echo creating $CONFIG_STATUS
21378 rm -f $CONFIG_STATUS
21379 cat > $CONFIG_STATUS <<EOF
21381 # Generated automatically by configure.
21382 # Run this file to recreate the current configuration.
21383 # This directory was configured as follows,
21384 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21386 # $0 $ac_configure_args
21388 # Compiler output produced by configure, useful for debugging
21389 # configure, is in ./config.log if it exists.
21391 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21394 case "\$ac_option" in
21395 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21396 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21397 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21398 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21399 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21401 -help | --help | --hel | --he | --h)
21402 echo "\$ac_cs_usage"; exit 0 ;;
21403 *) echo "\$ac_cs_usage"; exit 1 ;;
21407 ac_given_srcdir=$srcdir
21408 ac_given_INSTALL="$INSTALL"
21410 trap 'rm -fr `echo "Makefile \
21411 include/Makefile src/Makefile \
21412 libmath/Makefile libio/Makefile libsupc++/Makefile \
21413 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21415 cat >> $CONFIG_STATUS <<EOF
21417 # Protect against being on the right side of a sed subst in config.status.
21418 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21419 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21423 s%@CFLAGS@%$CFLAGS%g
21424 s%@CPPFLAGS@%$CPPFLAGS%g
21425 s%@CXXFLAGS@%$CXXFLAGS%g
21426 s%@FFLAGS@%$FFLAGS%g
21428 s%@LDFLAGS@%$LDFLAGS%g
21430 s%@exec_prefix@%$exec_prefix%g
21431 s%@prefix@%$prefix%g
21432 s%@program_transform_name@%$program_transform_name%g
21433 s%@bindir@%$bindir%g
21434 s%@sbindir@%$sbindir%g
21435 s%@libexecdir@%$libexecdir%g
21436 s%@datadir@%$datadir%g
21437 s%@sysconfdir@%$sysconfdir%g
21438 s%@sharedstatedir@%$sharedstatedir%g
21439 s%@localstatedir@%$localstatedir%g
21440 s%@libdir@%$libdir%g
21441 s%@includedir@%$includedir%g
21442 s%@oldincludedir@%$oldincludedir%g
21443 s%@infodir@%$infodir%g
21444 s%@mandir@%$mandir%g
21445 s%@PACKAGE@%$PACKAGE%g
21446 s%@release_VERSION@%$release_VERSION%g
21447 s%@libtool_VERSION@%$libtool_VERSION%g
21449 s%@host_alias@%$host_alias%g
21450 s%@host_cpu@%$host_cpu%g
21451 s%@host_vendor@%$host_vendor%g
21452 s%@host_os@%$host_os%g
21453 s%@target@%$target%g
21454 s%@target_alias@%$target_alias%g
21455 s%@target_cpu@%$target_cpu%g
21456 s%@target_vendor@%$target_vendor%g
21457 s%@target_os@%$target_os%g
21459 s%@build_alias@%$build_alias%g
21460 s%@build_cpu@%$build_cpu%g
21461 s%@build_vendor@%$build_vendor%g
21462 s%@build_os@%$build_os%g
21463 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21464 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21465 s%@INSTALL_DATA@%$INSTALL_DATA%g
21466 s%@VERSION@%$VERSION%g
21467 s%@ACLOCAL@%$ACLOCAL%g
21468 s%@AUTOCONF@%$AUTOCONF%g
21469 s%@AUTOMAKE@%$AUTOMAKE%g
21470 s%@AUTOHEADER@%$AUTOHEADER%g
21471 s%@MAKEINFO@%$MAKEINFO%g
21472 s%@SET_MAKE@%$SET_MAKE%g
21473 s%@toplevel_srcdir@%$toplevel_srcdir%g
21474 s%@glibcpp_builddir@%$glibcpp_builddir%g
21475 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
21478 s%@glibcpp_basedir@%$glibcpp_basedir%g
21480 s%@glibcpp_CXX@%$glibcpp_CXX%g
21483 s%@RANLIB@%$RANLIB%g
21484 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
21485 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
21487 s%@EXEEXT@%$EXEEXT%g
21488 s%@OBJEXT@%$OBJEXT%g
21490 s%@LIBTOOL@%$LIBTOOL%g
21491 s%@CXXCPP@%$CXXCPP%g
21492 s%@enable_shared@%$enable_shared%g
21493 s%@enable_static@%$enable_static%g
21494 s%@ifGNUmake@%$ifGNUmake%g
21495 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
21497 s%@CSTDIO_H@%$CSTDIO_H%g
21498 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
21499 s%@CCODECVT_C@%$CCODECVT_C%g
21500 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
21501 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
21502 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
21503 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
21504 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
21505 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
21506 s%@libio_la@%$libio_la%g
21507 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
21508 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
21509 s%@glibcpp_localedir@%$glibcpp_localedir%g
21510 s%@USE_NLS@%$USE_NLS%g
21511 s%@CLOCALE_H@%$CLOCALE_H%g
21512 s%@CCODECVT_H@%$CCODECVT_H%g
21513 s%@CMESSAGES_H@%$CMESSAGES_H%g
21514 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
21515 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
21516 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
21517 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
21518 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
21519 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
21520 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
21521 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
21522 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
21523 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
21524 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
21525 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
21526 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
21527 s%@WERROR@%$WERROR%g
21528 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
21529 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
21530 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
21531 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
21532 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
21533 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
21534 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
21535 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
21536 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
21537 s%@gxx_include_dir@%$gxx_include_dir%g
21538 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
21539 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
21540 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
21541 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
21542 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
21543 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
21544 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
21545 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
21546 s%@WARN_FLAGS@%$WARN_FLAGS%g
21547 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
21552 cat >> $CONFIG_STATUS <<\EOF
21554 # Split the substitutions into bite-sized pieces for seds with
21555 # small command number limits, like on Digital OSF/1 and HP-UX.
21556 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
21557 ac_file=1 # Number of current file.
21558 ac_beg=1 # First line for current file.
21559 ac_end=$ac_max_sed_cmds # Line after last line for current file.
21562 while $ac_more_lines; do
21563 if test $ac_beg -gt 1; then
21564 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
21566 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
21568 if test ! -s conftest.s$ac_file; then
21569 ac_more_lines=false
21570 rm -f conftest.s$ac_file
21572 if test -z "$ac_sed_cmds"; then
21573 ac_sed_cmds="sed -f conftest.s$ac_file"
21575 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
21577 ac_file=`expr $ac_file + 1`
21579 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21582 if test -z "$ac_sed_cmds"; then
21587 cat >> $CONFIG_STATUS <<EOF
21589 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
21590 include/Makefile src/Makefile \
21591 libmath/Makefile libio/Makefile libsupc++/Makefile \
21592 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
21594 cat >> $CONFIG_STATUS <<\EOF
21595 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
21596 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21598 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21599 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21600 *) ac_file_in="${ac_file}.in" ;;
21603 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21605 # Remove last slash and all that follows it. Not all systems have dirname.
21606 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21607 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21608 # The file is in a subdirectory.
21609 test ! -d "$ac_dir" && mkdir "$ac_dir"
21610 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21611 # A "../" for each directory in $ac_dir_suffix.
21612 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21614 ac_dir_suffix= ac_dots=
21617 case "$ac_given_srcdir" in
21619 if test -z "$ac_dots"; then top_srcdir=.
21620 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21621 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21622 *) # Relative path.
21623 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21624 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21627 case "$ac_given_INSTALL" in
21628 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21629 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21632 echo creating "$ac_file"
21634 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21636 *Makefile*) ac_comsub="1i\\
21637 # $configure_input" ;;
21641 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21643 s%@configure_input@%$configure_input%g
21644 s%@srcdir@%$srcdir%g
21645 s%@top_srcdir@%$top_srcdir%g
21646 s%@INSTALL@%$INSTALL%g
21647 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21651 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21652 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21654 # ac_d sets the value in "#define NAME VALUE" lines.
21655 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21656 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
21659 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21660 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21661 ac_uB='\([ ]\)%\1#\2define\3'
21664 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21665 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21666 ac_eB='$%\1#\2define\3'
21670 if test "${CONFIG_HEADERS+set}" != set; then
21672 cat >> $CONFIG_STATUS <<EOF
21673 CONFIG_HEADERS="config.h"
21675 cat >> $CONFIG_STATUS <<\EOF
21677 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
21678 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21680 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21681 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21682 *) ac_file_in="${ac_file}.in" ;;
21685 echo creating $ac_file
21687 rm -f conftest.frag conftest.in conftest.out
21688 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21689 cat $ac_file_inputs > conftest.in
21693 # Transform confdefs.h into a sed script conftest.vals that substitutes
21694 # the proper values into config.h.in to produce config.h. And first:
21695 # Protect against being on the right side of a sed subst in config.status.
21696 # Protect against being in an unquoted here document in config.status.
21697 rm -f conftest.vals
21698 cat > conftest.hdr <<\EOF
21701 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21705 sed -n -f conftest.hdr confdefs.h > conftest.vals
21708 # This sed command replaces #undef with comments. This is necessary, for
21709 # example, in the case of _POSIX_SOURCE, which is predefined and required
21710 # on some systems where configure will not decide to define it.
21711 cat >> conftest.vals <<\EOF
21712 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21715 # Break up conftest.vals because some shells have a limit on
21716 # the size of here documents, and old seds have small limits too.
21718 rm -f conftest.tail
21721 ac_lines=`grep -c . conftest.vals`
21722 # grep -c gives empty output for an empty file on some AIX systems.
21723 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21724 # Write a limited-size here document to conftest.frag.
21725 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21726 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21728 sed -f conftest.frag conftest.in > conftest.out
21730 mv conftest.out conftest.in
21731 ' >> $CONFIG_STATUS
21732 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21733 rm -f conftest.vals
21734 mv conftest.tail conftest.vals
21736 rm -f conftest.vals
21738 cat >> $CONFIG_STATUS <<\EOF
21739 rm -f conftest.frag conftest.h
21740 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21741 cat conftest.in >> conftest.h
21743 if cmp -s $ac_file conftest.h 2>/dev/null; then
21744 echo "$ac_file is unchanged"
21747 # Remove last slash and all that follows it. Not all systems have dirname.
21748 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21749 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21750 # The file is in a subdirectory.
21751 test ! -d "$ac_dir" && mkdir "$ac_dir"
21754 mv conftest.h $ac_file
21760 cat >> $CONFIG_STATUS <<EOF
21761 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
21762 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
21765 cat >> $CONFIG_STATUS <<\EOF
21766 srcdir=$ac_given_srcdir
21767 while test -n "$ac_sources"; do
21768 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
21769 set $ac_sources; ac_source=$1; shift; ac_sources=$*
21771 echo "linking $srcdir/$ac_source to $ac_dest"
21773 if test ! -r $srcdir/$ac_source; then
21774 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
21778 # Make relative symlinks.
21779 # Remove last slash and all that follows it. Not all systems have dirname.
21780 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
21781 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
21782 # The dest file is in a subdirectory.
21783 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
21784 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
21785 # A "../" for each directory in $ac_dest_dir_suffix.
21786 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
21788 ac_dest_dir_suffix= ac_dots=
21792 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
21793 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
21796 # Make a symlink if possible; otherwise try a hard link.
21797 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21798 ln $srcdir/$ac_source $ac_dest; then :
21800 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
21804 cat >> $CONFIG_STATUS <<EOF
21809 with_multisubdir=${with_multisubdir}
21810 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21811 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21812 glibcpp_basedir=${glibcpp_basedir}
21817 cat >> $CONFIG_STATUS <<\EOF
21818 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
21819 if test -n "$CONFIG_FILES"; then
21820 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
21821 grep '^MULTISUBDIR =' Makefile >> src/Makefile
21822 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
21825 chmod +x testsuite_flags
21829 chmod +x $CONFIG_STATUS
21830 rm -fr confdefs* $ac_clean_files
21831 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21835 # Sanity checking & User-visible messages.
21836 # Checks down here, otherwise they get scrolled off before
21837 # the user will notice.
21839 # Trying to get more people to read documentation. Possibly remove
21840 # check and warn all the time. There is no "informational" AC_MSG_
21841 # macro, so these are going to be printed even when --quiet/--silent
21843 if test ! -f stamp-sanity-warned; then
21844 touch stamp-sanity-warned
21846 echo "Please make certain that you read the installation information here:"
21847 echo " faster => ${srcdir}/docs/install.html"
21848 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
21850 echo "and the configuration information here:"
21851 echo " faster => ${srcdir}/docs/configopts.html"
21852 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
21854 echo "before proceeding with ${_cv_gnu_make_command}."