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 mawk gawk 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'
3839 cat >> confdefs.h <<\EOF
3840 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3846 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3850 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3858 if test "$enable_cheaders" = c_shadow; then
3859 GLIBCPP_USE_CSHADOW_TRUE=
3860 GLIBCPP_USE_CSHADOW_FALSE='#'
3862 GLIBCPP_USE_CSHADOW_TRUE='#'
3863 GLIBCPP_USE_CSHADOW_FALSE=
3867 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3868 echo "configure:3869: checking for thread model used by GCC" >&5
3869 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3870 echo "$ac_t""$target_thread_file" 1>&6
3872 if test $target_thread_file != single; then
3873 cat >> confdefs.h <<\EOF
3874 #define HAVE_GTHR_DEFAULT 1
3877 cat >> confdefs.h <<\EOF
3878 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3883 glibcpp_thread_h=gthr-$target_thread_file.h
3886 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3887 if test "${enable_cxx_flags+set}" = set; then
3888 enableval="$enable_cxx_flags"
3889 case "x$enableval" in
3891 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3893 enable_cxx_flags='' ;;
3895 enable_cxx_flags="$enableval" ;;
3898 enable_cxx_flags='none'
3902 if test "$enable_cxx_flags" = "none"; then
3903 enable_cxx_flags='';
3906 if test -n "$enable_cxx_flags"; then
3907 for f in $enable_cxx_flags; do
3911 *) # and we're trying to pass /what/ exactly?
3912 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3916 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3920 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3921 echo "configure:3922: checking for exception model to use" >&5
3924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3925 ac_cpp='$CXXCPP $CPPFLAGS'
3926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3928 cross_compiling=$ac_cv_prog_cxx_cross
3930 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3931 if test "${enable_sjlj_exceptions+set}" = set; then
3932 enableval="$enable_sjlj_exceptions"
3935 cat > conftest.$ac_ext << EOF
3936 #line 3937 "configure"
3945 old_CXXFLAGS="$CXXFLAGS"
3947 if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3948 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3949 enable_sjlj_exceptions=yes
3950 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3951 enable_sjlj_exceptions=no
3954 CXXFLAGS="$old_CXXFLAGS"
3958 if test x$enable_sjlj_exceptions = xyes; then
3959 cat >> confdefs.h <<\EOF
3960 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3963 ac_exception_model_name=sjlj
3964 elif test x$enable_sjlj_exceptions = xno; then
3965 ac_exception_model_name="call frame"
3967 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3971 ac_cpp='$CPP $CPPFLAGS'
3972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3974 cross_compiling=$ac_cv_prog_cc_cross
3976 echo "$ac_t""$ac_exception_model_name" 1>&6
3979 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3980 echo "configure:3981: checking for use of libunwind" >&5
3981 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3982 if test "${enable_libunwind_exceptions+set}" = set; then
3983 enableval="$enable_libunwind_exceptions"
3984 use_libunwind_exceptions=$enableval
3986 use_libunwind_exceptions=no
3989 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3990 if test x"$use_libunwind_exceptions" = xyes; then
3991 LIBUNWIND_FLAG="-lunwind"
3997 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3998 if test "${enable_concept_checks+set}" = set; then
3999 enableval="$enable_concept_checks"
4000 case "$enableval" in
4001 yes) enable_concept_checks=yes ;;
4002 no) enable_concept_checks=no ;;
4003 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4006 enable_concept_checks=no
4008 if test x"$enable_concept_checks" = xyes; then
4009 cat >> confdefs.h <<\EOF
4010 #define _GLIBCPP_CONCEPT_CHECKS 1
4017 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4019 # This lets us hard-code the functionality we know
4020 # we'll have in the cross target environment. "Let" is a
4021 # sugar-coated word placed on an especially dull and tedious hack, actually.
4022 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4023 # that involve linking can't be used:
4024 # "cannot open sim-crt0.o"
4025 # "cannot open crt0.o"
4026 # etc. All this is because there currently exists no unified,
4027 # consistent way for top level CC information to be passed down
4028 # to target directories: newlib includes, newlib linking info,
4029 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4030 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4032 # We are being configured with some form of cross compiler.
4033 GLIBCPP_IS_CROSS_COMPILING=1
4035 # If Canadian cross, then don't pick up tools from the build
4037 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4043 # Construct crosses by hand, eliminating bits that need ld...
4044 # GLIBCPP_CHECK_COMPILER_FEATURES
4045 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4046 # GLIBCPP_CHECK_MATH_SUPPORT
4048 case "$target_alias" in
4050 # Check for available headers.
4051 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4052 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4053 fp.h locale.h float.h inttypes.h
4055 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4056 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4057 echo "configure:4058: checking for $ac_hdr" >&5
4058 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4059 echo $ac_n "(cached) $ac_c" 1>&6
4061 cat > conftest.$ac_ext <<EOF
4062 #line 4063 "configure"
4063 #include "confdefs.h"
4066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4067 { (eval echo configure:4068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4068 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4069 if test -z "$ac_err"; then
4071 eval "ac_cv_header_$ac_safe=yes"
4074 echo "configure: failed program was:" >&5
4075 cat conftest.$ac_ext >&5
4077 eval "ac_cv_header_$ac_safe=no"
4081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4082 echo "$ac_t""yes" 1>&6
4083 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4084 cat >> confdefs.h <<EOF
4085 #define $ac_tr_hdr 1
4089 echo "$ac_t""no" 1>&6
4093 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4096 # If we're not using GNU ld, then there's no point in even trying these
4097 # tests. Check for that first. We should have already tested for gld
4098 # by now (in libtool), but require it now just to be safe...
4099 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4100 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4103 # The name set by libtool depends on the version of libtool. Shame on us
4104 # for depending on an impl detail, but c'est la vie. Older versions used
4105 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4106 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4107 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4108 # set (hence we're using an older libtool), then set it.
4109 if test x${with_gnu_ld+set} != xset; then
4110 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4111 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4114 with_gnu_ld=$ac_cv_prog_gnu_ld
4118 # Start by getting the version number. I think the libtool test already
4119 # does some of this, but throws away the result.
4121 ldver=`$LD --version 2>/dev/null | head -1 | \
4122 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4124 glibcpp_gnu_ld_version=`echo $ldver | \
4125 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4127 # Set --gc-sections.
4128 if test "$with_gnu_ld" = "notbroken"; then
4129 # GNU ld it is! Joy and bunny rabbits!
4131 # All these tests are for C++; save the language and the compiler flags.
4132 # Need to do this so that g++ won't try to link in libstdc++
4133 ac_test_CFLAGS="${CFLAGS+set}"
4134 ac_save_CFLAGS="$CFLAGS"
4135 CFLAGS='-x c++ -Wl,--gc-sections'
4137 # Check for -Wl,--gc-sections
4138 # XXX This test is broken at the moment, as symbols required for
4139 # linking are now in libsupc++ (not built yet.....). In addition,
4140 # this test has cored on solaris in the past. In addition,
4141 # --gc-sections doesn't really work at the moment (keeps on discarding
4142 # used sections, first .eh_frame and now some of the glibc sections for
4143 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4144 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4145 echo "configure:4146: checking for ld that supports -Wl,--gc-sections" >&5
4146 if test "$cross_compiling" = yes; then
4147 ac_sectionLDflags=yes
4149 cat > conftest.$ac_ext <<EOF
4150 #line 4151 "configure"
4151 #include "confdefs.h"
4161 if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4163 ac_sectionLDflags=yes
4165 echo "configure: failed program was:" >&5
4166 cat conftest.$ac_ext >&5
4168 ac_sectionLDflags=no
4173 if test "$ac_test_CFLAGS" = set; then
4174 CFLAGS="$ac_save_CFLAGS"
4176 # this is the suspicious part
4179 if test "$ac_sectionLDflags" = "yes"; then
4180 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4182 echo "$ac_t""$ac_sectionLDflags" 1>&6
4185 # Set linker optimization flags.
4186 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4187 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4194 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4195 echo "configure:4196: checking for main in -lm" >&5
4196 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4198 echo $ac_n "(cached) $ac_c" 1>&6
4200 ac_save_LIBS="$LIBS"
4202 cat > conftest.$ac_ext <<EOF
4203 #line 4204 "configure"
4204 #include "confdefs.h"
4210 if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4212 eval "ac_cv_lib_$ac_lib_var=yes"
4214 echo "configure: failed program was:" >&5
4215 cat conftest.$ac_ext >&5
4217 eval "ac_cv_lib_$ac_lib_var=no"
4220 LIBS="$ac_save_LIBS"
4223 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4224 echo "$ac_t""yes" 1>&6
4225 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4226 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4227 cat >> confdefs.h <<EOF
4228 #define $ac_tr_lib 1
4234 echo "$ac_t""no" 1>&6
4237 for ac_func in nan copysignf
4239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4240 echo "configure:4241: checking for $ac_func" >&5
4241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4242 echo $ac_n "(cached) $ac_c" 1>&6
4244 cat > conftest.$ac_ext <<EOF
4245 #line 4246 "configure"
4246 #include "confdefs.h"
4247 /* System header to define __stub macros and hopefully few prototypes,
4248 which can conflict with char $ac_func(); below. */
4250 /* Override any gcc2 internal prototype to avoid an error. */
4251 /* We use char because int might match the return type of a gcc2
4252 builtin and then its argument prototype would still apply. */
4257 /* The GNU C library defines this for functions which it implements
4258 to always fail with ENOSYS. Some functions are actually named
4259 something starting with __ and the normal name is an alias. */
4260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4268 if { (eval echo configure:4269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4270 eval "ac_cv_func_$ac_func=yes"
4272 echo "configure: failed program was:" >&5
4273 cat conftest.$ac_ext >&5
4275 eval "ac_cv_func_$ac_func=no"
4280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4281 echo "$ac_t""yes" 1>&6
4282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4283 cat >> confdefs.h <<EOF
4284 #define $ac_tr_func 1
4288 echo "$ac_t""no" 1>&6
4289 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4295 USE_COMPLEX_LONG_DOUBLE=no
4296 if test x$ac_cv_func_copysignl = x"yes"; then
4297 USE_COMPLEX_LONG_DOUBLE=yes
4298 for ac_func in signbitl
4300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4301 echo "configure:4302: checking for $ac_func" >&5
4302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4303 echo $ac_n "(cached) $ac_c" 1>&6
4305 cat > conftest.$ac_ext <<EOF
4306 #line 4307 "configure"
4307 #include "confdefs.h"
4308 /* System header to define __stub macros and hopefully few prototypes,
4309 which can conflict with char $ac_func(); below. */
4311 /* Override any gcc2 internal prototype to avoid an error. */
4312 /* We use char because int might match the return type of a gcc2
4313 builtin and then its argument prototype would still apply. */
4318 /* The GNU C library defines this for functions which it implements
4319 to always fail with ENOSYS. Some functions are actually named
4320 something starting with __ and the normal name is an alias. */
4321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4329 if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4331 eval "ac_cv_func_$ac_func=yes"
4333 echo "configure: failed program was:" >&5
4334 cat conftest.$ac_ext >&5
4336 eval "ac_cv_func_$ac_func=no"
4341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4342 echo "$ac_t""yes" 1>&6
4343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4344 cat >> confdefs.h <<EOF
4345 #define $ac_tr_func 1
4349 echo "$ac_t""no" 1>&6
4350 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4361 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4362 echo "configure:4363: checking for mbstate_t" >&5
4363 cat > conftest.$ac_ext <<EOF
4364 #line 4365 "configure"
4365 #include "confdefs.h"
4368 mbstate_t teststate;
4371 if { (eval echo configure:4372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4375 echo "configure: failed program was:" >&5
4376 cat conftest.$ac_ext >&5
4381 echo "$ac_t""$have_mbstate_t" 1>&6
4382 if test x"$have_mbstate_t" = xyes; then
4383 cat >> confdefs.h <<\EOF
4384 #define HAVE_MBSTATE_T 1
4389 for ac_hdr in wchar.h
4391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4392 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4393 echo "configure:4394: checking for $ac_hdr" >&5
4394 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4395 echo $ac_n "(cached) $ac_c" 1>&6
4397 cat > conftest.$ac_ext <<EOF
4398 #line 4399 "configure"
4399 #include "confdefs.h"
4402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4403 { (eval echo configure:4404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4405 if test -z "$ac_err"; then
4407 eval "ac_cv_header_$ac_safe=yes"
4410 echo "configure: failed program was:" >&5
4411 cat conftest.$ac_ext >&5
4413 eval "ac_cv_header_$ac_safe=no"
4417 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4418 echo "$ac_t""yes" 1>&6
4419 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4420 cat >> confdefs.h <<EOF
4421 #define $ac_tr_hdr 1
4425 echo "$ac_t""no" 1>&6
4430 for ac_hdr in wctype.h
4432 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4433 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4434 echo "configure:4435: checking for $ac_hdr" >&5
4435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4436 echo $ac_n "(cached) $ac_c" 1>&6
4438 cat > conftest.$ac_ext <<EOF
4439 #line 4440 "configure"
4440 #include "confdefs.h"
4443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4444 { (eval echo configure:4445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4446 if test -z "$ac_err"; then
4448 eval "ac_cv_header_$ac_safe=yes"
4451 echo "configure: failed program was:" >&5
4452 cat conftest.$ac_ext >&5
4454 eval "ac_cv_header_$ac_safe=no"
4458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4459 echo "$ac_t""yes" 1>&6
4460 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4461 cat >> confdefs.h <<EOF
4462 #define $ac_tr_hdr 1
4466 echo "$ac_t""no" 1>&6
4472 if test x"$ac_has_wchar_h" = xyes &&
4473 test x"$ac_has_wctype_h" = xyes &&
4474 test x"$enable_c_mbchar" != xno; then
4476 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4477 echo "configure:4478: checking for WCHAR_MIN and WCHAR_MAX" >&5
4478 cat > conftest.$ac_ext <<EOF
4479 #line 4480 "configure"
4480 #include "confdefs.h"
4483 int i = WCHAR_MIN; int j = WCHAR_MAX;
4486 if { (eval echo configure:4487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4488 has_wchar_minmax=yes
4490 echo "configure: failed program was:" >&5
4491 cat conftest.$ac_ext >&5
4496 echo "$ac_t""$has_wchar_minmax" 1>&6
4498 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4499 echo "configure:4500: checking for WEOF" >&5
4500 cat > conftest.$ac_ext <<EOF
4501 #line 4502 "configure"
4502 #include "confdefs.h"
4510 if { (eval echo configure:4511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4514 echo "configure: failed program was:" >&5
4515 cat conftest.$ac_ext >&5
4520 echo "$ac_t""$has_weof" 1>&6
4523 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4526 echo "configure:4527: checking for $ac_func" >&5
4527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4528 echo $ac_n "(cached) $ac_c" 1>&6
4530 cat > conftest.$ac_ext <<EOF
4531 #line 4532 "configure"
4532 #include "confdefs.h"
4533 /* System header to define __stub macros and hopefully few prototypes,
4534 which can conflict with char $ac_func(); below. */
4536 /* Override any gcc2 internal prototype to avoid an error. */
4537 /* We use char because int might match the return type of a gcc2
4538 builtin and then its argument prototype would still apply. */
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4554 if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4556 eval "ac_cv_func_$ac_func=yes"
4558 echo "configure: failed program was:" >&5
4559 cat conftest.$ac_ext >&5
4561 eval "ac_cv_func_$ac_func=no"
4566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4567 echo "$ac_t""yes" 1>&6
4568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4569 cat >> confdefs.h <<EOF
4570 #define $ac_tr_func 1
4574 echo "$ac_t""no" 1>&6
4581 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4582 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4583 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4584 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4585 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4586 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4589 echo "configure:4590: checking for $ac_func" >&5
4590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4591 echo $ac_n "(cached) $ac_c" 1>&6
4593 cat > conftest.$ac_ext <<EOF
4594 #line 4595 "configure"
4595 #include "confdefs.h"
4596 /* System header to define __stub macros and hopefully few prototypes,
4597 which can conflict with char $ac_func(); below. */
4599 /* Override any gcc2 internal prototype to avoid an error. */
4600 /* We use char because int might match the return type of a gcc2
4601 builtin and then its argument prototype would still apply. */
4606 /* The GNU C library defines this for functions which it implements
4607 to always fail with ENOSYS. Some functions are actually named
4608 something starting with __ and the normal name is an alias. */
4609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4617 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4619 eval "ac_cv_func_$ac_func=yes"
4621 echo "configure: failed program was:" >&5
4622 cat conftest.$ac_ext >&5
4624 eval "ac_cv_func_$ac_func=no"
4629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4630 echo "$ac_t""yes" 1>&6
4631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4632 cat >> confdefs.h <<EOF
4633 #define $ac_tr_func 1
4637 echo "$ac_t""no" 1>&6
4644 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4645 echo "configure:4646: checking for ISO C99 wchar_t support" >&5
4646 if test x"$has_weof" = xyes &&
4647 test x"$has_wchar_minmax" = xyes &&
4648 test x"$ac_wfuncs" = xyes; then
4649 ac_isoC99_wchar_t=yes
4651 ac_isoC99_wchar_t=no
4653 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4655 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4656 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4657 echo "configure:4658: checking for iconv.h" >&5
4658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4659 echo $ac_n "(cached) $ac_c" 1>&6
4661 cat > conftest.$ac_ext <<EOF
4662 #line 4663 "configure"
4663 #include "confdefs.h"
4666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4667 { (eval echo configure:4668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4669 if test -z "$ac_err"; then
4671 eval "ac_cv_header_$ac_safe=yes"
4674 echo "configure: failed program was:" >&5
4675 cat conftest.$ac_ext >&5
4677 eval "ac_cv_header_$ac_safe=no"
4681 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4682 echo "$ac_t""yes" 1>&6
4685 echo "$ac_t""no" 1>&6
4689 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4690 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4691 echo "configure:4692: checking for langinfo.h" >&5
4692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4693 echo $ac_n "(cached) $ac_c" 1>&6
4695 cat > conftest.$ac_ext <<EOF
4696 #line 4697 "configure"
4697 #include "confdefs.h"
4698 #include <langinfo.h>
4700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4701 { (eval echo configure:4702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4703 if test -z "$ac_err"; then
4705 eval "ac_cv_header_$ac_safe=yes"
4708 echo "configure: failed program was:" >&5
4709 cat conftest.$ac_ext >&5
4711 eval "ac_cv_header_$ac_safe=no"
4715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4716 echo "$ac_t""yes" 1>&6
4717 ac_has_langinfo_h=yes
4719 echo "$ac_t""no" 1>&6
4720 ac_has_langinfo_h=no
4724 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4725 echo "configure:4726: checking for iconv in -liconv" >&5
4726 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4728 echo $ac_n "(cached) $ac_c" 1>&6
4730 ac_save_LIBS="$LIBS"
4731 LIBS="-liconv $LIBS"
4732 cat > conftest.$ac_ext <<EOF
4733 #line 4734 "configure"
4734 #include "confdefs.h"
4735 /* Override any gcc2 internal prototype to avoid an error. */
4736 /* We use char because int might match the return type of a gcc2
4737 builtin and then its argument prototype would still apply. */
4744 if { (eval echo configure:4745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4746 eval "ac_cv_lib_$ac_lib_var=yes"
4748 echo "configure: failed program was:" >&5
4749 cat conftest.$ac_ext >&5
4751 eval "ac_cv_lib_$ac_lib_var=no"
4754 LIBS="$ac_save_LIBS"
4757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4758 echo "$ac_t""yes" 1>&6
4761 echo "$ac_t""no" 1>&6
4764 ac_save_LIBS="$LIBS"
4765 LIBS="$LIBS $libiconv"
4767 for ac_func in iconv_open iconv_close iconv nl_langinfo
4769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4770 echo "configure:4771: checking for $ac_func" >&5
4771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4772 echo $ac_n "(cached) $ac_c" 1>&6
4774 cat > conftest.$ac_ext <<EOF
4775 #line 4776 "configure"
4776 #include "confdefs.h"
4777 /* System header to define __stub macros and hopefully few prototypes,
4778 which can conflict with char $ac_func(); below. */
4780 /* Override any gcc2 internal prototype to avoid an error. */
4781 /* We use char because int might match the return type of a gcc2
4782 builtin and then its argument prototype would still apply. */
4787 /* The GNU C library defines this for functions which it implements
4788 to always fail with ENOSYS. Some functions are actually named
4789 something starting with __ and the normal name is an alias. */
4790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4800 eval "ac_cv_func_$ac_func=yes"
4802 echo "configure: failed program was:" >&5
4803 cat conftest.$ac_ext >&5
4805 eval "ac_cv_func_$ac_func=no"
4810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4811 echo "$ac_t""yes" 1>&6
4812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4813 cat >> confdefs.h <<EOF
4814 #define $ac_tr_func 1
4819 echo "$ac_t""no" 1>&6
4825 LIBS="$ac_save_LIBS"
4827 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4828 echo "configure:4829: checking for XPG2 wchar_t support" >&5
4829 if test x"$ac_has_iconv_h" = xyes &&
4830 test x"$ac_has_langinfo_h" = xyes &&
4831 test x"$ac_XPG2funcs" = xyes; then
4836 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4838 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4839 echo "configure:4840: checking for enabled wchar_t specializations" >&5
4840 if test x"$ac_isoC99_wchar_t" = xyes &&
4841 test x"$ac_XPG2_wchar_t" = xyes; then
4842 cat >> confdefs.h <<\EOF
4843 #define _GLIBCPP_USE_WCHAR_T 1
4846 echo "$ac_t"""yes"" 1>&6
4848 echo "$ac_t"""no"" 1>&6
4851 echo "configure: warning: wchar_t support disabled." 1>&2
4854 os_include_dir="config/os/gnu-linux"
4855 cat >> confdefs.h <<\EOF
4856 #define HAVE_COPYSIGN 1
4859 cat >> confdefs.h <<\EOF
4860 #define HAVE_COPYSIGNF 1
4863 cat >> confdefs.h <<\EOF
4864 #define HAVE_FINITEF 1
4867 cat >> confdefs.h <<\EOF
4868 #define HAVE_FREXPF 1
4871 cat >> confdefs.h <<\EOF
4872 #define HAVE_HYPOTF 1
4875 cat >> confdefs.h <<\EOF
4876 #define HAVE_SINCOS 1
4879 cat >> confdefs.h <<\EOF
4880 #define HAVE_SINCOSF 1
4883 if test x"long_double_math_on_this_cpu" = x"yes"; then
4884 cat >> confdefs.h <<\EOF
4885 #define HAVE_HYPOTL 1
4891 # Check for available headers.
4892 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4893 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4894 fp.h locale.h float.h inttypes.h
4896 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4898 echo "configure:4899: checking for $ac_hdr" >&5
4899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4900 echo $ac_n "(cached) $ac_c" 1>&6
4902 cat > conftest.$ac_ext <<EOF
4903 #line 4904 "configure"
4904 #include "confdefs.h"
4907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4908 { (eval echo configure:4909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4910 if test -z "$ac_err"; then
4912 eval "ac_cv_header_$ac_safe=yes"
4915 echo "configure: failed program was:" >&5
4916 cat conftest.$ac_ext >&5
4918 eval "ac_cv_header_$ac_safe=no"
4922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4923 echo "$ac_t""yes" 1>&6
4924 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4925 cat >> confdefs.h <<EOF
4926 #define $ac_tr_hdr 1
4930 echo "$ac_t""no" 1>&6
4934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4937 # If we're not using GNU ld, then there's no point in even trying these
4938 # tests. Check for that first. We should have already tested for gld
4939 # by now (in libtool), but require it now just to be safe...
4940 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4941 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4944 # The name set by libtool depends on the version of libtool. Shame on us
4945 # for depending on an impl detail, but c'est la vie. Older versions used
4946 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4947 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4948 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4949 # set (hence we're using an older libtool), then set it.
4950 if test x${with_gnu_ld+set} != xset; then
4951 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4952 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4955 with_gnu_ld=$ac_cv_prog_gnu_ld
4959 # Start by getting the version number. I think the libtool test already
4960 # does some of this, but throws away the result.
4962 ldver=`$LD --version 2>/dev/null | head -1 | \
4963 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4965 glibcpp_gnu_ld_version=`echo $ldver | \
4966 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4968 # Set --gc-sections.
4969 if test "$with_gnu_ld" = "notbroken"; then
4970 # GNU ld it is! Joy and bunny rabbits!
4972 # All these tests are for C++; save the language and the compiler flags.
4973 # Need to do this so that g++ won't try to link in libstdc++
4974 ac_test_CFLAGS="${CFLAGS+set}"
4975 ac_save_CFLAGS="$CFLAGS"
4976 CFLAGS='-x c++ -Wl,--gc-sections'
4978 # Check for -Wl,--gc-sections
4979 # XXX This test is broken at the moment, as symbols required for
4980 # linking are now in libsupc++ (not built yet.....). In addition,
4981 # this test has cored on solaris in the past. In addition,
4982 # --gc-sections doesn't really work at the moment (keeps on discarding
4983 # used sections, first .eh_frame and now some of the glibc sections for
4984 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4985 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4986 echo "configure:4987: checking for ld that supports -Wl,--gc-sections" >&5
4987 if test "$cross_compiling" = yes; then
4988 ac_sectionLDflags=yes
4990 cat > conftest.$ac_ext <<EOF
4991 #line 4992 "configure"
4992 #include "confdefs.h"
5002 if { (eval echo configure:5003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5004 ac_sectionLDflags=yes
5006 echo "configure: failed program was:" >&5
5007 cat conftest.$ac_ext >&5
5009 ac_sectionLDflags=no
5014 if test "$ac_test_CFLAGS" = set; then
5015 CFLAGS="$ac_save_CFLAGS"
5017 # this is the suspicious part
5020 if test "$ac_sectionLDflags" = "yes"; then
5021 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5023 echo "$ac_t""$ac_sectionLDflags" 1>&6
5026 # Set linker optimization flags.
5027 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5028 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5035 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5036 echo "configure:5037: checking for main in -lm" >&5
5037 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5039 echo $ac_n "(cached) $ac_c" 1>&6
5041 ac_save_LIBS="$LIBS"
5043 cat > conftest.$ac_ext <<EOF
5044 #line 5045 "configure"
5045 #include "confdefs.h"
5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5053 eval "ac_cv_lib_$ac_lib_var=yes"
5055 echo "configure: failed program was:" >&5
5056 cat conftest.$ac_ext >&5
5058 eval "ac_cv_lib_$ac_lib_var=no"
5061 LIBS="$ac_save_LIBS"
5064 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5065 echo "$ac_t""yes" 1>&6
5066 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5067 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5068 cat >> confdefs.h <<EOF
5069 #define $ac_tr_lib 1
5075 echo "$ac_t""no" 1>&6
5078 for ac_func in nan copysignf
5080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5081 echo "configure:5082: checking for $ac_func" >&5
5082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5083 echo $ac_n "(cached) $ac_c" 1>&6
5085 cat > conftest.$ac_ext <<EOF
5086 #line 5087 "configure"
5087 #include "confdefs.h"
5088 /* System header to define __stub macros and hopefully few prototypes,
5089 which can conflict with char $ac_func(); below. */
5091 /* Override any gcc2 internal prototype to avoid an error. */
5092 /* We use char because int might match the return type of a gcc2
5093 builtin and then its argument prototype would still apply. */
5098 /* The GNU C library defines this for functions which it implements
5099 to always fail with ENOSYS. Some functions are actually named
5100 something starting with __ and the normal name is an alias. */
5101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5109 if { (eval echo configure:5110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5111 eval "ac_cv_func_$ac_func=yes"
5113 echo "configure: failed program was:" >&5
5114 cat conftest.$ac_ext >&5
5116 eval "ac_cv_func_$ac_func=no"
5121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5122 echo "$ac_t""yes" 1>&6
5123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5124 cat >> confdefs.h <<EOF
5125 #define $ac_tr_func 1
5129 echo "$ac_t""no" 1>&6
5130 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5136 USE_COMPLEX_LONG_DOUBLE=no
5137 if test x$ac_cv_func_copysignl = x"yes"; then
5138 USE_COMPLEX_LONG_DOUBLE=yes
5139 for ac_func in signbitl
5141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5142 echo "configure:5143: checking for $ac_func" >&5
5143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5144 echo $ac_n "(cached) $ac_c" 1>&6
5146 cat > conftest.$ac_ext <<EOF
5147 #line 5148 "configure"
5148 #include "confdefs.h"
5149 /* System header to define __stub macros and hopefully few prototypes,
5150 which can conflict with char $ac_func(); below. */
5152 /* Override any gcc2 internal prototype to avoid an error. */
5153 /* We use char because int might match the return type of a gcc2
5154 builtin and then its argument prototype would still apply. */
5159 /* The GNU C library defines this for functions which it implements
5160 to always fail with ENOSYS. Some functions are actually named
5161 something starting with __ and the normal name is an alias. */
5162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5170 if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5172 eval "ac_cv_func_$ac_func=yes"
5174 echo "configure: failed program was:" >&5
5175 cat conftest.$ac_ext >&5
5177 eval "ac_cv_func_$ac_func=no"
5182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5183 echo "$ac_t""yes" 1>&6
5184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5185 cat >> confdefs.h <<EOF
5186 #define $ac_tr_func 1
5190 echo "$ac_t""no" 1>&6
5191 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5202 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5203 echo "configure:5204: checking for mbstate_t" >&5
5204 cat > conftest.$ac_ext <<EOF
5205 #line 5206 "configure"
5206 #include "confdefs.h"
5209 mbstate_t teststate;
5212 if { (eval echo configure:5213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5216 echo "configure: failed program was:" >&5
5217 cat conftest.$ac_ext >&5
5222 echo "$ac_t""$have_mbstate_t" 1>&6
5223 if test x"$have_mbstate_t" = xyes; then
5224 cat >> confdefs.h <<\EOF
5225 #define HAVE_MBSTATE_T 1
5230 for ac_hdr in wchar.h
5232 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5234 echo "configure:5235: checking for $ac_hdr" >&5
5235 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5236 echo $ac_n "(cached) $ac_c" 1>&6
5238 cat > conftest.$ac_ext <<EOF
5239 #line 5240 "configure"
5240 #include "confdefs.h"
5243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5244 { (eval echo configure:5245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5246 if test -z "$ac_err"; then
5248 eval "ac_cv_header_$ac_safe=yes"
5251 echo "configure: failed program was:" >&5
5252 cat conftest.$ac_ext >&5
5254 eval "ac_cv_header_$ac_safe=no"
5258 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5259 echo "$ac_t""yes" 1>&6
5260 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5261 cat >> confdefs.h <<EOF
5262 #define $ac_tr_hdr 1
5266 echo "$ac_t""no" 1>&6
5271 for ac_hdr in wctype.h
5273 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5274 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5275 echo "configure:5276: checking for $ac_hdr" >&5
5276 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5277 echo $ac_n "(cached) $ac_c" 1>&6
5279 cat > conftest.$ac_ext <<EOF
5280 #line 5281 "configure"
5281 #include "confdefs.h"
5284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5285 { (eval echo configure:5286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5287 if test -z "$ac_err"; then
5289 eval "ac_cv_header_$ac_safe=yes"
5292 echo "configure: failed program was:" >&5
5293 cat conftest.$ac_ext >&5
5295 eval "ac_cv_header_$ac_safe=no"
5299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5300 echo "$ac_t""yes" 1>&6
5301 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5302 cat >> confdefs.h <<EOF
5303 #define $ac_tr_hdr 1
5307 echo "$ac_t""no" 1>&6
5313 if test x"$ac_has_wchar_h" = xyes &&
5314 test x"$ac_has_wctype_h" = xyes &&
5315 test x"$enable_c_mbchar" != xno; then
5317 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5318 echo "configure:5319: checking for WCHAR_MIN and WCHAR_MAX" >&5
5319 cat > conftest.$ac_ext <<EOF
5320 #line 5321 "configure"
5321 #include "confdefs.h"
5324 int i = WCHAR_MIN; int j = WCHAR_MAX;
5327 if { (eval echo configure:5328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5329 has_wchar_minmax=yes
5331 echo "configure: failed program was:" >&5
5332 cat conftest.$ac_ext >&5
5337 echo "$ac_t""$has_wchar_minmax" 1>&6
5339 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5340 echo "configure:5341: checking for WEOF" >&5
5341 cat > conftest.$ac_ext <<EOF
5342 #line 5343 "configure"
5343 #include "confdefs.h"
5351 if { (eval echo configure:5352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5355 echo "configure: failed program was:" >&5
5356 cat conftest.$ac_ext >&5
5361 echo "$ac_t""$has_weof" 1>&6
5364 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5367 echo "configure:5368: checking for $ac_func" >&5
5368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5369 echo $ac_n "(cached) $ac_c" 1>&6
5371 cat > conftest.$ac_ext <<EOF
5372 #line 5373 "configure"
5373 #include "confdefs.h"
5374 /* System header to define __stub macros and hopefully few prototypes,
5375 which can conflict with char $ac_func(); below. */
5377 /* Override any gcc2 internal prototype to avoid an error. */
5378 /* We use char because int might match the return type of a gcc2
5379 builtin and then its argument prototype would still apply. */
5384 /* The GNU C library defines this for functions which it implements
5385 to always fail with ENOSYS. Some functions are actually named
5386 something starting with __ and the normal name is an alias. */
5387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5397 eval "ac_cv_func_$ac_func=yes"
5399 echo "configure: failed program was:" >&5
5400 cat conftest.$ac_ext >&5
5402 eval "ac_cv_func_$ac_func=no"
5407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5408 echo "$ac_t""yes" 1>&6
5409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5410 cat >> confdefs.h <<EOF
5411 #define $ac_tr_func 1
5415 echo "$ac_t""no" 1>&6
5422 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5423 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5424 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5425 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5426 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5427 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5430 echo "configure:5431: checking for $ac_func" >&5
5431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5432 echo $ac_n "(cached) $ac_c" 1>&6
5434 cat > conftest.$ac_ext <<EOF
5435 #line 5436 "configure"
5436 #include "confdefs.h"
5437 /* System header to define __stub macros and hopefully few prototypes,
5438 which can conflict with char $ac_func(); below. */
5440 /* Override any gcc2 internal prototype to avoid an error. */
5441 /* We use char because int might match the return type of a gcc2
5442 builtin and then its argument prototype would still apply. */
5447 /* The GNU C library defines this for functions which it implements
5448 to always fail with ENOSYS. Some functions are actually named
5449 something starting with __ and the normal name is an alias. */
5450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5458 if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5460 eval "ac_cv_func_$ac_func=yes"
5462 echo "configure: failed program was:" >&5
5463 cat conftest.$ac_ext >&5
5465 eval "ac_cv_func_$ac_func=no"
5470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5471 echo "$ac_t""yes" 1>&6
5472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5473 cat >> confdefs.h <<EOF
5474 #define $ac_tr_func 1
5478 echo "$ac_t""no" 1>&6
5485 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5486 echo "configure:5487: checking for ISO C99 wchar_t support" >&5
5487 if test x"$has_weof" = xyes &&
5488 test x"$has_wchar_minmax" = xyes &&
5489 test x"$ac_wfuncs" = xyes; then
5490 ac_isoC99_wchar_t=yes
5492 ac_isoC99_wchar_t=no
5494 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5496 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5497 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5498 echo "configure:5499: checking for iconv.h" >&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
5526 echo "$ac_t""no" 1>&6
5530 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5531 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5532 echo "configure:5533: checking for langinfo.h" >&5
5533 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5534 echo $ac_n "(cached) $ac_c" 1>&6
5536 cat > conftest.$ac_ext <<EOF
5537 #line 5538 "configure"
5538 #include "confdefs.h"
5539 #include <langinfo.h>
5541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5542 { (eval echo configure:5543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5544 if test -z "$ac_err"; then
5546 eval "ac_cv_header_$ac_safe=yes"
5549 echo "configure: failed program was:" >&5
5550 cat conftest.$ac_ext >&5
5552 eval "ac_cv_header_$ac_safe=no"
5556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5557 echo "$ac_t""yes" 1>&6
5558 ac_has_langinfo_h=yes
5560 echo "$ac_t""no" 1>&6
5561 ac_has_langinfo_h=no
5565 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5566 echo "configure:5567: checking for iconv in -liconv" >&5
5567 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5568 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5569 echo $ac_n "(cached) $ac_c" 1>&6
5571 ac_save_LIBS="$LIBS"
5572 LIBS="-liconv $LIBS"
5573 cat > conftest.$ac_ext <<EOF
5574 #line 5575 "configure"
5575 #include "confdefs.h"
5576 /* Override any gcc2 internal prototype to avoid an error. */
5577 /* We use char because int might match the return type of a gcc2
5578 builtin and then its argument prototype would still apply. */
5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5587 eval "ac_cv_lib_$ac_lib_var=yes"
5589 echo "configure: failed program was:" >&5
5590 cat conftest.$ac_ext >&5
5592 eval "ac_cv_lib_$ac_lib_var=no"
5595 LIBS="$ac_save_LIBS"
5598 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5599 echo "$ac_t""yes" 1>&6
5602 echo "$ac_t""no" 1>&6
5605 ac_save_LIBS="$LIBS"
5606 LIBS="$LIBS $libiconv"
5608 for ac_func in iconv_open iconv_close iconv nl_langinfo
5610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5611 echo "configure:5612: checking for $ac_func" >&5
5612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5613 echo $ac_n "(cached) $ac_c" 1>&6
5615 cat > conftest.$ac_ext <<EOF
5616 #line 5617 "configure"
5617 #include "confdefs.h"
5618 /* System header to define __stub macros and hopefully few prototypes,
5619 which can conflict with char $ac_func(); below. */
5621 /* Override any gcc2 internal prototype to avoid an error. */
5622 /* We use char because int might match the return type of a gcc2
5623 builtin and then its argument prototype would still apply. */
5628 /* The GNU C library defines this for functions which it implements
5629 to always fail with ENOSYS. Some functions are actually named
5630 something starting with __ and the normal name is an alias. */
5631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5639 if { (eval echo configure:5640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5641 eval "ac_cv_func_$ac_func=yes"
5643 echo "configure: failed program was:" >&5
5644 cat conftest.$ac_ext >&5
5646 eval "ac_cv_func_$ac_func=no"
5651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5652 echo "$ac_t""yes" 1>&6
5653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5654 cat >> confdefs.h <<EOF
5655 #define $ac_tr_func 1
5660 echo "$ac_t""no" 1>&6
5666 LIBS="$ac_save_LIBS"
5668 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5669 echo "configure:5670: checking for XPG2 wchar_t support" >&5
5670 if test x"$ac_has_iconv_h" = xyes &&
5671 test x"$ac_has_langinfo_h" = xyes &&
5672 test x"$ac_XPG2funcs" = xyes; then
5677 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5679 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5680 echo "configure:5681: checking for enabled wchar_t specializations" >&5
5681 if test x"$ac_isoC99_wchar_t" = xyes &&
5682 test x"$ac_XPG2_wchar_t" = xyes; then
5683 cat >> confdefs.h <<\EOF
5684 #define _GLIBCPP_USE_WCHAR_T 1
5687 echo "$ac_t"""yes"" 1>&6
5689 echo "$ac_t"""no"" 1>&6
5692 echo "configure: warning: wchar_t support disabled." 1>&2
5695 os_include_dir="config/os/hpux"
5696 cat >> confdefs.h <<\EOF
5697 #define HAVE_COPYSIGN 1
5700 cat >> confdefs.h <<\EOF
5701 #define HAVE_COPYSIGNF 1
5704 cat >> confdefs.h <<\EOF
5705 #define HAVE_FINITEF 1
5708 cat >> confdefs.h <<\EOF
5709 #define HAVE_FREXPF 1
5712 cat >> confdefs.h <<\EOF
5713 #define HAVE_HYPOT 1
5716 cat >> confdefs.h <<\EOF
5717 #define HAVE_SINCOS 1
5720 cat >> confdefs.h <<\EOF
5721 #define HAVE_SINCOSF 1
5726 # Check for available headers.
5727 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5728 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5729 fp.h locale.h float.h inttypes.h
5731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5733 echo "configure:5734: checking for $ac_hdr" >&5
5734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5735 echo $ac_n "(cached) $ac_c" 1>&6
5737 cat > conftest.$ac_ext <<EOF
5738 #line 5739 "configure"
5739 #include "confdefs.h"
5742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5743 { (eval echo configure:5744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5745 if test -z "$ac_err"; then
5747 eval "ac_cv_header_$ac_safe=yes"
5750 echo "configure: failed program was:" >&5
5751 cat conftest.$ac_ext >&5
5753 eval "ac_cv_header_$ac_safe=no"
5757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5758 echo "$ac_t""yes" 1>&6
5759 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5760 cat >> confdefs.h <<EOF
5761 #define $ac_tr_hdr 1
5765 echo "$ac_t""no" 1>&6
5769 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5772 # If we're not using GNU ld, then there's no point in even trying these
5773 # tests. Check for that first. We should have already tested for gld
5774 # by now (in libtool), but require it now just to be safe...
5775 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5776 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5779 # The name set by libtool depends on the version of libtool. Shame on us
5780 # for depending on an impl detail, but c'est la vie. Older versions used
5781 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5782 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5783 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5784 # set (hence we're using an older libtool), then set it.
5785 if test x${with_gnu_ld+set} != xset; then
5786 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5787 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5790 with_gnu_ld=$ac_cv_prog_gnu_ld
5794 # Start by getting the version number. I think the libtool test already
5795 # does some of this, but throws away the result.
5797 ldver=`$LD --version 2>/dev/null | head -1 | \
5798 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5800 glibcpp_gnu_ld_version=`echo $ldver | \
5801 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5803 # Set --gc-sections.
5804 if test "$with_gnu_ld" = "notbroken"; then
5805 # GNU ld it is! Joy and bunny rabbits!
5807 # All these tests are for C++; save the language and the compiler flags.
5808 # Need to do this so that g++ won't try to link in libstdc++
5809 ac_test_CFLAGS="${CFLAGS+set}"
5810 ac_save_CFLAGS="$CFLAGS"
5811 CFLAGS='-x c++ -Wl,--gc-sections'
5813 # Check for -Wl,--gc-sections
5814 # XXX This test is broken at the moment, as symbols required for
5815 # linking are now in libsupc++ (not built yet.....). In addition,
5816 # this test has cored on solaris in the past. In addition,
5817 # --gc-sections doesn't really work at the moment (keeps on discarding
5818 # used sections, first .eh_frame and now some of the glibc sections for
5819 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5820 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5821 echo "configure:5822: checking for ld that supports -Wl,--gc-sections" >&5
5822 if test "$cross_compiling" = yes; then
5823 ac_sectionLDflags=yes
5825 cat > conftest.$ac_ext <<EOF
5826 #line 5827 "configure"
5827 #include "confdefs.h"
5837 if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5839 ac_sectionLDflags=yes
5841 echo "configure: failed program was:" >&5
5842 cat conftest.$ac_ext >&5
5844 ac_sectionLDflags=no
5849 if test "$ac_test_CFLAGS" = set; then
5850 CFLAGS="$ac_save_CFLAGS"
5852 # this is the suspicious part
5855 if test "$ac_sectionLDflags" = "yes"; then
5856 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5858 echo "$ac_t""$ac_sectionLDflags" 1>&6
5861 # Set linker optimization flags.
5862 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5863 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5870 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5871 echo "configure:5872: checking for main in -lm" >&5
5872 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5874 echo $ac_n "(cached) $ac_c" 1>&6
5876 ac_save_LIBS="$LIBS"
5878 cat > conftest.$ac_ext <<EOF
5879 #line 5880 "configure"
5880 #include "confdefs.h"
5886 if { (eval echo configure:5887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5888 eval "ac_cv_lib_$ac_lib_var=yes"
5890 echo "configure: failed program was:" >&5
5891 cat conftest.$ac_ext >&5
5893 eval "ac_cv_lib_$ac_lib_var=no"
5896 LIBS="$ac_save_LIBS"
5899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5900 echo "$ac_t""yes" 1>&6
5901 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5902 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5903 cat >> confdefs.h <<EOF
5904 #define $ac_tr_lib 1
5910 echo "$ac_t""no" 1>&6
5913 for ac_func in nan copysignf
5915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5916 echo "configure:5917: checking for $ac_func" >&5
5917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5918 echo $ac_n "(cached) $ac_c" 1>&6
5920 cat > conftest.$ac_ext <<EOF
5921 #line 5922 "configure"
5922 #include "confdefs.h"
5923 /* System header to define __stub macros and hopefully few prototypes,
5924 which can conflict with char $ac_func(); below. */
5926 /* Override any gcc2 internal prototype to avoid an error. */
5927 /* We use char because int might match the return type of a gcc2
5928 builtin and then its argument prototype would still apply. */
5933 /* The GNU C library defines this for functions which it implements
5934 to always fail with ENOSYS. Some functions are actually named
5935 something starting with __ and the normal name is an alias. */
5936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5944 if { (eval echo configure:5945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5946 eval "ac_cv_func_$ac_func=yes"
5948 echo "configure: failed program was:" >&5
5949 cat conftest.$ac_ext >&5
5951 eval "ac_cv_func_$ac_func=no"
5956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5957 echo "$ac_t""yes" 1>&6
5958 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5959 cat >> confdefs.h <<EOF
5960 #define $ac_tr_func 1
5964 echo "$ac_t""no" 1>&6
5965 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5971 USE_COMPLEX_LONG_DOUBLE=no
5972 if test x$ac_cv_func_copysignl = x"yes"; then
5973 USE_COMPLEX_LONG_DOUBLE=yes
5974 for ac_func in signbitl
5976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5977 echo "configure:5978: checking for $ac_func" >&5
5978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5979 echo $ac_n "(cached) $ac_c" 1>&6
5981 cat > conftest.$ac_ext <<EOF
5982 #line 5983 "configure"
5983 #include "confdefs.h"
5984 /* System header to define __stub macros and hopefully few prototypes,
5985 which can conflict with char $ac_func(); below. */
5987 /* Override any gcc2 internal prototype to avoid an error. */
5988 /* We use char because int might match the return type of a gcc2
5989 builtin and then its argument prototype would still apply. */
5994 /* The GNU C library defines this for functions which it implements
5995 to always fail with ENOSYS. Some functions are actually named
5996 something starting with __ and the normal name is an alias. */
5997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6007 eval "ac_cv_func_$ac_func=yes"
6009 echo "configure: failed program was:" >&5
6010 cat conftest.$ac_ext >&5
6012 eval "ac_cv_func_$ac_func=no"
6017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6018 echo "$ac_t""yes" 1>&6
6019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6020 cat >> confdefs.h <<EOF
6021 #define $ac_tr_func 1
6025 echo "$ac_t""no" 1>&6
6026 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6037 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6038 echo "configure:6039: checking for mbstate_t" >&5
6039 cat > conftest.$ac_ext <<EOF
6040 #line 6041 "configure"
6041 #include "confdefs.h"
6044 mbstate_t teststate;
6047 if { (eval echo configure:6048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6051 echo "configure: failed program was:" >&5
6052 cat conftest.$ac_ext >&5
6057 echo "$ac_t""$have_mbstate_t" 1>&6
6058 if test x"$have_mbstate_t" = xyes; then
6059 cat >> confdefs.h <<\EOF
6060 #define HAVE_MBSTATE_T 1
6065 for ac_hdr in wchar.h
6067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6069 echo "configure:6070: checking for $ac_hdr" >&5
6070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6071 echo $ac_n "(cached) $ac_c" 1>&6
6073 cat > conftest.$ac_ext <<EOF
6074 #line 6075 "configure"
6075 #include "confdefs.h"
6078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6079 { (eval echo configure:6080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6081 if test -z "$ac_err"; then
6083 eval "ac_cv_header_$ac_safe=yes"
6086 echo "configure: failed program was:" >&5
6087 cat conftest.$ac_ext >&5
6089 eval "ac_cv_header_$ac_safe=no"
6093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6094 echo "$ac_t""yes" 1>&6
6095 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6096 cat >> confdefs.h <<EOF
6097 #define $ac_tr_hdr 1
6101 echo "$ac_t""no" 1>&6
6106 for ac_hdr in wctype.h
6108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6110 echo "configure:6111: checking for $ac_hdr" >&5
6111 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6112 echo $ac_n "(cached) $ac_c" 1>&6
6114 cat > conftest.$ac_ext <<EOF
6115 #line 6116 "configure"
6116 #include "confdefs.h"
6119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6120 { (eval echo configure:6121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6122 if test -z "$ac_err"; then
6124 eval "ac_cv_header_$ac_safe=yes"
6127 echo "configure: failed program was:" >&5
6128 cat conftest.$ac_ext >&5
6130 eval "ac_cv_header_$ac_safe=no"
6134 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6135 echo "$ac_t""yes" 1>&6
6136 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6137 cat >> confdefs.h <<EOF
6138 #define $ac_tr_hdr 1
6142 echo "$ac_t""no" 1>&6
6148 if test x"$ac_has_wchar_h" = xyes &&
6149 test x"$ac_has_wctype_h" = xyes &&
6150 test x"$enable_c_mbchar" != xno; then
6152 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6153 echo "configure:6154: checking for WCHAR_MIN and WCHAR_MAX" >&5
6154 cat > conftest.$ac_ext <<EOF
6155 #line 6156 "configure"
6156 #include "confdefs.h"
6159 int i = WCHAR_MIN; int j = WCHAR_MAX;
6162 if { (eval echo configure:6163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6164 has_wchar_minmax=yes
6166 echo "configure: failed program was:" >&5
6167 cat conftest.$ac_ext >&5
6172 echo "$ac_t""$has_wchar_minmax" 1>&6
6174 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6175 echo "configure:6176: checking for WEOF" >&5
6176 cat > conftest.$ac_ext <<EOF
6177 #line 6178 "configure"
6178 #include "confdefs.h"
6186 if { (eval echo configure:6187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6190 echo "configure: failed program was:" >&5
6191 cat conftest.$ac_ext >&5
6196 echo "$ac_t""$has_weof" 1>&6
6199 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6202 echo "configure:6203: checking for $ac_func" >&5
6203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6206 cat > conftest.$ac_ext <<EOF
6207 #line 6208 "configure"
6208 #include "confdefs.h"
6209 /* System header to define __stub macros and hopefully few prototypes,
6210 which can conflict with char $ac_func(); below. */
6212 /* Override any gcc2 internal prototype to avoid an error. */
6213 /* We use char because int might match the return type of a gcc2
6214 builtin and then its argument prototype would still apply. */
6219 /* The GNU C library defines this for functions which it implements
6220 to always fail with ENOSYS. Some functions are actually named
6221 something starting with __ and the normal name is an alias. */
6222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6230 if { (eval echo configure:6231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6232 eval "ac_cv_func_$ac_func=yes"
6234 echo "configure: failed program was:" >&5
6235 cat conftest.$ac_ext >&5
6237 eval "ac_cv_func_$ac_func=no"
6242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6243 echo "$ac_t""yes" 1>&6
6244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6245 cat >> confdefs.h <<EOF
6246 #define $ac_tr_func 1
6250 echo "$ac_t""no" 1>&6
6257 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6258 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6259 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6260 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6261 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6262 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6265 echo "configure:6266: checking for $ac_func" >&5
6266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6267 echo $ac_n "(cached) $ac_c" 1>&6
6269 cat > conftest.$ac_ext <<EOF
6270 #line 6271 "configure"
6271 #include "confdefs.h"
6272 /* System header to define __stub macros and hopefully few prototypes,
6273 which can conflict with char $ac_func(); below. */
6275 /* Override any gcc2 internal prototype to avoid an error. */
6276 /* We use char because int might match the return type of a gcc2
6277 builtin and then its argument prototype would still apply. */
6282 /* The GNU C library defines this for functions which it implements
6283 to always fail with ENOSYS. Some functions are actually named
6284 something starting with __ and the normal name is an alias. */
6285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6293 if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6295 eval "ac_cv_func_$ac_func=yes"
6297 echo "configure: failed program was:" >&5
6298 cat conftest.$ac_ext >&5
6300 eval "ac_cv_func_$ac_func=no"
6305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6306 echo "$ac_t""yes" 1>&6
6307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6308 cat >> confdefs.h <<EOF
6309 #define $ac_tr_func 1
6313 echo "$ac_t""no" 1>&6
6320 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6321 echo "configure:6322: checking for ISO C99 wchar_t support" >&5
6322 if test x"$has_weof" = xyes &&
6323 test x"$has_wchar_minmax" = xyes &&
6324 test x"$ac_wfuncs" = xyes; then
6325 ac_isoC99_wchar_t=yes
6327 ac_isoC99_wchar_t=no
6329 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6331 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6332 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6333 echo "configure:6334: checking for iconv.h" >&5
6334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6335 echo $ac_n "(cached) $ac_c" 1>&6
6337 cat > conftest.$ac_ext <<EOF
6338 #line 6339 "configure"
6339 #include "confdefs.h"
6342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6343 { (eval echo configure:6344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6345 if test -z "$ac_err"; then
6347 eval "ac_cv_header_$ac_safe=yes"
6350 echo "configure: failed program was:" >&5
6351 cat conftest.$ac_ext >&5
6353 eval "ac_cv_header_$ac_safe=no"
6357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6358 echo "$ac_t""yes" 1>&6
6361 echo "$ac_t""no" 1>&6
6365 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6366 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6367 echo "configure:6368: checking for langinfo.h" >&5
6368 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6369 echo $ac_n "(cached) $ac_c" 1>&6
6371 cat > conftest.$ac_ext <<EOF
6372 #line 6373 "configure"
6373 #include "confdefs.h"
6374 #include <langinfo.h>
6376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6377 { (eval echo configure:6378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6379 if test -z "$ac_err"; then
6381 eval "ac_cv_header_$ac_safe=yes"
6384 echo "configure: failed program was:" >&5
6385 cat conftest.$ac_ext >&5
6387 eval "ac_cv_header_$ac_safe=no"
6391 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6392 echo "$ac_t""yes" 1>&6
6393 ac_has_langinfo_h=yes
6395 echo "$ac_t""no" 1>&6
6396 ac_has_langinfo_h=no
6400 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6401 echo "configure:6402: checking for iconv in -liconv" >&5
6402 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6404 echo $ac_n "(cached) $ac_c" 1>&6
6406 ac_save_LIBS="$LIBS"
6407 LIBS="-liconv $LIBS"
6408 cat > conftest.$ac_ext <<EOF
6409 #line 6410 "configure"
6410 #include "confdefs.h"
6411 /* Override any gcc2 internal prototype to avoid an error. */
6412 /* We use char because int might match the return type of a gcc2
6413 builtin and then its argument prototype would still apply. */
6420 if { (eval echo configure:6421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6422 eval "ac_cv_lib_$ac_lib_var=yes"
6424 echo "configure: failed program was:" >&5
6425 cat conftest.$ac_ext >&5
6427 eval "ac_cv_lib_$ac_lib_var=no"
6430 LIBS="$ac_save_LIBS"
6433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6434 echo "$ac_t""yes" 1>&6
6437 echo "$ac_t""no" 1>&6
6440 ac_save_LIBS="$LIBS"
6441 LIBS="$LIBS $libiconv"
6443 for ac_func in iconv_open iconv_close iconv nl_langinfo
6445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6446 echo "configure:6447: checking for $ac_func" >&5
6447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6448 echo $ac_n "(cached) $ac_c" 1>&6
6450 cat > conftest.$ac_ext <<EOF
6451 #line 6452 "configure"
6452 #include "confdefs.h"
6453 /* System header to define __stub macros and hopefully few prototypes,
6454 which can conflict with char $ac_func(); below. */
6456 /* Override any gcc2 internal prototype to avoid an error. */
6457 /* We use char because int might match the return type of a gcc2
6458 builtin and then its argument prototype would still apply. */
6463 /* The GNU C library defines this for functions which it implements
6464 to always fail with ENOSYS. Some functions are actually named
6465 something starting with __ and the normal name is an alias. */
6466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6474 if { (eval echo configure:6475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6476 eval "ac_cv_func_$ac_func=yes"
6478 echo "configure: failed program was:" >&5
6479 cat conftest.$ac_ext >&5
6481 eval "ac_cv_func_$ac_func=no"
6486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6487 echo "$ac_t""yes" 1>&6
6488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6489 cat >> confdefs.h <<EOF
6490 #define $ac_tr_func 1
6495 echo "$ac_t""no" 1>&6
6501 LIBS="$ac_save_LIBS"
6503 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6504 echo "configure:6505: checking for XPG2 wchar_t support" >&5
6505 if test x"$ac_has_iconv_h" = xyes &&
6506 test x"$ac_has_langinfo_h" = xyes &&
6507 test x"$ac_XPG2funcs" = xyes; then
6512 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6514 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6515 echo "configure:6516: checking for enabled wchar_t specializations" >&5
6516 if test x"$ac_isoC99_wchar_t" = xyes &&
6517 test x"$ac_XPG2_wchar_t" = xyes; then
6518 cat >> confdefs.h <<\EOF
6519 #define _GLIBCPP_USE_WCHAR_T 1
6522 echo "$ac_t"""yes"" 1>&6
6524 echo "$ac_t"""no"" 1>&6
6527 echo "configure: warning: wchar_t support disabled." 1>&2
6530 os_include_dir="config/os/bsd/netbsd"
6531 cat >> confdefs.h <<\EOF
6532 #define HAVE_COPYSIGN 1
6535 cat >> confdefs.h <<\EOF
6536 #define HAVE_COPYSIGNF 1
6539 cat >> confdefs.h <<\EOF
6540 #define HAVE_FINITEF 1
6543 cat >> confdefs.h <<\EOF
6544 #define HAVE_FREXPF 1
6547 cat >> confdefs.h <<\EOF
6548 #define HAVE_HYPOTF 1
6553 for ac_hdr in sys/types.h locale.h float.h
6555 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6557 echo "configure:6558: checking for $ac_hdr" >&5
6558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6559 echo $ac_n "(cached) $ac_c" 1>&6
6561 cat > conftest.$ac_ext <<EOF
6562 #line 6563 "configure"
6563 #include "confdefs.h"
6566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6567 { (eval echo configure:6568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6569 if test -z "$ac_err"; then
6571 eval "ac_cv_header_$ac_safe=yes"
6574 echo "configure: failed program was:" >&5
6575 cat conftest.$ac_ext >&5
6577 eval "ac_cv_header_$ac_safe=no"
6581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6582 echo "$ac_t""yes" 1>&6
6583 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6584 cat >> confdefs.h <<EOF
6585 #define $ac_tr_hdr 1
6589 echo "$ac_t""no" 1>&6
6594 # If we're not using GNU ld, then there's no point in even trying these
6595 # tests. Check for that first. We should have already tested for gld
6596 # by now (in libtool), but require it now just to be safe...
6597 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6598 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6601 # The name set by libtool depends on the version of libtool. Shame on us
6602 # for depending on an impl detail, but c'est la vie. Older versions used
6603 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6604 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6605 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6606 # set (hence we're using an older libtool), then set it.
6607 if test x${with_gnu_ld+set} != xset; then
6608 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6609 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6612 with_gnu_ld=$ac_cv_prog_gnu_ld
6616 # Start by getting the version number. I think the libtool test already
6617 # does some of this, but throws away the result.
6619 ldver=`$LD --version 2>/dev/null | head -1 | \
6620 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6622 glibcpp_gnu_ld_version=`echo $ldver | \
6623 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6625 # Set --gc-sections.
6626 if test "$with_gnu_ld" = "notbroken"; then
6627 # GNU ld it is! Joy and bunny rabbits!
6629 # All these tests are for C++; save the language and the compiler flags.
6630 # Need to do this so that g++ won't try to link in libstdc++
6631 ac_test_CFLAGS="${CFLAGS+set}"
6632 ac_save_CFLAGS="$CFLAGS"
6633 CFLAGS='-x c++ -Wl,--gc-sections'
6635 # Check for -Wl,--gc-sections
6636 # XXX This test is broken at the moment, as symbols required for
6637 # linking are now in libsupc++ (not built yet.....). In addition,
6638 # this test has cored on solaris in the past. In addition,
6639 # --gc-sections doesn't really work at the moment (keeps on discarding
6640 # used sections, first .eh_frame and now some of the glibc sections for
6641 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6642 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6643 echo "configure:6644: checking for ld that supports -Wl,--gc-sections" >&5
6644 if test "$cross_compiling" = yes; then
6645 ac_sectionLDflags=yes
6647 cat > conftest.$ac_ext <<EOF
6648 #line 6649 "configure"
6649 #include "confdefs.h"
6659 if { (eval echo configure:6660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6661 ac_sectionLDflags=yes
6663 echo "configure: failed program was:" >&5
6664 cat conftest.$ac_ext >&5
6666 ac_sectionLDflags=no
6671 if test "$ac_test_CFLAGS" = set; then
6672 CFLAGS="$ac_save_CFLAGS"
6674 # this is the suspicious part
6677 if test "$ac_sectionLDflags" = "yes"; then
6678 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6680 echo "$ac_t""$ac_sectionLDflags" 1>&6
6683 # Set linker optimization flags.
6684 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6692 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6693 echo "configure:6694: checking for main in -lm" >&5
6694 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6695 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6696 echo $ac_n "(cached) $ac_c" 1>&6
6698 ac_save_LIBS="$LIBS"
6700 cat > conftest.$ac_ext <<EOF
6701 #line 6702 "configure"
6702 #include "confdefs.h"
6708 if { (eval echo configure:6709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6710 eval "ac_cv_lib_$ac_lib_var=yes"
6712 echo "configure: failed program was:" >&5
6713 cat conftest.$ac_ext >&5
6715 eval "ac_cv_lib_$ac_lib_var=no"
6718 LIBS="$ac_save_LIBS"
6721 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6722 echo "$ac_t""yes" 1>&6
6723 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6724 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6725 cat >> confdefs.h <<EOF
6726 #define $ac_tr_lib 1
6732 echo "$ac_t""no" 1>&6
6735 for ac_func in nan copysignf
6737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6738 echo "configure:6739: checking for $ac_func" >&5
6739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6740 echo $ac_n "(cached) $ac_c" 1>&6
6742 cat > conftest.$ac_ext <<EOF
6743 #line 6744 "configure"
6744 #include "confdefs.h"
6745 /* System header to define __stub macros and hopefully few prototypes,
6746 which can conflict with char $ac_func(); below. */
6748 /* Override any gcc2 internal prototype to avoid an error. */
6749 /* We use char because int might match the return type of a gcc2
6750 builtin and then its argument prototype would still apply. */
6755 /* The GNU C library defines this for functions which it implements
6756 to always fail with ENOSYS. Some functions are actually named
6757 something starting with __ and the normal name is an alias. */
6758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6766 if { (eval echo configure:6767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6768 eval "ac_cv_func_$ac_func=yes"
6770 echo "configure: failed program was:" >&5
6771 cat conftest.$ac_ext >&5
6773 eval "ac_cv_func_$ac_func=no"
6778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6779 echo "$ac_t""yes" 1>&6
6780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6781 cat >> confdefs.h <<EOF
6782 #define $ac_tr_func 1
6786 echo "$ac_t""no" 1>&6
6787 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6793 USE_COMPLEX_LONG_DOUBLE=no
6794 if test x$ac_cv_func_copysignl = x"yes"; then
6795 USE_COMPLEX_LONG_DOUBLE=yes
6796 for ac_func in signbitl
6798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6799 echo "configure:6800: checking for $ac_func" >&5
6800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6801 echo $ac_n "(cached) $ac_c" 1>&6
6803 cat > conftest.$ac_ext <<EOF
6804 #line 6805 "configure"
6805 #include "confdefs.h"
6806 /* System header to define __stub macros and hopefully few prototypes,
6807 which can conflict with char $ac_func(); below. */
6809 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6816 /* The GNU C library defines this for functions which it implements
6817 to always fail with ENOSYS. Some functions are actually named
6818 something starting with __ and the normal name is an alias. */
6819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6827 if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6829 eval "ac_cv_func_$ac_func=yes"
6831 echo "configure: failed program was:" >&5
6832 cat conftest.$ac_ext >&5
6834 eval "ac_cv_func_$ac_func=no"
6839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6840 echo "$ac_t""yes" 1>&6
6841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6842 cat >> confdefs.h <<EOF
6843 #define $ac_tr_func 1
6847 echo "$ac_t""no" 1>&6
6848 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6859 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6860 echo "configure:6861: checking for mbstate_t" >&5
6861 cat > conftest.$ac_ext <<EOF
6862 #line 6863 "configure"
6863 #include "confdefs.h"
6866 mbstate_t teststate;
6869 if { (eval echo configure:6870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6873 echo "configure: failed program was:" >&5
6874 cat conftest.$ac_ext >&5
6879 echo "$ac_t""$have_mbstate_t" 1>&6
6880 if test x"$have_mbstate_t" = xyes; then
6881 cat >> confdefs.h <<\EOF
6882 #define HAVE_MBSTATE_T 1
6887 for ac_hdr in wchar.h
6889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6891 echo "configure:6892: checking for $ac_hdr" >&5
6892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6893 echo $ac_n "(cached) $ac_c" 1>&6
6895 cat > conftest.$ac_ext <<EOF
6896 #line 6897 "configure"
6897 #include "confdefs.h"
6900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6901 { (eval echo configure:6902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6903 if test -z "$ac_err"; then
6905 eval "ac_cv_header_$ac_safe=yes"
6908 echo "configure: failed program was:" >&5
6909 cat conftest.$ac_ext >&5
6911 eval "ac_cv_header_$ac_safe=no"
6915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6916 echo "$ac_t""yes" 1>&6
6917 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6918 cat >> confdefs.h <<EOF
6919 #define $ac_tr_hdr 1
6923 echo "$ac_t""no" 1>&6
6928 for ac_hdr in wctype.h
6930 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6931 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6932 echo "configure:6933: checking for $ac_hdr" >&5
6933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6934 echo $ac_n "(cached) $ac_c" 1>&6
6936 cat > conftest.$ac_ext <<EOF
6937 #line 6938 "configure"
6938 #include "confdefs.h"
6941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6942 { (eval echo configure:6943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6944 if test -z "$ac_err"; then
6946 eval "ac_cv_header_$ac_safe=yes"
6949 echo "configure: failed program was:" >&5
6950 cat conftest.$ac_ext >&5
6952 eval "ac_cv_header_$ac_safe=no"
6956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6957 echo "$ac_t""yes" 1>&6
6958 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6959 cat >> confdefs.h <<EOF
6960 #define $ac_tr_hdr 1
6964 echo "$ac_t""no" 1>&6
6970 if test x"$ac_has_wchar_h" = xyes &&
6971 test x"$ac_has_wctype_h" = xyes &&
6972 test x"$enable_c_mbchar" != xno; then
6974 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6975 echo "configure:6976: checking for WCHAR_MIN and WCHAR_MAX" >&5
6976 cat > conftest.$ac_ext <<EOF
6977 #line 6978 "configure"
6978 #include "confdefs.h"
6981 int i = WCHAR_MIN; int j = WCHAR_MAX;
6984 if { (eval echo configure:6985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6986 has_wchar_minmax=yes
6988 echo "configure: failed program was:" >&5
6989 cat conftest.$ac_ext >&5
6994 echo "$ac_t""$has_wchar_minmax" 1>&6
6996 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6997 echo "configure:6998: checking for WEOF" >&5
6998 cat > conftest.$ac_ext <<EOF
6999 #line 7000 "configure"
7000 #include "confdefs.h"
7008 if { (eval echo configure:7009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7012 echo "configure: failed program was:" >&5
7013 cat conftest.$ac_ext >&5
7018 echo "$ac_t""$has_weof" 1>&6
7021 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7024 echo "configure:7025: checking for $ac_func" >&5
7025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7026 echo $ac_n "(cached) $ac_c" 1>&6
7028 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure"
7030 #include "confdefs.h"
7031 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char $ac_func(); below. */
7034 /* Override any gcc2 internal prototype to avoid an error. */
7035 /* We use char because int might match the return type of a gcc2
7036 builtin and then its argument prototype would still apply. */
7041 /* The GNU C library defines this for functions which it implements
7042 to always fail with ENOSYS. Some functions are actually named
7043 something starting with __ and the normal name is an alias. */
7044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7054 eval "ac_cv_func_$ac_func=yes"
7056 echo "configure: failed program was:" >&5
7057 cat conftest.$ac_ext >&5
7059 eval "ac_cv_func_$ac_func=no"
7064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7065 echo "$ac_t""yes" 1>&6
7066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7067 cat >> confdefs.h <<EOF
7068 #define $ac_tr_func 1
7072 echo "$ac_t""no" 1>&6
7079 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7080 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7081 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7082 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7083 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7084 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7087 echo "configure:7088: checking for $ac_func" >&5
7088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7089 echo $ac_n "(cached) $ac_c" 1>&6
7091 cat > conftest.$ac_ext <<EOF
7092 #line 7093 "configure"
7093 #include "confdefs.h"
7094 /* System header to define __stub macros and hopefully few prototypes,
7095 which can conflict with char $ac_func(); below. */
7097 /* Override any gcc2 internal prototype to avoid an error. */
7098 /* We use char because int might match the return type of a gcc2
7099 builtin and then its argument prototype would still apply. */
7104 /* The GNU C library defines this for functions which it implements
7105 to always fail with ENOSYS. Some functions are actually named
7106 something starting with __ and the normal name is an alias. */
7107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7117 eval "ac_cv_func_$ac_func=yes"
7119 echo "configure: failed program was:" >&5
7120 cat conftest.$ac_ext >&5
7122 eval "ac_cv_func_$ac_func=no"
7127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7128 echo "$ac_t""yes" 1>&6
7129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7130 cat >> confdefs.h <<EOF
7131 #define $ac_tr_func 1
7135 echo "$ac_t""no" 1>&6
7142 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7143 echo "configure:7144: checking for ISO C99 wchar_t support" >&5
7144 if test x"$has_weof" = xyes &&
7145 test x"$has_wchar_minmax" = xyes &&
7146 test x"$ac_wfuncs" = xyes; then
7147 ac_isoC99_wchar_t=yes
7149 ac_isoC99_wchar_t=no
7151 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7153 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7154 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7155 echo "configure:7156: checking for iconv.h" >&5
7156 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7157 echo $ac_n "(cached) $ac_c" 1>&6
7159 cat > conftest.$ac_ext <<EOF
7160 #line 7161 "configure"
7161 #include "confdefs.h"
7164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7165 { (eval echo configure:7166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7167 if test -z "$ac_err"; then
7169 eval "ac_cv_header_$ac_safe=yes"
7172 echo "configure: failed program was:" >&5
7173 cat conftest.$ac_ext >&5
7175 eval "ac_cv_header_$ac_safe=no"
7179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7180 echo "$ac_t""yes" 1>&6
7183 echo "$ac_t""no" 1>&6
7187 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7188 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7189 echo "configure:7190: checking for langinfo.h" >&5
7190 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7191 echo $ac_n "(cached) $ac_c" 1>&6
7193 cat > conftest.$ac_ext <<EOF
7194 #line 7195 "configure"
7195 #include "confdefs.h"
7196 #include <langinfo.h>
7198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7199 { (eval echo configure:7200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7201 if test -z "$ac_err"; then
7203 eval "ac_cv_header_$ac_safe=yes"
7206 echo "configure: failed program was:" >&5
7207 cat conftest.$ac_ext >&5
7209 eval "ac_cv_header_$ac_safe=no"
7213 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7214 echo "$ac_t""yes" 1>&6
7215 ac_has_langinfo_h=yes
7217 echo "$ac_t""no" 1>&6
7218 ac_has_langinfo_h=no
7222 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7223 echo "configure:7224: checking for iconv in -liconv" >&5
7224 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7225 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7226 echo $ac_n "(cached) $ac_c" 1>&6
7228 ac_save_LIBS="$LIBS"
7229 LIBS="-liconv $LIBS"
7230 cat > conftest.$ac_ext <<EOF
7231 #line 7232 "configure"
7232 #include "confdefs.h"
7233 /* Override any gcc2 internal prototype to avoid an error. */
7234 /* We use char because int might match the return type of a gcc2
7235 builtin and then its argument prototype would still apply. */
7242 if { (eval echo configure:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7244 eval "ac_cv_lib_$ac_lib_var=yes"
7246 echo "configure: failed program was:" >&5
7247 cat conftest.$ac_ext >&5
7249 eval "ac_cv_lib_$ac_lib_var=no"
7252 LIBS="$ac_save_LIBS"
7255 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7256 echo "$ac_t""yes" 1>&6
7259 echo "$ac_t""no" 1>&6
7262 ac_save_LIBS="$LIBS"
7263 LIBS="$LIBS $libiconv"
7265 for ac_func in iconv_open iconv_close iconv nl_langinfo
7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7268 echo "configure:7269: checking for $ac_func" >&5
7269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7270 echo $ac_n "(cached) $ac_c" 1>&6
7272 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure"
7274 #include "confdefs.h"
7275 /* System header to define __stub macros and hopefully few prototypes,
7276 which can conflict with char $ac_func(); below. */
7278 /* Override any gcc2 internal prototype to avoid an error. */
7279 /* We use char because int might match the return type of a gcc2
7280 builtin and then its argument prototype would still apply. */
7285 /* The GNU C library defines this for functions which it implements
7286 to always fail with ENOSYS. Some functions are actually named
7287 something starting with __ and the normal name is an alias. */
7288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7296 if { (eval echo configure:7297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7298 eval "ac_cv_func_$ac_func=yes"
7300 echo "configure: failed program was:" >&5
7301 cat conftest.$ac_ext >&5
7303 eval "ac_cv_func_$ac_func=no"
7308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7309 echo "$ac_t""yes" 1>&6
7310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7311 cat >> confdefs.h <<EOF
7312 #define $ac_tr_func 1
7317 echo "$ac_t""no" 1>&6
7323 LIBS="$ac_save_LIBS"
7325 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7326 echo "configure:7327: checking for XPG2 wchar_t support" >&5
7327 if test x"$ac_has_iconv_h" = xyes &&
7328 test x"$ac_has_langinfo_h" = xyes &&
7329 test x"$ac_XPG2funcs" = xyes; then
7334 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7336 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7337 echo "configure:7338: checking for enabled wchar_t specializations" >&5
7338 if test x"$ac_isoC99_wchar_t" = xyes &&
7339 test x"$ac_XPG2_wchar_t" = xyes; then
7340 cat >> confdefs.h <<\EOF
7341 #define _GLIBCPP_USE_WCHAR_T 1
7344 echo "$ac_t"""yes"" 1>&6
7346 echo "$ac_t"""no"" 1>&6
7349 echo "configure: warning: wchar_t support disabled." 1>&2
7352 os_include_dir="config/os/mingw32"
7355 os_include_dir="config/os/newlib"
7356 cat >> confdefs.h <<\EOF
7357 #define HAVE_HYPOT 1
7363 case "$target_alias" in
7367 # GLIBCPP_CHECK_STDLIB_SUPPORT
7368 cat >> confdefs.h <<\EOF
7369 #define HAVE_STRTOF 1
7372 cat >> confdefs.h <<\EOF
7373 #define HAVE_STRTOLD 1
7377 cat >> confdefs.h <<\EOF
7382 cat >> confdefs.h <<\EOF
7383 #define HAVE_ACOSF 1
7386 cat >> confdefs.h <<\EOF
7387 #define HAVE_ASINF 1
7390 cat >> confdefs.h <<\EOF
7391 #define HAVE_ATAN2F 1
7394 cat >> confdefs.h <<\EOF
7395 #define HAVE_ATANF 1
7398 cat >> confdefs.h <<\EOF
7399 #define HAVE_CEILF 1
7402 cat >> confdefs.h <<\EOF
7403 #define HAVE_COPYSIGN 1
7406 cat >> confdefs.h <<\EOF
7407 #define HAVE_COPYSIGNF 1
7410 cat >> confdefs.h <<\EOF
7414 cat >> confdefs.h <<\EOF
7415 #define HAVE_COSHF 1
7418 cat >> confdefs.h <<\EOF
7422 cat >> confdefs.h <<\EOF
7423 #define HAVE_FABSF 1
7426 cat >> confdefs.h <<\EOF
7427 #define HAVE_FINITE 1
7430 cat >> confdefs.h <<\EOF
7431 #define HAVE_FINITEF 1
7434 cat >> confdefs.h <<\EOF
7435 #define HAVE_FLOORF 1
7438 cat >> confdefs.h <<\EOF
7439 #define HAVE_FMODF 1
7442 cat >> confdefs.h <<\EOF
7443 #define HAVE_FREXPF 1
7446 cat >> confdefs.h <<\EOF
7447 #define HAVE_ISINF 1
7450 cat >> confdefs.h <<\EOF
7451 #define HAVE_ISINFF 1
7454 cat >> confdefs.h <<\EOF
7455 #define HAVE_ISNAN 1
7458 cat >> confdefs.h <<\EOF
7459 #define HAVE_ISNANF 1
7462 cat >> confdefs.h <<\EOF
7463 #define HAVE_LDEXPF 1
7466 cat >> confdefs.h <<\EOF
7467 #define HAVE_LOG10F 1
7470 cat >> confdefs.h <<\EOF
7474 cat >> confdefs.h <<\EOF
7475 #define HAVE_MODFF 1
7478 cat >> confdefs.h <<\EOF
7482 cat >> confdefs.h <<\EOF
7486 cat >> confdefs.h <<\EOF
7487 #define HAVE_SINHF 1
7490 cat >> confdefs.h <<\EOF
7491 #define HAVE_SQRTF 1
7494 cat >> confdefs.h <<\EOF
7498 cat >> confdefs.h <<\EOF
7499 #define HAVE_TANHF 1
7505 # At some point, we should differentiate between architectures
7506 # like x86, which have long double versions, and alpha/powerpc/etc.,
7507 # which don't. For the time being, punt.
7508 if test x"long_double_math_on_this_cpu" = x"yes"; then
7509 cat >> confdefs.h <<\EOF
7510 #define HAVE_ACOSL 1
7513 cat >> confdefs.h <<\EOF
7514 #define HAVE_ASINL 1
7517 cat >> confdefs.h <<\EOF
7518 #define HAVE_ATAN2L 1
7521 cat >> confdefs.h <<\EOF
7522 #define HAVE_ATANL 1
7525 cat >> confdefs.h <<\EOF
7526 #define HAVE_CEILL 1
7529 cat >> confdefs.h <<\EOF
7530 #define HAVE_COPYSIGNL 1
7533 cat >> confdefs.h <<\EOF
7537 cat >> confdefs.h <<\EOF
7538 #define HAVE_COSHL 1
7541 cat >> confdefs.h <<\EOF
7545 cat >> confdefs.h <<\EOF
7546 #define HAVE_FABSL 1
7549 cat >> confdefs.h <<\EOF
7550 #define HAVE_FINITEL 1
7553 cat >> confdefs.h <<\EOF
7554 #define HAVE_FLOORL 1
7557 cat >> confdefs.h <<\EOF
7558 #define HAVE_FMODL 1
7561 cat >> confdefs.h <<\EOF
7562 #define HAVE_FREXPL 1
7565 cat >> confdefs.h <<\EOF
7566 #define HAVE_ISINFL 1
7569 cat >> confdefs.h <<\EOF
7570 #define HAVE_ISNANL 1
7573 cat >> confdefs.h <<\EOF
7574 #define HAVE_LDEXPL 1
7577 cat >> confdefs.h <<\EOF
7578 #define HAVE_LOG10L 1
7581 cat >> confdefs.h <<\EOF
7585 cat >> confdefs.h <<\EOF
7586 #define HAVE_MODFL 1
7589 cat >> confdefs.h <<\EOF
7593 cat >> confdefs.h <<\EOF
7594 #define HAVE_SINCOSL 1
7597 cat >> confdefs.h <<\EOF
7601 cat >> confdefs.h <<\EOF
7602 #define HAVE_SINHL 1
7605 cat >> confdefs.h <<\EOF
7606 #define HAVE_SQRTL 1
7609 cat >> confdefs.h <<\EOF
7613 cat >> confdefs.h <<\EOF
7614 #define HAVE_TANHL 1
7620 # We are being configured natively. We can do more elaborate tests
7621 # that include AC_TRY_COMPILE now, as the linker is assumed to be
7623 GLIBCPP_IS_CROSS_COMPILING=0
7626 # Check for available headers.
7627 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7628 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
7630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7632 echo "configure:7633: checking for $ac_hdr" >&5
7633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7634 echo $ac_n "(cached) $ac_c" 1>&6
7636 cat > conftest.$ac_ext <<EOF
7637 #line 7638 "configure"
7638 #include "confdefs.h"
7641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7642 { (eval echo configure:7643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7644 if test -z "$ac_err"; then
7646 eval "ac_cv_header_$ac_safe=yes"
7649 echo "configure: failed program was:" >&5
7650 cat conftest.$ac_ext >&5
7652 eval "ac_cv_header_$ac_safe=no"
7656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7657 echo "$ac_t""yes" 1>&6
7658 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7659 cat >> confdefs.h <<EOF
7660 #define $ac_tr_hdr 1
7664 echo "$ac_t""no" 1>&6
7670 # All these tests are for C++; save the language and the compiler flags.
7671 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7672 # found in GLIBCPP_CONFIGURE.
7675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7676 ac_cpp='$CXXCPP $CPPFLAGS'
7677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7679 cross_compiling=$ac_cv_prog_cxx_cross
7681 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7682 ac_save_CXXFLAGS="$CXXFLAGS"
7684 # Check for maintainer-mode bits.
7685 if test x"$USE_MAINTAINER_MODE" = xno; then
7691 # Check for -ffunction-sections -fdata-sections
7692 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
7693 echo "configure:7694: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7694 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7695 cat > conftest.$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7704 if { (eval echo configure:7705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7708 echo "configure: failed program was:" >&5
7709 cat conftest.$ac_ext >&5
7714 if test "$ac_test_CXXFLAGS" = set; then
7715 CXXFLAGS="$ac_save_CXXFLAGS"
7717 # this is the suspicious part
7720 if test x"$ac_fdsections" = x"yes" &&
7721 test x"$enable_debug" = x"no"; then
7722 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7724 echo "$ac_t""$ac_fdsections" 1>&6
7727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7728 ac_cpp='$CPP $CPPFLAGS'
7729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7731 cross_compiling=$ac_cv_prog_cc_cross
7737 # If we're not using GNU ld, then there's no point in even trying these
7738 # tests. Check for that first. We should have already tested for gld
7739 # by now (in libtool), but require it now just to be safe...
7740 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7741 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7744 # The name set by libtool depends on the version of libtool. Shame on us
7745 # for depending on an impl detail, but c'est la vie. Older versions used
7746 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7747 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7748 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7749 # set (hence we're using an older libtool), then set it.
7750 if test x${with_gnu_ld+set} != xset; then
7751 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7752 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7755 with_gnu_ld=$ac_cv_prog_gnu_ld
7759 # Start by getting the version number. I think the libtool test already
7760 # does some of this, but throws away the result.
7762 ldver=`$LD --version 2>/dev/null | head -1 | \
7763 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7765 glibcpp_gnu_ld_version=`echo $ldver | \
7766 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7768 # Set --gc-sections.
7769 if test "$with_gnu_ld" = "notbroken"; then
7770 # GNU ld it is! Joy and bunny rabbits!
7772 # All these tests are for C++; save the language and the compiler flags.
7773 # Need to do this so that g++ won't try to link in libstdc++
7774 ac_test_CFLAGS="${CFLAGS+set}"
7775 ac_save_CFLAGS="$CFLAGS"
7776 CFLAGS='-x c++ -Wl,--gc-sections'
7778 # Check for -Wl,--gc-sections
7779 # XXX This test is broken at the moment, as symbols required for
7780 # linking are now in libsupc++ (not built yet.....). In addition,
7781 # this test has cored on solaris in the past. In addition,
7782 # --gc-sections doesn't really work at the moment (keeps on discarding
7783 # used sections, first .eh_frame and now some of the glibc sections for
7784 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7785 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7786 echo "configure:7787: checking for ld that supports -Wl,--gc-sections" >&5
7787 if test "$cross_compiling" = yes; then
7788 ac_sectionLDflags=yes
7790 cat > conftest.$ac_ext <<EOF
7791 #line 7792 "configure"
7792 #include "confdefs.h"
7802 if { (eval echo configure:7803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7804 ac_sectionLDflags=yes
7806 echo "configure: failed program was:" >&5
7807 cat conftest.$ac_ext >&5
7809 ac_sectionLDflags=no
7814 if test "$ac_test_CFLAGS" = set; then
7815 CFLAGS="$ac_save_CFLAGS"
7817 # this is the suspicious part
7820 if test "$ac_sectionLDflags" = "yes"; then
7821 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7823 echo "$ac_t""$ac_sectionLDflags" 1>&6
7826 # Set linker optimization flags.
7827 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7828 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7836 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
7837 echo "configure:7838: checking for __builtin_abs declaration" >&5
7838 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
7839 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
7840 echo $ac_n "(cached) $ac_c" 1>&6
7845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7846 ac_cpp='$CXXCPP $CPPFLAGS'
7847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7849 cross_compiling=$ac_cv_prog_cxx_cross
7851 cat > conftest.$ac_ext <<EOF
7852 #line 7853 "configure"
7853 #include "confdefs.h"
7859 if { (eval echo configure:7860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7861 glibcpp_cv_func___builtin_abs_use=yes
7863 echo "configure: failed program was:" >&5
7864 cat conftest.$ac_ext >&5
7866 glibcpp_cv_func___builtin_abs_use=no
7870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7871 ac_cpp='$CPP $CPPFLAGS'
7872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7874 cross_compiling=$ac_cv_prog_cc_cross
7880 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
7881 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
7882 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
7883 echo "configure:7884: checking for __builtin_abs linkage" >&5
7884 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
7885 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
7886 echo $ac_n "(cached) $ac_c" 1>&6
7889 cat > conftest.$ac_ext <<EOF
7890 #line 7891 "configure"
7891 #include "confdefs.h"
7897 if { (eval echo configure:7898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7899 glibcpp_cv_func___builtin_abs_link=yes
7901 echo "configure: failed program was:" >&5
7902 cat conftest.$ac_ext >&5
7904 glibcpp_cv_func___builtin_abs_link=no
7911 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
7912 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
7913 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7914 cat >> confdefs.h <<EOF
7915 #define ${ac_tr_func} 1
7922 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
7923 echo "configure:7924: checking for __builtin_fabsf declaration" >&5
7924 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
7925 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
7926 echo $ac_n "(cached) $ac_c" 1>&6
7931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7932 ac_cpp='$CXXCPP $CPPFLAGS'
7933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7935 cross_compiling=$ac_cv_prog_cxx_cross
7937 cat > conftest.$ac_ext <<EOF
7938 #line 7939 "configure"
7939 #include "confdefs.h"
7945 if { (eval echo configure:7946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7947 glibcpp_cv_func___builtin_fabsf_use=yes
7949 echo "configure: failed program was:" >&5
7950 cat conftest.$ac_ext >&5
7952 glibcpp_cv_func___builtin_fabsf_use=no
7956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7957 ac_cpp='$CPP $CPPFLAGS'
7958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7960 cross_compiling=$ac_cv_prog_cc_cross
7966 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
7967 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
7968 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
7969 echo "configure:7970: checking for __builtin_fabsf linkage" >&5
7970 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
7971 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
7972 echo $ac_n "(cached) $ac_c" 1>&6
7975 cat > conftest.$ac_ext <<EOF
7976 #line 7977 "configure"
7977 #include "confdefs.h"
7983 if { (eval echo configure:7984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7985 glibcpp_cv_func___builtin_fabsf_link=yes
7987 echo "configure: failed program was:" >&5
7988 cat conftest.$ac_ext >&5
7990 glibcpp_cv_func___builtin_fabsf_link=no
7997 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7998 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7999 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8000 cat >> confdefs.h <<EOF
8001 #define ${ac_tr_func} 1
8008 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
8009 echo "configure:8010: checking for __builtin_fabs declaration" >&5
8010 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
8011 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
8012 echo $ac_n "(cached) $ac_c" 1>&6
8017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8018 ac_cpp='$CXXCPP $CPPFLAGS'
8019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8021 cross_compiling=$ac_cv_prog_cxx_cross
8023 cat > conftest.$ac_ext <<EOF
8024 #line 8025 "configure"
8025 #include "confdefs.h"
8031 if { (eval echo configure:8032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8033 glibcpp_cv_func___builtin_fabs_use=yes
8035 echo "configure: failed program was:" >&5
8036 cat conftest.$ac_ext >&5
8038 glibcpp_cv_func___builtin_fabs_use=no
8042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8043 ac_cpp='$CPP $CPPFLAGS'
8044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8046 cross_compiling=$ac_cv_prog_cc_cross
8052 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8053 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8054 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8055 echo "configure:8056: checking for __builtin_fabs linkage" >&5
8056 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8057 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8058 echo $ac_n "(cached) $ac_c" 1>&6
8061 cat > conftest.$ac_ext <<EOF
8062 #line 8063 "configure"
8063 #include "confdefs.h"
8069 if { (eval echo configure:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8071 glibcpp_cv_func___builtin_fabs_link=yes
8073 echo "configure: failed program was:" >&5
8074 cat conftest.$ac_ext >&5
8076 glibcpp_cv_func___builtin_fabs_link=no
8083 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8084 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8085 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8086 cat >> confdefs.h <<EOF
8087 #define ${ac_tr_func} 1
8094 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8095 echo "configure:8096: checking for __builtin_fabsl declaration" >&5
8096 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8097 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8098 echo $ac_n "(cached) $ac_c" 1>&6
8103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8104 ac_cpp='$CXXCPP $CPPFLAGS'
8105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8107 cross_compiling=$ac_cv_prog_cxx_cross
8109 cat > conftest.$ac_ext <<EOF
8110 #line 8111 "configure"
8111 #include "confdefs.h"
8117 if { (eval echo configure:8118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8119 glibcpp_cv_func___builtin_fabsl_use=yes
8121 echo "configure: failed program was:" >&5
8122 cat conftest.$ac_ext >&5
8124 glibcpp_cv_func___builtin_fabsl_use=no
8128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8129 ac_cpp='$CPP $CPPFLAGS'
8130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8132 cross_compiling=$ac_cv_prog_cc_cross
8138 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8139 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8140 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8141 echo "configure:8142: checking for __builtin_fabsl linkage" >&5
8142 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8143 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8144 echo $ac_n "(cached) $ac_c" 1>&6
8147 cat > conftest.$ac_ext <<EOF
8148 #line 8149 "configure"
8149 #include "confdefs.h"
8155 if { (eval echo configure:8156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8157 glibcpp_cv_func___builtin_fabsl_link=yes
8159 echo "configure: failed program was:" >&5
8160 cat conftest.$ac_ext >&5
8162 glibcpp_cv_func___builtin_fabsl_link=no
8169 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8170 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8171 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8172 cat >> confdefs.h <<EOF
8173 #define ${ac_tr_func} 1
8180 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8181 echo "configure:8182: checking for __builtin_labs declaration" >&5
8182 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8183 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8184 echo $ac_n "(cached) $ac_c" 1>&6
8189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8190 ac_cpp='$CXXCPP $CPPFLAGS'
8191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8193 cross_compiling=$ac_cv_prog_cxx_cross
8195 cat > conftest.$ac_ext <<EOF
8196 #line 8197 "configure"
8197 #include "confdefs.h"
8203 if { (eval echo configure:8204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8205 glibcpp_cv_func___builtin_labs_use=yes
8207 echo "configure: failed program was:" >&5
8208 cat conftest.$ac_ext >&5
8210 glibcpp_cv_func___builtin_labs_use=no
8214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8215 ac_cpp='$CPP $CPPFLAGS'
8216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8218 cross_compiling=$ac_cv_prog_cc_cross
8224 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8225 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8226 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8227 echo "configure:8228: checking for __builtin_labs linkage" >&5
8228 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8229 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8230 echo $ac_n "(cached) $ac_c" 1>&6
8233 cat > conftest.$ac_ext <<EOF
8234 #line 8235 "configure"
8235 #include "confdefs.h"
8241 if { (eval echo configure:8242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8243 glibcpp_cv_func___builtin_labs_link=yes
8245 echo "configure: failed program was:" >&5
8246 cat conftest.$ac_ext >&5
8248 glibcpp_cv_func___builtin_labs_link=no
8255 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8256 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8257 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8258 cat >> confdefs.h <<EOF
8259 #define ${ac_tr_func} 1
8267 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8268 echo "configure:8269: checking for __builtin_sqrtf declaration" >&5
8269 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8270 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8271 echo $ac_n "(cached) $ac_c" 1>&6
8276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8277 ac_cpp='$CXXCPP $CPPFLAGS'
8278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8280 cross_compiling=$ac_cv_prog_cxx_cross
8282 cat > conftest.$ac_ext <<EOF
8283 #line 8284 "configure"
8284 #include "confdefs.h"
8290 if { (eval echo configure:8291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8292 glibcpp_cv_func___builtin_sqrtf_use=yes
8294 echo "configure: failed program was:" >&5
8295 cat conftest.$ac_ext >&5
8297 glibcpp_cv_func___builtin_sqrtf_use=no
8301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8302 ac_cpp='$CPP $CPPFLAGS'
8303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8305 cross_compiling=$ac_cv_prog_cc_cross
8311 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8312 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8313 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8314 echo "configure:8315: checking for __builtin_sqrtf linkage" >&5
8315 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8316 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8317 echo $ac_n "(cached) $ac_c" 1>&6
8320 cat > conftest.$ac_ext <<EOF
8321 #line 8322 "configure"
8322 #include "confdefs.h"
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8330 glibcpp_cv_func___builtin_sqrtf_link=yes
8332 echo "configure: failed program was:" >&5
8333 cat conftest.$ac_ext >&5
8335 glibcpp_cv_func___builtin_sqrtf_link=no
8342 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8343 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8344 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8345 cat >> confdefs.h <<EOF
8346 #define ${ac_tr_func} 1
8353 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8354 echo "configure:8355: checking for __builtin_sqrt declaration" >&5
8355 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8356 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8357 echo $ac_n "(cached) $ac_c" 1>&6
8362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8363 ac_cpp='$CXXCPP $CPPFLAGS'
8364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8366 cross_compiling=$ac_cv_prog_cxx_cross
8368 cat > conftest.$ac_ext <<EOF
8369 #line 8370 "configure"
8370 #include "confdefs.h"
8376 if { (eval echo configure:8377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8378 glibcpp_cv_func___builtin_sqrt_use=yes
8380 echo "configure: failed program was:" >&5
8381 cat conftest.$ac_ext >&5
8383 glibcpp_cv_func___builtin_sqrt_use=no
8387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8388 ac_cpp='$CPP $CPPFLAGS'
8389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8391 cross_compiling=$ac_cv_prog_cc_cross
8397 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
8398 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
8399 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
8400 echo "configure:8401: checking for __builtin_sqrt linkage" >&5
8401 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
8402 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
8403 echo $ac_n "(cached) $ac_c" 1>&6
8406 cat > conftest.$ac_ext <<EOF
8407 #line 8408 "configure"
8408 #include "confdefs.h"
8414 if { (eval echo configure:8415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8416 glibcpp_cv_func___builtin_sqrt_link=yes
8418 echo "configure: failed program was:" >&5
8419 cat conftest.$ac_ext >&5
8421 glibcpp_cv_func___builtin_sqrt_link=no
8428 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
8429 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
8430 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8431 cat >> confdefs.h <<EOF
8432 #define ${ac_tr_func} 1
8439 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
8440 echo "configure:8441: checking for __builtin_sqrtl declaration" >&5
8441 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
8442 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
8443 echo $ac_n "(cached) $ac_c" 1>&6
8448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8449 ac_cpp='$CXXCPP $CPPFLAGS'
8450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8452 cross_compiling=$ac_cv_prog_cxx_cross
8454 cat > conftest.$ac_ext <<EOF
8455 #line 8456 "configure"
8456 #include "confdefs.h"
8462 if { (eval echo configure:8463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8464 glibcpp_cv_func___builtin_sqrtl_use=yes
8466 echo "configure: failed program was:" >&5
8467 cat conftest.$ac_ext >&5
8469 glibcpp_cv_func___builtin_sqrtl_use=no
8473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8474 ac_cpp='$CPP $CPPFLAGS'
8475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8477 cross_compiling=$ac_cv_prog_cc_cross
8483 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
8484 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
8485 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
8486 echo "configure:8487: checking for __builtin_sqrtl linkage" >&5
8487 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
8488 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
8489 echo $ac_n "(cached) $ac_c" 1>&6
8492 cat > conftest.$ac_ext <<EOF
8493 #line 8494 "configure"
8494 #include "confdefs.h"
8500 if { (eval echo configure:8501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8502 glibcpp_cv_func___builtin_sqrtl_link=yes
8504 echo "configure: failed program was:" >&5
8505 cat conftest.$ac_ext >&5
8507 glibcpp_cv_func___builtin_sqrtl_link=no
8514 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
8515 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
8516 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8517 cat >> confdefs.h <<EOF
8518 #define ${ac_tr_func} 1
8526 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
8527 echo "configure:8528: checking for __builtin_sinf declaration" >&5
8528 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
8529 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
8530 echo $ac_n "(cached) $ac_c" 1>&6
8535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8536 ac_cpp='$CXXCPP $CPPFLAGS'
8537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8539 cross_compiling=$ac_cv_prog_cxx_cross
8541 cat > conftest.$ac_ext <<EOF
8542 #line 8543 "configure"
8543 #include "confdefs.h"
8549 if { (eval echo configure:8550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8551 glibcpp_cv_func___builtin_sinf_use=yes
8553 echo "configure: failed program was:" >&5
8554 cat conftest.$ac_ext >&5
8556 glibcpp_cv_func___builtin_sinf_use=no
8560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8561 ac_cpp='$CPP $CPPFLAGS'
8562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8564 cross_compiling=$ac_cv_prog_cc_cross
8570 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
8571 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
8572 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
8573 echo "configure:8574: checking for __builtin_sinf linkage" >&5
8574 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
8575 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
8576 echo $ac_n "(cached) $ac_c" 1>&6
8579 cat > conftest.$ac_ext <<EOF
8580 #line 8581 "configure"
8581 #include "confdefs.h"
8587 if { (eval echo configure:8588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8589 glibcpp_cv_func___builtin_sinf_link=yes
8591 echo "configure: failed program was:" >&5
8592 cat conftest.$ac_ext >&5
8594 glibcpp_cv_func___builtin_sinf_link=no
8601 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
8602 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
8603 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8604 cat >> confdefs.h <<EOF
8605 #define ${ac_tr_func} 1
8612 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
8613 echo "configure:8614: checking for __builtin_sin declaration" >&5
8614 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
8615 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
8616 echo $ac_n "(cached) $ac_c" 1>&6
8621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8622 ac_cpp='$CXXCPP $CPPFLAGS'
8623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8625 cross_compiling=$ac_cv_prog_cxx_cross
8627 cat > conftest.$ac_ext <<EOF
8628 #line 8629 "configure"
8629 #include "confdefs.h"
8635 if { (eval echo configure:8636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8637 glibcpp_cv_func___builtin_sin_use=yes
8639 echo "configure: failed program was:" >&5
8640 cat conftest.$ac_ext >&5
8642 glibcpp_cv_func___builtin_sin_use=no
8646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8647 ac_cpp='$CPP $CPPFLAGS'
8648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8650 cross_compiling=$ac_cv_prog_cc_cross
8656 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
8657 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
8658 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
8659 echo "configure:8660: checking for __builtin_sin linkage" >&5
8660 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
8661 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
8662 echo $ac_n "(cached) $ac_c" 1>&6
8665 cat > conftest.$ac_ext <<EOF
8666 #line 8667 "configure"
8667 #include "confdefs.h"
8673 if { (eval echo configure:8674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8675 glibcpp_cv_func___builtin_sin_link=yes
8677 echo "configure: failed program was:" >&5
8678 cat conftest.$ac_ext >&5
8680 glibcpp_cv_func___builtin_sin_link=no
8687 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
8688 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
8689 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8690 cat >> confdefs.h <<EOF
8691 #define ${ac_tr_func} 1
8698 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
8699 echo "configure:8700: checking for __builtin_sinl declaration" >&5
8700 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
8701 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
8702 echo $ac_n "(cached) $ac_c" 1>&6
8707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8708 ac_cpp='$CXXCPP $CPPFLAGS'
8709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8711 cross_compiling=$ac_cv_prog_cxx_cross
8713 cat > conftest.$ac_ext <<EOF
8714 #line 8715 "configure"
8715 #include "confdefs.h"
8721 if { (eval echo configure:8722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8723 glibcpp_cv_func___builtin_sinl_use=yes
8725 echo "configure: failed program was:" >&5
8726 cat conftest.$ac_ext >&5
8728 glibcpp_cv_func___builtin_sinl_use=no
8732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8733 ac_cpp='$CPP $CPPFLAGS'
8734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8736 cross_compiling=$ac_cv_prog_cc_cross
8742 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
8743 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
8744 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
8745 echo "configure:8746: checking for __builtin_sinl linkage" >&5
8746 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
8747 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
8748 echo $ac_n "(cached) $ac_c" 1>&6
8751 cat > conftest.$ac_ext <<EOF
8752 #line 8753 "configure"
8753 #include "confdefs.h"
8759 if { (eval echo configure:8760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8761 glibcpp_cv_func___builtin_sinl_link=yes
8763 echo "configure: failed program was:" >&5
8764 cat conftest.$ac_ext >&5
8766 glibcpp_cv_func___builtin_sinl_link=no
8773 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
8774 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
8775 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8776 cat >> confdefs.h <<EOF
8777 #define ${ac_tr_func} 1
8785 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
8786 echo "configure:8787: checking for __builtin_cosf declaration" >&5
8787 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
8788 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
8789 echo $ac_n "(cached) $ac_c" 1>&6
8794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8795 ac_cpp='$CXXCPP $CPPFLAGS'
8796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8798 cross_compiling=$ac_cv_prog_cxx_cross
8800 cat > conftest.$ac_ext <<EOF
8801 #line 8802 "configure"
8802 #include "confdefs.h"
8808 if { (eval echo configure:8809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8810 glibcpp_cv_func___builtin_cosf_use=yes
8812 echo "configure: failed program was:" >&5
8813 cat conftest.$ac_ext >&5
8815 glibcpp_cv_func___builtin_cosf_use=no
8819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8820 ac_cpp='$CPP $CPPFLAGS'
8821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8823 cross_compiling=$ac_cv_prog_cc_cross
8829 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
8830 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
8831 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
8832 echo "configure:8833: checking for __builtin_cosf linkage" >&5
8833 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
8834 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
8835 echo $ac_n "(cached) $ac_c" 1>&6
8838 cat > conftest.$ac_ext <<EOF
8839 #line 8840 "configure"
8840 #include "confdefs.h"
8846 if { (eval echo configure:8847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8848 glibcpp_cv_func___builtin_cosf_link=yes
8850 echo "configure: failed program was:" >&5
8851 cat conftest.$ac_ext >&5
8853 glibcpp_cv_func___builtin_cosf_link=no
8860 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
8861 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
8862 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8863 cat >> confdefs.h <<EOF
8864 #define ${ac_tr_func} 1
8871 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
8872 echo "configure:8873: checking for __builtin_cos declaration" >&5
8873 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
8874 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
8875 echo $ac_n "(cached) $ac_c" 1>&6
8880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8881 ac_cpp='$CXXCPP $CPPFLAGS'
8882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8884 cross_compiling=$ac_cv_prog_cxx_cross
8886 cat > conftest.$ac_ext <<EOF
8887 #line 8888 "configure"
8888 #include "confdefs.h"
8894 if { (eval echo configure:8895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8896 glibcpp_cv_func___builtin_cos_use=yes
8898 echo "configure: failed program was:" >&5
8899 cat conftest.$ac_ext >&5
8901 glibcpp_cv_func___builtin_cos_use=no
8905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8906 ac_cpp='$CPP $CPPFLAGS'
8907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8909 cross_compiling=$ac_cv_prog_cc_cross
8915 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
8916 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
8917 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
8918 echo "configure:8919: checking for __builtin_cos linkage" >&5
8919 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
8920 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8924 cat > conftest.$ac_ext <<EOF
8925 #line 8926 "configure"
8926 #include "confdefs.h"
8932 if { (eval echo configure:8933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8934 glibcpp_cv_func___builtin_cos_link=yes
8936 echo "configure: failed program was:" >&5
8937 cat conftest.$ac_ext >&5
8939 glibcpp_cv_func___builtin_cos_link=no
8946 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
8947 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
8948 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8949 cat >> confdefs.h <<EOF
8950 #define ${ac_tr_func} 1
8957 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
8958 echo "configure:8959: checking for __builtin_cosl declaration" >&5
8959 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
8960 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
8961 echo $ac_n "(cached) $ac_c" 1>&6
8966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8967 ac_cpp='$CXXCPP $CPPFLAGS'
8968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8970 cross_compiling=$ac_cv_prog_cxx_cross
8972 cat > conftest.$ac_ext <<EOF
8973 #line 8974 "configure"
8974 #include "confdefs.h"
8980 if { (eval echo configure:8981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8982 glibcpp_cv_func___builtin_cosl_use=yes
8984 echo "configure: failed program was:" >&5
8985 cat conftest.$ac_ext >&5
8987 glibcpp_cv_func___builtin_cosl_use=no
8991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8992 ac_cpp='$CPP $CPPFLAGS'
8993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8995 cross_compiling=$ac_cv_prog_cc_cross
9001 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
9002 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
9003 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
9004 echo "configure:9005: checking for __builtin_cosl linkage" >&5
9005 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
9006 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
9007 echo $ac_n "(cached) $ac_c" 1>&6
9010 cat > conftest.$ac_ext <<EOF
9011 #line 9012 "configure"
9012 #include "confdefs.h"
9018 if { (eval echo configure:9019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9020 glibcpp_cv_func___builtin_cosl_link=yes
9022 echo "configure: failed program was:" >&5
9023 cat conftest.$ac_ext >&5
9025 glibcpp_cv_func___builtin_cosl_link=no
9032 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9033 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9034 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9035 cat >> confdefs.h <<EOF
9036 #define ${ac_tr_func} 1
9044 if test x$dummyvar = x"yes"; then
9045 cat >> confdefs.h <<\EOF
9046 #define HAVE___BUILTIN_ABS 1
9049 cat >> confdefs.h <<\EOF
9050 #define HAVE___BUILTIN_LABS 1
9053 cat >> confdefs.h <<\EOF
9054 #define HAVE___BUILTIN_COS 1
9057 cat >> confdefs.h <<\EOF
9058 #define HAVE___BUILTIN_COSF 1
9061 cat >> confdefs.h <<\EOF
9062 #define HAVE___BUILTIN_COSL 1
9065 cat >> confdefs.h <<\EOF
9066 #define HAVE___BUILTIN_FABS 1
9069 cat >> confdefs.h <<\EOF
9070 #define HAVE___BUILTIN_FABSF 1
9073 cat >> confdefs.h <<\EOF
9074 #define HAVE___BUILTIN_FABSL 1
9077 cat >> confdefs.h <<\EOF
9078 #define HAVE___BUILTIN_SIN 1
9081 cat >> confdefs.h <<\EOF
9082 #define HAVE___BUILTIN_SINF 1
9085 cat >> confdefs.h <<\EOF
9086 #define HAVE___BUILTIN_SINL 1
9089 cat >> confdefs.h <<\EOF
9090 #define HAVE___BUILTIN_SQRT 1
9093 cat >> confdefs.h <<\EOF
9094 #define HAVE___BUILTIN_SQRTF 1
9097 cat >> confdefs.h <<\EOF
9098 #define HAVE___BUILTIN_SQRTL 1
9104 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9105 ac_save_CXXFLAGS="$CXXFLAGS"
9106 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9108 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9109 echo "configure:9110: checking for sin in -lm" >&5
9110 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9112 echo $ac_n "(cached) $ac_c" 1>&6
9114 ac_save_LIBS="$LIBS"
9116 cat > conftest.$ac_ext <<EOF
9117 #line 9118 "configure"
9118 #include "confdefs.h"
9119 /* Override any gcc2 internal prototype to avoid an error. */
9120 /* We use char because int might match the return type of a gcc2
9121 builtin and then its argument prototype would still apply. */
9128 if { (eval echo configure:9129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9130 eval "ac_cv_lib_$ac_lib_var=yes"
9132 echo "configure: failed program was:" >&5
9133 cat conftest.$ac_ext >&5
9135 eval "ac_cv_lib_$ac_lib_var=no"
9138 LIBS="$ac_save_LIBS"
9141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9142 echo "$ac_t""yes" 1>&6
9145 echo "$ac_t""no" 1>&6
9148 ac_save_LIBS="$LIBS"
9153 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9154 echo "configure:9155: checking for isinf declaration" >&5
9155 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9156 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9157 echo $ac_n "(cached) $ac_c" 1>&6
9162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9163 ac_cpp='$CXXCPP $CPPFLAGS'
9164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9166 cross_compiling=$ac_cv_prog_cxx_cross
9168 cat > conftest.$ac_ext <<EOF
9169 #line 9170 "configure"
9170 #include "confdefs.h"
9172 #ifdef HAVE_IEEEFP_H
9180 if { (eval echo configure:9181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9182 glibcpp_cv_func_isinf_use=yes
9184 echo "configure: failed program was:" >&5
9185 cat conftest.$ac_ext >&5
9187 glibcpp_cv_func_isinf_use=no
9191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9192 ac_cpp='$CPP $CPPFLAGS'
9193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9195 cross_compiling=$ac_cv_prog_cc_cross
9201 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9203 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9204 for ac_func in isinf
9206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9207 echo "configure:9208: checking for $ac_func" >&5
9208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9209 echo $ac_n "(cached) $ac_c" 1>&6
9211 cat > conftest.$ac_ext <<EOF
9212 #line 9213 "configure"
9213 #include "confdefs.h"
9214 /* System header to define __stub macros and hopefully few prototypes,
9215 which can conflict with char $ac_func(); below. */
9217 /* Override any gcc2 internal prototype to avoid an error. */
9218 /* We use char because int might match the return type of a gcc2
9219 builtin and then its argument prototype would still apply. */
9224 /* The GNU C library defines this for functions which it implements
9225 to always fail with ENOSYS. Some functions are actually named
9226 something starting with __ and the normal name is an alias. */
9227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9235 if { (eval echo configure:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9237 eval "ac_cv_func_$ac_func=yes"
9239 echo "configure: failed program was:" >&5
9240 cat conftest.$ac_ext >&5
9242 eval "ac_cv_func_$ac_func=no"
9247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9248 echo "$ac_t""yes" 1>&6
9249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9250 cat >> confdefs.h <<EOF
9251 #define $ac_tr_func 1
9255 echo "$ac_t""no" 1>&6
9261 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9262 echo "configure:9263: checking for _isinf declaration" >&5
9263 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9264 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9265 echo $ac_n "(cached) $ac_c" 1>&6
9270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9271 ac_cpp='$CXXCPP $CPPFLAGS'
9272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9274 cross_compiling=$ac_cv_prog_cxx_cross
9276 cat > conftest.$ac_ext <<EOF
9277 #line 9278 "configure"
9278 #include "confdefs.h"
9280 #ifdef HAVE_IEEEFP_H
9288 if { (eval echo configure:9289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9290 glibcpp_cv_func__isinf_use=yes
9292 echo "configure: failed program was:" >&5
9293 cat conftest.$ac_ext >&5
9295 glibcpp_cv_func__isinf_use=no
9299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9300 ac_cpp='$CPP $CPPFLAGS'
9301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9303 cross_compiling=$ac_cv_prog_cc_cross
9309 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9311 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9312 for ac_func in _isinf
9314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9315 echo "configure:9316: checking for $ac_func" >&5
9316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9317 echo $ac_n "(cached) $ac_c" 1>&6
9319 cat > conftest.$ac_ext <<EOF
9320 #line 9321 "configure"
9321 #include "confdefs.h"
9322 /* System header to define __stub macros and hopefully few prototypes,
9323 which can conflict with char $ac_func(); below. */
9325 /* Override any gcc2 internal prototype to avoid an error. */
9326 /* We use char because int might match the return type of a gcc2
9327 builtin and then its argument prototype would still apply. */
9332 /* The GNU C library defines this for functions which it implements
9333 to always fail with ENOSYS. Some functions are actually named
9334 something starting with __ and the normal name is an alias. */
9335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9343 if { (eval echo configure:9344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9345 eval "ac_cv_func_$ac_func=yes"
9347 echo "configure: failed program was:" >&5
9348 cat conftest.$ac_ext >&5
9350 eval "ac_cv_func_$ac_func=no"
9355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9356 echo "$ac_t""yes" 1>&6
9357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9358 cat >> confdefs.h <<EOF
9359 #define $ac_tr_func 1
9363 echo "$ac_t""no" 1>&6
9372 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
9373 echo "configure:9374: checking for isnan declaration" >&5
9374 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
9375 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9382 ac_cpp='$CXXCPP $CPPFLAGS'
9383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9385 cross_compiling=$ac_cv_prog_cxx_cross
9387 cat > conftest.$ac_ext <<EOF
9388 #line 9389 "configure"
9389 #include "confdefs.h"
9391 #ifdef HAVE_IEEEFP_H
9399 if { (eval echo configure:9400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9401 glibcpp_cv_func_isnan_use=yes
9403 echo "configure: failed program was:" >&5
9404 cat conftest.$ac_ext >&5
9406 glibcpp_cv_func_isnan_use=no
9410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9411 ac_cpp='$CPP $CPPFLAGS'
9412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9414 cross_compiling=$ac_cv_prog_cc_cross
9420 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
9422 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
9423 for ac_func in isnan
9425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9426 echo "configure:9427: checking for $ac_func" >&5
9427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9428 echo $ac_n "(cached) $ac_c" 1>&6
9430 cat > conftest.$ac_ext <<EOF
9431 #line 9432 "configure"
9432 #include "confdefs.h"
9433 /* System header to define __stub macros and hopefully few prototypes,
9434 which can conflict with char $ac_func(); below. */
9436 /* Override any gcc2 internal prototype to avoid an error. */
9437 /* We use char because int might match the return type of a gcc2
9438 builtin and then its argument prototype would still apply. */
9443 /* The GNU C library defines this for functions which it implements
9444 to always fail with ENOSYS. Some functions are actually named
9445 something starting with __ and the normal name is an alias. */
9446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9456 eval "ac_cv_func_$ac_func=yes"
9458 echo "configure: failed program was:" >&5
9459 cat conftest.$ac_ext >&5
9461 eval "ac_cv_func_$ac_func=no"
9466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9467 echo "$ac_t""yes" 1>&6
9468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9469 cat >> confdefs.h <<EOF
9470 #define $ac_tr_func 1
9474 echo "$ac_t""no" 1>&6
9480 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
9481 echo "configure:9482: checking for _isnan declaration" >&5
9482 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
9483 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
9484 echo $ac_n "(cached) $ac_c" 1>&6
9489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9490 ac_cpp='$CXXCPP $CPPFLAGS'
9491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9493 cross_compiling=$ac_cv_prog_cxx_cross
9495 cat > conftest.$ac_ext <<EOF
9496 #line 9497 "configure"
9497 #include "confdefs.h"
9499 #ifdef HAVE_IEEEFP_H
9507 if { (eval echo configure:9508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9509 glibcpp_cv_func__isnan_use=yes
9511 echo "configure: failed program was:" >&5
9512 cat conftest.$ac_ext >&5
9514 glibcpp_cv_func__isnan_use=no
9518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9519 ac_cpp='$CPP $CPPFLAGS'
9520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9522 cross_compiling=$ac_cv_prog_cc_cross
9528 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
9530 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
9531 for ac_func in _isnan
9533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9534 echo "configure:9535: checking for $ac_func" >&5
9535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9536 echo $ac_n "(cached) $ac_c" 1>&6
9538 cat > conftest.$ac_ext <<EOF
9539 #line 9540 "configure"
9540 #include "confdefs.h"
9541 /* System header to define __stub macros and hopefully few prototypes,
9542 which can conflict with char $ac_func(); below. */
9544 /* Override any gcc2 internal prototype to avoid an error. */
9545 /* We use char because int might match the return type of a gcc2
9546 builtin and then its argument prototype would still apply. */
9551 /* The GNU C library defines this for functions which it implements
9552 to always fail with ENOSYS. Some functions are actually named
9553 something starting with __ and the normal name is an alias. */
9554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9562 if { (eval echo configure:9563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9564 eval "ac_cv_func_$ac_func=yes"
9566 echo "configure: failed program was:" >&5
9567 cat conftest.$ac_ext >&5
9569 eval "ac_cv_func_$ac_func=no"
9574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9575 echo "$ac_t""yes" 1>&6
9576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9577 cat >> confdefs.h <<EOF
9578 #define $ac_tr_func 1
9582 echo "$ac_t""no" 1>&6
9591 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
9592 echo "configure:9593: checking for finite declaration" >&5
9593 if test x${glibcpp_cv_func_finite_use+set} != xset; then
9594 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
9595 echo $ac_n "(cached) $ac_c" 1>&6
9600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9601 ac_cpp='$CXXCPP $CPPFLAGS'
9602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9604 cross_compiling=$ac_cv_prog_cxx_cross
9606 cat > conftest.$ac_ext <<EOF
9607 #line 9608 "configure"
9608 #include "confdefs.h"
9610 #ifdef HAVE_IEEEFP_H
9618 if { (eval echo configure:9619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9620 glibcpp_cv_func_finite_use=yes
9622 echo "configure: failed program was:" >&5
9623 cat conftest.$ac_ext >&5
9625 glibcpp_cv_func_finite_use=no
9629 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9630 ac_cpp='$CPP $CPPFLAGS'
9631 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9632 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9633 cross_compiling=$ac_cv_prog_cc_cross
9639 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
9641 if test x$glibcpp_cv_func_finite_use = x"yes"; then
9642 for ac_func in finite
9644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9645 echo "configure:9646: checking for $ac_func" >&5
9646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9647 echo $ac_n "(cached) $ac_c" 1>&6
9649 cat > conftest.$ac_ext <<EOF
9650 #line 9651 "configure"
9651 #include "confdefs.h"
9652 /* System header to define __stub macros and hopefully few prototypes,
9653 which can conflict with char $ac_func(); below. */
9655 /* Override any gcc2 internal prototype to avoid an error. */
9656 /* We use char because int might match the return type of a gcc2
9657 builtin and then its argument prototype would still apply. */
9662 /* The GNU C library defines this for functions which it implements
9663 to always fail with ENOSYS. Some functions are actually named
9664 something starting with __ and the normal name is an alias. */
9665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9673 if { (eval echo configure:9674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9675 eval "ac_cv_func_$ac_func=yes"
9677 echo "configure: failed program was:" >&5
9678 cat conftest.$ac_ext >&5
9680 eval "ac_cv_func_$ac_func=no"
9685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9686 echo "$ac_t""yes" 1>&6
9687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9688 cat >> confdefs.h <<EOF
9689 #define $ac_tr_func 1
9693 echo "$ac_t""no" 1>&6
9699 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
9700 echo "configure:9701: checking for _finite declaration" >&5
9701 if test x${glibcpp_cv_func__finite_use+set} != xset; then
9702 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
9703 echo $ac_n "(cached) $ac_c" 1>&6
9708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9709 ac_cpp='$CXXCPP $CPPFLAGS'
9710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9712 cross_compiling=$ac_cv_prog_cxx_cross
9714 cat > conftest.$ac_ext <<EOF
9715 #line 9716 "configure"
9716 #include "confdefs.h"
9718 #ifdef HAVE_IEEEFP_H
9726 if { (eval echo configure:9727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9728 glibcpp_cv_func__finite_use=yes
9730 echo "configure: failed program was:" >&5
9731 cat conftest.$ac_ext >&5
9733 glibcpp_cv_func__finite_use=no
9737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9738 ac_cpp='$CPP $CPPFLAGS'
9739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9741 cross_compiling=$ac_cv_prog_cc_cross
9747 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
9749 if test x$glibcpp_cv_func__finite_use = x"yes"; then
9750 for ac_func in _finite
9752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9753 echo "configure:9754: checking for $ac_func" >&5
9754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9755 echo $ac_n "(cached) $ac_c" 1>&6
9757 cat > conftest.$ac_ext <<EOF
9758 #line 9759 "configure"
9759 #include "confdefs.h"
9760 /* System header to define __stub macros and hopefully few prototypes,
9761 which can conflict with char $ac_func(); below. */
9763 /* Override any gcc2 internal prototype to avoid an error. */
9764 /* We use char because int might match the return type of a gcc2
9765 builtin and then its argument prototype would still apply. */
9770 /* The GNU C library defines this for functions which it implements
9771 to always fail with ENOSYS. Some functions are actually named
9772 something starting with __ and the normal name is an alias. */
9773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9781 if { (eval echo configure:9782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9783 eval "ac_cv_func_$ac_func=yes"
9785 echo "configure: failed program was:" >&5
9786 cat conftest.$ac_ext >&5
9788 eval "ac_cv_func_$ac_func=no"
9793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9794 echo "$ac_t""yes" 1>&6
9795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9796 cat >> confdefs.h <<EOF
9797 #define $ac_tr_func 1
9801 echo "$ac_t""no" 1>&6
9810 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
9811 echo "configure:9812: checking for copysign declaration" >&5
9812 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
9813 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
9814 echo $ac_n "(cached) $ac_c" 1>&6
9819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9820 ac_cpp='$CXXCPP $CPPFLAGS'
9821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9823 cross_compiling=$ac_cv_prog_cxx_cross
9825 cat > conftest.$ac_ext <<EOF
9826 #line 9827 "configure"
9827 #include "confdefs.h"
9833 if { (eval echo configure:9834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9835 glibcpp_cv_func_copysign_use=yes
9837 echo "configure: failed program was:" >&5
9838 cat conftest.$ac_ext >&5
9840 glibcpp_cv_func_copysign_use=no
9844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9845 ac_cpp='$CPP $CPPFLAGS'
9846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9848 cross_compiling=$ac_cv_prog_cc_cross
9854 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
9856 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
9857 for ac_func in copysign
9859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9860 echo "configure:9861: checking for $ac_func" >&5
9861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9862 echo $ac_n "(cached) $ac_c" 1>&6
9864 cat > conftest.$ac_ext <<EOF
9865 #line 9866 "configure"
9866 #include "confdefs.h"
9867 /* System header to define __stub macros and hopefully few prototypes,
9868 which can conflict with char $ac_func(); below. */
9870 /* Override any gcc2 internal prototype to avoid an error. */
9871 /* We use char because int might match the return type of a gcc2
9872 builtin and then its argument prototype would still apply. */
9877 /* The GNU C library defines this for functions which it implements
9878 to always fail with ENOSYS. Some functions are actually named
9879 something starting with __ and the normal name is an alias. */
9880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9888 if { (eval echo configure:9889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9890 eval "ac_cv_func_$ac_func=yes"
9892 echo "configure: failed program was:" >&5
9893 cat conftest.$ac_ext >&5
9895 eval "ac_cv_func_$ac_func=no"
9900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9901 echo "$ac_t""yes" 1>&6
9902 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9903 cat >> confdefs.h <<EOF
9904 #define $ac_tr_func 1
9908 echo "$ac_t""no" 1>&6
9914 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
9915 echo "configure:9916: checking for _copysign declaration" >&5
9916 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
9917 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
9918 echo $ac_n "(cached) $ac_c" 1>&6
9923 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9924 ac_cpp='$CXXCPP $CPPFLAGS'
9925 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9926 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9927 cross_compiling=$ac_cv_prog_cxx_cross
9929 cat > conftest.$ac_ext <<EOF
9930 #line 9931 "configure"
9931 #include "confdefs.h"
9937 if { (eval echo configure:9938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9939 glibcpp_cv_func__copysign_use=yes
9941 echo "configure: failed program was:" >&5
9942 cat conftest.$ac_ext >&5
9944 glibcpp_cv_func__copysign_use=no
9948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9949 ac_cpp='$CPP $CPPFLAGS'
9950 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9951 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9952 cross_compiling=$ac_cv_prog_cc_cross
9958 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
9960 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
9961 for ac_func in _copysign
9963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9964 echo "configure:9965: checking for $ac_func" >&5
9965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9966 echo $ac_n "(cached) $ac_c" 1>&6
9968 cat > conftest.$ac_ext <<EOF
9969 #line 9970 "configure"
9970 #include "confdefs.h"
9971 /* System header to define __stub macros and hopefully few prototypes,
9972 which can conflict with char $ac_func(); below. */
9974 /* Override any gcc2 internal prototype to avoid an error. */
9975 /* We use char because int might match the return type of a gcc2
9976 builtin and then its argument prototype would still apply. */
9981 /* The GNU C library defines this for functions which it implements
9982 to always fail with ENOSYS. Some functions are actually named
9983 something starting with __ and the normal name is an alias. */
9984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9992 if { (eval echo configure:9993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9994 eval "ac_cv_func_$ac_func=yes"
9996 echo "configure: failed program was:" >&5
9997 cat conftest.$ac_ext >&5
9999 eval "ac_cv_func_$ac_func=no"
10004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10005 echo "$ac_t""yes" 1>&6
10006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10007 cat >> confdefs.h <<EOF
10008 #define $ac_tr_func 1
10012 echo "$ac_t""no" 1>&6
10021 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
10022 echo "configure:10023: checking for sincos declaration" >&5
10023 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10024 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10025 echo $ac_n "(cached) $ac_c" 1>&6
10030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10031 ac_cpp='$CXXCPP $CPPFLAGS'
10032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10034 cross_compiling=$ac_cv_prog_cxx_cross
10036 cat > conftest.$ac_ext <<EOF
10037 #line 10038 "configure"
10038 #include "confdefs.h"
10044 if { (eval echo configure:10045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10046 glibcpp_cv_func_sincos_use=yes
10048 echo "configure: failed program was:" >&5
10049 cat conftest.$ac_ext >&5
10051 glibcpp_cv_func_sincos_use=no
10055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10056 ac_cpp='$CPP $CPPFLAGS'
10057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10059 cross_compiling=$ac_cv_prog_cc_cross
10065 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10067 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10068 for ac_func in sincos
10070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10071 echo "configure:10072: checking for $ac_func" >&5
10072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10073 echo $ac_n "(cached) $ac_c" 1>&6
10075 cat > conftest.$ac_ext <<EOF
10076 #line 10077 "configure"
10077 #include "confdefs.h"
10078 /* System header to define __stub macros and hopefully few prototypes,
10079 which can conflict with char $ac_func(); below. */
10080 #include <assert.h>
10081 /* Override any gcc2 internal prototype to avoid an error. */
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10088 /* The GNU C library defines this for functions which it implements
10089 to always fail with ENOSYS. Some functions are actually named
10090 something starting with __ and the normal name is an alias. */
10091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10099 if { (eval echo configure:10100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10101 eval "ac_cv_func_$ac_func=yes"
10103 echo "configure: failed program was:" >&5
10104 cat conftest.$ac_ext >&5
10106 eval "ac_cv_func_$ac_func=no"
10111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10112 echo "$ac_t""yes" 1>&6
10113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10114 cat >> confdefs.h <<EOF
10115 #define $ac_tr_func 1
10119 echo "$ac_t""no" 1>&6
10125 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10126 echo "configure:10127: checking for _sincos declaration" >&5
10127 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10128 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10129 echo $ac_n "(cached) $ac_c" 1>&6
10134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10135 ac_cpp='$CXXCPP $CPPFLAGS'
10136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10138 cross_compiling=$ac_cv_prog_cxx_cross
10140 cat > conftest.$ac_ext <<EOF
10141 #line 10142 "configure"
10142 #include "confdefs.h"
10148 if { (eval echo configure:10149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10150 glibcpp_cv_func__sincos_use=yes
10152 echo "configure: failed program was:" >&5
10153 cat conftest.$ac_ext >&5
10155 glibcpp_cv_func__sincos_use=no
10159 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10160 ac_cpp='$CPP $CPPFLAGS'
10161 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10162 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10163 cross_compiling=$ac_cv_prog_cc_cross
10169 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10171 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10172 for ac_func in _sincos
10174 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10175 echo "configure:10176: checking for $ac_func" >&5
10176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10177 echo $ac_n "(cached) $ac_c" 1>&6
10179 cat > conftest.$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10182 /* System header to define __stub macros and hopefully few prototypes,
10183 which can conflict with char $ac_func(); below. */
10184 #include <assert.h>
10185 /* Override any gcc2 internal prototype to avoid an error. */
10186 /* We use char because int might match the return type of a gcc2
10187 builtin and then its argument prototype would still apply. */
10192 /* The GNU C library defines this for functions which it implements
10193 to always fail with ENOSYS. Some functions are actually named
10194 something starting with __ and the normal name is an alias. */
10195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10203 if { (eval echo configure:10204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10205 eval "ac_cv_func_$ac_func=yes"
10207 echo "configure: failed program was:" >&5
10208 cat conftest.$ac_ext >&5
10210 eval "ac_cv_func_$ac_func=no"
10215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10216 echo "$ac_t""yes" 1>&6
10217 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10218 cat >> confdefs.h <<EOF
10219 #define $ac_tr_func 1
10223 echo "$ac_t""no" 1>&6
10232 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10233 echo "configure:10234: checking for fpclass declaration" >&5
10234 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10235 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10236 echo $ac_n "(cached) $ac_c" 1>&6
10241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10242 ac_cpp='$CXXCPP $CPPFLAGS'
10243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10245 cross_compiling=$ac_cv_prog_cxx_cross
10247 cat > conftest.$ac_ext <<EOF
10248 #line 10249 "configure"
10249 #include "confdefs.h"
10251 #ifdef HAVE_IEEEFP_H
10252 #include <ieeefp.h>
10259 if { (eval echo configure:10260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10261 glibcpp_cv_func_fpclass_use=yes
10263 echo "configure: failed program was:" >&5
10264 cat conftest.$ac_ext >&5
10266 glibcpp_cv_func_fpclass_use=no
10270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10271 ac_cpp='$CPP $CPPFLAGS'
10272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10274 cross_compiling=$ac_cv_prog_cc_cross
10280 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10282 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10283 for ac_func in fpclass
10285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10286 echo "configure:10287: checking for $ac_func" >&5
10287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10288 echo $ac_n "(cached) $ac_c" 1>&6
10290 cat > conftest.$ac_ext <<EOF
10291 #line 10292 "configure"
10292 #include "confdefs.h"
10293 /* System header to define __stub macros and hopefully few prototypes,
10294 which can conflict with char $ac_func(); below. */
10295 #include <assert.h>
10296 /* Override any gcc2 internal prototype to avoid an error. */
10297 /* We use char because int might match the return type of a gcc2
10298 builtin and then its argument prototype would still apply. */
10303 /* The GNU C library defines this for functions which it implements
10304 to always fail with ENOSYS. Some functions are actually named
10305 something starting with __ and the normal name is an alias. */
10306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10314 if { (eval echo configure:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10316 eval "ac_cv_func_$ac_func=yes"
10318 echo "configure: failed program was:" >&5
10319 cat conftest.$ac_ext >&5
10321 eval "ac_cv_func_$ac_func=no"
10326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10327 echo "$ac_t""yes" 1>&6
10328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10329 cat >> confdefs.h <<EOF
10330 #define $ac_tr_func 1
10334 echo "$ac_t""no" 1>&6
10340 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10341 echo "configure:10342: checking for _fpclass declaration" >&5
10342 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10343 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10344 echo $ac_n "(cached) $ac_c" 1>&6
10349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10350 ac_cpp='$CXXCPP $CPPFLAGS'
10351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10353 cross_compiling=$ac_cv_prog_cxx_cross
10355 cat > conftest.$ac_ext <<EOF
10356 #line 10357 "configure"
10357 #include "confdefs.h"
10359 #ifdef HAVE_IEEEFP_H
10360 #include <ieeefp.h>
10367 if { (eval echo configure:10368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10369 glibcpp_cv_func__fpclass_use=yes
10371 echo "configure: failed program was:" >&5
10372 cat conftest.$ac_ext >&5
10374 glibcpp_cv_func__fpclass_use=no
10378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10379 ac_cpp='$CPP $CPPFLAGS'
10380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10382 cross_compiling=$ac_cv_prog_cc_cross
10388 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
10390 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
10391 for ac_func in _fpclass
10393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10394 echo "configure:10395: checking for $ac_func" >&5
10395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10396 echo $ac_n "(cached) $ac_c" 1>&6
10398 cat > conftest.$ac_ext <<EOF
10399 #line 10400 "configure"
10400 #include "confdefs.h"
10401 /* System header to define __stub macros and hopefully few prototypes,
10402 which can conflict with char $ac_func(); below. */
10403 #include <assert.h>
10404 /* Override any gcc2 internal prototype to avoid an error. */
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10411 /* The GNU C library defines this for functions which it implements
10412 to always fail with ENOSYS. Some functions are actually named
10413 something starting with __ and the normal name is an alias. */
10414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10422 if { (eval echo configure:10423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10424 eval "ac_cv_func_$ac_func=yes"
10426 echo "configure: failed program was:" >&5
10427 cat conftest.$ac_ext >&5
10429 eval "ac_cv_func_$ac_func=no"
10434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10435 echo "$ac_t""yes" 1>&6
10436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10437 cat >> confdefs.h <<EOF
10438 #define $ac_tr_func 1
10442 echo "$ac_t""no" 1>&6
10451 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
10452 echo "configure:10453: checking for qfpclass declaration" >&5
10453 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
10454 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
10455 echo $ac_n "(cached) $ac_c" 1>&6
10460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10461 ac_cpp='$CXXCPP $CPPFLAGS'
10462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10464 cross_compiling=$ac_cv_prog_cxx_cross
10466 cat > conftest.$ac_ext <<EOF
10467 #line 10468 "configure"
10468 #include "confdefs.h"
10470 #ifdef HAVE_IEEEFP_H
10471 #include <ieeefp.h>
10478 if { (eval echo configure:10479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10480 glibcpp_cv_func_qfpclass_use=yes
10482 echo "configure: failed program was:" >&5
10483 cat conftest.$ac_ext >&5
10485 glibcpp_cv_func_qfpclass_use=no
10489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10490 ac_cpp='$CPP $CPPFLAGS'
10491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10493 cross_compiling=$ac_cv_prog_cc_cross
10499 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
10501 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
10502 for ac_func in qfpclass
10504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10505 echo "configure:10506: checking for $ac_func" >&5
10506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10507 echo $ac_n "(cached) $ac_c" 1>&6
10509 cat > conftest.$ac_ext <<EOF
10510 #line 10511 "configure"
10511 #include "confdefs.h"
10512 /* System header to define __stub macros and hopefully few prototypes,
10513 which can conflict with char $ac_func(); below. */
10514 #include <assert.h>
10515 /* Override any gcc2 internal prototype to avoid an error. */
10516 /* We use char because int might match the return type of a gcc2
10517 builtin and then its argument prototype would still apply. */
10522 /* The GNU C library defines this for functions which it implements
10523 to always fail with ENOSYS. Some functions are actually named
10524 something starting with __ and the normal name is an alias. */
10525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10533 if { (eval echo configure:10534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10535 eval "ac_cv_func_$ac_func=yes"
10537 echo "configure: failed program was:" >&5
10538 cat conftest.$ac_ext >&5
10540 eval "ac_cv_func_$ac_func=no"
10545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10546 echo "$ac_t""yes" 1>&6
10547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10548 cat >> confdefs.h <<EOF
10549 #define $ac_tr_func 1
10553 echo "$ac_t""no" 1>&6
10559 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
10560 echo "configure:10561: checking for _qfpclass declaration" >&5
10561 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
10562 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
10563 echo $ac_n "(cached) $ac_c" 1>&6
10568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10569 ac_cpp='$CXXCPP $CPPFLAGS'
10570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10572 cross_compiling=$ac_cv_prog_cxx_cross
10574 cat > conftest.$ac_ext <<EOF
10575 #line 10576 "configure"
10576 #include "confdefs.h"
10578 #ifdef HAVE_IEEEFP_H
10579 #include <ieeefp.h>
10586 if { (eval echo configure:10587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10588 glibcpp_cv_func__qfpclass_use=yes
10590 echo "configure: failed program was:" >&5
10591 cat conftest.$ac_ext >&5
10593 glibcpp_cv_func__qfpclass_use=no
10597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10598 ac_cpp='$CPP $CPPFLAGS'
10599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10601 cross_compiling=$ac_cv_prog_cc_cross
10607 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
10609 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
10610 for ac_func in _qfpclass
10612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10613 echo "configure:10614: checking for $ac_func" >&5
10614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10615 echo $ac_n "(cached) $ac_c" 1>&6
10617 cat > conftest.$ac_ext <<EOF
10618 #line 10619 "configure"
10619 #include "confdefs.h"
10620 /* System header to define __stub macros and hopefully few prototypes,
10621 which can conflict with char $ac_func(); below. */
10622 #include <assert.h>
10623 /* Override any gcc2 internal prototype to avoid an error. */
10624 /* We use char because int might match the return type of a gcc2
10625 builtin and then its argument prototype would still apply. */
10630 /* The GNU C library defines this for functions which it implements
10631 to always fail with ENOSYS. Some functions are actually named
10632 something starting with __ and the normal name is an alias. */
10633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10641 if { (eval echo configure:10642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10643 eval "ac_cv_func_$ac_func=yes"
10645 echo "configure: failed program was:" >&5
10646 cat conftest.$ac_ext >&5
10648 eval "ac_cv_func_$ac_func=no"
10653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10654 echo "$ac_t""yes" 1>&6
10655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10656 cat >> confdefs.h <<EOF
10657 #define $ac_tr_func 1
10661 echo "$ac_t""no" 1>&6
10670 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
10671 echo "configure:10672: checking for hypot declaration" >&5
10672 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
10673 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
10674 echo $ac_n "(cached) $ac_c" 1>&6
10679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10680 ac_cpp='$CXXCPP $CPPFLAGS'
10681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10683 cross_compiling=$ac_cv_prog_cxx_cross
10685 cat > conftest.$ac_ext <<EOF
10686 #line 10687 "configure"
10687 #include "confdefs.h"
10693 if { (eval echo configure:10694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10695 glibcpp_cv_func_hypot_use=yes
10697 echo "configure: failed program was:" >&5
10698 cat conftest.$ac_ext >&5
10700 glibcpp_cv_func_hypot_use=no
10704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10705 ac_cpp='$CPP $CPPFLAGS'
10706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10708 cross_compiling=$ac_cv_prog_cc_cross
10714 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
10716 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
10717 for ac_func in hypot
10719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10720 echo "configure:10721: checking for $ac_func" >&5
10721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10722 echo $ac_n "(cached) $ac_c" 1>&6
10724 cat > conftest.$ac_ext <<EOF
10725 #line 10726 "configure"
10726 #include "confdefs.h"
10727 /* System header to define __stub macros and hopefully few prototypes,
10728 which can conflict with char $ac_func(); below. */
10729 #include <assert.h>
10730 /* Override any gcc2 internal prototype to avoid an error. */
10731 /* We use char because int might match the return type of a gcc2
10732 builtin and then its argument prototype would still apply. */
10737 /* The GNU C library defines this for functions which it implements
10738 to always fail with ENOSYS. Some functions are actually named
10739 something starting with __ and the normal name is an alias. */
10740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10748 if { (eval echo configure:10749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10750 eval "ac_cv_func_$ac_func=yes"
10752 echo "configure: failed program was:" >&5
10753 cat conftest.$ac_ext >&5
10755 eval "ac_cv_func_$ac_func=no"
10760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10761 echo "$ac_t""yes" 1>&6
10762 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10763 cat >> confdefs.h <<EOF
10764 #define $ac_tr_func 1
10768 echo "$ac_t""no" 1>&6
10774 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
10775 echo "configure:10776: checking for _hypot declaration" >&5
10776 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
10777 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
10778 echo $ac_n "(cached) $ac_c" 1>&6
10783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10784 ac_cpp='$CXXCPP $CPPFLAGS'
10785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10787 cross_compiling=$ac_cv_prog_cxx_cross
10789 cat > conftest.$ac_ext <<EOF
10790 #line 10791 "configure"
10791 #include "confdefs.h"
10797 if { (eval echo configure:10798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10799 glibcpp_cv_func__hypot_use=yes
10801 echo "configure: failed program was:" >&5
10802 cat conftest.$ac_ext >&5
10804 glibcpp_cv_func__hypot_use=no
10808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10809 ac_cpp='$CPP $CPPFLAGS'
10810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10812 cross_compiling=$ac_cv_prog_cc_cross
10818 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
10820 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
10821 for ac_func in _hypot
10823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10824 echo "configure:10825: checking for $ac_func" >&5
10825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10826 echo $ac_n "(cached) $ac_c" 1>&6
10828 cat > conftest.$ac_ext <<EOF
10829 #line 10830 "configure"
10830 #include "confdefs.h"
10831 /* System header to define __stub macros and hopefully few prototypes,
10832 which can conflict with char $ac_func(); below. */
10833 #include <assert.h>
10834 /* Override any gcc2 internal prototype to avoid an error. */
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10841 /* The GNU C library defines this for functions which it implements
10842 to always fail with ENOSYS. Some functions are actually named
10843 something starting with __ and the normal name is an alias. */
10844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10852 if { (eval echo configure:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10854 eval "ac_cv_func_$ac_func=yes"
10856 echo "configure: failed program was:" >&5
10857 cat conftest.$ac_ext >&5
10859 eval "ac_cv_func_$ac_func=no"
10864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10867 cat >> confdefs.h <<EOF
10868 #define $ac_tr_func 1
10872 echo "$ac_t""no" 1>&6
10881 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
10882 echo "configure:10883: checking for float trig functions" >&5
10883 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
10884 echo $ac_n "(cached) $ac_c" 1>&6
10889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10890 ac_cpp='$CXXCPP $CPPFLAGS'
10891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10893 cross_compiling=$ac_cv_prog_cxx_cross
10895 cat > conftest.$ac_ext <<EOF
10896 #line 10897 "configure"
10897 #include "confdefs.h"
10900 `for x in acosf asinf atanf \
10902 coshf sinhf tanhf; do echo "$x (0);"; done`
10905 if { (eval echo configure:10906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10907 glibcpp_cv_func_float_trig_use=yes
10909 echo "configure: failed program was:" >&5
10910 cat conftest.$ac_ext >&5
10912 glibcpp_cv_func_float_trig_use=no
10916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10917 ac_cpp='$CPP $CPPFLAGS'
10918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10920 cross_compiling=$ac_cv_prog_cc_cross
10924 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
10925 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
10926 for ac_func in acosf asinf atanf \
10930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10931 echo "configure:10932: checking for $ac_func" >&5
10932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10933 echo $ac_n "(cached) $ac_c" 1>&6
10935 cat > conftest.$ac_ext <<EOF
10936 #line 10937 "configure"
10937 #include "confdefs.h"
10938 /* System header to define __stub macros and hopefully few prototypes,
10939 which can conflict with char $ac_func(); below. */
10940 #include <assert.h>
10941 /* Override any gcc2 internal prototype to avoid an error. */
10942 /* We use char because int might match the return type of a gcc2
10943 builtin and then its argument prototype would still apply. */
10948 /* The GNU C library defines this for functions which it implements
10949 to always fail with ENOSYS. Some functions are actually named
10950 something starting with __ and the normal name is an alias. */
10951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10959 if { (eval echo configure:10960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10961 eval "ac_cv_func_$ac_func=yes"
10963 echo "configure: failed program was:" >&5
10964 cat conftest.$ac_ext >&5
10966 eval "ac_cv_func_$ac_func=no"
10971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10972 echo "$ac_t""yes" 1>&6
10973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10974 cat >> confdefs.h <<EOF
10975 #define $ac_tr_func 1
10979 echo "$ac_t""no" 1>&6
10986 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
10987 echo "configure:10988: checking for float round functions" >&5
10988 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10989 echo $ac_n "(cached) $ac_c" 1>&6
10994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10995 ac_cpp='$CXXCPP $CPPFLAGS'
10996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10998 cross_compiling=$ac_cv_prog_cxx_cross
11000 cat > conftest.$ac_ext <<EOF
11001 #line 11002 "configure"
11002 #include "confdefs.h"
11005 `for x in ceilf floorf; do echo "$x (0);"; done`
11008 if { (eval echo configure:11009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11010 glibcpp_cv_func_float_round_use=yes
11012 echo "configure: failed program was:" >&5
11013 cat conftest.$ac_ext >&5
11015 glibcpp_cv_func_float_round_use=no
11019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11020 ac_cpp='$CPP $CPPFLAGS'
11021 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11022 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11023 cross_compiling=$ac_cv_prog_cc_cross
11027 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11028 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11029 for ac_func in ceilf floorf
11031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11032 echo "configure:11033: checking for $ac_func" >&5
11033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11034 echo $ac_n "(cached) $ac_c" 1>&6
11036 cat > conftest.$ac_ext <<EOF
11037 #line 11038 "configure"
11038 #include "confdefs.h"
11039 /* System header to define __stub macros and hopefully few prototypes,
11040 which can conflict with char $ac_func(); below. */
11041 #include <assert.h>
11042 /* Override any gcc2 internal prototype to avoid an error. */
11043 /* We use char because int might match the return type of a gcc2
11044 builtin and then its argument prototype would still apply. */
11049 /* The GNU C library defines this for functions which it implements
11050 to always fail with ENOSYS. Some functions are actually named
11051 something starting with __ and the normal name is an alias. */
11052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11060 if { (eval echo configure:11061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11062 eval "ac_cv_func_$ac_func=yes"
11064 echo "configure: failed program was:" >&5
11065 cat conftest.$ac_ext >&5
11067 eval "ac_cv_func_$ac_func=no"
11072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11073 echo "$ac_t""yes" 1>&6
11074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11075 cat >> confdefs.h <<EOF
11076 #define $ac_tr_func 1
11080 echo "$ac_t""no" 1>&6
11088 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11089 echo "configure:11090: checking for isnanf declaration" >&5
11090 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11091 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11092 echo $ac_n "(cached) $ac_c" 1>&6
11097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11098 ac_cpp='$CXXCPP $CPPFLAGS'
11099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11101 cross_compiling=$ac_cv_prog_cxx_cross
11103 cat > conftest.$ac_ext <<EOF
11104 #line 11105 "configure"
11105 #include "confdefs.h"
11107 #ifdef HAVE_IEEEFP_H
11108 #include <ieeefp.h>
11115 if { (eval echo configure:11116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11117 glibcpp_cv_func_isnanf_use=yes
11119 echo "configure: failed program was:" >&5
11120 cat conftest.$ac_ext >&5
11122 glibcpp_cv_func_isnanf_use=no
11126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11127 ac_cpp='$CPP $CPPFLAGS'
11128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11130 cross_compiling=$ac_cv_prog_cc_cross
11136 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11138 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11139 for ac_func in isnanf
11141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11142 echo "configure:11143: checking for $ac_func" >&5
11143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11144 echo $ac_n "(cached) $ac_c" 1>&6
11146 cat > conftest.$ac_ext <<EOF
11147 #line 11148 "configure"
11148 #include "confdefs.h"
11149 /* System header to define __stub macros and hopefully few prototypes,
11150 which can conflict with char $ac_func(); below. */
11151 #include <assert.h>
11152 /* Override any gcc2 internal prototype to avoid an error. */
11153 /* We use char because int might match the return type of a gcc2
11154 builtin and then its argument prototype would still apply. */
11159 /* The GNU C library defines this for functions which it implements
11160 to always fail with ENOSYS. Some functions are actually named
11161 something starting with __ and the normal name is an alias. */
11162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11170 if { (eval echo configure:11171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11172 eval "ac_cv_func_$ac_func=yes"
11174 echo "configure: failed program was:" >&5
11175 cat conftest.$ac_ext >&5
11177 eval "ac_cv_func_$ac_func=no"
11182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11183 echo "$ac_t""yes" 1>&6
11184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11185 cat >> confdefs.h <<EOF
11186 #define $ac_tr_func 1
11190 echo "$ac_t""no" 1>&6
11196 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11197 echo "configure:11198: checking for _isnanf declaration" >&5
11198 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11199 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11206 ac_cpp='$CXXCPP $CPPFLAGS'
11207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11209 cross_compiling=$ac_cv_prog_cxx_cross
11211 cat > conftest.$ac_ext <<EOF
11212 #line 11213 "configure"
11213 #include "confdefs.h"
11215 #ifdef HAVE_IEEEFP_H
11216 #include <ieeefp.h>
11223 if { (eval echo configure:11224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11225 glibcpp_cv_func__isnanf_use=yes
11227 echo "configure: failed program was:" >&5
11228 cat conftest.$ac_ext >&5
11230 glibcpp_cv_func__isnanf_use=no
11234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11235 ac_cpp='$CPP $CPPFLAGS'
11236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11238 cross_compiling=$ac_cv_prog_cc_cross
11244 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11246 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11247 for ac_func in _isnanf
11249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11250 echo "configure:11251: checking for $ac_func" >&5
11251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11252 echo $ac_n "(cached) $ac_c" 1>&6
11254 cat > conftest.$ac_ext <<EOF
11255 #line 11256 "configure"
11256 #include "confdefs.h"
11257 /* System header to define __stub macros and hopefully few prototypes,
11258 which can conflict with char $ac_func(); below. */
11259 #include <assert.h>
11260 /* Override any gcc2 internal prototype to avoid an error. */
11261 /* We use char because int might match the return type of a gcc2
11262 builtin and then its argument prototype would still apply. */
11267 /* The GNU C library defines this for functions which it implements
11268 to always fail with ENOSYS. Some functions are actually named
11269 something starting with __ and the normal name is an alias. */
11270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11280 eval "ac_cv_func_$ac_func=yes"
11282 echo "configure: failed program was:" >&5
11283 cat conftest.$ac_ext >&5
11285 eval "ac_cv_func_$ac_func=no"
11290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11291 echo "$ac_t""yes" 1>&6
11292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11293 cat >> confdefs.h <<EOF
11294 #define $ac_tr_func 1
11298 echo "$ac_t""no" 1>&6
11307 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
11308 echo "configure:11309: checking for isinff declaration" >&5
11309 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
11310 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
11311 echo $ac_n "(cached) $ac_c" 1>&6
11316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11317 ac_cpp='$CXXCPP $CPPFLAGS'
11318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11320 cross_compiling=$ac_cv_prog_cxx_cross
11322 cat > conftest.$ac_ext <<EOF
11323 #line 11324 "configure"
11324 #include "confdefs.h"
11326 #ifdef HAVE_IEEEFP_H
11327 #include <ieeefp.h>
11334 if { (eval echo configure:11335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11336 glibcpp_cv_func_isinff_use=yes
11338 echo "configure: failed program was:" >&5
11339 cat conftest.$ac_ext >&5
11341 glibcpp_cv_func_isinff_use=no
11345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11346 ac_cpp='$CPP $CPPFLAGS'
11347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11349 cross_compiling=$ac_cv_prog_cc_cross
11355 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
11357 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
11358 for ac_func in isinff
11360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11361 echo "configure:11362: checking for $ac_func" >&5
11362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11365 cat > conftest.$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 /* System header to define __stub macros and hopefully few prototypes,
11369 which can conflict with char $ac_func(); below. */
11370 #include <assert.h>
11371 /* Override any gcc2 internal prototype to avoid an error. */
11372 /* We use char because int might match the return type of a gcc2
11373 builtin and then its argument prototype would still apply. */
11378 /* The GNU C library defines this for functions which it implements
11379 to always fail with ENOSYS. Some functions are actually named
11380 something starting with __ and the normal name is an alias. */
11381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11391 eval "ac_cv_func_$ac_func=yes"
11393 echo "configure: failed program was:" >&5
11394 cat conftest.$ac_ext >&5
11396 eval "ac_cv_func_$ac_func=no"
11401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11402 echo "$ac_t""yes" 1>&6
11403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11404 cat >> confdefs.h <<EOF
11405 #define $ac_tr_func 1
11409 echo "$ac_t""no" 1>&6
11415 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11416 echo "configure:11417: checking for _isinff declaration" >&5
11417 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
11418 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11419 echo $ac_n "(cached) $ac_c" 1>&6
11424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11425 ac_cpp='$CXXCPP $CPPFLAGS'
11426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11428 cross_compiling=$ac_cv_prog_cxx_cross
11430 cat > conftest.$ac_ext <<EOF
11431 #line 11432 "configure"
11432 #include "confdefs.h"
11434 #ifdef HAVE_IEEEFP_H
11435 #include <ieeefp.h>
11442 if { (eval echo configure:11443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11444 glibcpp_cv_func__isinff_use=yes
11446 echo "configure: failed program was:" >&5
11447 cat conftest.$ac_ext >&5
11449 glibcpp_cv_func__isinff_use=no
11453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11454 ac_cpp='$CPP $CPPFLAGS'
11455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11457 cross_compiling=$ac_cv_prog_cc_cross
11463 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11465 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11466 for ac_func in _isinff
11468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11469 echo "configure:11470: checking for $ac_func" >&5
11470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11471 echo $ac_n "(cached) $ac_c" 1>&6
11473 cat > conftest.$ac_ext <<EOF
11474 #line 11475 "configure"
11475 #include "confdefs.h"
11476 /* System header to define __stub macros and hopefully few prototypes,
11477 which can conflict with char $ac_func(); below. */
11478 #include <assert.h>
11479 /* Override any gcc2 internal prototype to avoid an error. */
11480 /* We use char because int might match the return type of a gcc2
11481 builtin and then its argument prototype would still apply. */
11486 /* The GNU C library defines this for functions which it implements
11487 to always fail with ENOSYS. Some functions are actually named
11488 something starting with __ and the normal name is an alias. */
11489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11497 if { (eval echo configure:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11499 eval "ac_cv_func_$ac_func=yes"
11501 echo "configure: failed program was:" >&5
11502 cat conftest.$ac_ext >&5
11504 eval "ac_cv_func_$ac_func=no"
11509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11510 echo "$ac_t""yes" 1>&6
11511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11512 cat >> confdefs.h <<EOF
11513 #define $ac_tr_func 1
11517 echo "$ac_t""no" 1>&6
11526 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
11527 echo "configure:11528: checking for atan2f declaration" >&5
11528 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
11529 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
11530 echo $ac_n "(cached) $ac_c" 1>&6
11535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11536 ac_cpp='$CXXCPP $CPPFLAGS'
11537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11539 cross_compiling=$ac_cv_prog_cxx_cross
11541 cat > conftest.$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11549 if { (eval echo configure:11550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11551 glibcpp_cv_func_atan2f_use=yes
11553 echo "configure: failed program was:" >&5
11554 cat conftest.$ac_ext >&5
11556 glibcpp_cv_func_atan2f_use=no
11560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11561 ac_cpp='$CPP $CPPFLAGS'
11562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11564 cross_compiling=$ac_cv_prog_cc_cross
11570 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
11572 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
11573 for ac_func in atan2f
11575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11576 echo "configure:11577: checking for $ac_func" >&5
11577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11578 echo $ac_n "(cached) $ac_c" 1>&6
11580 cat > conftest.$ac_ext <<EOF
11581 #line 11582 "configure"
11582 #include "confdefs.h"
11583 /* System header to define __stub macros and hopefully few prototypes,
11584 which can conflict with char $ac_func(); below. */
11585 #include <assert.h>
11586 /* Override any gcc2 internal prototype to avoid an error. */
11587 /* We use char because int might match the return type of a gcc2
11588 builtin and then its argument prototype would still apply. */
11593 /* The GNU C library defines this for functions which it implements
11594 to always fail with ENOSYS. Some functions are actually named
11595 something starting with __ and the normal name is an alias. */
11596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11606 eval "ac_cv_func_$ac_func=yes"
11608 echo "configure: failed program was:" >&5
11609 cat conftest.$ac_ext >&5
11611 eval "ac_cv_func_$ac_func=no"
11616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11617 echo "$ac_t""yes" 1>&6
11618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11619 cat >> confdefs.h <<EOF
11620 #define $ac_tr_func 1
11624 echo "$ac_t""no" 1>&6
11630 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
11631 echo "configure:11632: checking for _atan2f declaration" >&5
11632 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
11633 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
11634 echo $ac_n "(cached) $ac_c" 1>&6
11639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11640 ac_cpp='$CXXCPP $CPPFLAGS'
11641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11643 cross_compiling=$ac_cv_prog_cxx_cross
11645 cat > conftest.$ac_ext <<EOF
11646 #line 11647 "configure"
11647 #include "confdefs.h"
11653 if { (eval echo configure:11654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11655 glibcpp_cv_func__atan2f_use=yes
11657 echo "configure: failed program was:" >&5
11658 cat conftest.$ac_ext >&5
11660 glibcpp_cv_func__atan2f_use=no
11664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11665 ac_cpp='$CPP $CPPFLAGS'
11666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11668 cross_compiling=$ac_cv_prog_cc_cross
11674 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
11676 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
11677 for ac_func in _atan2f
11679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11680 echo "configure:11681: checking for $ac_func" >&5
11681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11682 echo $ac_n "(cached) $ac_c" 1>&6
11684 cat > conftest.$ac_ext <<EOF
11685 #line 11686 "configure"
11686 #include "confdefs.h"
11687 /* System header to define __stub macros and hopefully few prototypes,
11688 which can conflict with char $ac_func(); below. */
11689 #include <assert.h>
11690 /* Override any gcc2 internal prototype to avoid an error. */
11691 /* We use char because int might match the return type of a gcc2
11692 builtin and then its argument prototype would still apply. */
11697 /* The GNU C library defines this for functions which it implements
11698 to always fail with ENOSYS. Some functions are actually named
11699 something starting with __ and the normal name is an alias. */
11700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11708 if { (eval echo configure:11709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11710 eval "ac_cv_func_$ac_func=yes"
11712 echo "configure: failed program was:" >&5
11713 cat conftest.$ac_ext >&5
11715 eval "ac_cv_func_$ac_func=no"
11720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11721 echo "$ac_t""yes" 1>&6
11722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11723 cat >> confdefs.h <<EOF
11724 #define $ac_tr_func 1
11728 echo "$ac_t""no" 1>&6
11737 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
11738 echo "configure:11739: checking for fabsf declaration" >&5
11739 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
11740 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
11741 echo $ac_n "(cached) $ac_c" 1>&6
11746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11747 ac_cpp='$CXXCPP $CPPFLAGS'
11748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11750 cross_compiling=$ac_cv_prog_cxx_cross
11752 cat > conftest.$ac_ext <<EOF
11753 #line 11754 "configure"
11754 #include "confdefs.h"
11756 #ifdef HAVE_IEEEFP_H
11757 #include <ieeefp.h>
11764 if { (eval echo configure:11765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11766 glibcpp_cv_func_fabsf_use=yes
11768 echo "configure: failed program was:" >&5
11769 cat conftest.$ac_ext >&5
11771 glibcpp_cv_func_fabsf_use=no
11775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11776 ac_cpp='$CPP $CPPFLAGS'
11777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11779 cross_compiling=$ac_cv_prog_cc_cross
11785 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
11787 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
11788 for ac_func in fabsf
11790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11791 echo "configure:11792: checking for $ac_func" >&5
11792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11793 echo $ac_n "(cached) $ac_c" 1>&6
11795 cat > conftest.$ac_ext <<EOF
11796 #line 11797 "configure"
11797 #include "confdefs.h"
11798 /* System header to define __stub macros and hopefully few prototypes,
11799 which can conflict with char $ac_func(); below. */
11800 #include <assert.h>
11801 /* Override any gcc2 internal prototype to avoid an error. */
11802 /* We use char because int might match the return type of a gcc2
11803 builtin and then its argument prototype would still apply. */
11808 /* The GNU C library defines this for functions which it implements
11809 to always fail with ENOSYS. Some functions are actually named
11810 something starting with __ and the normal name is an alias. */
11811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11819 if { (eval echo configure:11820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11821 eval "ac_cv_func_$ac_func=yes"
11823 echo "configure: failed program was:" >&5
11824 cat conftest.$ac_ext >&5
11826 eval "ac_cv_func_$ac_func=no"
11831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11832 echo "$ac_t""yes" 1>&6
11833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11834 cat >> confdefs.h <<EOF
11835 #define $ac_tr_func 1
11839 echo "$ac_t""no" 1>&6
11845 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
11846 echo "configure:11847: checking for _fabsf declaration" >&5
11847 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
11848 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
11849 echo $ac_n "(cached) $ac_c" 1>&6
11854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11855 ac_cpp='$CXXCPP $CPPFLAGS'
11856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11858 cross_compiling=$ac_cv_prog_cxx_cross
11860 cat > conftest.$ac_ext <<EOF
11861 #line 11862 "configure"
11862 #include "confdefs.h"
11864 #ifdef HAVE_IEEEFP_H
11865 #include <ieeefp.h>
11872 if { (eval echo configure:11873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11874 glibcpp_cv_func__fabsf_use=yes
11876 echo "configure: failed program was:" >&5
11877 cat conftest.$ac_ext >&5
11879 glibcpp_cv_func__fabsf_use=no
11883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11884 ac_cpp='$CPP $CPPFLAGS'
11885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11887 cross_compiling=$ac_cv_prog_cc_cross
11893 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
11895 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
11896 for ac_func in _fabsf
11898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11899 echo "configure:11900: checking for $ac_func" >&5
11900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11901 echo $ac_n "(cached) $ac_c" 1>&6
11903 cat > conftest.$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11906 /* System header to define __stub macros and hopefully few prototypes,
11907 which can conflict with char $ac_func(); below. */
11908 #include <assert.h>
11909 /* Override any gcc2 internal prototype to avoid an error. */
11910 /* We use char because int might match the return type of a gcc2
11911 builtin and then its argument prototype would still apply. */
11916 /* The GNU C library defines this for functions which it implements
11917 to always fail with ENOSYS. Some functions are actually named
11918 something starting with __ and the normal name is an alias. */
11919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11929 eval "ac_cv_func_$ac_func=yes"
11931 echo "configure: failed program was:" >&5
11932 cat conftest.$ac_ext >&5
11934 eval "ac_cv_func_$ac_func=no"
11939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11940 echo "$ac_t""yes" 1>&6
11941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11942 cat >> confdefs.h <<EOF
11943 #define $ac_tr_func 1
11947 echo "$ac_t""no" 1>&6
11956 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
11957 echo "configure:11958: checking for fmodf declaration" >&5
11958 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
11959 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
11960 echo $ac_n "(cached) $ac_c" 1>&6
11965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11966 ac_cpp='$CXXCPP $CPPFLAGS'
11967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11969 cross_compiling=$ac_cv_prog_cxx_cross
11971 cat > conftest.$ac_ext <<EOF
11972 #line 11973 "configure"
11973 #include "confdefs.h"
11979 if { (eval echo configure:11980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11981 glibcpp_cv_func_fmodf_use=yes
11983 echo "configure: failed program was:" >&5
11984 cat conftest.$ac_ext >&5
11986 glibcpp_cv_func_fmodf_use=no
11990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11991 ac_cpp='$CPP $CPPFLAGS'
11992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11994 cross_compiling=$ac_cv_prog_cc_cross
12000 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
12002 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
12003 for ac_func in fmodf
12005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12006 echo "configure:12007: checking for $ac_func" >&5
12007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12008 echo $ac_n "(cached) $ac_c" 1>&6
12010 cat > conftest.$ac_ext <<EOF
12011 #line 12012 "configure"
12012 #include "confdefs.h"
12013 /* System header to define __stub macros and hopefully few prototypes,
12014 which can conflict with char $ac_func(); below. */
12015 #include <assert.h>
12016 /* Override any gcc2 internal prototype to avoid an error. */
12017 /* We use char because int might match the return type of a gcc2
12018 builtin and then its argument prototype would still apply. */
12023 /* The GNU C library defines this for functions which it implements
12024 to always fail with ENOSYS. Some functions are actually named
12025 something starting with __ and the normal name is an alias. */
12026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12034 if { (eval echo configure:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12036 eval "ac_cv_func_$ac_func=yes"
12038 echo "configure: failed program was:" >&5
12039 cat conftest.$ac_ext >&5
12041 eval "ac_cv_func_$ac_func=no"
12046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12047 echo "$ac_t""yes" 1>&6
12048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12049 cat >> confdefs.h <<EOF
12050 #define $ac_tr_func 1
12054 echo "$ac_t""no" 1>&6
12060 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12061 echo "configure:12062: checking for _fmodf declaration" >&5
12062 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12063 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12064 echo $ac_n "(cached) $ac_c" 1>&6
12069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12070 ac_cpp='$CXXCPP $CPPFLAGS'
12071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12073 cross_compiling=$ac_cv_prog_cxx_cross
12075 cat > conftest.$ac_ext <<EOF
12076 #line 12077 "configure"
12077 #include "confdefs.h"
12083 if { (eval echo configure:12084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12085 glibcpp_cv_func__fmodf_use=yes
12087 echo "configure: failed program was:" >&5
12088 cat conftest.$ac_ext >&5
12090 glibcpp_cv_func__fmodf_use=no
12094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12095 ac_cpp='$CPP $CPPFLAGS'
12096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12098 cross_compiling=$ac_cv_prog_cc_cross
12104 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12106 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12107 for ac_func in _fmodf
12109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12110 echo "configure:12111: checking for $ac_func" >&5
12111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12112 echo $ac_n "(cached) $ac_c" 1>&6
12114 cat > conftest.$ac_ext <<EOF
12115 #line 12116 "configure"
12116 #include "confdefs.h"
12117 /* System header to define __stub macros and hopefully few prototypes,
12118 which can conflict with char $ac_func(); below. */
12119 #include <assert.h>
12120 /* Override any gcc2 internal prototype to avoid an error. */
12121 /* We use char because int might match the return type of a gcc2
12122 builtin and then its argument prototype would still apply. */
12127 /* The GNU C library defines this for functions which it implements
12128 to always fail with ENOSYS. Some functions are actually named
12129 something starting with __ and the normal name is an alias. */
12130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12138 if { (eval echo configure:12139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12140 eval "ac_cv_func_$ac_func=yes"
12142 echo "configure: failed program was:" >&5
12143 cat conftest.$ac_ext >&5
12145 eval "ac_cv_func_$ac_func=no"
12150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12151 echo "$ac_t""yes" 1>&6
12152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12153 cat >> confdefs.h <<EOF
12154 #define $ac_tr_func 1
12158 echo "$ac_t""no" 1>&6
12167 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
12168 echo "configure:12169: checking for frexpf declaration" >&5
12169 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
12170 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
12171 echo $ac_n "(cached) $ac_c" 1>&6
12176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12177 ac_cpp='$CXXCPP $CPPFLAGS'
12178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12180 cross_compiling=$ac_cv_prog_cxx_cross
12182 cat > conftest.$ac_ext <<EOF
12183 #line 12184 "configure"
12184 #include "confdefs.h"
12190 if { (eval echo configure:12191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12192 glibcpp_cv_func_frexpf_use=yes
12194 echo "configure: failed program was:" >&5
12195 cat conftest.$ac_ext >&5
12197 glibcpp_cv_func_frexpf_use=no
12201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12202 ac_cpp='$CPP $CPPFLAGS'
12203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12205 cross_compiling=$ac_cv_prog_cc_cross
12211 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
12213 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
12214 for ac_func in frexpf
12216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12217 echo "configure:12218: checking for $ac_func" >&5
12218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12219 echo $ac_n "(cached) $ac_c" 1>&6
12221 cat > conftest.$ac_ext <<EOF
12222 #line 12223 "configure"
12223 #include "confdefs.h"
12224 /* System header to define __stub macros and hopefully few prototypes,
12225 which can conflict with char $ac_func(); below. */
12226 #include <assert.h>
12227 /* Override any gcc2 internal prototype to avoid an error. */
12228 /* We use char because int might match the return type of a gcc2
12229 builtin and then its argument prototype would still apply. */
12234 /* The GNU C library defines this for functions which it implements
12235 to always fail with ENOSYS. Some functions are actually named
12236 something starting with __ and the normal name is an alias. */
12237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12245 if { (eval echo configure:12246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12247 eval "ac_cv_func_$ac_func=yes"
12249 echo "configure: failed program was:" >&5
12250 cat conftest.$ac_ext >&5
12252 eval "ac_cv_func_$ac_func=no"
12257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12258 echo "$ac_t""yes" 1>&6
12259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12260 cat >> confdefs.h <<EOF
12261 #define $ac_tr_func 1
12265 echo "$ac_t""no" 1>&6
12271 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12272 echo "configure:12273: checking for _frexpf declaration" >&5
12273 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
12274 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12275 echo $ac_n "(cached) $ac_c" 1>&6
12280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12281 ac_cpp='$CXXCPP $CPPFLAGS'
12282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12284 cross_compiling=$ac_cv_prog_cxx_cross
12286 cat > conftest.$ac_ext <<EOF
12287 #line 12288 "configure"
12288 #include "confdefs.h"
12294 if { (eval echo configure:12295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12296 glibcpp_cv_func__frexpf_use=yes
12298 echo "configure: failed program was:" >&5
12299 cat conftest.$ac_ext >&5
12301 glibcpp_cv_func__frexpf_use=no
12305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12306 ac_cpp='$CPP $CPPFLAGS'
12307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12309 cross_compiling=$ac_cv_prog_cc_cross
12315 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12317 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12318 for ac_func in _frexpf
12320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12321 echo "configure:12322: checking for $ac_func" >&5
12322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12323 echo $ac_n "(cached) $ac_c" 1>&6
12325 cat > conftest.$ac_ext <<EOF
12326 #line 12327 "configure"
12327 #include "confdefs.h"
12328 /* System header to define __stub macros and hopefully few prototypes,
12329 which can conflict with char $ac_func(); below. */
12330 #include <assert.h>
12331 /* Override any gcc2 internal prototype to avoid an error. */
12332 /* We use char because int might match the return type of a gcc2
12333 builtin and then its argument prototype would still apply. */
12338 /* The GNU C library defines this for functions which it implements
12339 to always fail with ENOSYS. Some functions are actually named
12340 something starting with __ and the normal name is an alias. */
12341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12349 if { (eval echo configure:12350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12351 eval "ac_cv_func_$ac_func=yes"
12353 echo "configure: failed program was:" >&5
12354 cat conftest.$ac_ext >&5
12356 eval "ac_cv_func_$ac_func=no"
12361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12362 echo "$ac_t""yes" 1>&6
12363 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12364 cat >> confdefs.h <<EOF
12365 #define $ac_tr_func 1
12369 echo "$ac_t""no" 1>&6
12378 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
12379 echo "configure:12380: checking for hypotf declaration" >&5
12380 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
12381 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
12382 echo $ac_n "(cached) $ac_c" 1>&6
12387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12388 ac_cpp='$CXXCPP $CPPFLAGS'
12389 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12390 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12391 cross_compiling=$ac_cv_prog_cxx_cross
12393 cat > conftest.$ac_ext <<EOF
12394 #line 12395 "configure"
12395 #include "confdefs.h"
12401 if { (eval echo configure:12402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12403 glibcpp_cv_func_hypotf_use=yes
12405 echo "configure: failed program was:" >&5
12406 cat conftest.$ac_ext >&5
12408 glibcpp_cv_func_hypotf_use=no
12412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12413 ac_cpp='$CPP $CPPFLAGS'
12414 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12415 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12416 cross_compiling=$ac_cv_prog_cc_cross
12422 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
12424 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
12425 for ac_func in hypotf
12427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12428 echo "configure:12429: checking for $ac_func" >&5
12429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12430 echo $ac_n "(cached) $ac_c" 1>&6
12432 cat > conftest.$ac_ext <<EOF
12433 #line 12434 "configure"
12434 #include "confdefs.h"
12435 /* System header to define __stub macros and hopefully few prototypes,
12436 which can conflict with char $ac_func(); below. */
12437 #include <assert.h>
12438 /* Override any gcc2 internal prototype to avoid an error. */
12439 /* We use char because int might match the return type of a gcc2
12440 builtin and then its argument prototype would still apply. */
12445 /* The GNU C library defines this for functions which it implements
12446 to always fail with ENOSYS. Some functions are actually named
12447 something starting with __ and the normal name is an alias. */
12448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12456 if { (eval echo configure:12457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12458 eval "ac_cv_func_$ac_func=yes"
12460 echo "configure: failed program was:" >&5
12461 cat conftest.$ac_ext >&5
12463 eval "ac_cv_func_$ac_func=no"
12468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12469 echo "$ac_t""yes" 1>&6
12470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12471 cat >> confdefs.h <<EOF
12472 #define $ac_tr_func 1
12476 echo "$ac_t""no" 1>&6
12482 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
12483 echo "configure:12484: checking for _hypotf declaration" >&5
12484 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
12485 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
12486 echo $ac_n "(cached) $ac_c" 1>&6
12491 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12492 ac_cpp='$CXXCPP $CPPFLAGS'
12493 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12494 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12495 cross_compiling=$ac_cv_prog_cxx_cross
12497 cat > conftest.$ac_ext <<EOF
12498 #line 12499 "configure"
12499 #include "confdefs.h"
12505 if { (eval echo configure:12506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12507 glibcpp_cv_func__hypotf_use=yes
12509 echo "configure: failed program was:" >&5
12510 cat conftest.$ac_ext >&5
12512 glibcpp_cv_func__hypotf_use=no
12516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12517 ac_cpp='$CPP $CPPFLAGS'
12518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12520 cross_compiling=$ac_cv_prog_cc_cross
12526 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
12528 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
12529 for ac_func in _hypotf
12531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12532 echo "configure:12533: checking for $ac_func" >&5
12533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12534 echo $ac_n "(cached) $ac_c" 1>&6
12536 cat > conftest.$ac_ext <<EOF
12537 #line 12538 "configure"
12538 #include "confdefs.h"
12539 /* System header to define __stub macros and hopefully few prototypes,
12540 which can conflict with char $ac_func(); below. */
12541 #include <assert.h>
12542 /* Override any gcc2 internal prototype to avoid an error. */
12543 /* We use char because int might match the return type of a gcc2
12544 builtin and then its argument prototype would still apply. */
12549 /* The GNU C library defines this for functions which it implements
12550 to always fail with ENOSYS. Some functions are actually named
12551 something starting with __ and the normal name is an alias. */
12552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12560 if { (eval echo configure:12561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12562 eval "ac_cv_func_$ac_func=yes"
12564 echo "configure: failed program was:" >&5
12565 cat conftest.$ac_ext >&5
12567 eval "ac_cv_func_$ac_func=no"
12572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12573 echo "$ac_t""yes" 1>&6
12574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12575 cat >> confdefs.h <<EOF
12576 #define $ac_tr_func 1
12580 echo "$ac_t""no" 1>&6
12589 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
12590 echo "configure:12591: checking for ldexpf declaration" >&5
12591 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
12592 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
12593 echo $ac_n "(cached) $ac_c" 1>&6
12598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12599 ac_cpp='$CXXCPP $CPPFLAGS'
12600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12602 cross_compiling=$ac_cv_prog_cxx_cross
12604 cat > conftest.$ac_ext <<EOF
12605 #line 12606 "configure"
12606 #include "confdefs.h"
12612 if { (eval echo configure:12613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12614 glibcpp_cv_func_ldexpf_use=yes
12616 echo "configure: failed program was:" >&5
12617 cat conftest.$ac_ext >&5
12619 glibcpp_cv_func_ldexpf_use=no
12623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12624 ac_cpp='$CPP $CPPFLAGS'
12625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12627 cross_compiling=$ac_cv_prog_cc_cross
12633 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
12635 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
12636 for ac_func in ldexpf
12638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12639 echo "configure:12640: checking for $ac_func" >&5
12640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12641 echo $ac_n "(cached) $ac_c" 1>&6
12643 cat > conftest.$ac_ext <<EOF
12644 #line 12645 "configure"
12645 #include "confdefs.h"
12646 /* System header to define __stub macros and hopefully few prototypes,
12647 which can conflict with char $ac_func(); below. */
12648 #include <assert.h>
12649 /* Override any gcc2 internal prototype to avoid an error. */
12650 /* We use char because int might match the return type of a gcc2
12651 builtin and then its argument prototype would still apply. */
12656 /* The GNU C library defines this for functions which it implements
12657 to always fail with ENOSYS. Some functions are actually named
12658 something starting with __ and the normal name is an alias. */
12659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12667 if { (eval echo configure:12668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12669 eval "ac_cv_func_$ac_func=yes"
12671 echo "configure: failed program was:" >&5
12672 cat conftest.$ac_ext >&5
12674 eval "ac_cv_func_$ac_func=no"
12679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12680 echo "$ac_t""yes" 1>&6
12681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12682 cat >> confdefs.h <<EOF
12683 #define $ac_tr_func 1
12687 echo "$ac_t""no" 1>&6
12693 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
12694 echo "configure:12695: checking for _ldexpf declaration" >&5
12695 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
12696 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
12697 echo $ac_n "(cached) $ac_c" 1>&6
12702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12703 ac_cpp='$CXXCPP $CPPFLAGS'
12704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12706 cross_compiling=$ac_cv_prog_cxx_cross
12708 cat > conftest.$ac_ext <<EOF
12709 #line 12710 "configure"
12710 #include "confdefs.h"
12716 if { (eval echo configure:12717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12718 glibcpp_cv_func__ldexpf_use=yes
12720 echo "configure: failed program was:" >&5
12721 cat conftest.$ac_ext >&5
12723 glibcpp_cv_func__ldexpf_use=no
12727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12728 ac_cpp='$CPP $CPPFLAGS'
12729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12731 cross_compiling=$ac_cv_prog_cc_cross
12737 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
12739 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
12740 for ac_func in _ldexpf
12742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12743 echo "configure:12744: checking for $ac_func" >&5
12744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12745 echo $ac_n "(cached) $ac_c" 1>&6
12747 cat > conftest.$ac_ext <<EOF
12748 #line 12749 "configure"
12749 #include "confdefs.h"
12750 /* System header to define __stub macros and hopefully few prototypes,
12751 which can conflict with char $ac_func(); below. */
12752 #include <assert.h>
12753 /* Override any gcc2 internal prototype to avoid an error. */
12754 /* We use char because int might match the return type of a gcc2
12755 builtin and then its argument prototype would still apply. */
12760 /* The GNU C library defines this for functions which it implements
12761 to always fail with ENOSYS. Some functions are actually named
12762 something starting with __ and the normal name is an alias. */
12763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12771 if { (eval echo configure:12772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12773 eval "ac_cv_func_$ac_func=yes"
12775 echo "configure: failed program was:" >&5
12776 cat conftest.$ac_ext >&5
12778 eval "ac_cv_func_$ac_func=no"
12783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12784 echo "$ac_t""yes" 1>&6
12785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12786 cat >> confdefs.h <<EOF
12787 #define $ac_tr_func 1
12791 echo "$ac_t""no" 1>&6
12800 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
12801 echo "configure:12802: checking for logf declaration" >&5
12802 if test x${glibcpp_cv_func_logf_use+set} != xset; then
12803 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
12804 echo $ac_n "(cached) $ac_c" 1>&6
12809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12810 ac_cpp='$CXXCPP $CPPFLAGS'
12811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12813 cross_compiling=$ac_cv_prog_cxx_cross
12815 cat > conftest.$ac_ext <<EOF
12816 #line 12817 "configure"
12817 #include "confdefs.h"
12819 #ifdef HAVE_IEEEFP_H
12820 #include <ieeefp.h>
12827 if { (eval echo configure:12828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12829 glibcpp_cv_func_logf_use=yes
12831 echo "configure: failed program was:" >&5
12832 cat conftest.$ac_ext >&5
12834 glibcpp_cv_func_logf_use=no
12838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12839 ac_cpp='$CPP $CPPFLAGS'
12840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12842 cross_compiling=$ac_cv_prog_cc_cross
12848 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
12850 if test x$glibcpp_cv_func_logf_use = x"yes"; then
12851 for ac_func in logf
12853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12854 echo "configure:12855: checking for $ac_func" >&5
12855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12856 echo $ac_n "(cached) $ac_c" 1>&6
12858 cat > conftest.$ac_ext <<EOF
12859 #line 12860 "configure"
12860 #include "confdefs.h"
12861 /* System header to define __stub macros and hopefully few prototypes,
12862 which can conflict with char $ac_func(); below. */
12863 #include <assert.h>
12864 /* Override any gcc2 internal prototype to avoid an error. */
12865 /* We use char because int might match the return type of a gcc2
12866 builtin and then its argument prototype would still apply. */
12871 /* The GNU C library defines this for functions which it implements
12872 to always fail with ENOSYS. Some functions are actually named
12873 something starting with __ and the normal name is an alias. */
12874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12882 if { (eval echo configure:12883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12884 eval "ac_cv_func_$ac_func=yes"
12886 echo "configure: failed program was:" >&5
12887 cat conftest.$ac_ext >&5
12889 eval "ac_cv_func_$ac_func=no"
12894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12895 echo "$ac_t""yes" 1>&6
12896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12897 cat >> confdefs.h <<EOF
12898 #define $ac_tr_func 1
12902 echo "$ac_t""no" 1>&6
12908 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
12909 echo "configure:12910: checking for _logf declaration" >&5
12910 if test x${glibcpp_cv_func__logf_use+set} != xset; then
12911 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
12912 echo $ac_n "(cached) $ac_c" 1>&6
12917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12918 ac_cpp='$CXXCPP $CPPFLAGS'
12919 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12920 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12921 cross_compiling=$ac_cv_prog_cxx_cross
12923 cat > conftest.$ac_ext <<EOF
12924 #line 12925 "configure"
12925 #include "confdefs.h"
12927 #ifdef HAVE_IEEEFP_H
12928 #include <ieeefp.h>
12935 if { (eval echo configure:12936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12937 glibcpp_cv_func__logf_use=yes
12939 echo "configure: failed program was:" >&5
12940 cat conftest.$ac_ext >&5
12942 glibcpp_cv_func__logf_use=no
12946 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12947 ac_cpp='$CPP $CPPFLAGS'
12948 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12949 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12950 cross_compiling=$ac_cv_prog_cc_cross
12956 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
12958 if test x$glibcpp_cv_func__logf_use = x"yes"; then
12959 for ac_func in _logf
12961 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12962 echo "configure:12963: checking for $ac_func" >&5
12963 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12964 echo $ac_n "(cached) $ac_c" 1>&6
12966 cat > conftest.$ac_ext <<EOF
12967 #line 12968 "configure"
12968 #include "confdefs.h"
12969 /* System header to define __stub macros and hopefully few prototypes,
12970 which can conflict with char $ac_func(); below. */
12971 #include <assert.h>
12972 /* Override any gcc2 internal prototype to avoid an error. */
12973 /* We use char because int might match the return type of a gcc2
12974 builtin and then its argument prototype would still apply. */
12979 /* The GNU C library defines this for functions which it implements
12980 to always fail with ENOSYS. Some functions are actually named
12981 something starting with __ and the normal name is an alias. */
12982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12990 if { (eval echo configure:12991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12992 eval "ac_cv_func_$ac_func=yes"
12994 echo "configure: failed program was:" >&5
12995 cat conftest.$ac_ext >&5
12997 eval "ac_cv_func_$ac_func=no"
13002 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13003 echo "$ac_t""yes" 1>&6
13004 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13005 cat >> confdefs.h <<EOF
13006 #define $ac_tr_func 1
13010 echo "$ac_t""no" 1>&6
13019 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
13020 echo "configure:13021: checking for log10f declaration" >&5
13021 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13022 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13023 echo $ac_n "(cached) $ac_c" 1>&6
13028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13029 ac_cpp='$CXXCPP $CPPFLAGS'
13030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13032 cross_compiling=$ac_cv_prog_cxx_cross
13034 cat > conftest.$ac_ext <<EOF
13035 #line 13036 "configure"
13036 #include "confdefs.h"
13038 #ifdef HAVE_IEEEFP_H
13039 #include <ieeefp.h>
13046 if { (eval echo configure:13047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13048 glibcpp_cv_func_log10f_use=yes
13050 echo "configure: failed program was:" >&5
13051 cat conftest.$ac_ext >&5
13053 glibcpp_cv_func_log10f_use=no
13057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13058 ac_cpp='$CPP $CPPFLAGS'
13059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13061 cross_compiling=$ac_cv_prog_cc_cross
13067 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13069 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13070 for ac_func in log10f
13072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13073 echo "configure:13074: checking for $ac_func" >&5
13074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13075 echo $ac_n "(cached) $ac_c" 1>&6
13077 cat > conftest.$ac_ext <<EOF
13078 #line 13079 "configure"
13079 #include "confdefs.h"
13080 /* System header to define __stub macros and hopefully few prototypes,
13081 which can conflict with char $ac_func(); below. */
13082 #include <assert.h>
13083 /* Override any gcc2 internal prototype to avoid an error. */
13084 /* We use char because int might match the return type of a gcc2
13085 builtin and then its argument prototype would still apply. */
13090 /* The GNU C library defines this for functions which it implements
13091 to always fail with ENOSYS. Some functions are actually named
13092 something starting with __ and the normal name is an alias. */
13093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13101 if { (eval echo configure:13102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13103 eval "ac_cv_func_$ac_func=yes"
13105 echo "configure: failed program was:" >&5
13106 cat conftest.$ac_ext >&5
13108 eval "ac_cv_func_$ac_func=no"
13113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13114 echo "$ac_t""yes" 1>&6
13115 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13116 cat >> confdefs.h <<EOF
13117 #define $ac_tr_func 1
13121 echo "$ac_t""no" 1>&6
13127 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13128 echo "configure:13129: checking for _log10f declaration" >&5
13129 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13130 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13131 echo $ac_n "(cached) $ac_c" 1>&6
13136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13137 ac_cpp='$CXXCPP $CPPFLAGS'
13138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13140 cross_compiling=$ac_cv_prog_cxx_cross
13142 cat > conftest.$ac_ext <<EOF
13143 #line 13144 "configure"
13144 #include "confdefs.h"
13146 #ifdef HAVE_IEEEFP_H
13147 #include <ieeefp.h>
13154 if { (eval echo configure:13155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13156 glibcpp_cv_func__log10f_use=yes
13158 echo "configure: failed program was:" >&5
13159 cat conftest.$ac_ext >&5
13161 glibcpp_cv_func__log10f_use=no
13165 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13166 ac_cpp='$CPP $CPPFLAGS'
13167 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13168 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13169 cross_compiling=$ac_cv_prog_cc_cross
13175 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13177 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13178 for ac_func in _log10f
13180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13181 echo "configure:13182: checking for $ac_func" >&5
13182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13183 echo $ac_n "(cached) $ac_c" 1>&6
13185 cat > conftest.$ac_ext <<EOF
13186 #line 13187 "configure"
13187 #include "confdefs.h"
13188 /* System header to define __stub macros and hopefully few prototypes,
13189 which can conflict with char $ac_func(); below. */
13190 #include <assert.h>
13191 /* Override any gcc2 internal prototype to avoid an error. */
13192 /* We use char because int might match the return type of a gcc2
13193 builtin and then its argument prototype would still apply. */
13198 /* The GNU C library defines this for functions which it implements
13199 to always fail with ENOSYS. Some functions are actually named
13200 something starting with __ and the normal name is an alias. */
13201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13209 if { (eval echo configure:13210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13211 eval "ac_cv_func_$ac_func=yes"
13213 echo "configure: failed program was:" >&5
13214 cat conftest.$ac_ext >&5
13216 eval "ac_cv_func_$ac_func=no"
13221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13222 echo "$ac_t""yes" 1>&6
13223 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13224 cat >> confdefs.h <<EOF
13225 #define $ac_tr_func 1
13229 echo "$ac_t""no" 1>&6
13238 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
13239 echo "configure:13240: checking for modff declaration" >&5
13240 if test x${glibcpp_cv_func_modff_use+set} != xset; then
13241 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
13242 echo $ac_n "(cached) $ac_c" 1>&6
13247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13248 ac_cpp='$CXXCPP $CPPFLAGS'
13249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13251 cross_compiling=$ac_cv_prog_cxx_cross
13253 cat > conftest.$ac_ext <<EOF
13254 #line 13255 "configure"
13255 #include "confdefs.h"
13261 if { (eval echo configure:13262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13263 glibcpp_cv_func_modff_use=yes
13265 echo "configure: failed program was:" >&5
13266 cat conftest.$ac_ext >&5
13268 glibcpp_cv_func_modff_use=no
13272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13273 ac_cpp='$CPP $CPPFLAGS'
13274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13276 cross_compiling=$ac_cv_prog_cc_cross
13282 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
13284 if test x$glibcpp_cv_func_modff_use = x"yes"; then
13285 for ac_func in modff
13287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13288 echo "configure:13289: checking for $ac_func" >&5
13289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13290 echo $ac_n "(cached) $ac_c" 1>&6
13292 cat > conftest.$ac_ext <<EOF
13293 #line 13294 "configure"
13294 #include "confdefs.h"
13295 /* System header to define __stub macros and hopefully few prototypes,
13296 which can conflict with char $ac_func(); below. */
13297 #include <assert.h>
13298 /* Override any gcc2 internal prototype to avoid an error. */
13299 /* We use char because int might match the return type of a gcc2
13300 builtin and then its argument prototype would still apply. */
13305 /* The GNU C library defines this for functions which it implements
13306 to always fail with ENOSYS. Some functions are actually named
13307 something starting with __ and the normal name is an alias. */
13308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13316 if { (eval echo configure:13317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13318 eval "ac_cv_func_$ac_func=yes"
13320 echo "configure: failed program was:" >&5
13321 cat conftest.$ac_ext >&5
13323 eval "ac_cv_func_$ac_func=no"
13328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13329 echo "$ac_t""yes" 1>&6
13330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13331 cat >> confdefs.h <<EOF
13332 #define $ac_tr_func 1
13336 echo "$ac_t""no" 1>&6
13342 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13343 echo "configure:13344: checking for _modff declaration" >&5
13344 if test x${glibcpp_cv_func__modff_use+set} != xset; then
13345 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13346 echo $ac_n "(cached) $ac_c" 1>&6
13351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13352 ac_cpp='$CXXCPP $CPPFLAGS'
13353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13355 cross_compiling=$ac_cv_prog_cxx_cross
13357 cat > conftest.$ac_ext <<EOF
13358 #line 13359 "configure"
13359 #include "confdefs.h"
13365 if { (eval echo configure:13366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13367 glibcpp_cv_func__modff_use=yes
13369 echo "configure: failed program was:" >&5
13370 cat conftest.$ac_ext >&5
13372 glibcpp_cv_func__modff_use=no
13376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13377 ac_cpp='$CPP $CPPFLAGS'
13378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13380 cross_compiling=$ac_cv_prog_cc_cross
13386 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13388 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13389 for ac_func in _modff
13391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13392 echo "configure:13393: checking for $ac_func" >&5
13393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13394 echo $ac_n "(cached) $ac_c" 1>&6
13396 cat > conftest.$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char $ac_func(); below. */
13401 #include <assert.h>
13402 /* Override any gcc2 internal prototype to avoid an error. */
13403 /* We use char because int might match the return type of a gcc2
13404 builtin and then its argument prototype would still apply. */
13409 /* The GNU C library defines this for functions which it implements
13410 to always fail with ENOSYS. Some functions are actually named
13411 something starting with __ and the normal name is an alias. */
13412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13420 if { (eval echo configure:13421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13422 eval "ac_cv_func_$ac_func=yes"
13424 echo "configure: failed program was:" >&5
13425 cat conftest.$ac_ext >&5
13427 eval "ac_cv_func_$ac_func=no"
13432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13433 echo "$ac_t""yes" 1>&6
13434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13435 cat >> confdefs.h <<EOF
13436 #define $ac_tr_func 1
13440 echo "$ac_t""no" 1>&6
13449 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
13450 echo "configure:13451: checking for powf declaration" >&5
13451 if test x${glibcpp_cv_func_powf_use+set} != xset; then
13452 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
13453 echo $ac_n "(cached) $ac_c" 1>&6
13458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13459 ac_cpp='$CXXCPP $CPPFLAGS'
13460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13462 cross_compiling=$ac_cv_prog_cxx_cross
13464 cat > conftest.$ac_ext <<EOF
13465 #line 13466 "configure"
13466 #include "confdefs.h"
13472 if { (eval echo configure:13473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13474 glibcpp_cv_func_powf_use=yes
13476 echo "configure: failed program was:" >&5
13477 cat conftest.$ac_ext >&5
13479 glibcpp_cv_func_powf_use=no
13483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13484 ac_cpp='$CPP $CPPFLAGS'
13485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13487 cross_compiling=$ac_cv_prog_cc_cross
13493 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
13495 if test x$glibcpp_cv_func_powf_use = x"yes"; then
13496 for ac_func in powf
13498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13499 echo "configure:13500: checking for $ac_func" >&5
13500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13501 echo $ac_n "(cached) $ac_c" 1>&6
13503 cat > conftest.$ac_ext <<EOF
13504 #line 13505 "configure"
13505 #include "confdefs.h"
13506 /* System header to define __stub macros and hopefully few prototypes,
13507 which can conflict with char $ac_func(); below. */
13508 #include <assert.h>
13509 /* Override any gcc2 internal prototype to avoid an error. */
13510 /* We use char because int might match the return type of a gcc2
13511 builtin and then its argument prototype would still apply. */
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13527 if { (eval echo configure:13528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13529 eval "ac_cv_func_$ac_func=yes"
13531 echo "configure: failed program was:" >&5
13532 cat conftest.$ac_ext >&5
13534 eval "ac_cv_func_$ac_func=no"
13539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13540 echo "$ac_t""yes" 1>&6
13541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13542 cat >> confdefs.h <<EOF
13543 #define $ac_tr_func 1
13547 echo "$ac_t""no" 1>&6
13553 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13554 echo "configure:13555: checking for _powf declaration" >&5
13555 if test x${glibcpp_cv_func__powf_use+set} != xset; then
13556 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13557 echo $ac_n "(cached) $ac_c" 1>&6
13562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13563 ac_cpp='$CXXCPP $CPPFLAGS'
13564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13566 cross_compiling=$ac_cv_prog_cxx_cross
13568 cat > conftest.$ac_ext <<EOF
13569 #line 13570 "configure"
13570 #include "confdefs.h"
13576 if { (eval echo configure:13577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13578 glibcpp_cv_func__powf_use=yes
13580 echo "configure: failed program was:" >&5
13581 cat conftest.$ac_ext >&5
13583 glibcpp_cv_func__powf_use=no
13587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13588 ac_cpp='$CPP $CPPFLAGS'
13589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13591 cross_compiling=$ac_cv_prog_cc_cross
13597 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13599 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13600 for ac_func in _powf
13602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13603 echo "configure:13604: checking for $ac_func" >&5
13604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13605 echo $ac_n "(cached) $ac_c" 1>&6
13607 cat > conftest.$ac_ext <<EOF
13608 #line 13609 "configure"
13609 #include "confdefs.h"
13610 /* System header to define __stub macros and hopefully few prototypes,
13611 which can conflict with char $ac_func(); below. */
13612 #include <assert.h>
13613 /* Override any gcc2 internal prototype to avoid an error. */
13614 /* We use char because int might match the return type of a gcc2
13615 builtin and then its argument prototype would still apply. */
13620 /* The GNU C library defines this for functions which it implements
13621 to always fail with ENOSYS. Some functions are actually named
13622 something starting with __ and the normal name is an alias. */
13623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13633 eval "ac_cv_func_$ac_func=yes"
13635 echo "configure: failed program was:" >&5
13636 cat conftest.$ac_ext >&5
13638 eval "ac_cv_func_$ac_func=no"
13643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13644 echo "$ac_t""yes" 1>&6
13645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13646 cat >> confdefs.h <<EOF
13647 #define $ac_tr_func 1
13651 echo "$ac_t""no" 1>&6
13660 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
13661 echo "configure:13662: checking for sqrtf declaration" >&5
13662 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
13663 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
13664 echo $ac_n "(cached) $ac_c" 1>&6
13669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13670 ac_cpp='$CXXCPP $CPPFLAGS'
13671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13673 cross_compiling=$ac_cv_prog_cxx_cross
13675 cat > conftest.$ac_ext <<EOF
13676 #line 13677 "configure"
13677 #include "confdefs.h"
13679 #ifdef HAVE_IEEEFP_H
13680 #include <ieeefp.h>
13687 if { (eval echo configure:13688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13689 glibcpp_cv_func_sqrtf_use=yes
13691 echo "configure: failed program was:" >&5
13692 cat conftest.$ac_ext >&5
13694 glibcpp_cv_func_sqrtf_use=no
13698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13699 ac_cpp='$CPP $CPPFLAGS'
13700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13702 cross_compiling=$ac_cv_prog_cc_cross
13708 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
13710 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
13711 for ac_func in sqrtf
13713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13714 echo "configure:13715: checking for $ac_func" >&5
13715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13716 echo $ac_n "(cached) $ac_c" 1>&6
13718 cat > conftest.$ac_ext <<EOF
13719 #line 13720 "configure"
13720 #include "confdefs.h"
13721 /* System header to define __stub macros and hopefully few prototypes,
13722 which can conflict with char $ac_func(); below. */
13723 #include <assert.h>
13724 /* Override any gcc2 internal prototype to avoid an error. */
13725 /* We use char because int might match the return type of a gcc2
13726 builtin and then its argument prototype would still apply. */
13731 /* The GNU C library defines this for functions which it implements
13732 to always fail with ENOSYS. Some functions are actually named
13733 something starting with __ and the normal name is an alias. */
13734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13742 if { (eval echo configure:13743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13744 eval "ac_cv_func_$ac_func=yes"
13746 echo "configure: failed program was:" >&5
13747 cat conftest.$ac_ext >&5
13749 eval "ac_cv_func_$ac_func=no"
13754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13755 echo "$ac_t""yes" 1>&6
13756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13757 cat >> confdefs.h <<EOF
13758 #define $ac_tr_func 1
13762 echo "$ac_t""no" 1>&6
13768 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13769 echo "configure:13770: checking for _sqrtf declaration" >&5
13770 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
13771 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13772 echo $ac_n "(cached) $ac_c" 1>&6
13777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13778 ac_cpp='$CXXCPP $CPPFLAGS'
13779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13781 cross_compiling=$ac_cv_prog_cxx_cross
13783 cat > conftest.$ac_ext <<EOF
13784 #line 13785 "configure"
13785 #include "confdefs.h"
13787 #ifdef HAVE_IEEEFP_H
13788 #include <ieeefp.h>
13795 if { (eval echo configure:13796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13797 glibcpp_cv_func__sqrtf_use=yes
13799 echo "configure: failed program was:" >&5
13800 cat conftest.$ac_ext >&5
13802 glibcpp_cv_func__sqrtf_use=no
13806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13807 ac_cpp='$CPP $CPPFLAGS'
13808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13810 cross_compiling=$ac_cv_prog_cc_cross
13816 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13818 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13819 for ac_func in _sqrtf
13821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13822 echo "configure:13823: checking for $ac_func" >&5
13823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13824 echo $ac_n "(cached) $ac_c" 1>&6
13826 cat > conftest.$ac_ext <<EOF
13827 #line 13828 "configure"
13828 #include "confdefs.h"
13829 /* System header to define __stub macros and hopefully few prototypes,
13830 which can conflict with char $ac_func(); below. */
13831 #include <assert.h>
13832 /* Override any gcc2 internal prototype to avoid an error. */
13833 /* We use char because int might match the return type of a gcc2
13834 builtin and then its argument prototype would still apply. */
13839 /* The GNU C library defines this for functions which it implements
13840 to always fail with ENOSYS. Some functions are actually named
13841 something starting with __ and the normal name is an alias. */
13842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13850 if { (eval echo configure:13851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13852 eval "ac_cv_func_$ac_func=yes"
13854 echo "configure: failed program was:" >&5
13855 cat conftest.$ac_ext >&5
13857 eval "ac_cv_func_$ac_func=no"
13862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13863 echo "$ac_t""yes" 1>&6
13864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13865 cat >> confdefs.h <<EOF
13866 #define $ac_tr_func 1
13870 echo "$ac_t""no" 1>&6
13879 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
13880 echo "configure:13881: checking for sincosf declaration" >&5
13881 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
13882 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
13883 echo $ac_n "(cached) $ac_c" 1>&6
13888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13889 ac_cpp='$CXXCPP $CPPFLAGS'
13890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13892 cross_compiling=$ac_cv_prog_cxx_cross
13894 cat > conftest.$ac_ext <<EOF
13895 #line 13896 "configure"
13896 #include "confdefs.h"
13902 if { (eval echo configure:13903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13904 glibcpp_cv_func_sincosf_use=yes
13906 echo "configure: failed program was:" >&5
13907 cat conftest.$ac_ext >&5
13909 glibcpp_cv_func_sincosf_use=no
13913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13914 ac_cpp='$CPP $CPPFLAGS'
13915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13917 cross_compiling=$ac_cv_prog_cc_cross
13923 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
13925 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
13926 for ac_func in sincosf
13928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13929 echo "configure:13930: checking for $ac_func" >&5
13930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13931 echo $ac_n "(cached) $ac_c" 1>&6
13933 cat > conftest.$ac_ext <<EOF
13934 #line 13935 "configure"
13935 #include "confdefs.h"
13936 /* System header to define __stub macros and hopefully few prototypes,
13937 which can conflict with char $ac_func(); below. */
13938 #include <assert.h>
13939 /* Override any gcc2 internal prototype to avoid an error. */
13940 /* We use char because int might match the return type of a gcc2
13941 builtin and then its argument prototype would still apply. */
13946 /* The GNU C library defines this for functions which it implements
13947 to always fail with ENOSYS. Some functions are actually named
13948 something starting with __ and the normal name is an alias. */
13949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13957 if { (eval echo configure:13958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13959 eval "ac_cv_func_$ac_func=yes"
13961 echo "configure: failed program was:" >&5
13962 cat conftest.$ac_ext >&5
13964 eval "ac_cv_func_$ac_func=no"
13969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13970 echo "$ac_t""yes" 1>&6
13971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13972 cat >> confdefs.h <<EOF
13973 #define $ac_tr_func 1
13977 echo "$ac_t""no" 1>&6
13983 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
13984 echo "configure:13985: checking for _sincosf declaration" >&5
13985 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13986 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13987 echo $ac_n "(cached) $ac_c" 1>&6
13992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13993 ac_cpp='$CXXCPP $CPPFLAGS'
13994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13996 cross_compiling=$ac_cv_prog_cxx_cross
13998 cat > conftest.$ac_ext <<EOF
13999 #line 14000 "configure"
14000 #include "confdefs.h"
14006 if { (eval echo configure:14007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14008 glibcpp_cv_func__sincosf_use=yes
14010 echo "configure: failed program was:" >&5
14011 cat conftest.$ac_ext >&5
14013 glibcpp_cv_func__sincosf_use=no
14017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14018 ac_cpp='$CPP $CPPFLAGS'
14019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14021 cross_compiling=$ac_cv_prog_cc_cross
14027 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14029 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14030 for ac_func in _sincosf
14032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14033 echo "configure:14034: checking for $ac_func" >&5
14034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14035 echo $ac_n "(cached) $ac_c" 1>&6
14037 cat > conftest.$ac_ext <<EOF
14038 #line 14039 "configure"
14039 #include "confdefs.h"
14040 /* System header to define __stub macros and hopefully few prototypes,
14041 which can conflict with char $ac_func(); below. */
14042 #include <assert.h>
14043 /* Override any gcc2 internal prototype to avoid an error. */
14044 /* We use char because int might match the return type of a gcc2
14045 builtin and then its argument prototype would still apply. */
14050 /* The GNU C library defines this for functions which it implements
14051 to always fail with ENOSYS. Some functions are actually named
14052 something starting with __ and the normal name is an alias. */
14053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14061 if { (eval echo configure:14062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14063 eval "ac_cv_func_$ac_func=yes"
14065 echo "configure: failed program was:" >&5
14066 cat conftest.$ac_ext >&5
14068 eval "ac_cv_func_$ac_func=no"
14073 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14074 echo "$ac_t""yes" 1>&6
14075 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14076 cat >> confdefs.h <<EOF
14077 #define $ac_tr_func 1
14081 echo "$ac_t""no" 1>&6
14090 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14091 echo "configure:14092: checking for finitef declaration" >&5
14092 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14093 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14094 echo $ac_n "(cached) $ac_c" 1>&6
14099 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14100 ac_cpp='$CXXCPP $CPPFLAGS'
14101 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14102 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14103 cross_compiling=$ac_cv_prog_cxx_cross
14105 cat > conftest.$ac_ext <<EOF
14106 #line 14107 "configure"
14107 #include "confdefs.h"
14109 #ifdef HAVE_IEEEFP_H
14110 #include <ieeefp.h>
14117 if { (eval echo configure:14118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14119 glibcpp_cv_func_finitef_use=yes
14121 echo "configure: failed program was:" >&5
14122 cat conftest.$ac_ext >&5
14124 glibcpp_cv_func_finitef_use=no
14128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14129 ac_cpp='$CPP $CPPFLAGS'
14130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14132 cross_compiling=$ac_cv_prog_cc_cross
14138 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14140 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14141 for ac_func in finitef
14143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14144 echo "configure:14145: checking for $ac_func" >&5
14145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14146 echo $ac_n "(cached) $ac_c" 1>&6
14148 cat > conftest.$ac_ext <<EOF
14149 #line 14150 "configure"
14150 #include "confdefs.h"
14151 /* System header to define __stub macros and hopefully few prototypes,
14152 which can conflict with char $ac_func(); below. */
14153 #include <assert.h>
14154 /* Override any gcc2 internal prototype to avoid an error. */
14155 /* We use char because int might match the return type of a gcc2
14156 builtin and then its argument prototype would still apply. */
14161 /* The GNU C library defines this for functions which it implements
14162 to always fail with ENOSYS. Some functions are actually named
14163 something starting with __ and the normal name is an alias. */
14164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14172 if { (eval echo configure:14173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14174 eval "ac_cv_func_$ac_func=yes"
14176 echo "configure: failed program was:" >&5
14177 cat conftest.$ac_ext >&5
14179 eval "ac_cv_func_$ac_func=no"
14184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14185 echo "$ac_t""yes" 1>&6
14186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14187 cat >> confdefs.h <<EOF
14188 #define $ac_tr_func 1
14192 echo "$ac_t""no" 1>&6
14198 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14199 echo "configure:14200: checking for _finitef declaration" >&5
14200 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
14201 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14202 echo $ac_n "(cached) $ac_c" 1>&6
14207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14208 ac_cpp='$CXXCPP $CPPFLAGS'
14209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14211 cross_compiling=$ac_cv_prog_cxx_cross
14213 cat > conftest.$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14217 #ifdef HAVE_IEEEFP_H
14218 #include <ieeefp.h>
14225 if { (eval echo configure:14226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14227 glibcpp_cv_func__finitef_use=yes
14229 echo "configure: failed program was:" >&5
14230 cat conftest.$ac_ext >&5
14232 glibcpp_cv_func__finitef_use=no
14236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14237 ac_cpp='$CPP $CPPFLAGS'
14238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14240 cross_compiling=$ac_cv_prog_cc_cross
14246 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14248 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14249 for ac_func in _finitef
14251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14252 echo "configure:14253: checking for $ac_func" >&5
14253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14254 echo $ac_n "(cached) $ac_c" 1>&6
14256 cat > conftest.$ac_ext <<EOF
14257 #line 14258 "configure"
14258 #include "confdefs.h"
14259 /* System header to define __stub macros and hopefully few prototypes,
14260 which can conflict with char $ac_func(); below. */
14261 #include <assert.h>
14262 /* Override any gcc2 internal prototype to avoid an error. */
14263 /* We use char because int might match the return type of a gcc2
14264 builtin and then its argument prototype would still apply. */
14269 /* The GNU C library defines this for functions which it implements
14270 to always fail with ENOSYS. Some functions are actually named
14271 something starting with __ and the normal name is an alias. */
14272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14280 if { (eval echo configure:14281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14282 eval "ac_cv_func_$ac_func=yes"
14284 echo "configure: failed program was:" >&5
14285 cat conftest.$ac_ext >&5
14287 eval "ac_cv_func_$ac_func=no"
14292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14293 echo "$ac_t""yes" 1>&6
14294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14295 cat >> confdefs.h <<EOF
14296 #define $ac_tr_func 1
14300 echo "$ac_t""no" 1>&6
14309 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
14310 echo "configure:14311: checking for long double trig functions" >&5
14311 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
14312 echo $ac_n "(cached) $ac_c" 1>&6
14317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14318 ac_cpp='$CXXCPP $CPPFLAGS'
14319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14321 cross_compiling=$ac_cv_prog_cxx_cross
14323 cat > conftest.$ac_ext <<EOF
14324 #line 14325 "configure"
14325 #include "confdefs.h"
14328 `for x in acosl asinl atanl \
14330 coshl sinhl tanhl; do echo "$x (0);"; done`
14333 if { (eval echo configure:14334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14335 glibcpp_cv_func_long_double_trig_use=yes
14337 echo "configure: failed program was:" >&5
14338 cat conftest.$ac_ext >&5
14340 glibcpp_cv_func_long_double_trig_use=no
14344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14348 cross_compiling=$ac_cv_prog_cc_cross
14352 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
14353 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
14354 for ac_func in acosl asinl atanl \
14358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14359 echo "configure:14360: checking for $ac_func" >&5
14360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14361 echo $ac_n "(cached) $ac_c" 1>&6
14363 cat > conftest.$ac_ext <<EOF
14364 #line 14365 "configure"
14365 #include "confdefs.h"
14366 /* System header to define __stub macros and hopefully few prototypes,
14367 which can conflict with char $ac_func(); below. */
14368 #include <assert.h>
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 /* We use char because int might match the return type of a gcc2
14371 builtin and then its argument prototype would still apply. */
14376 /* The GNU C library defines this for functions which it implements
14377 to always fail with ENOSYS. Some functions are actually named
14378 something starting with __ and the normal name is an alias. */
14379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14387 if { (eval echo configure:14388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14389 eval "ac_cv_func_$ac_func=yes"
14391 echo "configure: failed program was:" >&5
14392 cat conftest.$ac_ext >&5
14394 eval "ac_cv_func_$ac_func=no"
14399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14400 echo "$ac_t""yes" 1>&6
14401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14402 cat >> confdefs.h <<EOF
14403 #define $ac_tr_func 1
14407 echo "$ac_t""no" 1>&6
14414 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
14415 echo "configure:14416: checking for long double round functions" >&5
14416 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
14417 echo $ac_n "(cached) $ac_c" 1>&6
14422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14423 ac_cpp='$CXXCPP $CPPFLAGS'
14424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14426 cross_compiling=$ac_cv_prog_cxx_cross
14428 cat > conftest.$ac_ext <<EOF
14429 #line 14430 "configure"
14430 #include "confdefs.h"
14433 `for x in ceill floorl; do echo "$x (0);"; done`
14436 if { (eval echo configure:14437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14438 glibcpp_cv_func_long_double_round_use=yes
14440 echo "configure: failed program was:" >&5
14441 cat conftest.$ac_ext >&5
14443 glibcpp_cv_func_long_double_round_use=no
14447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14448 ac_cpp='$CPP $CPPFLAGS'
14449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14451 cross_compiling=$ac_cv_prog_cc_cross
14455 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
14456 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
14457 for ac_func in ceill floorl
14459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14460 echo "configure:14461: checking for $ac_func" >&5
14461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14462 echo $ac_n "(cached) $ac_c" 1>&6
14464 cat > conftest.$ac_ext <<EOF
14465 #line 14466 "configure"
14466 #include "confdefs.h"
14467 /* System header to define __stub macros and hopefully few prototypes,
14468 which can conflict with char $ac_func(); below. */
14469 #include <assert.h>
14470 /* Override any gcc2 internal prototype to avoid an error. */
14471 /* We use char because int might match the return type of a gcc2
14472 builtin and then its argument prototype would still apply. */
14477 /* The GNU C library defines this for functions which it implements
14478 to always fail with ENOSYS. Some functions are actually named
14479 something starting with __ and the normal name is an alias. */
14480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14490 eval "ac_cv_func_$ac_func=yes"
14492 echo "configure: failed program was:" >&5
14493 cat conftest.$ac_ext >&5
14495 eval "ac_cv_func_$ac_func=no"
14500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14501 echo "$ac_t""yes" 1>&6
14502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14503 cat >> confdefs.h <<EOF
14504 #define $ac_tr_func 1
14508 echo "$ac_t""no" 1>&6
14516 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
14517 echo "configure:14518: checking for isnanl declaration" >&5
14518 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
14519 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
14520 echo $ac_n "(cached) $ac_c" 1>&6
14525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14526 ac_cpp='$CXXCPP $CPPFLAGS'
14527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14529 cross_compiling=$ac_cv_prog_cxx_cross
14531 cat > conftest.$ac_ext <<EOF
14532 #line 14533 "configure"
14533 #include "confdefs.h"
14535 #ifdef HAVE_IEEEFP_H
14536 #include <ieeefp.h>
14543 if { (eval echo configure:14544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14545 glibcpp_cv_func_isnanl_use=yes
14547 echo "configure: failed program was:" >&5
14548 cat conftest.$ac_ext >&5
14550 glibcpp_cv_func_isnanl_use=no
14554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14555 ac_cpp='$CPP $CPPFLAGS'
14556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14558 cross_compiling=$ac_cv_prog_cc_cross
14564 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
14566 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
14567 for ac_func in isnanl
14569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14570 echo "configure:14571: checking for $ac_func" >&5
14571 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14572 echo $ac_n "(cached) $ac_c" 1>&6
14574 cat > conftest.$ac_ext <<EOF
14575 #line 14576 "configure"
14576 #include "confdefs.h"
14577 /* System header to define __stub macros and hopefully few prototypes,
14578 which can conflict with char $ac_func(); below. */
14579 #include <assert.h>
14580 /* Override any gcc2 internal prototype to avoid an error. */
14581 /* We use char because int might match the return type of a gcc2
14582 builtin and then its argument prototype would still apply. */
14587 /* The GNU C library defines this for functions which it implements
14588 to always fail with ENOSYS. Some functions are actually named
14589 something starting with __ and the normal name is an alias. */
14590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14598 if { (eval echo configure:14599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14600 eval "ac_cv_func_$ac_func=yes"
14602 echo "configure: failed program was:" >&5
14603 cat conftest.$ac_ext >&5
14605 eval "ac_cv_func_$ac_func=no"
14610 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14611 echo "$ac_t""yes" 1>&6
14612 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14613 cat >> confdefs.h <<EOF
14614 #define $ac_tr_func 1
14618 echo "$ac_t""no" 1>&6
14624 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14625 echo "configure:14626: checking for _isnanl declaration" >&5
14626 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
14627 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14628 echo $ac_n "(cached) $ac_c" 1>&6
14633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14634 ac_cpp='$CXXCPP $CPPFLAGS'
14635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14637 cross_compiling=$ac_cv_prog_cxx_cross
14639 cat > conftest.$ac_ext <<EOF
14640 #line 14641 "configure"
14641 #include "confdefs.h"
14643 #ifdef HAVE_IEEEFP_H
14644 #include <ieeefp.h>
14651 if { (eval echo configure:14652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14653 glibcpp_cv_func__isnanl_use=yes
14655 echo "configure: failed program was:" >&5
14656 cat conftest.$ac_ext >&5
14658 glibcpp_cv_func__isnanl_use=no
14662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14663 ac_cpp='$CPP $CPPFLAGS'
14664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14666 cross_compiling=$ac_cv_prog_cc_cross
14672 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14674 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14675 for ac_func in _isnanl
14677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14678 echo "configure:14679: checking for $ac_func" >&5
14679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14680 echo $ac_n "(cached) $ac_c" 1>&6
14682 cat > conftest.$ac_ext <<EOF
14683 #line 14684 "configure"
14684 #include "confdefs.h"
14685 /* System header to define __stub macros and hopefully few prototypes,
14686 which can conflict with char $ac_func(); below. */
14687 #include <assert.h>
14688 /* Override any gcc2 internal prototype to avoid an error. */
14689 /* We use char because int might match the return type of a gcc2
14690 builtin and then its argument prototype would still apply. */
14695 /* The GNU C library defines this for functions which it implements
14696 to always fail with ENOSYS. Some functions are actually named
14697 something starting with __ and the normal name is an alias. */
14698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14706 if { (eval echo configure:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14708 eval "ac_cv_func_$ac_func=yes"
14710 echo "configure: failed program was:" >&5
14711 cat conftest.$ac_ext >&5
14713 eval "ac_cv_func_$ac_func=no"
14718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14719 echo "$ac_t""yes" 1>&6
14720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14721 cat >> confdefs.h <<EOF
14722 #define $ac_tr_func 1
14726 echo "$ac_t""no" 1>&6
14735 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
14736 echo "configure:14737: checking for isinfl declaration" >&5
14737 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
14738 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
14739 echo $ac_n "(cached) $ac_c" 1>&6
14744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14745 ac_cpp='$CXXCPP $CPPFLAGS'
14746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14748 cross_compiling=$ac_cv_prog_cxx_cross
14750 cat > conftest.$ac_ext <<EOF
14751 #line 14752 "configure"
14752 #include "confdefs.h"
14754 #ifdef HAVE_IEEEFP_H
14755 #include <ieeefp.h>
14762 if { (eval echo configure:14763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14764 glibcpp_cv_func_isinfl_use=yes
14766 echo "configure: failed program was:" >&5
14767 cat conftest.$ac_ext >&5
14769 glibcpp_cv_func_isinfl_use=no
14773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14774 ac_cpp='$CPP $CPPFLAGS'
14775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14777 cross_compiling=$ac_cv_prog_cc_cross
14783 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
14785 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
14786 for ac_func in isinfl
14788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14789 echo "configure:14790: checking for $ac_func" >&5
14790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14791 echo $ac_n "(cached) $ac_c" 1>&6
14793 cat > conftest.$ac_ext <<EOF
14794 #line 14795 "configure"
14795 #include "confdefs.h"
14796 /* System header to define __stub macros and hopefully few prototypes,
14797 which can conflict with char $ac_func(); below. */
14798 #include <assert.h>
14799 /* Override any gcc2 internal prototype to avoid an error. */
14800 /* We use char because int might match the return type of a gcc2
14801 builtin and then its argument prototype would still apply. */
14806 /* The GNU C library defines this for functions which it implements
14807 to always fail with ENOSYS. Some functions are actually named
14808 something starting with __ and the normal name is an alias. */
14809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14817 if { (eval echo configure:14818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14819 eval "ac_cv_func_$ac_func=yes"
14821 echo "configure: failed program was:" >&5
14822 cat conftest.$ac_ext >&5
14824 eval "ac_cv_func_$ac_func=no"
14829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14830 echo "$ac_t""yes" 1>&6
14831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14832 cat >> confdefs.h <<EOF
14833 #define $ac_tr_func 1
14837 echo "$ac_t""no" 1>&6
14843 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14844 echo "configure:14845: checking for _isinfl declaration" >&5
14845 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
14846 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14847 echo $ac_n "(cached) $ac_c" 1>&6
14852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14853 ac_cpp='$CXXCPP $CPPFLAGS'
14854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14856 cross_compiling=$ac_cv_prog_cxx_cross
14858 cat > conftest.$ac_ext <<EOF
14859 #line 14860 "configure"
14860 #include "confdefs.h"
14862 #ifdef HAVE_IEEEFP_H
14863 #include <ieeefp.h>
14870 if { (eval echo configure:14871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14872 glibcpp_cv_func__isinfl_use=yes
14874 echo "configure: failed program was:" >&5
14875 cat conftest.$ac_ext >&5
14877 glibcpp_cv_func__isinfl_use=no
14881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14882 ac_cpp='$CPP $CPPFLAGS'
14883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14885 cross_compiling=$ac_cv_prog_cc_cross
14891 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14893 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14894 for ac_func in _isinfl
14896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14897 echo "configure:14898: checking for $ac_func" >&5
14898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14899 echo $ac_n "(cached) $ac_c" 1>&6
14901 cat > conftest.$ac_ext <<EOF
14902 #line 14903 "configure"
14903 #include "confdefs.h"
14904 /* System header to define __stub macros and hopefully few prototypes,
14905 which can conflict with char $ac_func(); below. */
14906 #include <assert.h>
14907 /* Override any gcc2 internal prototype to avoid an error. */
14908 /* We use char because int might match the return type of a gcc2
14909 builtin and then its argument prototype would still apply. */
14914 /* The GNU C library defines this for functions which it implements
14915 to always fail with ENOSYS. Some functions are actually named
14916 something starting with __ and the normal name is an alias. */
14917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14925 if { (eval echo configure:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14927 eval "ac_cv_func_$ac_func=yes"
14929 echo "configure: failed program was:" >&5
14930 cat conftest.$ac_ext >&5
14932 eval "ac_cv_func_$ac_func=no"
14937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14938 echo "$ac_t""yes" 1>&6
14939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14940 cat >> confdefs.h <<EOF
14941 #define $ac_tr_func 1
14945 echo "$ac_t""no" 1>&6
14954 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
14955 echo "configure:14956: checking for copysignl declaration" >&5
14956 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
14957 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
14958 echo $ac_n "(cached) $ac_c" 1>&6
14963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14964 ac_cpp='$CXXCPP $CPPFLAGS'
14965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14967 cross_compiling=$ac_cv_prog_cxx_cross
14969 cat > conftest.$ac_ext <<EOF
14970 #line 14971 "configure"
14971 #include "confdefs.h"
14977 if { (eval echo configure:14978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14979 glibcpp_cv_func_copysignl_use=yes
14981 echo "configure: failed program was:" >&5
14982 cat conftest.$ac_ext >&5
14984 glibcpp_cv_func_copysignl_use=no
14988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14989 ac_cpp='$CPP $CPPFLAGS'
14990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14992 cross_compiling=$ac_cv_prog_cc_cross
14998 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
15000 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
15001 for ac_func in copysignl
15003 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15004 echo "configure:15005: checking for $ac_func" >&5
15005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15006 echo $ac_n "(cached) $ac_c" 1>&6
15008 cat > conftest.$ac_ext <<EOF
15009 #line 15010 "configure"
15010 #include "confdefs.h"
15011 /* System header to define __stub macros and hopefully few prototypes,
15012 which can conflict with char $ac_func(); below. */
15013 #include <assert.h>
15014 /* Override any gcc2 internal prototype to avoid an error. */
15015 /* We use char because int might match the return type of a gcc2
15016 builtin and then its argument prototype would still apply. */
15021 /* The GNU C library defines this for functions which it implements
15022 to always fail with ENOSYS. Some functions are actually named
15023 something starting with __ and the normal name is an alias. */
15024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15032 if { (eval echo configure:15033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15034 eval "ac_cv_func_$ac_func=yes"
15036 echo "configure: failed program was:" >&5
15037 cat conftest.$ac_ext >&5
15039 eval "ac_cv_func_$ac_func=no"
15044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15045 echo "$ac_t""yes" 1>&6
15046 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15047 cat >> confdefs.h <<EOF
15048 #define $ac_tr_func 1
15052 echo "$ac_t""no" 1>&6
15058 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15059 echo "configure:15060: checking for _copysignl declaration" >&5
15060 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15061 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15062 echo $ac_n "(cached) $ac_c" 1>&6
15067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15068 ac_cpp='$CXXCPP $CPPFLAGS'
15069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15071 cross_compiling=$ac_cv_prog_cxx_cross
15073 cat > conftest.$ac_ext <<EOF
15074 #line 15075 "configure"
15075 #include "confdefs.h"
15081 if { (eval echo configure:15082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15083 glibcpp_cv_func__copysignl_use=yes
15085 echo "configure: failed program was:" >&5
15086 cat conftest.$ac_ext >&5
15088 glibcpp_cv_func__copysignl_use=no
15092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15096 cross_compiling=$ac_cv_prog_cc_cross
15102 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15104 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15105 for ac_func in _copysignl
15107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15108 echo "configure:15109: checking for $ac_func" >&5
15109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15110 echo $ac_n "(cached) $ac_c" 1>&6
15112 cat > conftest.$ac_ext <<EOF
15113 #line 15114 "configure"
15114 #include "confdefs.h"
15115 /* System header to define __stub macros and hopefully few prototypes,
15116 which can conflict with char $ac_func(); below. */
15117 #include <assert.h>
15118 /* Override any gcc2 internal prototype to avoid an error. */
15119 /* We use char because int might match the return type of a gcc2
15120 builtin and then its argument prototype would still apply. */
15125 /* The GNU C library defines this for functions which it implements
15126 to always fail with ENOSYS. Some functions are actually named
15127 something starting with __ and the normal name is an alias. */
15128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15136 if { (eval echo configure:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15138 eval "ac_cv_func_$ac_func=yes"
15140 echo "configure: failed program was:" >&5
15141 cat conftest.$ac_ext >&5
15143 eval "ac_cv_func_$ac_func=no"
15148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15149 echo "$ac_t""yes" 1>&6
15150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15151 cat >> confdefs.h <<EOF
15152 #define $ac_tr_func 1
15156 echo "$ac_t""no" 1>&6
15165 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
15166 echo "configure:15167: checking for atan2l declaration" >&5
15167 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
15168 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
15169 echo $ac_n "(cached) $ac_c" 1>&6
15174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15175 ac_cpp='$CXXCPP $CPPFLAGS'
15176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15178 cross_compiling=$ac_cv_prog_cxx_cross
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15188 if { (eval echo configure:15189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15190 glibcpp_cv_func_atan2l_use=yes
15192 echo "configure: failed program was:" >&5
15193 cat conftest.$ac_ext >&5
15195 glibcpp_cv_func_atan2l_use=no
15199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15200 ac_cpp='$CPP $CPPFLAGS'
15201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15203 cross_compiling=$ac_cv_prog_cc_cross
15209 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
15211 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
15212 for ac_func in atan2l
15214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15215 echo "configure:15216: checking for $ac_func" >&5
15216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15217 echo $ac_n "(cached) $ac_c" 1>&6
15219 cat > conftest.$ac_ext <<EOF
15220 #line 15221 "configure"
15221 #include "confdefs.h"
15222 /* System header to define __stub macros and hopefully few prototypes,
15223 which can conflict with char $ac_func(); below. */
15224 #include <assert.h>
15225 /* Override any gcc2 internal prototype to avoid an error. */
15226 /* We use char because int might match the return type of a gcc2
15227 builtin and then its argument prototype would still apply. */
15232 /* The GNU C library defines this for functions which it implements
15233 to always fail with ENOSYS. Some functions are actually named
15234 something starting with __ and the normal name is an alias. */
15235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15243 if { (eval echo configure:15244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15245 eval "ac_cv_func_$ac_func=yes"
15247 echo "configure: failed program was:" >&5
15248 cat conftest.$ac_ext >&5
15250 eval "ac_cv_func_$ac_func=no"
15255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15256 echo "$ac_t""yes" 1>&6
15257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15258 cat >> confdefs.h <<EOF
15259 #define $ac_tr_func 1
15263 echo "$ac_t""no" 1>&6
15269 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
15270 echo "configure:15271: checking for _atan2l declaration" >&5
15271 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
15272 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15273 echo $ac_n "(cached) $ac_c" 1>&6
15278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15279 ac_cpp='$CXXCPP $CPPFLAGS'
15280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15282 cross_compiling=$ac_cv_prog_cxx_cross
15284 cat > conftest.$ac_ext <<EOF
15285 #line 15286 "configure"
15286 #include "confdefs.h"
15292 if { (eval echo configure:15293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15294 glibcpp_cv_func__atan2l_use=yes
15296 echo "configure: failed program was:" >&5
15297 cat conftest.$ac_ext >&5
15299 glibcpp_cv_func__atan2l_use=no
15303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15307 cross_compiling=$ac_cv_prog_cc_cross
15313 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15315 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15316 for ac_func in _atan2l
15318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15319 echo "configure:15320: checking for $ac_func" >&5
15320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15321 echo $ac_n "(cached) $ac_c" 1>&6
15323 cat > conftest.$ac_ext <<EOF
15324 #line 15325 "configure"
15325 #include "confdefs.h"
15326 /* System header to define __stub macros and hopefully few prototypes,
15327 which can conflict with char $ac_func(); below. */
15328 #include <assert.h>
15329 /* Override any gcc2 internal prototype to avoid an error. */
15330 /* We use char because int might match the return type of a gcc2
15331 builtin and then its argument prototype would still apply. */
15336 /* The GNU C library defines this for functions which it implements
15337 to always fail with ENOSYS. Some functions are actually named
15338 something starting with __ and the normal name is an alias. */
15339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15347 if { (eval echo configure:15348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15349 eval "ac_cv_func_$ac_func=yes"
15351 echo "configure: failed program was:" >&5
15352 cat conftest.$ac_ext >&5
15354 eval "ac_cv_func_$ac_func=no"
15359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15360 echo "$ac_t""yes" 1>&6
15361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15362 cat >> confdefs.h <<EOF
15363 #define $ac_tr_func 1
15367 echo "$ac_t""no" 1>&6
15376 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
15377 echo "configure:15378: checking for expl declaration" >&5
15378 if test x${glibcpp_cv_func_expl_use+set} != xset; then
15379 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
15380 echo $ac_n "(cached) $ac_c" 1>&6
15385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15386 ac_cpp='$CXXCPP $CPPFLAGS'
15387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15389 cross_compiling=$ac_cv_prog_cxx_cross
15391 cat > conftest.$ac_ext <<EOF
15392 #line 15393 "configure"
15393 #include "confdefs.h"
15395 #ifdef HAVE_IEEEFP_H
15396 #include <ieeefp.h>
15403 if { (eval echo configure:15404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15405 glibcpp_cv_func_expl_use=yes
15407 echo "configure: failed program was:" >&5
15408 cat conftest.$ac_ext >&5
15410 glibcpp_cv_func_expl_use=no
15414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15415 ac_cpp='$CPP $CPPFLAGS'
15416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15418 cross_compiling=$ac_cv_prog_cc_cross
15424 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
15426 if test x$glibcpp_cv_func_expl_use = x"yes"; then
15427 for ac_func in expl
15429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15430 echo "configure:15431: checking for $ac_func" >&5
15431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15432 echo $ac_n "(cached) $ac_c" 1>&6
15434 cat > conftest.$ac_ext <<EOF
15435 #line 15436 "configure"
15436 #include "confdefs.h"
15437 /* System header to define __stub macros and hopefully few prototypes,
15438 which can conflict with char $ac_func(); below. */
15439 #include <assert.h>
15440 /* Override any gcc2 internal prototype to avoid an error. */
15441 /* We use char because int might match the return type of a gcc2
15442 builtin and then its argument prototype would still apply. */
15447 /* The GNU C library defines this for functions which it implements
15448 to always fail with ENOSYS. Some functions are actually named
15449 something starting with __ and the normal name is an alias. */
15450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15458 if { (eval echo configure:15459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15460 eval "ac_cv_func_$ac_func=yes"
15462 echo "configure: failed program was:" >&5
15463 cat conftest.$ac_ext >&5
15465 eval "ac_cv_func_$ac_func=no"
15470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15471 echo "$ac_t""yes" 1>&6
15472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15473 cat >> confdefs.h <<EOF
15474 #define $ac_tr_func 1
15478 echo "$ac_t""no" 1>&6
15484 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15485 echo "configure:15486: checking for _expl declaration" >&5
15486 if test x${glibcpp_cv_func__expl_use+set} != xset; then
15487 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15488 echo $ac_n "(cached) $ac_c" 1>&6
15493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15494 ac_cpp='$CXXCPP $CPPFLAGS'
15495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15497 cross_compiling=$ac_cv_prog_cxx_cross
15499 cat > conftest.$ac_ext <<EOF
15500 #line 15501 "configure"
15501 #include "confdefs.h"
15503 #ifdef HAVE_IEEEFP_H
15504 #include <ieeefp.h>
15511 if { (eval echo configure:15512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15513 glibcpp_cv_func__expl_use=yes
15515 echo "configure: failed program was:" >&5
15516 cat conftest.$ac_ext >&5
15518 glibcpp_cv_func__expl_use=no
15522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15523 ac_cpp='$CPP $CPPFLAGS'
15524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15526 cross_compiling=$ac_cv_prog_cc_cross
15532 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15534 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15535 for ac_func in _expl
15537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15538 echo "configure:15539: checking for $ac_func" >&5
15539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15540 echo $ac_n "(cached) $ac_c" 1>&6
15542 cat > conftest.$ac_ext <<EOF
15543 #line 15544 "configure"
15544 #include "confdefs.h"
15545 /* System header to define __stub macros and hopefully few prototypes,
15546 which can conflict with char $ac_func(); below. */
15547 #include <assert.h>
15548 /* Override any gcc2 internal prototype to avoid an error. */
15549 /* We use char because int might match the return type of a gcc2
15550 builtin and then its argument prototype would still apply. */
15555 /* The GNU C library defines this for functions which it implements
15556 to always fail with ENOSYS. Some functions are actually named
15557 something starting with __ and the normal name is an alias. */
15558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15566 if { (eval echo configure:15567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15568 eval "ac_cv_func_$ac_func=yes"
15570 echo "configure: failed program was:" >&5
15571 cat conftest.$ac_ext >&5
15573 eval "ac_cv_func_$ac_func=no"
15578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15579 echo "$ac_t""yes" 1>&6
15580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15581 cat >> confdefs.h <<EOF
15582 #define $ac_tr_func 1
15586 echo "$ac_t""no" 1>&6
15595 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
15596 echo "configure:15597: checking for fabsl declaration" >&5
15597 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
15598 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
15599 echo $ac_n "(cached) $ac_c" 1>&6
15604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15605 ac_cpp='$CXXCPP $CPPFLAGS'
15606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15608 cross_compiling=$ac_cv_prog_cxx_cross
15610 cat > conftest.$ac_ext <<EOF
15611 #line 15612 "configure"
15612 #include "confdefs.h"
15614 #ifdef HAVE_IEEEFP_H
15615 #include <ieeefp.h>
15622 if { (eval echo configure:15623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15624 glibcpp_cv_func_fabsl_use=yes
15626 echo "configure: failed program was:" >&5
15627 cat conftest.$ac_ext >&5
15629 glibcpp_cv_func_fabsl_use=no
15633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15634 ac_cpp='$CPP $CPPFLAGS'
15635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15637 cross_compiling=$ac_cv_prog_cc_cross
15643 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
15645 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
15646 for ac_func in fabsl
15648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15649 echo "configure:15650: checking for $ac_func" >&5
15650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15651 echo $ac_n "(cached) $ac_c" 1>&6
15653 cat > conftest.$ac_ext <<EOF
15654 #line 15655 "configure"
15655 #include "confdefs.h"
15656 /* System header to define __stub macros and hopefully few prototypes,
15657 which can conflict with char $ac_func(); below. */
15658 #include <assert.h>
15659 /* Override any gcc2 internal prototype to avoid an error. */
15660 /* We use char because int might match the return type of a gcc2
15661 builtin and then its argument prototype would still apply. */
15666 /* The GNU C library defines this for functions which it implements
15667 to always fail with ENOSYS. Some functions are actually named
15668 something starting with __ and the normal name is an alias. */
15669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15677 if { (eval echo configure:15678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15679 eval "ac_cv_func_$ac_func=yes"
15681 echo "configure: failed program was:" >&5
15682 cat conftest.$ac_ext >&5
15684 eval "ac_cv_func_$ac_func=no"
15689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15690 echo "$ac_t""yes" 1>&6
15691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15692 cat >> confdefs.h <<EOF
15693 #define $ac_tr_func 1
15697 echo "$ac_t""no" 1>&6
15703 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15704 echo "configure:15705: checking for _fabsl declaration" >&5
15705 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
15706 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15707 echo $ac_n "(cached) $ac_c" 1>&6
15712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15713 ac_cpp='$CXXCPP $CPPFLAGS'
15714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15716 cross_compiling=$ac_cv_prog_cxx_cross
15718 cat > conftest.$ac_ext <<EOF
15719 #line 15720 "configure"
15720 #include "confdefs.h"
15722 #ifdef HAVE_IEEEFP_H
15723 #include <ieeefp.h>
15730 if { (eval echo configure:15731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15732 glibcpp_cv_func__fabsl_use=yes
15734 echo "configure: failed program was:" >&5
15735 cat conftest.$ac_ext >&5
15737 glibcpp_cv_func__fabsl_use=no
15741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15742 ac_cpp='$CPP $CPPFLAGS'
15743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15745 cross_compiling=$ac_cv_prog_cc_cross
15751 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15753 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15754 for ac_func in _fabsl
15756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15757 echo "configure:15758: checking for $ac_func" >&5
15758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15759 echo $ac_n "(cached) $ac_c" 1>&6
15761 cat > conftest.$ac_ext <<EOF
15762 #line 15763 "configure"
15763 #include "confdefs.h"
15764 /* System header to define __stub macros and hopefully few prototypes,
15765 which can conflict with char $ac_func(); below. */
15766 #include <assert.h>
15767 /* Override any gcc2 internal prototype to avoid an error. */
15768 /* We use char because int might match the return type of a gcc2
15769 builtin and then its argument prototype would still apply. */
15774 /* The GNU C library defines this for functions which it implements
15775 to always fail with ENOSYS. Some functions are actually named
15776 something starting with __ and the normal name is an alias. */
15777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15785 if { (eval echo configure:15786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15787 eval "ac_cv_func_$ac_func=yes"
15789 echo "configure: failed program was:" >&5
15790 cat conftest.$ac_ext >&5
15792 eval "ac_cv_func_$ac_func=no"
15797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15798 echo "$ac_t""yes" 1>&6
15799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15800 cat >> confdefs.h <<EOF
15801 #define $ac_tr_func 1
15805 echo "$ac_t""no" 1>&6
15814 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
15815 echo "configure:15816: checking for fmodl declaration" >&5
15816 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
15817 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
15818 echo $ac_n "(cached) $ac_c" 1>&6
15823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15824 ac_cpp='$CXXCPP $CPPFLAGS'
15825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15827 cross_compiling=$ac_cv_prog_cxx_cross
15829 cat > conftest.$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15837 if { (eval echo configure:15838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15839 glibcpp_cv_func_fmodl_use=yes
15841 echo "configure: failed program was:" >&5
15842 cat conftest.$ac_ext >&5
15844 glibcpp_cv_func_fmodl_use=no
15848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15849 ac_cpp='$CPP $CPPFLAGS'
15850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15852 cross_compiling=$ac_cv_prog_cc_cross
15858 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
15860 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
15861 for ac_func in fmodl
15863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15864 echo "configure:15865: checking for $ac_func" >&5
15865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15866 echo $ac_n "(cached) $ac_c" 1>&6
15868 cat > conftest.$ac_ext <<EOF
15869 #line 15870 "configure"
15870 #include "confdefs.h"
15871 /* System header to define __stub macros and hopefully few prototypes,
15872 which can conflict with char $ac_func(); below. */
15873 #include <assert.h>
15874 /* Override any gcc2 internal prototype to avoid an error. */
15875 /* We use char because int might match the return type of a gcc2
15876 builtin and then its argument prototype would still apply. */
15881 /* The GNU C library defines this for functions which it implements
15882 to always fail with ENOSYS. Some functions are actually named
15883 something starting with __ and the normal name is an alias. */
15884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15892 if { (eval echo configure:15893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15894 eval "ac_cv_func_$ac_func=yes"
15896 echo "configure: failed program was:" >&5
15897 cat conftest.$ac_ext >&5
15899 eval "ac_cv_func_$ac_func=no"
15904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15905 echo "$ac_t""yes" 1>&6
15906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15907 cat >> confdefs.h <<EOF
15908 #define $ac_tr_func 1
15912 echo "$ac_t""no" 1>&6
15918 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15919 echo "configure:15920: checking for _fmodl declaration" >&5
15920 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
15921 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15922 echo $ac_n "(cached) $ac_c" 1>&6
15927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15928 ac_cpp='$CXXCPP $CPPFLAGS'
15929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15931 cross_compiling=$ac_cv_prog_cxx_cross
15933 cat > conftest.$ac_ext <<EOF
15934 #line 15935 "configure"
15935 #include "confdefs.h"
15941 if { (eval echo configure:15942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15943 glibcpp_cv_func__fmodl_use=yes
15945 echo "configure: failed program was:" >&5
15946 cat conftest.$ac_ext >&5
15948 glibcpp_cv_func__fmodl_use=no
15952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15953 ac_cpp='$CPP $CPPFLAGS'
15954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15956 cross_compiling=$ac_cv_prog_cc_cross
15962 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15964 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15965 for ac_func in _fmodl
15967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15968 echo "configure:15969: checking for $ac_func" >&5
15969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15970 echo $ac_n "(cached) $ac_c" 1>&6
15972 cat > conftest.$ac_ext <<EOF
15973 #line 15974 "configure"
15974 #include "confdefs.h"
15975 /* System header to define __stub macros and hopefully few prototypes,
15976 which can conflict with char $ac_func(); below. */
15977 #include <assert.h>
15978 /* Override any gcc2 internal prototype to avoid an error. */
15979 /* We use char because int might match the return type of a gcc2
15980 builtin and then its argument prototype would still apply. */
15985 /* The GNU C library defines this for functions which it implements
15986 to always fail with ENOSYS. Some functions are actually named
15987 something starting with __ and the normal name is an alias. */
15988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15996 if { (eval echo configure:15997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15998 eval "ac_cv_func_$ac_func=yes"
16000 echo "configure: failed program was:" >&5
16001 cat conftest.$ac_ext >&5
16003 eval "ac_cv_func_$ac_func=no"
16008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16009 echo "$ac_t""yes" 1>&6
16010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16011 cat >> confdefs.h <<EOF
16012 #define $ac_tr_func 1
16016 echo "$ac_t""no" 1>&6
16025 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
16026 echo "configure:16027: checking for frexpl declaration" >&5
16027 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16028 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16029 echo $ac_n "(cached) $ac_c" 1>&6
16034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16035 ac_cpp='$CXXCPP $CPPFLAGS'
16036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16038 cross_compiling=$ac_cv_prog_cxx_cross
16040 cat > conftest.$ac_ext <<EOF
16041 #line 16042 "configure"
16042 #include "confdefs.h"
16048 if { (eval echo configure:16049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16050 glibcpp_cv_func_frexpl_use=yes
16052 echo "configure: failed program was:" >&5
16053 cat conftest.$ac_ext >&5
16055 glibcpp_cv_func_frexpl_use=no
16059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16060 ac_cpp='$CPP $CPPFLAGS'
16061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16063 cross_compiling=$ac_cv_prog_cc_cross
16069 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16071 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16072 for ac_func in frexpl
16074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16075 echo "configure:16076: checking for $ac_func" >&5
16076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16077 echo $ac_n "(cached) $ac_c" 1>&6
16079 cat > conftest.$ac_ext <<EOF
16080 #line 16081 "configure"
16081 #include "confdefs.h"
16082 /* System header to define __stub macros and hopefully few prototypes,
16083 which can conflict with char $ac_func(); below. */
16084 #include <assert.h>
16085 /* Override any gcc2 internal prototype to avoid an error. */
16086 /* We use char because int might match the return type of a gcc2
16087 builtin and then its argument prototype would still apply. */
16092 /* The GNU C library defines this for functions which it implements
16093 to always fail with ENOSYS. Some functions are actually named
16094 something starting with __ and the normal name is an alias. */
16095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16103 if { (eval echo configure:16104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16105 eval "ac_cv_func_$ac_func=yes"
16107 echo "configure: failed program was:" >&5
16108 cat conftest.$ac_ext >&5
16110 eval "ac_cv_func_$ac_func=no"
16115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16116 echo "$ac_t""yes" 1>&6
16117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16118 cat >> confdefs.h <<EOF
16119 #define $ac_tr_func 1
16123 echo "$ac_t""no" 1>&6
16129 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16130 echo "configure:16131: checking for _frexpl declaration" >&5
16131 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16132 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16133 echo $ac_n "(cached) $ac_c" 1>&6
16138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16139 ac_cpp='$CXXCPP $CPPFLAGS'
16140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16142 cross_compiling=$ac_cv_prog_cxx_cross
16144 cat > conftest.$ac_ext <<EOF
16145 #line 16146 "configure"
16146 #include "confdefs.h"
16152 if { (eval echo configure:16153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16154 glibcpp_cv_func__frexpl_use=yes
16156 echo "configure: failed program was:" >&5
16157 cat conftest.$ac_ext >&5
16159 glibcpp_cv_func__frexpl_use=no
16163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16167 cross_compiling=$ac_cv_prog_cc_cross
16173 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
16175 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
16176 for ac_func in _frexpl
16178 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16179 echo "configure:16180: checking for $ac_func" >&5
16180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16181 echo $ac_n "(cached) $ac_c" 1>&6
16183 cat > conftest.$ac_ext <<EOF
16184 #line 16185 "configure"
16185 #include "confdefs.h"
16186 /* System header to define __stub macros and hopefully few prototypes,
16187 which can conflict with char $ac_func(); below. */
16188 #include <assert.h>
16189 /* Override any gcc2 internal prototype to avoid an error. */
16190 /* We use char because int might match the return type of a gcc2
16191 builtin and then its argument prototype would still apply. */
16196 /* The GNU C library defines this for functions which it implements
16197 to always fail with ENOSYS. Some functions are actually named
16198 something starting with __ and the normal name is an alias. */
16199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16207 if { (eval echo configure:16208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16209 eval "ac_cv_func_$ac_func=yes"
16211 echo "configure: failed program was:" >&5
16212 cat conftest.$ac_ext >&5
16214 eval "ac_cv_func_$ac_func=no"
16219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16220 echo "$ac_t""yes" 1>&6
16221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16222 cat >> confdefs.h <<EOF
16223 #define $ac_tr_func 1
16227 echo "$ac_t""no" 1>&6
16236 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
16237 echo "configure:16238: checking for hypotl declaration" >&5
16238 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
16239 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
16240 echo $ac_n "(cached) $ac_c" 1>&6
16245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16246 ac_cpp='$CXXCPP $CPPFLAGS'
16247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16249 cross_compiling=$ac_cv_prog_cxx_cross
16251 cat > conftest.$ac_ext <<EOF
16252 #line 16253 "configure"
16253 #include "confdefs.h"
16259 if { (eval echo configure:16260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16261 glibcpp_cv_func_hypotl_use=yes
16263 echo "configure: failed program was:" >&5
16264 cat conftest.$ac_ext >&5
16266 glibcpp_cv_func_hypotl_use=no
16270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16271 ac_cpp='$CPP $CPPFLAGS'
16272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16274 cross_compiling=$ac_cv_prog_cc_cross
16280 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
16282 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
16283 for ac_func in hypotl
16285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16286 echo "configure:16287: checking for $ac_func" >&5
16287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16288 echo $ac_n "(cached) $ac_c" 1>&6
16290 cat > conftest.$ac_ext <<EOF
16291 #line 16292 "configure"
16292 #include "confdefs.h"
16293 /* System header to define __stub macros and hopefully few prototypes,
16294 which can conflict with char $ac_func(); below. */
16295 #include <assert.h>
16296 /* Override any gcc2 internal prototype to avoid an error. */
16297 /* We use char because int might match the return type of a gcc2
16298 builtin and then its argument prototype would still apply. */
16303 /* The GNU C library defines this for functions which it implements
16304 to always fail with ENOSYS. Some functions are actually named
16305 something starting with __ and the normal name is an alias. */
16306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16314 if { (eval echo configure:16315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16316 eval "ac_cv_func_$ac_func=yes"
16318 echo "configure: failed program was:" >&5
16319 cat conftest.$ac_ext >&5
16321 eval "ac_cv_func_$ac_func=no"
16326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16327 echo "$ac_t""yes" 1>&6
16328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16329 cat >> confdefs.h <<EOF
16330 #define $ac_tr_func 1
16334 echo "$ac_t""no" 1>&6
16340 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
16341 echo "configure:16342: checking for _hypotl declaration" >&5
16342 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
16343 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
16344 echo $ac_n "(cached) $ac_c" 1>&6
16349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16350 ac_cpp='$CXXCPP $CPPFLAGS'
16351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16353 cross_compiling=$ac_cv_prog_cxx_cross
16355 cat > conftest.$ac_ext <<EOF
16356 #line 16357 "configure"
16357 #include "confdefs.h"
16363 if { (eval echo configure:16364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16365 glibcpp_cv_func__hypotl_use=yes
16367 echo "configure: failed program was:" >&5
16368 cat conftest.$ac_ext >&5
16370 glibcpp_cv_func__hypotl_use=no
16374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16375 ac_cpp='$CPP $CPPFLAGS'
16376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16378 cross_compiling=$ac_cv_prog_cc_cross
16384 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
16386 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
16387 for ac_func in _hypotl
16389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16390 echo "configure:16391: checking for $ac_func" >&5
16391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16392 echo $ac_n "(cached) $ac_c" 1>&6
16394 cat > conftest.$ac_ext <<EOF
16395 #line 16396 "configure"
16396 #include "confdefs.h"
16397 /* System header to define __stub macros and hopefully few prototypes,
16398 which can conflict with char $ac_func(); below. */
16399 #include <assert.h>
16400 /* Override any gcc2 internal prototype to avoid an error. */
16401 /* We use char because int might match the return type of a gcc2
16402 builtin and then its argument prototype would still apply. */
16407 /* The GNU C library defines this for functions which it implements
16408 to always fail with ENOSYS. Some functions are actually named
16409 something starting with __ and the normal name is an alias. */
16410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16418 if { (eval echo configure:16419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16420 eval "ac_cv_func_$ac_func=yes"
16422 echo "configure: failed program was:" >&5
16423 cat conftest.$ac_ext >&5
16425 eval "ac_cv_func_$ac_func=no"
16430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16431 echo "$ac_t""yes" 1>&6
16432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16433 cat >> confdefs.h <<EOF
16434 #define $ac_tr_func 1
16438 echo "$ac_t""no" 1>&6
16447 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
16448 echo "configure:16449: checking for ldexpl declaration" >&5
16449 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
16450 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
16451 echo $ac_n "(cached) $ac_c" 1>&6
16456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16457 ac_cpp='$CXXCPP $CPPFLAGS'
16458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16460 cross_compiling=$ac_cv_prog_cxx_cross
16462 cat > conftest.$ac_ext <<EOF
16463 #line 16464 "configure"
16464 #include "confdefs.h"
16470 if { (eval echo configure:16471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16472 glibcpp_cv_func_ldexpl_use=yes
16474 echo "configure: failed program was:" >&5
16475 cat conftest.$ac_ext >&5
16477 glibcpp_cv_func_ldexpl_use=no
16481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16485 cross_compiling=$ac_cv_prog_cc_cross
16491 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
16493 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
16494 for ac_func in ldexpl
16496 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16497 echo "configure:16498: checking for $ac_func" >&5
16498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16499 echo $ac_n "(cached) $ac_c" 1>&6
16501 cat > conftest.$ac_ext <<EOF
16502 #line 16503 "configure"
16503 #include "confdefs.h"
16504 /* System header to define __stub macros and hopefully few prototypes,
16505 which can conflict with char $ac_func(); below. */
16506 #include <assert.h>
16507 /* Override any gcc2 internal prototype to avoid an error. */
16508 /* We use char because int might match the return type of a gcc2
16509 builtin and then its argument prototype would still apply. */
16514 /* The GNU C library defines this for functions which it implements
16515 to always fail with ENOSYS. Some functions are actually named
16516 something starting with __ and the normal name is an alias. */
16517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16525 if { (eval echo configure:16526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16527 eval "ac_cv_func_$ac_func=yes"
16529 echo "configure: failed program was:" >&5
16530 cat conftest.$ac_ext >&5
16532 eval "ac_cv_func_$ac_func=no"
16537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16538 echo "$ac_t""yes" 1>&6
16539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16540 cat >> confdefs.h <<EOF
16541 #define $ac_tr_func 1
16545 echo "$ac_t""no" 1>&6
16551 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
16552 echo "configure:16553: checking for _ldexpl declaration" >&5
16553 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
16554 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
16555 echo $ac_n "(cached) $ac_c" 1>&6
16560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16561 ac_cpp='$CXXCPP $CPPFLAGS'
16562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16564 cross_compiling=$ac_cv_prog_cxx_cross
16566 cat > conftest.$ac_ext <<EOF
16567 #line 16568 "configure"
16568 #include "confdefs.h"
16574 if { (eval echo configure:16575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16576 glibcpp_cv_func__ldexpl_use=yes
16578 echo "configure: failed program was:" >&5
16579 cat conftest.$ac_ext >&5
16581 glibcpp_cv_func__ldexpl_use=no
16585 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16586 ac_cpp='$CPP $CPPFLAGS'
16587 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16588 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16589 cross_compiling=$ac_cv_prog_cc_cross
16595 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
16597 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
16598 for ac_func in _ldexpl
16600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16601 echo "configure:16602: checking for $ac_func" >&5
16602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16603 echo $ac_n "(cached) $ac_c" 1>&6
16605 cat > conftest.$ac_ext <<EOF
16606 #line 16607 "configure"
16607 #include "confdefs.h"
16608 /* System header to define __stub macros and hopefully few prototypes,
16609 which can conflict with char $ac_func(); below. */
16610 #include <assert.h>
16611 /* Override any gcc2 internal prototype to avoid an error. */
16612 /* We use char because int might match the return type of a gcc2
16613 builtin and then its argument prototype would still apply. */
16618 /* The GNU C library defines this for functions which it implements
16619 to always fail with ENOSYS. Some functions are actually named
16620 something starting with __ and the normal name is an alias. */
16621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16629 if { (eval echo configure:16630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16631 eval "ac_cv_func_$ac_func=yes"
16633 echo "configure: failed program was:" >&5
16634 cat conftest.$ac_ext >&5
16636 eval "ac_cv_func_$ac_func=no"
16641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16642 echo "$ac_t""yes" 1>&6
16643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16644 cat >> confdefs.h <<EOF
16645 #define $ac_tr_func 1
16649 echo "$ac_t""no" 1>&6
16658 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
16659 echo "configure:16660: checking for logl declaration" >&5
16660 if test x${glibcpp_cv_func_logl_use+set} != xset; then
16661 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
16662 echo $ac_n "(cached) $ac_c" 1>&6
16667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16668 ac_cpp='$CXXCPP $CPPFLAGS'
16669 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16670 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16671 cross_compiling=$ac_cv_prog_cxx_cross
16673 cat > conftest.$ac_ext <<EOF
16674 #line 16675 "configure"
16675 #include "confdefs.h"
16677 #ifdef HAVE_IEEEFP_H
16678 #include <ieeefp.h>
16685 if { (eval echo configure:16686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16687 glibcpp_cv_func_logl_use=yes
16689 echo "configure: failed program was:" >&5
16690 cat conftest.$ac_ext >&5
16692 glibcpp_cv_func_logl_use=no
16696 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16699 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16700 cross_compiling=$ac_cv_prog_cc_cross
16706 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
16708 if test x$glibcpp_cv_func_logl_use = x"yes"; then
16709 for ac_func in logl
16711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16712 echo "configure:16713: checking for $ac_func" >&5
16713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16714 echo $ac_n "(cached) $ac_c" 1>&6
16716 cat > conftest.$ac_ext <<EOF
16717 #line 16718 "configure"
16718 #include "confdefs.h"
16719 /* System header to define __stub macros and hopefully few prototypes,
16720 which can conflict with char $ac_func(); below. */
16721 #include <assert.h>
16722 /* Override any gcc2 internal prototype to avoid an error. */
16723 /* We use char because int might match the return type of a gcc2
16724 builtin and then its argument prototype would still apply. */
16729 /* The GNU C library defines this for functions which it implements
16730 to always fail with ENOSYS. Some functions are actually named
16731 something starting with __ and the normal name is an alias. */
16732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16740 if { (eval echo configure:16741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16742 eval "ac_cv_func_$ac_func=yes"
16744 echo "configure: failed program was:" >&5
16745 cat conftest.$ac_ext >&5
16747 eval "ac_cv_func_$ac_func=no"
16752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16753 echo "$ac_t""yes" 1>&6
16754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16755 cat >> confdefs.h <<EOF
16756 #define $ac_tr_func 1
16760 echo "$ac_t""no" 1>&6
16766 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
16767 echo "configure:16768: checking for _logl declaration" >&5
16768 if test x${glibcpp_cv_func__logl_use+set} != xset; then
16769 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
16770 echo $ac_n "(cached) $ac_c" 1>&6
16775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16776 ac_cpp='$CXXCPP $CPPFLAGS'
16777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16779 cross_compiling=$ac_cv_prog_cxx_cross
16781 cat > conftest.$ac_ext <<EOF
16782 #line 16783 "configure"
16783 #include "confdefs.h"
16785 #ifdef HAVE_IEEEFP_H
16786 #include <ieeefp.h>
16793 if { (eval echo configure:16794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16795 glibcpp_cv_func__logl_use=yes
16797 echo "configure: failed program was:" >&5
16798 cat conftest.$ac_ext >&5
16800 glibcpp_cv_func__logl_use=no
16804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16805 ac_cpp='$CPP $CPPFLAGS'
16806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16808 cross_compiling=$ac_cv_prog_cc_cross
16814 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16816 if test x$glibcpp_cv_func__logl_use = x"yes"; then
16817 for ac_func in _logl
16819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16820 echo "configure:16821: checking for $ac_func" >&5
16821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16822 echo $ac_n "(cached) $ac_c" 1>&6
16824 cat > conftest.$ac_ext <<EOF
16825 #line 16826 "configure"
16826 #include "confdefs.h"
16827 /* System header to define __stub macros and hopefully few prototypes,
16828 which can conflict with char $ac_func(); below. */
16829 #include <assert.h>
16830 /* Override any gcc2 internal prototype to avoid an error. */
16831 /* We use char because int might match the return type of a gcc2
16832 builtin and then its argument prototype would still apply. */
16837 /* The GNU C library defines this for functions which it implements
16838 to always fail with ENOSYS. Some functions are actually named
16839 something starting with __ and the normal name is an alias. */
16840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16848 if { (eval echo configure:16849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16850 eval "ac_cv_func_$ac_func=yes"
16852 echo "configure: failed program was:" >&5
16853 cat conftest.$ac_ext >&5
16855 eval "ac_cv_func_$ac_func=no"
16860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16861 echo "$ac_t""yes" 1>&6
16862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16863 cat >> confdefs.h <<EOF
16864 #define $ac_tr_func 1
16868 echo "$ac_t""no" 1>&6
16877 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
16878 echo "configure:16879: checking for log10l declaration" >&5
16879 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
16880 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
16881 echo $ac_n "(cached) $ac_c" 1>&6
16886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16887 ac_cpp='$CXXCPP $CPPFLAGS'
16888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16890 cross_compiling=$ac_cv_prog_cxx_cross
16892 cat > conftest.$ac_ext <<EOF
16893 #line 16894 "configure"
16894 #include "confdefs.h"
16896 #ifdef HAVE_IEEEFP_H
16897 #include <ieeefp.h>
16904 if { (eval echo configure:16905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16906 glibcpp_cv_func_log10l_use=yes
16908 echo "configure: failed program was:" >&5
16909 cat conftest.$ac_ext >&5
16911 glibcpp_cv_func_log10l_use=no
16915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16916 ac_cpp='$CPP $CPPFLAGS'
16917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16919 cross_compiling=$ac_cv_prog_cc_cross
16925 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
16927 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
16928 for ac_func in log10l
16930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16931 echo "configure:16932: checking for $ac_func" >&5
16932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16933 echo $ac_n "(cached) $ac_c" 1>&6
16935 cat > conftest.$ac_ext <<EOF
16936 #line 16937 "configure"
16937 #include "confdefs.h"
16938 /* System header to define __stub macros and hopefully few prototypes,
16939 which can conflict with char $ac_func(); below. */
16940 #include <assert.h>
16941 /* Override any gcc2 internal prototype to avoid an error. */
16942 /* We use char because int might match the return type of a gcc2
16943 builtin and then its argument prototype would still apply. */
16948 /* The GNU C library defines this for functions which it implements
16949 to always fail with ENOSYS. Some functions are actually named
16950 something starting with __ and the normal name is an alias. */
16951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16959 if { (eval echo configure:16960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16961 eval "ac_cv_func_$ac_func=yes"
16963 echo "configure: failed program was:" >&5
16964 cat conftest.$ac_ext >&5
16966 eval "ac_cv_func_$ac_func=no"
16971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16972 echo "$ac_t""yes" 1>&6
16973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16974 cat >> confdefs.h <<EOF
16975 #define $ac_tr_func 1
16979 echo "$ac_t""no" 1>&6
16985 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16986 echo "configure:16987: checking for _log10l declaration" >&5
16987 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16988 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16989 echo $ac_n "(cached) $ac_c" 1>&6
16994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16995 ac_cpp='$CXXCPP $CPPFLAGS'
16996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16998 cross_compiling=$ac_cv_prog_cxx_cross
17000 cat > conftest.$ac_ext <<EOF
17001 #line 17002 "configure"
17002 #include "confdefs.h"
17004 #ifdef HAVE_IEEEFP_H
17005 #include <ieeefp.h>
17012 if { (eval echo configure:17013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17014 glibcpp_cv_func__log10l_use=yes
17016 echo "configure: failed program was:" >&5
17017 cat conftest.$ac_ext >&5
17019 glibcpp_cv_func__log10l_use=no
17023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17027 cross_compiling=$ac_cv_prog_cc_cross
17033 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17035 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17036 for ac_func in _log10l
17038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17039 echo "configure:17040: checking for $ac_func" >&5
17040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17041 echo $ac_n "(cached) $ac_c" 1>&6
17043 cat > conftest.$ac_ext <<EOF
17044 #line 17045 "configure"
17045 #include "confdefs.h"
17046 /* System header to define __stub macros and hopefully few prototypes,
17047 which can conflict with char $ac_func(); below. */
17048 #include <assert.h>
17049 /* Override any gcc2 internal prototype to avoid an error. */
17050 /* We use char because int might match the return type of a gcc2
17051 builtin and then its argument prototype would still apply. */
17056 /* The GNU C library defines this for functions which it implements
17057 to always fail with ENOSYS. Some functions are actually named
17058 something starting with __ and the normal name is an alias. */
17059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17067 if { (eval echo configure:17068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17069 eval "ac_cv_func_$ac_func=yes"
17071 echo "configure: failed program was:" >&5
17072 cat conftest.$ac_ext >&5
17074 eval "ac_cv_func_$ac_func=no"
17079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17080 echo "$ac_t""yes" 1>&6
17081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17082 cat >> confdefs.h <<EOF
17083 #define $ac_tr_func 1
17087 echo "$ac_t""no" 1>&6
17096 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17097 echo "configure:17098: checking for modfl declaration" >&5
17098 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17099 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17100 echo $ac_n "(cached) $ac_c" 1>&6
17105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17106 ac_cpp='$CXXCPP $CPPFLAGS'
17107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17109 cross_compiling=$ac_cv_prog_cxx_cross
17111 cat > conftest.$ac_ext <<EOF
17112 #line 17113 "configure"
17113 #include "confdefs.h"
17119 if { (eval echo configure:17120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17121 glibcpp_cv_func_modfl_use=yes
17123 echo "configure: failed program was:" >&5
17124 cat conftest.$ac_ext >&5
17126 glibcpp_cv_func_modfl_use=no
17130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17134 cross_compiling=$ac_cv_prog_cc_cross
17140 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17142 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17143 for ac_func in modfl
17145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17146 echo "configure:17147: checking for $ac_func" >&5
17147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17148 echo $ac_n "(cached) $ac_c" 1>&6
17150 cat > conftest.$ac_ext <<EOF
17151 #line 17152 "configure"
17152 #include "confdefs.h"
17153 /* System header to define __stub macros and hopefully few prototypes,
17154 which can conflict with char $ac_func(); below. */
17155 #include <assert.h>
17156 /* Override any gcc2 internal prototype to avoid an error. */
17157 /* We use char because int might match the return type of a gcc2
17158 builtin and then its argument prototype would still apply. */
17163 /* The GNU C library defines this for functions which it implements
17164 to always fail with ENOSYS. Some functions are actually named
17165 something starting with __ and the normal name is an alias. */
17166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17174 if { (eval echo configure:17175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17176 eval "ac_cv_func_$ac_func=yes"
17178 echo "configure: failed program was:" >&5
17179 cat conftest.$ac_ext >&5
17181 eval "ac_cv_func_$ac_func=no"
17186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17187 echo "$ac_t""yes" 1>&6
17188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17189 cat >> confdefs.h <<EOF
17190 #define $ac_tr_func 1
17194 echo "$ac_t""no" 1>&6
17200 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
17201 echo "configure:17202: checking for _modfl declaration" >&5
17202 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
17203 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
17204 echo $ac_n "(cached) $ac_c" 1>&6
17209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17210 ac_cpp='$CXXCPP $CPPFLAGS'
17211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17213 cross_compiling=$ac_cv_prog_cxx_cross
17215 cat > conftest.$ac_ext <<EOF
17216 #line 17217 "configure"
17217 #include "confdefs.h"
17223 if { (eval echo configure:17224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17225 glibcpp_cv_func__modfl_use=yes
17227 echo "configure: failed program was:" >&5
17228 cat conftest.$ac_ext >&5
17230 glibcpp_cv_func__modfl_use=no
17234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17238 cross_compiling=$ac_cv_prog_cc_cross
17244 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
17246 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
17247 for ac_func in _modfl
17249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17250 echo "configure:17251: checking for $ac_func" >&5
17251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17252 echo $ac_n "(cached) $ac_c" 1>&6
17254 cat > conftest.$ac_ext <<EOF
17255 #line 17256 "configure"
17256 #include "confdefs.h"
17257 /* System header to define __stub macros and hopefully few prototypes,
17258 which can conflict with char $ac_func(); below. */
17259 #include <assert.h>
17260 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17267 /* The GNU C library defines this for functions which it implements
17268 to always fail with ENOSYS. Some functions are actually named
17269 something starting with __ and the normal name is an alias. */
17270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17278 if { (eval echo configure:17279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17280 eval "ac_cv_func_$ac_func=yes"
17282 echo "configure: failed program was:" >&5
17283 cat conftest.$ac_ext >&5
17285 eval "ac_cv_func_$ac_func=no"
17290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17291 echo "$ac_t""yes" 1>&6
17292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17293 cat >> confdefs.h <<EOF
17294 #define $ac_tr_func 1
17298 echo "$ac_t""no" 1>&6
17307 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
17308 echo "configure:17309: checking for powl declaration" >&5
17309 if test x${glibcpp_cv_func_powl_use+set} != xset; then
17310 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
17311 echo $ac_n "(cached) $ac_c" 1>&6
17316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17317 ac_cpp='$CXXCPP $CPPFLAGS'
17318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17320 cross_compiling=$ac_cv_prog_cxx_cross
17322 cat > conftest.$ac_ext <<EOF
17323 #line 17324 "configure"
17324 #include "confdefs.h"
17330 if { (eval echo configure:17331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17332 glibcpp_cv_func_powl_use=yes
17334 echo "configure: failed program was:" >&5
17335 cat conftest.$ac_ext >&5
17337 glibcpp_cv_func_powl_use=no
17341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17342 ac_cpp='$CPP $CPPFLAGS'
17343 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17344 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17345 cross_compiling=$ac_cv_prog_cc_cross
17351 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
17353 if test x$glibcpp_cv_func_powl_use = x"yes"; then
17354 for ac_func in powl
17356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17357 echo "configure:17358: checking for $ac_func" >&5
17358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17359 echo $ac_n "(cached) $ac_c" 1>&6
17361 cat > conftest.$ac_ext <<EOF
17362 #line 17363 "configure"
17363 #include "confdefs.h"
17364 /* System header to define __stub macros and hopefully few prototypes,
17365 which can conflict with char $ac_func(); below. */
17366 #include <assert.h>
17367 /* Override any gcc2 internal prototype to avoid an error. */
17368 /* We use char because int might match the return type of a gcc2
17369 builtin and then its argument prototype would still apply. */
17374 /* The GNU C library defines this for functions which it implements
17375 to always fail with ENOSYS. Some functions are actually named
17376 something starting with __ and the normal name is an alias. */
17377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17385 if { (eval echo configure:17386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17387 eval "ac_cv_func_$ac_func=yes"
17389 echo "configure: failed program was:" >&5
17390 cat conftest.$ac_ext >&5
17392 eval "ac_cv_func_$ac_func=no"
17397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17398 echo "$ac_t""yes" 1>&6
17399 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17400 cat >> confdefs.h <<EOF
17401 #define $ac_tr_func 1
17405 echo "$ac_t""no" 1>&6
17411 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
17412 echo "configure:17413: checking for _powl declaration" >&5
17413 if test x${glibcpp_cv_func__powl_use+set} != xset; then
17414 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
17415 echo $ac_n "(cached) $ac_c" 1>&6
17420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17421 ac_cpp='$CXXCPP $CPPFLAGS'
17422 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17423 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17424 cross_compiling=$ac_cv_prog_cxx_cross
17426 cat > conftest.$ac_ext <<EOF
17427 #line 17428 "configure"
17428 #include "confdefs.h"
17434 if { (eval echo configure:17435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17436 glibcpp_cv_func__powl_use=yes
17438 echo "configure: failed program was:" >&5
17439 cat conftest.$ac_ext >&5
17441 glibcpp_cv_func__powl_use=no
17445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17446 ac_cpp='$CPP $CPPFLAGS'
17447 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17448 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17449 cross_compiling=$ac_cv_prog_cc_cross
17455 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
17457 if test x$glibcpp_cv_func__powl_use = x"yes"; then
17458 for ac_func in _powl
17460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17461 echo "configure:17462: checking for $ac_func" >&5
17462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17463 echo $ac_n "(cached) $ac_c" 1>&6
17465 cat > conftest.$ac_ext <<EOF
17466 #line 17467 "configure"
17467 #include "confdefs.h"
17468 /* System header to define __stub macros and hopefully few prototypes,
17469 which can conflict with char $ac_func(); below. */
17470 #include <assert.h>
17471 /* Override any gcc2 internal prototype to avoid an error. */
17472 /* We use char because int might match the return type of a gcc2
17473 builtin and then its argument prototype would still apply. */
17478 /* The GNU C library defines this for functions which it implements
17479 to always fail with ENOSYS. Some functions are actually named
17480 something starting with __ and the normal name is an alias. */
17481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17489 if { (eval echo configure:17490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17491 eval "ac_cv_func_$ac_func=yes"
17493 echo "configure: failed program was:" >&5
17494 cat conftest.$ac_ext >&5
17496 eval "ac_cv_func_$ac_func=no"
17501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17502 echo "$ac_t""yes" 1>&6
17503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17504 cat >> confdefs.h <<EOF
17505 #define $ac_tr_func 1
17509 echo "$ac_t""no" 1>&6
17518 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
17519 echo "configure:17520: checking for sqrtl declaration" >&5
17520 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
17521 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
17522 echo $ac_n "(cached) $ac_c" 1>&6
17527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17528 ac_cpp='$CXXCPP $CPPFLAGS'
17529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17531 cross_compiling=$ac_cv_prog_cxx_cross
17533 cat > conftest.$ac_ext <<EOF
17534 #line 17535 "configure"
17535 #include "confdefs.h"
17537 #ifdef HAVE_IEEEFP_H
17538 #include <ieeefp.h>
17545 if { (eval echo configure:17546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17547 glibcpp_cv_func_sqrtl_use=yes
17549 echo "configure: failed program was:" >&5
17550 cat conftest.$ac_ext >&5
17552 glibcpp_cv_func_sqrtl_use=no
17556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17557 ac_cpp='$CPP $CPPFLAGS'
17558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17560 cross_compiling=$ac_cv_prog_cc_cross
17566 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
17568 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
17569 for ac_func in sqrtl
17571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17572 echo "configure:17573: checking for $ac_func" >&5
17573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17574 echo $ac_n "(cached) $ac_c" 1>&6
17576 cat > conftest.$ac_ext <<EOF
17577 #line 17578 "configure"
17578 #include "confdefs.h"
17579 /* System header to define __stub macros and hopefully few prototypes,
17580 which can conflict with char $ac_func(); below. */
17581 #include <assert.h>
17582 /* Override any gcc2 internal prototype to avoid an error. */
17583 /* We use char because int might match the return type of a gcc2
17584 builtin and then its argument prototype would still apply. */
17589 /* The GNU C library defines this for functions which it implements
17590 to always fail with ENOSYS. Some functions are actually named
17591 something starting with __ and the normal name is an alias. */
17592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17600 if { (eval echo configure:17601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17602 eval "ac_cv_func_$ac_func=yes"
17604 echo "configure: failed program was:" >&5
17605 cat conftest.$ac_ext >&5
17607 eval "ac_cv_func_$ac_func=no"
17612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17613 echo "$ac_t""yes" 1>&6
17614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17615 cat >> confdefs.h <<EOF
17616 #define $ac_tr_func 1
17620 echo "$ac_t""no" 1>&6
17626 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
17627 echo "configure:17628: checking for _sqrtl declaration" >&5
17628 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
17629 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
17630 echo $ac_n "(cached) $ac_c" 1>&6
17635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17639 cross_compiling=$ac_cv_prog_cxx_cross
17641 cat > conftest.$ac_ext <<EOF
17642 #line 17643 "configure"
17643 #include "confdefs.h"
17645 #ifdef HAVE_IEEEFP_H
17646 #include <ieeefp.h>
17653 if { (eval echo configure:17654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17655 glibcpp_cv_func__sqrtl_use=yes
17657 echo "configure: failed program was:" >&5
17658 cat conftest.$ac_ext >&5
17660 glibcpp_cv_func__sqrtl_use=no
17664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17668 cross_compiling=$ac_cv_prog_cc_cross
17674 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
17676 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
17677 for ac_func in _sqrtl
17679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17680 echo "configure:17681: checking for $ac_func" >&5
17681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17682 echo $ac_n "(cached) $ac_c" 1>&6
17684 cat > conftest.$ac_ext <<EOF
17685 #line 17686 "configure"
17686 #include "confdefs.h"
17687 /* System header to define __stub macros and hopefully few prototypes,
17688 which can conflict with char $ac_func(); below. */
17689 #include <assert.h>
17690 /* Override any gcc2 internal prototype to avoid an error. */
17691 /* We use char because int might match the return type of a gcc2
17692 builtin and then its argument prototype would still apply. */
17697 /* The GNU C library defines this for functions which it implements
17698 to always fail with ENOSYS. Some functions are actually named
17699 something starting with __ and the normal name is an alias. */
17700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17708 if { (eval echo configure:17709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17710 eval "ac_cv_func_$ac_func=yes"
17712 echo "configure: failed program was:" >&5
17713 cat conftest.$ac_ext >&5
17715 eval "ac_cv_func_$ac_func=no"
17720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17721 echo "$ac_t""yes" 1>&6
17722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17723 cat >> confdefs.h <<EOF
17724 #define $ac_tr_func 1
17728 echo "$ac_t""no" 1>&6
17737 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
17738 echo "configure:17739: checking for sincosl declaration" >&5
17739 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
17740 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
17741 echo $ac_n "(cached) $ac_c" 1>&6
17746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17747 ac_cpp='$CXXCPP $CPPFLAGS'
17748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17750 cross_compiling=$ac_cv_prog_cxx_cross
17752 cat > conftest.$ac_ext <<EOF
17753 #line 17754 "configure"
17754 #include "confdefs.h"
17760 if { (eval echo configure:17761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17762 glibcpp_cv_func_sincosl_use=yes
17764 echo "configure: failed program was:" >&5
17765 cat conftest.$ac_ext >&5
17767 glibcpp_cv_func_sincosl_use=no
17771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17775 cross_compiling=$ac_cv_prog_cc_cross
17781 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
17783 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
17784 for ac_func in sincosl
17786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17787 echo "configure:17788: checking for $ac_func" >&5
17788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17789 echo $ac_n "(cached) $ac_c" 1>&6
17791 cat > conftest.$ac_ext <<EOF
17792 #line 17793 "configure"
17793 #include "confdefs.h"
17794 /* System header to define __stub macros and hopefully few prototypes,
17795 which can conflict with char $ac_func(); below. */
17796 #include <assert.h>
17797 /* Override any gcc2 internal prototype to avoid an error. */
17798 /* We use char because int might match the return type of a gcc2
17799 builtin and then its argument prototype would still apply. */
17804 /* The GNU C library defines this for functions which it implements
17805 to always fail with ENOSYS. Some functions are actually named
17806 something starting with __ and the normal name is an alias. */
17807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17815 if { (eval echo configure:17816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17817 eval "ac_cv_func_$ac_func=yes"
17819 echo "configure: failed program was:" >&5
17820 cat conftest.$ac_ext >&5
17822 eval "ac_cv_func_$ac_func=no"
17827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17828 echo "$ac_t""yes" 1>&6
17829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17830 cat >> confdefs.h <<EOF
17831 #define $ac_tr_func 1
17835 echo "$ac_t""no" 1>&6
17841 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
17842 echo "configure:17843: checking for _sincosl declaration" >&5
17843 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
17844 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
17845 echo $ac_n "(cached) $ac_c" 1>&6
17850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17851 ac_cpp='$CXXCPP $CPPFLAGS'
17852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17854 cross_compiling=$ac_cv_prog_cxx_cross
17856 cat > conftest.$ac_ext <<EOF
17857 #line 17858 "configure"
17858 #include "confdefs.h"
17864 if { (eval echo configure:17865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17866 glibcpp_cv_func__sincosl_use=yes
17868 echo "configure: failed program was:" >&5
17869 cat conftest.$ac_ext >&5
17871 glibcpp_cv_func__sincosl_use=no
17875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17876 ac_cpp='$CPP $CPPFLAGS'
17877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17879 cross_compiling=$ac_cv_prog_cc_cross
17885 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17887 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17888 for ac_func in _sincosl
17890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17891 echo "configure:17892: checking for $ac_func" >&5
17892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17893 echo $ac_n "(cached) $ac_c" 1>&6
17895 cat > conftest.$ac_ext <<EOF
17896 #line 17897 "configure"
17897 #include "confdefs.h"
17898 /* System header to define __stub macros and hopefully few prototypes,
17899 which can conflict with char $ac_func(); below. */
17900 #include <assert.h>
17901 /* Override any gcc2 internal prototype to avoid an error. */
17902 /* We use char because int might match the return type of a gcc2
17903 builtin and then its argument prototype would still apply. */
17908 /* The GNU C library defines this for functions which it implements
17909 to always fail with ENOSYS. Some functions are actually named
17910 something starting with __ and the normal name is an alias. */
17911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17919 if { (eval echo configure:17920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17921 eval "ac_cv_func_$ac_func=yes"
17923 echo "configure: failed program was:" >&5
17924 cat conftest.$ac_ext >&5
17926 eval "ac_cv_func_$ac_func=no"
17931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17932 echo "$ac_t""yes" 1>&6
17933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17934 cat >> confdefs.h <<EOF
17935 #define $ac_tr_func 1
17939 echo "$ac_t""no" 1>&6
17948 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
17949 echo "configure:17950: checking for finitel declaration" >&5
17950 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
17951 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
17952 echo $ac_n "(cached) $ac_c" 1>&6
17957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17958 ac_cpp='$CXXCPP $CPPFLAGS'
17959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17961 cross_compiling=$ac_cv_prog_cxx_cross
17963 cat > conftest.$ac_ext <<EOF
17964 #line 17965 "configure"
17965 #include "confdefs.h"
17967 #ifdef HAVE_IEEEFP_H
17968 #include <ieeefp.h>
17975 if { (eval echo configure:17976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17977 glibcpp_cv_func_finitel_use=yes
17979 echo "configure: failed program was:" >&5
17980 cat conftest.$ac_ext >&5
17982 glibcpp_cv_func_finitel_use=no
17986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17990 cross_compiling=$ac_cv_prog_cc_cross
17996 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17998 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17999 for ac_func in finitel
18001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18002 echo "configure:18003: checking for $ac_func" >&5
18003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18004 echo $ac_n "(cached) $ac_c" 1>&6
18006 cat > conftest.$ac_ext <<EOF
18007 #line 18008 "configure"
18008 #include "confdefs.h"
18009 /* System header to define __stub macros and hopefully few prototypes,
18010 which can conflict with char $ac_func(); below. */
18011 #include <assert.h>
18012 /* Override any gcc2 internal prototype to avoid an error. */
18013 /* We use char because int might match the return type of a gcc2
18014 builtin and then its argument prototype would still apply. */
18019 /* The GNU C library defines this for functions which it implements
18020 to always fail with ENOSYS. Some functions are actually named
18021 something starting with __ and the normal name is an alias. */
18022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18030 if { (eval echo configure:18031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18032 eval "ac_cv_func_$ac_func=yes"
18034 echo "configure: failed program was:" >&5
18035 cat conftest.$ac_ext >&5
18037 eval "ac_cv_func_$ac_func=no"
18042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18043 echo "$ac_t""yes" 1>&6
18044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18045 cat >> confdefs.h <<EOF
18046 #define $ac_tr_func 1
18050 echo "$ac_t""no" 1>&6
18056 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18057 echo "configure:18058: checking for _finitel declaration" >&5
18058 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18059 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18060 echo $ac_n "(cached) $ac_c" 1>&6
18065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18066 ac_cpp='$CXXCPP $CPPFLAGS'
18067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18069 cross_compiling=$ac_cv_prog_cxx_cross
18071 cat > conftest.$ac_ext <<EOF
18072 #line 18073 "configure"
18073 #include "confdefs.h"
18075 #ifdef HAVE_IEEEFP_H
18076 #include <ieeefp.h>
18083 if { (eval echo configure:18084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18085 glibcpp_cv_func__finitel_use=yes
18087 echo "configure: failed program was:" >&5
18088 cat conftest.$ac_ext >&5
18090 glibcpp_cv_func__finitel_use=no
18094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18095 ac_cpp='$CPP $CPPFLAGS'
18096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18098 cross_compiling=$ac_cv_prog_cc_cross
18104 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18106 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18107 for ac_func in _finitel
18109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18110 echo "configure:18111: checking for $ac_func" >&5
18111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18112 echo $ac_n "(cached) $ac_c" 1>&6
18114 cat > conftest.$ac_ext <<EOF
18115 #line 18116 "configure"
18116 #include "confdefs.h"
18117 /* System header to define __stub macros and hopefully few prototypes,
18118 which can conflict with char $ac_func(); below. */
18119 #include <assert.h>
18120 /* Override any gcc2 internal prototype to avoid an error. */
18121 /* We use char because int might match the return type of a gcc2
18122 builtin and then its argument prototype would still apply. */
18127 /* The GNU C library defines this for functions which it implements
18128 to always fail with ENOSYS. Some functions are actually named
18129 something starting with __ and the normal name is an alias. */
18130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18138 if { (eval echo configure:18139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18140 eval "ac_cv_func_$ac_func=yes"
18142 echo "configure: failed program was:" >&5
18143 cat conftest.$ac_ext >&5
18145 eval "ac_cv_func_$ac_func=no"
18150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18151 echo "$ac_t""yes" 1>&6
18152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18153 cat >> confdefs.h <<EOF
18154 #define $ac_tr_func 1
18158 echo "$ac_t""no" 1>&6
18168 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
18169 echo "configure:18170: checking for _float trig functions" >&5
18170 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
18171 echo $ac_n "(cached) $ac_c" 1>&6
18176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18177 ac_cpp='$CXXCPP $CPPFLAGS'
18178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18180 cross_compiling=$ac_cv_prog_cxx_cross
18182 cat > conftest.$ac_ext <<EOF
18183 #line 18184 "configure"
18184 #include "confdefs.h"
18187 `for x in _acosf _asinf _atanf \
18188 _cosf _sinf _tanf \
18189 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
18192 if { (eval echo configure:18193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18194 glibcpp_cv_func__float_trig_use=yes
18196 echo "configure: failed program was:" >&5
18197 cat conftest.$ac_ext >&5
18199 glibcpp_cv_func__float_trig_use=no
18203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18204 ac_cpp='$CPP $CPPFLAGS'
18205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18207 cross_compiling=$ac_cv_prog_cc_cross
18211 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
18212 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
18213 for ac_func in _acosf _asinf _atanf \
18214 _cosf _sinf _tanf \
18215 _coshf _sinhf _tanhf
18217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18218 echo "configure:18219: checking for $ac_func" >&5
18219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18220 echo $ac_n "(cached) $ac_c" 1>&6
18222 cat > conftest.$ac_ext <<EOF
18223 #line 18224 "configure"
18224 #include "confdefs.h"
18225 /* System header to define __stub macros and hopefully few prototypes,
18226 which can conflict with char $ac_func(); below. */
18227 #include <assert.h>
18228 /* Override any gcc2 internal prototype to avoid an error. */
18229 /* We use char because int might match the return type of a gcc2
18230 builtin and then its argument prototype would still apply. */
18235 /* The GNU C library defines this for functions which it implements
18236 to always fail with ENOSYS. Some functions are actually named
18237 something starting with __ and the normal name is an alias. */
18238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18246 if { (eval echo configure:18247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18248 eval "ac_cv_func_$ac_func=yes"
18250 echo "configure: failed program was:" >&5
18251 cat conftest.$ac_ext >&5
18253 eval "ac_cv_func_$ac_func=no"
18258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18259 echo "$ac_t""yes" 1>&6
18260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18261 cat >> confdefs.h <<EOF
18262 #define $ac_tr_func 1
18266 echo "$ac_t""no" 1>&6
18273 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
18274 echo "configure:18275: checking for _float round functions" >&5
18275 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
18276 echo $ac_n "(cached) $ac_c" 1>&6
18281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18282 ac_cpp='$CXXCPP $CPPFLAGS'
18283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18285 cross_compiling=$ac_cv_prog_cxx_cross
18287 cat > conftest.$ac_ext <<EOF
18288 #line 18289 "configure"
18289 #include "confdefs.h"
18292 `for x in _ceilf _floorf; do echo "$x (0);"; done`
18295 if { (eval echo configure:18296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18297 glibcpp_cv_func__float_round_use=yes
18299 echo "configure: failed program was:" >&5
18300 cat conftest.$ac_ext >&5
18302 glibcpp_cv_func__float_round_use=no
18306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18307 ac_cpp='$CPP $CPPFLAGS'
18308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18310 cross_compiling=$ac_cv_prog_cc_cross
18314 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
18315 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
18316 for ac_func in _ceilf _floorf
18318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18319 echo "configure:18320: checking for $ac_func" >&5
18320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18321 echo $ac_n "(cached) $ac_c" 1>&6
18323 cat > conftest.$ac_ext <<EOF
18324 #line 18325 "configure"
18325 #include "confdefs.h"
18326 /* System header to define __stub macros and hopefully few prototypes,
18327 which can conflict with char $ac_func(); below. */
18328 #include <assert.h>
18329 /* Override any gcc2 internal prototype to avoid an error. */
18330 /* We use char because int might match the return type of a gcc2
18331 builtin and then its argument prototype would still apply. */
18336 /* The GNU C library defines this for functions which it implements
18337 to always fail with ENOSYS. Some functions are actually named
18338 something starting with __ and the normal name is an alias. */
18339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18347 if { (eval echo configure:18348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18349 eval "ac_cv_func_$ac_func=yes"
18351 echo "configure: failed program was:" >&5
18352 cat conftest.$ac_ext >&5
18354 eval "ac_cv_func_$ac_func=no"
18359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18360 echo "$ac_t""yes" 1>&6
18361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18362 cat >> confdefs.h <<EOF
18363 #define $ac_tr_func 1
18367 echo "$ac_t""no" 1>&6
18375 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
18376 echo "configure:18377: checking for _long double trig functions" >&5
18377 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
18378 echo $ac_n "(cached) $ac_c" 1>&6
18383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18387 cross_compiling=$ac_cv_prog_cxx_cross
18389 cat > conftest.$ac_ext <<EOF
18390 #line 18391 "configure"
18391 #include "confdefs.h"
18394 `for x in _acosl _asinl _atanl \
18395 _cosl _sinl _tanl \
18396 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
18399 if { (eval echo configure:18400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18401 glibcpp_cv_func__long_double_trig_use=yes
18403 echo "configure: failed program was:" >&5
18404 cat conftest.$ac_ext >&5
18406 glibcpp_cv_func__long_double_trig_use=no
18410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18411 ac_cpp='$CPP $CPPFLAGS'
18412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18414 cross_compiling=$ac_cv_prog_cc_cross
18418 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
18419 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
18420 for ac_func in _acosl _asinl _atanl \
18421 _cosl _sinl _tanl \
18422 _coshl _sinhl _tanhl
18424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18425 echo "configure:18426: checking for $ac_func" >&5
18426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18427 echo $ac_n "(cached) $ac_c" 1>&6
18429 cat > conftest.$ac_ext <<EOF
18430 #line 18431 "configure"
18431 #include "confdefs.h"
18432 /* System header to define __stub macros and hopefully few prototypes,
18433 which can conflict with char $ac_func(); below. */
18434 #include <assert.h>
18435 /* Override any gcc2 internal prototype to avoid an error. */
18436 /* We use char because int might match the return type of a gcc2
18437 builtin and then its argument prototype would still apply. */
18442 /* The GNU C library defines this for functions which it implements
18443 to always fail with ENOSYS. Some functions are actually named
18444 something starting with __ and the normal name is an alias. */
18445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18453 if { (eval echo configure:18454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18455 eval "ac_cv_func_$ac_func=yes"
18457 echo "configure: failed program was:" >&5
18458 cat conftest.$ac_ext >&5
18460 eval "ac_cv_func_$ac_func=no"
18465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18466 echo "$ac_t""yes" 1>&6
18467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18468 cat >> confdefs.h <<EOF
18469 #define $ac_tr_func 1
18473 echo "$ac_t""no" 1>&6
18480 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
18481 echo "configure:18482: checking for _long double round functions" >&5
18482 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
18483 echo $ac_n "(cached) $ac_c" 1>&6
18488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18489 ac_cpp='$CXXCPP $CPPFLAGS'
18490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18492 cross_compiling=$ac_cv_prog_cxx_cross
18494 cat > conftest.$ac_ext <<EOF
18495 #line 18496 "configure"
18496 #include "confdefs.h"
18499 `for x in _ceill _floorl; do echo "$x (0);"; done`
18502 if { (eval echo configure:18503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18504 glibcpp_cv_func__long_double_round_use=yes
18506 echo "configure: failed program was:" >&5
18507 cat conftest.$ac_ext >&5
18509 glibcpp_cv_func__long_double_round_use=no
18513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18514 ac_cpp='$CPP $CPPFLAGS'
18515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18517 cross_compiling=$ac_cv_prog_cc_cross
18521 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
18522 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
18523 for ac_func in _ceill _floorl
18525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18526 echo "configure:18527: checking for $ac_func" >&5
18527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18528 echo $ac_n "(cached) $ac_c" 1>&6
18530 cat > conftest.$ac_ext <<EOF
18531 #line 18532 "configure"
18532 #include "confdefs.h"
18533 /* System header to define __stub macros and hopefully few prototypes,
18534 which can conflict with char $ac_func(); below. */
18535 #include <assert.h>
18536 /* Override any gcc2 internal prototype to avoid an error. */
18537 /* We use char because int might match the return type of a gcc2
18538 builtin and then its argument prototype would still apply. */
18543 /* The GNU C library defines this for functions which it implements
18544 to always fail with ENOSYS. Some functions are actually named
18545 something starting with __ and the normal name is an alias. */
18546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18554 if { (eval echo configure:18555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18556 eval "ac_cv_func_$ac_func=yes"
18558 echo "configure: failed program was:" >&5
18559 cat conftest.$ac_ext >&5
18561 eval "ac_cv_func_$ac_func=no"
18566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18567 echo "$ac_t""yes" 1>&6
18568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18569 cat >> confdefs.h <<EOF
18570 #define $ac_tr_func 1
18574 echo "$ac_t""no" 1>&6
18581 LIBS="$ac_save_LIBS"
18582 CXXFLAGS="$ac_save_CXXFLAGS"
18585 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
18586 echo "configure:18587: checking for main in -lm" >&5
18587 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
18588 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18589 echo $ac_n "(cached) $ac_c" 1>&6
18591 ac_save_LIBS="$LIBS"
18593 cat > conftest.$ac_ext <<EOF
18594 #line 18595 "configure"
18595 #include "confdefs.h"
18601 if { (eval echo configure:18602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18603 eval "ac_cv_lib_$ac_lib_var=yes"
18605 echo "configure: failed program was:" >&5
18606 cat conftest.$ac_ext >&5
18608 eval "ac_cv_lib_$ac_lib_var=no"
18611 LIBS="$ac_save_LIBS"
18614 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18615 echo "$ac_t""yes" 1>&6
18616 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
18617 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
18618 cat >> confdefs.h <<EOF
18619 #define $ac_tr_lib 1
18625 echo "$ac_t""no" 1>&6
18628 for ac_func in nan copysignf
18630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18631 echo "configure:18632: checking for $ac_func" >&5
18632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18633 echo $ac_n "(cached) $ac_c" 1>&6
18635 cat > conftest.$ac_ext <<EOF
18636 #line 18637 "configure"
18637 #include "confdefs.h"
18638 /* System header to define __stub macros and hopefully few prototypes,
18639 which can conflict with char $ac_func(); below. */
18640 #include <assert.h>
18641 /* Override any gcc2 internal prototype to avoid an error. */
18642 /* We use char because int might match the return type of a gcc2
18643 builtin and then its argument prototype would still apply. */
18648 /* The GNU C library defines this for functions which it implements
18649 to always fail with ENOSYS. Some functions are actually named
18650 something starting with __ and the normal name is an alias. */
18651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18659 if { (eval echo configure:18660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18661 eval "ac_cv_func_$ac_func=yes"
18663 echo "configure: failed program was:" >&5
18664 cat conftest.$ac_ext >&5
18666 eval "ac_cv_func_$ac_func=no"
18671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18672 echo "$ac_t""yes" 1>&6
18673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18674 cat >> confdefs.h <<EOF
18675 #define $ac_tr_func 1
18679 echo "$ac_t""no" 1>&6
18680 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
18686 USE_COMPLEX_LONG_DOUBLE=no
18687 if test x$ac_cv_func_copysignl = x"yes"; then
18688 USE_COMPLEX_LONG_DOUBLE=yes
18689 for ac_func in signbitl
18691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18692 echo "configure:18693: checking for $ac_func" >&5
18693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18694 echo $ac_n "(cached) $ac_c" 1>&6
18696 cat > conftest.$ac_ext <<EOF
18697 #line 18698 "configure"
18698 #include "confdefs.h"
18699 /* System header to define __stub macros and hopefully few prototypes,
18700 which can conflict with char $ac_func(); below. */
18701 #include <assert.h>
18702 /* Override any gcc2 internal prototype to avoid an error. */
18703 /* We use char because int might match the return type of a gcc2
18704 builtin and then its argument prototype would still apply. */
18709 /* The GNU C library defines this for functions which it implements
18710 to always fail with ENOSYS. Some functions are actually named
18711 something starting with __ and the normal name is an alias. */
18712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18720 if { (eval echo configure:18721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18722 eval "ac_cv_func_$ac_func=yes"
18724 echo "configure: failed program was:" >&5
18725 cat conftest.$ac_ext >&5
18727 eval "ac_cv_func_$ac_func=no"
18732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18733 echo "$ac_t""yes" 1>&6
18734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18735 cat >> confdefs.h <<EOF
18736 #define $ac_tr_func 1
18740 echo "$ac_t""no" 1>&6
18741 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
18752 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
18753 echo "configure:18754: checking for mbstate_t" >&5
18754 cat > conftest.$ac_ext <<EOF
18755 #line 18756 "configure"
18756 #include "confdefs.h"
18759 mbstate_t teststate;
18762 if { (eval echo configure:18763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18766 echo "configure: failed program was:" >&5
18767 cat conftest.$ac_ext >&5
18772 echo "$ac_t""$have_mbstate_t" 1>&6
18773 if test x"$have_mbstate_t" = xyes; then
18774 cat >> confdefs.h <<\EOF
18775 #define HAVE_MBSTATE_T 1
18780 for ac_hdr in wchar.h
18782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18784 echo "configure:18785: checking for $ac_hdr" >&5
18785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18786 echo $ac_n "(cached) $ac_c" 1>&6
18788 cat > conftest.$ac_ext <<EOF
18789 #line 18790 "configure"
18790 #include "confdefs.h"
18793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18794 { (eval echo configure:18795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18796 if test -z "$ac_err"; then
18798 eval "ac_cv_header_$ac_safe=yes"
18801 echo "configure: failed program was:" >&5
18802 cat conftest.$ac_ext >&5
18804 eval "ac_cv_header_$ac_safe=no"
18808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18809 echo "$ac_t""yes" 1>&6
18810 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18811 cat >> confdefs.h <<EOF
18812 #define $ac_tr_hdr 1
18816 echo "$ac_t""no" 1>&6
18821 for ac_hdr in wctype.h
18823 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18825 echo "configure:18826: checking for $ac_hdr" >&5
18826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18827 echo $ac_n "(cached) $ac_c" 1>&6
18829 cat > conftest.$ac_ext <<EOF
18830 #line 18831 "configure"
18831 #include "confdefs.h"
18834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18835 { (eval echo configure:18836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18837 if test -z "$ac_err"; then
18839 eval "ac_cv_header_$ac_safe=yes"
18842 echo "configure: failed program was:" >&5
18843 cat conftest.$ac_ext >&5
18845 eval "ac_cv_header_$ac_safe=no"
18849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18850 echo "$ac_t""yes" 1>&6
18851 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18852 cat >> confdefs.h <<EOF
18853 #define $ac_tr_hdr 1
18855 ac_has_wctype_h=yes
18857 echo "$ac_t""no" 1>&6
18863 if test x"$ac_has_wchar_h" = xyes &&
18864 test x"$ac_has_wctype_h" = xyes &&
18865 test x"$enable_c_mbchar" != xno; then
18867 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
18868 echo "configure:18869: checking for WCHAR_MIN and WCHAR_MAX" >&5
18869 cat > conftest.$ac_ext <<EOF
18870 #line 18871 "configure"
18871 #include "confdefs.h"
18874 int i = WCHAR_MIN; int j = WCHAR_MAX;
18877 if { (eval echo configure:18878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18879 has_wchar_minmax=yes
18881 echo "configure: failed program was:" >&5
18882 cat conftest.$ac_ext >&5
18884 has_wchar_minmax=no
18887 echo "$ac_t""$has_wchar_minmax" 1>&6
18889 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
18890 echo "configure:18891: checking for WEOF" >&5
18891 cat > conftest.$ac_ext <<EOF
18892 #line 18893 "configure"
18893 #include "confdefs.h"
18896 #include <stddef.h>
18901 if { (eval echo configure:18902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18905 echo "configure: failed program was:" >&5
18906 cat conftest.$ac_ext >&5
18911 echo "$ac_t""$has_weof" 1>&6
18914 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
18916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18917 echo "configure:18918: checking for $ac_func" >&5
18918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18919 echo $ac_n "(cached) $ac_c" 1>&6
18921 cat > conftest.$ac_ext <<EOF
18922 #line 18923 "configure"
18923 #include "confdefs.h"
18924 /* System header to define __stub macros and hopefully few prototypes,
18925 which can conflict with char $ac_func(); below. */
18926 #include <assert.h>
18927 /* Override any gcc2 internal prototype to avoid an error. */
18928 /* We use char because int might match the return type of a gcc2
18929 builtin and then its argument prototype would still apply. */
18934 /* The GNU C library defines this for functions which it implements
18935 to always fail with ENOSYS. Some functions are actually named
18936 something starting with __ and the normal name is an alias. */
18937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18945 if { (eval echo configure:18946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18947 eval "ac_cv_func_$ac_func=yes"
18949 echo "configure: failed program was:" >&5
18950 cat conftest.$ac_ext >&5
18952 eval "ac_cv_func_$ac_func=no"
18957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18958 echo "$ac_t""yes" 1>&6
18959 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18960 cat >> confdefs.h <<EOF
18961 #define $ac_tr_func 1
18965 echo "$ac_t""no" 1>&6
18972 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
18973 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18974 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18975 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18976 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18977 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18980 echo "configure:18981: checking for $ac_func" >&5
18981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18982 echo $ac_n "(cached) $ac_c" 1>&6
18984 cat > conftest.$ac_ext <<EOF
18985 #line 18986 "configure"
18986 #include "confdefs.h"
18987 /* System header to define __stub macros and hopefully few prototypes,
18988 which can conflict with char $ac_func(); below. */
18989 #include <assert.h>
18990 /* Override any gcc2 internal prototype to avoid an error. */
18991 /* We use char because int might match the return type of a gcc2
18992 builtin and then its argument prototype would still apply. */
18997 /* The GNU C library defines this for functions which it implements
18998 to always fail with ENOSYS. Some functions are actually named
18999 something starting with __ and the normal name is an alias. */
19000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19008 if { (eval echo configure:19009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19010 eval "ac_cv_func_$ac_func=yes"
19012 echo "configure: failed program was:" >&5
19013 cat conftest.$ac_ext >&5
19015 eval "ac_cv_func_$ac_func=no"
19020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19021 echo "$ac_t""yes" 1>&6
19022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19023 cat >> confdefs.h <<EOF
19024 #define $ac_tr_func 1
19028 echo "$ac_t""no" 1>&6
19035 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
19036 echo "configure:19037: checking for ISO C99 wchar_t support" >&5
19037 if test x"$has_weof" = xyes &&
19038 test x"$has_wchar_minmax" = xyes &&
19039 test x"$ac_wfuncs" = xyes; then
19040 ac_isoC99_wchar_t=yes
19042 ac_isoC99_wchar_t=no
19044 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
19046 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
19047 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
19048 echo "configure:19049: checking for iconv.h" >&5
19049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19050 echo $ac_n "(cached) $ac_c" 1>&6
19052 cat > conftest.$ac_ext <<EOF
19053 #line 19054 "configure"
19054 #include "confdefs.h"
19057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19058 { (eval echo configure:19059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19060 if test -z "$ac_err"; then
19062 eval "ac_cv_header_$ac_safe=yes"
19065 echo "configure: failed program was:" >&5
19066 cat conftest.$ac_ext >&5
19068 eval "ac_cv_header_$ac_safe=no"
19072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19073 echo "$ac_t""yes" 1>&6
19076 echo "$ac_t""no" 1>&6
19080 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
19081 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
19082 echo "configure:19083: checking for langinfo.h" >&5
19083 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19084 echo $ac_n "(cached) $ac_c" 1>&6
19086 cat > conftest.$ac_ext <<EOF
19087 #line 19088 "configure"
19088 #include "confdefs.h"
19089 #include <langinfo.h>
19091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19092 { (eval echo configure:19093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19094 if test -z "$ac_err"; then
19096 eval "ac_cv_header_$ac_safe=yes"
19099 echo "configure: failed program was:" >&5
19100 cat conftest.$ac_ext >&5
19102 eval "ac_cv_header_$ac_safe=no"
19106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19107 echo "$ac_t""yes" 1>&6
19108 ac_has_langinfo_h=yes
19110 echo "$ac_t""no" 1>&6
19111 ac_has_langinfo_h=no
19115 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
19116 echo "configure:19117: checking for iconv in -liconv" >&5
19117 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
19118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19119 echo $ac_n "(cached) $ac_c" 1>&6
19121 ac_save_LIBS="$LIBS"
19122 LIBS="-liconv $LIBS"
19123 cat > conftest.$ac_ext <<EOF
19124 #line 19125 "configure"
19125 #include "confdefs.h"
19126 /* Override any gcc2 internal prototype to avoid an error. */
19127 /* We use char because int might match the return type of a gcc2
19128 builtin and then its argument prototype would still apply. */
19135 if { (eval echo configure:19136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19137 eval "ac_cv_lib_$ac_lib_var=yes"
19139 echo "configure: failed program was:" >&5
19140 cat conftest.$ac_ext >&5
19142 eval "ac_cv_lib_$ac_lib_var=no"
19145 LIBS="$ac_save_LIBS"
19148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19149 echo "$ac_t""yes" 1>&6
19152 echo "$ac_t""no" 1>&6
19155 ac_save_LIBS="$LIBS"
19156 LIBS="$LIBS $libiconv"
19158 for ac_func in iconv_open iconv_close iconv nl_langinfo
19160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19161 echo "configure:19162: checking for $ac_func" >&5
19162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19163 echo $ac_n "(cached) $ac_c" 1>&6
19165 cat > conftest.$ac_ext <<EOF
19166 #line 19167 "configure"
19167 #include "confdefs.h"
19168 /* System header to define __stub macros and hopefully few prototypes,
19169 which can conflict with char $ac_func(); below. */
19170 #include <assert.h>
19171 /* Override any gcc2 internal prototype to avoid an error. */
19172 /* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19178 /* The GNU C library defines this for functions which it implements
19179 to always fail with ENOSYS. Some functions are actually named
19180 something starting with __ and the normal name is an alias. */
19181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19189 if { (eval echo configure:19190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19191 eval "ac_cv_func_$ac_func=yes"
19193 echo "configure: failed program was:" >&5
19194 cat conftest.$ac_ext >&5
19196 eval "ac_cv_func_$ac_func=no"
19201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19202 echo "$ac_t""yes" 1>&6
19203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19204 cat >> confdefs.h <<EOF
19205 #define $ac_tr_func 1
19210 echo "$ac_t""no" 1>&6
19216 LIBS="$ac_save_LIBS"
19218 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
19219 echo "configure:19220: checking for XPG2 wchar_t support" >&5
19220 if test x"$ac_has_iconv_h" = xyes &&
19221 test x"$ac_has_langinfo_h" = xyes &&
19222 test x"$ac_XPG2funcs" = xyes; then
19223 ac_XPG2_wchar_t=yes
19227 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
19229 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
19230 echo "configure:19231: checking for enabled wchar_t specializations" >&5
19231 if test x"$ac_isoC99_wchar_t" = xyes &&
19232 test x"$ac_XPG2_wchar_t" = xyes; then
19233 cat >> confdefs.h <<\EOF
19234 #define _GLIBCPP_USE_WCHAR_T 1
19237 echo "$ac_t"""yes"" 1>&6
19239 echo "$ac_t"""no"" 1>&6
19242 echo "configure: warning: wchar_t support disabled." 1>&2
19246 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19247 ac_save_CXXFLAGS="$CXXFLAGS"
19248 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
19251 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
19252 echo "configure:19253: checking for strtold declaration" >&5
19253 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
19254 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
19255 echo $ac_n "(cached) $ac_c" 1>&6
19260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19261 ac_cpp='$CXXCPP $CPPFLAGS'
19262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19264 cross_compiling=$ac_cv_prog_cxx_cross
19266 cat > conftest.$ac_ext <<EOF
19267 #line 19268 "configure"
19268 #include "confdefs.h"
19269 #include <stdlib.h>
19274 if { (eval echo configure:19275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19276 glibcpp_cv_func_strtold_use=yes
19278 echo "configure: failed program was:" >&5
19279 cat conftest.$ac_ext >&5
19281 glibcpp_cv_func_strtold_use=no
19285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19286 ac_cpp='$CPP $CPPFLAGS'
19287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19289 cross_compiling=$ac_cv_prog_cc_cross
19295 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
19296 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
19297 for ac_func in strtold
19299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19300 echo "configure:19301: checking for $ac_func" >&5
19301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19302 echo $ac_n "(cached) $ac_c" 1>&6
19304 cat > conftest.$ac_ext <<EOF
19305 #line 19306 "configure"
19306 #include "confdefs.h"
19307 /* System header to define __stub macros and hopefully few prototypes,
19308 which can conflict with char $ac_func(); below. */
19309 #include <assert.h>
19310 /* Override any gcc2 internal prototype to avoid an error. */
19311 /* We use char because int might match the return type of a gcc2
19312 builtin and then its argument prototype would still apply. */
19317 /* The GNU C library defines this for functions which it implements
19318 to always fail with ENOSYS. Some functions are actually named
19319 something starting with __ and the normal name is an alias. */
19320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19328 if { (eval echo configure:19329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19330 eval "ac_cv_func_$ac_func=yes"
19332 echo "configure: failed program was:" >&5
19333 cat conftest.$ac_ext >&5
19335 eval "ac_cv_func_$ac_func=no"
19340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19341 echo "$ac_t""yes" 1>&6
19342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19343 cat >> confdefs.h <<EOF
19344 #define $ac_tr_func 1
19348 echo "$ac_t""no" 1>&6
19355 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
19356 echo "configure:19357: checking for strtof declaration" >&5
19357 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
19358 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
19359 echo $ac_n "(cached) $ac_c" 1>&6
19364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19365 ac_cpp='$CXXCPP $CPPFLAGS'
19366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19368 cross_compiling=$ac_cv_prog_cxx_cross
19370 cat > conftest.$ac_ext <<EOF
19371 #line 19372 "configure"
19372 #include "confdefs.h"
19373 #include <stdlib.h>
19378 if { (eval echo configure:19379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19380 glibcpp_cv_func_strtof_use=yes
19382 echo "configure: failed program was:" >&5
19383 cat conftest.$ac_ext >&5
19385 glibcpp_cv_func_strtof_use=no
19389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19390 ac_cpp='$CPP $CPPFLAGS'
19391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19393 cross_compiling=$ac_cv_prog_cc_cross
19399 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
19400 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
19401 for ac_func in strtof
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
19458 for ac_func in drand48
19460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19461 echo "configure:19462: checking for $ac_func" >&5
19462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19463 echo $ac_n "(cached) $ac_c" 1>&6
19465 cat > conftest.$ac_ext <<EOF
19466 #line 19467 "configure"
19467 #include "confdefs.h"
19468 /* System header to define __stub macros and hopefully few prototypes,
19469 which can conflict with char $ac_func(); below. */
19470 #include <assert.h>
19471 /* Override any gcc2 internal prototype to avoid an error. */
19472 /* We use char because int might match the return type of a gcc2
19473 builtin and then its argument prototype would still apply. */
19478 /* The GNU C library defines this for functions which it implements
19479 to always fail with ENOSYS. Some functions are actually named
19480 something starting with __ and the normal name is an alias. */
19481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19489 if { (eval echo configure:19490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19491 eval "ac_cv_func_$ac_func=yes"
19493 echo "configure: failed program was:" >&5
19494 cat conftest.$ac_ext >&5
19496 eval "ac_cv_func_$ac_func=no"
19501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19502 echo "$ac_t""yes" 1>&6
19503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19504 cat >> confdefs.h <<EOF
19505 #define $ac_tr_func 1
19509 echo "$ac_t""no" 1>&6
19514 CXXFLAGS="$ac_save_CXXFLAGS"
19517 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
19518 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
19519 echo "configure:19520: checking for locale.h" >&5
19520 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19521 echo $ac_n "(cached) $ac_c" 1>&6
19523 cat > conftest.$ac_ext <<EOF
19524 #line 19525 "configure"
19525 #include "confdefs.h"
19526 #include <locale.h>
19528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19529 { (eval echo configure:19530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19531 if test -z "$ac_err"; then
19533 eval "ac_cv_header_$ac_safe=yes"
19536 echo "configure: failed program was:" >&5
19537 cat conftest.$ac_ext >&5
19539 eval "ac_cv_header_$ac_safe=no"
19543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19544 echo "$ac_t""yes" 1>&6
19546 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
19547 echo "configure:19548: checking for LC_MESSAGES" >&5
19548 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
19549 echo $ac_n "(cached) $ac_c" 1>&6
19551 cat > conftest.$ac_ext <<EOF
19552 #line 19553 "configure"
19553 #include "confdefs.h"
19554 #include <locale.h>
19559 if { (eval echo configure:19560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19561 ac_cv_val_LC_MESSAGES=yes
19563 echo "configure: failed program was:" >&5
19564 cat conftest.$ac_ext >&5
19566 ac_cv_val_LC_MESSAGES=no
19571 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
19572 if test $ac_cv_val_LC_MESSAGES = yes; then
19573 cat >> confdefs.h <<\EOF
19574 #define HAVE_LC_MESSAGES 1
19580 echo "$ac_t""no" 1>&6
19585 cat > conftest.$ac_ext <<EOF
19586 #line 19587 "configure"
19587 #include "confdefs.h"
19589 #include <setjmp.h>
19592 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
19595 if { (eval echo configure:19596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19597 cat >> confdefs.h <<\EOF
19598 #define HAVE_SIGSETJMP 1
19603 echo "configure: failed program was:" >&5
19604 cat conftest.$ac_ext >&5
19608 for ac_hdr in unistd.h
19610 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19611 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19612 echo "configure:19613: checking for $ac_hdr" >&5
19613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19614 echo $ac_n "(cached) $ac_c" 1>&6
19616 cat > conftest.$ac_ext <<EOF
19617 #line 19618 "configure"
19618 #include "confdefs.h"
19621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19622 { (eval echo configure:19623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19624 if test -z "$ac_err"; then
19626 eval "ac_cv_header_$ac_safe=yes"
19629 echo "configure: failed program was:" >&5
19630 cat conftest.$ac_ext >&5
19632 eval "ac_cv_header_$ac_safe=no"
19636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19637 echo "$ac_t""yes" 1>&6
19638 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19639 cat >> confdefs.h <<EOF
19640 #define $ac_tr_hdr 1
19644 echo "$ac_t""no" 1>&6
19648 for ac_func in getpagesize
19650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19651 echo "configure:19652: checking for $ac_func" >&5
19652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19653 echo $ac_n "(cached) $ac_c" 1>&6
19655 cat > conftest.$ac_ext <<EOF
19656 #line 19657 "configure"
19657 #include "confdefs.h"
19658 /* System header to define __stub macros and hopefully few prototypes,
19659 which can conflict with char $ac_func(); below. */
19660 #include <assert.h>
19661 /* Override any gcc2 internal prototype to avoid an error. */
19662 /* We use char because int might match the return type of a gcc2
19663 builtin and then its argument prototype would still apply. */
19668 /* The GNU C library defines this for functions which it implements
19669 to always fail with ENOSYS. Some functions are actually named
19670 something starting with __ and the normal name is an alias. */
19671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19679 if { (eval echo configure:19680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19681 eval "ac_cv_func_$ac_func=yes"
19683 echo "configure: failed program was:" >&5
19684 cat conftest.$ac_ext >&5
19686 eval "ac_cv_func_$ac_func=no"
19691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19692 echo "$ac_t""yes" 1>&6
19693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19694 cat >> confdefs.h <<EOF
19695 #define $ac_tr_func 1
19699 echo "$ac_t""no" 1>&6
19703 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
19704 echo "configure:19705: checking for working mmap" >&5
19705 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
19706 echo $ac_n "(cached) $ac_c" 1>&6
19708 if test "$cross_compiling" = yes; then
19709 ac_cv_func_mmap_fixed_mapped=no
19711 cat > conftest.$ac_ext <<EOF
19712 #line 19713 "configure"
19713 #include "confdefs.h"
19715 /* Thanks to Mike Haertel and Jim Avera for this test.
19716 Here is a matrix of mmap possibilities:
19717 mmap private not fixed
19718 mmap private fixed at somewhere currently unmapped
19719 mmap private fixed at somewhere already mapped
19720 mmap shared not fixed
19721 mmap shared fixed at somewhere currently unmapped
19722 mmap shared fixed at somewhere already mapped
19723 For private mappings, we should verify that changes cannot be read()
19724 back from the file, nor mmap's back from the file at a different
19725 address. (There have been systems where private was not correctly
19726 implemented like the infamous i386 svr4.0, and systems where the
19727 VM page cache was not coherent with the filesystem buffer cache
19728 like early versions of FreeBSD and possibly contemporary NetBSD.)
19729 For shared mappings, we should conversely verify that changes get
19730 propogated back to all the places they're supposed to be.
19732 Grep wants private fixed already mapped.
19733 The main things grep needs to know about mmap are:
19734 * does it exist and is it safe to write into the mmap'd area
19735 * how to use it (BSD variants) */
19736 #include <sys/types.h>
19738 #include <sys/mman.h>
19740 /* This mess was copied from the GNU getpagesize.h. */
19741 #ifndef HAVE_GETPAGESIZE
19742 # ifdef HAVE_UNISTD_H
19743 # include <unistd.h>
19746 /* Assume that all systems that can run configure have sys/param.h. */
19747 # ifndef HAVE_SYS_PARAM_H
19748 # define HAVE_SYS_PARAM_H 1
19751 # ifdef _SC_PAGESIZE
19752 # define getpagesize() sysconf(_SC_PAGESIZE)
19753 # else /* no _SC_PAGESIZE */
19754 # ifdef HAVE_SYS_PARAM_H
19755 # include <sys/param.h>
19756 # ifdef EXEC_PAGESIZE
19757 # define getpagesize() EXEC_PAGESIZE
19758 # else /* no EXEC_PAGESIZE */
19760 # define getpagesize() NBPG * CLSIZE
19763 # endif /* no CLSIZE */
19764 # else /* no NBPG */
19766 # define getpagesize() NBPC
19767 # else /* no NBPC */
19769 # define getpagesize() PAGESIZE
19770 # endif /* PAGESIZE */
19771 # endif /* no NBPC */
19772 # endif /* no NBPG */
19773 # endif /* no EXEC_PAGESIZE */
19774 # else /* no HAVE_SYS_PARAM_H */
19775 # define getpagesize() 8192 /* punt totally */
19776 # endif /* no HAVE_SYS_PARAM_H */
19777 # endif /* no _SC_PAGESIZE */
19779 #endif /* no HAVE_GETPAGESIZE */
19782 extern "C" { void *malloc(unsigned); }
19790 char *data, *data2, *data3;
19794 pagesize = getpagesize();
19797 * First, make a file with some known garbage in it.
19799 data = malloc(pagesize);
19802 for (i = 0; i < pagesize; ++i)
19803 *(data + i) = rand();
19805 fd = creat("conftestmmap", 0600);
19808 if (write(fd, data, pagesize) != pagesize)
19813 * Next, try to mmap the file at a fixed address which
19814 * already has something else allocated at it. If we can,
19815 * also make sure that we see the same garbage.
19817 fd = open("conftestmmap", O_RDWR);
19820 data2 = malloc(2 * pagesize);
19823 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
19824 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
19825 MAP_PRIVATE | MAP_FIXED, fd, 0L))
19827 for (i = 0; i < pagesize; ++i)
19828 if (*(data + i) != *(data2 + i))
19832 * Finally, make sure that changes to the mapped area
19833 * do not percolate back to the file as seen by read().
19834 * (This is a bug on some variants of i386 svr4.0.)
19836 for (i = 0; i < pagesize; ++i)
19837 *(data2 + i) = *(data2 + i) + 1;
19838 data3 = malloc(pagesize);
19841 if (read(fd, data3, pagesize) != pagesize)
19843 for (i = 0; i < pagesize; ++i)
19844 if (*(data + i) != *(data3 + i))
19847 unlink("conftestmmap");
19852 if { (eval echo configure:19853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
19854 ac_cv_func_mmap_fixed_mapped=yes
19856 echo "configure: failed program was:" >&5
19857 cat conftest.$ac_ext >&5
19859 ac_cv_func_mmap_fixed_mapped=no
19866 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
19867 if test $ac_cv_func_mmap_fixed_mapped = yes; then
19868 cat >> confdefs.h <<\EOF
19869 #define HAVE_MMAP 1
19875 # Establish limits on memory usage during 'make check'
19878 setrlimit_have_headers=yes
19879 for ac_hdr in sys/resource.h unistd.h
19881 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19882 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19883 echo "configure:19884: checking for $ac_hdr" >&5
19884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19885 echo $ac_n "(cached) $ac_c" 1>&6
19887 cat > conftest.$ac_ext <<EOF
19888 #line 19889 "configure"
19889 #include "confdefs.h"
19892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19893 { (eval echo configure:19894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19895 if test -z "$ac_err"; then
19897 eval "ac_cv_header_$ac_safe=yes"
19900 echo "configure: failed program was:" >&5
19901 cat conftest.$ac_ext >&5
19903 eval "ac_cv_header_$ac_safe=no"
19907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19908 echo "$ac_t""yes" 1>&6
19909 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19910 cat >> confdefs.h <<EOF
19911 #define $ac_tr_hdr 1
19915 echo "$ac_t""no" 1>&6
19916 setrlimit_have_headers=no
19920 # If don't have the headers, then we can't run the tests now, and we
19921 # won't be seeing any of these during testsuite compilation.
19922 if test $setrlimit_have_headers = yes; then
19923 # Can't do these in a loop, else the resulting syntax is wrong.
19925 cat > conftest.$ac_ext <<EOF
19926 #line 19927 "configure"
19927 #include "confdefs.h"
19928 #include <sys/resource.h>
19929 #include <unistd.h>
19932 int f = RLIMIT_DATA ;
19935 if { (eval echo configure:19936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19939 echo "configure: failed program was:" >&5
19940 cat conftest.$ac_ext >&5
19945 cat >> confdefs.h <<EOF
19946 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
19951 cat > conftest.$ac_ext <<EOF
19952 #line 19953 "configure"
19953 #include "confdefs.h"
19954 #include <sys/resource.h>
19955 #include <unistd.h>
19958 int f = RLIMIT_RSS ;
19961 if { (eval echo configure:19962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19965 echo "configure: failed program was:" >&5
19966 cat conftest.$ac_ext >&5
19971 cat >> confdefs.h <<EOF
19972 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
19977 cat > conftest.$ac_ext <<EOF
19978 #line 19979 "configure"
19979 #include "confdefs.h"
19980 #include <sys/resource.h>
19981 #include <unistd.h>
19984 int f = RLIMIT_VMEM ;
19987 if { (eval echo configure:19988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19991 echo "configure: failed program was:" >&5
19992 cat conftest.$ac_ext >&5
19997 cat >> confdefs.h <<EOF
19998 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20003 cat > conftest.$ac_ext <<EOF
20004 #line 20005 "configure"
20005 #include "confdefs.h"
20006 #include <sys/resource.h>
20007 #include <unistd.h>
20010 int f = RLIMIT_AS ;
20013 if { (eval echo configure:20014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20017 echo "configure: failed program was:" >&5
20018 cat conftest.$ac_ext >&5
20023 cat >> confdefs.h <<EOF
20024 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20029 # Check for rlimit, setrlimit.
20030 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20031 echo $ac_n "(cached) $ac_c" 1>&6
20034 cat > conftest.$ac_ext <<EOF
20035 #line 20036 "configure"
20036 #include "confdefs.h"
20037 #include <sys/resource.h>
20038 #include <unistd.h>
20041 struct rlimit r; setrlimit(0, &r);
20044 if { (eval echo configure:20045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20048 echo "configure: failed program was:" >&5
20049 cat conftest.$ac_ext >&5
20059 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
20060 echo "configure:20061: checking for testsuite memory limit support" >&5
20061 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
20063 cat >> confdefs.h <<\EOF
20064 #define _GLIBCPP_MEM_LIMITS 1
20070 echo "$ac_t""$ac_mem_limits" 1>&6
20073 # Look for setenv, so that extended locale tests can be performed.
20075 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
20076 echo "configure:20077: checking for setenv declaration" >&5
20077 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
20078 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
20079 echo $ac_n "(cached) $ac_c" 1>&6
20084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20085 ac_cpp='$CXXCPP $CPPFLAGS'
20086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20088 cross_compiling=$ac_cv_prog_cxx_cross
20090 cat > conftest.$ac_ext <<EOF
20091 #line 20092 "configure"
20092 #include "confdefs.h"
20093 #include <stdlib.h>
20098 if { (eval echo configure:20099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20100 glibcpp_cv_func_setenv_use=yes
20102 echo "configure: failed program was:" >&5
20103 cat conftest.$ac_ext >&5
20105 glibcpp_cv_func_setenv_use=no
20109 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20110 ac_cpp='$CPP $CPPFLAGS'
20111 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20112 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20113 cross_compiling=$ac_cv_prog_cc_cross
20119 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
20120 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
20121 for ac_func in setenv
20123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20124 echo "configure:20125: checking for $ac_func" >&5
20125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20126 echo $ac_n "(cached) $ac_c" 1>&6
20128 cat > conftest.$ac_ext <<EOF
20129 #line 20130 "configure"
20130 #include "confdefs.h"
20131 /* System header to define __stub macros and hopefully few prototypes,
20132 which can conflict with char $ac_func(); below. */
20133 #include <assert.h>
20134 /* Override any gcc2 internal prototype to avoid an error. */
20135 /* We use char because int might match the return type of a gcc2
20136 builtin and then its argument prototype would still apply. */
20141 /* The GNU C library defines this for functions which it implements
20142 to always fail with ENOSYS. Some functions are actually named
20143 something starting with __ and the normal name is an alias. */
20144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20152 if { (eval echo configure:20153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20154 eval "ac_cv_func_$ac_func=yes"
20156 echo "configure: failed program was:" >&5
20157 cat conftest.$ac_ext >&5
20159 eval "ac_cv_func_$ac_func=no"
20164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20165 echo "$ac_t""yes" 1>&6
20166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20167 cat >> confdefs.h <<EOF
20168 #define $ac_tr_func 1
20172 echo "$ac_t""no" 1>&6
20181 # This depends on the possibly-skipped linker test above.
20182 # Check whether --enable-symvers or --disable-symvers was given.
20183 if test "${enable_symvers+set}" = set; then
20184 enableval="$enable_symvers"
20185 case "$enableval" in
20186 yes) enable_symvers=yes ;;
20187 no) enable_symvers=no ;;
20188 # other names here, just as sanity checks
20189 #gnu|sun|etcetera) enable_symvers=$enableval ;;
20190 gnu) enable_symvers=$enableval ;;
20191 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
20197 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
20198 # don't know enough about $LD to do tricks...
20199 if test x$enable_shared = xno ||
20201 test x$glibcpp_gnu_ld_version = x; then
20205 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
20206 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
20207 echo "configure:20208: checking for shared libgcc" >&5
20208 ac_save_CFLAGS="$CFLAGS"
20210 cat > conftest.$ac_ext <<EOF
20211 #line 20212 "configure"
20212 #include "confdefs.h"
20218 if { (eval echo configure:20219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20220 glibcpp_shared_libgcc=yes
20222 echo "configure: failed program was:" >&5
20223 cat conftest.$ac_ext >&5
20225 glibcpp_shared_libgcc=no
20228 CFLAGS="$ac_save_CFLAGS"
20229 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
20231 # For GNU ld, we need at least this version. It's 2.12 in the same format
20232 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
20233 glibcpp_min_gnu_ld_version=21200
20235 # Check to see if unspecified "yes" value can win, given results
20237 if test $enable_symvers = yes ; then
20238 if test $with_gnu_ld = yes &&
20239 test $glibcpp_shared_libgcc = yes ;
20241 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
20244 ac_test_CFLAGS="${CFLAGS+set}"
20245 ac_save_CFLAGS="$CFLAGS"
20246 CFLAGS='-shared -Wl,--version-script,conftest.map'
20249 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
20251 cat > conftest.$ac_ext <<EOF
20252 #line 20253 "configure"
20253 #include "confdefs.h"
20259 if { (eval echo configure:20260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20263 echo "configure: failed program was:" >&5
20264 cat conftest.$ac_ext >&5
20267 if test "$ac_test_CFLAGS" = set; then
20268 CFLAGS="$ac_save_CFLAGS"
20270 # this is the suspicious part
20276 # just fail for now
20281 case $enable_symvers in
20283 LINKER_MAP=config/linker-map.dummy
20286 LINKER_MAP=config/linker-map.gnu
20293 if test $enable_symvers != no; then
20294 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
20295 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
20297 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
20298 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
20300 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
20301 echo "configure:20302: checking versioning on shared library symbols" >&5
20302 echo "$ac_t""$enable_symvers" 1>&6
20305 # Propagate the target-specific source directories through the build chain.
20306 OS_INC_SRCDIR=$os_include_dir/bits
20307 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
20308 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
20313 # Set up cross-compile flags
20317 if test "$CANADIAN" = yes; then
20325 cat > confcache <<\EOF
20326 # This file is a shell script that caches the results of configure
20327 # tests run on this system so they can be shared between configure
20328 # scripts and configure runs. It is not useful on other systems.
20329 # If it contains results you don't want to keep, you may remove or edit it.
20331 # By default, configure uses ./config.cache as the cache file,
20332 # creating it if it does not exist already. You can give configure
20333 # the --cache-file=FILE option to use a different cache file; that is
20334 # what configure does when it calls configure scripts in
20335 # subdirectories, so they share the cache.
20336 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20337 # config.status only pays attention to the cache file if you give it the
20338 # --recheck option to rerun configure.
20341 # The following way of writing the cache mishandles newlines in values,
20342 # but we know of no workaround that is simple, portable, and efficient.
20343 # So, don't put newlines in cache variables' values.
20344 # Ultrix sh set writes to stderr and can't be redirected directly,
20345 # and sets the high bit in the cache file unless we assign to the vars.
20347 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20349 # `set' does not quote correctly, so add quotes (double-quote substitution
20350 # turns \\\\ into \\, and sed turns \\ into \).
20352 -e "s/'/'\\\\''/g" \
20353 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20356 # `set' quotes correctly as required by POSIX, so do not add quotes.
20357 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20360 if cmp -s $cache_file confcache; then
20363 if test -w $cache_file; then
20364 echo "updating cache $cache_file"
20365 cat confcache > $cache_file
20367 echo "not updating unwritable cache $cache_file"
20373 if test "${multilib}" = "yes"; then
20374 multilib_arg="--enable-multilib"
20379 # Needed so that g++ can find the correct include subdir automatically.
20382 # Export all the install information
20384 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
20385 # exported correctly in GLIBCPP_CONFIGURE.
20386 glibcpp_toolexecdir=no
20387 glibcpp_toolexeclibdir=no
20388 glibcpp_prefixdir=${prefix}
20390 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
20391 echo "configure:20392: checking for interface version number" >&5
20392 libstdcxx_interface=$INTERFACE
20393 echo "$ac_t""$libstdcxx_interface" 1>&6
20395 # Process the option --with-gxx-include-dir=<path to include-files directory>
20396 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
20397 echo "configure:20398: checking for --with-gxx-include-dir" >&5
20398 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
20399 if test "${with_gxx_include_dir+set}" = set; then
20400 withval="$with_gxx_include_dir"
20401 case "${withval}" in
20403 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
20410 gxx_include_dir=${withval}
20417 echo "$ac_t""$gxx_include_dir" 1>&6
20419 # Process the option "--enable-version-specific-runtime-libs"
20420 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
20421 echo "configure:20422: checking for --enable-version-specific-runtime-libs" >&5
20422 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
20423 if test "${enable_version_specific_runtime_libs+set}" = set; then
20424 enableval="$enable_version_specific_runtime_libs"
20425 case "$enableval" in
20426 yes) version_specific_libs=yes ;;
20427 no) version_specific_libs=no ;;
20428 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
20431 version_specific_libs=no
20433 # Option set, now we can test it.
20434 echo "$ac_t""$version_specific_libs" 1>&6
20436 if test $version_specific_libs = yes; then
20437 # Need the gcc compiler version to know where to install libraries
20438 # and header files if --enable-version-specific-runtime-libs option
20440 gcc_version_trigger=${srcdir}/../gcc/version.c
20441 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
20442 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
20443 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
20444 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
20445 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
20448 # Default case for install directory for include files.
20449 if test $version_specific_libs = no &&
20450 test $gxx_include_dir = no; then
20451 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
20454 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
20455 # Install a library built with a cross compiler in tooldir, not libdir.
20456 if test x"$glibcpp_toolexecdir" = x"no"; then
20457 if test -n "$with_cross_host" &&
20458 test x"$with_cross_host" != x"no"; then
20459 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
20460 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
20462 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
20463 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
20467 echo $ac_n "checking for install location""... $ac_c" 1>&6
20468 echo "configure:20469: checking for install location" >&5
20469 echo "$ac_t""$gxx_include_dir" 1>&6
20477 # Export all the include and flag information to makefiles.
20479 # Root level of the build directory include sources.
20480 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
20482 # Passed down for canadian crosses.
20483 if test x"$CANADIAN" = xyes; then
20484 TOPLEVEL_INCLUDES='-I$(includedir)'
20487 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
20489 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
20491 if test x"$need_libio" = xyes; then
20492 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
20496 # Now, export this to all the little Makefiles....
20503 # Optimization flags that are probably a good idea for thrill-seekers. Just
20504 # uncomment the lines below and make, everything else is ready to go...
20505 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
20509 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
20513 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
20514 grep "enable shared" > /dev/null; then
20515 LIBSUPCXX_PICFLAGS=-prefer-pic
20517 LIBSUPCXX_PICFLAGS=
20521 # Generate the various Makefiles, include files, and scripts.
20522 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
20523 # and libsupc++/Makefile.am so that multilib installs will end up
20524 # installed in the correct place. To work around this not being passed
20525 # down from config-ml.in -> top_srcdir/Makefile.am ->
20526 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
20528 cat > confcache <<\EOF
20529 # This file is a shell script that caches the results of configure
20530 # tests run on this system so they can be shared between configure
20531 # scripts and configure runs. It is not useful on other systems.
20532 # If it contains results you don't want to keep, you may remove or edit it.
20534 # By default, configure uses ./config.cache as the cache file,
20535 # creating it if it does not exist already. You can give configure
20536 # the --cache-file=FILE option to use a different cache file; that is
20537 # what configure does when it calls configure scripts in
20538 # subdirectories, so they share the cache.
20539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20540 # config.status only pays attention to the cache file if you give it the
20541 # --recheck option to rerun configure.
20544 # The following way of writing the cache mishandles newlines in values,
20545 # but we know of no workaround that is simple, portable, and efficient.
20546 # So, don't put newlines in cache variables' values.
20547 # Ultrix sh set writes to stderr and can't be redirected directly,
20548 # and sets the high bit in the cache file unless we assign to the vars.
20550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20552 # `set' does not quote correctly, so add quotes (double-quote substitution
20553 # turns \\\\ into \\, and sed turns \\ into \).
20555 -e "s/'/'\\\\''/g" \
20556 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20559 # `set' quotes correctly as required by POSIX, so do not add quotes.
20560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20563 if cmp -s $cache_file confcache; then
20566 if test -w $cache_file; then
20567 echo "updating cache $cache_file"
20568 cat confcache > $cache_file
20570 echo "not updating unwritable cache $cache_file"
20575 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20577 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20578 # Let make expand exec_prefix.
20579 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20581 # Any assignment to VPATH causes Sun make to only execute
20582 # the first set of double-colon rules, so remove it if not needed.
20583 # If there is a colon in the path, we need to keep it.
20584 if test "x$srcdir" = x.; then
20585 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
20588 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20590 DEFS=-DHAVE_CONFIG_H
20592 # Without the "./", some shells look in PATH for config.status.
20593 : ${CONFIG_STATUS=./config.status}
20595 echo creating $CONFIG_STATUS
20596 rm -f $CONFIG_STATUS
20597 cat > $CONFIG_STATUS <<EOF
20599 # Generated automatically by configure.
20600 # Run this file to recreate the current configuration.
20601 # This directory was configured as follows,
20602 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20604 # $0 $ac_configure_args
20606 # Compiler output produced by configure, useful for debugging
20607 # configure, is in ./config.log if it exists.
20609 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20612 case "\$ac_option" in
20613 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20614 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20615 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20616 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20617 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20619 -help | --help | --hel | --he | --h)
20620 echo "\$ac_cs_usage"; exit 0 ;;
20621 *) echo "\$ac_cs_usage"; exit 1 ;;
20625 ac_given_srcdir=$srcdir
20626 ac_given_INSTALL="$INSTALL"
20628 trap 'rm -fr `echo "Makefile \
20629 include/Makefile src/Makefile \
20630 libmath/Makefile libio/Makefile libsupc++/Makefile \
20631 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20633 cat >> $CONFIG_STATUS <<EOF
20635 # Protect against being on the right side of a sed subst in config.status.
20636 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20637 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20641 s%@CFLAGS@%$CFLAGS%g
20642 s%@CPPFLAGS@%$CPPFLAGS%g
20643 s%@CXXFLAGS@%$CXXFLAGS%g
20644 s%@FFLAGS@%$FFLAGS%g
20646 s%@LDFLAGS@%$LDFLAGS%g
20648 s%@exec_prefix@%$exec_prefix%g
20649 s%@prefix@%$prefix%g
20650 s%@program_transform_name@%$program_transform_name%g
20651 s%@bindir@%$bindir%g
20652 s%@sbindir@%$sbindir%g
20653 s%@libexecdir@%$libexecdir%g
20654 s%@datadir@%$datadir%g
20655 s%@sysconfdir@%$sysconfdir%g
20656 s%@sharedstatedir@%$sharedstatedir%g
20657 s%@localstatedir@%$localstatedir%g
20658 s%@libdir@%$libdir%g
20659 s%@includedir@%$includedir%g
20660 s%@oldincludedir@%$oldincludedir%g
20661 s%@infodir@%$infodir%g
20662 s%@mandir@%$mandir%g
20663 s%@PACKAGE@%$PACKAGE%g
20664 s%@release_VERSION@%$release_VERSION%g
20665 s%@libtool_VERSION@%$libtool_VERSION%g
20667 s%@host_alias@%$host_alias%g
20668 s%@host_cpu@%$host_cpu%g
20669 s%@host_vendor@%$host_vendor%g
20670 s%@host_os@%$host_os%g
20671 s%@target@%$target%g
20672 s%@target_alias@%$target_alias%g
20673 s%@target_cpu@%$target_cpu%g
20674 s%@target_vendor@%$target_vendor%g
20675 s%@target_os@%$target_os%g
20677 s%@build_alias@%$build_alias%g
20678 s%@build_cpu@%$build_cpu%g
20679 s%@build_vendor@%$build_vendor%g
20680 s%@build_os@%$build_os%g
20681 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20682 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20683 s%@INSTALL_DATA@%$INSTALL_DATA%g
20684 s%@VERSION@%$VERSION%g
20685 s%@ACLOCAL@%$ACLOCAL%g
20686 s%@AUTOCONF@%$AUTOCONF%g
20687 s%@AUTOMAKE@%$AUTOMAKE%g
20688 s%@AUTOHEADER@%$AUTOHEADER%g
20689 s%@MAKEINFO@%$MAKEINFO%g
20690 s%@SET_MAKE@%$SET_MAKE%g
20691 s%@toplevel_srcdir@%$toplevel_srcdir%g
20692 s%@glibcpp_builddir@%$glibcpp_builddir%g
20693 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
20696 s%@glibcpp_basedir@%$glibcpp_basedir%g
20698 s%@glibcpp_CXX@%$glibcpp_CXX%g
20701 s%@RANLIB@%$RANLIB%g
20702 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
20703 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
20705 s%@EXEEXT@%$EXEEXT%g
20706 s%@OBJEXT@%$OBJEXT%g
20708 s%@LIBTOOL@%$LIBTOOL%g
20709 s%@CXXCPP@%$CXXCPP%g
20710 s%@enable_shared@%$enable_shared%g
20711 s%@enable_static@%$enable_static%g
20712 s%@ifGNUmake@%$ifGNUmake%g
20713 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
20715 s%@CSTDIO_H@%$CSTDIO_H%g
20716 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
20717 s%@CCODECVT_C@%$CCODECVT_C%g
20718 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
20719 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
20720 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
20721 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
20722 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
20723 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
20724 s%@libio_la@%$libio_la%g
20725 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
20726 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
20727 s%@glibcpp_localedir@%$glibcpp_localedir%g
20728 s%@USE_NLS@%$USE_NLS%g
20729 s%@CLOCALE_H@%$CLOCALE_H%g
20730 s%@CCODECVT_H@%$CCODECVT_H%g
20731 s%@CMESSAGES_H@%$CMESSAGES_H%g
20732 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
20733 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
20734 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
20735 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
20736 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
20737 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
20738 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
20739 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
20740 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
20741 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
20742 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
20743 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
20744 s%@WERROR@%$WERROR%g
20745 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
20746 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
20747 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
20748 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
20749 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
20750 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
20751 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
20752 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
20753 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
20754 s%@gxx_include_dir@%$gxx_include_dir%g
20755 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
20756 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
20757 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
20758 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
20759 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
20760 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
20761 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
20762 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
20763 s%@WARN_FLAGS@%$WARN_FLAGS%g
20764 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
20769 cat >> $CONFIG_STATUS <<\EOF
20771 # Split the substitutions into bite-sized pieces for seds with
20772 # small command number limits, like on Digital OSF/1 and HP-UX.
20773 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20774 ac_file=1 # Number of current file.
20775 ac_beg=1 # First line for current file.
20776 ac_end=$ac_max_sed_cmds # Line after last line for current file.
20779 while $ac_more_lines; do
20780 if test $ac_beg -gt 1; then
20781 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20783 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20785 if test ! -s conftest.s$ac_file; then
20786 ac_more_lines=false
20787 rm -f conftest.s$ac_file
20789 if test -z "$ac_sed_cmds"; then
20790 ac_sed_cmds="sed -f conftest.s$ac_file"
20792 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20794 ac_file=`expr $ac_file + 1`
20796 ac_end=`expr $ac_end + $ac_max_sed_cmds`
20799 if test -z "$ac_sed_cmds"; then
20804 cat >> $CONFIG_STATUS <<EOF
20806 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
20807 include/Makefile src/Makefile \
20808 libmath/Makefile libio/Makefile libsupc++/Makefile \
20809 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
20811 cat >> $CONFIG_STATUS <<\EOF
20812 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
20813 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20815 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20816 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20817 *) ac_file_in="${ac_file}.in" ;;
20820 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20822 # Remove last slash and all that follows it. Not all systems have dirname.
20823 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20824 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20825 # The file is in a subdirectory.
20826 test ! -d "$ac_dir" && mkdir "$ac_dir"
20827 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
20828 # A "../" for each directory in $ac_dir_suffix.
20829 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20831 ac_dir_suffix= ac_dots=
20834 case "$ac_given_srcdir" in
20836 if test -z "$ac_dots"; then top_srcdir=.
20837 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20838 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20839 *) # Relative path.
20840 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20841 top_srcdir="$ac_dots$ac_given_srcdir" ;;
20844 case "$ac_given_INSTALL" in
20845 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20846 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20849 echo creating "$ac_file"
20851 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20853 *Makefile*) ac_comsub="1i\\
20854 # $configure_input" ;;
20858 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20860 s%@configure_input@%$configure_input%g
20861 s%@srcdir@%$srcdir%g
20862 s%@top_srcdir@%$top_srcdir%g
20863 s%@INSTALL@%$INSTALL%g
20864 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20868 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20869 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20871 # ac_d sets the value in "#define NAME VALUE" lines.
20872 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20873 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20876 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20877 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20878 ac_uB='\([ ]\)%\1#\2define\3'
20881 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20882 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20883 ac_eB='$%\1#\2define\3'
20887 if test "${CONFIG_HEADERS+set}" != set; then
20889 cat >> $CONFIG_STATUS <<EOF
20890 CONFIG_HEADERS="config.h"
20892 cat >> $CONFIG_STATUS <<\EOF
20894 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20895 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20897 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20898 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20899 *) ac_file_in="${ac_file}.in" ;;
20902 echo creating $ac_file
20904 rm -f conftest.frag conftest.in conftest.out
20905 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20906 cat $ac_file_inputs > conftest.in
20910 # Transform confdefs.h into a sed script conftest.vals that substitutes
20911 # the proper values into config.h.in to produce config.h. And first:
20912 # Protect against being on the right side of a sed subst in config.status.
20913 # Protect against being in an unquoted here document in config.status.
20914 rm -f conftest.vals
20915 cat > conftest.hdr <<\EOF
20918 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20922 sed -n -f conftest.hdr confdefs.h > conftest.vals
20925 # This sed command replaces #undef with comments. This is necessary, for
20926 # example, in the case of _POSIX_SOURCE, which is predefined and required
20927 # on some systems where configure will not decide to define it.
20928 cat >> conftest.vals <<\EOF
20929 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20932 # Break up conftest.vals because some shells have a limit on
20933 # the size of here documents, and old seds have small limits too.
20935 rm -f conftest.tail
20938 ac_lines=`grep -c . conftest.vals`
20939 # grep -c gives empty output for an empty file on some AIX systems.
20940 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20941 # Write a limited-size here document to conftest.frag.
20942 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20943 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20945 sed -f conftest.frag conftest.in > conftest.out
20947 mv conftest.out conftest.in
20948 ' >> $CONFIG_STATUS
20949 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20950 rm -f conftest.vals
20951 mv conftest.tail conftest.vals
20953 rm -f conftest.vals
20955 cat >> $CONFIG_STATUS <<\EOF
20956 rm -f conftest.frag conftest.h
20957 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20958 cat conftest.in >> conftest.h
20960 if cmp -s $ac_file conftest.h 2>/dev/null; then
20961 echo "$ac_file is unchanged"
20964 # Remove last slash and all that follows it. Not all systems have dirname.
20965 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20966 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20967 # The file is in a subdirectory.
20968 test ! -d "$ac_dir" && mkdir "$ac_dir"
20971 mv conftest.h $ac_file
20977 cat >> $CONFIG_STATUS <<EOF
20978 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
20979 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"
20982 cat >> $CONFIG_STATUS <<\EOF
20983 srcdir=$ac_given_srcdir
20984 while test -n "$ac_sources"; do
20985 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
20986 set $ac_sources; ac_source=$1; shift; ac_sources=$*
20988 echo "linking $srcdir/$ac_source to $ac_dest"
20990 if test ! -r $srcdir/$ac_source; then
20991 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
20995 # Make relative symlinks.
20996 # Remove last slash and all that follows it. Not all systems have dirname.
20997 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
20998 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
20999 # The dest file is in a subdirectory.
21000 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
21001 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
21002 # A "../" for each directory in $ac_dest_dir_suffix.
21003 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
21005 ac_dest_dir_suffix= ac_dots=
21009 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
21010 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
21013 # Make a symlink if possible; otherwise try a hard link.
21014 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21015 ln $srcdir/$ac_source $ac_dest; then :
21017 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
21021 cat >> $CONFIG_STATUS <<EOF
21026 with_multisubdir=${with_multisubdir}
21027 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21028 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21029 glibcpp_basedir=${glibcpp_basedir}
21034 cat >> $CONFIG_STATUS <<\EOF
21035 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
21036 if test -n "$CONFIG_FILES"; then
21037 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
21038 grep '^MULTISUBDIR =' Makefile >> src/Makefile
21039 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
21042 chmod +x testsuite_flags
21046 chmod +x $CONFIG_STATUS
21047 rm -fr confdefs* $ac_clean_files
21048 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21052 # Sanity checking & User-visible messages.
21053 # Checks down here, otherwise they get scrolled off before
21054 # the user will notice.
21056 # Trying to get more people to read documentation. Possibly remove
21057 # check and warn all the time. There is no "informational" AC_MSG_
21058 # macro, so these are going to be printed even when --quiet/--silent
21060 if test ! -f stamp-sanity-warned; then
21061 touch stamp-sanity-warned
21063 echo "Please make certain that you read the installation information here:"
21064 echo " faster => ${srcdir}/docs/install.html"
21065 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
21067 echo "and the configuration information here:"
21068 echo " faster => ${srcdir}/docs/configopts.html"
21069 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
21071 echo "before proceeding with ${_cv_gnu_make_command}."