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-nls use Native Language Support (default)"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-cheaders construct "C" header files for g++ [default=c_std]"
57 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
60 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
62 --enable-libunwind-exceptions force use of libunwind for exceptions"
64 --enable-concept-checks use Boost-derived template checks [default=no]"
66 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
68 --with-gxx-include-dir the installation directory for include files"
70 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
72 # Initialize some variables set by options.
73 # The variables have the same names as the options, with
74 # dashes changed to underlines.
76 cache_file=./config.cache
85 program_transform_name=s,x,x,
93 bindir='${exec_prefix}/bin'
94 sbindir='${exec_prefix}/sbin'
95 libexecdir='${exec_prefix}/libexec'
96 datadir='${prefix}/share'
97 sysconfdir='${prefix}/etc'
98 sharedstatedir='${prefix}/com'
99 localstatedir='${prefix}/var'
100 libdir='${exec_prefix}/lib'
101 includedir='${prefix}/include'
102 oldincludedir='/usr/include'
103 infodir='${prefix}/info'
104 mandir='${prefix}/man'
106 # Initialize some other variables.
109 SHELL=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
117 # If the previous option needs an argument, assign it.
118 if test -n "$ac_prev"; then
119 eval "$ac_prev=\$ac_option"
125 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
129 # Accept the important Cygnus configure options, so we can diagnose typos.
133 -bindir | --bindir | --bindi | --bind | --bin | --bi)
135 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
136 bindir="$ac_optarg" ;;
138 -build | --build | --buil | --bui | --bu)
140 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
141 build="$ac_optarg" ;;
143 -cache-file | --cache-file | --cache-fil | --cache-fi \
144 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
145 ac_prev=cache_file ;;
146 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
147 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
148 cache_file="$ac_optarg" ;;
150 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
152 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
154 datadir="$ac_optarg" ;;
156 -disable-* | --disable-*)
157 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
158 # Reject names that are not valid shell variable names.
159 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
160 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
162 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}=no" ;;
165 -enable-* | --enable-*)
166 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
167 # Reject names that are not valid shell variable names.
168 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
169 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
171 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
176 eval "enable_${ac_feature}='$ac_optarg'" ;;
178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
180 | --exec | --exe | --ex)
181 ac_prev=exec_prefix ;;
182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
184 | --exec=* | --exe=* | --ex=*)
185 exec_prefix="$ac_optarg" ;;
187 -gas | --gas | --ga | --g)
188 # Obsolete; use --with-gas.
191 -help | --help | --hel | --he)
192 # Omit some internal or obsolete options to make the list less imposing.
193 # This message is too long to be a string in the A/UX 3.1 sh.
195 Usage: configure [options] [host]
196 Options: [defaults in brackets after descriptions]
198 --cache-file=FILE cache test results in FILE
199 --help print this message
200 --no-create do not create output files
201 --quiet, --silent do not print \`checking...' messages
202 --version print the version of autoconf that created configure
203 Directory and file names:
204 --prefix=PREFIX install architecture-independent files in PREFIX
206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
208 --bindir=DIR user executables in DIR [EPREFIX/bin]
209 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
210 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
211 --datadir=DIR read-only architecture-independent data in DIR
213 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
214 --sharedstatedir=DIR modifiable architecture-independent data in DIR
216 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
217 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
218 --includedir=DIR C header files in DIR [PREFIX/include]
219 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
220 --infodir=DIR info documentation in DIR [PREFIX/info]
221 --mandir=DIR man documentation in DIR [PREFIX/man]
222 --srcdir=DIR find the sources in DIR [configure dir or ..]
223 --program-prefix=PREFIX prepend PREFIX to installed program names
224 --program-suffix=SUFFIX append SUFFIX to installed program names
225 --program-transform-name=PROGRAM
226 run sed PROGRAM on installed program names
230 --build=BUILD configure for building on BUILD [BUILD=HOST]
231 --host=HOST configure for HOST [guessed]
232 --target=TARGET configure for TARGET [TARGET=HOST]
233 Features and packages:
234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
236 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
237 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
238 --x-includes=DIR X include files are in DIR
239 --x-libraries=DIR X library files are in DIR
241 if test -n "$ac_help"; then
242 echo "--enable and --with options recognized:$ac_help"
246 -host | --host | --hos | --ho)
248 -host=* | --host=* | --hos=* | --ho=*)
251 -includedir | --includedir | --includedi | --included | --include \
252 | --includ | --inclu | --incl | --inc)
253 ac_prev=includedir ;;
254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
255 | --includ=* | --inclu=* | --incl=* | --inc=*)
256 includedir="$ac_optarg" ;;
258 -infodir | --infodir | --infodi | --infod | --info | --inf)
260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
261 infodir="$ac_optarg" ;;
263 -libdir | --libdir | --libdi | --libd)
265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
266 libdir="$ac_optarg" ;;
268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
269 | --libexe | --libex | --libe)
270 ac_prev=libexecdir ;;
271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
272 | --libexe=* | --libex=* | --libe=*)
273 libexecdir="$ac_optarg" ;;
275 -localstatedir | --localstatedir | --localstatedi | --localstated \
276 | --localstate | --localstat | --localsta | --localst \
277 | --locals | --local | --loca | --loc | --lo)
278 ac_prev=localstatedir ;;
279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
280 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
281 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
282 localstatedir="$ac_optarg" ;;
284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
287 mandir="$ac_optarg" ;;
290 # Obsolete; use --without-fp.
293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
303 | --oldin | --oldi | --old | --ol | --o)
304 ac_prev=oldincludedir ;;
305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
308 oldincludedir="$ac_optarg" ;;
310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
313 prefix="$ac_optarg" ;;
315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
316 | --program-pre | --program-pr | --program-p)
317 ac_prev=program_prefix ;;
318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
320 program_prefix="$ac_optarg" ;;
322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
323 | --program-suf | --program-su | --program-s)
324 ac_prev=program_suffix ;;
325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
327 program_suffix="$ac_optarg" ;;
329 -program-transform-name | --program-transform-name \
330 | --program-transform-nam | --program-transform-na \
331 | --program-transform-n | --program-transform- \
332 | --program-transform | --program-transfor \
333 | --program-transfo | --program-transf \
334 | --program-trans | --program-tran \
335 | --progr-tra | --program-tr | --program-t)
336 ac_prev=program_transform_name ;;
337 -program-transform-name=* | --program-transform-name=* \
338 | --program-transform-nam=* | --program-transform-na=* \
339 | --program-transform-n=* | --program-transform-=* \
340 | --program-transform=* | --program-transfor=* \
341 | --program-transfo=* | --program-transf=* \
342 | --program-trans=* | --program-tran=* \
343 | --progr-tra=* | --program-tr=* | --program-t=*)
344 program_transform_name="$ac_optarg" ;;
346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
347 | -silent | --silent | --silen | --sile | --sil)
350 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
352 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
354 sbindir="$ac_optarg" ;;
356 -sharedstatedir | --sharedstatedir | --sharedstatedi \
357 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
358 | --sharedst | --shareds | --shared | --share | --shar \
360 ac_prev=sharedstatedir ;;
361 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
362 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
363 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
365 sharedstatedir="$ac_optarg" ;;
367 -site | --site | --sit)
369 -site=* | --site=* | --sit=*)
372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
375 srcdir="$ac_optarg" ;;
377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
378 | --syscon | --sysco | --sysc | --sys | --sy)
379 ac_prev=sysconfdir ;;
380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
382 sysconfdir="$ac_optarg" ;;
384 -target | --target | --targe | --targ | --tar | --ta | --t)
386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
387 target="$ac_optarg" ;;
389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
392 -version | --version | --versio | --versi | --vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* | --without-*)
410 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
423 | --x-incl | --x-inc | --x-in | --x-i)
424 ac_prev=x_includes ;;
425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
427 x_includes="$ac_optarg" ;;
429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
431 ac_prev=x_libraries ;;
432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
434 x_libraries="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c) ;;
486 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
487 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file=src/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE; then
539 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
544 for ac_site_file in $CONFIG_SITE; do
545 if test -r "$ac_site_file"; then
546 echo "loading site script $ac_site_file"
551 if test -r "$cache_file"; then
552 echo "loading cache $cache_file"
555 echo "creating cache $cache_file"
560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561 ac_cpp='$CPP $CPPFLAGS'
562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564 cross_compiling=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
577 ac_n= ac_c='\c' ac_t=
582 # This works around the fact that libtool configuration may change LD
583 # for this particular configuration, but some shells, instead of
584 # keeping the changes in LD private, export them just because LD is
586 ORIGINAL_LD_FOR_MULTILIBS=$LD
590 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
591 release_VERSION=3.1.1
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=4:1:0
597 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
598 # AC 2.5x sets target_alias iff the user specified --target, but we use it
599 # everywhere, so we set it here just to be sure. In AC 2.13
600 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
602 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
603 if test -f $ac_dir/install-sh; then
605 ac_install_sh="$ac_aux_dir/install-sh -c"
607 elif test -f $ac_dir/install.sh; then
609 ac_install_sh="$ac_aux_dir/install.sh -c"
613 if test -z "$ac_aux_dir"; then
614 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
616 ac_config_guess=$ac_aux_dir/config.guess
617 ac_config_sub=$ac_aux_dir/config.sub
618 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
621 # Do some error checking and defaulting for the host and target type.
623 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
626 # 1. You are not allowed to specify --host, --target, and nonopt at the
628 # 2. Host defaults to nonopt.
629 # 3. If nonopt is not specified, then host defaults to the current host,
630 # as determined by config.guess.
631 # 4. Target and build default to nonopt.
632 # 5. If nonopt is not specified, then target and build default to host.
634 # The aliases save the names the user supplied, while $host etc.
635 # will get canonicalized.
636 case $host---$target---$nonopt in
637 NONE---*---* | *---NONE---* | *---*---NONE) ;;
638 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
642 # Make sure we can run config.sub.
643 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
644 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
647 echo $ac_n "checking host system type""... $ac_c" 1>&6
648 echo "configure:649: checking host system type" >&5
651 case "$host_alias" in
655 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
656 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
658 *) host_alias=$nonopt ;;
662 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
663 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
664 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
665 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
666 echo "$ac_t""$host" 1>&6
668 echo $ac_n "checking target system type""... $ac_c" 1>&6
669 echo "configure:670: checking target system type" >&5
672 case "$target_alias" in
675 NONE) target_alias=$host_alias ;;
676 *) target_alias=$nonopt ;;
680 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
681 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
682 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
683 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
684 echo "$ac_t""$target" 1>&6
686 echo $ac_n "checking build system type""... $ac_c" 1>&6
687 echo "configure:688: checking build system type" >&5
690 case "$build_alias" in
693 NONE) build_alias=$host_alias ;;
694 *) build_alias=$nonopt ;;
698 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
699 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
700 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
701 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
702 echo "$ac_t""$build" 1>&6
704 test "$host_alias" != "$target_alias" &&
705 test "$program_prefix$program_suffix$program_transform_name" = \
707 program_prefix=${target_alias}-
709 target_alias=${target_alias-$target}
712 # Find a good install program. We prefer a C program (faster),
713 # so one script is as good as another. But avoid the broken or
714 # incompatible versions:
715 # SysV /etc/install, /usr/sbin/install
716 # SunOS /usr/etc/install
719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
722 # ./install, which can be erroneously created by make from ./install.sh.
723 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
724 echo "configure:725: checking for a BSD compatible install" >&5
725 if test -z "$INSTALL"; then
726 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
727 echo $ac_n "(cached) $ac_c" 1>&6
729 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
730 for ac_dir in $PATH; do
731 # Account for people who put trailing slashes in PATH elements.
733 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
735 # OSF1 and SCO ODT 3.0 have their own names for install.
736 # Don't use installbsd from OSF since it installs stuff as root
738 for ac_prog in ginstall scoinst install; do
739 if test -f $ac_dir/$ac_prog; then
740 if test $ac_prog = install &&
741 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
742 # AIX install. It has an incompatible calling convention.
745 ac_cv_path_install="$ac_dir/$ac_prog -c"
756 if test "${ac_cv_path_install+set}" = set; then
757 INSTALL="$ac_cv_path_install"
759 # As a last resort, use the slow shell script. We don't cache a
760 # path for INSTALL within a source directory, because that will
761 # break other packages using the cache if that directory is
762 # removed, or if the path is relative.
763 INSTALL="$ac_install_sh"
766 echo "$ac_t""$INSTALL" 1>&6
768 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
769 # It thinks the first close brace ends the variable substitution.
770 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
772 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
774 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
776 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
777 echo "configure:778: checking whether build environment is sane" >&5
780 echo timestamp > conftestfile
781 # Do `set' in a subshell so we don't clobber the current shell's
782 # arguments. Must try -L first in case configure is actually a
783 # symlink; some systems play weird games with the mod time of symlinks
784 # (eg FreeBSD returns the mod time of the symlink's containing
787 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
788 if test "$*" = "X"; then
790 set X `ls -t $srcdir/configure conftestfile`
792 if test "$*" != "X $srcdir/configure conftestfile" \
793 && test "$*" != "X conftestfile $srcdir/configure"; then
795 # If neither matched, then we have a broken ls. This can happen
796 # if, for instance, CONFIG_SHELL is bash and it inherits a
797 # broken ls alias from the environment. This has actually
798 # happened. Such a system could not be considered "sane".
799 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
800 alias in your environment" 1>&2; exit 1; }
803 test "$2" = conftestfile
809 { echo "configure: error: newly created file is older than distributed files!
810 Check your system clock" 1>&2; exit 1; }
813 echo "$ac_t""yes" 1>&6
814 if test "$program_transform_name" = s,x,x,; then
815 program_transform_name=
817 # Double any \ or $. echo might interpret backslashes.
818 cat <<\EOF_SED > conftestsed
819 s,\\,\\\\,g; s,\$,$$,g
821 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
824 test "$program_prefix" != NONE &&
825 program_transform_name="s,^,${program_prefix},; $program_transform_name"
826 # Use a double $ so make ignores it.
827 test "$program_suffix" != NONE &&
828 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
830 # sed with no file args requires a program.
831 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
833 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
834 echo "configure:835: checking whether ${MAKE-make} sets \${MAKE}" >&5
835 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
836 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
837 echo $ac_n "(cached) $ac_c" 1>&6
839 cat > conftestmake <<\EOF
841 @echo 'ac_maketemp="${MAKE}"'
843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
844 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
845 if test -n "$ac_maketemp"; then
846 eval ac_cv_prog_make_${ac_make}_set=yes
848 eval ac_cv_prog_make_${ac_make}_set=no
852 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
853 echo "$ac_t""yes" 1>&6
856 echo "$ac_t""no" 1>&6
857 SET_MAKE="MAKE=${MAKE-make}"
863 VERSION=$release_VERSION
865 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
866 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
868 cat >> confdefs.h <<EOF
869 #define PACKAGE "$PACKAGE"
872 cat >> confdefs.h <<EOF
873 #define VERSION "$VERSION"
878 missing_dir=`cd $ac_aux_dir && pwd`
879 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
880 echo "configure:881: checking for working aclocal" >&5
881 # Run test in a subshell; some versions of sh will print an error if
882 # an executable is not found, even if stderr is redirected.
883 # Redirect stdin to placate older versions of autoconf. Sigh.
884 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
886 echo "$ac_t""found" 1>&6
888 ACLOCAL="$missing_dir/missing aclocal"
889 echo "$ac_t""missing" 1>&6
892 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
893 echo "configure:894: checking for working autoconf" >&5
894 # Run test in a subshell; some versions of sh will print an error if
895 # an executable is not found, even if stderr is redirected.
896 # Redirect stdin to placate older versions of autoconf. Sigh.
897 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
899 echo "$ac_t""found" 1>&6
901 AUTOCONF="$missing_dir/missing autoconf"
902 echo "$ac_t""missing" 1>&6
905 echo $ac_n "checking for working automake""... $ac_c" 1>&6
906 echo "configure:907: checking for working automake" >&5
907 # Run test in a subshell; some versions of sh will print an error if
908 # an executable is not found, even if stderr is redirected.
909 # Redirect stdin to placate older versions of autoconf. Sigh.
910 if (automake --version) < /dev/null > /dev/null 2>&1; then
912 echo "$ac_t""found" 1>&6
914 AUTOMAKE="$missing_dir/missing automake"
915 echo "$ac_t""missing" 1>&6
918 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
919 echo "configure:920: checking for working autoheader" >&5
920 # Run test in a subshell; some versions of sh will print an error if
921 # an executable is not found, even if stderr is redirected.
922 # Redirect stdin to placate older versions of autoconf. Sigh.
923 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
924 AUTOHEADER=autoheader
925 echo "$ac_t""found" 1>&6
927 AUTOHEADER="$missing_dir/missing autoheader"
928 echo "$ac_t""missing" 1>&6
931 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
932 echo "configure:933: checking for working makeinfo" >&5
933 # Run test in a subshell; some versions of sh will print an error if
934 # an executable is not found, even if stderr is redirected.
935 # Redirect stdin to placate older versions of autoconf. Sigh.
936 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
938 echo "$ac_t""found" 1>&6
940 MAKEINFO="$missing_dir/missing makeinfo"
941 echo "$ac_t""missing" 1>&6
949 # Runs configure.host and configure.target, as well as finds CC, CXX
950 # and assorted other critical bits. Have to run this before the
951 # GLIBCPP_ENABLE_* macros below.
952 if test $host != $build; then
953 ac_tool_prefix=${host_alias}-
958 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
959 echo "configure:960: checking for Cygwin environment" >&5
960 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
961 echo $ac_n "(cached) $ac_c" 1>&6
963 cat > conftest.$ac_ext <<EOF
964 #line 965 "configure"
965 #include "confdefs.h"
970 #define __CYGWIN__ __CYGWIN32__
975 if { (eval echo configure:976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
979 echo "configure: failed program was:" >&5
980 cat conftest.$ac_ext >&5
988 echo "$ac_t""$ac_cv_cygwin" 1>&6
990 test "$ac_cv_cygwin" = yes && CYGWIN=yes
991 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
992 echo "configure:993: checking for mingw32 environment" >&5
993 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
994 echo $ac_n "(cached) $ac_c" 1>&6
996 cat > conftest.$ac_ext <<EOF
997 #line 998 "configure"
998 #include "confdefs.h"
1004 if { (eval echo configure:1005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1008 echo "configure: failed program was:" >&5
1009 cat conftest.$ac_ext >&5
1017 echo "$ac_t""$ac_cv_mingw32" 1>&6
1019 test "$ac_cv_mingw32" = yes && MINGW32=yes
1021 # Check whether --enable-multilib or --disable-multilib was given.
1022 if test "${enable_multilib+set}" = set; then
1023 enableval="$enable_multilib"
1024 case "${enableval}" in
1025 yes) multilib=yes ;;
1027 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1033 # When building with srcdir == objdir, links to the source files will
1034 # be created in directories within the target_subdir. We have to
1035 # adjust toplevel_srcdir accordingly, so that configure finds
1036 # install-sh and other auxiliary files that live in the top-level
1038 if test "${srcdir}" = "."; then
1039 if test -z "${with_target_subdir}"; then
1042 if test "${with_target_subdir}" != "."; then
1043 toprel="${with_multisrctop}../.."
1045 toprel="${with_multisrctop}.."
1052 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1053 if test -f $ac_dir/install-sh; then
1055 ac_install_sh="$ac_aux_dir/install-sh -c"
1057 elif test -f $ac_dir/install.sh; then
1059 ac_install_sh="$ac_aux_dir/install.sh -c"
1063 if test -z "$ac_aux_dir"; then
1064 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1066 ac_config_guess=$ac_aux_dir/config.guess
1067 ac_config_sub=$ac_aux_dir/config.sub
1068 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1070 toplevel_srcdir=\${top_srcdir}/$toprel
1073 # Export build and source directories.
1074 # These need to be absolute paths, yet at the same time need to
1075 # canonicalize only relative paths, because then amd will not unmount
1076 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1077 glibcpp_builddir=`${PWDCMD-pwd}`
1079 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1080 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1087 for ac_prog in gawk mawk nawk awk
1089 # Extract the first word of "$ac_prog", so it can be a program name with args.
1090 set dummy $ac_prog; ac_word=$2
1091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1092 echo "configure:1093: checking for $ac_word" >&5
1093 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1094 echo $ac_n "(cached) $ac_c" 1>&6
1096 if test -n "$AWK"; then
1097 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1101 for ac_dir in $ac_dummy; do
1102 test -z "$ac_dir" && ac_dir=.
1103 if test -f $ac_dir/$ac_word; then
1104 ac_cv_prog_AWK="$ac_prog"
1111 AWK="$ac_cv_prog_AWK"
1112 if test -n "$AWK"; then
1113 echo "$ac_t""$AWK" 1>&6
1115 echo "$ac_t""no" 1>&6
1118 test -n "$AWK" && break
1121 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1122 # be 'cp -p' if linking isn't available.
1123 #ac_cv_prog_LN_S='cp -p'
1124 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1125 echo "configure:1126: checking whether ln -s works" >&5
1126 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1127 echo $ac_n "(cached) $ac_c" 1>&6
1130 if ln -s X conftestdata 2>/dev/null
1133 ac_cv_prog_LN_S="ln -s"
1138 LN_S="$ac_cv_prog_LN_S"
1139 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1140 echo "$ac_t""yes" 1>&6
1142 echo "$ac_t""no" 1>&6
1146 # We use these options to decide which functions to include.
1147 # Check whether --with-target-subdir or --without-target-subdir was given.
1148 if test "${with_target_subdir+set}" = set; then
1149 withval="$with_target_subdir"
1153 # Check whether --with-cross-host or --without-cross-host was given.
1154 if test "${with_cross_host+set}" = set; then
1155 withval="$with_cross_host"
1160 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1163 # Never versions of autoconf add an underscore to these functions.
1164 # Prevent future problems ...
1171 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1172 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1173 # are probably using a cross compiler, which will not be able to fully
1174 # link an executable. This is addressed in later versions of autoconf.
1179 # Extract the first word of "gcc", so it can be a program name with args.
1180 set dummy gcc; ac_word=$2
1181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1182 echo "configure:1183: checking for $ac_word" >&5
1183 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 if test -n "$CC"; then
1187 ac_cv_prog_CC="$CC" # Let the user override the test.
1189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1191 for ac_dir in $ac_dummy; do
1192 test -z "$ac_dir" && ac_dir=.
1193 if test -f $ac_dir/$ac_word; then
1202 if test -n "$CC"; then
1203 echo "$ac_t""$CC" 1>&6
1205 echo "$ac_t""no" 1>&6
1208 if test -z "$CC"; then
1209 # Extract the first word of "cc", so it can be a program name with args.
1210 set dummy cc; ac_word=$2
1211 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1212 echo "configure:1213: checking for $ac_word" >&5
1213 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1214 echo $ac_n "(cached) $ac_c" 1>&6
1216 if test -n "$CC"; then
1217 ac_cv_prog_CC="$CC" # Let the user override the test.
1219 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1222 for ac_dir in $ac_dummy; do
1223 test -z "$ac_dir" && ac_dir=.
1224 if test -f $ac_dir/$ac_word; then
1225 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1226 ac_prog_rejected=yes
1234 if test $ac_prog_rejected = yes; then
1235 # We found a bogon in the path, so make sure we never use it.
1236 set dummy $ac_cv_prog_CC
1238 if test $# -gt 0; then
1239 # We chose a different compiler from the bogus one.
1240 # However, it has the same basename, so the bogon will be chosen
1241 # first if we set CC to just the basename; use the full file name.
1243 set dummy "$ac_dir/$ac_word" "$@"
1251 if test -n "$CC"; then
1252 echo "$ac_t""$CC" 1>&6
1254 echo "$ac_t""no" 1>&6
1257 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1260 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1261 echo "configure:1262: checking whether we are using GNU C" >&5
1262 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1263 echo $ac_n "(cached) $ac_c" 1>&6
1265 cat > conftest.c <<EOF
1270 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1277 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1279 if test $ac_cv_prog_gcc = yes; then
1281 ac_test_CFLAGS="${CFLAGS+set}"
1282 ac_save_CFLAGS="$CFLAGS"
1284 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1285 echo "configure:1286: checking whether ${CC-cc} accepts -g" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1289 echo 'void f(){}' > conftest.c
1290 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1299 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1300 if test "$ac_test_CFLAGS" = set; then
1301 CFLAGS="$ac_save_CFLAGS"
1302 elif test $ac_cv_prog_cc_g = yes; then
1309 test "${CFLAGS+set}" = set || CFLAGS="-g"
1313 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1314 # will try to link in libstdc++.
1318 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1319 # flags that come in CXX while configuring libstdc++. They're different
1320 # from those used for all other target libraries. If CXX is set in
1321 # the environment, respect that here.
1323 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1325 # Extract the first word of "$ac_prog", so it can be a program name with args.
1326 set dummy $ac_prog; ac_word=$2
1327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1328 echo "configure:1329: checking for $ac_word" >&5
1329 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1332 if test -n "$glibcpp_CXX"; then
1333 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1337 for ac_dir in $ac_dummy; do
1338 test -z "$ac_dir" && ac_dir=.
1339 if test -f $ac_dir/$ac_word; then
1340 ac_cv_prog_glibcpp_CXX="$ac_prog"
1347 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1348 if test -n "$glibcpp_CXX"; then
1349 echo "$ac_t""$glibcpp_CXX" 1>&6
1351 echo "$ac_t""no" 1>&6
1354 test -n "$glibcpp_CXX" && break
1356 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1360 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1362 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1363 echo "configure:1364: checking whether we are using GNU C++" >&5
1364 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1365 echo $ac_n "(cached) $ac_c" 1>&6
1367 cat > conftest.C <<EOF
1372 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1379 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1381 if test $ac_cv_prog_gxx = yes; then
1383 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1384 ac_save_CXXFLAGS="$CXXFLAGS"
1386 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1387 echo "configure:1388: checking whether ${CXX-g++} accepts -g" >&5
1388 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1389 echo $ac_n "(cached) $ac_c" 1>&6
1391 echo 'void f(){}' > conftest.cc
1392 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1393 ac_cv_prog_cxx_g=yes
1401 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1402 if test "$ac_test_CXXFLAGS" = set; then
1403 CXXFLAGS="$ac_save_CXXFLAGS"
1404 elif test $ac_cv_prog_cxx_g = yes; then
1411 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1415 # For some reason, gettext needs this.
1417 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1418 echo "configure:1419: checking for strerror in -lcposix" >&5
1419 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1421 echo $ac_n "(cached) $ac_c" 1>&6
1423 ac_save_LIBS="$LIBS"
1424 LIBS="-lcposix $LIBS"
1425 cat > conftest.$ac_ext <<EOF
1426 #line 1427 "configure"
1427 #include "confdefs.h"
1428 /* Override any gcc2 internal prototype to avoid an error. */
1429 /* We use char because int might match the return type of a gcc2
1430 builtin and then its argument prototype would still apply. */
1437 if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1439 eval "ac_cv_lib_$ac_lib_var=yes"
1441 echo "configure: failed program was:" >&5
1442 cat conftest.$ac_ext >&5
1444 eval "ac_cv_lib_$ac_lib_var=no"
1447 LIBS="$ac_save_LIBS"
1450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1451 echo "$ac_t""yes" 1>&6
1452 LIBS="$LIBS -lcposix"
1454 echo "$ac_t""no" 1>&6
1460 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1461 set dummy ${ac_tool_prefix}as; ac_word=$2
1462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1463 echo "configure:1464: checking for $ac_word" >&5
1464 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1465 echo $ac_n "(cached) $ac_c" 1>&6
1467 if test -n "$AS"; then
1468 ac_cv_prog_AS="$AS" # Let the user override the test.
1470 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1472 for ac_dir in $ac_dummy; do
1473 test -z "$ac_dir" && ac_dir=.
1474 if test -f $ac_dir/$ac_word; then
1475 ac_cv_prog_AS="${ac_tool_prefix}as"
1480 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1484 if test -n "$AS"; then
1485 echo "$ac_t""$AS" 1>&6
1487 echo "$ac_t""no" 1>&6
1492 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1493 set dummy ${ac_tool_prefix}ar; ac_word=$2
1494 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1495 echo "configure:1496: checking for $ac_word" >&5
1496 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1497 echo $ac_n "(cached) $ac_c" 1>&6
1499 if test -n "$AR"; then
1500 ac_cv_prog_AR="$AR" # Let the user override the test.
1502 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1504 for ac_dir in $ac_dummy; do
1505 test -z "$ac_dir" && ac_dir=.
1506 if test -f $ac_dir/$ac_word; then
1507 ac_cv_prog_AR="${ac_tool_prefix}ar"
1512 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1516 if test -n "$AR"; then
1517 echo "$ac_t""$AR" 1>&6
1519 echo "$ac_t""no" 1>&6
1524 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1525 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1527 echo "configure:1528: checking for $ac_word" >&5
1528 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1529 echo $ac_n "(cached) $ac_c" 1>&6
1531 if test -n "$RANLIB"; then
1532 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1534 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1536 for ac_dir in $ac_dummy; do
1537 test -z "$ac_dir" && ac_dir=.
1538 if test -f $ac_dir/$ac_word; then
1539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1546 RANLIB="$ac_cv_prog_RANLIB"
1547 if test -n "$RANLIB"; then
1548 echo "$ac_t""$RANLIB" 1>&6
1550 echo "$ac_t""no" 1>&6
1554 if test -z "$ac_cv_prog_RANLIB"; then
1555 if test -n "$ac_tool_prefix"; then
1556 # Extract the first word of "ranlib", so it can be a program name with args.
1557 set dummy ranlib; ac_word=$2
1558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1559 echo "configure:1560: checking for $ac_word" >&5
1560 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1561 echo $ac_n "(cached) $ac_c" 1>&6
1563 if test -n "$RANLIB"; then
1564 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1568 for ac_dir in $ac_dummy; do
1569 test -z "$ac_dir" && ac_dir=.
1570 if test -f $ac_dir/$ac_word; then
1571 ac_cv_prog_RANLIB="ranlib"
1576 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1579 RANLIB="$ac_cv_prog_RANLIB"
1580 if test -n "$RANLIB"; then
1581 echo "$ac_t""$RANLIB" 1>&6
1583 echo "$ac_t""no" 1>&6
1587 RANLIB="ranlib-not-found-in-path-error"
1591 # Find a good install program. We prefer a C program (faster),
1592 # so one script is as good as another. But avoid the broken or
1593 # incompatible versions:
1594 # SysV /etc/install, /usr/sbin/install
1595 # SunOS /usr/etc/install
1596 # IRIX /sbin/install
1598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1601 # ./install, which can be erroneously created by make from ./install.sh.
1602 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1603 echo "configure:1604: checking for a BSD compatible install" >&5
1604 if test -z "$INSTALL"; then
1605 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1606 echo $ac_n "(cached) $ac_c" 1>&6
1608 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1609 for ac_dir in $PATH; do
1610 # Account for people who put trailing slashes in PATH elements.
1612 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1614 # OSF1 and SCO ODT 3.0 have their own names for install.
1615 # Don't use installbsd from OSF since it installs stuff as root
1617 for ac_prog in ginstall scoinst install; do
1618 if test -f $ac_dir/$ac_prog; then
1619 if test $ac_prog = install &&
1620 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1621 # AIX install. It has an incompatible calling convention.
1624 ac_cv_path_install="$ac_dir/$ac_prog -c"
1635 if test "${ac_cv_path_install+set}" = set; then
1636 INSTALL="$ac_cv_path_install"
1638 # As a last resort, use the slow shell script. We don't cache a
1639 # path for INSTALL within a source directory, because that will
1640 # break other packages using the cache if that directory is
1641 # removed, or if the path is relative.
1642 INSTALL="$ac_install_sh"
1645 echo "$ac_t""$INSTALL" 1>&6
1647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1648 # It thinks the first close brace ends the variable substitution.
1649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1653 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1656 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1657 echo "configure:1658: checking whether to enable maintainer-specific portions of Makefiles" >&5
1658 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1659 if test "${enable_maintainer_mode+set}" = set; then
1660 enableval="$enable_maintainer_mode"
1661 USE_MAINTAINER_MODE=$enableval
1663 USE_MAINTAINER_MODE=no
1666 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1669 if test $USE_MAINTAINER_MODE = yes; then
1670 MAINTAINER_MODE_TRUE=
1671 MAINTAINER_MODE_FALSE='#'
1673 MAINTAINER_MODE_TRUE='#'
1674 MAINTAINER_MODE_FALSE=
1676 MAINT=$MAINTAINER_MODE_TRUE
1680 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1681 # at least currently, we never actually build a program, so we never
1682 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1683 # fails, because we are probably configuring with a cross compiler
1684 # which can't create executables. So we include AC_EXEEXT to keep
1685 # automake happy, but we don't execute it, since we don't care about
1688 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1689 # to nothing, so nothing would remain between `then' and `fi' if it
1690 # were not for the `:' below.
1694 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1695 echo "configure:1696: checking for executable suffix" >&5
1696 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1697 echo $ac_n "(cached) $ac_c" 1>&6
1699 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1703 echo 'int main () { return 0; }' > conftest.$ac_ext
1705 if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1706 for file in conftest.*; do
1708 *.c | *.o | *.obj) ;;
1709 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1713 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1716 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1721 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1722 echo "$ac_t""${ac_cv_exeext}" 1>&6
1727 . ${glibcpp_basedir}/configure.host
1729 case ${glibcpp_basedir} in
1730 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1731 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1734 # This does for the target what configure.host does for the host. In
1735 # addition to possibly modifying the same flags, it also sets up symlinks.
1737 . ${glibcpp_basedir}/configure.target
1738 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1739 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1745 # Check whether --enable-shared or --disable-shared was given.
1746 if test "${enable_shared+set}" = set; then
1747 enableval="$enable_shared"
1748 p=${PACKAGE-default}
1750 yes) enable_shared=yes ;;
1751 no) enable_shared=no ;;
1754 # Look at the argument we got. We use all the common list separators.
1755 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1756 for pkg in $enableval; do
1757 if test "X$pkg" = "X$p"; then
1768 # Check whether --enable-static or --disable-static was given.
1769 if test "${enable_static+set}" = set; then
1770 enableval="$enable_static"
1771 p=${PACKAGE-default}
1773 yes) enable_static=yes ;;
1774 no) enable_static=no ;;
1777 # Look at the argument we got. We use all the common list separators.
1778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1779 for pkg in $enableval; do
1780 if test "X$pkg" = "X$p"; then
1791 # Check whether --enable-fast-install or --disable-fast-install was given.
1792 if test "${enable_fast_install+set}" = set; then
1793 enableval="$enable_fast_install"
1794 p=${PACKAGE-default}
1796 yes) enable_fast_install=yes ;;
1797 no) enable_fast_install=no ;;
1799 enable_fast_install=no
1800 # Look at the argument we got. We use all the common list separators.
1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1802 for pkg in $enableval; do
1803 if test "X$pkg" = "X$p"; then
1804 enable_fast_install=yes
1811 enable_fast_install=yes
1814 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1815 if test "${with_gnu_ld+set}" = set; then
1816 withval="$with_gnu_ld"
1817 test "$withval" = no || with_gnu_ld=yes
1823 if test "$GCC" = yes; then
1824 # Check if gcc -print-prog-name=ld gives a path.
1825 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1826 echo "configure:1827: checking for ld used by GCC" >&5
1829 # gcc leaves a trailing carriage return which upsets mingw
1830 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1832 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1835 # Accept absolute paths.
1836 [\\/]* | [A-Za-z]:[\\/]*)
1837 re_direlt='/[^/][^/]*/\.\./'
1838 # Canonicalize the path of ld
1839 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1840 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1841 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1843 test -z "$LD" && LD="$ac_prog"
1846 # If it fails, then pretend we aren't using GCC.
1850 # If it is relative, then search for the first ld in PATH.
1854 elif test "$with_gnu_ld" = yes; then
1855 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1856 echo "configure:1857: checking for GNU ld" >&5
1858 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1859 echo "configure:1860: checking for non-GNU ld" >&5
1861 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1862 echo $ac_n "(cached) $ac_c" 1>&6
1864 if test -z "$LD"; then
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH; do
1867 test -z "$ac_dir" && ac_dir=.
1868 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1869 lt_cv_path_LD="$ac_dir/$ac_prog"
1870 # Check to see if the program is GNU ld. I'd rather use --version,
1871 # but apparently some GNU ld's only accept -v.
1872 # Break only if it was the GNU/non-GNU ld that we prefer.
1873 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1874 test "$with_gnu_ld" != no && break
1876 test "$with_gnu_ld" != yes && break
1882 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1887 if test -n "$LD"; then
1888 echo "$ac_t""$LD" 1>&6
1890 echo "$ac_t""no" 1>&6
1892 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1893 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1894 echo "configure:1895: checking if the linker ($LD) is GNU ld" >&5
1895 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1899 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1900 lt_cv_prog_gnu_ld=yes
1902 lt_cv_prog_gnu_ld=no
1906 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1907 with_gnu_ld=$lt_cv_prog_gnu_ld
1910 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1911 echo "configure:1912: checking for $LD option to reload object files" >&5
1912 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1913 echo $ac_n "(cached) $ac_c" 1>&6
1915 lt_cv_ld_reload_flag='-r'
1918 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1919 reload_flag=$lt_cv_ld_reload_flag
1920 test -n "$reload_flag" && reload_flag=" $reload_flag"
1922 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1923 echo "configure:1924: checking for BSD-compatible nm" >&5
1924 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1925 echo $ac_n "(cached) $ac_c" 1>&6
1927 if test -n "$NM"; then
1928 # Let the user override the test.
1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1932 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1933 test -z "$ac_dir" && ac_dir=.
1934 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1935 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1936 # Check to see if the nm accepts a BSD-compat flag.
1937 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1938 # nm: unknown option "B" ignored
1939 # Tru64's nm complains that /dev/null is an invalid object file
1940 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1941 lt_cv_path_NM="$tmp_nm -B"
1943 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1944 lt_cv_path_NM="$tmp_nm -p"
1947 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1948 continue # so that we can try to find one that supports BSD flags
1953 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1958 echo "$ac_t""$NM" 1>&6
1960 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1961 echo "configure:1962: checking how to recognise dependant libraries" >&5
1962 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1963 echo $ac_n "(cached) $ac_c" 1>&6
1965 lt_cv_file_magic_cmd='$MAGIC_CMD'
1966 lt_cv_file_magic_test_file=
1967 lt_cv_deplibs_check_method='unknown'
1968 # Need to set the preceding variable on all platforms that support
1969 # interlibrary dependencies.
1970 # 'none' -- dependencies not supported.
1971 # `unknown' -- same as none, but documents that we really don't know.
1972 # 'pass_all' -- all dependencies passed with no checks.
1973 # 'test_compile' -- check by making test program.
1974 # 'file_magic [regex]' -- check by looking for files in library path
1975 # which responds to the $file_magic_cmd with a given egrep regex.
1976 # If you have `file' or equivalent on your system and you're not sure
1977 # whether `pass_all' will *always* work, you probably want this one.
1981 lt_cv_deplibs_check_method=pass_all
1985 lt_cv_deplibs_check_method=pass_all
1989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1990 lt_cv_file_magic_cmd='/usr/bin/file -L'
1991 lt_cv_file_magic_test_file=/shlib/libc.so
1994 cygwin* | mingw* |pw32*)
1995 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1996 lt_cv_file_magic_cmd='$OBJDUMP -f'
1999 darwin* | rhapsody*)
2000 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2001 lt_cv_file_magic_cmd='/usr/bin/file -L'
2003 rhapsody* | darwin1.012)
2004 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2007 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2013 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 # Not sure whether the presence of OpenBSD here was a mistake.
2017 # Let's accept both of them until this is cleared up.
2018 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2019 lt_cv_file_magic_cmd=/usr/bin/file
2020 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2024 lt_cv_deplibs_check_method=pass_all
2029 lt_cv_deplibs_check_method=pass_all
2033 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2034 lt_cv_file_magic_cmd=/usr/bin/file
2035 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2041 # this will be overridden with pass_all, but let us keep it just in case
2042 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2046 *-32|*"-32 ") libmagic=32-bit;;
2047 *-n32|*"-n32 ") libmagic=N32;;
2048 *-64|*"-64 ") libmagic=64-bit;;
2049 *) libmagic=never-match;;
2051 # this will be overridden with pass_all, but let us keep it just in case
2052 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2055 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2056 lt_cv_deplibs_check_method=pass_all
2059 # This must be Linux ELF.
2062 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2063 lt_cv_deplibs_check_method=pass_all ;;
2065 # glibc up to 2.1.1 does not perform some relocations on ARM
2066 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2068 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2072 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2073 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2075 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2080 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2081 lt_cv_file_magic_cmd=/usr/bin/file
2082 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2085 osf3* | osf4* | osf5*)
2086 # this will be overridden with pass_all, but let us keep it just in case
2087 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2088 lt_cv_file_magic_test_file=/shlib/libc.so
2089 lt_cv_deplibs_check_method=pass_all
2093 lt_cv_deplibs_check_method=pass_all
2097 lt_cv_deplibs_check_method=pass_all
2098 lt_cv_file_magic_test_file=/lib/libc.so
2101 sysv5uw[78]* | sysv4*uw2*)
2102 lt_cv_deplibs_check_method=pass_all
2105 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2106 case $host_vendor in
2108 lt_cv_deplibs_check_method=pass_all
2111 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]'
2112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2120 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2121 file_magic_cmd=$lt_cv_file_magic_cmd
2122 deplibs_check_method=$lt_cv_deplibs_check_method
2124 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2125 echo "configure:2126: checking for object suffix" >&5
2126 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2127 echo $ac_n "(cached) $ac_c" 1>&6
2130 echo 'int i = 1;' > conftest.$ac_ext
2131 if { (eval echo configure:2132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2132 for ac_file in conftest.*; do
2135 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2139 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2144 echo "$ac_t""$ac_cv_objext" 1>&6
2145 OBJEXT=$ac_cv_objext
2146 ac_objext=$ac_cv_objext
2148 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2150 # Only perform the check for file, if the check method requires it
2151 case $deplibs_check_method in
2153 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2154 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2155 echo "configure:2156: checking for ${ac_tool_prefix}file" >&5
2156 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2157 echo $ac_n "(cached) $ac_c" 1>&6
2161 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2164 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2167 ac_save_MAGIC_CMD="$MAGIC_CMD"
2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2169 ac_dummy="/usr/bin:$PATH"
2170 for ac_dir in $ac_dummy; do
2171 test -z "$ac_dir" && ac_dir=.
2172 if test -f $ac_dir/${ac_tool_prefix}file; then
2173 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2174 if test -n "$file_magic_test_file"; then
2175 case $deplibs_check_method in
2177 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2178 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2179 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2180 egrep "$file_magic_regex" > /dev/null; then
2185 *** Warning: the command libtool uses to detect shared libraries,
2186 *** $file_magic_cmd, produces output that libtool cannot recognize.
2187 *** The result is that libtool may fail to recognize shared libraries
2188 *** as such. This will affect the creation of libtool libraries that
2189 *** depend on shared libraries, but programs linked with such libtool
2190 *** libraries will work regardless of this problem. Nevertheless, you
2191 *** may want to report the problem to your system manager and/or to
2192 *** bug-libtool@gnu.org
2202 MAGIC_CMD="$ac_save_MAGIC_CMD"
2207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2208 if test -n "$MAGIC_CMD"; then
2209 echo "$ac_t""$MAGIC_CMD" 1>&6
2211 echo "$ac_t""no" 1>&6
2214 if test -z "$lt_cv_path_MAGIC_CMD"; then
2215 if test -n "$ac_tool_prefix"; then
2216 echo $ac_n "checking for file""... $ac_c" 1>&6
2217 echo "configure:2218: checking for file" >&5
2218 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2219 echo $ac_n "(cached) $ac_c" 1>&6
2223 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2226 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2229 ac_save_MAGIC_CMD="$MAGIC_CMD"
2230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2231 ac_dummy="/usr/bin:$PATH"
2232 for ac_dir in $ac_dummy; do
2233 test -z "$ac_dir" && ac_dir=.
2234 if test -f $ac_dir/file; then
2235 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2236 if test -n "$file_magic_test_file"; then
2237 case $deplibs_check_method in
2239 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2241 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2242 egrep "$file_magic_regex" > /dev/null; then
2247 *** Warning: the command libtool uses to detect shared libraries,
2248 *** $file_magic_cmd, produces output that libtool cannot recognize.
2249 *** The result is that libtool may fail to recognize shared libraries
2250 *** as such. This will affect the creation of libtool libraries that
2251 *** depend on shared libraries, but programs linked with such libtool
2252 *** libraries will work regardless of this problem. Nevertheless, you
2253 *** may want to report the problem to your system manager and/or to
2254 *** bug-libtool@gnu.org
2264 MAGIC_CMD="$ac_save_MAGIC_CMD"
2269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2270 if test -n "$MAGIC_CMD"; then
2271 echo "$ac_t""$MAGIC_CMD" 1>&6
2273 echo "$ac_t""no" 1>&6
2285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2288 echo "configure:2289: checking for $ac_word" >&5
2289 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2290 echo $ac_n "(cached) $ac_c" 1>&6
2292 if test -n "$RANLIB"; then
2293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2297 for ac_dir in $ac_dummy; do
2298 test -z "$ac_dir" && ac_dir=.
2299 if test -f $ac_dir/$ac_word; then
2300 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2307 RANLIB="$ac_cv_prog_RANLIB"
2308 if test -n "$RANLIB"; then
2309 echo "$ac_t""$RANLIB" 1>&6
2311 echo "$ac_t""no" 1>&6
2315 if test -z "$ac_cv_prog_RANLIB"; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "ranlib", so it can be a program name with args.
2318 set dummy ranlib; ac_word=$2
2319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2320 echo "configure:2321: checking for $ac_word" >&5
2321 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2322 echo $ac_n "(cached) $ac_c" 1>&6
2324 if test -n "$RANLIB"; then
2325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2329 for ac_dir in $ac_dummy; do
2330 test -z "$ac_dir" && ac_dir=.
2331 if test -f $ac_dir/$ac_word; then
2332 ac_cv_prog_RANLIB="ranlib"
2337 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2340 RANLIB="$ac_cv_prog_RANLIB"
2341 if test -n "$RANLIB"; then
2342 echo "$ac_t""$RANLIB" 1>&6
2344 echo "$ac_t""no" 1>&6
2352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}strip; ac_word=$2
2354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2355 echo "configure:2356: checking for $ac_word" >&5
2356 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2357 echo $ac_n "(cached) $ac_c" 1>&6
2359 if test -n "$STRIP"; then
2360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2364 for ac_dir in $ac_dummy; do
2365 test -z "$ac_dir" && ac_dir=.
2366 if test -f $ac_dir/$ac_word; then
2367 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2374 STRIP="$ac_cv_prog_STRIP"
2375 if test -n "$STRIP"; then
2376 echo "$ac_t""$STRIP" 1>&6
2378 echo "$ac_t""no" 1>&6
2382 if test -z "$ac_cv_prog_STRIP"; then
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "strip", so it can be a program name with args.
2385 set dummy strip; ac_word=$2
2386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2387 echo "configure:2388: checking for $ac_word" >&5
2388 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2389 echo $ac_n "(cached) $ac_c" 1>&6
2391 if test -n "$STRIP"; then
2392 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2396 for ac_dir in $ac_dummy; do
2397 test -z "$ac_dir" && ac_dir=.
2398 if test -f $ac_dir/$ac_word; then
2399 ac_cv_prog_STRIP="strip"
2404 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2407 STRIP="$ac_cv_prog_STRIP"
2408 if test -n "$STRIP"; then
2409 echo "$ac_t""$STRIP" 1>&6
2411 echo "$ac_t""no" 1>&6
2420 # Check for any special flags to pass to ltconfig.
2421 libtool_flags="--cache-file=$cache_file"
2422 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2423 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2424 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2425 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2426 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2427 libtool_flags="$libtool_flags --enable-dlopen"
2429 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2430 if test "${enable_libtool_lock+set}" = set; then
2431 enableval="$enable_libtool_lock"
2435 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2436 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2438 # Check whether --with-pic or --without-pic was given.
2439 if test "${with_pic+set}" = set; then
2446 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2447 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2449 # Some flags need to be propagated to the compiler or linker for good
2453 # Find out which ABI we are using.
2454 echo '#line 2455 "configure"' > conftest.$ac_ext
2455 if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2456 case `/usr/bin/file conftest.$ac_objext` in
2472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2473 SAVE_CFLAGS="$CFLAGS"
2474 CFLAGS="$CFLAGS -belf"
2475 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2476 echo "configure:2477: checking whether the C compiler needs -belf" >&5
2477 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6
2482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2486 cross_compiling=$ac_cv_prog_cc_cross
2488 cat > conftest.$ac_ext <<EOF
2489 #line 2490 "configure"
2490 #include "confdefs.h"
2496 if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2498 lt_cv_cc_needs_belf=yes
2500 echo "configure: failed program was:" >&5
2501 cat conftest.$ac_ext >&5
2503 lt_cv_cc_needs_belf=no
2507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2508 ac_cpp='$CPP $CPPFLAGS'
2509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2511 cross_compiling=$ac_cv_prog_cc_cross
2515 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2516 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2518 CFLAGS="$SAVE_CFLAGS"
2525 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2526 echo "configure:2527: checking how to run the C++ preprocessor" >&5
2527 if test -z "$CXXCPP"; then
2528 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2529 echo $ac_n "(cached) $ac_c" 1>&6
2532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2533 ac_cpp='$CXXCPP $CPPFLAGS'
2534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2536 cross_compiling=$ac_cv_prog_cxx_cross
2537 CXXCPP="${CXX-g++} -E"
2538 cat > conftest.$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2556 ac_cv_prog_CXXCPP="$CXXCPP"
2558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2562 cross_compiling=$ac_cv_prog_cc_cross
2565 CXXCPP="$ac_cv_prog_CXXCPP"
2566 echo "$ac_t""$CXXCPP" 1>&6
2569 # Save cache, so that ltconfig can load it
2570 cat > confcache <<\EOF
2571 # This file is a shell script that caches the results of configure
2572 # tests run on this system so they can be shared between configure
2573 # scripts and configure runs. It is not useful on other systems.
2574 # If it contains results you don't want to keep, you may remove or edit it.
2576 # By default, configure uses ./config.cache as the cache file,
2577 # creating it if it does not exist already. You can give configure
2578 # the --cache-file=FILE option to use a different cache file; that is
2579 # what configure does when it calls configure scripts in
2580 # subdirectories, so they share the cache.
2581 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2582 # config.status only pays attention to the cache file if you give it the
2583 # --recheck option to rerun configure.
2586 # The following way of writing the cache mishandles newlines in values,
2587 # but we know of no workaround that is simple, portable, and efficient.
2588 # So, don't put newlines in cache variables' values.
2589 # Ultrix sh set writes to stderr and can't be redirected directly,
2590 # and sets the high bit in the cache file unless we assign to the vars.
2592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2594 # `set' does not quote correctly, so add quotes (double-quote substitution
2595 # turns \\\\ into \\, and sed turns \\ into \).
2597 -e "s/'/'\\\\''/g" \
2598 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2601 # `set' quotes correctly as required by POSIX, so do not add quotes.
2602 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2605 if cmp -s $cache_file confcache; then
2608 if test -w $cache_file; then
2609 echo "updating cache $cache_file"
2610 cat confcache > $cache_file
2612 echo "not updating unwritable cache $cache_file"
2618 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2619 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2624 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2625 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2626 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2627 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2629 # Reload cache, that may have been modified by ltconfig
2630 if test -r "$cache_file"; then
2631 echo "loading cache $cache_file"
2634 echo "creating cache $cache_file"
2639 # This can be used to rebuild libtool when needed
2640 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2642 # Always use our own libtool.
2643 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2645 # Redirect the config.log output again, so that the ltconfig log is not
2646 # clobbered by the next message.
2647 exec 5>>./config.log
2651 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2653 lt_save_CFLAGS="$CFLAGS"
2654 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2655 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2656 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2657 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2658 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2659 deplibs_check_method="$deplibs_check_method" \
2660 file_magic_cmd="$file_magic_cmd" \
2661 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2662 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2663 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2665 CFLAGS="$lt_save_CFLAGS"
2667 # Redirect the config.log output again, so that the ltconfig log is not
2668 # clobbered by the next message.
2669 exec 5>>./config.log
2679 # Check for c++ or library specific bits that don't require linking.
2680 #GLIBCPP_CHECK_COMPILER_VERSION
2681 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2682 echo "configure:2683: checking for GNU make" >&5
2683 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 _cv_gnu_make_command='' ;
2687 for a in "${MAKE-make}" make gmake gnumake ; do
2688 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2690 _cv_gnu_make_command=$a ;
2697 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2698 if test "x$_cv_gnu_make_command" != "x" ; then
2706 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2707 # Check whether --enable-debug or --disable-debug was given.
2708 if test "${enable_debug+set}" = set; then
2709 enableval="$enable_debug"
2710 case "${enableval}" in
2711 yes) enable_debug=yes ;;
2712 no) enable_debug=no ;;
2713 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2719 case "${enable_debug}" in
2721 DEBUG_FLAGS='-O0 -ggdb3'
2729 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2730 echo "configure:2731: checking how to run the C preprocessor" >&5
2731 # On Suns, sometimes $CPP names a directory.
2732 if test -n "$CPP" && test -d "$CPP"; then
2735 if test -z "$CPP"; then
2736 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2737 echo $ac_n "(cached) $ac_c" 1>&6
2739 # This must be in double quotes, not single quotes, because CPP may get
2740 # substituted into the Makefile and "${CC-cc}" will confuse make.
2742 # On the NeXT, cc -E runs the code through the compiler's parser,
2743 # not just through cpp.
2744 cat > conftest.$ac_ext <<EOF
2745 #line 2746 "configure"
2746 #include "confdefs.h"
2750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2753 if test -z "$ac_err"; then
2757 echo "configure: failed program was:" >&5
2758 cat conftest.$ac_ext >&5
2760 CPP="${CC-cc} -E -traditional-cpp"
2761 cat > conftest.$ac_ext <<EOF
2762 #line 2763 "configure"
2763 #include "confdefs.h"
2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2770 if test -z "$ac_err"; then
2774 echo "configure: failed program was:" >&5
2775 cat conftest.$ac_ext >&5
2777 CPP="${CC-cc} -nologo -E"
2778 cat > conftest.$ac_ext <<EOF
2779 #line 2780 "configure"
2780 #include "confdefs.h"
2784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2785 { (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2787 if test -z "$ac_err"; then
2791 echo "configure: failed program was:" >&5
2792 cat conftest.$ac_ext >&5
2801 ac_cv_prog_CPP="$CPP"
2803 CPP="$ac_cv_prog_CPP"
2805 ac_cv_prog_CPP="$CPP"
2807 echo "$ac_t""$CPP" 1>&6
2810 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2811 echo "configure:2812: checking for cstdio to use" >&5
2812 # Check whether --enable-cstdio or --disable-cstdio was given.
2813 if test "${enable_cstdio+set}" = set; then
2814 enableval="$enable_cstdio"
2815 if test x$enable_cstdio = xno; then
2823 enable_cstdio_flag=$enable_cstdio
2825 case x${enable_cstdio_flag} in
2827 CSTDIO_H=config/io/c_io_libio.h
2828 BASIC_FILE_H=config/io/basic_file_libio.h
2829 BASIC_FILE_CC=config/io/basic_file_libio.cc
2830 echo "$ac_t""libio" 1>&6
2832 # see if we are on a system with libio native (ie, linux)
2833 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2834 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2835 echo "configure:2836: checking for libio.h" >&5
2836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2837 echo $ac_n "(cached) $ac_c" 1>&6
2839 cat > conftest.$ac_ext <<EOF
2840 #line 2841 "configure"
2841 #include "confdefs.h"
2844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2845 { (eval echo configure:2846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2847 if test -z "$ac_err"; then
2849 eval "ac_cv_header_$ac_safe=yes"
2852 echo "configure: failed program was:" >&5
2853 cat conftest.$ac_ext >&5
2855 eval "ac_cv_header_$ac_safe=no"
2859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2860 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2868 # Need to check and see what version of glibc is being used. If
2869 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2870 # compile most of libio for linux systems.
2871 if test x$has_libio = x"yes"; then
2874 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2875 echo "configure:2876: checking for glibc version >= 2.2" >&5
2876 cat > conftest.$ac_ext <<EOF
2877 #line 2878 "configure"
2878 #include "confdefs.h"
2880 #include <features.h>
2881 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2887 egrep "ok" >/dev/null 2>&1; then
2889 glibc_satisfactory=yes
2892 glibc_satisfactory=no
2896 echo "$ac_t""$glibc_satisfactory" 1>&6
2900 # XXX at the moment, admit defeat and force the recompilation
2901 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2902 glibc_satisfactory=no
2904 if test x$glibc_satisfactory = x"yes"; then
2909 # bkoz XXX need to add checks to enable this
2910 # pme XXX here's a first pass at such a check
2911 if test x$enable_c_mbchar != xno; then
2919 # Using libio, but <libio.h> doesn't exist on the target system. . .
2921 # bkoz XXX need to add checks to enable this
2922 # pme XXX here's a first pass at such a check
2923 if test x$enable_c_mbchar != xno; then
2930 xstdio | x | xno | xnone | xyes)
2932 CSTDIO_H=config/io/c_io_stdio.h
2933 BASIC_FILE_H=config/io/basic_file_stdio.h
2934 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2935 echo "$ac_t""stdio" 1>&6
2937 # We're not using stdio.
2942 echo "$enable_cstdio is an unknown io package" 1>&2
2950 # 2000-08-04 bkoz hack
2951 CCODECVT_C=config/io/c_io_libio_codecvt.c
2953 # 2000-08-04 bkoz hack
2957 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2958 GLIBCPP_BUILD_LIBIO_TRUE=
2959 GLIBCPP_BUILD_LIBIO_FALSE='#'
2961 GLIBCPP_BUILD_LIBIO_TRUE='#'
2962 GLIBCPP_BUILD_LIBIO_FALSE=
2966 if test "$need_libio" = yes; then
2967 GLIBCPP_NEED_LIBIO_TRUE=
2968 GLIBCPP_NEED_LIBIO_FALSE='#'
2970 GLIBCPP_NEED_LIBIO_TRUE='#'
2971 GLIBCPP_NEED_LIBIO_FALSE=
2975 if test "$need_wlibio" = yes; then
2976 GLIBCPP_NEED_WLIBIO_TRUE=
2977 GLIBCPP_NEED_WLIBIO_FALSE='#'
2979 GLIBCPP_NEED_WLIBIO_TRUE='#'
2980 GLIBCPP_NEED_WLIBIO_FALSE=
2982 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2983 libio_la=../libio/libio.la
2990 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2991 echo "configure:2992: checking for clocale to use" >&5
2992 # Check whether --enable-clocale or --disable-clocale was given.
2993 if test "${enable_clocale+set}" = set; then
2994 enableval="$enable_clocale"
2995 if test x$enable_clocale = xno; then
3003 enable_clocale_flag=$enable_clocale
3005 if test x$enable_clocale_flag = xno; then
3006 case x${target_os} in
3008 cat > conftest.$ac_ext <<EOF
3009 #line 3010 "configure"
3010 #include "confdefs.h"
3012 #include <features.h>
3013 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3019 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3021 enable_clocale_flag=gnu
3024 enable_clocale_flag=generic
3029 # Test for bugs early in glibc-2.2.x series
3030 if test x$enable_clocale_flag = xgnu; then
3031 if test "$cross_compiling" = yes; then
3032 enable_clocale_flag=generic
3034 cat > conftest.$ac_ext <<EOF
3035 #line 3036 "configure"
3036 #include "confdefs.h"
3038 #define _GNU_SOURCE 1
3042 const char __one[] = "Äuglein Augmen";
3043 const char __two[] = "Äuglein";
3048 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3049 loc_dup = __duplocale(loc);
3050 i = __strcoll_l(__one, __two, loc);
3051 j = __strcoll_l(__one, __two, loc_dup);
3056 if { (eval echo configure:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3058 enable_clocale_flag=gnu
3060 echo "configure: failed program was:" >&5
3061 cat conftest.$ac_ext >&5
3063 enable_clocale_flag=generic
3070 # ... at some point put __strxfrm_l tests in as well.
3073 enable_clocale_flag=generic
3078 # Check whether --enable-nls or --disable-nls was given.
3079 if test "${enable_nls+set}" = set; then
3080 enableval="$enable_nls"
3088 case x${enable_clocale_flag} in
3090 echo "$ac_t""generic" 1>&6
3092 CLOCALE_H=config/locale/generic/c_locale.h
3093 CLOCALE_CC=config/locale/generic/c_locale.cc
3094 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3095 CCOLLATE_CC=config/locale/generic/collate_members.cc
3096 CCTYPE_CC=config/locale/generic/ctype_members.cc
3097 CMESSAGES_H=config/locale/generic/messages_members.h
3098 CMESSAGES_CC=config/locale/generic/messages_members.cc
3099 CMONEY_CC=config/locale/generic/monetary_members.cc
3100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3101 CTIME_CC=config/locale/generic/time_members.cc
3104 echo "$ac_t""gnu" 1>&6
3106 # Declare intention to use gettext, and add support for specific
3108 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3111 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3112 # Extract the first word of "msgfmt", so it can be a program name with args.
3113 set dummy msgfmt; ac_word=$2
3114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3115 echo "configure:3116: checking for $ac_word" >&5
3116 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3117 echo $ac_n "(cached) $ac_c" 1>&6
3119 if test -n "$check_msgfmt"; then
3120 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3122 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3124 for ac_dir in $ac_dummy; do
3125 test -z "$ac_dir" && ac_dir=.
3126 if test -f $ac_dir/$ac_word; then
3127 ac_cv_prog_check_msgfmt="yes"
3132 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3135 check_msgfmt="$ac_cv_prog_check_msgfmt"
3136 if test -n "$check_msgfmt"; then
3137 echo "$ac_t""$check_msgfmt" 1>&6
3139 echo "$ac_t""no" 1>&6
3142 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3145 # Export the build objects.
3146 for ling in $ALL_LINGUAS; do \
3147 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3148 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3153 CLOCALE_H=config/locale/gnu/c_locale.h
3154 CLOCALE_CC=config/locale/gnu/c_locale.cc
3155 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3156 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3157 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3158 CMESSAGES_H=config/locale/gnu/messages_members.h
3159 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3160 CMONEY_CC=config/locale/gnu/monetary_members.cc
3161 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3162 CTIME_CC=config/locale/gnu/time_members.cc
3165 echo "$ac_t""generic" 1>&6
3167 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3168 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3169 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3170 CCOLLATE_CC=config/locale/generic/collate_members.cc
3171 CCTYPE_CC=config/locale/generic/ctype_members.cc
3172 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3173 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3174 CMONEY_CC=config/locale/generic/monetary_members.cc
3175 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3176 CTIME_CC=config/locale/generic/time_members.cc
3179 echo "$enable_clocale is an unknown locale package" 1>&2
3184 # This is where the testsuite looks for locale catalogs, using the
3185 # -DLOCALEDIR define during testsuite compilation.
3186 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3201 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3202 if test "${enable_c_mbchar+set}" = set; then
3203 enableval="$enable_c_mbchar"
3204 case "$enableval" in
3205 yes) enable_c_mbchar=yes ;;
3206 no) enable_c_mbchar=no ;;
3207 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3214 # Check whether --enable-c99 or --disable-c99 was given.
3215 if test "${enable_c99+set}" = set; then
3216 enableval="$enable_c99"
3217 case "$enableval" in
3218 yes) enable_c99=yes ;;
3219 no) enable_c99=no ;;
3220 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3229 ac_cpp='$CXXCPP $CPPFLAGS'
3230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3232 cross_compiling=$ac_cv_prog_cxx_cross
3235 # Check for the existence of <math.h> functions used if C99 is enabled.
3237 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3238 echo "configure:3239: checking for ISO C99 support in <math.h>" >&5
3239 cat > conftest.$ac_ext <<EOF
3240 #line 3241 "configure"
3241 #include "confdefs.h"
3247 if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3250 echo "configure: failed program was:" >&5
3251 cat conftest.$ac_ext >&5
3256 cat > conftest.$ac_ext <<EOF
3257 #line 3258 "configure"
3258 #include "confdefs.h"
3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3267 echo "configure: failed program was:" >&5
3268 cat conftest.$ac_ext >&5
3273 cat > conftest.$ac_ext <<EOF
3274 #line 3275 "configure"
3275 #include "confdefs.h"
3281 if { (eval echo configure:3282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3284 echo "configure: failed program was:" >&5
3285 cat conftest.$ac_ext >&5
3290 cat > conftest.$ac_ext <<EOF
3291 #line 3292 "configure"
3292 #include "confdefs.h"
3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3301 echo "configure: failed program was:" >&5
3302 cat conftest.$ac_ext >&5
3307 cat > conftest.$ac_ext <<EOF
3308 #line 3309 "configure"
3309 #include "confdefs.h"
3315 if { (eval echo configure:3316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3318 echo "configure: failed program was:" >&5
3319 cat conftest.$ac_ext >&5
3324 cat > conftest.$ac_ext <<EOF
3325 #line 3326 "configure"
3326 #include "confdefs.h"
3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3335 echo "configure: failed program was:" >&5
3336 cat conftest.$ac_ext >&5
3341 cat > conftest.$ac_ext <<EOF
3342 #line 3343 "configure"
3343 #include "confdefs.h"
3349 if { (eval echo configure:3350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3352 echo "configure: failed program was:" >&5
3353 cat conftest.$ac_ext >&5
3358 cat > conftest.$ac_ext <<EOF
3359 #line 3360 "configure"
3360 #include "confdefs.h"
3363 isgreaterequal(0.0,0.0);
3366 if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3369 echo "configure: failed program was:" >&5
3370 cat conftest.$ac_ext >&5
3375 cat > conftest.$ac_ext <<EOF
3376 #line 3377 "configure"
3377 #include "confdefs.h"
3383 if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3386 echo "configure: failed program was:" >&5
3387 cat conftest.$ac_ext >&5
3392 cat > conftest.$ac_ext <<EOF
3393 #line 3394 "configure"
3394 #include "confdefs.h"
3397 islessequal(0.0,0.0);
3400 if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3403 echo "configure: failed program was:" >&5
3404 cat conftest.$ac_ext >&5
3409 cat > conftest.$ac_ext <<EOF
3410 #line 3411 "configure"
3411 #include "confdefs.h"
3414 islessgreater(0.0,0.0);
3417 if { (eval echo configure:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3420 echo "configure: failed program was:" >&5
3421 cat conftest.$ac_ext >&5
3426 cat > conftest.$ac_ext <<EOF
3427 #line 3428 "configure"
3428 #include "confdefs.h"
3431 isunordered(0.0,0.0);
3434 if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3437 echo "configure: failed program was:" >&5
3438 cat conftest.$ac_ext >&5
3443 echo "$ac_t""$ac_c99_math" 1>&6
3445 # Check for the existence in <stdio.h> of vscanf, et. al.
3447 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3448 echo "configure:3449: checking for ISO C99 support in <stdio.h>" >&5
3449 cat > conftest.$ac_ext <<EOF
3450 #line 3451 "configure"
3451 #include "confdefs.h"
3454 snprintf("12", 0, "%i");
3457 if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3460 echo "configure: failed program was:" >&5
3461 cat conftest.$ac_ext >&5
3466 cat > conftest.$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3471 void foo(char* fmt, ...)
3472 {va_list args; va_start(args, fmt);
3473 vfscanf(stderr, "%i", args);}
3478 if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3481 echo "configure: failed program was:" >&5
3482 cat conftest.$ac_ext >&5
3487 cat > conftest.$ac_ext <<EOF
3488 #line 3489 "configure"
3489 #include "confdefs.h"
3492 void foo(char* fmt, ...)
3493 {va_list args; va_start(args, fmt);
3494 vscanf("%i", args);}
3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3502 echo "configure: failed program was:" >&5
3503 cat conftest.$ac_ext >&5
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3513 void foo(char* fmt, ...)
3514 {va_list args; va_start(args, fmt);
3515 vsnprintf(fmt, 0, "%i", args);}
3520 if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3523 echo "configure: failed program was:" >&5
3524 cat conftest.$ac_ext >&5
3529 cat > conftest.$ac_ext <<EOF
3530 #line 3531 "configure"
3531 #include "confdefs.h"
3534 void foo(char* fmt, ...)
3535 {va_list args; va_start(args, fmt);
3536 vsscanf(fmt, "%i", args);}
3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3544 echo "configure: failed program was:" >&5
3545 cat conftest.$ac_ext >&5
3550 echo "$ac_t""$ac_c99_stdio" 1>&6
3552 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3554 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3555 echo "configure:3556: checking for lldiv_t declaration" >&5
3556 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3557 echo $ac_n "(cached) $ac_c" 1>&6
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3581 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3583 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3584 echo "configure:3585: checking for ISO C99 support in <stdlib.h>" >&5
3585 cat > conftest.$ac_ext <<EOF
3586 #line 3587 "configure"
3587 #include "confdefs.h"
3590 char* tmp; strtof("gnu", &tmp);
3593 if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3596 echo "configure: failed program was:" >&5
3597 cat conftest.$ac_ext >&5
3602 cat > conftest.$ac_ext <<EOF
3603 #line 3604 "configure"
3604 #include "confdefs.h"
3607 char* tmp; strtold("gnu", &tmp);
3610 if { (eval echo configure:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3613 echo "configure: failed program was:" >&5
3614 cat conftest.$ac_ext >&5
3619 cat > conftest.$ac_ext <<EOF
3620 #line 3621 "configure"
3621 #include "confdefs.h"
3627 if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3630 echo "configure: failed program was:" >&5
3631 cat conftest.$ac_ext >&5
3636 cat > conftest.$ac_ext <<EOF
3637 #line 3638 "configure"
3638 #include "confdefs.h"
3644 if { (eval echo configure:3645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3647 echo "configure: failed program was:" >&5
3648 cat conftest.$ac_ext >&5
3653 cat > conftest.$ac_ext <<EOF
3654 #line 3655 "configure"
3655 #include "confdefs.h"
3661 if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3664 echo "configure: failed program was:" >&5
3665 cat conftest.$ac_ext >&5
3670 cat > conftest.$ac_ext <<EOF
3671 #line 3672 "configure"
3672 #include "confdefs.h"
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681 echo "configure: failed program was:" >&5
3682 cat conftest.$ac_ext >&5
3687 if test x"$ac_c99_lldiv_t" = x"no"; then
3690 echo "$ac_t""$ac_c99_stdlib" 1>&6
3692 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3693 # XXX the wchar.h checks should be rolled into the general C99 bits.
3695 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3696 echo "configure:3697: checking for additional ISO C99 support in <wchar.h>" >&5
3697 cat > conftest.$ac_ext <<EOF
3698 #line 3699 "configure"
3699 #include "confdefs.h"
3702 wcstold(L"10.0", NULL);
3705 if { (eval echo configure:3706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3708 echo "configure: failed program was:" >&5
3709 cat conftest.$ac_ext >&5
3714 cat > conftest.$ac_ext <<EOF
3715 #line 3716 "configure"
3716 #include "confdefs.h"
3719 wcstoll(L"10", NULL, 10);
3722 if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3725 echo "configure: failed program was:" >&5
3726 cat conftest.$ac_ext >&5
3731 cat > conftest.$ac_ext <<EOF
3732 #line 3733 "configure"
3733 #include "confdefs.h"
3736 wcstoull(L"10", NULL, 10);
3739 if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3742 echo "configure: failed program was:" >&5
3743 cat conftest.$ac_ext >&5
3748 echo "$ac_t""$ac_c99_wchar" 1>&6
3750 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3751 echo "configure:3752: checking for enabled ISO C99 support" >&5
3752 if test x"$ac_c99_math" = x"no" ||
3753 test x"$ac_c99_stdio" = x"no" ||
3754 test x"$ac_c99_stdlib" = x"no" ||
3755 test x"$ac_c99_wchar" = x"no"; then
3758 echo "$ac_t""$enable_c99" 1>&6
3760 # Option parsed, now set things appropriately
3761 if test x"$enable_c99" = x"yes"; then
3762 cat >> confdefs.h <<\EOF
3763 #define _GLIBCPP_USE_C99 1
3769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3773 cross_compiling=$ac_cv_prog_cc_cross
3777 # Check whether --enable-long-long or --disable-long-long was given.
3778 if test "${enable_long_long+set}" = set; then
3779 enableval="$enable_long_long"
3780 case "$enableval" in
3781 yes) enable_long_long=yes ;;
3782 no) enable_long_long=no ;;
3783 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3786 enable_long_long=yes
3791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3792 ac_cpp='$CXXCPP $CPPFLAGS'
3793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3795 cross_compiling=$ac_cv_prog_cxx_cross
3798 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3799 echo "configure:3800: checking for enabled long long I/O support" >&5
3800 # iostreams require strtoll, strtoull to compile
3801 cat > conftest.$ac_ext <<EOF
3802 #line 3803 "configure"
3803 #include "confdefs.h"
3806 char* tmp; strtoll("gnu", &tmp, 10);
3809 if { (eval echo configure:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812 echo "configure: failed program was:" >&5
3813 cat conftest.$ac_ext >&5
3818 cat > conftest.$ac_ext <<EOF
3819 #line 3820 "configure"
3820 #include "confdefs.h"
3823 char* tmp; strtoull("gnu", &tmp, 10);
3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3829 echo "configure: failed program was:" >&5
3830 cat conftest.$ac_ext >&5
3836 # Option parsed, now set things appropriately
3837 if test x"$enable_long_long" = xyes; then
3838 cat >> confdefs.h <<\EOF
3839 #define _GLIBCPP_USE_LONG_LONG 1
3843 echo "$ac_t""$enable_long_long" 1>&6
3846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3850 cross_compiling=$ac_cv_prog_cc_cross
3853 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3854 echo "configure:3855: checking for c header strategy to use" >&5
3855 # Check whether --enable-cheaders or --disable-cheaders was given.
3856 if test "${enable_cheaders+set}" = set; then
3857 enableval="$enable_cheaders"
3859 case "$enableval" in
3864 enable_cheaders=c_std
3867 enable_cheaders=c_shadow
3869 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3873 enable_cheaders=c_std
3876 echo "$ac_t""$enable_cheaders" 1>&6
3878 case "$enable_cheaders" in
3880 CSHADOW_FLAGS="-fno-builtin"
3881 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3885 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3889 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3897 if test "$enable_cheaders" = c; then
3898 GLIBCPP_C_HEADERS_C_TRUE=
3899 GLIBCPP_C_HEADERS_C_FALSE='#'
3901 GLIBCPP_C_HEADERS_C_TRUE='#'
3902 GLIBCPP_C_HEADERS_C_FALSE=
3906 if test "$enable_cheaders" = c_std; then
3907 GLIBCPP_C_HEADERS_C_STD_TRUE=
3908 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3910 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3911 GLIBCPP_C_HEADERS_C_STD_FALSE=
3915 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3916 echo "configure:3917: checking for thread model used by GCC" >&5
3917 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3918 echo "$ac_t""$target_thread_file" 1>&6
3920 if test $target_thread_file != single; then
3921 cat >> confdefs.h <<\EOF
3922 #define HAVE_GTHR_DEFAULT 1
3925 cat >> confdefs.h <<\EOF
3926 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3931 glibcpp_thread_h=gthr-$target_thread_file.h
3934 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3935 if test "${enable_cxx_flags+set}" = set; then
3936 enableval="$enable_cxx_flags"
3937 case "x$enableval" in
3939 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3941 enable_cxx_flags='' ;;
3943 enable_cxx_flags="$enableval" ;;
3946 enable_cxx_flags='none'
3950 if test "$enable_cxx_flags" = "none"; then
3951 enable_cxx_flags='';
3954 if test -n "$enable_cxx_flags"; then
3955 for f in $enable_cxx_flags; do
3959 *) # and we're trying to pass /what/ exactly?
3960 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3964 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3968 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3969 echo "configure:3970: checking for exception model to use" >&5
3972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3973 ac_cpp='$CXXCPP $CPPFLAGS'
3974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3976 cross_compiling=$ac_cv_prog_cxx_cross
3978 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3979 if test "${enable_sjlj_exceptions+set}" = set; then
3980 enableval="$enable_sjlj_exceptions"
3983 cat > conftest.$ac_ext << EOF
3984 #line 3985 "configure"
3993 old_CXXFLAGS="$CXXFLAGS"
3995 if { (eval echo configure:3996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3996 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3997 enable_sjlj_exceptions=yes
3998 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3999 enable_sjlj_exceptions=no
4002 CXXFLAGS="$old_CXXFLAGS"
4006 if test x$enable_sjlj_exceptions = xyes; then
4007 cat >> confdefs.h <<\EOF
4008 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4011 ac_exception_model_name=sjlj
4012 elif test x$enable_sjlj_exceptions = xno; then
4013 ac_exception_model_name="call frame"
4015 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4022 cross_compiling=$ac_cv_prog_cc_cross
4024 echo "$ac_t""$ac_exception_model_name" 1>&6
4027 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4028 echo "configure:4029: checking for use of libunwind" >&5
4029 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4030 if test "${enable_libunwind_exceptions+set}" = set; then
4031 enableval="$enable_libunwind_exceptions"
4032 use_libunwind_exceptions=$enableval
4034 use_libunwind_exceptions=no
4037 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4038 if test x"$use_libunwind_exceptions" = xyes; then
4039 LIBUNWIND_FLAG="-lunwind"
4045 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4046 if test "${enable_concept_checks+set}" = set; then
4047 enableval="$enable_concept_checks"
4048 case "$enableval" in
4049 yes) enable_concept_checks=yes ;;
4050 no) enable_concept_checks=no ;;
4051 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4054 enable_concept_checks=no
4056 if test x"$enable_concept_checks" = xyes; then
4057 cat >> confdefs.h <<\EOF
4058 #define _GLIBCPP_CONCEPT_CHECKS 1
4064 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4065 for ac_hdr in string.h stdlib.h
4067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4069 echo "configure:4070: checking for $ac_hdr" >&5
4070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4071 echo $ac_n "(cached) $ac_c" 1>&6
4073 cat > conftest.$ac_ext <<EOF
4074 #line 4075 "configure"
4075 #include "confdefs.h"
4078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4079 { (eval echo configure:4080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4081 if test -z "$ac_err"; then
4083 eval "ac_cv_header_$ac_safe=yes"
4086 echo "configure: failed program was:" >&5
4087 cat conftest.$ac_ext >&5
4089 eval "ac_cv_header_$ac_safe=no"
4093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4094 echo "$ac_t""yes" 1>&6
4095 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4096 cat >> confdefs.h <<EOF
4097 #define $ac_tr_hdr 1
4101 echo "$ac_t""no" 1>&6
4106 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4108 # This lets us hard-code the functionality we know
4109 # we'll have in the cross target environment. "Let" is a
4110 # sugar-coated word placed on an especially dull and tedious hack, actually.
4111 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4112 # that involve linking can't be used:
4113 # "cannot open sim-crt0.o"
4114 # "cannot open crt0.o"
4115 # etc. All this is because there currently exists no unified,
4116 # consistent way for top level CC information to be passed down
4117 # to target directories: newlib includes, newlib linking info,
4118 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4119 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4121 # We are being configured with some form of cross compiler.
4122 GLIBCPP_IS_CROSS_COMPILING=1
4124 # If Canadian cross, then don't pick up tools from the build
4126 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4132 # Construct crosses by hand, eliminating bits that need ld...
4133 # GLIBCPP_CHECK_COMPILER_FEATURES
4134 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4135 # GLIBCPP_CHECK_MATH_SUPPORT
4137 case "$target_alias" in
4139 # Check for available headers.
4140 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4141 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4142 fp.h locale.h float.h inttypes.h
4144 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4146 echo "configure:4147: checking for $ac_hdr" >&5
4147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4148 echo $ac_n "(cached) $ac_c" 1>&6
4150 cat > conftest.$ac_ext <<EOF
4151 #line 4152 "configure"
4152 #include "confdefs.h"
4155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4156 { (eval echo configure:4157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4158 if test -z "$ac_err"; then
4160 eval "ac_cv_header_$ac_safe=yes"
4163 echo "configure: failed program was:" >&5
4164 cat conftest.$ac_ext >&5
4166 eval "ac_cv_header_$ac_safe=no"
4170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4171 echo "$ac_t""yes" 1>&6
4172 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4173 cat >> confdefs.h <<EOF
4174 #define $ac_tr_hdr 1
4178 echo "$ac_t""no" 1>&6
4182 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4185 # If we're not using GNU ld, then there's no point in even trying these
4186 # tests. Check for that first. We should have already tested for gld
4187 # by now (in libtool), but require it now just to be safe...
4188 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4189 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4192 # The name set by libtool depends on the version of libtool. Shame on us
4193 # for depending on an impl detail, but c'est la vie. Older versions used
4194 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4195 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4196 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4197 # set (hence we're using an older libtool), then set it.
4198 if test x${with_gnu_ld+set} != xset; then
4199 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4200 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4203 with_gnu_ld=$ac_cv_prog_gnu_ld
4207 # Start by getting the version number. I think the libtool test already
4208 # does some of this, but throws away the result.
4210 ldver=`$LD --version 2>/dev/null | head -1 | \
4211 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4213 glibcpp_gnu_ld_version=`echo $ldver | \
4214 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4216 # Set --gc-sections.
4217 if test "$with_gnu_ld" = "notbroken"; then
4218 # GNU ld it is! Joy and bunny rabbits!
4220 # All these tests are for C++; save the language and the compiler flags.
4221 # Need to do this so that g++ won't try to link in libstdc++
4222 ac_test_CFLAGS="${CFLAGS+set}"
4223 ac_save_CFLAGS="$CFLAGS"
4224 CFLAGS='-x c++ -Wl,--gc-sections'
4226 # Check for -Wl,--gc-sections
4227 # XXX This test is broken at the moment, as symbols required for
4228 # linking are now in libsupc++ (not built yet.....). In addition,
4229 # this test has cored on solaris in the past. In addition,
4230 # --gc-sections doesn't really work at the moment (keeps on discarding
4231 # used sections, first .eh_frame and now some of the glibc sections for
4232 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4233 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4234 echo "configure:4235: checking for ld that supports -Wl,--gc-sections" >&5
4235 if test "$cross_compiling" = yes; then
4236 ac_sectionLDflags=yes
4238 cat > conftest.$ac_ext <<EOF
4239 #line 4240 "configure"
4240 #include "confdefs.h"
4250 if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4252 ac_sectionLDflags=yes
4254 echo "configure: failed program was:" >&5
4255 cat conftest.$ac_ext >&5
4257 ac_sectionLDflags=no
4262 if test "$ac_test_CFLAGS" = set; then
4263 CFLAGS="$ac_save_CFLAGS"
4265 # this is the suspicious part
4268 if test "$ac_sectionLDflags" = "yes"; then
4269 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4271 echo "$ac_t""$ac_sectionLDflags" 1>&6
4274 # Set linker optimization flags.
4275 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4276 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4283 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4284 echo "configure:4285: checking for main in -lm" >&5
4285 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4289 ac_save_LIBS="$LIBS"
4291 cat > conftest.$ac_ext <<EOF
4292 #line 4293 "configure"
4293 #include "confdefs.h"
4299 if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4301 eval "ac_cv_lib_$ac_lib_var=yes"
4303 echo "configure: failed program was:" >&5
4304 cat conftest.$ac_ext >&5
4306 eval "ac_cv_lib_$ac_lib_var=no"
4309 LIBS="$ac_save_LIBS"
4312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4313 echo "$ac_t""yes" 1>&6
4314 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4315 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4316 cat >> confdefs.h <<EOF
4317 #define $ac_tr_lib 1
4323 echo "$ac_t""no" 1>&6
4326 for ac_func in nan copysignf
4328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4329 echo "configure:4330: checking for $ac_func" >&5
4330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4331 echo $ac_n "(cached) $ac_c" 1>&6
4333 cat > conftest.$ac_ext <<EOF
4334 #line 4335 "configure"
4335 #include "confdefs.h"
4336 /* System header to define __stub macros and hopefully few prototypes,
4337 which can conflict with char $ac_func(); below. */
4339 /* Override any gcc2 internal prototype to avoid an error. */
4340 /* We use char because int might match the return type of a gcc2
4341 builtin and then its argument prototype would still apply. */
4346 /* The GNU C library defines this for functions which it implements
4347 to always fail with ENOSYS. Some functions are actually named
4348 something starting with __ and the normal name is an alias. */
4349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4357 if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4359 eval "ac_cv_func_$ac_func=yes"
4361 echo "configure: failed program was:" >&5
4362 cat conftest.$ac_ext >&5
4364 eval "ac_cv_func_$ac_func=no"
4369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4370 echo "$ac_t""yes" 1>&6
4371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4372 cat >> confdefs.h <<EOF
4373 #define $ac_tr_func 1
4377 echo "$ac_t""no" 1>&6
4378 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4383 for ac_func in __signbit
4385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4386 echo "configure:4387: checking for $ac_func" >&5
4387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4388 echo $ac_n "(cached) $ac_c" 1>&6
4390 cat > conftest.$ac_ext <<EOF
4391 #line 4392 "configure"
4392 #include "confdefs.h"
4393 /* System header to define __stub macros and hopefully few prototypes,
4394 which can conflict with char $ac_func(); below. */
4396 /* Override any gcc2 internal prototype to avoid an error. */
4397 /* We use char because int might match the return type of a gcc2
4398 builtin and then its argument prototype would still apply. */
4403 /* The GNU C library defines this for functions which it implements
4404 to always fail with ENOSYS. Some functions are actually named
4405 something starting with __ and the normal name is an alias. */
4406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4414 if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4416 eval "ac_cv_func_$ac_func=yes"
4418 echo "configure: failed program was:" >&5
4419 cat conftest.$ac_ext >&5
4421 eval "ac_cv_func_$ac_func=no"
4426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4427 echo "$ac_t""yes" 1>&6
4428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4429 cat >> confdefs.h <<EOF
4430 #define $ac_tr_func 1
4434 echo "$ac_t""no" 1>&6
4435 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4439 for ac_func in __signbitf
4441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4442 echo "configure:4443: checking for $ac_func" >&5
4443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4444 echo $ac_n "(cached) $ac_c" 1>&6
4446 cat > conftest.$ac_ext <<EOF
4447 #line 4448 "configure"
4448 #include "confdefs.h"
4449 /* System header to define __stub macros and hopefully few prototypes,
4450 which can conflict with char $ac_func(); below. */
4452 /* Override any gcc2 internal prototype to avoid an error. */
4453 /* We use char because int might match the return type of a gcc2
4454 builtin and then its argument prototype would still apply. */
4459 /* The GNU C library defines this for functions which it implements
4460 to always fail with ENOSYS. Some functions are actually named
4461 something starting with __ and the normal name is an alias. */
4462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4470 if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4472 eval "ac_cv_func_$ac_func=yes"
4474 echo "configure: failed program was:" >&5
4475 cat conftest.$ac_ext >&5
4477 eval "ac_cv_func_$ac_func=no"
4482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4483 echo "$ac_t""yes" 1>&6
4484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4485 cat >> confdefs.h <<EOF
4486 #define $ac_tr_func 1
4490 echo "$ac_t""no" 1>&6
4491 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4496 if test x$ac_cv_func_copysignl = x"yes"; then
4497 for ac_func in __signbitl
4499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4500 echo "configure:4501: checking for $ac_func" >&5
4501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4502 echo $ac_n "(cached) $ac_c" 1>&6
4504 cat > conftest.$ac_ext <<EOF
4505 #line 4506 "configure"
4506 #include "confdefs.h"
4507 /* System header to define __stub macros and hopefully few prototypes,
4508 which can conflict with char $ac_func(); below. */
4510 /* Override any gcc2 internal prototype to avoid an error. */
4511 /* We use char because int might match the return type of a gcc2
4512 builtin and then its argument prototype would still apply. */
4517 /* The GNU C library defines this for functions which it implements
4518 to always fail with ENOSYS. Some functions are actually named
4519 something starting with __ and the normal name is an alias. */
4520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4528 if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4530 eval "ac_cv_func_$ac_func=yes"
4532 echo "configure: failed program was:" >&5
4533 cat conftest.$ac_ext >&5
4535 eval "ac_cv_func_$ac_func=no"
4540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4541 echo "$ac_t""yes" 1>&6
4542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4543 cat >> confdefs.h <<EOF
4544 #define $ac_tr_func 1
4548 echo "$ac_t""no" 1>&6
4549 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4559 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4560 echo "configure:4561: checking for mbstate_t" >&5
4561 cat > conftest.$ac_ext <<EOF
4562 #line 4563 "configure"
4563 #include "confdefs.h"
4566 mbstate_t teststate;
4569 if { (eval echo configure:4570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4573 echo "configure: failed program was:" >&5
4574 cat conftest.$ac_ext >&5
4579 echo "$ac_t""$have_mbstate_t" 1>&6
4580 if test x"$have_mbstate_t" = xyes; then
4581 cat >> confdefs.h <<\EOF
4582 #define HAVE_MBSTATE_T 1
4587 for ac_hdr in wchar.h
4589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4591 echo "configure:4592: checking for $ac_hdr" >&5
4592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4593 echo $ac_n "(cached) $ac_c" 1>&6
4595 cat > conftest.$ac_ext <<EOF
4596 #line 4597 "configure"
4597 #include "confdefs.h"
4600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4601 { (eval echo configure:4602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4603 if test -z "$ac_err"; then
4605 eval "ac_cv_header_$ac_safe=yes"
4608 echo "configure: failed program was:" >&5
4609 cat conftest.$ac_ext >&5
4611 eval "ac_cv_header_$ac_safe=no"
4615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4616 echo "$ac_t""yes" 1>&6
4617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4618 cat >> confdefs.h <<EOF
4619 #define $ac_tr_hdr 1
4623 echo "$ac_t""no" 1>&6
4628 for ac_hdr in wctype.h
4630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4632 echo "configure:4633: checking for $ac_hdr" >&5
4633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4634 echo $ac_n "(cached) $ac_c" 1>&6
4636 cat > conftest.$ac_ext <<EOF
4637 #line 4638 "configure"
4638 #include "confdefs.h"
4641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4642 { (eval echo configure:4643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4644 if test -z "$ac_err"; then
4646 eval "ac_cv_header_$ac_safe=yes"
4649 echo "configure: failed program was:" >&5
4650 cat conftest.$ac_ext >&5
4652 eval "ac_cv_header_$ac_safe=no"
4656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4657 echo "$ac_t""yes" 1>&6
4658 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4659 cat >> confdefs.h <<EOF
4660 #define $ac_tr_hdr 1
4664 echo "$ac_t""no" 1>&6
4670 if test x"$ac_has_wchar_h" = xyes &&
4671 test x"$ac_has_wctype_h" = xyes &&
4672 test x"$enable_c_mbchar" != xno; then
4674 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4675 echo "configure:4676: checking for WCHAR_MIN and WCHAR_MAX" >&5
4676 cat > conftest.$ac_ext <<EOF
4677 #line 4678 "configure"
4678 #include "confdefs.h"
4681 int i = WCHAR_MIN; int j = WCHAR_MAX;
4684 if { (eval echo configure:4685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4686 has_wchar_minmax=yes
4688 echo "configure: failed program was:" >&5
4689 cat conftest.$ac_ext >&5
4694 echo "$ac_t""$has_wchar_minmax" 1>&6
4696 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4697 echo "configure:4698: checking for WEOF" >&5
4698 cat > conftest.$ac_ext <<EOF
4699 #line 4700 "configure"
4700 #include "confdefs.h"
4708 if { (eval echo configure:4709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4712 echo "configure: failed program was:" >&5
4713 cat conftest.$ac_ext >&5
4718 echo "$ac_t""$has_weof" 1>&6
4721 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4724 echo "configure:4725: checking for $ac_func" >&5
4725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4726 echo $ac_n "(cached) $ac_c" 1>&6
4728 cat > conftest.$ac_ext <<EOF
4729 #line 4730 "configure"
4730 #include "confdefs.h"
4731 /* System header to define __stub macros and hopefully few prototypes,
4732 which can conflict with char $ac_func(); below. */
4734 /* Override any gcc2 internal prototype to avoid an error. */
4735 /* We use char because int might match the return type of a gcc2
4736 builtin and then its argument prototype would still apply. */
4741 /* The GNU C library defines this for functions which it implements
4742 to always fail with ENOSYS. Some functions are actually named
4743 something starting with __ and the normal name is an alias. */
4744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4752 if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4754 eval "ac_cv_func_$ac_func=yes"
4756 echo "configure: failed program was:" >&5
4757 cat conftest.$ac_ext >&5
4759 eval "ac_cv_func_$ac_func=no"
4764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4765 echo "$ac_t""yes" 1>&6
4766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4767 cat >> confdefs.h <<EOF
4768 #define $ac_tr_func 1
4772 echo "$ac_t""no" 1>&6
4779 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4780 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4781 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4782 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4783 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4784 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4787 echo "configure:4788: checking for $ac_func" >&5
4788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4789 echo $ac_n "(cached) $ac_c" 1>&6
4791 cat > conftest.$ac_ext <<EOF
4792 #line 4793 "configure"
4793 #include "confdefs.h"
4794 /* System header to define __stub macros and hopefully few prototypes,
4795 which can conflict with char $ac_func(); below. */
4797 /* Override any gcc2 internal prototype to avoid an error. */
4798 /* We use char because int might match the return type of a gcc2
4799 builtin and then its argument prototype would still apply. */
4804 /* The GNU C library defines this for functions which it implements
4805 to always fail with ENOSYS. Some functions are actually named
4806 something starting with __ and the normal name is an alias. */
4807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4815 if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4817 eval "ac_cv_func_$ac_func=yes"
4819 echo "configure: failed program was:" >&5
4820 cat conftest.$ac_ext >&5
4822 eval "ac_cv_func_$ac_func=no"
4827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4828 echo "$ac_t""yes" 1>&6
4829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4830 cat >> confdefs.h <<EOF
4831 #define $ac_tr_func 1
4835 echo "$ac_t""no" 1>&6
4842 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4843 echo "configure:4844: checking for ISO C99 wchar_t support" >&5
4844 if test x"$has_weof" = xyes &&
4845 test x"$has_wchar_minmax" = xyes &&
4846 test x"$ac_wfuncs" = xyes; then
4847 ac_isoC99_wchar_t=yes
4849 ac_isoC99_wchar_t=no
4851 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4853 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4854 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4855 echo "configure:4856: checking for iconv.h" >&5
4856 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4857 echo $ac_n "(cached) $ac_c" 1>&6
4859 cat > conftest.$ac_ext <<EOF
4860 #line 4861 "configure"
4861 #include "confdefs.h"
4864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4865 { (eval echo configure:4866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4867 if test -z "$ac_err"; then
4869 eval "ac_cv_header_$ac_safe=yes"
4872 echo "configure: failed program was:" >&5
4873 cat conftest.$ac_ext >&5
4875 eval "ac_cv_header_$ac_safe=no"
4879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4880 echo "$ac_t""yes" 1>&6
4883 echo "$ac_t""no" 1>&6
4887 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4888 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4889 echo "configure:4890: checking for langinfo.h" >&5
4890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4891 echo $ac_n "(cached) $ac_c" 1>&6
4893 cat > conftest.$ac_ext <<EOF
4894 #line 4895 "configure"
4895 #include "confdefs.h"
4896 #include <langinfo.h>
4898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4899 { (eval echo configure:4900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4901 if test -z "$ac_err"; then
4903 eval "ac_cv_header_$ac_safe=yes"
4906 echo "configure: failed program was:" >&5
4907 cat conftest.$ac_ext >&5
4909 eval "ac_cv_header_$ac_safe=no"
4913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4914 echo "$ac_t""yes" 1>&6
4915 ac_has_langinfo_h=yes
4917 echo "$ac_t""no" 1>&6
4918 ac_has_langinfo_h=no
4922 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4923 echo "configure:4924: checking for iconv in -liconv" >&5
4924 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4925 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4926 echo $ac_n "(cached) $ac_c" 1>&6
4928 ac_save_LIBS="$LIBS"
4929 LIBS="-liconv $LIBS"
4930 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure"
4932 #include "confdefs.h"
4933 /* Override any gcc2 internal prototype to avoid an error. */
4934 /* We use char because int might match the return type of a gcc2
4935 builtin and then its argument prototype would still apply. */
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4944 eval "ac_cv_lib_$ac_lib_var=yes"
4946 echo "configure: failed program was:" >&5
4947 cat conftest.$ac_ext >&5
4949 eval "ac_cv_lib_$ac_lib_var=no"
4952 LIBS="$ac_save_LIBS"
4955 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4956 echo "$ac_t""yes" 1>&6
4959 echo "$ac_t""no" 1>&6
4962 ac_save_LIBS="$LIBS"
4963 LIBS="$LIBS $libiconv"
4965 for ac_func in iconv_open iconv_close iconv nl_langinfo
4967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4968 echo "configure:4969: checking for $ac_func" >&5
4969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4970 echo $ac_n "(cached) $ac_c" 1>&6
4972 cat > conftest.$ac_ext <<EOF
4973 #line 4974 "configure"
4974 #include "confdefs.h"
4975 /* System header to define __stub macros and hopefully few prototypes,
4976 which can conflict with char $ac_func(); below. */
4978 /* Override any gcc2 internal prototype to avoid an error. */
4979 /* We use char because int might match the return type of a gcc2
4980 builtin and then its argument prototype would still apply. */
4985 /* The GNU C library defines this for functions which it implements
4986 to always fail with ENOSYS. Some functions are actually named
4987 something starting with __ and the normal name is an alias. */
4988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4998 eval "ac_cv_func_$ac_func=yes"
5000 echo "configure: failed program was:" >&5
5001 cat conftest.$ac_ext >&5
5003 eval "ac_cv_func_$ac_func=no"
5008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5009 echo "$ac_t""yes" 1>&6
5010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5011 cat >> confdefs.h <<EOF
5012 #define $ac_tr_func 1
5017 echo "$ac_t""no" 1>&6
5023 LIBS="$ac_save_LIBS"
5025 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5026 echo "configure:5027: checking for XPG2 wchar_t support" >&5
5027 if test x"$ac_has_iconv_h" = xyes &&
5028 test x"$ac_has_langinfo_h" = xyes &&
5029 test x"$ac_XPG2funcs" = xyes; then
5034 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5036 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5037 echo "configure:5038: checking for enabled wchar_t specializations" >&5
5038 if test x"$ac_isoC99_wchar_t" = xyes &&
5039 test x"$ac_XPG2_wchar_t" = xyes; then
5040 cat >> confdefs.h <<\EOF
5041 #define _GLIBCPP_USE_WCHAR_T 1
5044 echo "$ac_t"""yes"" 1>&6
5046 echo "$ac_t"""no"" 1>&6
5049 echo "configure: warning: wchar_t support disabled." 1>&2
5052 os_include_dir="config/os/gnu-linux"
5053 cat >> confdefs.h <<\EOF
5054 #define HAVE_COPYSIGN 1
5057 cat >> confdefs.h <<\EOF
5058 #define HAVE_COPYSIGNF 1
5061 cat >> confdefs.h <<\EOF
5062 #define HAVE_FINITEF 1
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_FREXPF 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_HYPOTF 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_SINCOS 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_SINCOSF 1
5081 if test x"long_double_math_on_this_cpu" = x"yes"; then
5082 cat >> confdefs.h <<\EOF
5083 #define HAVE_HYPOTL 1
5089 # Check for available headers.
5090 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5091 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5092 fp.h locale.h float.h inttypes.h
5094 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5095 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5096 echo "configure:5097: checking for $ac_hdr" >&5
5097 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5098 echo $ac_n "(cached) $ac_c" 1>&6
5100 cat > conftest.$ac_ext <<EOF
5101 #line 5102 "configure"
5102 #include "confdefs.h"
5105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5106 { (eval echo configure:5107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5108 if test -z "$ac_err"; then
5110 eval "ac_cv_header_$ac_safe=yes"
5113 echo "configure: failed program was:" >&5
5114 cat conftest.$ac_ext >&5
5116 eval "ac_cv_header_$ac_safe=no"
5120 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5121 echo "$ac_t""yes" 1>&6
5122 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5123 cat >> confdefs.h <<EOF
5124 #define $ac_tr_hdr 1
5128 echo "$ac_t""no" 1>&6
5132 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5135 # If we're not using GNU ld, then there's no point in even trying these
5136 # tests. Check for that first. We should have already tested for gld
5137 # by now (in libtool), but require it now just to be safe...
5138 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5139 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5142 # The name set by libtool depends on the version of libtool. Shame on us
5143 # for depending on an impl detail, but c'est la vie. Older versions used
5144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5147 # set (hence we're using an older libtool), then set it.
5148 if test x${with_gnu_ld+set} != xset; then
5149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5153 with_gnu_ld=$ac_cv_prog_gnu_ld
5157 # Start by getting the version number. I think the libtool test already
5158 # does some of this, but throws away the result.
5160 ldver=`$LD --version 2>/dev/null | head -1 | \
5161 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5163 glibcpp_gnu_ld_version=`echo $ldver | \
5164 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5166 # Set --gc-sections.
5167 if test "$with_gnu_ld" = "notbroken"; then
5168 # GNU ld it is! Joy and bunny rabbits!
5170 # All these tests are for C++; save the language and the compiler flags.
5171 # Need to do this so that g++ won't try to link in libstdc++
5172 ac_test_CFLAGS="${CFLAGS+set}"
5173 ac_save_CFLAGS="$CFLAGS"
5174 CFLAGS='-x c++ -Wl,--gc-sections'
5176 # Check for -Wl,--gc-sections
5177 # XXX This test is broken at the moment, as symbols required for
5178 # linking are now in libsupc++ (not built yet.....). In addition,
5179 # this test has cored on solaris in the past. In addition,
5180 # --gc-sections doesn't really work at the moment (keeps on discarding
5181 # used sections, first .eh_frame and now some of the glibc sections for
5182 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5183 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5184 echo "configure:5185: checking for ld that supports -Wl,--gc-sections" >&5
5185 if test "$cross_compiling" = yes; then
5186 ac_sectionLDflags=yes
5188 cat > conftest.$ac_ext <<EOF
5189 #line 5190 "configure"
5190 #include "confdefs.h"
5200 if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5202 ac_sectionLDflags=yes
5204 echo "configure: failed program was:" >&5
5205 cat conftest.$ac_ext >&5
5207 ac_sectionLDflags=no
5212 if test "$ac_test_CFLAGS" = set; then
5213 CFLAGS="$ac_save_CFLAGS"
5215 # this is the suspicious part
5218 if test "$ac_sectionLDflags" = "yes"; then
5219 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5221 echo "$ac_t""$ac_sectionLDflags" 1>&6
5224 # Set linker optimization flags.
5225 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5233 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5234 echo "configure:5235: checking for main in -lm" >&5
5235 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5237 echo $ac_n "(cached) $ac_c" 1>&6
5239 ac_save_LIBS="$LIBS"
5241 cat > conftest.$ac_ext <<EOF
5242 #line 5243 "configure"
5243 #include "confdefs.h"
5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5251 eval "ac_cv_lib_$ac_lib_var=yes"
5253 echo "configure: failed program was:" >&5
5254 cat conftest.$ac_ext >&5
5256 eval "ac_cv_lib_$ac_lib_var=no"
5259 LIBS="$ac_save_LIBS"
5262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5263 echo "$ac_t""yes" 1>&6
5264 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5265 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5266 cat >> confdefs.h <<EOF
5267 #define $ac_tr_lib 1
5273 echo "$ac_t""no" 1>&6
5276 for ac_func in nan copysignf
5278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5279 echo "configure:5280: checking for $ac_func" >&5
5280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5281 echo $ac_n "(cached) $ac_c" 1>&6
5283 cat > conftest.$ac_ext <<EOF
5284 #line 5285 "configure"
5285 #include "confdefs.h"
5286 /* System header to define __stub macros and hopefully few prototypes,
5287 which can conflict with char $ac_func(); below. */
5289 /* Override any gcc2 internal prototype to avoid an error. */
5290 /* We use char because int might match the return type of a gcc2
5291 builtin and then its argument prototype would still apply. */
5296 /* The GNU C library defines this for functions which it implements
5297 to always fail with ENOSYS. Some functions are actually named
5298 something starting with __ and the normal name is an alias. */
5299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5307 if { (eval echo configure:5308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5309 eval "ac_cv_func_$ac_func=yes"
5311 echo "configure: failed program was:" >&5
5312 cat conftest.$ac_ext >&5
5314 eval "ac_cv_func_$ac_func=no"
5319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5320 echo "$ac_t""yes" 1>&6
5321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5322 cat >> confdefs.h <<EOF
5323 #define $ac_tr_func 1
5327 echo "$ac_t""no" 1>&6
5328 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5333 for ac_func in __signbit
5335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5336 echo "configure:5337: checking for $ac_func" >&5
5337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5338 echo $ac_n "(cached) $ac_c" 1>&6
5340 cat > conftest.$ac_ext <<EOF
5341 #line 5342 "configure"
5342 #include "confdefs.h"
5343 /* System header to define __stub macros and hopefully few prototypes,
5344 which can conflict with char $ac_func(); below. */
5346 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */
5353 /* The GNU C library defines this for functions which it implements
5354 to always fail with ENOSYS. Some functions are actually named
5355 something starting with __ and the normal name is an alias. */
5356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5366 eval "ac_cv_func_$ac_func=yes"
5368 echo "configure: failed program was:" >&5
5369 cat conftest.$ac_ext >&5
5371 eval "ac_cv_func_$ac_func=no"
5376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5377 echo "$ac_t""yes" 1>&6
5378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5379 cat >> confdefs.h <<EOF
5380 #define $ac_tr_func 1
5384 echo "$ac_t""no" 1>&6
5385 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5389 for ac_func in __signbitf
5391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5392 echo "configure:5393: checking for $ac_func" >&5
5393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5394 echo $ac_n "(cached) $ac_c" 1>&6
5396 cat > conftest.$ac_ext <<EOF
5397 #line 5398 "configure"
5398 #include "confdefs.h"
5399 /* System header to define __stub macros and hopefully few prototypes,
5400 which can conflict with char $ac_func(); below. */
5402 /* Override any gcc2 internal prototype to avoid an error. */
5403 /* We use char because int might match the return type of a gcc2
5404 builtin and then its argument prototype would still apply. */
5409 /* The GNU C library defines this for functions which it implements
5410 to always fail with ENOSYS. Some functions are actually named
5411 something starting with __ and the normal name is an alias. */
5412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5420 if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5422 eval "ac_cv_func_$ac_func=yes"
5424 echo "configure: failed program was:" >&5
5425 cat conftest.$ac_ext >&5
5427 eval "ac_cv_func_$ac_func=no"
5432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5433 echo "$ac_t""yes" 1>&6
5434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5435 cat >> confdefs.h <<EOF
5436 #define $ac_tr_func 1
5440 echo "$ac_t""no" 1>&6
5441 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5446 if test x$ac_cv_func_copysignl = x"yes"; then
5447 for ac_func in __signbitl
5449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5450 echo "configure:5451: checking for $ac_func" >&5
5451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5452 echo $ac_n "(cached) $ac_c" 1>&6
5454 cat > conftest.$ac_ext <<EOF
5455 #line 5456 "configure"
5456 #include "confdefs.h"
5457 /* System header to define __stub macros and hopefully few prototypes,
5458 which can conflict with char $ac_func(); below. */
5460 /* Override any gcc2 internal prototype to avoid an error. */
5461 /* We use char because int might match the return type of a gcc2
5462 builtin and then its argument prototype would still apply. */
5467 /* The GNU C library defines this for functions which it implements
5468 to always fail with ENOSYS. Some functions are actually named
5469 something starting with __ and the normal name is an alias. */
5470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5480 eval "ac_cv_func_$ac_func=yes"
5482 echo "configure: failed program was:" >&5
5483 cat conftest.$ac_ext >&5
5485 eval "ac_cv_func_$ac_func=no"
5490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5491 echo "$ac_t""yes" 1>&6
5492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5493 cat >> confdefs.h <<EOF
5494 #define $ac_tr_func 1
5498 echo "$ac_t""no" 1>&6
5499 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5509 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5510 echo "configure:5511: checking for mbstate_t" >&5
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure"
5513 #include "confdefs.h"
5516 mbstate_t teststate;
5519 if { (eval echo configure:5520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5523 echo "configure: failed program was:" >&5
5524 cat conftest.$ac_ext >&5
5529 echo "$ac_t""$have_mbstate_t" 1>&6
5530 if test x"$have_mbstate_t" = xyes; then
5531 cat >> confdefs.h <<\EOF
5532 #define HAVE_MBSTATE_T 1
5537 for ac_hdr in wchar.h
5539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5541 echo "configure:5542: checking for $ac_hdr" >&5
5542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5543 echo $ac_n "(cached) $ac_c" 1>&6
5545 cat > conftest.$ac_ext <<EOF
5546 #line 5547 "configure"
5547 #include "confdefs.h"
5550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5551 { (eval echo configure:5552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5553 if test -z "$ac_err"; then
5555 eval "ac_cv_header_$ac_safe=yes"
5558 echo "configure: failed program was:" >&5
5559 cat conftest.$ac_ext >&5
5561 eval "ac_cv_header_$ac_safe=no"
5565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5566 echo "$ac_t""yes" 1>&6
5567 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5568 cat >> confdefs.h <<EOF
5569 #define $ac_tr_hdr 1
5573 echo "$ac_t""no" 1>&6
5578 for ac_hdr in wctype.h
5580 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5582 echo "configure:5583: checking for $ac_hdr" >&5
5583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5584 echo $ac_n "(cached) $ac_c" 1>&6
5586 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure"
5588 #include "confdefs.h"
5591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5592 { (eval echo configure:5593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5594 if test -z "$ac_err"; then
5596 eval "ac_cv_header_$ac_safe=yes"
5599 echo "configure: failed program was:" >&5
5600 cat conftest.$ac_ext >&5
5602 eval "ac_cv_header_$ac_safe=no"
5606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5607 echo "$ac_t""yes" 1>&6
5608 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5609 cat >> confdefs.h <<EOF
5610 #define $ac_tr_hdr 1
5614 echo "$ac_t""no" 1>&6
5620 if test x"$ac_has_wchar_h" = xyes &&
5621 test x"$ac_has_wctype_h" = xyes &&
5622 test x"$enable_c_mbchar" != xno; then
5624 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5625 echo "configure:5626: checking for WCHAR_MIN and WCHAR_MAX" >&5
5626 cat > conftest.$ac_ext <<EOF
5627 #line 5628 "configure"
5628 #include "confdefs.h"
5631 int i = WCHAR_MIN; int j = WCHAR_MAX;
5634 if { (eval echo configure:5635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5636 has_wchar_minmax=yes
5638 echo "configure: failed program was:" >&5
5639 cat conftest.$ac_ext >&5
5644 echo "$ac_t""$has_wchar_minmax" 1>&6
5646 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5647 echo "configure:5648: checking for WEOF" >&5
5648 cat > conftest.$ac_ext <<EOF
5649 #line 5650 "configure"
5650 #include "confdefs.h"
5658 if { (eval echo configure:5659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5662 echo "configure: failed program was:" >&5
5663 cat conftest.$ac_ext >&5
5668 echo "$ac_t""$has_weof" 1>&6
5671 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5674 echo "configure:5675: checking for $ac_func" >&5
5675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5676 echo $ac_n "(cached) $ac_c" 1>&6
5678 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure"
5680 #include "confdefs.h"
5681 /* System header to define __stub macros and hopefully few prototypes,
5682 which can conflict with char $ac_func(); below. */
5684 /* Override any gcc2 internal prototype to avoid an error. */
5685 /* We use char because int might match the return type of a gcc2
5686 builtin and then its argument prototype would still apply. */
5691 /* The GNU C library defines this for functions which it implements
5692 to always fail with ENOSYS. Some functions are actually named
5693 something starting with __ and the normal name is an alias. */
5694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5704 eval "ac_cv_func_$ac_func=yes"
5706 echo "configure: failed program was:" >&5
5707 cat conftest.$ac_ext >&5
5709 eval "ac_cv_func_$ac_func=no"
5714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5715 echo "$ac_t""yes" 1>&6
5716 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5717 cat >> confdefs.h <<EOF
5718 #define $ac_tr_func 1
5722 echo "$ac_t""no" 1>&6
5729 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5730 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5731 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5732 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5733 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5734 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5737 echo "configure:5738: checking for $ac_func" >&5
5738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5739 echo $ac_n "(cached) $ac_c" 1>&6
5741 cat > conftest.$ac_ext <<EOF
5742 #line 5743 "configure"
5743 #include "confdefs.h"
5744 /* System header to define __stub macros and hopefully few prototypes,
5745 which can conflict with char $ac_func(); below. */
5747 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5754 /* The GNU C library defines this for functions which it implements
5755 to always fail with ENOSYS. Some functions are actually named
5756 something starting with __ and the normal name is an alias. */
5757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5767 eval "ac_cv_func_$ac_func=yes"
5769 echo "configure: failed program was:" >&5
5770 cat conftest.$ac_ext >&5
5772 eval "ac_cv_func_$ac_func=no"
5777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5778 echo "$ac_t""yes" 1>&6
5779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5780 cat >> confdefs.h <<EOF
5781 #define $ac_tr_func 1
5785 echo "$ac_t""no" 1>&6
5792 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5793 echo "configure:5794: checking for ISO C99 wchar_t support" >&5
5794 if test x"$has_weof" = xyes &&
5795 test x"$has_wchar_minmax" = xyes &&
5796 test x"$ac_wfuncs" = xyes; then
5797 ac_isoC99_wchar_t=yes
5799 ac_isoC99_wchar_t=no
5801 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5803 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5804 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5805 echo "configure:5806: checking for iconv.h" >&5
5806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5807 echo $ac_n "(cached) $ac_c" 1>&6
5809 cat > conftest.$ac_ext <<EOF
5810 #line 5811 "configure"
5811 #include "confdefs.h"
5814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5815 { (eval echo configure:5816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5817 if test -z "$ac_err"; then
5819 eval "ac_cv_header_$ac_safe=yes"
5822 echo "configure: failed program was:" >&5
5823 cat conftest.$ac_ext >&5
5825 eval "ac_cv_header_$ac_safe=no"
5829 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5830 echo "$ac_t""yes" 1>&6
5833 echo "$ac_t""no" 1>&6
5837 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5838 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5839 echo "configure:5840: checking for langinfo.h" >&5
5840 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5841 echo $ac_n "(cached) $ac_c" 1>&6
5843 cat > conftest.$ac_ext <<EOF
5844 #line 5845 "configure"
5845 #include "confdefs.h"
5846 #include <langinfo.h>
5848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5849 { (eval echo configure:5850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5851 if test -z "$ac_err"; then
5853 eval "ac_cv_header_$ac_safe=yes"
5856 echo "configure: failed program was:" >&5
5857 cat conftest.$ac_ext >&5
5859 eval "ac_cv_header_$ac_safe=no"
5863 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5864 echo "$ac_t""yes" 1>&6
5865 ac_has_langinfo_h=yes
5867 echo "$ac_t""no" 1>&6
5868 ac_has_langinfo_h=no
5872 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5873 echo "configure:5874: checking for iconv in -liconv" >&5
5874 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5876 echo $ac_n "(cached) $ac_c" 1>&6
5878 ac_save_LIBS="$LIBS"
5879 LIBS="-liconv $LIBS"
5880 cat > conftest.$ac_ext <<EOF
5881 #line 5882 "configure"
5882 #include "confdefs.h"
5883 /* Override any gcc2 internal prototype to avoid an error. */
5884 /* We use char because int might match the return type of a gcc2
5885 builtin and then its argument prototype would still apply. */
5892 if { (eval echo configure:5893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5894 eval "ac_cv_lib_$ac_lib_var=yes"
5896 echo "configure: failed program was:" >&5
5897 cat conftest.$ac_ext >&5
5899 eval "ac_cv_lib_$ac_lib_var=no"
5902 LIBS="$ac_save_LIBS"
5905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5906 echo "$ac_t""yes" 1>&6
5909 echo "$ac_t""no" 1>&6
5912 ac_save_LIBS="$LIBS"
5913 LIBS="$LIBS $libiconv"
5915 for ac_func in iconv_open iconv_close iconv nl_langinfo
5917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5918 echo "configure:5919: checking for $ac_func" >&5
5919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5920 echo $ac_n "(cached) $ac_c" 1>&6
5922 cat > conftest.$ac_ext <<EOF
5923 #line 5924 "configure"
5924 #include "confdefs.h"
5925 /* System header to define __stub macros and hopefully few prototypes,
5926 which can conflict with char $ac_func(); below. */
5928 /* Override any gcc2 internal prototype to avoid an error. */
5929 /* We use char because int might match the return type of a gcc2
5930 builtin and then its argument prototype would still apply. */
5935 /* The GNU C library defines this for functions which it implements
5936 to always fail with ENOSYS. Some functions are actually named
5937 something starting with __ and the normal name is an alias. */
5938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5946 if { (eval echo configure:5947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5948 eval "ac_cv_func_$ac_func=yes"
5950 echo "configure: failed program was:" >&5
5951 cat conftest.$ac_ext >&5
5953 eval "ac_cv_func_$ac_func=no"
5958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5959 echo "$ac_t""yes" 1>&6
5960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5961 cat >> confdefs.h <<EOF
5962 #define $ac_tr_func 1
5967 echo "$ac_t""no" 1>&6
5973 LIBS="$ac_save_LIBS"
5975 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5976 echo "configure:5977: checking for XPG2 wchar_t support" >&5
5977 if test x"$ac_has_iconv_h" = xyes &&
5978 test x"$ac_has_langinfo_h" = xyes &&
5979 test x"$ac_XPG2funcs" = xyes; then
5984 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5986 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5987 echo "configure:5988: checking for enabled wchar_t specializations" >&5
5988 if test x"$ac_isoC99_wchar_t" = xyes &&
5989 test x"$ac_XPG2_wchar_t" = xyes; then
5990 cat >> confdefs.h <<\EOF
5991 #define _GLIBCPP_USE_WCHAR_T 1
5994 echo "$ac_t"""yes"" 1>&6
5996 echo "$ac_t"""no"" 1>&6
5999 echo "configure: warning: wchar_t support disabled." 1>&2
6002 os_include_dir="config/os/hpux"
6003 cat >> confdefs.h <<\EOF
6004 #define HAVE_COPYSIGN 1
6007 cat >> confdefs.h <<\EOF
6008 #define HAVE_COPYSIGNF 1
6011 cat >> confdefs.h <<\EOF
6012 #define HAVE_FINITEF 1
6015 cat >> confdefs.h <<\EOF
6016 #define HAVE_FREXPF 1
6019 cat >> confdefs.h <<\EOF
6020 #define HAVE_HYPOT 1
6023 cat >> confdefs.h <<\EOF
6024 #define HAVE_SINCOS 1
6027 cat >> confdefs.h <<\EOF
6028 #define HAVE_SINCOSF 1
6033 # Check for available headers.
6034 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6035 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6036 fp.h locale.h float.h inttypes.h
6038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6040 echo "configure:6041: checking for $ac_hdr" >&5
6041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6042 echo $ac_n "(cached) $ac_c" 1>&6
6044 cat > conftest.$ac_ext <<EOF
6045 #line 6046 "configure"
6046 #include "confdefs.h"
6049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6050 { (eval echo configure:6051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6052 if test -z "$ac_err"; then
6054 eval "ac_cv_header_$ac_safe=yes"
6057 echo "configure: failed program was:" >&5
6058 cat conftest.$ac_ext >&5
6060 eval "ac_cv_header_$ac_safe=no"
6064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6065 echo "$ac_t""yes" 1>&6
6066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6067 cat >> confdefs.h <<EOF
6068 #define $ac_tr_hdr 1
6072 echo "$ac_t""no" 1>&6
6076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6079 # If we're not using GNU ld, then there's no point in even trying these
6080 # tests. Check for that first. We should have already tested for gld
6081 # by now (in libtool), but require it now just to be safe...
6082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6086 # The name set by libtool depends on the version of libtool. Shame on us
6087 # for depending on an impl detail, but c'est la vie. Older versions used
6088 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6089 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6090 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6091 # set (hence we're using an older libtool), then set it.
6092 if test x${with_gnu_ld+set} != xset; then
6093 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6094 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6097 with_gnu_ld=$ac_cv_prog_gnu_ld
6101 # Start by getting the version number. I think the libtool test already
6102 # does some of this, but throws away the result.
6104 ldver=`$LD --version 2>/dev/null | head -1 | \
6105 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6107 glibcpp_gnu_ld_version=`echo $ldver | \
6108 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6110 # Set --gc-sections.
6111 if test "$with_gnu_ld" = "notbroken"; then
6112 # GNU ld it is! Joy and bunny rabbits!
6114 # All these tests are for C++; save the language and the compiler flags.
6115 # Need to do this so that g++ won't try to link in libstdc++
6116 ac_test_CFLAGS="${CFLAGS+set}"
6117 ac_save_CFLAGS="$CFLAGS"
6118 CFLAGS='-x c++ -Wl,--gc-sections'
6120 # Check for -Wl,--gc-sections
6121 # XXX This test is broken at the moment, as symbols required for
6122 # linking are now in libsupc++ (not built yet.....). In addition,
6123 # this test has cored on solaris in the past. In addition,
6124 # --gc-sections doesn't really work at the moment (keeps on discarding
6125 # used sections, first .eh_frame and now some of the glibc sections for
6126 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6127 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6128 echo "configure:6129: checking for ld that supports -Wl,--gc-sections" >&5
6129 if test "$cross_compiling" = yes; then
6130 ac_sectionLDflags=yes
6132 cat > conftest.$ac_ext <<EOF
6133 #line 6134 "configure"
6134 #include "confdefs.h"
6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6146 ac_sectionLDflags=yes
6148 echo "configure: failed program was:" >&5
6149 cat conftest.$ac_ext >&5
6151 ac_sectionLDflags=no
6156 if test "$ac_test_CFLAGS" = set; then
6157 CFLAGS="$ac_save_CFLAGS"
6159 # this is the suspicious part
6162 if test "$ac_sectionLDflags" = "yes"; then
6163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6165 echo "$ac_t""$ac_sectionLDflags" 1>&6
6168 # Set linker optimization flags.
6169 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6170 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6177 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6178 echo "configure:6179: checking for main in -lm" >&5
6179 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6181 echo $ac_n "(cached) $ac_c" 1>&6
6183 ac_save_LIBS="$LIBS"
6185 cat > conftest.$ac_ext <<EOF
6186 #line 6187 "configure"
6187 #include "confdefs.h"
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6195 eval "ac_cv_lib_$ac_lib_var=yes"
6197 echo "configure: failed program was:" >&5
6198 cat conftest.$ac_ext >&5
6200 eval "ac_cv_lib_$ac_lib_var=no"
6203 LIBS="$ac_save_LIBS"
6206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6207 echo "$ac_t""yes" 1>&6
6208 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6209 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6210 cat >> confdefs.h <<EOF
6211 #define $ac_tr_lib 1
6217 echo "$ac_t""no" 1>&6
6220 for ac_func in nan copysignf
6222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6223 echo "configure:6224: checking for $ac_func" >&5
6224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6225 echo $ac_n "(cached) $ac_c" 1>&6
6227 cat > conftest.$ac_ext <<EOF
6228 #line 6229 "configure"
6229 #include "confdefs.h"
6230 /* System header to define __stub macros and hopefully few prototypes,
6231 which can conflict with char $ac_func(); below. */
6233 /* Override any gcc2 internal prototype to avoid an error. */
6234 /* We use char because int might match the return type of a gcc2
6235 builtin and then its argument prototype would still apply. */
6240 /* The GNU C library defines this for functions which it implements
6241 to always fail with ENOSYS. Some functions are actually named
6242 something starting with __ and the normal name is an alias. */
6243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6251 if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6253 eval "ac_cv_func_$ac_func=yes"
6255 echo "configure: failed program was:" >&5
6256 cat conftest.$ac_ext >&5
6258 eval "ac_cv_func_$ac_func=no"
6263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6264 echo "$ac_t""yes" 1>&6
6265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6266 cat >> confdefs.h <<EOF
6267 #define $ac_tr_func 1
6271 echo "$ac_t""no" 1>&6
6272 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6277 for ac_func in __signbit
6279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6280 echo "configure:6281: checking for $ac_func" >&5
6281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6282 echo $ac_n "(cached) $ac_c" 1>&6
6284 cat > conftest.$ac_ext <<EOF
6285 #line 6286 "configure"
6286 #include "confdefs.h"
6287 /* System header to define __stub macros and hopefully few prototypes,
6288 which can conflict with char $ac_func(); below. */
6290 /* Override any gcc2 internal prototype to avoid an error. */
6291 /* We use char because int might match the return type of a gcc2
6292 builtin and then its argument prototype would still apply. */
6297 /* The GNU C library defines this for functions which it implements
6298 to always fail with ENOSYS. Some functions are actually named
6299 something starting with __ and the normal name is an alias. */
6300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6310 eval "ac_cv_func_$ac_func=yes"
6312 echo "configure: failed program was:" >&5
6313 cat conftest.$ac_ext >&5
6315 eval "ac_cv_func_$ac_func=no"
6320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6321 echo "$ac_t""yes" 1>&6
6322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6323 cat >> confdefs.h <<EOF
6324 #define $ac_tr_func 1
6328 echo "$ac_t""no" 1>&6
6329 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6333 for ac_func in __signbitf
6335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6336 echo "configure:6337: checking for $ac_func" >&5
6337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6338 echo $ac_n "(cached) $ac_c" 1>&6
6340 cat > conftest.$ac_ext <<EOF
6341 #line 6342 "configure"
6342 #include "confdefs.h"
6343 /* System header to define __stub macros and hopefully few prototypes,
6344 which can conflict with char $ac_func(); below. */
6346 /* Override any gcc2 internal prototype to avoid an error. */
6347 /* We use char because int might match the return type of a gcc2
6348 builtin and then its argument prototype would still apply. */
6353 /* The GNU C library defines this for functions which it implements
6354 to always fail with ENOSYS. Some functions are actually named
6355 something starting with __ and the normal name is an alias. */
6356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6364 if { (eval echo configure:6365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6366 eval "ac_cv_func_$ac_func=yes"
6368 echo "configure: failed program was:" >&5
6369 cat conftest.$ac_ext >&5
6371 eval "ac_cv_func_$ac_func=no"
6376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6377 echo "$ac_t""yes" 1>&6
6378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6379 cat >> confdefs.h <<EOF
6380 #define $ac_tr_func 1
6384 echo "$ac_t""no" 1>&6
6385 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6390 if test x$ac_cv_func_copysignl = x"yes"; then
6391 for ac_func in __signbitl
6393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6394 echo "configure:6395: checking for $ac_func" >&5
6395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6396 echo $ac_n "(cached) $ac_c" 1>&6
6398 cat > conftest.$ac_ext <<EOF
6399 #line 6400 "configure"
6400 #include "confdefs.h"
6401 /* System header to define __stub macros and hopefully few prototypes,
6402 which can conflict with char $ac_func(); below. */
6404 /* Override any gcc2 internal prototype to avoid an error. */
6405 /* We use char because int might match the return type of a gcc2
6406 builtin and then its argument prototype would still apply. */
6411 /* The GNU C library defines this for functions which it implements
6412 to always fail with ENOSYS. Some functions are actually named
6413 something starting with __ and the normal name is an alias. */
6414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6422 if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6424 eval "ac_cv_func_$ac_func=yes"
6426 echo "configure: failed program was:" >&5
6427 cat conftest.$ac_ext >&5
6429 eval "ac_cv_func_$ac_func=no"
6434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6435 echo "$ac_t""yes" 1>&6
6436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6437 cat >> confdefs.h <<EOF
6438 #define $ac_tr_func 1
6442 echo "$ac_t""no" 1>&6
6443 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6453 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6454 echo "configure:6455: checking for mbstate_t" >&5
6455 cat > conftest.$ac_ext <<EOF
6456 #line 6457 "configure"
6457 #include "confdefs.h"
6460 mbstate_t teststate;
6463 if { (eval echo configure:6464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6467 echo "configure: failed program was:" >&5
6468 cat conftest.$ac_ext >&5
6473 echo "$ac_t""$have_mbstate_t" 1>&6
6474 if test x"$have_mbstate_t" = xyes; then
6475 cat >> confdefs.h <<\EOF
6476 #define HAVE_MBSTATE_T 1
6481 for ac_hdr in wchar.h
6483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6485 echo "configure:6486: checking for $ac_hdr" >&5
6486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6487 echo $ac_n "(cached) $ac_c" 1>&6
6489 cat > conftest.$ac_ext <<EOF
6490 #line 6491 "configure"
6491 #include "confdefs.h"
6494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6495 { (eval echo configure:6496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6497 if test -z "$ac_err"; then
6499 eval "ac_cv_header_$ac_safe=yes"
6502 echo "configure: failed program was:" >&5
6503 cat conftest.$ac_ext >&5
6505 eval "ac_cv_header_$ac_safe=no"
6509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6510 echo "$ac_t""yes" 1>&6
6511 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6512 cat >> confdefs.h <<EOF
6513 #define $ac_tr_hdr 1
6517 echo "$ac_t""no" 1>&6
6522 for ac_hdr in wctype.h
6524 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6526 echo "configure:6527: checking for $ac_hdr" >&5
6527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6528 echo $ac_n "(cached) $ac_c" 1>&6
6530 cat > conftest.$ac_ext <<EOF
6531 #line 6532 "configure"
6532 #include "confdefs.h"
6535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6536 { (eval echo configure:6537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6538 if test -z "$ac_err"; then
6540 eval "ac_cv_header_$ac_safe=yes"
6543 echo "configure: failed program was:" >&5
6544 cat conftest.$ac_ext >&5
6546 eval "ac_cv_header_$ac_safe=no"
6550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6551 echo "$ac_t""yes" 1>&6
6552 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6553 cat >> confdefs.h <<EOF
6554 #define $ac_tr_hdr 1
6558 echo "$ac_t""no" 1>&6
6564 if test x"$ac_has_wchar_h" = xyes &&
6565 test x"$ac_has_wctype_h" = xyes &&
6566 test x"$enable_c_mbchar" != xno; then
6568 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6569 echo "configure:6570: checking for WCHAR_MIN and WCHAR_MAX" >&5
6570 cat > conftest.$ac_ext <<EOF
6571 #line 6572 "configure"
6572 #include "confdefs.h"
6575 int i = WCHAR_MIN; int j = WCHAR_MAX;
6578 if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6580 has_wchar_minmax=yes
6582 echo "configure: failed program was:" >&5
6583 cat conftest.$ac_ext >&5
6588 echo "$ac_t""$has_wchar_minmax" 1>&6
6590 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6591 echo "configure:6592: checking for WEOF" >&5
6592 cat > conftest.$ac_ext <<EOF
6593 #line 6594 "configure"
6594 #include "confdefs.h"
6602 if { (eval echo configure:6603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6606 echo "configure: failed program was:" >&5
6607 cat conftest.$ac_ext >&5
6612 echo "$ac_t""$has_weof" 1>&6
6615 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6618 echo "configure:6619: checking for $ac_func" >&5
6619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6620 echo $ac_n "(cached) $ac_c" 1>&6
6622 cat > conftest.$ac_ext <<EOF
6623 #line 6624 "configure"
6624 #include "confdefs.h"
6625 /* System header to define __stub macros and hopefully few prototypes,
6626 which can conflict with char $ac_func(); below. */
6628 /* Override any gcc2 internal prototype to avoid an error. */
6629 /* We use char because int might match the return type of a gcc2
6630 builtin and then its argument prototype would still apply. */
6635 /* The GNU C library defines this for functions which it implements
6636 to always fail with ENOSYS. Some functions are actually named
6637 something starting with __ and the normal name is an alias. */
6638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6646 if { (eval echo configure:6647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6648 eval "ac_cv_func_$ac_func=yes"
6650 echo "configure: failed program was:" >&5
6651 cat conftest.$ac_ext >&5
6653 eval "ac_cv_func_$ac_func=no"
6658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6659 echo "$ac_t""yes" 1>&6
6660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6661 cat >> confdefs.h <<EOF
6662 #define $ac_tr_func 1
6666 echo "$ac_t""no" 1>&6
6673 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6674 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6675 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6676 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6677 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6678 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6681 echo "configure:6682: checking for $ac_func" >&5
6682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6683 echo $ac_n "(cached) $ac_c" 1>&6
6685 cat > conftest.$ac_ext <<EOF
6686 #line 6687 "configure"
6687 #include "confdefs.h"
6688 /* System header to define __stub macros and hopefully few prototypes,
6689 which can conflict with char $ac_func(); below. */
6691 /* Override any gcc2 internal prototype to avoid an error. */
6692 /* We use char because int might match the return type of a gcc2
6693 builtin and then its argument prototype would still apply. */
6698 /* The GNU C library defines this for functions which it implements
6699 to always fail with ENOSYS. Some functions are actually named
6700 something starting with __ and the normal name is an alias. */
6701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6709 if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6711 eval "ac_cv_func_$ac_func=yes"
6713 echo "configure: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6716 eval "ac_cv_func_$ac_func=no"
6721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6722 echo "$ac_t""yes" 1>&6
6723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6724 cat >> confdefs.h <<EOF
6725 #define $ac_tr_func 1
6729 echo "$ac_t""no" 1>&6
6736 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6737 echo "configure:6738: checking for ISO C99 wchar_t support" >&5
6738 if test x"$has_weof" = xyes &&
6739 test x"$has_wchar_minmax" = xyes &&
6740 test x"$ac_wfuncs" = xyes; then
6741 ac_isoC99_wchar_t=yes
6743 ac_isoC99_wchar_t=no
6745 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6747 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6748 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6749 echo "configure:6750: checking for iconv.h" >&5
6750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6
6753 cat > conftest.$ac_ext <<EOF
6754 #line 6755 "configure"
6755 #include "confdefs.h"
6758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6759 { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6761 if test -z "$ac_err"; then
6763 eval "ac_cv_header_$ac_safe=yes"
6766 echo "configure: failed program was:" >&5
6767 cat conftest.$ac_ext >&5
6769 eval "ac_cv_header_$ac_safe=no"
6773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6774 echo "$ac_t""yes" 1>&6
6777 echo "$ac_t""no" 1>&6
6781 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6782 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6783 echo "configure:6784: checking for langinfo.h" >&5
6784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6785 echo $ac_n "(cached) $ac_c" 1>&6
6787 cat > conftest.$ac_ext <<EOF
6788 #line 6789 "configure"
6789 #include "confdefs.h"
6790 #include <langinfo.h>
6792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6793 { (eval echo configure:6794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6795 if test -z "$ac_err"; then
6797 eval "ac_cv_header_$ac_safe=yes"
6800 echo "configure: failed program was:" >&5
6801 cat conftest.$ac_ext >&5
6803 eval "ac_cv_header_$ac_safe=no"
6807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6808 echo "$ac_t""yes" 1>&6
6809 ac_has_langinfo_h=yes
6811 echo "$ac_t""no" 1>&6
6812 ac_has_langinfo_h=no
6816 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6817 echo "configure:6818: checking for iconv in -liconv" >&5
6818 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6820 echo $ac_n "(cached) $ac_c" 1>&6
6822 ac_save_LIBS="$LIBS"
6823 LIBS="-liconv $LIBS"
6824 cat > conftest.$ac_ext <<EOF
6825 #line 6826 "configure"
6826 #include "confdefs.h"
6827 /* Override any gcc2 internal prototype to avoid an error. */
6828 /* We use char because int might match the return type of a gcc2
6829 builtin and then its argument prototype would still apply. */
6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6838 eval "ac_cv_lib_$ac_lib_var=yes"
6840 echo "configure: failed program was:" >&5
6841 cat conftest.$ac_ext >&5
6843 eval "ac_cv_lib_$ac_lib_var=no"
6846 LIBS="$ac_save_LIBS"
6849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6850 echo "$ac_t""yes" 1>&6
6853 echo "$ac_t""no" 1>&6
6856 ac_save_LIBS="$LIBS"
6857 LIBS="$LIBS $libiconv"
6859 for ac_func in iconv_open iconv_close iconv nl_langinfo
6861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6862 echo "configure:6863: checking for $ac_func" >&5
6863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6864 echo $ac_n "(cached) $ac_c" 1>&6
6866 cat > conftest.$ac_ext <<EOF
6867 #line 6868 "configure"
6868 #include "confdefs.h"
6869 /* System header to define __stub macros and hopefully few prototypes,
6870 which can conflict with char $ac_func(); below. */
6872 /* Override any gcc2 internal prototype to avoid an error. */
6873 /* We use char because int might match the return type of a gcc2
6874 builtin and then its argument prototype would still apply. */
6879 /* The GNU C library defines this for functions which it implements
6880 to always fail with ENOSYS. Some functions are actually named
6881 something starting with __ and the normal name is an alias. */
6882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6890 if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6892 eval "ac_cv_func_$ac_func=yes"
6894 echo "configure: failed program was:" >&5
6895 cat conftest.$ac_ext >&5
6897 eval "ac_cv_func_$ac_func=no"
6902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6903 echo "$ac_t""yes" 1>&6
6904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6905 cat >> confdefs.h <<EOF
6906 #define $ac_tr_func 1
6911 echo "$ac_t""no" 1>&6
6917 LIBS="$ac_save_LIBS"
6919 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6920 echo "configure:6921: checking for XPG2 wchar_t support" >&5
6921 if test x"$ac_has_iconv_h" = xyes &&
6922 test x"$ac_has_langinfo_h" = xyes &&
6923 test x"$ac_XPG2funcs" = xyes; then
6928 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6930 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6931 echo "configure:6932: checking for enabled wchar_t specializations" >&5
6932 if test x"$ac_isoC99_wchar_t" = xyes &&
6933 test x"$ac_XPG2_wchar_t" = xyes; then
6934 cat >> confdefs.h <<\EOF
6935 #define _GLIBCPP_USE_WCHAR_T 1
6938 echo "$ac_t"""yes"" 1>&6
6940 echo "$ac_t"""no"" 1>&6
6943 echo "configure: warning: wchar_t support disabled." 1>&2
6946 os_include_dir="config/os/bsd/netbsd"
6947 cat >> confdefs.h <<\EOF
6948 #define HAVE_COPYSIGN 1
6951 cat >> confdefs.h <<\EOF
6952 #define HAVE_COPYSIGNF 1
6955 cat >> confdefs.h <<\EOF
6956 #define HAVE_FINITEF 1
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_FREXPF 1
6963 cat >> confdefs.h <<\EOF
6964 #define HAVE_HYPOTF 1
6969 for ac_hdr in sys/types.h locale.h float.h
6971 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6972 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6973 echo "configure:6974: checking for $ac_hdr" >&5
6974 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6975 echo $ac_n "(cached) $ac_c" 1>&6
6977 cat > conftest.$ac_ext <<EOF
6978 #line 6979 "configure"
6979 #include "confdefs.h"
6982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6983 { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6985 if test -z "$ac_err"; then
6987 eval "ac_cv_header_$ac_safe=yes"
6990 echo "configure: failed program was:" >&5
6991 cat conftest.$ac_ext >&5
6993 eval "ac_cv_header_$ac_safe=no"
6997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6998 echo "$ac_t""yes" 1>&6
6999 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7000 cat >> confdefs.h <<EOF
7001 #define $ac_tr_hdr 1
7005 echo "$ac_t""no" 1>&6
7010 # If we're not using GNU ld, then there's no point in even trying these
7011 # tests. Check for that first. We should have already tested for gld
7012 # by now (in libtool), but require it now just to be safe...
7013 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7014 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7017 # The name set by libtool depends on the version of libtool. Shame on us
7018 # for depending on an impl detail, but c'est la vie. Older versions used
7019 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7020 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7021 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7022 # set (hence we're using an older libtool), then set it.
7023 if test x${with_gnu_ld+set} != xset; then
7024 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7025 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7028 with_gnu_ld=$ac_cv_prog_gnu_ld
7032 # Start by getting the version number. I think the libtool test already
7033 # does some of this, but throws away the result.
7035 ldver=`$LD --version 2>/dev/null | head -1 | \
7036 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7038 glibcpp_gnu_ld_version=`echo $ldver | \
7039 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7041 # Set --gc-sections.
7042 if test "$with_gnu_ld" = "notbroken"; then
7043 # GNU ld it is! Joy and bunny rabbits!
7045 # All these tests are for C++; save the language and the compiler flags.
7046 # Need to do this so that g++ won't try to link in libstdc++
7047 ac_test_CFLAGS="${CFLAGS+set}"
7048 ac_save_CFLAGS="$CFLAGS"
7049 CFLAGS='-x c++ -Wl,--gc-sections'
7051 # Check for -Wl,--gc-sections
7052 # XXX This test is broken at the moment, as symbols required for
7053 # linking are now in libsupc++ (not built yet.....). In addition,
7054 # this test has cored on solaris in the past. In addition,
7055 # --gc-sections doesn't really work at the moment (keeps on discarding
7056 # used sections, first .eh_frame and now some of the glibc sections for
7057 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7058 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7059 echo "configure:7060: checking for ld that supports -Wl,--gc-sections" >&5
7060 if test "$cross_compiling" = yes; then
7061 ac_sectionLDflags=yes
7063 cat > conftest.$ac_ext <<EOF
7064 #line 7065 "configure"
7065 #include "confdefs.h"
7075 if { (eval echo configure:7076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7077 ac_sectionLDflags=yes
7079 echo "configure: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 ac_sectionLDflags=no
7087 if test "$ac_test_CFLAGS" = set; then
7088 CFLAGS="$ac_save_CFLAGS"
7090 # this is the suspicious part
7093 if test "$ac_sectionLDflags" = "yes"; then
7094 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7096 echo "$ac_t""$ac_sectionLDflags" 1>&6
7099 # Set linker optimization flags.
7100 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7101 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7108 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7109 echo "configure:7110: checking for main in -lm" >&5
7110 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7112 echo $ac_n "(cached) $ac_c" 1>&6
7114 ac_save_LIBS="$LIBS"
7116 cat > conftest.$ac_ext <<EOF
7117 #line 7118 "configure"
7118 #include "confdefs.h"
7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7126 eval "ac_cv_lib_$ac_lib_var=yes"
7128 echo "configure: failed program was:" >&5
7129 cat conftest.$ac_ext >&5
7131 eval "ac_cv_lib_$ac_lib_var=no"
7134 LIBS="$ac_save_LIBS"
7137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7138 echo "$ac_t""yes" 1>&6
7139 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7140 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7141 cat >> confdefs.h <<EOF
7142 #define $ac_tr_lib 1
7148 echo "$ac_t""no" 1>&6
7151 for ac_func in nan copysignf
7153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7154 echo "configure:7155: checking for $ac_func" >&5
7155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7156 echo $ac_n "(cached) $ac_c" 1>&6
7158 cat > conftest.$ac_ext <<EOF
7159 #line 7160 "configure"
7160 #include "confdefs.h"
7161 /* System header to define __stub macros and hopefully few prototypes,
7162 which can conflict with char $ac_func(); below. */
7164 /* Override any gcc2 internal prototype to avoid an error. */
7165 /* We use char because int might match the return type of a gcc2
7166 builtin and then its argument prototype would still apply. */
7171 /* The GNU C library defines this for functions which it implements
7172 to always fail with ENOSYS. Some functions are actually named
7173 something starting with __ and the normal name is an alias. */
7174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7182 if { (eval echo configure:7183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7184 eval "ac_cv_func_$ac_func=yes"
7186 echo "configure: failed program was:" >&5
7187 cat conftest.$ac_ext >&5
7189 eval "ac_cv_func_$ac_func=no"
7194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7195 echo "$ac_t""yes" 1>&6
7196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7197 cat >> confdefs.h <<EOF
7198 #define $ac_tr_func 1
7202 echo "$ac_t""no" 1>&6
7203 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7208 for ac_func in __signbit
7210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7211 echo "configure:7212: checking for $ac_func" >&5
7212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7213 echo $ac_n "(cached) $ac_c" 1>&6
7215 cat > conftest.$ac_ext <<EOF
7216 #line 7217 "configure"
7217 #include "confdefs.h"
7218 /* System header to define __stub macros and hopefully few prototypes,
7219 which can conflict with char $ac_func(); below. */
7221 /* Override any gcc2 internal prototype to avoid an error. */
7222 /* We use char because int might match the return type of a gcc2
7223 builtin and then its argument prototype would still apply. */
7228 /* The GNU C library defines this for functions which it implements
7229 to always fail with ENOSYS. Some functions are actually named
7230 something starting with __ and the normal name is an alias. */
7231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7241 eval "ac_cv_func_$ac_func=yes"
7243 echo "configure: failed program was:" >&5
7244 cat conftest.$ac_ext >&5
7246 eval "ac_cv_func_$ac_func=no"
7251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7252 echo "$ac_t""yes" 1>&6
7253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7254 cat >> confdefs.h <<EOF
7255 #define $ac_tr_func 1
7259 echo "$ac_t""no" 1>&6
7260 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7264 for ac_func in __signbitf
7266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7267 echo "configure:7268: checking for $ac_func" >&5
7268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7269 echo $ac_n "(cached) $ac_c" 1>&6
7271 cat > conftest.$ac_ext <<EOF
7272 #line 7273 "configure"
7273 #include "confdefs.h"
7274 /* System header to define __stub macros and hopefully few prototypes,
7275 which can conflict with char $ac_func(); below. */
7277 /* Override any gcc2 internal prototype to avoid an error. */
7278 /* We use char because int might match the return type of a gcc2
7279 builtin and then its argument prototype would still apply. */
7284 /* The GNU C library defines this for functions which it implements
7285 to always fail with ENOSYS. Some functions are actually named
7286 something starting with __ and the normal name is an alias. */
7287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7297 eval "ac_cv_func_$ac_func=yes"
7299 echo "configure: failed program was:" >&5
7300 cat conftest.$ac_ext >&5
7302 eval "ac_cv_func_$ac_func=no"
7307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7308 echo "$ac_t""yes" 1>&6
7309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7310 cat >> confdefs.h <<EOF
7311 #define $ac_tr_func 1
7315 echo "$ac_t""no" 1>&6
7316 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7321 if test x$ac_cv_func_copysignl = x"yes"; then
7322 for ac_func in __signbitl
7324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7325 echo "configure:7326: checking for $ac_func" >&5
7326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7327 echo $ac_n "(cached) $ac_c" 1>&6
7329 cat > conftest.$ac_ext <<EOF
7330 #line 7331 "configure"
7331 #include "confdefs.h"
7332 /* System header to define __stub macros and hopefully few prototypes,
7333 which can conflict with char $ac_func(); below. */
7335 /* Override any gcc2 internal prototype to avoid an error. */
7336 /* We use char because int might match the return type of a gcc2
7337 builtin and then its argument prototype would still apply. */
7342 /* The GNU C library defines this for functions which it implements
7343 to always fail with ENOSYS. Some functions are actually named
7344 something starting with __ and the normal name is an alias. */
7345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7355 eval "ac_cv_func_$ac_func=yes"
7357 echo "configure: failed program was:" >&5
7358 cat conftest.$ac_ext >&5
7360 eval "ac_cv_func_$ac_func=no"
7365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7366 echo "$ac_t""yes" 1>&6
7367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7368 cat >> confdefs.h <<EOF
7369 #define $ac_tr_func 1
7373 echo "$ac_t""no" 1>&6
7374 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7384 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7385 echo "configure:7386: checking for mbstate_t" >&5
7386 cat > conftest.$ac_ext <<EOF
7387 #line 7388 "configure"
7388 #include "confdefs.h"
7391 mbstate_t teststate;
7394 if { (eval echo configure:7395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7398 echo "configure: failed program was:" >&5
7399 cat conftest.$ac_ext >&5
7404 echo "$ac_t""$have_mbstate_t" 1>&6
7405 if test x"$have_mbstate_t" = xyes; then
7406 cat >> confdefs.h <<\EOF
7407 #define HAVE_MBSTATE_T 1
7412 for ac_hdr in wchar.h
7414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7416 echo "configure:7417: checking for $ac_hdr" >&5
7417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7418 echo $ac_n "(cached) $ac_c" 1>&6
7420 cat > conftest.$ac_ext <<EOF
7421 #line 7422 "configure"
7422 #include "confdefs.h"
7425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7426 { (eval echo configure:7427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7428 if test -z "$ac_err"; then
7430 eval "ac_cv_header_$ac_safe=yes"
7433 echo "configure: failed program was:" >&5
7434 cat conftest.$ac_ext >&5
7436 eval "ac_cv_header_$ac_safe=no"
7440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7441 echo "$ac_t""yes" 1>&6
7442 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7443 cat >> confdefs.h <<EOF
7444 #define $ac_tr_hdr 1
7448 echo "$ac_t""no" 1>&6
7453 for ac_hdr in wctype.h
7455 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7456 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7457 echo "configure:7458: checking for $ac_hdr" >&5
7458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7459 echo $ac_n "(cached) $ac_c" 1>&6
7461 cat > conftest.$ac_ext <<EOF
7462 #line 7463 "configure"
7463 #include "confdefs.h"
7466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7467 { (eval echo configure:7468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7469 if test -z "$ac_err"; then
7471 eval "ac_cv_header_$ac_safe=yes"
7474 echo "configure: failed program was:" >&5
7475 cat conftest.$ac_ext >&5
7477 eval "ac_cv_header_$ac_safe=no"
7481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7482 echo "$ac_t""yes" 1>&6
7483 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7484 cat >> confdefs.h <<EOF
7485 #define $ac_tr_hdr 1
7489 echo "$ac_t""no" 1>&6
7495 if test x"$ac_has_wchar_h" = xyes &&
7496 test x"$ac_has_wctype_h" = xyes &&
7497 test x"$enable_c_mbchar" != xno; then
7499 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7500 echo "configure:7501: checking for WCHAR_MIN and WCHAR_MAX" >&5
7501 cat > conftest.$ac_ext <<EOF
7502 #line 7503 "configure"
7503 #include "confdefs.h"
7506 int i = WCHAR_MIN; int j = WCHAR_MAX;
7509 if { (eval echo configure:7510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7511 has_wchar_minmax=yes
7513 echo "configure: failed program was:" >&5
7514 cat conftest.$ac_ext >&5
7519 echo "$ac_t""$has_wchar_minmax" 1>&6
7521 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7522 echo "configure:7523: checking for WEOF" >&5
7523 cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure"
7525 #include "confdefs.h"
7533 if { (eval echo configure:7534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7537 echo "configure: failed program was:" >&5
7538 cat conftest.$ac_ext >&5
7543 echo "$ac_t""$has_weof" 1>&6
7546 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7549 echo "configure:7550: checking for $ac_func" >&5
7550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7551 echo $ac_n "(cached) $ac_c" 1>&6
7553 cat > conftest.$ac_ext <<EOF
7554 #line 7555 "configure"
7555 #include "confdefs.h"
7556 /* System header to define __stub macros and hopefully few prototypes,
7557 which can conflict with char $ac_func(); below. */
7559 /* Override any gcc2 internal prototype to avoid an error. */
7560 /* We use char because int might match the return type of a gcc2
7561 builtin and then its argument prototype would still apply. */
7566 /* The GNU C library defines this for functions which it implements
7567 to always fail with ENOSYS. Some functions are actually named
7568 something starting with __ and the normal name is an alias. */
7569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7577 if { (eval echo configure:7578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7579 eval "ac_cv_func_$ac_func=yes"
7581 echo "configure: failed program was:" >&5
7582 cat conftest.$ac_ext >&5
7584 eval "ac_cv_func_$ac_func=no"
7589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7590 echo "$ac_t""yes" 1>&6
7591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7592 cat >> confdefs.h <<EOF
7593 #define $ac_tr_func 1
7597 echo "$ac_t""no" 1>&6
7604 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7605 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7606 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7607 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7608 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7609 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7612 echo "configure:7613: checking for $ac_func" >&5
7613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7614 echo $ac_n "(cached) $ac_c" 1>&6
7616 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure"
7618 #include "confdefs.h"
7619 /* System header to define __stub macros and hopefully few prototypes,
7620 which can conflict with char $ac_func(); below. */
7622 /* Override any gcc2 internal prototype to avoid an error. */
7623 /* We use char because int might match the return type of a gcc2
7624 builtin and then its argument prototype would still apply. */
7629 /* The GNU C library defines this for functions which it implements
7630 to always fail with ENOSYS. Some functions are actually named
7631 something starting with __ and the normal name is an alias. */
7632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7642 eval "ac_cv_func_$ac_func=yes"
7644 echo "configure: failed program was:" >&5
7645 cat conftest.$ac_ext >&5
7647 eval "ac_cv_func_$ac_func=no"
7652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7653 echo "$ac_t""yes" 1>&6
7654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7655 cat >> confdefs.h <<EOF
7656 #define $ac_tr_func 1
7660 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7668 echo "configure:7669: checking for ISO C99 wchar_t support" >&5
7669 if test x"$has_weof" = xyes &&
7670 test x"$has_wchar_minmax" = xyes &&
7671 test x"$ac_wfuncs" = xyes; then
7672 ac_isoC99_wchar_t=yes
7674 ac_isoC99_wchar_t=no
7676 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7678 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7679 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7680 echo "configure:7681: checking for iconv.h" >&5
7681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7682 echo $ac_n "(cached) $ac_c" 1>&6
7684 cat > conftest.$ac_ext <<EOF
7685 #line 7686 "configure"
7686 #include "confdefs.h"
7689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7690 { (eval echo configure:7691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7692 if test -z "$ac_err"; then
7694 eval "ac_cv_header_$ac_safe=yes"
7697 echo "configure: failed program was:" >&5
7698 cat conftest.$ac_ext >&5
7700 eval "ac_cv_header_$ac_safe=no"
7704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7705 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7712 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7713 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7714 echo "configure:7715: checking for langinfo.h" >&5
7715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7716 echo $ac_n "(cached) $ac_c" 1>&6
7718 cat > conftest.$ac_ext <<EOF
7719 #line 7720 "configure"
7720 #include "confdefs.h"
7721 #include <langinfo.h>
7723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7724 { (eval echo configure:7725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7726 if test -z "$ac_err"; then
7728 eval "ac_cv_header_$ac_safe=yes"
7731 echo "configure: failed program was:" >&5
7732 cat conftest.$ac_ext >&5
7734 eval "ac_cv_header_$ac_safe=no"
7738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7739 echo "$ac_t""yes" 1>&6
7740 ac_has_langinfo_h=yes
7742 echo "$ac_t""no" 1>&6
7743 ac_has_langinfo_h=no
7747 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7748 echo "configure:7749: checking for iconv in -liconv" >&5
7749 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7751 echo $ac_n "(cached) $ac_c" 1>&6
7753 ac_save_LIBS="$LIBS"
7754 LIBS="-liconv $LIBS"
7755 cat > conftest.$ac_ext <<EOF
7756 #line 7757 "configure"
7757 #include "confdefs.h"
7758 /* Override any gcc2 internal prototype to avoid an error. */
7759 /* We use char because int might match the return type of a gcc2
7760 builtin and then its argument prototype would still apply. */
7767 if { (eval echo configure:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7769 eval "ac_cv_lib_$ac_lib_var=yes"
7771 echo "configure: failed program was:" >&5
7772 cat conftest.$ac_ext >&5
7774 eval "ac_cv_lib_$ac_lib_var=no"
7777 LIBS="$ac_save_LIBS"
7780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7781 echo "$ac_t""yes" 1>&6
7784 echo "$ac_t""no" 1>&6
7787 ac_save_LIBS="$LIBS"
7788 LIBS="$LIBS $libiconv"
7790 for ac_func in iconv_open iconv_close iconv nl_langinfo
7792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7793 echo "configure:7794: checking for $ac_func" >&5
7794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7795 echo $ac_n "(cached) $ac_c" 1>&6
7797 cat > conftest.$ac_ext <<EOF
7798 #line 7799 "configure"
7799 #include "confdefs.h"
7800 /* System header to define __stub macros and hopefully few prototypes,
7801 which can conflict with char $ac_func(); below. */
7803 /* Override any gcc2 internal prototype to avoid an error. */
7804 /* We use char because int might match the return type of a gcc2
7805 builtin and then its argument prototype would still apply. */
7810 /* The GNU C library defines this for functions which it implements
7811 to always fail with ENOSYS. Some functions are actually named
7812 something starting with __ and the normal name is an alias. */
7813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7821 if { (eval echo configure:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7823 eval "ac_cv_func_$ac_func=yes"
7825 echo "configure: failed program was:" >&5
7826 cat conftest.$ac_ext >&5
7828 eval "ac_cv_func_$ac_func=no"
7833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7834 echo "$ac_t""yes" 1>&6
7835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7836 cat >> confdefs.h <<EOF
7837 #define $ac_tr_func 1
7842 echo "$ac_t""no" 1>&6
7848 LIBS="$ac_save_LIBS"
7850 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7851 echo "configure:7852: checking for XPG2 wchar_t support" >&5
7852 if test x"$ac_has_iconv_h" = xyes &&
7853 test x"$ac_has_langinfo_h" = xyes &&
7854 test x"$ac_XPG2funcs" = xyes; then
7859 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7861 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7862 echo "configure:7863: checking for enabled wchar_t specializations" >&5
7863 if test x"$ac_isoC99_wchar_t" = xyes &&
7864 test x"$ac_XPG2_wchar_t" = xyes; then
7865 cat >> confdefs.h <<\EOF
7866 #define _GLIBCPP_USE_WCHAR_T 1
7869 echo "$ac_t"""yes"" 1>&6
7871 echo "$ac_t"""no"" 1>&6
7874 echo "configure: warning: wchar_t support disabled." 1>&2
7877 os_include_dir="config/os/mingw32"
7880 os_include_dir="config/os/windiss"
7883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7886 # If we're not using GNU ld, then there's no point in even trying these
7887 # tests. Check for that first. We should have already tested for gld
7888 # by now (in libtool), but require it now just to be safe...
7889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7893 # The name set by libtool depends on the version of libtool. Shame on us
7894 # for depending on an impl detail, but c'est la vie. Older versions used
7895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7898 # set (hence we're using an older libtool), then set it.
7899 if test x${with_gnu_ld+set} != xset; then
7900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7904 with_gnu_ld=$ac_cv_prog_gnu_ld
7908 # Start by getting the version number. I think the libtool test already
7909 # does some of this, but throws away the result.
7911 ldver=`$LD --version 2>/dev/null | head -1 | \
7912 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7914 glibcpp_gnu_ld_version=`echo $ldver | \
7915 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7917 # Set --gc-sections.
7918 if test "$with_gnu_ld" = "notbroken"; then
7919 # GNU ld it is! Joy and bunny rabbits!
7921 # All these tests are for C++; save the language and the compiler flags.
7922 # Need to do this so that g++ won't try to link in libstdc++
7923 ac_test_CFLAGS="${CFLAGS+set}"
7924 ac_save_CFLAGS="$CFLAGS"
7925 CFLAGS='-x c++ -Wl,--gc-sections'
7927 # Check for -Wl,--gc-sections
7928 # XXX This test is broken at the moment, as symbols required for
7929 # linking are now in libsupc++ (not built yet.....). In addition,
7930 # this test has cored on solaris in the past. In addition,
7931 # --gc-sections doesn't really work at the moment (keeps on discarding
7932 # used sections, first .eh_frame and now some of the glibc sections for
7933 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7934 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7935 echo "configure:7936: checking for ld that supports -Wl,--gc-sections" >&5
7936 if test "$cross_compiling" = yes; then
7937 ac_sectionLDflags=yes
7939 cat > conftest.$ac_ext <<EOF
7940 #line 7941 "configure"
7941 #include "confdefs.h"
7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7953 ac_sectionLDflags=yes
7955 echo "configure: failed program was:" >&5
7956 cat conftest.$ac_ext >&5
7958 ac_sectionLDflags=no
7963 if test "$ac_test_CFLAGS" = set; then
7964 CFLAGS="$ac_save_CFLAGS"
7966 # this is the suspicious part
7969 if test "$ac_sectionLDflags" = "yes"; then
7970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7972 echo "$ac_t""$ac_sectionLDflags" 1>&6
7975 # Set linker optimization flags.
7976 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7984 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7985 echo "configure:7986: checking for main in -lm" >&5
7986 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7988 echo $ac_n "(cached) $ac_c" 1>&6
7990 ac_save_LIBS="$LIBS"
7992 cat > conftest.$ac_ext <<EOF
7993 #line 7994 "configure"
7994 #include "confdefs.h"
8000 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8002 eval "ac_cv_lib_$ac_lib_var=yes"
8004 echo "configure: failed program was:" >&5
8005 cat conftest.$ac_ext >&5
8007 eval "ac_cv_lib_$ac_lib_var=no"
8010 LIBS="$ac_save_LIBS"
8013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8014 echo "$ac_t""yes" 1>&6
8015 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8016 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8017 cat >> confdefs.h <<EOF
8018 #define $ac_tr_lib 1
8024 echo "$ac_t""no" 1>&6
8027 for ac_func in nan copysignf
8029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8030 echo "configure:8031: checking for $ac_func" >&5
8031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8032 echo $ac_n "(cached) $ac_c" 1>&6
8034 cat > conftest.$ac_ext <<EOF
8035 #line 8036 "configure"
8036 #include "confdefs.h"
8037 /* System header to define __stub macros and hopefully few prototypes,
8038 which can conflict with char $ac_func(); below. */
8040 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8047 /* The GNU C library defines this for functions which it implements
8048 to always fail with ENOSYS. Some functions are actually named
8049 something starting with __ and the normal name is an alias. */
8050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8060 eval "ac_cv_func_$ac_func=yes"
8062 echo "configure: failed program was:" >&5
8063 cat conftest.$ac_ext >&5
8065 eval "ac_cv_func_$ac_func=no"
8070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8071 echo "$ac_t""yes" 1>&6
8072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8073 cat >> confdefs.h <<EOF
8074 #define $ac_tr_func 1
8078 echo "$ac_t""no" 1>&6
8079 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8084 for ac_func in __signbit
8086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8087 echo "configure:8088: checking for $ac_func" >&5
8088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8089 echo $ac_n "(cached) $ac_c" 1>&6
8091 cat > conftest.$ac_ext <<EOF
8092 #line 8093 "configure"
8093 #include "confdefs.h"
8094 /* System header to define __stub macros and hopefully few prototypes,
8095 which can conflict with char $ac_func(); below. */
8097 /* Override any gcc2 internal prototype to avoid an error. */
8098 /* We use char because int might match the return type of a gcc2
8099 builtin and then its argument prototype would still apply. */
8104 /* The GNU C library defines this for functions which it implements
8105 to always fail with ENOSYS. Some functions are actually named
8106 something starting with __ and the normal name is an alias. */
8107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8115 if { (eval echo configure:8116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8117 eval "ac_cv_func_$ac_func=yes"
8119 echo "configure: failed program was:" >&5
8120 cat conftest.$ac_ext >&5
8122 eval "ac_cv_func_$ac_func=no"
8127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8128 echo "$ac_t""yes" 1>&6
8129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8130 cat >> confdefs.h <<EOF
8131 #define $ac_tr_func 1
8135 echo "$ac_t""no" 1>&6
8136 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8140 for ac_func in __signbitf
8142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8143 echo "configure:8144: checking for $ac_func" >&5
8144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8145 echo $ac_n "(cached) $ac_c" 1>&6
8147 cat > conftest.$ac_ext <<EOF
8148 #line 8149 "configure"
8149 #include "confdefs.h"
8150 /* System header to define __stub macros and hopefully few prototypes,
8151 which can conflict with char $ac_func(); below. */
8153 /* Override any gcc2 internal prototype to avoid an error. */
8154 /* We use char because int might match the return type of a gcc2
8155 builtin and then its argument prototype would still apply. */
8160 /* The GNU C library defines this for functions which it implements
8161 to always fail with ENOSYS. Some functions are actually named
8162 something starting with __ and the normal name is an alias. */
8163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8171 if { (eval echo configure:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8173 eval "ac_cv_func_$ac_func=yes"
8175 echo "configure: failed program was:" >&5
8176 cat conftest.$ac_ext >&5
8178 eval "ac_cv_func_$ac_func=no"
8183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8184 echo "$ac_t""yes" 1>&6
8185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8186 cat >> confdefs.h <<EOF
8187 #define $ac_tr_func 1
8191 echo "$ac_t""no" 1>&6
8192 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8197 if test x$ac_cv_func_copysignl = x"yes"; then
8198 for ac_func in __signbitl
8200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8201 echo "configure:8202: checking for $ac_func" >&5
8202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8203 echo $ac_n "(cached) $ac_c" 1>&6
8205 cat > conftest.$ac_ext <<EOF
8206 #line 8207 "configure"
8207 #include "confdefs.h"
8208 /* System header to define __stub macros and hopefully few prototypes,
8209 which can conflict with char $ac_func(); below. */
8211 /* Override any gcc2 internal prototype to avoid an error. */
8212 /* We use char because int might match the return type of a gcc2
8213 builtin and then its argument prototype would still apply. */
8218 /* The GNU C library defines this for functions which it implements
8219 to always fail with ENOSYS. Some functions are actually named
8220 something starting with __ and the normal name is an alias. */
8221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8229 if { (eval echo configure:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8231 eval "ac_cv_func_$ac_func=yes"
8233 echo "configure: failed program was:" >&5
8234 cat conftest.$ac_ext >&5
8236 eval "ac_cv_func_$ac_func=no"
8241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8242 echo "$ac_t""yes" 1>&6
8243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8244 cat >> confdefs.h <<EOF
8245 #define $ac_tr_func 1
8249 echo "$ac_t""no" 1>&6
8250 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8260 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8261 echo "configure:8262: checking for mbstate_t" >&5
8262 cat > conftest.$ac_ext <<EOF
8263 #line 8264 "configure"
8264 #include "confdefs.h"
8267 mbstate_t teststate;
8270 if { (eval echo configure:8271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8274 echo "configure: failed program was:" >&5
8275 cat conftest.$ac_ext >&5
8280 echo "$ac_t""$have_mbstate_t" 1>&6
8281 if test x"$have_mbstate_t" = xyes; then
8282 cat >> confdefs.h <<\EOF
8283 #define HAVE_MBSTATE_T 1
8288 for ac_hdr in wchar.h
8290 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8291 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8292 echo "configure:8293: checking for $ac_hdr" >&5
8293 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8294 echo $ac_n "(cached) $ac_c" 1>&6
8296 cat > conftest.$ac_ext <<EOF
8297 #line 8298 "configure"
8298 #include "confdefs.h"
8301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8302 { (eval echo configure:8303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8303 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8304 if test -z "$ac_err"; then
8306 eval "ac_cv_header_$ac_safe=yes"
8309 echo "configure: failed program was:" >&5
8310 cat conftest.$ac_ext >&5
8312 eval "ac_cv_header_$ac_safe=no"
8316 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8317 echo "$ac_t""yes" 1>&6
8318 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8319 cat >> confdefs.h <<EOF
8320 #define $ac_tr_hdr 1
8324 echo "$ac_t""no" 1>&6
8329 for ac_hdr in wctype.h
8331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8332 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8333 echo "configure:8334: checking for $ac_hdr" >&5
8334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8335 echo $ac_n "(cached) $ac_c" 1>&6
8337 cat > conftest.$ac_ext <<EOF
8338 #line 8339 "configure"
8339 #include "confdefs.h"
8342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8343 { (eval echo configure:8344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8345 if test -z "$ac_err"; then
8347 eval "ac_cv_header_$ac_safe=yes"
8350 echo "configure: failed program was:" >&5
8351 cat conftest.$ac_ext >&5
8353 eval "ac_cv_header_$ac_safe=no"
8357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8358 echo "$ac_t""yes" 1>&6
8359 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8360 cat >> confdefs.h <<EOF
8361 #define $ac_tr_hdr 1
8365 echo "$ac_t""no" 1>&6
8371 if test x"$ac_has_wchar_h" = xyes &&
8372 test x"$ac_has_wctype_h" = xyes &&
8373 test x"$enable_c_mbchar" != xno; then
8375 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8376 echo "configure:8377: checking for WCHAR_MIN and WCHAR_MAX" >&5
8377 cat > conftest.$ac_ext <<EOF
8378 #line 8379 "configure"
8379 #include "confdefs.h"
8382 int i = WCHAR_MIN; int j = WCHAR_MAX;
8385 if { (eval echo configure:8386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8387 has_wchar_minmax=yes
8389 echo "configure: failed program was:" >&5
8390 cat conftest.$ac_ext >&5
8395 echo "$ac_t""$has_wchar_minmax" 1>&6
8397 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8398 echo "configure:8399: checking for WEOF" >&5
8399 cat > conftest.$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8409 if { (eval echo configure:8410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8413 echo "configure: failed program was:" >&5
8414 cat conftest.$ac_ext >&5
8419 echo "$ac_t""$has_weof" 1>&6
8422 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8425 echo "configure:8426: checking for $ac_func" >&5
8426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8427 echo $ac_n "(cached) $ac_c" 1>&6
8429 cat > conftest.$ac_ext <<EOF
8430 #line 8431 "configure"
8431 #include "confdefs.h"
8432 /* System header to define __stub macros and hopefully few prototypes,
8433 which can conflict with char $ac_func(); below. */
8435 /* Override any gcc2 internal prototype to avoid an error. */
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8442 /* The GNU C library defines this for functions which it implements
8443 to always fail with ENOSYS. Some functions are actually named
8444 something starting with __ and the normal name is an alias. */
8445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8455 eval "ac_cv_func_$ac_func=yes"
8457 echo "configure: failed program was:" >&5
8458 cat conftest.$ac_ext >&5
8460 eval "ac_cv_func_$ac_func=no"
8465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8466 echo "$ac_t""yes" 1>&6
8467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8468 cat >> confdefs.h <<EOF
8469 #define $ac_tr_func 1
8473 echo "$ac_t""no" 1>&6
8480 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8481 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8482 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8483 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8484 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8485 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8488 echo "configure:8489: checking for $ac_func" >&5
8489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8490 echo $ac_n "(cached) $ac_c" 1>&6
8492 cat > conftest.$ac_ext <<EOF
8493 #line 8494 "configure"
8494 #include "confdefs.h"
8495 /* System header to define __stub macros and hopefully few prototypes,
8496 which can conflict with char $ac_func(); below. */
8498 /* Override any gcc2 internal prototype to avoid an error. */
8499 /* We use char because int might match the return type of a gcc2
8500 builtin and then its argument prototype would still apply. */
8505 /* The GNU C library defines this for functions which it implements
8506 to always fail with ENOSYS. Some functions are actually named
8507 something starting with __ and the normal name is an alias. */
8508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8516 if { (eval echo configure:8517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8518 eval "ac_cv_func_$ac_func=yes"
8520 echo "configure: failed program was:" >&5
8521 cat conftest.$ac_ext >&5
8523 eval "ac_cv_func_$ac_func=no"
8528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8529 echo "$ac_t""yes" 1>&6
8530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8531 cat >> confdefs.h <<EOF
8532 #define $ac_tr_func 1
8536 echo "$ac_t""no" 1>&6
8543 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8544 echo "configure:8545: checking for ISO C99 wchar_t support" >&5
8545 if test x"$has_weof" = xyes &&
8546 test x"$has_wchar_minmax" = xyes &&
8547 test x"$ac_wfuncs" = xyes; then
8548 ac_isoC99_wchar_t=yes
8550 ac_isoC99_wchar_t=no
8552 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8554 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8555 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8556 echo "configure:8557: checking for iconv.h" >&5
8557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8558 echo $ac_n "(cached) $ac_c" 1>&6
8560 cat > conftest.$ac_ext <<EOF
8561 #line 8562 "configure"
8562 #include "confdefs.h"
8565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8566 { (eval echo configure:8567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8568 if test -z "$ac_err"; then
8570 eval "ac_cv_header_$ac_safe=yes"
8573 echo "configure: failed program was:" >&5
8574 cat conftest.$ac_ext >&5
8576 eval "ac_cv_header_$ac_safe=no"
8580 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8581 echo "$ac_t""yes" 1>&6
8584 echo "$ac_t""no" 1>&6
8588 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8589 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8590 echo "configure:8591: checking for langinfo.h" >&5
8591 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8592 echo $ac_n "(cached) $ac_c" 1>&6
8594 cat > conftest.$ac_ext <<EOF
8595 #line 8596 "configure"
8596 #include "confdefs.h"
8597 #include <langinfo.h>
8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8602 if test -z "$ac_err"; then
8604 eval "ac_cv_header_$ac_safe=yes"
8607 echo "configure: failed program was:" >&5
8608 cat conftest.$ac_ext >&5
8610 eval "ac_cv_header_$ac_safe=no"
8614 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8615 echo "$ac_t""yes" 1>&6
8616 ac_has_langinfo_h=yes
8618 echo "$ac_t""no" 1>&6
8619 ac_has_langinfo_h=no
8623 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8624 echo "configure:8625: checking for iconv in -liconv" >&5
8625 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8627 echo $ac_n "(cached) $ac_c" 1>&6
8629 ac_save_LIBS="$LIBS"
8630 LIBS="-liconv $LIBS"
8631 cat > conftest.$ac_ext <<EOF
8632 #line 8633 "configure"
8633 #include "confdefs.h"
8634 /* Override any gcc2 internal prototype to avoid an error. */
8635 /* We use char because int might match the return type of a gcc2
8636 builtin and then its argument prototype would still apply. */
8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8645 eval "ac_cv_lib_$ac_lib_var=yes"
8647 echo "configure: failed program was:" >&5
8648 cat conftest.$ac_ext >&5
8650 eval "ac_cv_lib_$ac_lib_var=no"
8653 LIBS="$ac_save_LIBS"
8656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8657 echo "$ac_t""yes" 1>&6
8660 echo "$ac_t""no" 1>&6
8663 ac_save_LIBS="$LIBS"
8664 LIBS="$LIBS $libiconv"
8666 for ac_func in iconv_open iconv_close iconv nl_langinfo
8668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8669 echo "configure:8670: checking for $ac_func" >&5
8670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8673 cat > conftest.$ac_ext <<EOF
8674 #line 8675 "configure"
8675 #include "confdefs.h"
8676 /* System header to define __stub macros and hopefully few prototypes,
8677 which can conflict with char $ac_func(); below. */
8679 /* Override any gcc2 internal prototype to avoid an error. */
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8686 /* The GNU C library defines this for functions which it implements
8687 to always fail with ENOSYS. Some functions are actually named
8688 something starting with __ and the normal name is an alias. */
8689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8697 if { (eval echo configure:8698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8699 eval "ac_cv_func_$ac_func=yes"
8701 echo "configure: failed program was:" >&5
8702 cat conftest.$ac_ext >&5
8704 eval "ac_cv_func_$ac_func=no"
8709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8710 echo "$ac_t""yes" 1>&6
8711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8712 cat >> confdefs.h <<EOF
8713 #define $ac_tr_func 1
8718 echo "$ac_t""no" 1>&6
8724 LIBS="$ac_save_LIBS"
8726 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8727 echo "configure:8728: checking for XPG2 wchar_t support" >&5
8728 if test x"$ac_has_iconv_h" = xyes &&
8729 test x"$ac_has_langinfo_h" = xyes &&
8730 test x"$ac_XPG2funcs" = xyes; then
8735 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8737 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8738 echo "configure:8739: checking for enabled wchar_t specializations" >&5
8739 if test x"$ac_isoC99_wchar_t" = xyes &&
8740 test x"$ac_XPG2_wchar_t" = xyes; then
8741 cat >> confdefs.h <<\EOF
8742 #define _GLIBCPP_USE_WCHAR_T 1
8745 echo "$ac_t"""yes"" 1>&6
8747 echo "$ac_t"""no"" 1>&6
8750 echo "configure: warning: wchar_t support disabled." 1>&2
8753 os_include_dir="config/os/qnx/qnx6.1"
8754 cat >> confdefs.h <<\EOF
8758 cat >> confdefs.h <<\EOF
8762 cat >> confdefs.h <<\EOF
8763 #define HAVE_COSHF 1
8766 cat >> confdefs.h <<\EOF
8767 #define HAVE_COSHL 1
8770 cat >> confdefs.h <<\EOF
8774 cat >> confdefs.h <<\EOF
8778 cat >> confdefs.h <<\EOF
8779 #define HAVE_LOG10F 1
8782 cat >> confdefs.h <<\EOF
8783 #define HAVE_LOG10L 1
8786 cat >> confdefs.h <<\EOF
8790 cat >> confdefs.h <<\EOF
8794 cat >> confdefs.h <<\EOF
8795 #define HAVE_SINHF 1
8798 cat >> confdefs.h <<\EOF
8799 #define HAVE_SINHL 1
8804 os_include_dir="config/os/newlib"
8805 cat >> confdefs.h <<\EOF
8806 #define HAVE_HYPOT 1
8812 case "$target_alias" in
8816 cat >> confdefs.h <<\EOF
8817 #define HAVE_ACOSF 1
8820 cat >> confdefs.h <<\EOF
8821 #define HAVE_ASINF 1
8824 cat >> confdefs.h <<\EOF
8825 #define HAVE_ATAN2F 1
8828 cat >> confdefs.h <<\EOF
8829 #define HAVE_ATANF 1
8832 cat >> confdefs.h <<\EOF
8833 #define HAVE_CEILF 1
8836 cat >> confdefs.h <<\EOF
8837 #define HAVE_COPYSIGN 1
8840 cat >> confdefs.h <<\EOF
8841 #define HAVE_COPYSIGNF 1
8844 cat >> confdefs.h <<\EOF
8848 cat >> confdefs.h <<\EOF
8849 #define HAVE_COSHF 1
8852 cat >> confdefs.h <<\EOF
8856 cat >> confdefs.h <<\EOF
8857 #define HAVE_FABSF 1
8860 cat >> confdefs.h <<\EOF
8861 #define HAVE_FLOORF 1
8864 cat >> confdefs.h <<\EOF
8865 #define HAVE_FMODF 1
8868 cat >> confdefs.h <<\EOF
8869 #define HAVE_FREXPF 1
8872 cat >> confdefs.h <<\EOF
8873 #define HAVE_LDEXPF 1
8876 cat >> confdefs.h <<\EOF
8877 #define HAVE_LOG10F 1
8880 cat >> confdefs.h <<\EOF
8884 cat >> confdefs.h <<\EOF
8885 #define HAVE_MODFF 1
8888 cat >> confdefs.h <<\EOF
8892 cat >> confdefs.h <<\EOF
8896 cat >> confdefs.h <<\EOF
8897 #define HAVE_SINHF 1
8900 cat >> confdefs.h <<\EOF
8901 #define HAVE_SQRTF 1
8904 cat >> confdefs.h <<\EOF
8908 cat >> confdefs.h <<\EOF
8909 #define HAVE_TANHF 1
8914 # GLIBCPP_CHECK_STDLIB_SUPPORT
8915 cat >> confdefs.h <<\EOF
8916 #define HAVE_STRTOF 1
8919 cat >> confdefs.h <<\EOF
8920 #define HAVE_STRTOLD 1
8924 cat >> confdefs.h <<\EOF
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_ACOSF 1
8933 cat >> confdefs.h <<\EOF
8934 #define HAVE_ASINF 1
8937 cat >> confdefs.h <<\EOF
8938 #define HAVE_ATAN2F 1
8941 cat >> confdefs.h <<\EOF
8942 #define HAVE_ATANF 1
8945 cat >> confdefs.h <<\EOF
8946 #define HAVE_CEILF 1
8949 cat >> confdefs.h <<\EOF
8950 #define HAVE_COPYSIGN 1
8953 cat >> confdefs.h <<\EOF
8954 #define HAVE_COPYSIGNF 1
8957 cat >> confdefs.h <<\EOF
8961 cat >> confdefs.h <<\EOF
8962 #define HAVE_COSHF 1
8965 cat >> confdefs.h <<\EOF
8969 cat >> confdefs.h <<\EOF
8970 #define HAVE_FABSF 1
8973 cat >> confdefs.h <<\EOF
8974 #define HAVE_FINITE 1
8977 cat >> confdefs.h <<\EOF
8978 #define HAVE_FINITEF 1
8981 cat >> confdefs.h <<\EOF
8982 #define HAVE_FLOORF 1
8985 cat >> confdefs.h <<\EOF
8986 #define HAVE_FMODF 1
8989 cat >> confdefs.h <<\EOF
8990 #define HAVE_FREXPF 1
8993 cat >> confdefs.h <<\EOF
8994 #define HAVE_ISINF 1
8997 cat >> confdefs.h <<\EOF
8998 #define HAVE_ISINFF 1
9001 cat >> confdefs.h <<\EOF
9002 #define HAVE_ISNAN 1
9005 cat >> confdefs.h <<\EOF
9006 #define HAVE_ISNANF 1
9009 cat >> confdefs.h <<\EOF
9010 #define HAVE_LDEXPF 1
9013 cat >> confdefs.h <<\EOF
9014 #define HAVE_LOG10F 1
9017 cat >> confdefs.h <<\EOF
9021 cat >> confdefs.h <<\EOF
9022 #define HAVE_MODFF 1
9025 cat >> confdefs.h <<\EOF
9029 cat >> confdefs.h <<\EOF
9033 cat >> confdefs.h <<\EOF
9034 #define HAVE_SINHF 1
9037 cat >> confdefs.h <<\EOF
9038 #define HAVE_SQRTF 1
9041 cat >> confdefs.h <<\EOF
9045 cat >> confdefs.h <<\EOF
9046 #define HAVE_TANHF 1
9052 # At some point, we should differentiate between architectures
9053 # like x86, which have long double versions, and alpha/powerpc/etc.,
9054 # which don't. For the time being, punt.
9055 if test x"long_double_math_on_this_cpu" = x"yes"; then
9056 cat >> confdefs.h <<\EOF
9057 #define HAVE_ACOSL 1
9060 cat >> confdefs.h <<\EOF
9061 #define HAVE_ASINL 1
9064 cat >> confdefs.h <<\EOF
9065 #define HAVE_ATAN2L 1
9068 cat >> confdefs.h <<\EOF
9069 #define HAVE_ATANL 1
9072 cat >> confdefs.h <<\EOF
9073 #define HAVE_CEILL 1
9076 cat >> confdefs.h <<\EOF
9077 #define HAVE_COPYSIGNL 1
9080 cat >> confdefs.h <<\EOF
9084 cat >> confdefs.h <<\EOF
9085 #define HAVE_COSHL 1
9088 cat >> confdefs.h <<\EOF
9092 cat >> confdefs.h <<\EOF
9093 #define HAVE_FABSL 1
9096 cat >> confdefs.h <<\EOF
9097 #define HAVE_FINITEL 1
9100 cat >> confdefs.h <<\EOF
9101 #define HAVE_FLOORL 1
9104 cat >> confdefs.h <<\EOF
9105 #define HAVE_FMODL 1
9108 cat >> confdefs.h <<\EOF
9109 #define HAVE_FREXPL 1
9112 cat >> confdefs.h <<\EOF
9113 #define HAVE_ISINFL 1
9116 cat >> confdefs.h <<\EOF
9117 #define HAVE_ISNANL 1
9120 cat >> confdefs.h <<\EOF
9121 #define HAVE_LDEXPL 1
9124 cat >> confdefs.h <<\EOF
9125 #define HAVE_LOG10L 1
9128 cat >> confdefs.h <<\EOF
9132 cat >> confdefs.h <<\EOF
9133 #define HAVE_MODFL 1
9136 cat >> confdefs.h <<\EOF
9140 cat >> confdefs.h <<\EOF
9141 #define HAVE_SINCOSL 1
9144 cat >> confdefs.h <<\EOF
9148 cat >> confdefs.h <<\EOF
9149 #define HAVE_SINHL 1
9152 cat >> confdefs.h <<\EOF
9153 #define HAVE_SQRTL 1
9156 cat >> confdefs.h <<\EOF
9160 cat >> confdefs.h <<\EOF
9161 #define HAVE_TANHL 1
9167 # We are being configured natively. We can do more elaborate tests
9168 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9170 GLIBCPP_IS_CROSS_COMPILING=0
9173 # Check for available headers.
9174 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9175 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9177 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9179 echo "configure:9180: checking for $ac_hdr" >&5
9180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9181 echo $ac_n "(cached) $ac_c" 1>&6
9183 cat > conftest.$ac_ext <<EOF
9184 #line 9185 "configure"
9185 #include "confdefs.h"
9188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9189 { (eval echo configure:9190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9191 if test -z "$ac_err"; then
9193 eval "ac_cv_header_$ac_safe=yes"
9196 echo "configure: failed program was:" >&5
9197 cat conftest.$ac_ext >&5
9199 eval "ac_cv_header_$ac_safe=no"
9203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9204 echo "$ac_t""yes" 1>&6
9205 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9206 cat >> confdefs.h <<EOF
9207 #define $ac_tr_hdr 1
9211 echo "$ac_t""no" 1>&6
9217 # All these tests are for C++; save the language and the compiler flags.
9218 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9219 # found in GLIBCPP_CONFIGURE.
9222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9223 ac_cpp='$CXXCPP $CPPFLAGS'
9224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9226 cross_compiling=$ac_cv_prog_cxx_cross
9228 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9229 ac_save_CXXFLAGS="$CXXFLAGS"
9231 # Check for maintainer-mode bits.
9232 if test x"$USE_MAINTAINER_MODE" = xno; then
9238 # Check for -ffunction-sections -fdata-sections
9239 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9240 echo "configure:9241: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9241 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9242 cat > conftest.$ac_ext <<EOF
9243 #line 9244 "configure"
9244 #include "confdefs.h"
9251 if { (eval echo configure:9252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9255 echo "configure: failed program was:" >&5
9256 cat conftest.$ac_ext >&5
9261 if test "$ac_test_CXXFLAGS" = set; then
9262 CXXFLAGS="$ac_save_CXXFLAGS"
9264 # this is the suspicious part
9267 if test x"$ac_fdsections" = x"yes" &&
9268 test x"$enable_debug" = x"no"; then
9269 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9271 echo "$ac_t""$ac_fdsections" 1>&6
9274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9275 ac_cpp='$CPP $CPPFLAGS'
9276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9278 cross_compiling=$ac_cv_prog_cc_cross
9284 # If we're not using GNU ld, then there's no point in even trying these
9285 # tests. Check for that first. We should have already tested for gld
9286 # by now (in libtool), but require it now just to be safe...
9287 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9288 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9291 # The name set by libtool depends on the version of libtool. Shame on us
9292 # for depending on an impl detail, but c'est la vie. Older versions used
9293 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9294 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9295 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9296 # set (hence we're using an older libtool), then set it.
9297 if test x${with_gnu_ld+set} != xset; then
9298 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9299 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9302 with_gnu_ld=$ac_cv_prog_gnu_ld
9306 # Start by getting the version number. I think the libtool test already
9307 # does some of this, but throws away the result.
9309 ldver=`$LD --version 2>/dev/null | head -1 | \
9310 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9312 glibcpp_gnu_ld_version=`echo $ldver | \
9313 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9315 # Set --gc-sections.
9316 if test "$with_gnu_ld" = "notbroken"; then
9317 # GNU ld it is! Joy and bunny rabbits!
9319 # All these tests are for C++; save the language and the compiler flags.
9320 # Need to do this so that g++ won't try to link in libstdc++
9321 ac_test_CFLAGS="${CFLAGS+set}"
9322 ac_save_CFLAGS="$CFLAGS"
9323 CFLAGS='-x c++ -Wl,--gc-sections'
9325 # Check for -Wl,--gc-sections
9326 # XXX This test is broken at the moment, as symbols required for
9327 # linking are now in libsupc++ (not built yet.....). In addition,
9328 # this test has cored on solaris in the past. In addition,
9329 # --gc-sections doesn't really work at the moment (keeps on discarding
9330 # used sections, first .eh_frame and now some of the glibc sections for
9331 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9332 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9333 echo "configure:9334: checking for ld that supports -Wl,--gc-sections" >&5
9334 if test "$cross_compiling" = yes; then
9335 ac_sectionLDflags=yes
9337 cat > conftest.$ac_ext <<EOF
9338 #line 9339 "configure"
9339 #include "confdefs.h"
9349 if { (eval echo configure:9350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9351 ac_sectionLDflags=yes
9353 echo "configure: failed program was:" >&5
9354 cat conftest.$ac_ext >&5
9356 ac_sectionLDflags=no
9361 if test "$ac_test_CFLAGS" = set; then
9362 CFLAGS="$ac_save_CFLAGS"
9364 # this is the suspicious part
9367 if test "$ac_sectionLDflags" = "yes"; then
9368 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9370 echo "$ac_t""$ac_sectionLDflags" 1>&6
9373 # Set linker optimization flags.
9374 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9375 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9383 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9384 echo "configure:9385: checking for __builtin_abs declaration" >&5
9385 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9386 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9387 echo $ac_n "(cached) $ac_c" 1>&6
9392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9393 ac_cpp='$CXXCPP $CPPFLAGS'
9394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9396 cross_compiling=$ac_cv_prog_cxx_cross
9398 cat > conftest.$ac_ext <<EOF
9399 #line 9400 "configure"
9400 #include "confdefs.h"
9406 if { (eval echo configure:9407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9408 glibcpp_cv_func___builtin_abs_use=yes
9410 echo "configure: failed program was:" >&5
9411 cat conftest.$ac_ext >&5
9413 glibcpp_cv_func___builtin_abs_use=no
9417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9418 ac_cpp='$CPP $CPPFLAGS'
9419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9421 cross_compiling=$ac_cv_prog_cc_cross
9427 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9428 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9429 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9430 echo "configure:9431: checking for __builtin_abs linkage" >&5
9431 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9432 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9433 echo $ac_n "(cached) $ac_c" 1>&6
9436 cat > conftest.$ac_ext <<EOF
9437 #line 9438 "configure"
9438 #include "confdefs.h"
9444 if { (eval echo configure:9445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9446 glibcpp_cv_func___builtin_abs_link=yes
9448 echo "configure: failed program was:" >&5
9449 cat conftest.$ac_ext >&5
9451 glibcpp_cv_func___builtin_abs_link=no
9458 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9459 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9460 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9461 cat >> confdefs.h <<EOF
9462 #define ${ac_tr_func} 1
9469 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9470 echo "configure:9471: checking for __builtin_fabsf declaration" >&5
9471 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9472 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9473 echo $ac_n "(cached) $ac_c" 1>&6
9478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9479 ac_cpp='$CXXCPP $CPPFLAGS'
9480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9482 cross_compiling=$ac_cv_prog_cxx_cross
9484 cat > conftest.$ac_ext <<EOF
9485 #line 9486 "configure"
9486 #include "confdefs.h"
9492 if { (eval echo configure:9493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9494 glibcpp_cv_func___builtin_fabsf_use=yes
9496 echo "configure: failed program was:" >&5
9497 cat conftest.$ac_ext >&5
9499 glibcpp_cv_func___builtin_fabsf_use=no
9503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9504 ac_cpp='$CPP $CPPFLAGS'
9505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9507 cross_compiling=$ac_cv_prog_cc_cross
9513 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9514 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9515 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9516 echo "configure:9517: checking for __builtin_fabsf linkage" >&5
9517 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9518 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9519 echo $ac_n "(cached) $ac_c" 1>&6
9522 cat > conftest.$ac_ext <<EOF
9523 #line 9524 "configure"
9524 #include "confdefs.h"
9530 if { (eval echo configure:9531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9532 glibcpp_cv_func___builtin_fabsf_link=yes
9534 echo "configure: failed program was:" >&5
9535 cat conftest.$ac_ext >&5
9537 glibcpp_cv_func___builtin_fabsf_link=no
9544 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9545 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9546 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9547 cat >> confdefs.h <<EOF
9548 #define ${ac_tr_func} 1
9555 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9556 echo "configure:9557: checking for __builtin_fabs declaration" >&5
9557 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9558 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9559 echo $ac_n "(cached) $ac_c" 1>&6
9564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9565 ac_cpp='$CXXCPP $CPPFLAGS'
9566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9568 cross_compiling=$ac_cv_prog_cxx_cross
9570 cat > conftest.$ac_ext <<EOF
9571 #line 9572 "configure"
9572 #include "confdefs.h"
9578 if { (eval echo configure:9579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9580 glibcpp_cv_func___builtin_fabs_use=yes
9582 echo "configure: failed program was:" >&5
9583 cat conftest.$ac_ext >&5
9585 glibcpp_cv_func___builtin_fabs_use=no
9589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9590 ac_cpp='$CPP $CPPFLAGS'
9591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9593 cross_compiling=$ac_cv_prog_cc_cross
9599 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9600 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9601 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9602 echo "configure:9603: checking for __builtin_fabs linkage" >&5
9603 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9604 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9605 echo $ac_n "(cached) $ac_c" 1>&6
9608 cat > conftest.$ac_ext <<EOF
9609 #line 9610 "configure"
9610 #include "confdefs.h"
9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9618 glibcpp_cv_func___builtin_fabs_link=yes
9620 echo "configure: failed program was:" >&5
9621 cat conftest.$ac_ext >&5
9623 glibcpp_cv_func___builtin_fabs_link=no
9630 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9631 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9632 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9633 cat >> confdefs.h <<EOF
9634 #define ${ac_tr_func} 1
9641 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9642 echo "configure:9643: checking for __builtin_fabsl declaration" >&5
9643 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9644 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9650 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9651 ac_cpp='$CXXCPP $CPPFLAGS'
9652 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9653 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9654 cross_compiling=$ac_cv_prog_cxx_cross
9656 cat > conftest.$ac_ext <<EOF
9657 #line 9658 "configure"
9658 #include "confdefs.h"
9664 if { (eval echo configure:9665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9666 glibcpp_cv_func___builtin_fabsl_use=yes
9668 echo "configure: failed program was:" >&5
9669 cat conftest.$ac_ext >&5
9671 glibcpp_cv_func___builtin_fabsl_use=no
9675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9676 ac_cpp='$CPP $CPPFLAGS'
9677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9679 cross_compiling=$ac_cv_prog_cc_cross
9685 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9686 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9687 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9688 echo "configure:9689: checking for __builtin_fabsl linkage" >&5
9689 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9690 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9691 echo $ac_n "(cached) $ac_c" 1>&6
9694 cat > conftest.$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9702 if { (eval echo configure:9703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9704 glibcpp_cv_func___builtin_fabsl_link=yes
9706 echo "configure: failed program was:" >&5
9707 cat conftest.$ac_ext >&5
9709 glibcpp_cv_func___builtin_fabsl_link=no
9716 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9717 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9718 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9719 cat >> confdefs.h <<EOF
9720 #define ${ac_tr_func} 1
9727 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9728 echo "configure:9729: checking for __builtin_labs declaration" >&5
9729 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9730 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9731 echo $ac_n "(cached) $ac_c" 1>&6
9736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9737 ac_cpp='$CXXCPP $CPPFLAGS'
9738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9740 cross_compiling=$ac_cv_prog_cxx_cross
9742 cat > conftest.$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9750 if { (eval echo configure:9751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9752 glibcpp_cv_func___builtin_labs_use=yes
9754 echo "configure: failed program was:" >&5
9755 cat conftest.$ac_ext >&5
9757 glibcpp_cv_func___builtin_labs_use=no
9761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9762 ac_cpp='$CPP $CPPFLAGS'
9763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9765 cross_compiling=$ac_cv_prog_cc_cross
9771 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9772 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9773 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9774 echo "configure:9775: checking for __builtin_labs linkage" >&5
9775 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9776 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9780 cat > conftest.$ac_ext <<EOF
9781 #line 9782 "configure"
9782 #include "confdefs.h"
9788 if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9790 glibcpp_cv_func___builtin_labs_link=yes
9792 echo "configure: failed program was:" >&5
9793 cat conftest.$ac_ext >&5
9795 glibcpp_cv_func___builtin_labs_link=no
9802 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9803 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9804 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9805 cat >> confdefs.h <<EOF
9806 #define ${ac_tr_func} 1
9814 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9815 echo "configure:9816: checking for __builtin_sqrtf declaration" >&5
9816 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9817 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9818 echo $ac_n "(cached) $ac_c" 1>&6
9823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9824 ac_cpp='$CXXCPP $CPPFLAGS'
9825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9827 cross_compiling=$ac_cv_prog_cxx_cross
9829 cat > conftest.$ac_ext <<EOF
9830 #line 9831 "configure"
9831 #include "confdefs.h"
9837 if { (eval echo configure:9838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9839 glibcpp_cv_func___builtin_sqrtf_use=yes
9841 echo "configure: failed program was:" >&5
9842 cat conftest.$ac_ext >&5
9844 glibcpp_cv_func___builtin_sqrtf_use=no
9848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9849 ac_cpp='$CPP $CPPFLAGS'
9850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9852 cross_compiling=$ac_cv_prog_cc_cross
9858 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9859 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9860 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9861 echo "configure:9862: checking for __builtin_sqrtf linkage" >&5
9862 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9863 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9864 echo $ac_n "(cached) $ac_c" 1>&6
9867 cat > conftest.$ac_ext <<EOF
9868 #line 9869 "configure"
9869 #include "confdefs.h"
9875 if { (eval echo configure:9876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9877 glibcpp_cv_func___builtin_sqrtf_link=yes
9879 echo "configure: failed program was:" >&5
9880 cat conftest.$ac_ext >&5
9882 glibcpp_cv_func___builtin_sqrtf_link=no
9889 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9890 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9891 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9892 cat >> confdefs.h <<EOF
9893 #define ${ac_tr_func} 1
9900 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9901 echo "configure:9902: checking for __builtin_sqrt declaration" >&5
9902 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9903 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9904 echo $ac_n "(cached) $ac_c" 1>&6
9909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9910 ac_cpp='$CXXCPP $CPPFLAGS'
9911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9913 cross_compiling=$ac_cv_prog_cxx_cross
9915 cat > conftest.$ac_ext <<EOF
9916 #line 9917 "configure"
9917 #include "confdefs.h"
9923 if { (eval echo configure:9924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9925 glibcpp_cv_func___builtin_sqrt_use=yes
9927 echo "configure: failed program was:" >&5
9928 cat conftest.$ac_ext >&5
9930 glibcpp_cv_func___builtin_sqrt_use=no
9934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9935 ac_cpp='$CPP $CPPFLAGS'
9936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9938 cross_compiling=$ac_cv_prog_cc_cross
9944 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9945 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9946 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9947 echo "configure:9948: checking for __builtin_sqrt linkage" >&5
9948 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9949 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9950 echo $ac_n "(cached) $ac_c" 1>&6
9953 cat > conftest.$ac_ext <<EOF
9954 #line 9955 "configure"
9955 #include "confdefs.h"
9961 if { (eval echo configure:9962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9963 glibcpp_cv_func___builtin_sqrt_link=yes
9965 echo "configure: failed program was:" >&5
9966 cat conftest.$ac_ext >&5
9968 glibcpp_cv_func___builtin_sqrt_link=no
9975 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9976 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9977 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9978 cat >> confdefs.h <<EOF
9979 #define ${ac_tr_func} 1
9986 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9987 echo "configure:9988: checking for __builtin_sqrtl declaration" >&5
9988 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9989 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9990 echo $ac_n "(cached) $ac_c" 1>&6
9995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9996 ac_cpp='$CXXCPP $CPPFLAGS'
9997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9999 cross_compiling=$ac_cv_prog_cxx_cross
10001 cat > conftest.$ac_ext <<EOF
10002 #line 10003 "configure"
10003 #include "confdefs.h"
10006 __builtin_sqrtl(0);
10009 if { (eval echo configure:10010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10011 glibcpp_cv_func___builtin_sqrtl_use=yes
10013 echo "configure: failed program was:" >&5
10014 cat conftest.$ac_ext >&5
10016 glibcpp_cv_func___builtin_sqrtl_use=no
10020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10021 ac_cpp='$CPP $CPPFLAGS'
10022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10024 cross_compiling=$ac_cv_prog_cc_cross
10030 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10031 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10032 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10033 echo "configure:10034: checking for __builtin_sqrtl linkage" >&5
10034 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10035 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10036 echo $ac_n "(cached) $ac_c" 1>&6
10039 cat > conftest.$ac_ext <<EOF
10040 #line 10041 "configure"
10041 #include "confdefs.h"
10044 __builtin_sqrtl(0);
10047 if { (eval echo configure:10048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10049 glibcpp_cv_func___builtin_sqrtl_link=yes
10051 echo "configure: failed program was:" >&5
10052 cat conftest.$ac_ext >&5
10054 glibcpp_cv_func___builtin_sqrtl_link=no
10061 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10062 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10063 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10064 cat >> confdefs.h <<EOF
10065 #define ${ac_tr_func} 1
10073 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10074 echo "configure:10075: checking for __builtin_sinf declaration" >&5
10075 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10076 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10077 echo $ac_n "(cached) $ac_c" 1>&6
10082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10083 ac_cpp='$CXXCPP $CPPFLAGS'
10084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10086 cross_compiling=$ac_cv_prog_cxx_cross
10088 cat > conftest.$ac_ext <<EOF
10089 #line 10090 "configure"
10090 #include "confdefs.h"
10096 if { (eval echo configure:10097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10098 glibcpp_cv_func___builtin_sinf_use=yes
10100 echo "configure: failed program was:" >&5
10101 cat conftest.$ac_ext >&5
10103 glibcpp_cv_func___builtin_sinf_use=no
10107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10108 ac_cpp='$CPP $CPPFLAGS'
10109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10111 cross_compiling=$ac_cv_prog_cc_cross
10117 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10118 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10119 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10120 echo "configure:10121: checking for __builtin_sinf linkage" >&5
10121 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10122 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10123 echo $ac_n "(cached) $ac_c" 1>&6
10126 cat > conftest.$ac_ext <<EOF
10127 #line 10128 "configure"
10128 #include "confdefs.h"
10134 if { (eval echo configure:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10136 glibcpp_cv_func___builtin_sinf_link=yes
10138 echo "configure: failed program was:" >&5
10139 cat conftest.$ac_ext >&5
10141 glibcpp_cv_func___builtin_sinf_link=no
10148 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10149 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10150 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10151 cat >> confdefs.h <<EOF
10152 #define ${ac_tr_func} 1
10159 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10160 echo "configure:10161: checking for __builtin_sin declaration" >&5
10161 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10162 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10163 echo $ac_n "(cached) $ac_c" 1>&6
10168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10169 ac_cpp='$CXXCPP $CPPFLAGS'
10170 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10171 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10172 cross_compiling=$ac_cv_prog_cxx_cross
10174 cat > conftest.$ac_ext <<EOF
10175 #line 10176 "configure"
10176 #include "confdefs.h"
10182 if { (eval echo configure:10183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10184 glibcpp_cv_func___builtin_sin_use=yes
10186 echo "configure: failed program was:" >&5
10187 cat conftest.$ac_ext >&5
10189 glibcpp_cv_func___builtin_sin_use=no
10193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10194 ac_cpp='$CPP $CPPFLAGS'
10195 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10196 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10197 cross_compiling=$ac_cv_prog_cc_cross
10203 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10204 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10205 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10206 echo "configure:10207: checking for __builtin_sin linkage" >&5
10207 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10208 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10209 echo $ac_n "(cached) $ac_c" 1>&6
10212 cat > conftest.$ac_ext <<EOF
10213 #line 10214 "configure"
10214 #include "confdefs.h"
10220 if { (eval echo configure:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10222 glibcpp_cv_func___builtin_sin_link=yes
10224 echo "configure: failed program was:" >&5
10225 cat conftest.$ac_ext >&5
10227 glibcpp_cv_func___builtin_sin_link=no
10234 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10235 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10236 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10237 cat >> confdefs.h <<EOF
10238 #define ${ac_tr_func} 1
10245 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10246 echo "configure:10247: checking for __builtin_sinl declaration" >&5
10247 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10248 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10249 echo $ac_n "(cached) $ac_c" 1>&6
10254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10255 ac_cpp='$CXXCPP $CPPFLAGS'
10256 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10257 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10258 cross_compiling=$ac_cv_prog_cxx_cross
10260 cat > conftest.$ac_ext <<EOF
10261 #line 10262 "configure"
10262 #include "confdefs.h"
10268 if { (eval echo configure:10269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10270 glibcpp_cv_func___builtin_sinl_use=yes
10272 echo "configure: failed program was:" >&5
10273 cat conftest.$ac_ext >&5
10275 glibcpp_cv_func___builtin_sinl_use=no
10279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10280 ac_cpp='$CPP $CPPFLAGS'
10281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10283 cross_compiling=$ac_cv_prog_cc_cross
10289 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10290 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10291 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10292 echo "configure:10293: checking for __builtin_sinl linkage" >&5
10293 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10294 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10295 echo $ac_n "(cached) $ac_c" 1>&6
10298 cat > conftest.$ac_ext <<EOF
10299 #line 10300 "configure"
10300 #include "confdefs.h"
10306 if { (eval echo configure:10307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10308 glibcpp_cv_func___builtin_sinl_link=yes
10310 echo "configure: failed program was:" >&5
10311 cat conftest.$ac_ext >&5
10313 glibcpp_cv_func___builtin_sinl_link=no
10320 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10321 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10322 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10323 cat >> confdefs.h <<EOF
10324 #define ${ac_tr_func} 1
10332 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10333 echo "configure:10334: checking for __builtin_cosf declaration" >&5
10334 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10335 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10336 echo $ac_n "(cached) $ac_c" 1>&6
10341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10342 ac_cpp='$CXXCPP $CPPFLAGS'
10343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10345 cross_compiling=$ac_cv_prog_cxx_cross
10347 cat > conftest.$ac_ext <<EOF
10348 #line 10349 "configure"
10349 #include "confdefs.h"
10355 if { (eval echo configure:10356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10357 glibcpp_cv_func___builtin_cosf_use=yes
10359 echo "configure: failed program was:" >&5
10360 cat conftest.$ac_ext >&5
10362 glibcpp_cv_func___builtin_cosf_use=no
10366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10367 ac_cpp='$CPP $CPPFLAGS'
10368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10370 cross_compiling=$ac_cv_prog_cc_cross
10376 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10377 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10378 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10379 echo "configure:10380: checking for __builtin_cosf linkage" >&5
10380 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10381 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10382 echo $ac_n "(cached) $ac_c" 1>&6
10385 cat > conftest.$ac_ext <<EOF
10386 #line 10387 "configure"
10387 #include "confdefs.h"
10393 if { (eval echo configure:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10395 glibcpp_cv_func___builtin_cosf_link=yes
10397 echo "configure: failed program was:" >&5
10398 cat conftest.$ac_ext >&5
10400 glibcpp_cv_func___builtin_cosf_link=no
10407 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10408 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10409 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10410 cat >> confdefs.h <<EOF
10411 #define ${ac_tr_func} 1
10418 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10419 echo "configure:10420: checking for __builtin_cos declaration" >&5
10420 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10421 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10422 echo $ac_n "(cached) $ac_c" 1>&6
10427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10428 ac_cpp='$CXXCPP $CPPFLAGS'
10429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10431 cross_compiling=$ac_cv_prog_cxx_cross
10433 cat > conftest.$ac_ext <<EOF
10434 #line 10435 "configure"
10435 #include "confdefs.h"
10441 if { (eval echo configure:10442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10443 glibcpp_cv_func___builtin_cos_use=yes
10445 echo "configure: failed program was:" >&5
10446 cat conftest.$ac_ext >&5
10448 glibcpp_cv_func___builtin_cos_use=no
10452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10453 ac_cpp='$CPP $CPPFLAGS'
10454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10456 cross_compiling=$ac_cv_prog_cc_cross
10462 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10463 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10464 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10465 echo "configure:10466: checking for __builtin_cos linkage" >&5
10466 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10467 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10468 echo $ac_n "(cached) $ac_c" 1>&6
10471 cat > conftest.$ac_ext <<EOF
10472 #line 10473 "configure"
10473 #include "confdefs.h"
10479 if { (eval echo configure:10480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10481 glibcpp_cv_func___builtin_cos_link=yes
10483 echo "configure: failed program was:" >&5
10484 cat conftest.$ac_ext >&5
10486 glibcpp_cv_func___builtin_cos_link=no
10493 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10494 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10495 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10496 cat >> confdefs.h <<EOF
10497 #define ${ac_tr_func} 1
10504 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10505 echo "configure:10506: checking for __builtin_cosl declaration" >&5
10506 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10507 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10508 echo $ac_n "(cached) $ac_c" 1>&6
10513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10514 ac_cpp='$CXXCPP $CPPFLAGS'
10515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10517 cross_compiling=$ac_cv_prog_cxx_cross
10519 cat > conftest.$ac_ext <<EOF
10520 #line 10521 "configure"
10521 #include "confdefs.h"
10527 if { (eval echo configure:10528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10529 glibcpp_cv_func___builtin_cosl_use=yes
10531 echo "configure: failed program was:" >&5
10532 cat conftest.$ac_ext >&5
10534 glibcpp_cv_func___builtin_cosl_use=no
10538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10539 ac_cpp='$CPP $CPPFLAGS'
10540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10542 cross_compiling=$ac_cv_prog_cc_cross
10548 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10549 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10550 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10551 echo "configure:10552: checking for __builtin_cosl linkage" >&5
10552 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10553 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10554 echo $ac_n "(cached) $ac_c" 1>&6
10557 cat > conftest.$ac_ext <<EOF
10558 #line 10559 "configure"
10559 #include "confdefs.h"
10565 if { (eval echo configure:10566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10567 glibcpp_cv_func___builtin_cosl_link=yes
10569 echo "configure: failed program was:" >&5
10570 cat conftest.$ac_ext >&5
10572 glibcpp_cv_func___builtin_cosl_link=no
10579 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10580 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10581 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10582 cat >> confdefs.h <<EOF
10583 #define ${ac_tr_func} 1
10591 if test x$dummyvar = x"yes"; then
10592 cat >> confdefs.h <<\EOF
10593 #define HAVE___BUILTIN_ABS 1
10596 cat >> confdefs.h <<\EOF
10597 #define HAVE___BUILTIN_LABS 1
10600 cat >> confdefs.h <<\EOF
10601 #define HAVE___BUILTIN_COS 1
10604 cat >> confdefs.h <<\EOF
10605 #define HAVE___BUILTIN_COSF 1
10608 cat >> confdefs.h <<\EOF
10609 #define HAVE___BUILTIN_COSL 1
10612 cat >> confdefs.h <<\EOF
10613 #define HAVE___BUILTIN_FABS 1
10616 cat >> confdefs.h <<\EOF
10617 #define HAVE___BUILTIN_FABSF 1
10620 cat >> confdefs.h <<\EOF
10621 #define HAVE___BUILTIN_FABSL 1
10624 cat >> confdefs.h <<\EOF
10625 #define HAVE___BUILTIN_SIN 1
10628 cat >> confdefs.h <<\EOF
10629 #define HAVE___BUILTIN_SINF 1
10632 cat >> confdefs.h <<\EOF
10633 #define HAVE___BUILTIN_SINL 1
10636 cat >> confdefs.h <<\EOF
10637 #define HAVE___BUILTIN_SQRT 1
10640 cat >> confdefs.h <<\EOF
10641 #define HAVE___BUILTIN_SQRTF 1
10644 cat >> confdefs.h <<\EOF
10645 #define HAVE___BUILTIN_SQRTL 1
10651 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10652 ac_save_CXXFLAGS="$CXXFLAGS"
10653 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10655 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10656 echo "configure:10657: checking for sin in -lm" >&5
10657 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10658 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10659 echo $ac_n "(cached) $ac_c" 1>&6
10661 ac_save_LIBS="$LIBS"
10663 cat > conftest.$ac_ext <<EOF
10664 #line 10665 "configure"
10665 #include "confdefs.h"
10666 /* Override any gcc2 internal prototype to avoid an error. */
10667 /* We use char because int might match the return type of a gcc2
10668 builtin and then its argument prototype would still apply. */
10675 if { (eval echo configure:10676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10677 eval "ac_cv_lib_$ac_lib_var=yes"
10679 echo "configure: failed program was:" >&5
10680 cat conftest.$ac_ext >&5
10682 eval "ac_cv_lib_$ac_lib_var=no"
10685 LIBS="$ac_save_LIBS"
10688 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10689 echo "$ac_t""yes" 1>&6
10692 echo "$ac_t""no" 1>&6
10695 ac_save_LIBS="$LIBS"
10700 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10701 echo "configure:10702: checking for isinf declaration" >&5
10702 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10703 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10704 echo $ac_n "(cached) $ac_c" 1>&6
10709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10710 ac_cpp='$CXXCPP $CPPFLAGS'
10711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10713 cross_compiling=$ac_cv_prog_cxx_cross
10715 cat > conftest.$ac_ext <<EOF
10716 #line 10717 "configure"
10717 #include "confdefs.h"
10719 #ifdef HAVE_IEEEFP_H
10720 #include <ieeefp.h>
10727 if { (eval echo configure:10728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10729 glibcpp_cv_func_isinf_use=yes
10731 echo "configure: failed program was:" >&5
10732 cat conftest.$ac_ext >&5
10734 glibcpp_cv_func_isinf_use=no
10738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10739 ac_cpp='$CPP $CPPFLAGS'
10740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10742 cross_compiling=$ac_cv_prog_cc_cross
10748 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10750 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10751 for ac_func in isinf
10753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10754 echo "configure:10755: checking for $ac_func" >&5
10755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10756 echo $ac_n "(cached) $ac_c" 1>&6
10758 cat > conftest.$ac_ext <<EOF
10759 #line 10760 "configure"
10760 #include "confdefs.h"
10761 /* System header to define __stub macros and hopefully few prototypes,
10762 which can conflict with char $ac_func(); below. */
10763 #include <assert.h>
10764 /* Override any gcc2 internal prototype to avoid an error. */
10765 /* We use char because int might match the return type of a gcc2
10766 builtin and then its argument prototype would still apply. */
10771 /* The GNU C library defines this for functions which it implements
10772 to always fail with ENOSYS. Some functions are actually named
10773 something starting with __ and the normal name is an alias. */
10774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10782 if { (eval echo configure:10783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10784 eval "ac_cv_func_$ac_func=yes"
10786 echo "configure: failed program was:" >&5
10787 cat conftest.$ac_ext >&5
10789 eval "ac_cv_func_$ac_func=no"
10794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10795 echo "$ac_t""yes" 1>&6
10796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10797 cat >> confdefs.h <<EOF
10798 #define $ac_tr_func 1
10802 echo "$ac_t""no" 1>&6
10808 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10809 echo "configure:10810: checking for _isinf declaration" >&5
10810 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10811 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10812 echo $ac_n "(cached) $ac_c" 1>&6
10817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10818 ac_cpp='$CXXCPP $CPPFLAGS'
10819 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10820 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10821 cross_compiling=$ac_cv_prog_cxx_cross
10823 cat > conftest.$ac_ext <<EOF
10824 #line 10825 "configure"
10825 #include "confdefs.h"
10827 #ifdef HAVE_IEEEFP_H
10828 #include <ieeefp.h>
10835 if { (eval echo configure:10836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10837 glibcpp_cv_func__isinf_use=yes
10839 echo "configure: failed program was:" >&5
10840 cat conftest.$ac_ext >&5
10842 glibcpp_cv_func__isinf_use=no
10846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10847 ac_cpp='$CPP $CPPFLAGS'
10848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10850 cross_compiling=$ac_cv_prog_cc_cross
10856 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10858 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10859 for ac_func in _isinf
10861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10862 echo "configure:10863: checking for $ac_func" >&5
10863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10864 echo $ac_n "(cached) $ac_c" 1>&6
10866 cat > conftest.$ac_ext <<EOF
10867 #line 10868 "configure"
10868 #include "confdefs.h"
10869 /* System header to define __stub macros and hopefully few prototypes,
10870 which can conflict with char $ac_func(); below. */
10871 #include <assert.h>
10872 /* Override any gcc2 internal prototype to avoid an error. */
10873 /* We use char because int might match the return type of a gcc2
10874 builtin and then its argument prototype would still apply. */
10879 /* The GNU C library defines this for functions which it implements
10880 to always fail with ENOSYS. Some functions are actually named
10881 something starting with __ and the normal name is an alias. */
10882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10890 if { (eval echo configure:10891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10892 eval "ac_cv_func_$ac_func=yes"
10894 echo "configure: failed program was:" >&5
10895 cat conftest.$ac_ext >&5
10897 eval "ac_cv_func_$ac_func=no"
10902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10903 echo "$ac_t""yes" 1>&6
10904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10905 cat >> confdefs.h <<EOF
10906 #define $ac_tr_func 1
10910 echo "$ac_t""no" 1>&6
10919 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10920 echo "configure:10921: checking for isnan declaration" >&5
10921 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10922 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10923 echo $ac_n "(cached) $ac_c" 1>&6
10928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10929 ac_cpp='$CXXCPP $CPPFLAGS'
10930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10932 cross_compiling=$ac_cv_prog_cxx_cross
10934 cat > conftest.$ac_ext <<EOF
10935 #line 10936 "configure"
10936 #include "confdefs.h"
10938 #ifdef HAVE_IEEEFP_H
10939 #include <ieeefp.h>
10946 if { (eval echo configure:10947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10948 glibcpp_cv_func_isnan_use=yes
10950 echo "configure: failed program was:" >&5
10951 cat conftest.$ac_ext >&5
10953 glibcpp_cv_func_isnan_use=no
10957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10958 ac_cpp='$CPP $CPPFLAGS'
10959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10961 cross_compiling=$ac_cv_prog_cc_cross
10967 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10969 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10970 for ac_func in isnan
10972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10973 echo "configure:10974: checking for $ac_func" >&5
10974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10975 echo $ac_n "(cached) $ac_c" 1>&6
10977 cat > conftest.$ac_ext <<EOF
10978 #line 10979 "configure"
10979 #include "confdefs.h"
10980 /* System header to define __stub macros and hopefully few prototypes,
10981 which can conflict with char $ac_func(); below. */
10982 #include <assert.h>
10983 /* Override any gcc2 internal prototype to avoid an error. */
10984 /* We use char because int might match the return type of a gcc2
10985 builtin and then its argument prototype would still apply. */
10990 /* The GNU C library defines this for functions which it implements
10991 to always fail with ENOSYS. Some functions are actually named
10992 something starting with __ and the normal name is an alias. */
10993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11001 if { (eval echo configure:11002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11003 eval "ac_cv_func_$ac_func=yes"
11005 echo "configure: failed program was:" >&5
11006 cat conftest.$ac_ext >&5
11008 eval "ac_cv_func_$ac_func=no"
11013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11014 echo "$ac_t""yes" 1>&6
11015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11016 cat >> confdefs.h <<EOF
11017 #define $ac_tr_func 1
11021 echo "$ac_t""no" 1>&6
11027 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11028 echo "configure:11029: checking for _isnan declaration" >&5
11029 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11030 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11031 echo $ac_n "(cached) $ac_c" 1>&6
11036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11037 ac_cpp='$CXXCPP $CPPFLAGS'
11038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11040 cross_compiling=$ac_cv_prog_cxx_cross
11042 cat > conftest.$ac_ext <<EOF
11043 #line 11044 "configure"
11044 #include "confdefs.h"
11046 #ifdef HAVE_IEEEFP_H
11047 #include <ieeefp.h>
11054 if { (eval echo configure:11055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11056 glibcpp_cv_func__isnan_use=yes
11058 echo "configure: failed program was:" >&5
11059 cat conftest.$ac_ext >&5
11061 glibcpp_cv_func__isnan_use=no
11065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11066 ac_cpp='$CPP $CPPFLAGS'
11067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11069 cross_compiling=$ac_cv_prog_cc_cross
11075 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11077 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11078 for ac_func in _isnan
11080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11081 echo "configure:11082: checking for $ac_func" >&5
11082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11083 echo $ac_n "(cached) $ac_c" 1>&6
11085 cat > conftest.$ac_ext <<EOF
11086 #line 11087 "configure"
11087 #include "confdefs.h"
11088 /* System header to define __stub macros and hopefully few prototypes,
11089 which can conflict with char $ac_func(); below. */
11090 #include <assert.h>
11091 /* Override any gcc2 internal prototype to avoid an error. */
11092 /* We use char because int might match the return type of a gcc2
11093 builtin and then its argument prototype would still apply. */
11098 /* The GNU C library defines this for functions which it implements
11099 to always fail with ENOSYS. Some functions are actually named
11100 something starting with __ and the normal name is an alias. */
11101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11109 if { (eval echo configure:11110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11111 eval "ac_cv_func_$ac_func=yes"
11113 echo "configure: failed program was:" >&5
11114 cat conftest.$ac_ext >&5
11116 eval "ac_cv_func_$ac_func=no"
11121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11122 echo "$ac_t""yes" 1>&6
11123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11124 cat >> confdefs.h <<EOF
11125 #define $ac_tr_func 1
11129 echo "$ac_t""no" 1>&6
11138 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11139 echo "configure:11140: checking for finite declaration" >&5
11140 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11141 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11142 echo $ac_n "(cached) $ac_c" 1>&6
11147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11148 ac_cpp='$CXXCPP $CPPFLAGS'
11149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11151 cross_compiling=$ac_cv_prog_cxx_cross
11153 cat > conftest.$ac_ext <<EOF
11154 #line 11155 "configure"
11155 #include "confdefs.h"
11157 #ifdef HAVE_IEEEFP_H
11158 #include <ieeefp.h>
11165 if { (eval echo configure:11166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11167 glibcpp_cv_func_finite_use=yes
11169 echo "configure: failed program was:" >&5
11170 cat conftest.$ac_ext >&5
11172 glibcpp_cv_func_finite_use=no
11176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11177 ac_cpp='$CPP $CPPFLAGS'
11178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11180 cross_compiling=$ac_cv_prog_cc_cross
11186 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11188 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11189 for ac_func in finite
11191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11192 echo "configure:11193: checking for $ac_func" >&5
11193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11194 echo $ac_n "(cached) $ac_c" 1>&6
11196 cat > conftest.$ac_ext <<EOF
11197 #line 11198 "configure"
11198 #include "confdefs.h"
11199 /* System header to define __stub macros and hopefully few prototypes,
11200 which can conflict with char $ac_func(); below. */
11201 #include <assert.h>
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11209 /* The GNU C library defines this for functions which it implements
11210 to always fail with ENOSYS. Some functions are actually named
11211 something starting with __ and the normal name is an alias. */
11212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11220 if { (eval echo configure:11221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11222 eval "ac_cv_func_$ac_func=yes"
11224 echo "configure: failed program was:" >&5
11225 cat conftest.$ac_ext >&5
11227 eval "ac_cv_func_$ac_func=no"
11232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11233 echo "$ac_t""yes" 1>&6
11234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11235 cat >> confdefs.h <<EOF
11236 #define $ac_tr_func 1
11240 echo "$ac_t""no" 1>&6
11246 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11247 echo "configure:11248: checking for _finite declaration" >&5
11248 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11249 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11250 echo $ac_n "(cached) $ac_c" 1>&6
11255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11256 ac_cpp='$CXXCPP $CPPFLAGS'
11257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11259 cross_compiling=$ac_cv_prog_cxx_cross
11261 cat > conftest.$ac_ext <<EOF
11262 #line 11263 "configure"
11263 #include "confdefs.h"
11265 #ifdef HAVE_IEEEFP_H
11266 #include <ieeefp.h>
11273 if { (eval echo configure:11274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11275 glibcpp_cv_func__finite_use=yes
11277 echo "configure: failed program was:" >&5
11278 cat conftest.$ac_ext >&5
11280 glibcpp_cv_func__finite_use=no
11284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11285 ac_cpp='$CPP $CPPFLAGS'
11286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11288 cross_compiling=$ac_cv_prog_cc_cross
11294 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11296 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11297 for ac_func in _finite
11299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11300 echo "configure:11301: checking for $ac_func" >&5
11301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11304 cat > conftest.$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11307 /* System header to define __stub macros and hopefully few prototypes,
11308 which can conflict with char $ac_func(); below. */
11309 #include <assert.h>
11310 /* Override any gcc2 internal prototype to avoid an error. */
11311 /* We use char because int might match the return type of a gcc2
11312 builtin and then its argument prototype would still apply. */
11317 /* The GNU C library defines this for functions which it implements
11318 to always fail with ENOSYS. Some functions are actually named
11319 something starting with __ and the normal name is an alias. */
11320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11328 if { (eval echo configure:11329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11330 eval "ac_cv_func_$ac_func=yes"
11332 echo "configure: failed program was:" >&5
11333 cat conftest.$ac_ext >&5
11335 eval "ac_cv_func_$ac_func=no"
11340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11341 echo "$ac_t""yes" 1>&6
11342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11343 cat >> confdefs.h <<EOF
11344 #define $ac_tr_func 1
11348 echo "$ac_t""no" 1>&6
11357 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11358 echo "configure:11359: checking for copysign declaration" >&5
11359 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11360 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11361 echo $ac_n "(cached) $ac_c" 1>&6
11366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11367 ac_cpp='$CXXCPP $CPPFLAGS'
11368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11370 cross_compiling=$ac_cv_prog_cxx_cross
11372 cat > conftest.$ac_ext <<EOF
11373 #line 11374 "configure"
11374 #include "confdefs.h"
11380 if { (eval echo configure:11381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11382 glibcpp_cv_func_copysign_use=yes
11384 echo "configure: failed program was:" >&5
11385 cat conftest.$ac_ext >&5
11387 glibcpp_cv_func_copysign_use=no
11391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11392 ac_cpp='$CPP $CPPFLAGS'
11393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11395 cross_compiling=$ac_cv_prog_cc_cross
11401 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11403 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11404 for ac_func in copysign
11406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11407 echo "configure:11408: checking for $ac_func" >&5
11408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11409 echo $ac_n "(cached) $ac_c" 1>&6
11411 cat > conftest.$ac_ext <<EOF
11412 #line 11413 "configure"
11413 #include "confdefs.h"
11414 /* System header to define __stub macros and hopefully few prototypes,
11415 which can conflict with char $ac_func(); below. */
11416 #include <assert.h>
11417 /* Override any gcc2 internal prototype to avoid an error. */
11418 /* We use char because int might match the return type of a gcc2
11419 builtin and then its argument prototype would still apply. */
11424 /* The GNU C library defines this for functions which it implements
11425 to always fail with ENOSYS. Some functions are actually named
11426 something starting with __ and the normal name is an alias. */
11427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11435 if { (eval echo configure:11436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11437 eval "ac_cv_func_$ac_func=yes"
11439 echo "configure: failed program was:" >&5
11440 cat conftest.$ac_ext >&5
11442 eval "ac_cv_func_$ac_func=no"
11447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11448 echo "$ac_t""yes" 1>&6
11449 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11450 cat >> confdefs.h <<EOF
11451 #define $ac_tr_func 1
11455 echo "$ac_t""no" 1>&6
11461 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11462 echo "configure:11463: checking for _copysign declaration" >&5
11463 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11464 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11465 echo $ac_n "(cached) $ac_c" 1>&6
11470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11471 ac_cpp='$CXXCPP $CPPFLAGS'
11472 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11473 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11474 cross_compiling=$ac_cv_prog_cxx_cross
11476 cat > conftest.$ac_ext <<EOF
11477 #line 11478 "configure"
11478 #include "confdefs.h"
11484 if { (eval echo configure:11485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11486 glibcpp_cv_func__copysign_use=yes
11488 echo "configure: failed program was:" >&5
11489 cat conftest.$ac_ext >&5
11491 glibcpp_cv_func__copysign_use=no
11495 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11496 ac_cpp='$CPP $CPPFLAGS'
11497 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11498 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11499 cross_compiling=$ac_cv_prog_cc_cross
11505 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11507 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11508 for ac_func in _copysign
11510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11511 echo "configure:11512: checking for $ac_func" >&5
11512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11513 echo $ac_n "(cached) $ac_c" 1>&6
11515 cat > conftest.$ac_ext <<EOF
11516 #line 11517 "configure"
11517 #include "confdefs.h"
11518 /* System header to define __stub macros and hopefully few prototypes,
11519 which can conflict with char $ac_func(); below. */
11520 #include <assert.h>
11521 /* Override any gcc2 internal prototype to avoid an error. */
11522 /* We use char because int might match the return type of a gcc2
11523 builtin and then its argument prototype would still apply. */
11528 /* The GNU C library defines this for functions which it implements
11529 to always fail with ENOSYS. Some functions are actually named
11530 something starting with __ and the normal name is an alias. */
11531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11539 if { (eval echo configure:11540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11541 eval "ac_cv_func_$ac_func=yes"
11543 echo "configure: failed program was:" >&5
11544 cat conftest.$ac_ext >&5
11546 eval "ac_cv_func_$ac_func=no"
11551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11552 echo "$ac_t""yes" 1>&6
11553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11554 cat >> confdefs.h <<EOF
11555 #define $ac_tr_func 1
11559 echo "$ac_t""no" 1>&6
11568 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11569 echo "configure:11570: checking for sincos declaration" >&5
11570 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11571 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11572 echo $ac_n "(cached) $ac_c" 1>&6
11577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11578 ac_cpp='$CXXCPP $CPPFLAGS'
11579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11581 cross_compiling=$ac_cv_prog_cxx_cross
11583 cat > conftest.$ac_ext <<EOF
11584 #line 11585 "configure"
11585 #include "confdefs.h"
11591 if { (eval echo configure:11592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11593 glibcpp_cv_func_sincos_use=yes
11595 echo "configure: failed program was:" >&5
11596 cat conftest.$ac_ext >&5
11598 glibcpp_cv_func_sincos_use=no
11602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11603 ac_cpp='$CPP $CPPFLAGS'
11604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11606 cross_compiling=$ac_cv_prog_cc_cross
11612 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11614 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11615 for ac_func in sincos
11617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11618 echo "configure:11619: checking for $ac_func" >&5
11619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11622 cat > conftest.$ac_ext <<EOF
11623 #line 11624 "configure"
11624 #include "confdefs.h"
11625 /* System header to define __stub macros and hopefully few prototypes,
11626 which can conflict with char $ac_func(); below. */
11627 #include <assert.h>
11628 /* Override any gcc2 internal prototype to avoid an error. */
11629 /* We use char because int might match the return type of a gcc2
11630 builtin and then its argument prototype would still apply. */
11635 /* The GNU C library defines this for functions which it implements
11636 to always fail with ENOSYS. Some functions are actually named
11637 something starting with __ and the normal name is an alias. */
11638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11646 if { (eval echo configure:11647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11648 eval "ac_cv_func_$ac_func=yes"
11650 echo "configure: failed program was:" >&5
11651 cat conftest.$ac_ext >&5
11653 eval "ac_cv_func_$ac_func=no"
11658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11659 echo "$ac_t""yes" 1>&6
11660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11661 cat >> confdefs.h <<EOF
11662 #define $ac_tr_func 1
11666 echo "$ac_t""no" 1>&6
11672 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11673 echo "configure:11674: checking for _sincos declaration" >&5
11674 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11675 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11676 echo $ac_n "(cached) $ac_c" 1>&6
11681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11682 ac_cpp='$CXXCPP $CPPFLAGS'
11683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11685 cross_compiling=$ac_cv_prog_cxx_cross
11687 cat > conftest.$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11695 if { (eval echo configure:11696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11697 glibcpp_cv_func__sincos_use=yes
11699 echo "configure: failed program was:" >&5
11700 cat conftest.$ac_ext >&5
11702 glibcpp_cv_func__sincos_use=no
11706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11707 ac_cpp='$CPP $CPPFLAGS'
11708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11710 cross_compiling=$ac_cv_prog_cc_cross
11716 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11718 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11719 for ac_func in _sincos
11721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11722 echo "configure:11723: checking for $ac_func" >&5
11723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11724 echo $ac_n "(cached) $ac_c" 1>&6
11726 cat > conftest.$ac_ext <<EOF
11727 #line 11728 "configure"
11728 #include "confdefs.h"
11729 /* System header to define __stub macros and hopefully few prototypes,
11730 which can conflict with char $ac_func(); below. */
11731 #include <assert.h>
11732 /* Override any gcc2 internal prototype to avoid an error. */
11733 /* We use char because int might match the return type of a gcc2
11734 builtin and then its argument prototype would still apply. */
11739 /* The GNU C library defines this for functions which it implements
11740 to always fail with ENOSYS. Some functions are actually named
11741 something starting with __ and the normal name is an alias. */
11742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11750 if { (eval echo configure:11751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11752 eval "ac_cv_func_$ac_func=yes"
11754 echo "configure: failed program was:" >&5
11755 cat conftest.$ac_ext >&5
11757 eval "ac_cv_func_$ac_func=no"
11762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11763 echo "$ac_t""yes" 1>&6
11764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11765 cat >> confdefs.h <<EOF
11766 #define $ac_tr_func 1
11770 echo "$ac_t""no" 1>&6
11779 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11780 echo "configure:11781: checking for fpclass declaration" >&5
11781 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11782 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11783 echo $ac_n "(cached) $ac_c" 1>&6
11788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11789 ac_cpp='$CXXCPP $CPPFLAGS'
11790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11792 cross_compiling=$ac_cv_prog_cxx_cross
11794 cat > conftest.$ac_ext <<EOF
11795 #line 11796 "configure"
11796 #include "confdefs.h"
11798 #ifdef HAVE_IEEEFP_H
11799 #include <ieeefp.h>
11806 if { (eval echo configure:11807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11808 glibcpp_cv_func_fpclass_use=yes
11810 echo "configure: failed program was:" >&5
11811 cat conftest.$ac_ext >&5
11813 glibcpp_cv_func_fpclass_use=no
11817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11818 ac_cpp='$CPP $CPPFLAGS'
11819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11821 cross_compiling=$ac_cv_prog_cc_cross
11827 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11829 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11830 for ac_func in fpclass
11832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11833 echo "configure:11834: checking for $ac_func" >&5
11834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11835 echo $ac_n "(cached) $ac_c" 1>&6
11837 cat > conftest.$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11840 /* System header to define __stub macros and hopefully few prototypes,
11841 which can conflict with char $ac_func(); below. */
11842 #include <assert.h>
11843 /* Override any gcc2 internal prototype to avoid an error. */
11844 /* We use char because int might match the return type of a gcc2
11845 builtin and then its argument prototype would still apply. */
11850 /* The GNU C library defines this for functions which it implements
11851 to always fail with ENOSYS. Some functions are actually named
11852 something starting with __ and the normal name is an alias. */
11853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11861 if { (eval echo configure:11862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11863 eval "ac_cv_func_$ac_func=yes"
11865 echo "configure: failed program was:" >&5
11866 cat conftest.$ac_ext >&5
11868 eval "ac_cv_func_$ac_func=no"
11873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11874 echo "$ac_t""yes" 1>&6
11875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11876 cat >> confdefs.h <<EOF
11877 #define $ac_tr_func 1
11881 echo "$ac_t""no" 1>&6
11887 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11888 echo "configure:11889: checking for _fpclass declaration" >&5
11889 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11890 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11891 echo $ac_n "(cached) $ac_c" 1>&6
11896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11897 ac_cpp='$CXXCPP $CPPFLAGS'
11898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11900 cross_compiling=$ac_cv_prog_cxx_cross
11902 cat > conftest.$ac_ext <<EOF
11903 #line 11904 "configure"
11904 #include "confdefs.h"
11906 #ifdef HAVE_IEEEFP_H
11907 #include <ieeefp.h>
11914 if { (eval echo configure:11915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11916 glibcpp_cv_func__fpclass_use=yes
11918 echo "configure: failed program was:" >&5
11919 cat conftest.$ac_ext >&5
11921 glibcpp_cv_func__fpclass_use=no
11925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11929 cross_compiling=$ac_cv_prog_cc_cross
11935 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11937 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11938 for ac_func in _fpclass
11940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11941 echo "configure:11942: checking for $ac_func" >&5
11942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11945 cat > conftest.$ac_ext <<EOF
11946 #line 11947 "configure"
11947 #include "confdefs.h"
11948 /* System header to define __stub macros and hopefully few prototypes,
11949 which can conflict with char $ac_func(); below. */
11950 #include <assert.h>
11951 /* Override any gcc2 internal prototype to avoid an error. */
11952 /* We use char because int might match the return type of a gcc2
11953 builtin and then its argument prototype would still apply. */
11958 /* The GNU C library defines this for functions which it implements
11959 to always fail with ENOSYS. Some functions are actually named
11960 something starting with __ and the normal name is an alias. */
11961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11969 if { (eval echo configure:11970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11971 eval "ac_cv_func_$ac_func=yes"
11973 echo "configure: failed program was:" >&5
11974 cat conftest.$ac_ext >&5
11976 eval "ac_cv_func_$ac_func=no"
11981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11982 echo "$ac_t""yes" 1>&6
11983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11984 cat >> confdefs.h <<EOF
11985 #define $ac_tr_func 1
11989 echo "$ac_t""no" 1>&6
11998 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11999 echo "configure:12000: checking for qfpclass declaration" >&5
12000 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12001 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12002 echo $ac_n "(cached) $ac_c" 1>&6
12007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12008 ac_cpp='$CXXCPP $CPPFLAGS'
12009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12011 cross_compiling=$ac_cv_prog_cxx_cross
12013 cat > conftest.$ac_ext <<EOF
12014 #line 12015 "configure"
12015 #include "confdefs.h"
12017 #ifdef HAVE_IEEEFP_H
12018 #include <ieeefp.h>
12025 if { (eval echo configure:12026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12027 glibcpp_cv_func_qfpclass_use=yes
12029 echo "configure: failed program was:" >&5
12030 cat conftest.$ac_ext >&5
12032 glibcpp_cv_func_qfpclass_use=no
12036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12037 ac_cpp='$CPP $CPPFLAGS'
12038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12040 cross_compiling=$ac_cv_prog_cc_cross
12046 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12048 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12049 for ac_func in qfpclass
12051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12052 echo "configure:12053: checking for $ac_func" >&5
12053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12054 echo $ac_n "(cached) $ac_c" 1>&6
12056 cat > conftest.$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12059 /* System header to define __stub macros and hopefully few prototypes,
12060 which can conflict with char $ac_func(); below. */
12061 #include <assert.h>
12062 /* Override any gcc2 internal prototype to avoid an error. */
12063 /* We use char because int might match the return type of a gcc2
12064 builtin and then its argument prototype would still apply. */
12069 /* The GNU C library defines this for functions which it implements
12070 to always fail with ENOSYS. Some functions are actually named
12071 something starting with __ and the normal name is an alias. */
12072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12080 if { (eval echo configure:12081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12082 eval "ac_cv_func_$ac_func=yes"
12084 echo "configure: failed program was:" >&5
12085 cat conftest.$ac_ext >&5
12087 eval "ac_cv_func_$ac_func=no"
12092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12093 echo "$ac_t""yes" 1>&6
12094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12095 cat >> confdefs.h <<EOF
12096 #define $ac_tr_func 1
12100 echo "$ac_t""no" 1>&6
12106 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12107 echo "configure:12108: checking for _qfpclass declaration" >&5
12108 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12109 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12110 echo $ac_n "(cached) $ac_c" 1>&6
12115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12116 ac_cpp='$CXXCPP $CPPFLAGS'
12117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12119 cross_compiling=$ac_cv_prog_cxx_cross
12121 cat > conftest.$ac_ext <<EOF
12122 #line 12123 "configure"
12123 #include "confdefs.h"
12125 #ifdef HAVE_IEEEFP_H
12126 #include <ieeefp.h>
12133 if { (eval echo configure:12134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12135 glibcpp_cv_func__qfpclass_use=yes
12137 echo "configure: failed program was:" >&5
12138 cat conftest.$ac_ext >&5
12140 glibcpp_cv_func__qfpclass_use=no
12144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12145 ac_cpp='$CPP $CPPFLAGS'
12146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12148 cross_compiling=$ac_cv_prog_cc_cross
12154 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12156 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12157 for ac_func in _qfpclass
12159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12160 echo "configure:12161: checking for $ac_func" >&5
12161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12162 echo $ac_n "(cached) $ac_c" 1>&6
12164 cat > conftest.$ac_ext <<EOF
12165 #line 12166 "configure"
12166 #include "confdefs.h"
12167 /* System header to define __stub macros and hopefully few prototypes,
12168 which can conflict with char $ac_func(); below. */
12169 #include <assert.h>
12170 /* Override any gcc2 internal prototype to avoid an error. */
12171 /* We use char because int might match the return type of a gcc2
12172 builtin and then its argument prototype would still apply. */
12177 /* The GNU C library defines this for functions which it implements
12178 to always fail with ENOSYS. Some functions are actually named
12179 something starting with __ and the normal name is an alias. */
12180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12188 if { (eval echo configure:12189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12190 eval "ac_cv_func_$ac_func=yes"
12192 echo "configure: failed program was:" >&5
12193 cat conftest.$ac_ext >&5
12195 eval "ac_cv_func_$ac_func=no"
12200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12201 echo "$ac_t""yes" 1>&6
12202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12203 cat >> confdefs.h <<EOF
12204 #define $ac_tr_func 1
12208 echo "$ac_t""no" 1>&6
12217 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12218 echo "configure:12219: checking for hypot declaration" >&5
12219 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12220 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12221 echo $ac_n "(cached) $ac_c" 1>&6
12226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12227 ac_cpp='$CXXCPP $CPPFLAGS'
12228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12230 cross_compiling=$ac_cv_prog_cxx_cross
12232 cat > conftest.$ac_ext <<EOF
12233 #line 12234 "configure"
12234 #include "confdefs.h"
12240 if { (eval echo configure:12241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12242 glibcpp_cv_func_hypot_use=yes
12244 echo "configure: failed program was:" >&5
12245 cat conftest.$ac_ext >&5
12247 glibcpp_cv_func_hypot_use=no
12251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12252 ac_cpp='$CPP $CPPFLAGS'
12253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12255 cross_compiling=$ac_cv_prog_cc_cross
12261 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12263 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12264 for ac_func in hypot
12266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12267 echo "configure:12268: checking for $ac_func" >&5
12268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12269 echo $ac_n "(cached) $ac_c" 1>&6
12271 cat > conftest.$ac_ext <<EOF
12272 #line 12273 "configure"
12273 #include "confdefs.h"
12274 /* System header to define __stub macros and hopefully few prototypes,
12275 which can conflict with char $ac_func(); below. */
12276 #include <assert.h>
12277 /* Override any gcc2 internal prototype to avoid an error. */
12278 /* We use char because int might match the return type of a gcc2
12279 builtin and then its argument prototype would still apply. */
12284 /* The GNU C library defines this for functions which it implements
12285 to always fail with ENOSYS. Some functions are actually named
12286 something starting with __ and the normal name is an alias. */
12287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12295 if { (eval echo configure:12296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12297 eval "ac_cv_func_$ac_func=yes"
12299 echo "configure: failed program was:" >&5
12300 cat conftest.$ac_ext >&5
12302 eval "ac_cv_func_$ac_func=no"
12307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12308 echo "$ac_t""yes" 1>&6
12309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12310 cat >> confdefs.h <<EOF
12311 #define $ac_tr_func 1
12315 echo "$ac_t""no" 1>&6
12321 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12322 echo "configure:12323: checking for _hypot declaration" >&5
12323 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12324 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12325 echo $ac_n "(cached) $ac_c" 1>&6
12330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12331 ac_cpp='$CXXCPP $CPPFLAGS'
12332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12334 cross_compiling=$ac_cv_prog_cxx_cross
12336 cat > conftest.$ac_ext <<EOF
12337 #line 12338 "configure"
12338 #include "confdefs.h"
12344 if { (eval echo configure:12345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12346 glibcpp_cv_func__hypot_use=yes
12348 echo "configure: failed program was:" >&5
12349 cat conftest.$ac_ext >&5
12351 glibcpp_cv_func__hypot_use=no
12355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12356 ac_cpp='$CPP $CPPFLAGS'
12357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12359 cross_compiling=$ac_cv_prog_cc_cross
12365 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12367 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12368 for ac_func in _hypot
12370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12371 echo "configure:12372: checking for $ac_func" >&5
12372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12373 echo $ac_n "(cached) $ac_c" 1>&6
12375 cat > conftest.$ac_ext <<EOF
12376 #line 12377 "configure"
12377 #include "confdefs.h"
12378 /* System header to define __stub macros and hopefully few prototypes,
12379 which can conflict with char $ac_func(); below. */
12380 #include <assert.h>
12381 /* Override any gcc2 internal prototype to avoid an error. */
12382 /* We use char because int might match the return type of a gcc2
12383 builtin and then its argument prototype would still apply. */
12388 /* The GNU C library defines this for functions which it implements
12389 to always fail with ENOSYS. Some functions are actually named
12390 something starting with __ and the normal name is an alias. */
12391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12399 if { (eval echo configure:12400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12401 eval "ac_cv_func_$ac_func=yes"
12403 echo "configure: failed program was:" >&5
12404 cat conftest.$ac_ext >&5
12406 eval "ac_cv_func_$ac_func=no"
12411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12412 echo "$ac_t""yes" 1>&6
12413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12414 cat >> confdefs.h <<EOF
12415 #define $ac_tr_func 1
12419 echo "$ac_t""no" 1>&6
12428 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12429 echo "configure:12430: checking for float trig functions" >&5
12430 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12431 echo $ac_n "(cached) $ac_c" 1>&6
12436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12437 ac_cpp='$CXXCPP $CPPFLAGS'
12438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12440 cross_compiling=$ac_cv_prog_cxx_cross
12442 cat > conftest.$ac_ext <<EOF
12443 #line 12444 "configure"
12444 #include "confdefs.h"
12447 `for x in acosf asinf atanf \
12449 coshf sinhf tanhf; do echo "$x (0);"; done`
12452 if { (eval echo configure:12453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12454 glibcpp_cv_func_float_trig_use=yes
12456 echo "configure: failed program was:" >&5
12457 cat conftest.$ac_ext >&5
12459 glibcpp_cv_func_float_trig_use=no
12463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12464 ac_cpp='$CPP $CPPFLAGS'
12465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12467 cross_compiling=$ac_cv_prog_cc_cross
12471 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12472 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12473 for ac_func in acosf asinf atanf \
12477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12478 echo "configure:12479: checking for $ac_func" >&5
12479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12480 echo $ac_n "(cached) $ac_c" 1>&6
12482 cat > conftest.$ac_ext <<EOF
12483 #line 12484 "configure"
12484 #include "confdefs.h"
12485 /* System header to define __stub macros and hopefully few prototypes,
12486 which can conflict with char $ac_func(); below. */
12487 #include <assert.h>
12488 /* Override any gcc2 internal prototype to avoid an error. */
12489 /* We use char because int might match the return type of a gcc2
12490 builtin and then its argument prototype would still apply. */
12495 /* The GNU C library defines this for functions which it implements
12496 to always fail with ENOSYS. Some functions are actually named
12497 something starting with __ and the normal name is an alias. */
12498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12506 if { (eval echo configure:12507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12508 eval "ac_cv_func_$ac_func=yes"
12510 echo "configure: failed program was:" >&5
12511 cat conftest.$ac_ext >&5
12513 eval "ac_cv_func_$ac_func=no"
12518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12519 echo "$ac_t""yes" 1>&6
12520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12521 cat >> confdefs.h <<EOF
12522 #define $ac_tr_func 1
12526 echo "$ac_t""no" 1>&6
12533 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12534 echo "configure:12535: checking for float round functions" >&5
12535 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12536 echo $ac_n "(cached) $ac_c" 1>&6
12541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12542 ac_cpp='$CXXCPP $CPPFLAGS'
12543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12545 cross_compiling=$ac_cv_prog_cxx_cross
12547 cat > conftest.$ac_ext <<EOF
12548 #line 12549 "configure"
12549 #include "confdefs.h"
12552 `for x in ceilf floorf; do echo "$x (0);"; done`
12555 if { (eval echo configure:12556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12557 glibcpp_cv_func_float_round_use=yes
12559 echo "configure: failed program was:" >&5
12560 cat conftest.$ac_ext >&5
12562 glibcpp_cv_func_float_round_use=no
12566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12567 ac_cpp='$CPP $CPPFLAGS'
12568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12570 cross_compiling=$ac_cv_prog_cc_cross
12574 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12575 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12576 for ac_func in ceilf floorf
12578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12579 echo "configure:12580: checking for $ac_func" >&5
12580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12581 echo $ac_n "(cached) $ac_c" 1>&6
12583 cat > conftest.$ac_ext <<EOF
12584 #line 12585 "configure"
12585 #include "confdefs.h"
12586 /* System header to define __stub macros and hopefully few prototypes,
12587 which can conflict with char $ac_func(); below. */
12588 #include <assert.h>
12589 /* Override any gcc2 internal prototype to avoid an error. */
12590 /* We use char because int might match the return type of a gcc2
12591 builtin and then its argument prototype would still apply. */
12596 /* The GNU C library defines this for functions which it implements
12597 to always fail with ENOSYS. Some functions are actually named
12598 something starting with __ and the normal name is an alias. */
12599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12607 if { (eval echo configure:12608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12609 eval "ac_cv_func_$ac_func=yes"
12611 echo "configure: failed program was:" >&5
12612 cat conftest.$ac_ext >&5
12614 eval "ac_cv_func_$ac_func=no"
12619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12620 echo "$ac_t""yes" 1>&6
12621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12622 cat >> confdefs.h <<EOF
12623 #define $ac_tr_func 1
12627 echo "$ac_t""no" 1>&6
12635 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12636 echo "configure:12637: checking for expf declaration" >&5
12637 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12638 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12639 echo $ac_n "(cached) $ac_c" 1>&6
12644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12645 ac_cpp='$CXXCPP $CPPFLAGS'
12646 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12647 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12648 cross_compiling=$ac_cv_prog_cxx_cross
12650 cat > conftest.$ac_ext <<EOF
12651 #line 12652 "configure"
12652 #include "confdefs.h"
12654 #ifdef HAVE_IEEEFP_H
12655 #include <ieeefp.h>
12662 if { (eval echo configure:12663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12664 glibcpp_cv_func_expf_use=yes
12666 echo "configure: failed program was:" >&5
12667 cat conftest.$ac_ext >&5
12669 glibcpp_cv_func_expf_use=no
12673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12674 ac_cpp='$CPP $CPPFLAGS'
12675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12677 cross_compiling=$ac_cv_prog_cc_cross
12683 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12685 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12686 for ac_func in expf
12688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12689 echo "configure:12690: checking for $ac_func" >&5
12690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12691 echo $ac_n "(cached) $ac_c" 1>&6
12693 cat > conftest.$ac_ext <<EOF
12694 #line 12695 "configure"
12695 #include "confdefs.h"
12696 /* System header to define __stub macros and hopefully few prototypes,
12697 which can conflict with char $ac_func(); below. */
12698 #include <assert.h>
12699 /* Override any gcc2 internal prototype to avoid an error. */
12700 /* We use char because int might match the return type of a gcc2
12701 builtin and then its argument prototype would still apply. */
12706 /* The GNU C library defines this for functions which it implements
12707 to always fail with ENOSYS. Some functions are actually named
12708 something starting with __ and the normal name is an alias. */
12709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12717 if { (eval echo configure:12718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12719 eval "ac_cv_func_$ac_func=yes"
12721 echo "configure: failed program was:" >&5
12722 cat conftest.$ac_ext >&5
12724 eval "ac_cv_func_$ac_func=no"
12729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12730 echo "$ac_t""yes" 1>&6
12731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12732 cat >> confdefs.h <<EOF
12733 #define $ac_tr_func 1
12737 echo "$ac_t""no" 1>&6
12743 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12744 echo "configure:12745: checking for _expf declaration" >&5
12745 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12746 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12747 echo $ac_n "(cached) $ac_c" 1>&6
12752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12753 ac_cpp='$CXXCPP $CPPFLAGS'
12754 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12755 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12756 cross_compiling=$ac_cv_prog_cxx_cross
12758 cat > conftest.$ac_ext <<EOF
12759 #line 12760 "configure"
12760 #include "confdefs.h"
12762 #ifdef HAVE_IEEEFP_H
12763 #include <ieeefp.h>
12770 if { (eval echo configure:12771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12772 glibcpp_cv_func__expf_use=yes
12774 echo "configure: failed program was:" >&5
12775 cat conftest.$ac_ext >&5
12777 glibcpp_cv_func__expf_use=no
12781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12782 ac_cpp='$CPP $CPPFLAGS'
12783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12785 cross_compiling=$ac_cv_prog_cc_cross
12791 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12793 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12794 for ac_func in _expf
12796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12797 echo "configure:12798: checking for $ac_func" >&5
12798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12799 echo $ac_n "(cached) $ac_c" 1>&6
12801 cat > conftest.$ac_ext <<EOF
12802 #line 12803 "configure"
12803 #include "confdefs.h"
12804 /* System header to define __stub macros and hopefully few prototypes,
12805 which can conflict with char $ac_func(); below. */
12806 #include <assert.h>
12807 /* Override any gcc2 internal prototype to avoid an error. */
12808 /* We use char because int might match the return type of a gcc2
12809 builtin and then its argument prototype would still apply. */
12814 /* The GNU C library defines this for functions which it implements
12815 to always fail with ENOSYS. Some functions are actually named
12816 something starting with __ and the normal name is an alias. */
12817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12825 if { (eval echo configure:12826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12827 eval "ac_cv_func_$ac_func=yes"
12829 echo "configure: failed program was:" >&5
12830 cat conftest.$ac_ext >&5
12832 eval "ac_cv_func_$ac_func=no"
12837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12838 echo "$ac_t""yes" 1>&6
12839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12840 cat >> confdefs.h <<EOF
12841 #define $ac_tr_func 1
12845 echo "$ac_t""no" 1>&6
12854 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12855 echo "configure:12856: checking for isnanf declaration" >&5
12856 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12857 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12858 echo $ac_n "(cached) $ac_c" 1>&6
12863 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12864 ac_cpp='$CXXCPP $CPPFLAGS'
12865 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12866 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12867 cross_compiling=$ac_cv_prog_cxx_cross
12869 cat > conftest.$ac_ext <<EOF
12870 #line 12871 "configure"
12871 #include "confdefs.h"
12873 #ifdef HAVE_IEEEFP_H
12874 #include <ieeefp.h>
12881 if { (eval echo configure:12882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12883 glibcpp_cv_func_isnanf_use=yes
12885 echo "configure: failed program was:" >&5
12886 cat conftest.$ac_ext >&5
12888 glibcpp_cv_func_isnanf_use=no
12892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12893 ac_cpp='$CPP $CPPFLAGS'
12894 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12895 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12896 cross_compiling=$ac_cv_prog_cc_cross
12902 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12904 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12905 for ac_func in isnanf
12907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12908 echo "configure:12909: checking for $ac_func" >&5
12909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12910 echo $ac_n "(cached) $ac_c" 1>&6
12912 cat > conftest.$ac_ext <<EOF
12913 #line 12914 "configure"
12914 #include "confdefs.h"
12915 /* System header to define __stub macros and hopefully few prototypes,
12916 which can conflict with char $ac_func(); below. */
12917 #include <assert.h>
12918 /* Override any gcc2 internal prototype to avoid an error. */
12919 /* We use char because int might match the return type of a gcc2
12920 builtin and then its argument prototype would still apply. */
12925 /* The GNU C library defines this for functions which it implements
12926 to always fail with ENOSYS. Some functions are actually named
12927 something starting with __ and the normal name is an alias. */
12928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12936 if { (eval echo configure:12937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12938 eval "ac_cv_func_$ac_func=yes"
12940 echo "configure: failed program was:" >&5
12941 cat conftest.$ac_ext >&5
12943 eval "ac_cv_func_$ac_func=no"
12948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12949 echo "$ac_t""yes" 1>&6
12950 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12951 cat >> confdefs.h <<EOF
12952 #define $ac_tr_func 1
12956 echo "$ac_t""no" 1>&6
12962 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12963 echo "configure:12964: checking for _isnanf declaration" >&5
12964 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12965 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12966 echo $ac_n "(cached) $ac_c" 1>&6
12971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12972 ac_cpp='$CXXCPP $CPPFLAGS'
12973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12975 cross_compiling=$ac_cv_prog_cxx_cross
12977 cat > conftest.$ac_ext <<EOF
12978 #line 12979 "configure"
12979 #include "confdefs.h"
12981 #ifdef HAVE_IEEEFP_H
12982 #include <ieeefp.h>
12989 if { (eval echo configure:12990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12991 glibcpp_cv_func__isnanf_use=yes
12993 echo "configure: failed program was:" >&5
12994 cat conftest.$ac_ext >&5
12996 glibcpp_cv_func__isnanf_use=no
13000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13001 ac_cpp='$CPP $CPPFLAGS'
13002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13004 cross_compiling=$ac_cv_prog_cc_cross
13010 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13012 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13013 for ac_func in _isnanf
13015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13016 echo "configure:13017: checking for $ac_func" >&5
13017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13018 echo $ac_n "(cached) $ac_c" 1>&6
13020 cat > conftest.$ac_ext <<EOF
13021 #line 13022 "configure"
13022 #include "confdefs.h"
13023 /* System header to define __stub macros and hopefully few prototypes,
13024 which can conflict with char $ac_func(); below. */
13025 #include <assert.h>
13026 /* Override any gcc2 internal prototype to avoid an error. */
13027 /* We use char because int might match the return type of a gcc2
13028 builtin and then its argument prototype would still apply. */
13033 /* The GNU C library defines this for functions which it implements
13034 to always fail with ENOSYS. Some functions are actually named
13035 something starting with __ and the normal name is an alias. */
13036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13044 if { (eval echo configure:13045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13046 eval "ac_cv_func_$ac_func=yes"
13048 echo "configure: failed program was:" >&5
13049 cat conftest.$ac_ext >&5
13051 eval "ac_cv_func_$ac_func=no"
13056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13057 echo "$ac_t""yes" 1>&6
13058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13059 cat >> confdefs.h <<EOF
13060 #define $ac_tr_func 1
13064 echo "$ac_t""no" 1>&6
13073 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13074 echo "configure:13075: checking for isinff declaration" >&5
13075 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13076 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13077 echo $ac_n "(cached) $ac_c" 1>&6
13082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13083 ac_cpp='$CXXCPP $CPPFLAGS'
13084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13086 cross_compiling=$ac_cv_prog_cxx_cross
13088 cat > conftest.$ac_ext <<EOF
13089 #line 13090 "configure"
13090 #include "confdefs.h"
13092 #ifdef HAVE_IEEEFP_H
13093 #include <ieeefp.h>
13100 if { (eval echo configure:13101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13102 glibcpp_cv_func_isinff_use=yes
13104 echo "configure: failed program was:" >&5
13105 cat conftest.$ac_ext >&5
13107 glibcpp_cv_func_isinff_use=no
13111 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13112 ac_cpp='$CPP $CPPFLAGS'
13113 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13114 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13115 cross_compiling=$ac_cv_prog_cc_cross
13121 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13123 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13124 for ac_func in isinff
13126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13127 echo "configure:13128: checking for $ac_func" >&5
13128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13131 cat > conftest.$ac_ext <<EOF
13132 #line 13133 "configure"
13133 #include "confdefs.h"
13134 /* System header to define __stub macros and hopefully few prototypes,
13135 which can conflict with char $ac_func(); below. */
13136 #include <assert.h>
13137 /* Override any gcc2 internal prototype to avoid an error. */
13138 /* We use char because int might match the return type of a gcc2
13139 builtin and then its argument prototype would still apply. */
13144 /* The GNU C library defines this for functions which it implements
13145 to always fail with ENOSYS. Some functions are actually named
13146 something starting with __ and the normal name is an alias. */
13147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13155 if { (eval echo configure:13156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13157 eval "ac_cv_func_$ac_func=yes"
13159 echo "configure: failed program was:" >&5
13160 cat conftest.$ac_ext >&5
13162 eval "ac_cv_func_$ac_func=no"
13167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13168 echo "$ac_t""yes" 1>&6
13169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13170 cat >> confdefs.h <<EOF
13171 #define $ac_tr_func 1
13175 echo "$ac_t""no" 1>&6
13181 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13182 echo "configure:13183: checking for _isinff declaration" >&5
13183 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13184 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13185 echo $ac_n "(cached) $ac_c" 1>&6
13190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13191 ac_cpp='$CXXCPP $CPPFLAGS'
13192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13194 cross_compiling=$ac_cv_prog_cxx_cross
13196 cat > conftest.$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13200 #ifdef HAVE_IEEEFP_H
13201 #include <ieeefp.h>
13208 if { (eval echo configure:13209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13210 glibcpp_cv_func__isinff_use=yes
13212 echo "configure: failed program was:" >&5
13213 cat conftest.$ac_ext >&5
13215 glibcpp_cv_func__isinff_use=no
13219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13220 ac_cpp='$CPP $CPPFLAGS'
13221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13223 cross_compiling=$ac_cv_prog_cc_cross
13229 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13231 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13232 for ac_func in _isinff
13234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13235 echo "configure:13236: checking for $ac_func" >&5
13236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13237 echo $ac_n "(cached) $ac_c" 1>&6
13239 cat > conftest.$ac_ext <<EOF
13240 #line 13241 "configure"
13241 #include "confdefs.h"
13242 /* System header to define __stub macros and hopefully few prototypes,
13243 which can conflict with char $ac_func(); below. */
13244 #include <assert.h>
13245 /* Override any gcc2 internal prototype to avoid an error. */
13246 /* We use char because int might match the return type of a gcc2
13247 builtin and then its argument prototype would still apply. */
13252 /* The GNU C library defines this for functions which it implements
13253 to always fail with ENOSYS. Some functions are actually named
13254 something starting with __ and the normal name is an alias. */
13255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13263 if { (eval echo configure:13264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13265 eval "ac_cv_func_$ac_func=yes"
13267 echo "configure: failed program was:" >&5
13268 cat conftest.$ac_ext >&5
13270 eval "ac_cv_func_$ac_func=no"
13275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13276 echo "$ac_t""yes" 1>&6
13277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13278 cat >> confdefs.h <<EOF
13279 #define $ac_tr_func 1
13283 echo "$ac_t""no" 1>&6
13292 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13293 echo "configure:13294: checking for atan2f declaration" >&5
13294 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13295 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13296 echo $ac_n "(cached) $ac_c" 1>&6
13301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13302 ac_cpp='$CXXCPP $CPPFLAGS'
13303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13305 cross_compiling=$ac_cv_prog_cxx_cross
13307 cat > conftest.$ac_ext <<EOF
13308 #line 13309 "configure"
13309 #include "confdefs.h"
13315 if { (eval echo configure:13316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13317 glibcpp_cv_func_atan2f_use=yes
13319 echo "configure: failed program was:" >&5
13320 cat conftest.$ac_ext >&5
13322 glibcpp_cv_func_atan2f_use=no
13326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13327 ac_cpp='$CPP $CPPFLAGS'
13328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13330 cross_compiling=$ac_cv_prog_cc_cross
13336 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13338 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13339 for ac_func in atan2f
13341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13342 echo "configure:13343: checking for $ac_func" >&5
13343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13344 echo $ac_n "(cached) $ac_c" 1>&6
13346 cat > conftest.$ac_ext <<EOF
13347 #line 13348 "configure"
13348 #include "confdefs.h"
13349 /* System header to define __stub macros and hopefully few prototypes,
13350 which can conflict with char $ac_func(); below. */
13351 #include <assert.h>
13352 /* Override any gcc2 internal prototype to avoid an error. */
13353 /* We use char because int might match the return type of a gcc2
13354 builtin and then its argument prototype would still apply. */
13359 /* The GNU C library defines this for functions which it implements
13360 to always fail with ENOSYS. Some functions are actually named
13361 something starting with __ and the normal name is an alias. */
13362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13370 if { (eval echo configure:13371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13372 eval "ac_cv_func_$ac_func=yes"
13374 echo "configure: failed program was:" >&5
13375 cat conftest.$ac_ext >&5
13377 eval "ac_cv_func_$ac_func=no"
13382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13383 echo "$ac_t""yes" 1>&6
13384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13385 cat >> confdefs.h <<EOF
13386 #define $ac_tr_func 1
13390 echo "$ac_t""no" 1>&6
13396 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13397 echo "configure:13398: checking for _atan2f declaration" >&5
13398 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13399 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13400 echo $ac_n "(cached) $ac_c" 1>&6
13405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13406 ac_cpp='$CXXCPP $CPPFLAGS'
13407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13409 cross_compiling=$ac_cv_prog_cxx_cross
13411 cat > conftest.$ac_ext <<EOF
13412 #line 13413 "configure"
13413 #include "confdefs.h"
13419 if { (eval echo configure:13420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13421 glibcpp_cv_func__atan2f_use=yes
13423 echo "configure: failed program was:" >&5
13424 cat conftest.$ac_ext >&5
13426 glibcpp_cv_func__atan2f_use=no
13430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13431 ac_cpp='$CPP $CPPFLAGS'
13432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13434 cross_compiling=$ac_cv_prog_cc_cross
13440 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13442 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13443 for ac_func in _atan2f
13445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13446 echo "configure:13447: checking for $ac_func" >&5
13447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13448 echo $ac_n "(cached) $ac_c" 1>&6
13450 cat > conftest.$ac_ext <<EOF
13451 #line 13452 "configure"
13452 #include "confdefs.h"
13453 /* System header to define __stub macros and hopefully few prototypes,
13454 which can conflict with char $ac_func(); below. */
13455 #include <assert.h>
13456 /* Override any gcc2 internal prototype to avoid an error. */
13457 /* We use char because int might match the return type of a gcc2
13458 builtin and then its argument prototype would still apply. */
13463 /* The GNU C library defines this for functions which it implements
13464 to always fail with ENOSYS. Some functions are actually named
13465 something starting with __ and the normal name is an alias. */
13466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13474 if { (eval echo configure:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13476 eval "ac_cv_func_$ac_func=yes"
13478 echo "configure: failed program was:" >&5
13479 cat conftest.$ac_ext >&5
13481 eval "ac_cv_func_$ac_func=no"
13486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13487 echo "$ac_t""yes" 1>&6
13488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13489 cat >> confdefs.h <<EOF
13490 #define $ac_tr_func 1
13494 echo "$ac_t""no" 1>&6
13503 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13504 echo "configure:13505: checking for fabsf declaration" >&5
13505 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13506 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13507 echo $ac_n "(cached) $ac_c" 1>&6
13512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13513 ac_cpp='$CXXCPP $CPPFLAGS'
13514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13516 cross_compiling=$ac_cv_prog_cxx_cross
13518 cat > conftest.$ac_ext <<EOF
13519 #line 13520 "configure"
13520 #include "confdefs.h"
13522 #ifdef HAVE_IEEEFP_H
13523 #include <ieeefp.h>
13530 if { (eval echo configure:13531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13532 glibcpp_cv_func_fabsf_use=yes
13534 echo "configure: failed program was:" >&5
13535 cat conftest.$ac_ext >&5
13537 glibcpp_cv_func_fabsf_use=no
13541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13542 ac_cpp='$CPP $CPPFLAGS'
13543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13545 cross_compiling=$ac_cv_prog_cc_cross
13551 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13553 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13554 for ac_func in fabsf
13556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13557 echo "configure:13558: checking for $ac_func" >&5
13558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13559 echo $ac_n "(cached) $ac_c" 1>&6
13561 cat > conftest.$ac_ext <<EOF
13562 #line 13563 "configure"
13563 #include "confdefs.h"
13564 /* System header to define __stub macros and hopefully few prototypes,
13565 which can conflict with char $ac_func(); below. */
13566 #include <assert.h>
13567 /* Override any gcc2 internal prototype to avoid an error. */
13568 /* We use char because int might match the return type of a gcc2
13569 builtin and then its argument prototype would still apply. */
13574 /* The GNU C library defines this for functions which it implements
13575 to always fail with ENOSYS. Some functions are actually named
13576 something starting with __ and the normal name is an alias. */
13577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13585 if { (eval echo configure:13586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13587 eval "ac_cv_func_$ac_func=yes"
13589 echo "configure: failed program was:" >&5
13590 cat conftest.$ac_ext >&5
13592 eval "ac_cv_func_$ac_func=no"
13597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13598 echo "$ac_t""yes" 1>&6
13599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13600 cat >> confdefs.h <<EOF
13601 #define $ac_tr_func 1
13605 echo "$ac_t""no" 1>&6
13611 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13612 echo "configure:13613: checking for _fabsf declaration" >&5
13613 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13614 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13615 echo $ac_n "(cached) $ac_c" 1>&6
13620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13621 ac_cpp='$CXXCPP $CPPFLAGS'
13622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13624 cross_compiling=$ac_cv_prog_cxx_cross
13626 cat > conftest.$ac_ext <<EOF
13627 #line 13628 "configure"
13628 #include "confdefs.h"
13630 #ifdef HAVE_IEEEFP_H
13631 #include <ieeefp.h>
13638 if { (eval echo configure:13639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13640 glibcpp_cv_func__fabsf_use=yes
13642 echo "configure: failed program was:" >&5
13643 cat conftest.$ac_ext >&5
13645 glibcpp_cv_func__fabsf_use=no
13649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13650 ac_cpp='$CPP $CPPFLAGS'
13651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13653 cross_compiling=$ac_cv_prog_cc_cross
13659 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13661 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13662 for ac_func in _fabsf
13664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13665 echo "configure:13666: checking for $ac_func" >&5
13666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13667 echo $ac_n "(cached) $ac_c" 1>&6
13669 cat > conftest.$ac_ext <<EOF
13670 #line 13671 "configure"
13671 #include "confdefs.h"
13672 /* System header to define __stub macros and hopefully few prototypes,
13673 which can conflict with char $ac_func(); below. */
13674 #include <assert.h>
13675 /* Override any gcc2 internal prototype to avoid an error. */
13676 /* We use char because int might match the return type of a gcc2
13677 builtin and then its argument prototype would still apply. */
13682 /* The GNU C library defines this for functions which it implements
13683 to always fail with ENOSYS. Some functions are actually named
13684 something starting with __ and the normal name is an alias. */
13685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13693 if { (eval echo configure:13694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13695 eval "ac_cv_func_$ac_func=yes"
13697 echo "configure: failed program was:" >&5
13698 cat conftest.$ac_ext >&5
13700 eval "ac_cv_func_$ac_func=no"
13705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13706 echo "$ac_t""yes" 1>&6
13707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13708 cat >> confdefs.h <<EOF
13709 #define $ac_tr_func 1
13713 echo "$ac_t""no" 1>&6
13722 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13723 echo "configure:13724: checking for fmodf declaration" >&5
13724 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13725 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13726 echo $ac_n "(cached) $ac_c" 1>&6
13731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13732 ac_cpp='$CXXCPP $CPPFLAGS'
13733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13735 cross_compiling=$ac_cv_prog_cxx_cross
13737 cat > conftest.$ac_ext <<EOF
13738 #line 13739 "configure"
13739 #include "confdefs.h"
13745 if { (eval echo configure:13746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13747 glibcpp_cv_func_fmodf_use=yes
13749 echo "configure: failed program was:" >&5
13750 cat conftest.$ac_ext >&5
13752 glibcpp_cv_func_fmodf_use=no
13756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13757 ac_cpp='$CPP $CPPFLAGS'
13758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13760 cross_compiling=$ac_cv_prog_cc_cross
13766 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13768 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13769 for ac_func in fmodf
13771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13772 echo "configure:13773: checking for $ac_func" >&5
13773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13776 cat > conftest.$ac_ext <<EOF
13777 #line 13778 "configure"
13778 #include "confdefs.h"
13779 /* System header to define __stub macros and hopefully few prototypes,
13780 which can conflict with char $ac_func(); below. */
13781 #include <assert.h>
13782 /* Override any gcc2 internal prototype to avoid an error. */
13783 /* We use char because int might match the return type of a gcc2
13784 builtin and then its argument prototype would still apply. */
13789 /* The GNU C library defines this for functions which it implements
13790 to always fail with ENOSYS. Some functions are actually named
13791 something starting with __ and the normal name is an alias. */
13792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13800 if { (eval echo configure:13801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13802 eval "ac_cv_func_$ac_func=yes"
13804 echo "configure: failed program was:" >&5
13805 cat conftest.$ac_ext >&5
13807 eval "ac_cv_func_$ac_func=no"
13812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13813 echo "$ac_t""yes" 1>&6
13814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13815 cat >> confdefs.h <<EOF
13816 #define $ac_tr_func 1
13820 echo "$ac_t""no" 1>&6
13826 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13827 echo "configure:13828: checking for _fmodf declaration" >&5
13828 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13829 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13830 echo $ac_n "(cached) $ac_c" 1>&6
13835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13836 ac_cpp='$CXXCPP $CPPFLAGS'
13837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13839 cross_compiling=$ac_cv_prog_cxx_cross
13841 cat > conftest.$ac_ext <<EOF
13842 #line 13843 "configure"
13843 #include "confdefs.h"
13849 if { (eval echo configure:13850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13851 glibcpp_cv_func__fmodf_use=yes
13853 echo "configure: failed program was:" >&5
13854 cat conftest.$ac_ext >&5
13856 glibcpp_cv_func__fmodf_use=no
13860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13861 ac_cpp='$CPP $CPPFLAGS'
13862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13864 cross_compiling=$ac_cv_prog_cc_cross
13870 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13872 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13873 for ac_func in _fmodf
13875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13876 echo "configure:13877: checking for $ac_func" >&5
13877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13878 echo $ac_n "(cached) $ac_c" 1>&6
13880 cat > conftest.$ac_ext <<EOF
13881 #line 13882 "configure"
13882 #include "confdefs.h"
13883 /* System header to define __stub macros and hopefully few prototypes,
13884 which can conflict with char $ac_func(); below. */
13885 #include <assert.h>
13886 /* Override any gcc2 internal prototype to avoid an error. */
13887 /* We use char because int might match the return type of a gcc2
13888 builtin and then its argument prototype would still apply. */
13893 /* The GNU C library defines this for functions which it implements
13894 to always fail with ENOSYS. Some functions are actually named
13895 something starting with __ and the normal name is an alias. */
13896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13904 if { (eval echo configure:13905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13906 eval "ac_cv_func_$ac_func=yes"
13908 echo "configure: failed program was:" >&5
13909 cat conftest.$ac_ext >&5
13911 eval "ac_cv_func_$ac_func=no"
13916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13917 echo "$ac_t""yes" 1>&6
13918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13919 cat >> confdefs.h <<EOF
13920 #define $ac_tr_func 1
13924 echo "$ac_t""no" 1>&6
13933 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13934 echo "configure:13935: checking for frexpf declaration" >&5
13935 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13936 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13937 echo $ac_n "(cached) $ac_c" 1>&6
13942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13943 ac_cpp='$CXXCPP $CPPFLAGS'
13944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13946 cross_compiling=$ac_cv_prog_cxx_cross
13948 cat > conftest.$ac_ext <<EOF
13949 #line 13950 "configure"
13950 #include "confdefs.h"
13956 if { (eval echo configure:13957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13958 glibcpp_cv_func_frexpf_use=yes
13960 echo "configure: failed program was:" >&5
13961 cat conftest.$ac_ext >&5
13963 glibcpp_cv_func_frexpf_use=no
13967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13968 ac_cpp='$CPP $CPPFLAGS'
13969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13971 cross_compiling=$ac_cv_prog_cc_cross
13977 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13979 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13980 for ac_func in frexpf
13982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13983 echo "configure:13984: checking for $ac_func" >&5
13984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13985 echo $ac_n "(cached) $ac_c" 1>&6
13987 cat > conftest.$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13990 /* System header to define __stub macros and hopefully few prototypes,
13991 which can conflict with char $ac_func(); below. */
13992 #include <assert.h>
13993 /* Override any gcc2 internal prototype to avoid an error. */
13994 /* We use char because int might match the return type of a gcc2
13995 builtin and then its argument prototype would still apply. */
14000 /* The GNU C library defines this for functions which it implements
14001 to always fail with ENOSYS. Some functions are actually named
14002 something starting with __ and the normal name is an alias. */
14003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14011 if { (eval echo configure:14012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14013 eval "ac_cv_func_$ac_func=yes"
14015 echo "configure: failed program was:" >&5
14016 cat conftest.$ac_ext >&5
14018 eval "ac_cv_func_$ac_func=no"
14023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14024 echo "$ac_t""yes" 1>&6
14025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14026 cat >> confdefs.h <<EOF
14027 #define $ac_tr_func 1
14031 echo "$ac_t""no" 1>&6
14037 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14038 echo "configure:14039: checking for _frexpf declaration" >&5
14039 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14040 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14041 echo $ac_n "(cached) $ac_c" 1>&6
14046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14047 ac_cpp='$CXXCPP $CPPFLAGS'
14048 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14049 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14050 cross_compiling=$ac_cv_prog_cxx_cross
14052 cat > conftest.$ac_ext <<EOF
14053 #line 14054 "configure"
14054 #include "confdefs.h"
14060 if { (eval echo configure:14061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14062 glibcpp_cv_func__frexpf_use=yes
14064 echo "configure: failed program was:" >&5
14065 cat conftest.$ac_ext >&5
14067 glibcpp_cv_func__frexpf_use=no
14071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14072 ac_cpp='$CPP $CPPFLAGS'
14073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14075 cross_compiling=$ac_cv_prog_cc_cross
14081 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14083 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14084 for ac_func in _frexpf
14086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14087 echo "configure:14088: checking for $ac_func" >&5
14088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14089 echo $ac_n "(cached) $ac_c" 1>&6
14091 cat > conftest.$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14094 /* System header to define __stub macros and hopefully few prototypes,
14095 which can conflict with char $ac_func(); below. */
14096 #include <assert.h>
14097 /* Override any gcc2 internal prototype to avoid an error. */
14098 /* We use char because int might match the return type of a gcc2
14099 builtin and then its argument prototype would still apply. */
14104 /* The GNU C library defines this for functions which it implements
14105 to always fail with ENOSYS. Some functions are actually named
14106 something starting with __ and the normal name is an alias. */
14107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14115 if { (eval echo configure:14116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14117 eval "ac_cv_func_$ac_func=yes"
14119 echo "configure: failed program was:" >&5
14120 cat conftest.$ac_ext >&5
14122 eval "ac_cv_func_$ac_func=no"
14127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14128 echo "$ac_t""yes" 1>&6
14129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14130 cat >> confdefs.h <<EOF
14131 #define $ac_tr_func 1
14135 echo "$ac_t""no" 1>&6
14144 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14145 echo "configure:14146: checking for hypotf declaration" >&5
14146 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14147 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14148 echo $ac_n "(cached) $ac_c" 1>&6
14153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14154 ac_cpp='$CXXCPP $CPPFLAGS'
14155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14157 cross_compiling=$ac_cv_prog_cxx_cross
14159 cat > conftest.$ac_ext <<EOF
14160 #line 14161 "configure"
14161 #include "confdefs.h"
14167 if { (eval echo configure:14168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14169 glibcpp_cv_func_hypotf_use=yes
14171 echo "configure: failed program was:" >&5
14172 cat conftest.$ac_ext >&5
14174 glibcpp_cv_func_hypotf_use=no
14178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14179 ac_cpp='$CPP $CPPFLAGS'
14180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14182 cross_compiling=$ac_cv_prog_cc_cross
14188 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14190 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14191 for ac_func in hypotf
14193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14194 echo "configure:14195: checking for $ac_func" >&5
14195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14196 echo $ac_n "(cached) $ac_c" 1>&6
14198 cat > conftest.$ac_ext <<EOF
14199 #line 14200 "configure"
14200 #include "confdefs.h"
14201 /* System header to define __stub macros and hopefully few prototypes,
14202 which can conflict with char $ac_func(); below. */
14203 #include <assert.h>
14204 /* Override any gcc2 internal prototype to avoid an error. */
14205 /* We use char because int might match the return type of a gcc2
14206 builtin and then its argument prototype would still apply. */
14211 /* The GNU C library defines this for functions which it implements
14212 to always fail with ENOSYS. Some functions are actually named
14213 something starting with __ and the normal name is an alias. */
14214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14222 if { (eval echo configure:14223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14224 eval "ac_cv_func_$ac_func=yes"
14226 echo "configure: failed program was:" >&5
14227 cat conftest.$ac_ext >&5
14229 eval "ac_cv_func_$ac_func=no"
14234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14235 echo "$ac_t""yes" 1>&6
14236 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14237 cat >> confdefs.h <<EOF
14238 #define $ac_tr_func 1
14242 echo "$ac_t""no" 1>&6
14248 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14249 echo "configure:14250: checking for _hypotf declaration" >&5
14250 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14251 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14252 echo $ac_n "(cached) $ac_c" 1>&6
14257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14258 ac_cpp='$CXXCPP $CPPFLAGS'
14259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14261 cross_compiling=$ac_cv_prog_cxx_cross
14263 cat > conftest.$ac_ext <<EOF
14264 #line 14265 "configure"
14265 #include "confdefs.h"
14271 if { (eval echo configure:14272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14273 glibcpp_cv_func__hypotf_use=yes
14275 echo "configure: failed program was:" >&5
14276 cat conftest.$ac_ext >&5
14278 glibcpp_cv_func__hypotf_use=no
14282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14283 ac_cpp='$CPP $CPPFLAGS'
14284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14286 cross_compiling=$ac_cv_prog_cc_cross
14292 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14294 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14295 for ac_func in _hypotf
14297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14298 echo "configure:14299: checking for $ac_func" >&5
14299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14300 echo $ac_n "(cached) $ac_c" 1>&6
14302 cat > conftest.$ac_ext <<EOF
14303 #line 14304 "configure"
14304 #include "confdefs.h"
14305 /* System header to define __stub macros and hopefully few prototypes,
14306 which can conflict with char $ac_func(); below. */
14307 #include <assert.h>
14308 /* Override any gcc2 internal prototype to avoid an error. */
14309 /* We use char because int might match the return type of a gcc2
14310 builtin and then its argument prototype would still apply. */
14315 /* The GNU C library defines this for functions which it implements
14316 to always fail with ENOSYS. Some functions are actually named
14317 something starting with __ and the normal name is an alias. */
14318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14326 if { (eval echo configure:14327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14328 eval "ac_cv_func_$ac_func=yes"
14330 echo "configure: failed program was:" >&5
14331 cat conftest.$ac_ext >&5
14333 eval "ac_cv_func_$ac_func=no"
14338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14339 echo "$ac_t""yes" 1>&6
14340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14341 cat >> confdefs.h <<EOF
14342 #define $ac_tr_func 1
14346 echo "$ac_t""no" 1>&6
14355 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14356 echo "configure:14357: checking for ldexpf declaration" >&5
14357 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14358 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14359 echo $ac_n "(cached) $ac_c" 1>&6
14364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14365 ac_cpp='$CXXCPP $CPPFLAGS'
14366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14368 cross_compiling=$ac_cv_prog_cxx_cross
14370 cat > conftest.$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14378 if { (eval echo configure:14379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14380 glibcpp_cv_func_ldexpf_use=yes
14382 echo "configure: failed program was:" >&5
14383 cat conftest.$ac_ext >&5
14385 glibcpp_cv_func_ldexpf_use=no
14389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14390 ac_cpp='$CPP $CPPFLAGS'
14391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14393 cross_compiling=$ac_cv_prog_cc_cross
14399 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14401 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14402 for ac_func in ldexpf
14404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14405 echo "configure:14406: checking for $ac_func" >&5
14406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14407 echo $ac_n "(cached) $ac_c" 1>&6
14409 cat > conftest.$ac_ext <<EOF
14410 #line 14411 "configure"
14411 #include "confdefs.h"
14412 /* System header to define __stub macros and hopefully few prototypes,
14413 which can conflict with char $ac_func(); below. */
14414 #include <assert.h>
14415 /* Override any gcc2 internal prototype to avoid an error. */
14416 /* We use char because int might match the return type of a gcc2
14417 builtin and then its argument prototype would still apply. */
14422 /* The GNU C library defines this for functions which it implements
14423 to always fail with ENOSYS. Some functions are actually named
14424 something starting with __ and the normal name is an alias. */
14425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14433 if { (eval echo configure:14434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14435 eval "ac_cv_func_$ac_func=yes"
14437 echo "configure: failed program was:" >&5
14438 cat conftest.$ac_ext >&5
14440 eval "ac_cv_func_$ac_func=no"
14445 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14446 echo "$ac_t""yes" 1>&6
14447 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14448 cat >> confdefs.h <<EOF
14449 #define $ac_tr_func 1
14453 echo "$ac_t""no" 1>&6
14459 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14460 echo "configure:14461: checking for _ldexpf declaration" >&5
14461 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14462 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14463 echo $ac_n "(cached) $ac_c" 1>&6
14468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14469 ac_cpp='$CXXCPP $CPPFLAGS'
14470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14472 cross_compiling=$ac_cv_prog_cxx_cross
14474 cat > conftest.$ac_ext <<EOF
14475 #line 14476 "configure"
14476 #include "confdefs.h"
14482 if { (eval echo configure:14483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14484 glibcpp_cv_func__ldexpf_use=yes
14486 echo "configure: failed program was:" >&5
14487 cat conftest.$ac_ext >&5
14489 glibcpp_cv_func__ldexpf_use=no
14493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14494 ac_cpp='$CPP $CPPFLAGS'
14495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14497 cross_compiling=$ac_cv_prog_cc_cross
14503 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14505 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14506 for ac_func in _ldexpf
14508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14509 echo "configure:14510: checking for $ac_func" >&5
14510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14511 echo $ac_n "(cached) $ac_c" 1>&6
14513 cat > conftest.$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14516 /* System header to define __stub macros and hopefully few prototypes,
14517 which can conflict with char $ac_func(); below. */
14518 #include <assert.h>
14519 /* Override any gcc2 internal prototype to avoid an error. */
14520 /* We use char because int might match the return type of a gcc2
14521 builtin and then its argument prototype would still apply. */
14526 /* The GNU C library defines this for functions which it implements
14527 to always fail with ENOSYS. Some functions are actually named
14528 something starting with __ and the normal name is an alias. */
14529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14537 if { (eval echo configure:14538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14539 eval "ac_cv_func_$ac_func=yes"
14541 echo "configure: failed program was:" >&5
14542 cat conftest.$ac_ext >&5
14544 eval "ac_cv_func_$ac_func=no"
14549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14550 echo "$ac_t""yes" 1>&6
14551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14552 cat >> confdefs.h <<EOF
14553 #define $ac_tr_func 1
14557 echo "$ac_t""no" 1>&6
14566 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14567 echo "configure:14568: checking for logf declaration" >&5
14568 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14569 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14570 echo $ac_n "(cached) $ac_c" 1>&6
14575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14576 ac_cpp='$CXXCPP $CPPFLAGS'
14577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14579 cross_compiling=$ac_cv_prog_cxx_cross
14581 cat > conftest.$ac_ext <<EOF
14582 #line 14583 "configure"
14583 #include "confdefs.h"
14585 #ifdef HAVE_IEEEFP_H
14586 #include <ieeefp.h>
14593 if { (eval echo configure:14594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14595 glibcpp_cv_func_logf_use=yes
14597 echo "configure: failed program was:" >&5
14598 cat conftest.$ac_ext >&5
14600 glibcpp_cv_func_logf_use=no
14604 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14605 ac_cpp='$CPP $CPPFLAGS'
14606 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14607 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14608 cross_compiling=$ac_cv_prog_cc_cross
14614 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14616 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14617 for ac_func in logf
14619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14620 echo "configure:14621: checking for $ac_func" >&5
14621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14622 echo $ac_n "(cached) $ac_c" 1>&6
14624 cat > conftest.$ac_ext <<EOF
14625 #line 14626 "configure"
14626 #include "confdefs.h"
14627 /* System header to define __stub macros and hopefully few prototypes,
14628 which can conflict with char $ac_func(); below. */
14629 #include <assert.h>
14630 /* Override any gcc2 internal prototype to avoid an error. */
14631 /* We use char because int might match the return type of a gcc2
14632 builtin and then its argument prototype would still apply. */
14637 /* The GNU C library defines this for functions which it implements
14638 to always fail with ENOSYS. Some functions are actually named
14639 something starting with __ and the normal name is an alias. */
14640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14648 if { (eval echo configure:14649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14650 eval "ac_cv_func_$ac_func=yes"
14652 echo "configure: failed program was:" >&5
14653 cat conftest.$ac_ext >&5
14655 eval "ac_cv_func_$ac_func=no"
14660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14661 echo "$ac_t""yes" 1>&6
14662 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14663 cat >> confdefs.h <<EOF
14664 #define $ac_tr_func 1
14668 echo "$ac_t""no" 1>&6
14674 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14675 echo "configure:14676: checking for _logf declaration" >&5
14676 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14677 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14678 echo $ac_n "(cached) $ac_c" 1>&6
14683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14684 ac_cpp='$CXXCPP $CPPFLAGS'
14685 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14686 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14687 cross_compiling=$ac_cv_prog_cxx_cross
14689 cat > conftest.$ac_ext <<EOF
14690 #line 14691 "configure"
14691 #include "confdefs.h"
14693 #ifdef HAVE_IEEEFP_H
14694 #include <ieeefp.h>
14701 if { (eval echo configure:14702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14703 glibcpp_cv_func__logf_use=yes
14705 echo "configure: failed program was:" >&5
14706 cat conftest.$ac_ext >&5
14708 glibcpp_cv_func__logf_use=no
14712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14713 ac_cpp='$CPP $CPPFLAGS'
14714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14716 cross_compiling=$ac_cv_prog_cc_cross
14722 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14724 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14725 for ac_func in _logf
14727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14728 echo "configure:14729: checking for $ac_func" >&5
14729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14730 echo $ac_n "(cached) $ac_c" 1>&6
14732 cat > conftest.$ac_ext <<EOF
14733 #line 14734 "configure"
14734 #include "confdefs.h"
14735 /* System header to define __stub macros and hopefully few prototypes,
14736 which can conflict with char $ac_func(); below. */
14737 #include <assert.h>
14738 /* Override any gcc2 internal prototype to avoid an error. */
14739 /* We use char because int might match the return type of a gcc2
14740 builtin and then its argument prototype would still apply. */
14745 /* The GNU C library defines this for functions which it implements
14746 to always fail with ENOSYS. Some functions are actually named
14747 something starting with __ and the normal name is an alias. */
14748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14756 if { (eval echo configure:14757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14758 eval "ac_cv_func_$ac_func=yes"
14760 echo "configure: failed program was:" >&5
14761 cat conftest.$ac_ext >&5
14763 eval "ac_cv_func_$ac_func=no"
14768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14769 echo "$ac_t""yes" 1>&6
14770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14771 cat >> confdefs.h <<EOF
14772 #define $ac_tr_func 1
14776 echo "$ac_t""no" 1>&6
14785 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14786 echo "configure:14787: checking for log10f declaration" >&5
14787 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14788 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14789 echo $ac_n "(cached) $ac_c" 1>&6
14794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14795 ac_cpp='$CXXCPP $CPPFLAGS'
14796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14798 cross_compiling=$ac_cv_prog_cxx_cross
14800 cat > conftest.$ac_ext <<EOF
14801 #line 14802 "configure"
14802 #include "confdefs.h"
14804 #ifdef HAVE_IEEEFP_H
14805 #include <ieeefp.h>
14812 if { (eval echo configure:14813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14814 glibcpp_cv_func_log10f_use=yes
14816 echo "configure: failed program was:" >&5
14817 cat conftest.$ac_ext >&5
14819 glibcpp_cv_func_log10f_use=no
14823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14827 cross_compiling=$ac_cv_prog_cc_cross
14833 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14835 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14836 for ac_func in log10f
14838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14839 echo "configure:14840: checking for $ac_func" >&5
14840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14841 echo $ac_n "(cached) $ac_c" 1>&6
14843 cat > conftest.$ac_ext <<EOF
14844 #line 14845 "configure"
14845 #include "confdefs.h"
14846 /* System header to define __stub macros and hopefully few prototypes,
14847 which can conflict with char $ac_func(); below. */
14848 #include <assert.h>
14849 /* Override any gcc2 internal prototype to avoid an error. */
14850 /* We use char because int might match the return type of a gcc2
14851 builtin and then its argument prototype would still apply. */
14856 /* The GNU C library defines this for functions which it implements
14857 to always fail with ENOSYS. Some functions are actually named
14858 something starting with __ and the normal name is an alias. */
14859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14867 if { (eval echo configure:14868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14869 eval "ac_cv_func_$ac_func=yes"
14871 echo "configure: failed program was:" >&5
14872 cat conftest.$ac_ext >&5
14874 eval "ac_cv_func_$ac_func=no"
14879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14880 echo "$ac_t""yes" 1>&6
14881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14882 cat >> confdefs.h <<EOF
14883 #define $ac_tr_func 1
14887 echo "$ac_t""no" 1>&6
14893 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14894 echo "configure:14895: checking for _log10f declaration" >&5
14895 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14896 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14897 echo $ac_n "(cached) $ac_c" 1>&6
14902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14903 ac_cpp='$CXXCPP $CPPFLAGS'
14904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14906 cross_compiling=$ac_cv_prog_cxx_cross
14908 cat > conftest.$ac_ext <<EOF
14909 #line 14910 "configure"
14910 #include "confdefs.h"
14912 #ifdef HAVE_IEEEFP_H
14913 #include <ieeefp.h>
14920 if { (eval echo configure:14921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14922 glibcpp_cv_func__log10f_use=yes
14924 echo "configure: failed program was:" >&5
14925 cat conftest.$ac_ext >&5
14927 glibcpp_cv_func__log10f_use=no
14931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14932 ac_cpp='$CPP $CPPFLAGS'
14933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14935 cross_compiling=$ac_cv_prog_cc_cross
14941 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14943 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14944 for ac_func in _log10f
14946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14947 echo "configure:14948: checking for $ac_func" >&5
14948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14949 echo $ac_n "(cached) $ac_c" 1>&6
14951 cat > conftest.$ac_ext <<EOF
14952 #line 14953 "configure"
14953 #include "confdefs.h"
14954 /* System header to define __stub macros and hopefully few prototypes,
14955 which can conflict with char $ac_func(); below. */
14956 #include <assert.h>
14957 /* Override any gcc2 internal prototype to avoid an error. */
14958 /* We use char because int might match the return type of a gcc2
14959 builtin and then its argument prototype would still apply. */
14964 /* The GNU C library defines this for functions which it implements
14965 to always fail with ENOSYS. Some functions are actually named
14966 something starting with __ and the normal name is an alias. */
14967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14975 if { (eval echo configure:14976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14977 eval "ac_cv_func_$ac_func=yes"
14979 echo "configure: failed program was:" >&5
14980 cat conftest.$ac_ext >&5
14982 eval "ac_cv_func_$ac_func=no"
14987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14988 echo "$ac_t""yes" 1>&6
14989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14990 cat >> confdefs.h <<EOF
14991 #define $ac_tr_func 1
14995 echo "$ac_t""no" 1>&6
15004 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15005 echo "configure:15006: checking for modff declaration" >&5
15006 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15007 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15008 echo $ac_n "(cached) $ac_c" 1>&6
15013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15014 ac_cpp='$CXXCPP $CPPFLAGS'
15015 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15016 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15017 cross_compiling=$ac_cv_prog_cxx_cross
15019 cat > conftest.$ac_ext <<EOF
15020 #line 15021 "configure"
15021 #include "confdefs.h"
15027 if { (eval echo configure:15028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15029 glibcpp_cv_func_modff_use=yes
15031 echo "configure: failed program was:" >&5
15032 cat conftest.$ac_ext >&5
15034 glibcpp_cv_func_modff_use=no
15038 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15039 ac_cpp='$CPP $CPPFLAGS'
15040 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15041 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15042 cross_compiling=$ac_cv_prog_cc_cross
15048 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15050 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15051 for ac_func in modff
15053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15054 echo "configure:15055: checking for $ac_func" >&5
15055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15056 echo $ac_n "(cached) $ac_c" 1>&6
15058 cat > conftest.$ac_ext <<EOF
15059 #line 15060 "configure"
15060 #include "confdefs.h"
15061 /* System header to define __stub macros and hopefully few prototypes,
15062 which can conflict with char $ac_func(); below. */
15063 #include <assert.h>
15064 /* Override any gcc2 internal prototype to avoid an error. */
15065 /* We use char because int might match the return type of a gcc2
15066 builtin and then its argument prototype would still apply. */
15071 /* The GNU C library defines this for functions which it implements
15072 to always fail with ENOSYS. Some functions are actually named
15073 something starting with __ and the normal name is an alias. */
15074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15082 if { (eval echo configure:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15084 eval "ac_cv_func_$ac_func=yes"
15086 echo "configure: failed program was:" >&5
15087 cat conftest.$ac_ext >&5
15089 eval "ac_cv_func_$ac_func=no"
15094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15095 echo "$ac_t""yes" 1>&6
15096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15097 cat >> confdefs.h <<EOF
15098 #define $ac_tr_func 1
15102 echo "$ac_t""no" 1>&6
15108 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15109 echo "configure:15110: checking for _modff declaration" >&5
15110 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15111 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15112 echo $ac_n "(cached) $ac_c" 1>&6
15117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15121 cross_compiling=$ac_cv_prog_cxx_cross
15123 cat > conftest.$ac_ext <<EOF
15124 #line 15125 "configure"
15125 #include "confdefs.h"
15131 if { (eval echo configure:15132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15133 glibcpp_cv_func__modff_use=yes
15135 echo "configure: failed program was:" >&5
15136 cat conftest.$ac_ext >&5
15138 glibcpp_cv_func__modff_use=no
15142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15143 ac_cpp='$CPP $CPPFLAGS'
15144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15146 cross_compiling=$ac_cv_prog_cc_cross
15152 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15154 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15155 for ac_func in _modff
15157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15158 echo "configure:15159: checking for $ac_func" >&5
15159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15160 echo $ac_n "(cached) $ac_c" 1>&6
15162 cat > conftest.$ac_ext <<EOF
15163 #line 15164 "configure"
15164 #include "confdefs.h"
15165 /* System header to define __stub macros and hopefully few prototypes,
15166 which can conflict with char $ac_func(); below. */
15167 #include <assert.h>
15168 /* Override any gcc2 internal prototype to avoid an error. */
15169 /* We use char because int might match the return type of a gcc2
15170 builtin and then its argument prototype would still apply. */
15175 /* The GNU C library defines this for functions which it implements
15176 to always fail with ENOSYS. Some functions are actually named
15177 something starting with __ and the normal name is an alias. */
15178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15186 if { (eval echo configure:15187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15188 eval "ac_cv_func_$ac_func=yes"
15190 echo "configure: failed program was:" >&5
15191 cat conftest.$ac_ext >&5
15193 eval "ac_cv_func_$ac_func=no"
15198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15199 echo "$ac_t""yes" 1>&6
15200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15201 cat >> confdefs.h <<EOF
15202 #define $ac_tr_func 1
15206 echo "$ac_t""no" 1>&6
15215 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15216 echo "configure:15217: checking for powf declaration" >&5
15217 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15218 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15219 echo $ac_n "(cached) $ac_c" 1>&6
15224 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15225 ac_cpp='$CXXCPP $CPPFLAGS'
15226 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15227 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15228 cross_compiling=$ac_cv_prog_cxx_cross
15230 cat > conftest.$ac_ext <<EOF
15231 #line 15232 "configure"
15232 #include "confdefs.h"
15238 if { (eval echo configure:15239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15240 glibcpp_cv_func_powf_use=yes
15242 echo "configure: failed program was:" >&5
15243 cat conftest.$ac_ext >&5
15245 glibcpp_cv_func_powf_use=no
15249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15250 ac_cpp='$CPP $CPPFLAGS'
15251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15253 cross_compiling=$ac_cv_prog_cc_cross
15259 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15261 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15262 for ac_func in powf
15264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15265 echo "configure:15266: checking for $ac_func" >&5
15266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15267 echo $ac_n "(cached) $ac_c" 1>&6
15269 cat > conftest.$ac_ext <<EOF
15270 #line 15271 "configure"
15271 #include "confdefs.h"
15272 /* System header to define __stub macros and hopefully few prototypes,
15273 which can conflict with char $ac_func(); below. */
15274 #include <assert.h>
15275 /* Override any gcc2 internal prototype to avoid an error. */
15276 /* We use char because int might match the return type of a gcc2
15277 builtin and then its argument prototype would still apply. */
15282 /* The GNU C library defines this for functions which it implements
15283 to always fail with ENOSYS. Some functions are actually named
15284 something starting with __ and the normal name is an alias. */
15285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15293 if { (eval echo configure:15294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15295 eval "ac_cv_func_$ac_func=yes"
15297 echo "configure: failed program was:" >&5
15298 cat conftest.$ac_ext >&5
15300 eval "ac_cv_func_$ac_func=no"
15305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15306 echo "$ac_t""yes" 1>&6
15307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15308 cat >> confdefs.h <<EOF
15309 #define $ac_tr_func 1
15313 echo "$ac_t""no" 1>&6
15319 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15320 echo "configure:15321: checking for _powf declaration" >&5
15321 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15322 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15323 echo $ac_n "(cached) $ac_c" 1>&6
15328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15329 ac_cpp='$CXXCPP $CPPFLAGS'
15330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15332 cross_compiling=$ac_cv_prog_cxx_cross
15334 cat > conftest.$ac_ext <<EOF
15335 #line 15336 "configure"
15336 #include "confdefs.h"
15342 if { (eval echo configure:15343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15344 glibcpp_cv_func__powf_use=yes
15346 echo "configure: failed program was:" >&5
15347 cat conftest.$ac_ext >&5
15349 glibcpp_cv_func__powf_use=no
15353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15354 ac_cpp='$CPP $CPPFLAGS'
15355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15357 cross_compiling=$ac_cv_prog_cc_cross
15363 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15365 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15366 for ac_func in _powf
15368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15369 echo "configure:15370: checking for $ac_func" >&5
15370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15371 echo $ac_n "(cached) $ac_c" 1>&6
15373 cat > conftest.$ac_ext <<EOF
15374 #line 15375 "configure"
15375 #include "confdefs.h"
15376 /* System header to define __stub macros and hopefully few prototypes,
15377 which can conflict with char $ac_func(); below. */
15378 #include <assert.h>
15379 /* Override any gcc2 internal prototype to avoid an error. */
15380 /* We use char because int might match the return type of a gcc2
15381 builtin and then its argument prototype would still apply. */
15386 /* The GNU C library defines this for functions which it implements
15387 to always fail with ENOSYS. Some functions are actually named
15388 something starting with __ and the normal name is an alias. */
15389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15397 if { (eval echo configure:15398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15399 eval "ac_cv_func_$ac_func=yes"
15401 echo "configure: failed program was:" >&5
15402 cat conftest.$ac_ext >&5
15404 eval "ac_cv_func_$ac_func=no"
15409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15410 echo "$ac_t""yes" 1>&6
15411 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15412 cat >> confdefs.h <<EOF
15413 #define $ac_tr_func 1
15417 echo "$ac_t""no" 1>&6
15426 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15427 echo "configure:15428: checking for sqrtf declaration" >&5
15428 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15429 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15430 echo $ac_n "(cached) $ac_c" 1>&6
15435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15436 ac_cpp='$CXXCPP $CPPFLAGS'
15437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15439 cross_compiling=$ac_cv_prog_cxx_cross
15441 cat > conftest.$ac_ext <<EOF
15442 #line 15443 "configure"
15443 #include "confdefs.h"
15445 #ifdef HAVE_IEEEFP_H
15446 #include <ieeefp.h>
15453 if { (eval echo configure:15454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15455 glibcpp_cv_func_sqrtf_use=yes
15457 echo "configure: failed program was:" >&5
15458 cat conftest.$ac_ext >&5
15460 glibcpp_cv_func_sqrtf_use=no
15464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15465 ac_cpp='$CPP $CPPFLAGS'
15466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15468 cross_compiling=$ac_cv_prog_cc_cross
15474 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15476 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15477 for ac_func in sqrtf
15479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15480 echo "configure:15481: checking for $ac_func" >&5
15481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15482 echo $ac_n "(cached) $ac_c" 1>&6
15484 cat > conftest.$ac_ext <<EOF
15485 #line 15486 "configure"
15486 #include "confdefs.h"
15487 /* System header to define __stub macros and hopefully few prototypes,
15488 which can conflict with char $ac_func(); below. */
15489 #include <assert.h>
15490 /* Override any gcc2 internal prototype to avoid an error. */
15491 /* We use char because int might match the return type of a gcc2
15492 builtin and then its argument prototype would still apply. */
15497 /* The GNU C library defines this for functions which it implements
15498 to always fail with ENOSYS. Some functions are actually named
15499 something starting with __ and the normal name is an alias. */
15500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15508 if { (eval echo configure:15509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15510 eval "ac_cv_func_$ac_func=yes"
15512 echo "configure: failed program was:" >&5
15513 cat conftest.$ac_ext >&5
15515 eval "ac_cv_func_$ac_func=no"
15520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15521 echo "$ac_t""yes" 1>&6
15522 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15523 cat >> confdefs.h <<EOF
15524 #define $ac_tr_func 1
15528 echo "$ac_t""no" 1>&6
15534 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15535 echo "configure:15536: checking for _sqrtf declaration" >&5
15536 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15537 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15538 echo $ac_n "(cached) $ac_c" 1>&6
15543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15544 ac_cpp='$CXXCPP $CPPFLAGS'
15545 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15546 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15547 cross_compiling=$ac_cv_prog_cxx_cross
15549 cat > conftest.$ac_ext <<EOF
15550 #line 15551 "configure"
15551 #include "confdefs.h"
15553 #ifdef HAVE_IEEEFP_H
15554 #include <ieeefp.h>
15561 if { (eval echo configure:15562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15563 glibcpp_cv_func__sqrtf_use=yes
15565 echo "configure: failed program was:" >&5
15566 cat conftest.$ac_ext >&5
15568 glibcpp_cv_func__sqrtf_use=no
15572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15573 ac_cpp='$CPP $CPPFLAGS'
15574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15576 cross_compiling=$ac_cv_prog_cc_cross
15582 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15584 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15585 for ac_func in _sqrtf
15587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15588 echo "configure:15589: checking for $ac_func" >&5
15589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15590 echo $ac_n "(cached) $ac_c" 1>&6
15592 cat > conftest.$ac_ext <<EOF
15593 #line 15594 "configure"
15594 #include "confdefs.h"
15595 /* System header to define __stub macros and hopefully few prototypes,
15596 which can conflict with char $ac_func(); below. */
15597 #include <assert.h>
15598 /* Override any gcc2 internal prototype to avoid an error. */
15599 /* We use char because int might match the return type of a gcc2
15600 builtin and then its argument prototype would still apply. */
15605 /* The GNU C library defines this for functions which it implements
15606 to always fail with ENOSYS. Some functions are actually named
15607 something starting with __ and the normal name is an alias. */
15608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15616 if { (eval echo configure:15617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15618 eval "ac_cv_func_$ac_func=yes"
15620 echo "configure: failed program was:" >&5
15621 cat conftest.$ac_ext >&5
15623 eval "ac_cv_func_$ac_func=no"
15628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15629 echo "$ac_t""yes" 1>&6
15630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15631 cat >> confdefs.h <<EOF
15632 #define $ac_tr_func 1
15636 echo "$ac_t""no" 1>&6
15645 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15646 echo "configure:15647: checking for sincosf declaration" >&5
15647 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15648 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15649 echo $ac_n "(cached) $ac_c" 1>&6
15654 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15655 ac_cpp='$CXXCPP $CPPFLAGS'
15656 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15657 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15658 cross_compiling=$ac_cv_prog_cxx_cross
15660 cat > conftest.$ac_ext <<EOF
15661 #line 15662 "configure"
15662 #include "confdefs.h"
15668 if { (eval echo configure:15669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15670 glibcpp_cv_func_sincosf_use=yes
15672 echo "configure: failed program was:" >&5
15673 cat conftest.$ac_ext >&5
15675 glibcpp_cv_func_sincosf_use=no
15679 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15680 ac_cpp='$CPP $CPPFLAGS'
15681 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15682 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15683 cross_compiling=$ac_cv_prog_cc_cross
15689 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15691 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15692 for ac_func in sincosf
15694 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15695 echo "configure:15696: checking for $ac_func" >&5
15696 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15699 cat > conftest.$ac_ext <<EOF
15700 #line 15701 "configure"
15701 #include "confdefs.h"
15702 /* System header to define __stub macros and hopefully few prototypes,
15703 which can conflict with char $ac_func(); below. */
15704 #include <assert.h>
15705 /* Override any gcc2 internal prototype to avoid an error. */
15706 /* We use char because int might match the return type of a gcc2
15707 builtin and then its argument prototype would still apply. */
15712 /* The GNU C library defines this for functions which it implements
15713 to always fail with ENOSYS. Some functions are actually named
15714 something starting with __ and the normal name is an alias. */
15715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15723 if { (eval echo configure:15724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15725 eval "ac_cv_func_$ac_func=yes"
15727 echo "configure: failed program was:" >&5
15728 cat conftest.$ac_ext >&5
15730 eval "ac_cv_func_$ac_func=no"
15735 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15736 echo "$ac_t""yes" 1>&6
15737 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15738 cat >> confdefs.h <<EOF
15739 #define $ac_tr_func 1
15743 echo "$ac_t""no" 1>&6
15749 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15750 echo "configure:15751: checking for _sincosf declaration" >&5
15751 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15752 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15753 echo $ac_n "(cached) $ac_c" 1>&6
15758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15759 ac_cpp='$CXXCPP $CPPFLAGS'
15760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15762 cross_compiling=$ac_cv_prog_cxx_cross
15764 cat > conftest.$ac_ext <<EOF
15765 #line 15766 "configure"
15766 #include "confdefs.h"
15772 if { (eval echo configure:15773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15774 glibcpp_cv_func__sincosf_use=yes
15776 echo "configure: failed program was:" >&5
15777 cat conftest.$ac_ext >&5
15779 glibcpp_cv_func__sincosf_use=no
15783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15787 cross_compiling=$ac_cv_prog_cc_cross
15793 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15795 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15796 for ac_func in _sincosf
15798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15799 echo "configure:15800: checking for $ac_func" >&5
15800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15801 echo $ac_n "(cached) $ac_c" 1>&6
15803 cat > conftest.$ac_ext <<EOF
15804 #line 15805 "configure"
15805 #include "confdefs.h"
15806 /* System header to define __stub macros and hopefully few prototypes,
15807 which can conflict with char $ac_func(); below. */
15808 #include <assert.h>
15809 /* Override any gcc2 internal prototype to avoid an error. */
15810 /* We use char because int might match the return type of a gcc2
15811 builtin and then its argument prototype would still apply. */
15816 /* The GNU C library defines this for functions which it implements
15817 to always fail with ENOSYS. Some functions are actually named
15818 something starting with __ and the normal name is an alias. */
15819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15827 if { (eval echo configure:15828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15829 eval "ac_cv_func_$ac_func=yes"
15831 echo "configure: failed program was:" >&5
15832 cat conftest.$ac_ext >&5
15834 eval "ac_cv_func_$ac_func=no"
15839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15840 echo "$ac_t""yes" 1>&6
15841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15842 cat >> confdefs.h <<EOF
15843 #define $ac_tr_func 1
15847 echo "$ac_t""no" 1>&6
15856 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15857 echo "configure:15858: checking for finitef declaration" >&5
15858 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15859 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15860 echo $ac_n "(cached) $ac_c" 1>&6
15865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15866 ac_cpp='$CXXCPP $CPPFLAGS'
15867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15869 cross_compiling=$ac_cv_prog_cxx_cross
15871 cat > conftest.$ac_ext <<EOF
15872 #line 15873 "configure"
15873 #include "confdefs.h"
15875 #ifdef HAVE_IEEEFP_H
15876 #include <ieeefp.h>
15883 if { (eval echo configure:15884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15885 glibcpp_cv_func_finitef_use=yes
15887 echo "configure: failed program was:" >&5
15888 cat conftest.$ac_ext >&5
15890 glibcpp_cv_func_finitef_use=no
15894 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15895 ac_cpp='$CPP $CPPFLAGS'
15896 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15897 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15898 cross_compiling=$ac_cv_prog_cc_cross
15904 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15906 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15907 for ac_func in finitef
15909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15910 echo "configure:15911: checking for $ac_func" >&5
15911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15912 echo $ac_n "(cached) $ac_c" 1>&6
15914 cat > conftest.$ac_ext <<EOF
15915 #line 15916 "configure"
15916 #include "confdefs.h"
15917 /* System header to define __stub macros and hopefully few prototypes,
15918 which can conflict with char $ac_func(); below. */
15919 #include <assert.h>
15920 /* Override any gcc2 internal prototype to avoid an error. */
15921 /* We use char because int might match the return type of a gcc2
15922 builtin and then its argument prototype would still apply. */
15927 /* The GNU C library defines this for functions which it implements
15928 to always fail with ENOSYS. Some functions are actually named
15929 something starting with __ and the normal name is an alias. */
15930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15938 if { (eval echo configure:15939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15940 eval "ac_cv_func_$ac_func=yes"
15942 echo "configure: failed program was:" >&5
15943 cat conftest.$ac_ext >&5
15945 eval "ac_cv_func_$ac_func=no"
15950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15951 echo "$ac_t""yes" 1>&6
15952 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15953 cat >> confdefs.h <<EOF
15954 #define $ac_tr_func 1
15958 echo "$ac_t""no" 1>&6
15964 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15965 echo "configure:15966: checking for _finitef declaration" >&5
15966 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15967 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15968 echo $ac_n "(cached) $ac_c" 1>&6
15973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15974 ac_cpp='$CXXCPP $CPPFLAGS'
15975 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15976 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15977 cross_compiling=$ac_cv_prog_cxx_cross
15979 cat > conftest.$ac_ext <<EOF
15980 #line 15981 "configure"
15981 #include "confdefs.h"
15983 #ifdef HAVE_IEEEFP_H
15984 #include <ieeefp.h>
15991 if { (eval echo configure:15992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15993 glibcpp_cv_func__finitef_use=yes
15995 echo "configure: failed program was:" >&5
15996 cat conftest.$ac_ext >&5
15998 glibcpp_cv_func__finitef_use=no
16002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16003 ac_cpp='$CPP $CPPFLAGS'
16004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16006 cross_compiling=$ac_cv_prog_cc_cross
16012 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16014 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16015 for ac_func in _finitef
16017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16018 echo "configure:16019: checking for $ac_func" >&5
16019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16020 echo $ac_n "(cached) $ac_c" 1>&6
16022 cat > conftest.$ac_ext <<EOF
16023 #line 16024 "configure"
16024 #include "confdefs.h"
16025 /* System header to define __stub macros and hopefully few prototypes,
16026 which can conflict with char $ac_func(); below. */
16027 #include <assert.h>
16028 /* Override any gcc2 internal prototype to avoid an error. */
16029 /* We use char because int might match the return type of a gcc2
16030 builtin and then its argument prototype would still apply. */
16035 /* The GNU C library defines this for functions which it implements
16036 to always fail with ENOSYS. Some functions are actually named
16037 something starting with __ and the normal name is an alias. */
16038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16046 if { (eval echo configure:16047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16048 eval "ac_cv_func_$ac_func=yes"
16050 echo "configure: failed program was:" >&5
16051 cat conftest.$ac_ext >&5
16053 eval "ac_cv_func_$ac_func=no"
16058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16059 echo "$ac_t""yes" 1>&6
16060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16061 cat >> confdefs.h <<EOF
16062 #define $ac_tr_func 1
16066 echo "$ac_t""no" 1>&6
16075 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16076 echo "configure:16077: checking for long double trig functions" >&5
16077 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16078 echo $ac_n "(cached) $ac_c" 1>&6
16083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16084 ac_cpp='$CXXCPP $CPPFLAGS'
16085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16087 cross_compiling=$ac_cv_prog_cxx_cross
16089 cat > conftest.$ac_ext <<EOF
16090 #line 16091 "configure"
16091 #include "confdefs.h"
16094 `for x in acosl asinl atanl \
16096 coshl sinhl tanhl; do echo "$x (0);"; done`
16099 if { (eval echo configure:16100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16101 glibcpp_cv_func_long_double_trig_use=yes
16103 echo "configure: failed program was:" >&5
16104 cat conftest.$ac_ext >&5
16106 glibcpp_cv_func_long_double_trig_use=no
16110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16111 ac_cpp='$CPP $CPPFLAGS'
16112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16114 cross_compiling=$ac_cv_prog_cc_cross
16118 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16119 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16120 for ac_func in acosl asinl atanl \
16124 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16125 echo "configure:16126: checking for $ac_func" >&5
16126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16127 echo $ac_n "(cached) $ac_c" 1>&6
16129 cat > conftest.$ac_ext <<EOF
16130 #line 16131 "configure"
16131 #include "confdefs.h"
16132 /* System header to define __stub macros and hopefully few prototypes,
16133 which can conflict with char $ac_func(); below. */
16134 #include <assert.h>
16135 /* Override any gcc2 internal prototype to avoid an error. */
16136 /* We use char because int might match the return type of a gcc2
16137 builtin and then its argument prototype would still apply. */
16142 /* The GNU C library defines this for functions which it implements
16143 to always fail with ENOSYS. Some functions are actually named
16144 something starting with __ and the normal name is an alias. */
16145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16153 if { (eval echo configure:16154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16155 eval "ac_cv_func_$ac_func=yes"
16157 echo "configure: failed program was:" >&5
16158 cat conftest.$ac_ext >&5
16160 eval "ac_cv_func_$ac_func=no"
16165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16166 echo "$ac_t""yes" 1>&6
16167 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16168 cat >> confdefs.h <<EOF
16169 #define $ac_tr_func 1
16173 echo "$ac_t""no" 1>&6
16180 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16181 echo "configure:16182: checking for long double round functions" >&5
16182 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16183 echo $ac_n "(cached) $ac_c" 1>&6
16188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16189 ac_cpp='$CXXCPP $CPPFLAGS'
16190 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16191 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16192 cross_compiling=$ac_cv_prog_cxx_cross
16194 cat > conftest.$ac_ext <<EOF
16195 #line 16196 "configure"
16196 #include "confdefs.h"
16199 `for x in ceill floorl; do echo "$x (0);"; done`
16202 if { (eval echo configure:16203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16204 glibcpp_cv_func_long_double_round_use=yes
16206 echo "configure: failed program was:" >&5
16207 cat conftest.$ac_ext >&5
16209 glibcpp_cv_func_long_double_round_use=no
16213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16214 ac_cpp='$CPP $CPPFLAGS'
16215 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16216 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16217 cross_compiling=$ac_cv_prog_cc_cross
16221 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16222 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16223 for ac_func in ceill floorl
16225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16226 echo "configure:16227: checking for $ac_func" >&5
16227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16228 echo $ac_n "(cached) $ac_c" 1>&6
16230 cat > conftest.$ac_ext <<EOF
16231 #line 16232 "configure"
16232 #include "confdefs.h"
16233 /* System header to define __stub macros and hopefully few prototypes,
16234 which can conflict with char $ac_func(); below. */
16235 #include <assert.h>
16236 /* Override any gcc2 internal prototype to avoid an error. */
16237 /* We use char because int might match the return type of a gcc2
16238 builtin and then its argument prototype would still apply. */
16243 /* The GNU C library defines this for functions which it implements
16244 to always fail with ENOSYS. Some functions are actually named
16245 something starting with __ and the normal name is an alias. */
16246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16254 if { (eval echo configure:16255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16256 eval "ac_cv_func_$ac_func=yes"
16258 echo "configure: failed program was:" >&5
16259 cat conftest.$ac_ext >&5
16261 eval "ac_cv_func_$ac_func=no"
16266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16267 echo "$ac_t""yes" 1>&6
16268 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16269 cat >> confdefs.h <<EOF
16270 #define $ac_tr_func 1
16274 echo "$ac_t""no" 1>&6
16282 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16283 echo "configure:16284: checking for isnanl declaration" >&5
16284 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16285 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16286 echo $ac_n "(cached) $ac_c" 1>&6
16291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16292 ac_cpp='$CXXCPP $CPPFLAGS'
16293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16295 cross_compiling=$ac_cv_prog_cxx_cross
16297 cat > conftest.$ac_ext <<EOF
16298 #line 16299 "configure"
16299 #include "confdefs.h"
16301 #ifdef HAVE_IEEEFP_H
16302 #include <ieeefp.h>
16309 if { (eval echo configure:16310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16311 glibcpp_cv_func_isnanl_use=yes
16313 echo "configure: failed program was:" >&5
16314 cat conftest.$ac_ext >&5
16316 glibcpp_cv_func_isnanl_use=no
16320 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16321 ac_cpp='$CPP $CPPFLAGS'
16322 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16323 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16324 cross_compiling=$ac_cv_prog_cc_cross
16330 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16332 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16333 for ac_func in isnanl
16335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16336 echo "configure:16337: checking for $ac_func" >&5
16337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16338 echo $ac_n "(cached) $ac_c" 1>&6
16340 cat > conftest.$ac_ext <<EOF
16341 #line 16342 "configure"
16342 #include "confdefs.h"
16343 /* System header to define __stub macros and hopefully few prototypes,
16344 which can conflict with char $ac_func(); below. */
16345 #include <assert.h>
16346 /* Override any gcc2 internal prototype to avoid an error. */
16347 /* We use char because int might match the return type of a gcc2
16348 builtin and then its argument prototype would still apply. */
16353 /* The GNU C library defines this for functions which it implements
16354 to always fail with ENOSYS. Some functions are actually named
16355 something starting with __ and the normal name is an alias. */
16356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16364 if { (eval echo configure:16365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16366 eval "ac_cv_func_$ac_func=yes"
16368 echo "configure: failed program was:" >&5
16369 cat conftest.$ac_ext >&5
16371 eval "ac_cv_func_$ac_func=no"
16376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16377 echo "$ac_t""yes" 1>&6
16378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16379 cat >> confdefs.h <<EOF
16380 #define $ac_tr_func 1
16384 echo "$ac_t""no" 1>&6
16390 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16391 echo "configure:16392: checking for _isnanl declaration" >&5
16392 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16393 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16394 echo $ac_n "(cached) $ac_c" 1>&6
16399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16400 ac_cpp='$CXXCPP $CPPFLAGS'
16401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16403 cross_compiling=$ac_cv_prog_cxx_cross
16405 cat > conftest.$ac_ext <<EOF
16406 #line 16407 "configure"
16407 #include "confdefs.h"
16409 #ifdef HAVE_IEEEFP_H
16410 #include <ieeefp.h>
16417 if { (eval echo configure:16418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16419 glibcpp_cv_func__isnanl_use=yes
16421 echo "configure: failed program was:" >&5
16422 cat conftest.$ac_ext >&5
16424 glibcpp_cv_func__isnanl_use=no
16428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16429 ac_cpp='$CPP $CPPFLAGS'
16430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16432 cross_compiling=$ac_cv_prog_cc_cross
16438 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16440 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16441 for ac_func in _isnanl
16443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16444 echo "configure:16445: checking for $ac_func" >&5
16445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16446 echo $ac_n "(cached) $ac_c" 1>&6
16448 cat > conftest.$ac_ext <<EOF
16449 #line 16450 "configure"
16450 #include "confdefs.h"
16451 /* System header to define __stub macros and hopefully few prototypes,
16452 which can conflict with char $ac_func(); below. */
16453 #include <assert.h>
16454 /* Override any gcc2 internal prototype to avoid an error. */
16455 /* We use char because int might match the return type of a gcc2
16456 builtin and then its argument prototype would still apply. */
16461 /* The GNU C library defines this for functions which it implements
16462 to always fail with ENOSYS. Some functions are actually named
16463 something starting with __ and the normal name is an alias. */
16464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16472 if { (eval echo configure:16473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16474 eval "ac_cv_func_$ac_func=yes"
16476 echo "configure: failed program was:" >&5
16477 cat conftest.$ac_ext >&5
16479 eval "ac_cv_func_$ac_func=no"
16484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16485 echo "$ac_t""yes" 1>&6
16486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16487 cat >> confdefs.h <<EOF
16488 #define $ac_tr_func 1
16492 echo "$ac_t""no" 1>&6
16501 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16502 echo "configure:16503: checking for isinfl declaration" >&5
16503 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16504 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16505 echo $ac_n "(cached) $ac_c" 1>&6
16510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16511 ac_cpp='$CXXCPP $CPPFLAGS'
16512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16514 cross_compiling=$ac_cv_prog_cxx_cross
16516 cat > conftest.$ac_ext <<EOF
16517 #line 16518 "configure"
16518 #include "confdefs.h"
16520 #ifdef HAVE_IEEEFP_H
16521 #include <ieeefp.h>
16528 if { (eval echo configure:16529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16530 glibcpp_cv_func_isinfl_use=yes
16532 echo "configure: failed program was:" >&5
16533 cat conftest.$ac_ext >&5
16535 glibcpp_cv_func_isinfl_use=no
16539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16540 ac_cpp='$CPP $CPPFLAGS'
16541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16543 cross_compiling=$ac_cv_prog_cc_cross
16549 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16551 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16552 for ac_func in isinfl
16554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16555 echo "configure:16556: checking for $ac_func" >&5
16556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16557 echo $ac_n "(cached) $ac_c" 1>&6
16559 cat > conftest.$ac_ext <<EOF
16560 #line 16561 "configure"
16561 #include "confdefs.h"
16562 /* System header to define __stub macros and hopefully few prototypes,
16563 which can conflict with char $ac_func(); below. */
16564 #include <assert.h>
16565 /* Override any gcc2 internal prototype to avoid an error. */
16566 /* We use char because int might match the return type of a gcc2
16567 builtin and then its argument prototype would still apply. */
16572 /* The GNU C library defines this for functions which it implements
16573 to always fail with ENOSYS. Some functions are actually named
16574 something starting with __ and the normal name is an alias. */
16575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16583 if { (eval echo configure:16584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16585 eval "ac_cv_func_$ac_func=yes"
16587 echo "configure: failed program was:" >&5
16588 cat conftest.$ac_ext >&5
16590 eval "ac_cv_func_$ac_func=no"
16595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16596 echo "$ac_t""yes" 1>&6
16597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16598 cat >> confdefs.h <<EOF
16599 #define $ac_tr_func 1
16603 echo "$ac_t""no" 1>&6
16609 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16610 echo "configure:16611: checking for _isinfl declaration" >&5
16611 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16612 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16613 echo $ac_n "(cached) $ac_c" 1>&6
16618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16619 ac_cpp='$CXXCPP $CPPFLAGS'
16620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16622 cross_compiling=$ac_cv_prog_cxx_cross
16624 cat > conftest.$ac_ext <<EOF
16625 #line 16626 "configure"
16626 #include "confdefs.h"
16628 #ifdef HAVE_IEEEFP_H
16629 #include <ieeefp.h>
16636 if { (eval echo configure:16637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16638 glibcpp_cv_func__isinfl_use=yes
16640 echo "configure: failed program was:" >&5
16641 cat conftest.$ac_ext >&5
16643 glibcpp_cv_func__isinfl_use=no
16647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16650 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16651 cross_compiling=$ac_cv_prog_cc_cross
16657 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16659 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16660 for ac_func in _isinfl
16662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16663 echo "configure:16664: checking for $ac_func" >&5
16664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16665 echo $ac_n "(cached) $ac_c" 1>&6
16667 cat > conftest.$ac_ext <<EOF
16668 #line 16669 "configure"
16669 #include "confdefs.h"
16670 /* System header to define __stub macros and hopefully few prototypes,
16671 which can conflict with char $ac_func(); below. */
16672 #include <assert.h>
16673 /* Override any gcc2 internal prototype to avoid an error. */
16674 /* We use char because int might match the return type of a gcc2
16675 builtin and then its argument prototype would still apply. */
16680 /* The GNU C library defines this for functions which it implements
16681 to always fail with ENOSYS. Some functions are actually named
16682 something starting with __ and the normal name is an alias. */
16683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16691 if { (eval echo configure:16692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16693 eval "ac_cv_func_$ac_func=yes"
16695 echo "configure: failed program was:" >&5
16696 cat conftest.$ac_ext >&5
16698 eval "ac_cv_func_$ac_func=no"
16703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16704 echo "$ac_t""yes" 1>&6
16705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16706 cat >> confdefs.h <<EOF
16707 #define $ac_tr_func 1
16711 echo "$ac_t""no" 1>&6
16720 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16721 echo "configure:16722: checking for copysignl declaration" >&5
16722 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16723 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16724 echo $ac_n "(cached) $ac_c" 1>&6
16729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16730 ac_cpp='$CXXCPP $CPPFLAGS'
16731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16733 cross_compiling=$ac_cv_prog_cxx_cross
16735 cat > conftest.$ac_ext <<EOF
16736 #line 16737 "configure"
16737 #include "confdefs.h"
16743 if { (eval echo configure:16744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16745 glibcpp_cv_func_copysignl_use=yes
16747 echo "configure: failed program was:" >&5
16748 cat conftest.$ac_ext >&5
16750 glibcpp_cv_func_copysignl_use=no
16754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16755 ac_cpp='$CPP $CPPFLAGS'
16756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16758 cross_compiling=$ac_cv_prog_cc_cross
16764 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16766 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16767 for ac_func in copysignl
16769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16770 echo "configure:16771: checking for $ac_func" >&5
16771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16772 echo $ac_n "(cached) $ac_c" 1>&6
16774 cat > conftest.$ac_ext <<EOF
16775 #line 16776 "configure"
16776 #include "confdefs.h"
16777 /* System header to define __stub macros and hopefully few prototypes,
16778 which can conflict with char $ac_func(); below. */
16779 #include <assert.h>
16780 /* Override any gcc2 internal prototype to avoid an error. */
16781 /* We use char because int might match the return type of a gcc2
16782 builtin and then its argument prototype would still apply. */
16787 /* The GNU C library defines this for functions which it implements
16788 to always fail with ENOSYS. Some functions are actually named
16789 something starting with __ and the normal name is an alias. */
16790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16798 if { (eval echo configure:16799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16800 eval "ac_cv_func_$ac_func=yes"
16802 echo "configure: failed program was:" >&5
16803 cat conftest.$ac_ext >&5
16805 eval "ac_cv_func_$ac_func=no"
16810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16811 echo "$ac_t""yes" 1>&6
16812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16813 cat >> confdefs.h <<EOF
16814 #define $ac_tr_func 1
16818 echo "$ac_t""no" 1>&6
16824 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16825 echo "configure:16826: checking for _copysignl declaration" >&5
16826 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16827 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16828 echo $ac_n "(cached) $ac_c" 1>&6
16833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16834 ac_cpp='$CXXCPP $CPPFLAGS'
16835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16837 cross_compiling=$ac_cv_prog_cxx_cross
16839 cat > conftest.$ac_ext <<EOF
16840 #line 16841 "configure"
16841 #include "confdefs.h"
16847 if { (eval echo configure:16848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16849 glibcpp_cv_func__copysignl_use=yes
16851 echo "configure: failed program was:" >&5
16852 cat conftest.$ac_ext >&5
16854 glibcpp_cv_func__copysignl_use=no
16858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16859 ac_cpp='$CPP $CPPFLAGS'
16860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16862 cross_compiling=$ac_cv_prog_cc_cross
16868 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16870 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16871 for ac_func in _copysignl
16873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16874 echo "configure:16875: checking for $ac_func" >&5
16875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16878 cat > conftest.$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16881 /* System header to define __stub macros and hopefully few prototypes,
16882 which can conflict with char $ac_func(); below. */
16883 #include <assert.h>
16884 /* Override any gcc2 internal prototype to avoid an error. */
16885 /* We use char because int might match the return type of a gcc2
16886 builtin and then its argument prototype would still apply. */
16891 /* The GNU C library defines this for functions which it implements
16892 to always fail with ENOSYS. Some functions are actually named
16893 something starting with __ and the normal name is an alias. */
16894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16902 if { (eval echo configure:16903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16904 eval "ac_cv_func_$ac_func=yes"
16906 echo "configure: failed program was:" >&5
16907 cat conftest.$ac_ext >&5
16909 eval "ac_cv_func_$ac_func=no"
16914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16915 echo "$ac_t""yes" 1>&6
16916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16917 cat >> confdefs.h <<EOF
16918 #define $ac_tr_func 1
16922 echo "$ac_t""no" 1>&6
16931 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16932 echo "configure:16933: checking for atan2l declaration" >&5
16933 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16934 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16935 echo $ac_n "(cached) $ac_c" 1>&6
16940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16941 ac_cpp='$CXXCPP $CPPFLAGS'
16942 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16943 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16944 cross_compiling=$ac_cv_prog_cxx_cross
16946 cat > conftest.$ac_ext <<EOF
16947 #line 16948 "configure"
16948 #include "confdefs.h"
16954 if { (eval echo configure:16955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16956 glibcpp_cv_func_atan2l_use=yes
16958 echo "configure: failed program was:" >&5
16959 cat conftest.$ac_ext >&5
16961 glibcpp_cv_func_atan2l_use=no
16965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16966 ac_cpp='$CPP $CPPFLAGS'
16967 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16968 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16969 cross_compiling=$ac_cv_prog_cc_cross
16975 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16977 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16978 for ac_func in atan2l
16980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16981 echo "configure:16982: checking for $ac_func" >&5
16982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16983 echo $ac_n "(cached) $ac_c" 1>&6
16985 cat > conftest.$ac_ext <<EOF
16986 #line 16987 "configure"
16987 #include "confdefs.h"
16988 /* System header to define __stub macros and hopefully few prototypes,
16989 which can conflict with char $ac_func(); below. */
16990 #include <assert.h>
16991 /* Override any gcc2 internal prototype to avoid an error. */
16992 /* We use char because int might match the return type of a gcc2
16993 builtin and then its argument prototype would still apply. */
16998 /* The GNU C library defines this for functions which it implements
16999 to always fail with ENOSYS. Some functions are actually named
17000 something starting with __ and the normal name is an alias. */
17001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17009 if { (eval echo configure:17010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17011 eval "ac_cv_func_$ac_func=yes"
17013 echo "configure: failed program was:" >&5
17014 cat conftest.$ac_ext >&5
17016 eval "ac_cv_func_$ac_func=no"
17021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17022 echo "$ac_t""yes" 1>&6
17023 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17024 cat >> confdefs.h <<EOF
17025 #define $ac_tr_func 1
17029 echo "$ac_t""no" 1>&6
17035 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17036 echo "configure:17037: checking for _atan2l declaration" >&5
17037 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17038 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17039 echo $ac_n "(cached) $ac_c" 1>&6
17044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17045 ac_cpp='$CXXCPP $CPPFLAGS'
17046 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17047 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17048 cross_compiling=$ac_cv_prog_cxx_cross
17050 cat > conftest.$ac_ext <<EOF
17051 #line 17052 "configure"
17052 #include "confdefs.h"
17058 if { (eval echo configure:17059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17060 glibcpp_cv_func__atan2l_use=yes
17062 echo "configure: failed program was:" >&5
17063 cat conftest.$ac_ext >&5
17065 glibcpp_cv_func__atan2l_use=no
17069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17070 ac_cpp='$CPP $CPPFLAGS'
17071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17073 cross_compiling=$ac_cv_prog_cc_cross
17079 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17081 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17082 for ac_func in _atan2l
17084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17085 echo "configure:17086: checking for $ac_func" >&5
17086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17087 echo $ac_n "(cached) $ac_c" 1>&6
17089 cat > conftest.$ac_ext <<EOF
17090 #line 17091 "configure"
17091 #include "confdefs.h"
17092 /* System header to define __stub macros and hopefully few prototypes,
17093 which can conflict with char $ac_func(); below. */
17094 #include <assert.h>
17095 /* Override any gcc2 internal prototype to avoid an error. */
17096 /* We use char because int might match the return type of a gcc2
17097 builtin and then its argument prototype would still apply. */
17102 /* The GNU C library defines this for functions which it implements
17103 to always fail with ENOSYS. Some functions are actually named
17104 something starting with __ and the normal name is an alias. */
17105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17113 if { (eval echo configure:17114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17115 eval "ac_cv_func_$ac_func=yes"
17117 echo "configure: failed program was:" >&5
17118 cat conftest.$ac_ext >&5
17120 eval "ac_cv_func_$ac_func=no"
17125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17126 echo "$ac_t""yes" 1>&6
17127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17128 cat >> confdefs.h <<EOF
17129 #define $ac_tr_func 1
17133 echo "$ac_t""no" 1>&6
17142 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17143 echo "configure:17144: checking for expl declaration" >&5
17144 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17145 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17146 echo $ac_n "(cached) $ac_c" 1>&6
17151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17152 ac_cpp='$CXXCPP $CPPFLAGS'
17153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17155 cross_compiling=$ac_cv_prog_cxx_cross
17157 cat > conftest.$ac_ext <<EOF
17158 #line 17159 "configure"
17159 #include "confdefs.h"
17161 #ifdef HAVE_IEEEFP_H
17162 #include <ieeefp.h>
17169 if { (eval echo configure:17170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17171 glibcpp_cv_func_expl_use=yes
17173 echo "configure: failed program was:" >&5
17174 cat conftest.$ac_ext >&5
17176 glibcpp_cv_func_expl_use=no
17180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17184 cross_compiling=$ac_cv_prog_cc_cross
17190 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17192 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17193 for ac_func in expl
17195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17196 echo "configure:17197: checking for $ac_func" >&5
17197 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17198 echo $ac_n "(cached) $ac_c" 1>&6
17200 cat > conftest.$ac_ext <<EOF
17201 #line 17202 "configure"
17202 #include "confdefs.h"
17203 /* System header to define __stub macros and hopefully few prototypes,
17204 which can conflict with char $ac_func(); below. */
17205 #include <assert.h>
17206 /* Override any gcc2 internal prototype to avoid an error. */
17207 /* We use char because int might match the return type of a gcc2
17208 builtin and then its argument prototype would still apply. */
17213 /* The GNU C library defines this for functions which it implements
17214 to always fail with ENOSYS. Some functions are actually named
17215 something starting with __ and the normal name is an alias. */
17216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17224 if { (eval echo configure:17225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17226 eval "ac_cv_func_$ac_func=yes"
17228 echo "configure: failed program was:" >&5
17229 cat conftest.$ac_ext >&5
17231 eval "ac_cv_func_$ac_func=no"
17236 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17237 echo "$ac_t""yes" 1>&6
17238 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17239 cat >> confdefs.h <<EOF
17240 #define $ac_tr_func 1
17244 echo "$ac_t""no" 1>&6
17250 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17251 echo "configure:17252: checking for _expl declaration" >&5
17252 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17253 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17254 echo $ac_n "(cached) $ac_c" 1>&6
17259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17260 ac_cpp='$CXXCPP $CPPFLAGS'
17261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17263 cross_compiling=$ac_cv_prog_cxx_cross
17265 cat > conftest.$ac_ext <<EOF
17266 #line 17267 "configure"
17267 #include "confdefs.h"
17269 #ifdef HAVE_IEEEFP_H
17270 #include <ieeefp.h>
17277 if { (eval echo configure:17278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17279 glibcpp_cv_func__expl_use=yes
17281 echo "configure: failed program was:" >&5
17282 cat conftest.$ac_ext >&5
17284 glibcpp_cv_func__expl_use=no
17288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17289 ac_cpp='$CPP $CPPFLAGS'
17290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17292 cross_compiling=$ac_cv_prog_cc_cross
17298 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17300 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17301 for ac_func in _expl
17303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17304 echo "configure:17305: checking for $ac_func" >&5
17305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17306 echo $ac_n "(cached) $ac_c" 1>&6
17308 cat > conftest.$ac_ext <<EOF
17309 #line 17310 "configure"
17310 #include "confdefs.h"
17311 /* System header to define __stub macros and hopefully few prototypes,
17312 which can conflict with char $ac_func(); below. */
17313 #include <assert.h>
17314 /* Override any gcc2 internal prototype to avoid an error. */
17315 /* We use char because int might match the return type of a gcc2
17316 builtin and then its argument prototype would still apply. */
17321 /* The GNU C library defines this for functions which it implements
17322 to always fail with ENOSYS. Some functions are actually named
17323 something starting with __ and the normal name is an alias. */
17324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17332 if { (eval echo configure:17333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17334 eval "ac_cv_func_$ac_func=yes"
17336 echo "configure: failed program was:" >&5
17337 cat conftest.$ac_ext >&5
17339 eval "ac_cv_func_$ac_func=no"
17344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17345 echo "$ac_t""yes" 1>&6
17346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17347 cat >> confdefs.h <<EOF
17348 #define $ac_tr_func 1
17352 echo "$ac_t""no" 1>&6
17361 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17362 echo "configure:17363: checking for fabsl declaration" >&5
17363 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17364 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17365 echo $ac_n "(cached) $ac_c" 1>&6
17370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17371 ac_cpp='$CXXCPP $CPPFLAGS'
17372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17374 cross_compiling=$ac_cv_prog_cxx_cross
17376 cat > conftest.$ac_ext <<EOF
17377 #line 17378 "configure"
17378 #include "confdefs.h"
17380 #ifdef HAVE_IEEEFP_H
17381 #include <ieeefp.h>
17388 if { (eval echo configure:17389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17390 glibcpp_cv_func_fabsl_use=yes
17392 echo "configure: failed program was:" >&5
17393 cat conftest.$ac_ext >&5
17395 glibcpp_cv_func_fabsl_use=no
17399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17400 ac_cpp='$CPP $CPPFLAGS'
17401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17403 cross_compiling=$ac_cv_prog_cc_cross
17409 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17411 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17412 for ac_func in fabsl
17414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17415 echo "configure:17416: checking for $ac_func" >&5
17416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17417 echo $ac_n "(cached) $ac_c" 1>&6
17419 cat > conftest.$ac_ext <<EOF
17420 #line 17421 "configure"
17421 #include "confdefs.h"
17422 /* System header to define __stub macros and hopefully few prototypes,
17423 which can conflict with char $ac_func(); below. */
17424 #include <assert.h>
17425 /* Override any gcc2 internal prototype to avoid an error. */
17426 /* We use char because int might match the return type of a gcc2
17427 builtin and then its argument prototype would still apply. */
17432 /* The GNU C library defines this for functions which it implements
17433 to always fail with ENOSYS. Some functions are actually named
17434 something starting with __ and the normal name is an alias. */
17435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17443 if { (eval echo configure:17444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17445 eval "ac_cv_func_$ac_func=yes"
17447 echo "configure: failed program was:" >&5
17448 cat conftest.$ac_ext >&5
17450 eval "ac_cv_func_$ac_func=no"
17455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17456 echo "$ac_t""yes" 1>&6
17457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17458 cat >> confdefs.h <<EOF
17459 #define $ac_tr_func 1
17463 echo "$ac_t""no" 1>&6
17469 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17470 echo "configure:17471: checking for _fabsl declaration" >&5
17471 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17472 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17473 echo $ac_n "(cached) $ac_c" 1>&6
17478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17479 ac_cpp='$CXXCPP $CPPFLAGS'
17480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17482 cross_compiling=$ac_cv_prog_cxx_cross
17484 cat > conftest.$ac_ext <<EOF
17485 #line 17486 "configure"
17486 #include "confdefs.h"
17488 #ifdef HAVE_IEEEFP_H
17489 #include <ieeefp.h>
17496 if { (eval echo configure:17497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17498 glibcpp_cv_func__fabsl_use=yes
17500 echo "configure: failed program was:" >&5
17501 cat conftest.$ac_ext >&5
17503 glibcpp_cv_func__fabsl_use=no
17507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17511 cross_compiling=$ac_cv_prog_cc_cross
17517 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17519 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17520 for ac_func in _fabsl
17522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17523 echo "configure:17524: checking for $ac_func" >&5
17524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17525 echo $ac_n "(cached) $ac_c" 1>&6
17527 cat > conftest.$ac_ext <<EOF
17528 #line 17529 "configure"
17529 #include "confdefs.h"
17530 /* System header to define __stub macros and hopefully few prototypes,
17531 which can conflict with char $ac_func(); below. */
17532 #include <assert.h>
17533 /* Override any gcc2 internal prototype to avoid an error. */
17534 /* We use char because int might match the return type of a gcc2
17535 builtin and then its argument prototype would still apply. */
17540 /* The GNU C library defines this for functions which it implements
17541 to always fail with ENOSYS. Some functions are actually named
17542 something starting with __ and the normal name is an alias. */
17543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17551 if { (eval echo configure:17552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17553 eval "ac_cv_func_$ac_func=yes"
17555 echo "configure: failed program was:" >&5
17556 cat conftest.$ac_ext >&5
17558 eval "ac_cv_func_$ac_func=no"
17563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17564 echo "$ac_t""yes" 1>&6
17565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17566 cat >> confdefs.h <<EOF
17567 #define $ac_tr_func 1
17571 echo "$ac_t""no" 1>&6
17580 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17581 echo "configure:17582: checking for fmodl declaration" >&5
17582 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17583 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17584 echo $ac_n "(cached) $ac_c" 1>&6
17589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17590 ac_cpp='$CXXCPP $CPPFLAGS'
17591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17593 cross_compiling=$ac_cv_prog_cxx_cross
17595 cat > conftest.$ac_ext <<EOF
17596 #line 17597 "configure"
17597 #include "confdefs.h"
17603 if { (eval echo configure:17604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17605 glibcpp_cv_func_fmodl_use=yes
17607 echo "configure: failed program was:" >&5
17608 cat conftest.$ac_ext >&5
17610 glibcpp_cv_func_fmodl_use=no
17614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17618 cross_compiling=$ac_cv_prog_cc_cross
17624 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17626 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17627 for ac_func in fmodl
17629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17630 echo "configure:17631: checking for $ac_func" >&5
17631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17632 echo $ac_n "(cached) $ac_c" 1>&6
17634 cat > conftest.$ac_ext <<EOF
17635 #line 17636 "configure"
17636 #include "confdefs.h"
17637 /* System header to define __stub macros and hopefully few prototypes,
17638 which can conflict with char $ac_func(); below. */
17639 #include <assert.h>
17640 /* Override any gcc2 internal prototype to avoid an error. */
17641 /* We use char because int might match the return type of a gcc2
17642 builtin and then its argument prototype would still apply. */
17647 /* The GNU C library defines this for functions which it implements
17648 to always fail with ENOSYS. Some functions are actually named
17649 something starting with __ and the normal name is an alias. */
17650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17658 if { (eval echo configure:17659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17660 eval "ac_cv_func_$ac_func=yes"
17662 echo "configure: failed program was:" >&5
17663 cat conftest.$ac_ext >&5
17665 eval "ac_cv_func_$ac_func=no"
17670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17671 echo "$ac_t""yes" 1>&6
17672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17673 cat >> confdefs.h <<EOF
17674 #define $ac_tr_func 1
17678 echo "$ac_t""no" 1>&6
17684 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17685 echo "configure:17686: checking for _fmodl declaration" >&5
17686 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17687 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17688 echo $ac_n "(cached) $ac_c" 1>&6
17693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17694 ac_cpp='$CXXCPP $CPPFLAGS'
17695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17697 cross_compiling=$ac_cv_prog_cxx_cross
17699 cat > conftest.$ac_ext <<EOF
17700 #line 17701 "configure"
17701 #include "confdefs.h"
17707 if { (eval echo configure:17708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17709 glibcpp_cv_func__fmodl_use=yes
17711 echo "configure: failed program was:" >&5
17712 cat conftest.$ac_ext >&5
17714 glibcpp_cv_func__fmodl_use=no
17718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17719 ac_cpp='$CPP $CPPFLAGS'
17720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17722 cross_compiling=$ac_cv_prog_cc_cross
17728 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17730 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17731 for ac_func in _fmodl
17733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17734 echo "configure:17735: checking for $ac_func" >&5
17735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17736 echo $ac_n "(cached) $ac_c" 1>&6
17738 cat > conftest.$ac_ext <<EOF
17739 #line 17740 "configure"
17740 #include "confdefs.h"
17741 /* System header to define __stub macros and hopefully few prototypes,
17742 which can conflict with char $ac_func(); below. */
17743 #include <assert.h>
17744 /* Override any gcc2 internal prototype to avoid an error. */
17745 /* We use char because int might match the return type of a gcc2
17746 builtin and then its argument prototype would still apply. */
17751 /* The GNU C library defines this for functions which it implements
17752 to always fail with ENOSYS. Some functions are actually named
17753 something starting with __ and the normal name is an alias. */
17754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17762 if { (eval echo configure:17763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17764 eval "ac_cv_func_$ac_func=yes"
17766 echo "configure: failed program was:" >&5
17767 cat conftest.$ac_ext >&5
17769 eval "ac_cv_func_$ac_func=no"
17774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17775 echo "$ac_t""yes" 1>&6
17776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17777 cat >> confdefs.h <<EOF
17778 #define $ac_tr_func 1
17782 echo "$ac_t""no" 1>&6
17791 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17792 echo "configure:17793: checking for frexpl declaration" >&5
17793 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17794 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17795 echo $ac_n "(cached) $ac_c" 1>&6
17800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17801 ac_cpp='$CXXCPP $CPPFLAGS'
17802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17804 cross_compiling=$ac_cv_prog_cxx_cross
17806 cat > conftest.$ac_ext <<EOF
17807 #line 17808 "configure"
17808 #include "confdefs.h"
17814 if { (eval echo configure:17815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17816 glibcpp_cv_func_frexpl_use=yes
17818 echo "configure: failed program was:" >&5
17819 cat conftest.$ac_ext >&5
17821 glibcpp_cv_func_frexpl_use=no
17825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17826 ac_cpp='$CPP $CPPFLAGS'
17827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17829 cross_compiling=$ac_cv_prog_cc_cross
17835 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17837 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17838 for ac_func in frexpl
17840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17841 echo "configure:17842: checking for $ac_func" >&5
17842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17843 echo $ac_n "(cached) $ac_c" 1>&6
17845 cat > conftest.$ac_ext <<EOF
17846 #line 17847 "configure"
17847 #include "confdefs.h"
17848 /* System header to define __stub macros and hopefully few prototypes,
17849 which can conflict with char $ac_func(); below. */
17850 #include <assert.h>
17851 /* Override any gcc2 internal prototype to avoid an error. */
17852 /* We use char because int might match the return type of a gcc2
17853 builtin and then its argument prototype would still apply. */
17858 /* The GNU C library defines this for functions which it implements
17859 to always fail with ENOSYS. Some functions are actually named
17860 something starting with __ and the normal name is an alias. */
17861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17869 if { (eval echo configure:17870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17871 eval "ac_cv_func_$ac_func=yes"
17873 echo "configure: failed program was:" >&5
17874 cat conftest.$ac_ext >&5
17876 eval "ac_cv_func_$ac_func=no"
17881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17882 echo "$ac_t""yes" 1>&6
17883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17884 cat >> confdefs.h <<EOF
17885 #define $ac_tr_func 1
17889 echo "$ac_t""no" 1>&6
17895 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17896 echo "configure:17897: checking for _frexpl declaration" >&5
17897 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17898 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17899 echo $ac_n "(cached) $ac_c" 1>&6
17904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17905 ac_cpp='$CXXCPP $CPPFLAGS'
17906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17908 cross_compiling=$ac_cv_prog_cxx_cross
17910 cat > conftest.$ac_ext <<EOF
17911 #line 17912 "configure"
17912 #include "confdefs.h"
17918 if { (eval echo configure:17919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17920 glibcpp_cv_func__frexpl_use=yes
17922 echo "configure: failed program was:" >&5
17923 cat conftest.$ac_ext >&5
17925 glibcpp_cv_func__frexpl_use=no
17929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17930 ac_cpp='$CPP $CPPFLAGS'
17931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17933 cross_compiling=$ac_cv_prog_cc_cross
17939 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17941 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17942 for ac_func in _frexpl
17944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17945 echo "configure:17946: checking for $ac_func" >&5
17946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17947 echo $ac_n "(cached) $ac_c" 1>&6
17949 cat > conftest.$ac_ext <<EOF
17950 #line 17951 "configure"
17951 #include "confdefs.h"
17952 /* System header to define __stub macros and hopefully few prototypes,
17953 which can conflict with char $ac_func(); below. */
17954 #include <assert.h>
17955 /* Override any gcc2 internal prototype to avoid an error. */
17956 /* We use char because int might match the return type of a gcc2
17957 builtin and then its argument prototype would still apply. */
17962 /* The GNU C library defines this for functions which it implements
17963 to always fail with ENOSYS. Some functions are actually named
17964 something starting with __ and the normal name is an alias. */
17965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17973 if { (eval echo configure:17974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17975 eval "ac_cv_func_$ac_func=yes"
17977 echo "configure: failed program was:" >&5
17978 cat conftest.$ac_ext >&5
17980 eval "ac_cv_func_$ac_func=no"
17985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17986 echo "$ac_t""yes" 1>&6
17987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17988 cat >> confdefs.h <<EOF
17989 #define $ac_tr_func 1
17993 echo "$ac_t""no" 1>&6
18002 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18003 echo "configure:18004: checking for hypotl declaration" >&5
18004 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18005 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18006 echo $ac_n "(cached) $ac_c" 1>&6
18011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18012 ac_cpp='$CXXCPP $CPPFLAGS'
18013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18015 cross_compiling=$ac_cv_prog_cxx_cross
18017 cat > conftest.$ac_ext <<EOF
18018 #line 18019 "configure"
18019 #include "confdefs.h"
18025 if { (eval echo configure:18026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18027 glibcpp_cv_func_hypotl_use=yes
18029 echo "configure: failed program was:" >&5
18030 cat conftest.$ac_ext >&5
18032 glibcpp_cv_func_hypotl_use=no
18036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18037 ac_cpp='$CPP $CPPFLAGS'
18038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18040 cross_compiling=$ac_cv_prog_cc_cross
18046 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18048 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18049 for ac_func in hypotl
18051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18052 echo "configure:18053: checking for $ac_func" >&5
18053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18054 echo $ac_n "(cached) $ac_c" 1>&6
18056 cat > conftest.$ac_ext <<EOF
18057 #line 18058 "configure"
18058 #include "confdefs.h"
18059 /* System header to define __stub macros and hopefully few prototypes,
18060 which can conflict with char $ac_func(); below. */
18061 #include <assert.h>
18062 /* Override any gcc2 internal prototype to avoid an error. */
18063 /* We use char because int might match the return type of a gcc2
18064 builtin and then its argument prototype would still apply. */
18069 /* The GNU C library defines this for functions which it implements
18070 to always fail with ENOSYS. Some functions are actually named
18071 something starting with __ and the normal name is an alias. */
18072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18080 if { (eval echo configure:18081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18082 eval "ac_cv_func_$ac_func=yes"
18084 echo "configure: failed program was:" >&5
18085 cat conftest.$ac_ext >&5
18087 eval "ac_cv_func_$ac_func=no"
18092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18093 echo "$ac_t""yes" 1>&6
18094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18095 cat >> confdefs.h <<EOF
18096 #define $ac_tr_func 1
18100 echo "$ac_t""no" 1>&6
18106 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18107 echo "configure:18108: checking for _hypotl declaration" >&5
18108 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18109 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18110 echo $ac_n "(cached) $ac_c" 1>&6
18115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18116 ac_cpp='$CXXCPP $CPPFLAGS'
18117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18119 cross_compiling=$ac_cv_prog_cxx_cross
18121 cat > conftest.$ac_ext <<EOF
18122 #line 18123 "configure"
18123 #include "confdefs.h"
18129 if { (eval echo configure:18130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18131 glibcpp_cv_func__hypotl_use=yes
18133 echo "configure: failed program was:" >&5
18134 cat conftest.$ac_ext >&5
18136 glibcpp_cv_func__hypotl_use=no
18140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18141 ac_cpp='$CPP $CPPFLAGS'
18142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18144 cross_compiling=$ac_cv_prog_cc_cross
18150 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18152 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18153 for ac_func in _hypotl
18155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18156 echo "configure:18157: checking for $ac_func" >&5
18157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18158 echo $ac_n "(cached) $ac_c" 1>&6
18160 cat > conftest.$ac_ext <<EOF
18161 #line 18162 "configure"
18162 #include "confdefs.h"
18163 /* System header to define __stub macros and hopefully few prototypes,
18164 which can conflict with char $ac_func(); below. */
18165 #include <assert.h>
18166 /* Override any gcc2 internal prototype to avoid an error. */
18167 /* We use char because int might match the return type of a gcc2
18168 builtin and then its argument prototype would still apply. */
18173 /* The GNU C library defines this for functions which it implements
18174 to always fail with ENOSYS. Some functions are actually named
18175 something starting with __ and the normal name is an alias. */
18176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18184 if { (eval echo configure:18185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18186 eval "ac_cv_func_$ac_func=yes"
18188 echo "configure: failed program was:" >&5
18189 cat conftest.$ac_ext >&5
18191 eval "ac_cv_func_$ac_func=no"
18196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18197 echo "$ac_t""yes" 1>&6
18198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18199 cat >> confdefs.h <<EOF
18200 #define $ac_tr_func 1
18204 echo "$ac_t""no" 1>&6
18213 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18214 echo "configure:18215: checking for ldexpl declaration" >&5
18215 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18216 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18217 echo $ac_n "(cached) $ac_c" 1>&6
18222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18223 ac_cpp='$CXXCPP $CPPFLAGS'
18224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18226 cross_compiling=$ac_cv_prog_cxx_cross
18228 cat > conftest.$ac_ext <<EOF
18229 #line 18230 "configure"
18230 #include "confdefs.h"
18236 if { (eval echo configure:18237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18238 glibcpp_cv_func_ldexpl_use=yes
18240 echo "configure: failed program was:" >&5
18241 cat conftest.$ac_ext >&5
18243 glibcpp_cv_func_ldexpl_use=no
18247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18248 ac_cpp='$CPP $CPPFLAGS'
18249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18251 cross_compiling=$ac_cv_prog_cc_cross
18257 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18259 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18260 for ac_func in ldexpl
18262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18263 echo "configure:18264: checking for $ac_func" >&5
18264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18265 echo $ac_n "(cached) $ac_c" 1>&6
18267 cat > conftest.$ac_ext <<EOF
18268 #line 18269 "configure"
18269 #include "confdefs.h"
18270 /* System header to define __stub macros and hopefully few prototypes,
18271 which can conflict with char $ac_func(); below. */
18272 #include <assert.h>
18273 /* Override any gcc2 internal prototype to avoid an error. */
18274 /* We use char because int might match the return type of a gcc2
18275 builtin and then its argument prototype would still apply. */
18280 /* The GNU C library defines this for functions which it implements
18281 to always fail with ENOSYS. Some functions are actually named
18282 something starting with __ and the normal name is an alias. */
18283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18291 if { (eval echo configure:18292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18293 eval "ac_cv_func_$ac_func=yes"
18295 echo "configure: failed program was:" >&5
18296 cat conftest.$ac_ext >&5
18298 eval "ac_cv_func_$ac_func=no"
18303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18304 echo "$ac_t""yes" 1>&6
18305 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18306 cat >> confdefs.h <<EOF
18307 #define $ac_tr_func 1
18311 echo "$ac_t""no" 1>&6
18317 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18318 echo "configure:18319: checking for _ldexpl declaration" >&5
18319 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18320 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18321 echo $ac_n "(cached) $ac_c" 1>&6
18326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18327 ac_cpp='$CXXCPP $CPPFLAGS'
18328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18330 cross_compiling=$ac_cv_prog_cxx_cross
18332 cat > conftest.$ac_ext <<EOF
18333 #line 18334 "configure"
18334 #include "confdefs.h"
18340 if { (eval echo configure:18341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18342 glibcpp_cv_func__ldexpl_use=yes
18344 echo "configure: failed program was:" >&5
18345 cat conftest.$ac_ext >&5
18347 glibcpp_cv_func__ldexpl_use=no
18351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18352 ac_cpp='$CPP $CPPFLAGS'
18353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18355 cross_compiling=$ac_cv_prog_cc_cross
18361 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18363 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18364 for ac_func in _ldexpl
18366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18367 echo "configure:18368: checking for $ac_func" >&5
18368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18369 echo $ac_n "(cached) $ac_c" 1>&6
18371 cat > conftest.$ac_ext <<EOF
18372 #line 18373 "configure"
18373 #include "confdefs.h"
18374 /* System header to define __stub macros and hopefully few prototypes,
18375 which can conflict with char $ac_func(); below. */
18376 #include <assert.h>
18377 /* Override any gcc2 internal prototype to avoid an error. */
18378 /* We use char because int might match the return type of a gcc2
18379 builtin and then its argument prototype would still apply. */
18384 /* The GNU C library defines this for functions which it implements
18385 to always fail with ENOSYS. Some functions are actually named
18386 something starting with __ and the normal name is an alias. */
18387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18395 if { (eval echo configure:18396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18397 eval "ac_cv_func_$ac_func=yes"
18399 echo "configure: failed program was:" >&5
18400 cat conftest.$ac_ext >&5
18402 eval "ac_cv_func_$ac_func=no"
18407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18408 echo "$ac_t""yes" 1>&6
18409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18410 cat >> confdefs.h <<EOF
18411 #define $ac_tr_func 1
18415 echo "$ac_t""no" 1>&6
18424 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18425 echo "configure:18426: checking for logl declaration" >&5
18426 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18427 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18428 echo $ac_n "(cached) $ac_c" 1>&6
18433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18434 ac_cpp='$CXXCPP $CPPFLAGS'
18435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18437 cross_compiling=$ac_cv_prog_cxx_cross
18439 cat > conftest.$ac_ext <<EOF
18440 #line 18441 "configure"
18441 #include "confdefs.h"
18443 #ifdef HAVE_IEEEFP_H
18444 #include <ieeefp.h>
18451 if { (eval echo configure:18452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18453 glibcpp_cv_func_logl_use=yes
18455 echo "configure: failed program was:" >&5
18456 cat conftest.$ac_ext >&5
18458 glibcpp_cv_func_logl_use=no
18462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18463 ac_cpp='$CPP $CPPFLAGS'
18464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18466 cross_compiling=$ac_cv_prog_cc_cross
18472 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18474 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18475 for ac_func in logl
18477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18478 echo "configure:18479: checking for $ac_func" >&5
18479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18480 echo $ac_n "(cached) $ac_c" 1>&6
18482 cat > conftest.$ac_ext <<EOF
18483 #line 18484 "configure"
18484 #include "confdefs.h"
18485 /* System header to define __stub macros and hopefully few prototypes,
18486 which can conflict with char $ac_func(); below. */
18487 #include <assert.h>
18488 /* Override any gcc2 internal prototype to avoid an error. */
18489 /* We use char because int might match the return type of a gcc2
18490 builtin and then its argument prototype would still apply. */
18495 /* The GNU C library defines this for functions which it implements
18496 to always fail with ENOSYS. Some functions are actually named
18497 something starting with __ and the normal name is an alias. */
18498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18506 if { (eval echo configure:18507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18508 eval "ac_cv_func_$ac_func=yes"
18510 echo "configure: failed program was:" >&5
18511 cat conftest.$ac_ext >&5
18513 eval "ac_cv_func_$ac_func=no"
18518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18519 echo "$ac_t""yes" 1>&6
18520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18521 cat >> confdefs.h <<EOF
18522 #define $ac_tr_func 1
18526 echo "$ac_t""no" 1>&6
18532 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18533 echo "configure:18534: checking for _logl declaration" >&5
18534 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18535 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18536 echo $ac_n "(cached) $ac_c" 1>&6
18541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18542 ac_cpp='$CXXCPP $CPPFLAGS'
18543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18545 cross_compiling=$ac_cv_prog_cxx_cross
18547 cat > conftest.$ac_ext <<EOF
18548 #line 18549 "configure"
18549 #include "confdefs.h"
18551 #ifdef HAVE_IEEEFP_H
18552 #include <ieeefp.h>
18559 if { (eval echo configure:18560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18561 glibcpp_cv_func__logl_use=yes
18563 echo "configure: failed program was:" >&5
18564 cat conftest.$ac_ext >&5
18566 glibcpp_cv_func__logl_use=no
18570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18571 ac_cpp='$CPP $CPPFLAGS'
18572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18574 cross_compiling=$ac_cv_prog_cc_cross
18580 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18582 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18583 for ac_func in _logl
18585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18586 echo "configure:18587: checking for $ac_func" >&5
18587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18588 echo $ac_n "(cached) $ac_c" 1>&6
18590 cat > conftest.$ac_ext <<EOF
18591 #line 18592 "configure"
18592 #include "confdefs.h"
18593 /* System header to define __stub macros and hopefully few prototypes,
18594 which can conflict with char $ac_func(); below. */
18595 #include <assert.h>
18596 /* Override any gcc2 internal prototype to avoid an error. */
18597 /* We use char because int might match the return type of a gcc2
18598 builtin and then its argument prototype would still apply. */
18603 /* The GNU C library defines this for functions which it implements
18604 to always fail with ENOSYS. Some functions are actually named
18605 something starting with __ and the normal name is an alias. */
18606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18614 if { (eval echo configure:18615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18616 eval "ac_cv_func_$ac_func=yes"
18618 echo "configure: failed program was:" >&5
18619 cat conftest.$ac_ext >&5
18621 eval "ac_cv_func_$ac_func=no"
18626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18627 echo "$ac_t""yes" 1>&6
18628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18629 cat >> confdefs.h <<EOF
18630 #define $ac_tr_func 1
18634 echo "$ac_t""no" 1>&6
18643 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18644 echo "configure:18645: checking for log10l declaration" >&5
18645 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18646 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18647 echo $ac_n "(cached) $ac_c" 1>&6
18652 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18653 ac_cpp='$CXXCPP $CPPFLAGS'
18654 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18655 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18656 cross_compiling=$ac_cv_prog_cxx_cross
18658 cat > conftest.$ac_ext <<EOF
18659 #line 18660 "configure"
18660 #include "confdefs.h"
18662 #ifdef HAVE_IEEEFP_H
18663 #include <ieeefp.h>
18670 if { (eval echo configure:18671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18672 glibcpp_cv_func_log10l_use=yes
18674 echo "configure: failed program was:" >&5
18675 cat conftest.$ac_ext >&5
18677 glibcpp_cv_func_log10l_use=no
18681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18682 ac_cpp='$CPP $CPPFLAGS'
18683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18685 cross_compiling=$ac_cv_prog_cc_cross
18691 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18693 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18694 for ac_func in log10l
18696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18697 echo "configure:18698: checking for $ac_func" >&5
18698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18699 echo $ac_n "(cached) $ac_c" 1>&6
18701 cat > conftest.$ac_ext <<EOF
18702 #line 18703 "configure"
18703 #include "confdefs.h"
18704 /* System header to define __stub macros and hopefully few prototypes,
18705 which can conflict with char $ac_func(); below. */
18706 #include <assert.h>
18707 /* Override any gcc2 internal prototype to avoid an error. */
18708 /* We use char because int might match the return type of a gcc2
18709 builtin and then its argument prototype would still apply. */
18714 /* The GNU C library defines this for functions which it implements
18715 to always fail with ENOSYS. Some functions are actually named
18716 something starting with __ and the normal name is an alias. */
18717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18725 if { (eval echo configure:18726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18727 eval "ac_cv_func_$ac_func=yes"
18729 echo "configure: failed program was:" >&5
18730 cat conftest.$ac_ext >&5
18732 eval "ac_cv_func_$ac_func=no"
18737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18738 echo "$ac_t""yes" 1>&6
18739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18740 cat >> confdefs.h <<EOF
18741 #define $ac_tr_func 1
18745 echo "$ac_t""no" 1>&6
18751 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18752 echo "configure:18753: checking for _log10l declaration" >&5
18753 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18754 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18755 echo $ac_n "(cached) $ac_c" 1>&6
18760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18761 ac_cpp='$CXXCPP $CPPFLAGS'
18762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18764 cross_compiling=$ac_cv_prog_cxx_cross
18766 cat > conftest.$ac_ext <<EOF
18767 #line 18768 "configure"
18768 #include "confdefs.h"
18770 #ifdef HAVE_IEEEFP_H
18771 #include <ieeefp.h>
18778 if { (eval echo configure:18779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18780 glibcpp_cv_func__log10l_use=yes
18782 echo "configure: failed program was:" >&5
18783 cat conftest.$ac_ext >&5
18785 glibcpp_cv_func__log10l_use=no
18789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18790 ac_cpp='$CPP $CPPFLAGS'
18791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18793 cross_compiling=$ac_cv_prog_cc_cross
18799 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18801 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18802 for ac_func in _log10l
18804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18805 echo "configure:18806: checking for $ac_func" >&5
18806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18807 echo $ac_n "(cached) $ac_c" 1>&6
18809 cat > conftest.$ac_ext <<EOF
18810 #line 18811 "configure"
18811 #include "confdefs.h"
18812 /* System header to define __stub macros and hopefully few prototypes,
18813 which can conflict with char $ac_func(); below. */
18814 #include <assert.h>
18815 /* Override any gcc2 internal prototype to avoid an error. */
18816 /* We use char because int might match the return type of a gcc2
18817 builtin and then its argument prototype would still apply. */
18822 /* The GNU C library defines this for functions which it implements
18823 to always fail with ENOSYS. Some functions are actually named
18824 something starting with __ and the normal name is an alias. */
18825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18833 if { (eval echo configure:18834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18835 eval "ac_cv_func_$ac_func=yes"
18837 echo "configure: failed program was:" >&5
18838 cat conftest.$ac_ext >&5
18840 eval "ac_cv_func_$ac_func=no"
18845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18846 echo "$ac_t""yes" 1>&6
18847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18848 cat >> confdefs.h <<EOF
18849 #define $ac_tr_func 1
18853 echo "$ac_t""no" 1>&6
18862 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18863 echo "configure:18864: checking for modfl declaration" >&5
18864 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18865 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18866 echo $ac_n "(cached) $ac_c" 1>&6
18871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18872 ac_cpp='$CXXCPP $CPPFLAGS'
18873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18875 cross_compiling=$ac_cv_prog_cxx_cross
18877 cat > conftest.$ac_ext <<EOF
18878 #line 18879 "configure"
18879 #include "confdefs.h"
18885 if { (eval echo configure:18886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18887 glibcpp_cv_func_modfl_use=yes
18889 echo "configure: failed program was:" >&5
18890 cat conftest.$ac_ext >&5
18892 glibcpp_cv_func_modfl_use=no
18896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18897 ac_cpp='$CPP $CPPFLAGS'
18898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18900 cross_compiling=$ac_cv_prog_cc_cross
18906 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18908 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18909 for ac_func in modfl
18911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18912 echo "configure:18913: checking for $ac_func" >&5
18913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18914 echo $ac_n "(cached) $ac_c" 1>&6
18916 cat > conftest.$ac_ext <<EOF
18917 #line 18918 "configure"
18918 #include "confdefs.h"
18919 /* System header to define __stub macros and hopefully few prototypes,
18920 which can conflict with char $ac_func(); below. */
18921 #include <assert.h>
18922 /* Override any gcc2 internal prototype to avoid an error. */
18923 /* We use char because int might match the return type of a gcc2
18924 builtin and then its argument prototype would still apply. */
18929 /* The GNU C library defines this for functions which it implements
18930 to always fail with ENOSYS. Some functions are actually named
18931 something starting with __ and the normal name is an alias. */
18932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18940 if { (eval echo configure:18941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18942 eval "ac_cv_func_$ac_func=yes"
18944 echo "configure: failed program was:" >&5
18945 cat conftest.$ac_ext >&5
18947 eval "ac_cv_func_$ac_func=no"
18952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18953 echo "$ac_t""yes" 1>&6
18954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18955 cat >> confdefs.h <<EOF
18956 #define $ac_tr_func 1
18960 echo "$ac_t""no" 1>&6
18966 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18967 echo "configure:18968: checking for _modfl declaration" >&5
18968 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18969 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18970 echo $ac_n "(cached) $ac_c" 1>&6
18975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18976 ac_cpp='$CXXCPP $CPPFLAGS'
18977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18979 cross_compiling=$ac_cv_prog_cxx_cross
18981 cat > conftest.$ac_ext <<EOF
18982 #line 18983 "configure"
18983 #include "confdefs.h"
18989 if { (eval echo configure:18990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18991 glibcpp_cv_func__modfl_use=yes
18993 echo "configure: failed program was:" >&5
18994 cat conftest.$ac_ext >&5
18996 glibcpp_cv_func__modfl_use=no
19000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19001 ac_cpp='$CPP $CPPFLAGS'
19002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19004 cross_compiling=$ac_cv_prog_cc_cross
19010 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19012 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19013 for ac_func in _modfl
19015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19016 echo "configure:19017: checking for $ac_func" >&5
19017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19018 echo $ac_n "(cached) $ac_c" 1>&6
19020 cat > conftest.$ac_ext <<EOF
19021 #line 19022 "configure"
19022 #include "confdefs.h"
19023 /* System header to define __stub macros and hopefully few prototypes,
19024 which can conflict with char $ac_func(); below. */
19025 #include <assert.h>
19026 /* Override any gcc2 internal prototype to avoid an error. */
19027 /* We use char because int might match the return type of a gcc2
19028 builtin and then its argument prototype would still apply. */
19033 /* The GNU C library defines this for functions which it implements
19034 to always fail with ENOSYS. Some functions are actually named
19035 something starting with __ and the normal name is an alias. */
19036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19044 if { (eval echo configure:19045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19046 eval "ac_cv_func_$ac_func=yes"
19048 echo "configure: failed program was:" >&5
19049 cat conftest.$ac_ext >&5
19051 eval "ac_cv_func_$ac_func=no"
19056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19057 echo "$ac_t""yes" 1>&6
19058 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19059 cat >> confdefs.h <<EOF
19060 #define $ac_tr_func 1
19064 echo "$ac_t""no" 1>&6
19073 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19074 echo "configure:19075: checking for powl declaration" >&5
19075 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19076 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19077 echo $ac_n "(cached) $ac_c" 1>&6
19082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19083 ac_cpp='$CXXCPP $CPPFLAGS'
19084 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19085 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19086 cross_compiling=$ac_cv_prog_cxx_cross
19088 cat > conftest.$ac_ext <<EOF
19089 #line 19090 "configure"
19090 #include "confdefs.h"
19096 if { (eval echo configure:19097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19098 glibcpp_cv_func_powl_use=yes
19100 echo "configure: failed program was:" >&5
19101 cat conftest.$ac_ext >&5
19103 glibcpp_cv_func_powl_use=no
19107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19108 ac_cpp='$CPP $CPPFLAGS'
19109 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19110 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19111 cross_compiling=$ac_cv_prog_cc_cross
19117 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19119 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19120 for ac_func in powl
19122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19123 echo "configure:19124: checking for $ac_func" >&5
19124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19125 echo $ac_n "(cached) $ac_c" 1>&6
19127 cat > conftest.$ac_ext <<EOF
19128 #line 19129 "configure"
19129 #include "confdefs.h"
19130 /* System header to define __stub macros and hopefully few prototypes,
19131 which can conflict with char $ac_func(); below. */
19132 #include <assert.h>
19133 /* Override any gcc2 internal prototype to avoid an error. */
19134 /* We use char because int might match the return type of a gcc2
19135 builtin and then its argument prototype would still apply. */
19140 /* The GNU C library defines this for functions which it implements
19141 to always fail with ENOSYS. Some functions are actually named
19142 something starting with __ and the normal name is an alias. */
19143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19151 if { (eval echo configure:19152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19153 eval "ac_cv_func_$ac_func=yes"
19155 echo "configure: failed program was:" >&5
19156 cat conftest.$ac_ext >&5
19158 eval "ac_cv_func_$ac_func=no"
19163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19164 echo "$ac_t""yes" 1>&6
19165 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19166 cat >> confdefs.h <<EOF
19167 #define $ac_tr_func 1
19171 echo "$ac_t""no" 1>&6
19177 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19178 echo "configure:19179: checking for _powl declaration" >&5
19179 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19180 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19181 echo $ac_n "(cached) $ac_c" 1>&6
19186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19187 ac_cpp='$CXXCPP $CPPFLAGS'
19188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19190 cross_compiling=$ac_cv_prog_cxx_cross
19192 cat > conftest.$ac_ext <<EOF
19193 #line 19194 "configure"
19194 #include "confdefs.h"
19200 if { (eval echo configure:19201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19202 glibcpp_cv_func__powl_use=yes
19204 echo "configure: failed program was:" >&5
19205 cat conftest.$ac_ext >&5
19207 glibcpp_cv_func__powl_use=no
19211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19212 ac_cpp='$CPP $CPPFLAGS'
19213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19215 cross_compiling=$ac_cv_prog_cc_cross
19221 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19223 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19224 for ac_func in _powl
19226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19227 echo "configure:19228: checking for $ac_func" >&5
19228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19229 echo $ac_n "(cached) $ac_c" 1>&6
19231 cat > conftest.$ac_ext <<EOF
19232 #line 19233 "configure"
19233 #include "confdefs.h"
19234 /* System header to define __stub macros and hopefully few prototypes,
19235 which can conflict with char $ac_func(); below. */
19236 #include <assert.h>
19237 /* Override any gcc2 internal prototype to avoid an error. */
19238 /* We use char because int might match the return type of a gcc2
19239 builtin and then its argument prototype would still apply. */
19244 /* The GNU C library defines this for functions which it implements
19245 to always fail with ENOSYS. Some functions are actually named
19246 something starting with __ and the normal name is an alias. */
19247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19255 if { (eval echo configure:19256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19257 eval "ac_cv_func_$ac_func=yes"
19259 echo "configure: failed program was:" >&5
19260 cat conftest.$ac_ext >&5
19262 eval "ac_cv_func_$ac_func=no"
19267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19268 echo "$ac_t""yes" 1>&6
19269 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19270 cat >> confdefs.h <<EOF
19271 #define $ac_tr_func 1
19275 echo "$ac_t""no" 1>&6
19284 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19285 echo "configure:19286: checking for sqrtl declaration" >&5
19286 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19287 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19288 echo $ac_n "(cached) $ac_c" 1>&6
19293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19294 ac_cpp='$CXXCPP $CPPFLAGS'
19295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19297 cross_compiling=$ac_cv_prog_cxx_cross
19299 cat > conftest.$ac_ext <<EOF
19300 #line 19301 "configure"
19301 #include "confdefs.h"
19303 #ifdef HAVE_IEEEFP_H
19304 #include <ieeefp.h>
19311 if { (eval echo configure:19312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19313 glibcpp_cv_func_sqrtl_use=yes
19315 echo "configure: failed program was:" >&5
19316 cat conftest.$ac_ext >&5
19318 glibcpp_cv_func_sqrtl_use=no
19322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19323 ac_cpp='$CPP $CPPFLAGS'
19324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19326 cross_compiling=$ac_cv_prog_cc_cross
19332 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19334 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19335 for ac_func in sqrtl
19337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19338 echo "configure:19339: checking for $ac_func" >&5
19339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19340 echo $ac_n "(cached) $ac_c" 1>&6
19342 cat > conftest.$ac_ext <<EOF
19343 #line 19344 "configure"
19344 #include "confdefs.h"
19345 /* System header to define __stub macros and hopefully few prototypes,
19346 which can conflict with char $ac_func(); below. */
19347 #include <assert.h>
19348 /* Override any gcc2 internal prototype to avoid an error. */
19349 /* We use char because int might match the return type of a gcc2
19350 builtin and then its argument prototype would still apply. */
19355 /* The GNU C library defines this for functions which it implements
19356 to always fail with ENOSYS. Some functions are actually named
19357 something starting with __ and the normal name is an alias. */
19358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19366 if { (eval echo configure:19367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19368 eval "ac_cv_func_$ac_func=yes"
19370 echo "configure: failed program was:" >&5
19371 cat conftest.$ac_ext >&5
19373 eval "ac_cv_func_$ac_func=no"
19378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19379 echo "$ac_t""yes" 1>&6
19380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19381 cat >> confdefs.h <<EOF
19382 #define $ac_tr_func 1
19386 echo "$ac_t""no" 1>&6
19392 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19393 echo "configure:19394: checking for _sqrtl declaration" >&5
19394 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19395 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19396 echo $ac_n "(cached) $ac_c" 1>&6
19401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19402 ac_cpp='$CXXCPP $CPPFLAGS'
19403 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19404 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19405 cross_compiling=$ac_cv_prog_cxx_cross
19407 cat > conftest.$ac_ext <<EOF
19408 #line 19409 "configure"
19409 #include "confdefs.h"
19411 #ifdef HAVE_IEEEFP_H
19412 #include <ieeefp.h>
19419 if { (eval echo configure:19420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19421 glibcpp_cv_func__sqrtl_use=yes
19423 echo "configure: failed program was:" >&5
19424 cat conftest.$ac_ext >&5
19426 glibcpp_cv_func__sqrtl_use=no
19430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19431 ac_cpp='$CPP $CPPFLAGS'
19432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19434 cross_compiling=$ac_cv_prog_cc_cross
19440 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19442 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19443 for ac_func in _sqrtl
19445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19446 echo "configure:19447: checking for $ac_func" >&5
19447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19448 echo $ac_n "(cached) $ac_c" 1>&6
19450 cat > conftest.$ac_ext <<EOF
19451 #line 19452 "configure"
19452 #include "confdefs.h"
19453 /* System header to define __stub macros and hopefully few prototypes,
19454 which can conflict with char $ac_func(); below. */
19455 #include <assert.h>
19456 /* Override any gcc2 internal prototype to avoid an error. */
19457 /* We use char because int might match the return type of a gcc2
19458 builtin and then its argument prototype would still apply. */
19463 /* The GNU C library defines this for functions which it implements
19464 to always fail with ENOSYS. Some functions are actually named
19465 something starting with __ and the normal name is an alias. */
19466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19474 if { (eval echo configure:19475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19476 eval "ac_cv_func_$ac_func=yes"
19478 echo "configure: failed program was:" >&5
19479 cat conftest.$ac_ext >&5
19481 eval "ac_cv_func_$ac_func=no"
19486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19487 echo "$ac_t""yes" 1>&6
19488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19489 cat >> confdefs.h <<EOF
19490 #define $ac_tr_func 1
19494 echo "$ac_t""no" 1>&6
19503 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19504 echo "configure:19505: checking for sincosl declaration" >&5
19505 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19506 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19507 echo $ac_n "(cached) $ac_c" 1>&6
19512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19513 ac_cpp='$CXXCPP $CPPFLAGS'
19514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19516 cross_compiling=$ac_cv_prog_cxx_cross
19518 cat > conftest.$ac_ext <<EOF
19519 #line 19520 "configure"
19520 #include "confdefs.h"
19526 if { (eval echo configure:19527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19528 glibcpp_cv_func_sincosl_use=yes
19530 echo "configure: failed program was:" >&5
19531 cat conftest.$ac_ext >&5
19533 glibcpp_cv_func_sincosl_use=no
19537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19538 ac_cpp='$CPP $CPPFLAGS'
19539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19541 cross_compiling=$ac_cv_prog_cc_cross
19547 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19549 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19550 for ac_func in sincosl
19552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19553 echo "configure:19554: checking for $ac_func" >&5
19554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19555 echo $ac_n "(cached) $ac_c" 1>&6
19557 cat > conftest.$ac_ext <<EOF
19558 #line 19559 "configure"
19559 #include "confdefs.h"
19560 /* System header to define __stub macros and hopefully few prototypes,
19561 which can conflict with char $ac_func(); below. */
19562 #include <assert.h>
19563 /* Override any gcc2 internal prototype to avoid an error. */
19564 /* We use char because int might match the return type of a gcc2
19565 builtin and then its argument prototype would still apply. */
19570 /* The GNU C library defines this for functions which it implements
19571 to always fail with ENOSYS. Some functions are actually named
19572 something starting with __ and the normal name is an alias. */
19573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19581 if { (eval echo configure:19582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19583 eval "ac_cv_func_$ac_func=yes"
19585 echo "configure: failed program was:" >&5
19586 cat conftest.$ac_ext >&5
19588 eval "ac_cv_func_$ac_func=no"
19593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19594 echo "$ac_t""yes" 1>&6
19595 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19596 cat >> confdefs.h <<EOF
19597 #define $ac_tr_func 1
19601 echo "$ac_t""no" 1>&6
19607 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19608 echo "configure:19609: checking for _sincosl declaration" >&5
19609 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19610 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19611 echo $ac_n "(cached) $ac_c" 1>&6
19616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19617 ac_cpp='$CXXCPP $CPPFLAGS'
19618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19620 cross_compiling=$ac_cv_prog_cxx_cross
19622 cat > conftest.$ac_ext <<EOF
19623 #line 19624 "configure"
19624 #include "confdefs.h"
19630 if { (eval echo configure:19631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19632 glibcpp_cv_func__sincosl_use=yes
19634 echo "configure: failed program was:" >&5
19635 cat conftest.$ac_ext >&5
19637 glibcpp_cv_func__sincosl_use=no
19641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19642 ac_cpp='$CPP $CPPFLAGS'
19643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19645 cross_compiling=$ac_cv_prog_cc_cross
19651 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19653 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19654 for ac_func in _sincosl
19656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19657 echo "configure:19658: checking for $ac_func" >&5
19658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19659 echo $ac_n "(cached) $ac_c" 1>&6
19661 cat > conftest.$ac_ext <<EOF
19662 #line 19663 "configure"
19663 #include "confdefs.h"
19664 /* System header to define __stub macros and hopefully few prototypes,
19665 which can conflict with char $ac_func(); below. */
19666 #include <assert.h>
19667 /* Override any gcc2 internal prototype to avoid an error. */
19668 /* We use char because int might match the return type of a gcc2
19669 builtin and then its argument prototype would still apply. */
19674 /* The GNU C library defines this for functions which it implements
19675 to always fail with ENOSYS. Some functions are actually named
19676 something starting with __ and the normal name is an alias. */
19677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19685 if { (eval echo configure:19686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19687 eval "ac_cv_func_$ac_func=yes"
19689 echo "configure: failed program was:" >&5
19690 cat conftest.$ac_ext >&5
19692 eval "ac_cv_func_$ac_func=no"
19697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19698 echo "$ac_t""yes" 1>&6
19699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19700 cat >> confdefs.h <<EOF
19701 #define $ac_tr_func 1
19705 echo "$ac_t""no" 1>&6
19714 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19715 echo "configure:19716: checking for finitel declaration" >&5
19716 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19717 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19718 echo $ac_n "(cached) $ac_c" 1>&6
19723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19724 ac_cpp='$CXXCPP $CPPFLAGS'
19725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19727 cross_compiling=$ac_cv_prog_cxx_cross
19729 cat > conftest.$ac_ext <<EOF
19730 #line 19731 "configure"
19731 #include "confdefs.h"
19733 #ifdef HAVE_IEEEFP_H
19734 #include <ieeefp.h>
19741 if { (eval echo configure:19742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19743 glibcpp_cv_func_finitel_use=yes
19745 echo "configure: failed program was:" >&5
19746 cat conftest.$ac_ext >&5
19748 glibcpp_cv_func_finitel_use=no
19752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19753 ac_cpp='$CPP $CPPFLAGS'
19754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19756 cross_compiling=$ac_cv_prog_cc_cross
19762 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19764 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19765 for ac_func in finitel
19767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19768 echo "configure:19769: checking for $ac_func" >&5
19769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19770 echo $ac_n "(cached) $ac_c" 1>&6
19772 cat > conftest.$ac_ext <<EOF
19773 #line 19774 "configure"
19774 #include "confdefs.h"
19775 /* System header to define __stub macros and hopefully few prototypes,
19776 which can conflict with char $ac_func(); below. */
19777 #include <assert.h>
19778 /* Override any gcc2 internal prototype to avoid an error. */
19779 /* We use char because int might match the return type of a gcc2
19780 builtin and then its argument prototype would still apply. */
19785 /* The GNU C library defines this for functions which it implements
19786 to always fail with ENOSYS. Some functions are actually named
19787 something starting with __ and the normal name is an alias. */
19788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19796 if { (eval echo configure:19797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19798 eval "ac_cv_func_$ac_func=yes"
19800 echo "configure: failed program was:" >&5
19801 cat conftest.$ac_ext >&5
19803 eval "ac_cv_func_$ac_func=no"
19808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19809 echo "$ac_t""yes" 1>&6
19810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19811 cat >> confdefs.h <<EOF
19812 #define $ac_tr_func 1
19816 echo "$ac_t""no" 1>&6
19822 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19823 echo "configure:19824: checking for _finitel declaration" >&5
19824 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19825 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19826 echo $ac_n "(cached) $ac_c" 1>&6
19831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19832 ac_cpp='$CXXCPP $CPPFLAGS'
19833 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19834 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19835 cross_compiling=$ac_cv_prog_cxx_cross
19837 cat > conftest.$ac_ext <<EOF
19838 #line 19839 "configure"
19839 #include "confdefs.h"
19841 #ifdef HAVE_IEEEFP_H
19842 #include <ieeefp.h>
19849 if { (eval echo configure:19850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19851 glibcpp_cv_func__finitel_use=yes
19853 echo "configure: failed program was:" >&5
19854 cat conftest.$ac_ext >&5
19856 glibcpp_cv_func__finitel_use=no
19860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19861 ac_cpp='$CPP $CPPFLAGS'
19862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19864 cross_compiling=$ac_cv_prog_cc_cross
19870 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19872 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19873 for ac_func in _finitel
19875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19876 echo "configure:19877: checking for $ac_func" >&5
19877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19878 echo $ac_n "(cached) $ac_c" 1>&6
19880 cat > conftest.$ac_ext <<EOF
19881 #line 19882 "configure"
19882 #include "confdefs.h"
19883 /* System header to define __stub macros and hopefully few prototypes,
19884 which can conflict with char $ac_func(); below. */
19885 #include <assert.h>
19886 /* Override any gcc2 internal prototype to avoid an error. */
19887 /* We use char because int might match the return type of a gcc2
19888 builtin and then its argument prototype would still apply. */
19893 /* The GNU C library defines this for functions which it implements
19894 to always fail with ENOSYS. Some functions are actually named
19895 something starting with __ and the normal name is an alias. */
19896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19904 if { (eval echo configure:19905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19906 eval "ac_cv_func_$ac_func=yes"
19908 echo "configure: failed program was:" >&5
19909 cat conftest.$ac_ext >&5
19911 eval "ac_cv_func_$ac_func=no"
19916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19917 echo "$ac_t""yes" 1>&6
19918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19919 cat >> confdefs.h <<EOF
19920 #define $ac_tr_func 1
19924 echo "$ac_t""no" 1>&6
19934 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19935 echo "configure:19936: checking for _float trig functions" >&5
19936 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19937 echo $ac_n "(cached) $ac_c" 1>&6
19942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19943 ac_cpp='$CXXCPP $CPPFLAGS'
19944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19946 cross_compiling=$ac_cv_prog_cxx_cross
19948 cat > conftest.$ac_ext <<EOF
19949 #line 19950 "configure"
19950 #include "confdefs.h"
19953 `for x in _acosf _asinf _atanf \
19954 _cosf _sinf _tanf \
19955 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19958 if { (eval echo configure:19959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19960 glibcpp_cv_func__float_trig_use=yes
19962 echo "configure: failed program was:" >&5
19963 cat conftest.$ac_ext >&5
19965 glibcpp_cv_func__float_trig_use=no
19969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19970 ac_cpp='$CPP $CPPFLAGS'
19971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19973 cross_compiling=$ac_cv_prog_cc_cross
19977 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19978 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19979 for ac_func in _acosf _asinf _atanf \
19980 _cosf _sinf _tanf \
19981 _coshf _sinhf _tanhf
19983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19984 echo "configure:19985: checking for $ac_func" >&5
19985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19986 echo $ac_n "(cached) $ac_c" 1>&6
19988 cat > conftest.$ac_ext <<EOF
19989 #line 19990 "configure"
19990 #include "confdefs.h"
19991 /* System header to define __stub macros and hopefully few prototypes,
19992 which can conflict with char $ac_func(); below. */
19993 #include <assert.h>
19994 /* Override any gcc2 internal prototype to avoid an error. */
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
20001 /* The GNU C library defines this for functions which it implements
20002 to always fail with ENOSYS. Some functions are actually named
20003 something starting with __ and the normal name is an alias. */
20004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20012 if { (eval echo configure:20013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20014 eval "ac_cv_func_$ac_func=yes"
20016 echo "configure: failed program was:" >&5
20017 cat conftest.$ac_ext >&5
20019 eval "ac_cv_func_$ac_func=no"
20024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20025 echo "$ac_t""yes" 1>&6
20026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20027 cat >> confdefs.h <<EOF
20028 #define $ac_tr_func 1
20032 echo "$ac_t""no" 1>&6
20039 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20040 echo "configure:20041: checking for _float round functions" >&5
20041 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20042 echo $ac_n "(cached) $ac_c" 1>&6
20047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20048 ac_cpp='$CXXCPP $CPPFLAGS'
20049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20051 cross_compiling=$ac_cv_prog_cxx_cross
20053 cat > conftest.$ac_ext <<EOF
20054 #line 20055 "configure"
20055 #include "confdefs.h"
20058 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20061 if { (eval echo configure:20062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20063 glibcpp_cv_func__float_round_use=yes
20065 echo "configure: failed program was:" >&5
20066 cat conftest.$ac_ext >&5
20068 glibcpp_cv_func__float_round_use=no
20072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20073 ac_cpp='$CPP $CPPFLAGS'
20074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20076 cross_compiling=$ac_cv_prog_cc_cross
20080 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20081 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20082 for ac_func in _ceilf _floorf
20084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20085 echo "configure:20086: checking for $ac_func" >&5
20086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20087 echo $ac_n "(cached) $ac_c" 1>&6
20089 cat > conftest.$ac_ext <<EOF
20090 #line 20091 "configure"
20091 #include "confdefs.h"
20092 /* System header to define __stub macros and hopefully few prototypes,
20093 which can conflict with char $ac_func(); below. */
20094 #include <assert.h>
20095 /* Override any gcc2 internal prototype to avoid an error. */
20096 /* We use char because int might match the return type of a gcc2
20097 builtin and then its argument prototype would still apply. */
20102 /* The GNU C library defines this for functions which it implements
20103 to always fail with ENOSYS. Some functions are actually named
20104 something starting with __ and the normal name is an alias. */
20105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20113 if { (eval echo configure:20114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20115 eval "ac_cv_func_$ac_func=yes"
20117 echo "configure: failed program was:" >&5
20118 cat conftest.$ac_ext >&5
20120 eval "ac_cv_func_$ac_func=no"
20125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20126 echo "$ac_t""yes" 1>&6
20127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20128 cat >> confdefs.h <<EOF
20129 #define $ac_tr_func 1
20133 echo "$ac_t""no" 1>&6
20141 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20142 echo "configure:20143: checking for _long double trig functions" >&5
20143 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20144 echo $ac_n "(cached) $ac_c" 1>&6
20149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20150 ac_cpp='$CXXCPP $CPPFLAGS'
20151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20153 cross_compiling=$ac_cv_prog_cxx_cross
20155 cat > conftest.$ac_ext <<EOF
20156 #line 20157 "configure"
20157 #include "confdefs.h"
20160 `for x in _acosl _asinl _atanl \
20161 _cosl _sinl _tanl \
20162 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20165 if { (eval echo configure:20166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20167 glibcpp_cv_func__long_double_trig_use=yes
20169 echo "configure: failed program was:" >&5
20170 cat conftest.$ac_ext >&5
20172 glibcpp_cv_func__long_double_trig_use=no
20176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20177 ac_cpp='$CPP $CPPFLAGS'
20178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20180 cross_compiling=$ac_cv_prog_cc_cross
20184 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20185 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20186 for ac_func in _acosl _asinl _atanl \
20187 _cosl _sinl _tanl \
20188 _coshl _sinhl _tanhl
20190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20191 echo "configure:20192: checking for $ac_func" >&5
20192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20193 echo $ac_n "(cached) $ac_c" 1>&6
20195 cat > conftest.$ac_ext <<EOF
20196 #line 20197 "configure"
20197 #include "confdefs.h"
20198 /* System header to define __stub macros and hopefully few prototypes,
20199 which can conflict with char $ac_func(); below. */
20200 #include <assert.h>
20201 /* Override any gcc2 internal prototype to avoid an error. */
20202 /* We use char because int might match the return type of a gcc2
20203 builtin and then its argument prototype would still apply. */
20208 /* The GNU C library defines this for functions which it implements
20209 to always fail with ENOSYS. Some functions are actually named
20210 something starting with __ and the normal name is an alias. */
20211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20219 if { (eval echo configure:20220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20221 eval "ac_cv_func_$ac_func=yes"
20223 echo "configure: failed program was:" >&5
20224 cat conftest.$ac_ext >&5
20226 eval "ac_cv_func_$ac_func=no"
20231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20232 echo "$ac_t""yes" 1>&6
20233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20234 cat >> confdefs.h <<EOF
20235 #define $ac_tr_func 1
20239 echo "$ac_t""no" 1>&6
20246 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20247 echo "configure:20248: checking for _long double round functions" >&5
20248 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20249 echo $ac_n "(cached) $ac_c" 1>&6
20254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20255 ac_cpp='$CXXCPP $CPPFLAGS'
20256 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20257 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20258 cross_compiling=$ac_cv_prog_cxx_cross
20260 cat > conftest.$ac_ext <<EOF
20261 #line 20262 "configure"
20262 #include "confdefs.h"
20265 `for x in _ceill _floorl; do echo "$x (0);"; done`
20268 if { (eval echo configure:20269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20270 glibcpp_cv_func__long_double_round_use=yes
20272 echo "configure: failed program was:" >&5
20273 cat conftest.$ac_ext >&5
20275 glibcpp_cv_func__long_double_round_use=no
20279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20280 ac_cpp='$CPP $CPPFLAGS'
20281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20283 cross_compiling=$ac_cv_prog_cc_cross
20287 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20288 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20289 for ac_func in _ceill _floorl
20291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20292 echo "configure:20293: checking for $ac_func" >&5
20293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20294 echo $ac_n "(cached) $ac_c" 1>&6
20296 cat > conftest.$ac_ext <<EOF
20297 #line 20298 "configure"
20298 #include "confdefs.h"
20299 /* System header to define __stub macros and hopefully few prototypes,
20300 which can conflict with char $ac_func(); below. */
20301 #include <assert.h>
20302 /* Override any gcc2 internal prototype to avoid an error. */
20303 /* We use char because int might match the return type of a gcc2
20304 builtin and then its argument prototype would still apply. */
20309 /* The GNU C library defines this for functions which it implements
20310 to always fail with ENOSYS. Some functions are actually named
20311 something starting with __ and the normal name is an alias. */
20312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20320 if { (eval echo configure:20321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20322 eval "ac_cv_func_$ac_func=yes"
20324 echo "configure: failed program was:" >&5
20325 cat conftest.$ac_ext >&5
20327 eval "ac_cv_func_$ac_func=no"
20332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20333 echo "$ac_t""yes" 1>&6
20334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20335 cat >> confdefs.h <<EOF
20336 #define $ac_tr_func 1
20340 echo "$ac_t""no" 1>&6
20347 LIBS="$ac_save_LIBS"
20348 CXXFLAGS="$ac_save_CXXFLAGS"
20351 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20352 echo "configure:20353: checking for main in -lm" >&5
20353 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20355 echo $ac_n "(cached) $ac_c" 1>&6
20357 ac_save_LIBS="$LIBS"
20359 cat > conftest.$ac_ext <<EOF
20360 #line 20361 "configure"
20361 #include "confdefs.h"
20367 if { (eval echo configure:20368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20369 eval "ac_cv_lib_$ac_lib_var=yes"
20371 echo "configure: failed program was:" >&5
20372 cat conftest.$ac_ext >&5
20374 eval "ac_cv_lib_$ac_lib_var=no"
20377 LIBS="$ac_save_LIBS"
20380 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20381 echo "$ac_t""yes" 1>&6
20382 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20383 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20384 cat >> confdefs.h <<EOF
20385 #define $ac_tr_lib 1
20391 echo "$ac_t""no" 1>&6
20394 for ac_func in nan copysignf
20396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20397 echo "configure:20398: checking for $ac_func" >&5
20398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20399 echo $ac_n "(cached) $ac_c" 1>&6
20401 cat > conftest.$ac_ext <<EOF
20402 #line 20403 "configure"
20403 #include "confdefs.h"
20404 /* System header to define __stub macros and hopefully few prototypes,
20405 which can conflict with char $ac_func(); below. */
20406 #include <assert.h>
20407 /* Override any gcc2 internal prototype to avoid an error. */
20408 /* We use char because int might match the return type of a gcc2
20409 builtin and then its argument prototype would still apply. */
20414 /* The GNU C library defines this for functions which it implements
20415 to always fail with ENOSYS. Some functions are actually named
20416 something starting with __ and the normal name is an alias. */
20417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20425 if { (eval echo configure:20426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20427 eval "ac_cv_func_$ac_func=yes"
20429 echo "configure: failed program was:" >&5
20430 cat conftest.$ac_ext >&5
20432 eval "ac_cv_func_$ac_func=no"
20437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20438 echo "$ac_t""yes" 1>&6
20439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20440 cat >> confdefs.h <<EOF
20441 #define $ac_tr_func 1
20445 echo "$ac_t""no" 1>&6
20446 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20451 for ac_func in __signbit
20453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20454 echo "configure:20455: checking for $ac_func" >&5
20455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20456 echo $ac_n "(cached) $ac_c" 1>&6
20458 cat > conftest.$ac_ext <<EOF
20459 #line 20460 "configure"
20460 #include "confdefs.h"
20461 /* System header to define __stub macros and hopefully few prototypes,
20462 which can conflict with char $ac_func(); below. */
20463 #include <assert.h>
20464 /* Override any gcc2 internal prototype to avoid an error. */
20465 /* We use char because int might match the return type of a gcc2
20466 builtin and then its argument prototype would still apply. */
20471 /* The GNU C library defines this for functions which it implements
20472 to always fail with ENOSYS. Some functions are actually named
20473 something starting with __ and the normal name is an alias. */
20474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20482 if { (eval echo configure:20483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20484 eval "ac_cv_func_$ac_func=yes"
20486 echo "configure: failed program was:" >&5
20487 cat conftest.$ac_ext >&5
20489 eval "ac_cv_func_$ac_func=no"
20494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20495 echo "$ac_t""yes" 1>&6
20496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20497 cat >> confdefs.h <<EOF
20498 #define $ac_tr_func 1
20502 echo "$ac_t""no" 1>&6
20503 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20507 for ac_func in __signbitf
20509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20510 echo "configure:20511: checking for $ac_func" >&5
20511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20512 echo $ac_n "(cached) $ac_c" 1>&6
20514 cat > conftest.$ac_ext <<EOF
20515 #line 20516 "configure"
20516 #include "confdefs.h"
20517 /* System header to define __stub macros and hopefully few prototypes,
20518 which can conflict with char $ac_func(); below. */
20519 #include <assert.h>
20520 /* Override any gcc2 internal prototype to avoid an error. */
20521 /* We use char because int might match the return type of a gcc2
20522 builtin and then its argument prototype would still apply. */
20527 /* The GNU C library defines this for functions which it implements
20528 to always fail with ENOSYS. Some functions are actually named
20529 something starting with __ and the normal name is an alias. */
20530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20538 if { (eval echo configure:20539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20540 eval "ac_cv_func_$ac_func=yes"
20542 echo "configure: failed program was:" >&5
20543 cat conftest.$ac_ext >&5
20545 eval "ac_cv_func_$ac_func=no"
20550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20551 echo "$ac_t""yes" 1>&6
20552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20553 cat >> confdefs.h <<EOF
20554 #define $ac_tr_func 1
20558 echo "$ac_t""no" 1>&6
20559 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20564 if test x$ac_cv_func_copysignl = x"yes"; then
20565 for ac_func in __signbitl
20567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20568 echo "configure:20569: checking for $ac_func" >&5
20569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20570 echo $ac_n "(cached) $ac_c" 1>&6
20572 cat > conftest.$ac_ext <<EOF
20573 #line 20574 "configure"
20574 #include "confdefs.h"
20575 /* System header to define __stub macros and hopefully few prototypes,
20576 which can conflict with char $ac_func(); below. */
20577 #include <assert.h>
20578 /* Override any gcc2 internal prototype to avoid an error. */
20579 /* We use char because int might match the return type of a gcc2
20580 builtin and then its argument prototype would still apply. */
20585 /* The GNU C library defines this for functions which it implements
20586 to always fail with ENOSYS. Some functions are actually named
20587 something starting with __ and the normal name is an alias. */
20588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20596 if { (eval echo configure:20597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20598 eval "ac_cv_func_$ac_func=yes"
20600 echo "configure: failed program was:" >&5
20601 cat conftest.$ac_ext >&5
20603 eval "ac_cv_func_$ac_func=no"
20608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20609 echo "$ac_t""yes" 1>&6
20610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20611 cat >> confdefs.h <<EOF
20612 #define $ac_tr_func 1
20616 echo "$ac_t""no" 1>&6
20617 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20627 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20628 echo "configure:20629: checking for mbstate_t" >&5
20629 cat > conftest.$ac_ext <<EOF
20630 #line 20631 "configure"
20631 #include "confdefs.h"
20634 mbstate_t teststate;
20637 if { (eval echo configure:20638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20641 echo "configure: failed program was:" >&5
20642 cat conftest.$ac_ext >&5
20647 echo "$ac_t""$have_mbstate_t" 1>&6
20648 if test x"$have_mbstate_t" = xyes; then
20649 cat >> confdefs.h <<\EOF
20650 #define HAVE_MBSTATE_T 1
20655 for ac_hdr in wchar.h
20657 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20659 echo "configure:20660: checking for $ac_hdr" >&5
20660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20661 echo $ac_n "(cached) $ac_c" 1>&6
20663 cat > conftest.$ac_ext <<EOF
20664 #line 20665 "configure"
20665 #include "confdefs.h"
20668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20669 { (eval echo configure:20670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20671 if test -z "$ac_err"; then
20673 eval "ac_cv_header_$ac_safe=yes"
20676 echo "configure: failed program was:" >&5
20677 cat conftest.$ac_ext >&5
20679 eval "ac_cv_header_$ac_safe=no"
20683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20684 echo "$ac_t""yes" 1>&6
20685 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20686 cat >> confdefs.h <<EOF
20687 #define $ac_tr_hdr 1
20691 echo "$ac_t""no" 1>&6
20696 for ac_hdr in wctype.h
20698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20700 echo "configure:20701: checking for $ac_hdr" >&5
20701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20702 echo $ac_n "(cached) $ac_c" 1>&6
20704 cat > conftest.$ac_ext <<EOF
20705 #line 20706 "configure"
20706 #include "confdefs.h"
20709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20710 { (eval echo configure:20711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20712 if test -z "$ac_err"; then
20714 eval "ac_cv_header_$ac_safe=yes"
20717 echo "configure: failed program was:" >&5
20718 cat conftest.$ac_ext >&5
20720 eval "ac_cv_header_$ac_safe=no"
20724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20725 echo "$ac_t""yes" 1>&6
20726 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20727 cat >> confdefs.h <<EOF
20728 #define $ac_tr_hdr 1
20730 ac_has_wctype_h=yes
20732 echo "$ac_t""no" 1>&6
20738 if test x"$ac_has_wchar_h" = xyes &&
20739 test x"$ac_has_wctype_h" = xyes &&
20740 test x"$enable_c_mbchar" != xno; then
20742 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20743 echo "configure:20744: checking for WCHAR_MIN and WCHAR_MAX" >&5
20744 cat > conftest.$ac_ext <<EOF
20745 #line 20746 "configure"
20746 #include "confdefs.h"
20749 int i = WCHAR_MIN; int j = WCHAR_MAX;
20752 if { (eval echo configure:20753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20754 has_wchar_minmax=yes
20756 echo "configure: failed program was:" >&5
20757 cat conftest.$ac_ext >&5
20759 has_wchar_minmax=no
20762 echo "$ac_t""$has_wchar_minmax" 1>&6
20764 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20765 echo "configure:20766: checking for WEOF" >&5
20766 cat > conftest.$ac_ext <<EOF
20767 #line 20768 "configure"
20768 #include "confdefs.h"
20771 #include <stddef.h>
20776 if { (eval echo configure:20777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20780 echo "configure: failed program was:" >&5
20781 cat conftest.$ac_ext >&5
20786 echo "$ac_t""$has_weof" 1>&6
20789 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20792 echo "configure:20793: checking for $ac_func" >&5
20793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20794 echo $ac_n "(cached) $ac_c" 1>&6
20796 cat > conftest.$ac_ext <<EOF
20797 #line 20798 "configure"
20798 #include "confdefs.h"
20799 /* System header to define __stub macros and hopefully few prototypes,
20800 which can conflict with char $ac_func(); below. */
20801 #include <assert.h>
20802 /* Override any gcc2 internal prototype to avoid an error. */
20803 /* We use char because int might match the return type of a gcc2
20804 builtin and then its argument prototype would still apply. */
20809 /* The GNU C library defines this for functions which it implements
20810 to always fail with ENOSYS. Some functions are actually named
20811 something starting with __ and the normal name is an alias. */
20812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20820 if { (eval echo configure:20821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20822 eval "ac_cv_func_$ac_func=yes"
20824 echo "configure: failed program was:" >&5
20825 cat conftest.$ac_ext >&5
20827 eval "ac_cv_func_$ac_func=no"
20832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20833 echo "$ac_t""yes" 1>&6
20834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20835 cat >> confdefs.h <<EOF
20836 #define $ac_tr_func 1
20840 echo "$ac_t""no" 1>&6
20847 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20848 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20849 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20850 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20851 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20852 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20855 echo "configure:20856: checking for $ac_func" >&5
20856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20857 echo $ac_n "(cached) $ac_c" 1>&6
20859 cat > conftest.$ac_ext <<EOF
20860 #line 20861 "configure"
20861 #include "confdefs.h"
20862 /* System header to define __stub macros and hopefully few prototypes,
20863 which can conflict with char $ac_func(); below. */
20864 #include <assert.h>
20865 /* Override any gcc2 internal prototype to avoid an error. */
20866 /* We use char because int might match the return type of a gcc2
20867 builtin and then its argument prototype would still apply. */
20872 /* The GNU C library defines this for functions which it implements
20873 to always fail with ENOSYS. Some functions are actually named
20874 something starting with __ and the normal name is an alias. */
20875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20883 if { (eval echo configure:20884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20885 eval "ac_cv_func_$ac_func=yes"
20887 echo "configure: failed program was:" >&5
20888 cat conftest.$ac_ext >&5
20890 eval "ac_cv_func_$ac_func=no"
20895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20896 echo "$ac_t""yes" 1>&6
20897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20898 cat >> confdefs.h <<EOF
20899 #define $ac_tr_func 1
20903 echo "$ac_t""no" 1>&6
20910 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20911 echo "configure:20912: checking for ISO C99 wchar_t support" >&5
20912 if test x"$has_weof" = xyes &&
20913 test x"$has_wchar_minmax" = xyes &&
20914 test x"$ac_wfuncs" = xyes; then
20915 ac_isoC99_wchar_t=yes
20917 ac_isoC99_wchar_t=no
20919 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20921 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20922 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20923 echo "configure:20924: checking for iconv.h" >&5
20924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20925 echo $ac_n "(cached) $ac_c" 1>&6
20927 cat > conftest.$ac_ext <<EOF
20928 #line 20929 "configure"
20929 #include "confdefs.h"
20932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20933 { (eval echo configure:20934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20935 if test -z "$ac_err"; then
20937 eval "ac_cv_header_$ac_safe=yes"
20940 echo "configure: failed program was:" >&5
20941 cat conftest.$ac_ext >&5
20943 eval "ac_cv_header_$ac_safe=no"
20947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20948 echo "$ac_t""yes" 1>&6
20951 echo "$ac_t""no" 1>&6
20955 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20956 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20957 echo "configure:20958: checking for langinfo.h" >&5
20958 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20959 echo $ac_n "(cached) $ac_c" 1>&6
20961 cat > conftest.$ac_ext <<EOF
20962 #line 20963 "configure"
20963 #include "confdefs.h"
20964 #include <langinfo.h>
20966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20967 { (eval echo configure:20968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20969 if test -z "$ac_err"; then
20971 eval "ac_cv_header_$ac_safe=yes"
20974 echo "configure: failed program was:" >&5
20975 cat conftest.$ac_ext >&5
20977 eval "ac_cv_header_$ac_safe=no"
20981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20982 echo "$ac_t""yes" 1>&6
20983 ac_has_langinfo_h=yes
20985 echo "$ac_t""no" 1>&6
20986 ac_has_langinfo_h=no
20990 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20991 echo "configure:20992: checking for iconv in -liconv" >&5
20992 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20994 echo $ac_n "(cached) $ac_c" 1>&6
20996 ac_save_LIBS="$LIBS"
20997 LIBS="-liconv $LIBS"
20998 cat > conftest.$ac_ext <<EOF
20999 #line 21000 "configure"
21000 #include "confdefs.h"
21001 /* Override any gcc2 internal prototype to avoid an error. */
21002 /* We use char because int might match the return type of a gcc2
21003 builtin and then its argument prototype would still apply. */
21010 if { (eval echo configure:21011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21012 eval "ac_cv_lib_$ac_lib_var=yes"
21014 echo "configure: failed program was:" >&5
21015 cat conftest.$ac_ext >&5
21017 eval "ac_cv_lib_$ac_lib_var=no"
21020 LIBS="$ac_save_LIBS"
21023 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21024 echo "$ac_t""yes" 1>&6
21027 echo "$ac_t""no" 1>&6
21030 ac_save_LIBS="$LIBS"
21031 LIBS="$LIBS $libiconv"
21033 for ac_func in iconv_open iconv_close iconv nl_langinfo
21035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21036 echo "configure:21037: checking for $ac_func" >&5
21037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21038 echo $ac_n "(cached) $ac_c" 1>&6
21040 cat > conftest.$ac_ext <<EOF
21041 #line 21042 "configure"
21042 #include "confdefs.h"
21043 /* System header to define __stub macros and hopefully few prototypes,
21044 which can conflict with char $ac_func(); below. */
21045 #include <assert.h>
21046 /* Override any gcc2 internal prototype to avoid an error. */
21047 /* We use char because int might match the return type of a gcc2
21048 builtin and then its argument prototype would still apply. */
21053 /* The GNU C library defines this for functions which it implements
21054 to always fail with ENOSYS. Some functions are actually named
21055 something starting with __ and the normal name is an alias. */
21056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21064 if { (eval echo configure:21065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21066 eval "ac_cv_func_$ac_func=yes"
21068 echo "configure: failed program was:" >&5
21069 cat conftest.$ac_ext >&5
21071 eval "ac_cv_func_$ac_func=no"
21076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21077 echo "$ac_t""yes" 1>&6
21078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21079 cat >> confdefs.h <<EOF
21080 #define $ac_tr_func 1
21085 echo "$ac_t""no" 1>&6
21091 LIBS="$ac_save_LIBS"
21093 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21094 echo "configure:21095: checking for XPG2 wchar_t support" >&5
21095 if test x"$ac_has_iconv_h" = xyes &&
21096 test x"$ac_has_langinfo_h" = xyes &&
21097 test x"$ac_XPG2funcs" = xyes; then
21098 ac_XPG2_wchar_t=yes
21102 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21104 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21105 echo "configure:21106: checking for enabled wchar_t specializations" >&5
21106 if test x"$ac_isoC99_wchar_t" = xyes &&
21107 test x"$ac_XPG2_wchar_t" = xyes; then
21108 cat >> confdefs.h <<\EOF
21109 #define _GLIBCPP_USE_WCHAR_T 1
21112 echo "$ac_t"""yes"" 1>&6
21114 echo "$ac_t"""no"" 1>&6
21117 echo "configure: warning: wchar_t support disabled." 1>&2
21121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21122 ac_save_CXXFLAGS="$CXXFLAGS"
21123 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21126 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21127 echo "configure:21128: checking for strtold declaration" >&5
21128 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21129 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21130 echo $ac_n "(cached) $ac_c" 1>&6
21135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21136 ac_cpp='$CXXCPP $CPPFLAGS'
21137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21139 cross_compiling=$ac_cv_prog_cxx_cross
21141 cat > conftest.$ac_ext <<EOF
21142 #line 21143 "configure"
21143 #include "confdefs.h"
21144 #include <stdlib.h>
21149 if { (eval echo configure:21150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21151 glibcpp_cv_func_strtold_use=yes
21153 echo "configure: failed program was:" >&5
21154 cat conftest.$ac_ext >&5
21156 glibcpp_cv_func_strtold_use=no
21160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21161 ac_cpp='$CPP $CPPFLAGS'
21162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21164 cross_compiling=$ac_cv_prog_cc_cross
21170 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21171 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21172 for ac_func in strtold
21174 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21175 echo "configure:21176: checking for $ac_func" >&5
21176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21177 echo $ac_n "(cached) $ac_c" 1>&6
21179 cat > conftest.$ac_ext <<EOF
21180 #line 21181 "configure"
21181 #include "confdefs.h"
21182 /* System header to define __stub macros and hopefully few prototypes,
21183 which can conflict with char $ac_func(); below. */
21184 #include <assert.h>
21185 /* Override any gcc2 internal prototype to avoid an error. */
21186 /* We use char because int might match the return type of a gcc2
21187 builtin and then its argument prototype would still apply. */
21192 /* The GNU C library defines this for functions which it implements
21193 to always fail with ENOSYS. Some functions are actually named
21194 something starting with __ and the normal name is an alias. */
21195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21203 if { (eval echo configure:21204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21205 eval "ac_cv_func_$ac_func=yes"
21207 echo "configure: failed program was:" >&5
21208 cat conftest.$ac_ext >&5
21210 eval "ac_cv_func_$ac_func=no"
21215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21216 echo "$ac_t""yes" 1>&6
21217 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21218 cat >> confdefs.h <<EOF
21219 #define $ac_tr_func 1
21223 echo "$ac_t""no" 1>&6
21230 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21231 echo "configure:21232: checking for strtof declaration" >&5
21232 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21233 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21234 echo $ac_n "(cached) $ac_c" 1>&6
21239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21240 ac_cpp='$CXXCPP $CPPFLAGS'
21241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21243 cross_compiling=$ac_cv_prog_cxx_cross
21245 cat > conftest.$ac_ext <<EOF
21246 #line 21247 "configure"
21247 #include "confdefs.h"
21248 #include <stdlib.h>
21253 if { (eval echo configure:21254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21255 glibcpp_cv_func_strtof_use=yes
21257 echo "configure: failed program was:" >&5
21258 cat conftest.$ac_ext >&5
21260 glibcpp_cv_func_strtof_use=no
21264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21268 cross_compiling=$ac_cv_prog_cc_cross
21274 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21275 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21276 for ac_func in strtof
21278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21279 echo "configure:21280: checking for $ac_func" >&5
21280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21281 echo $ac_n "(cached) $ac_c" 1>&6
21283 cat > conftest.$ac_ext <<EOF
21284 #line 21285 "configure"
21285 #include "confdefs.h"
21286 /* System header to define __stub macros and hopefully few prototypes,
21287 which can conflict with char $ac_func(); below. */
21288 #include <assert.h>
21289 /* Override any gcc2 internal prototype to avoid an error. */
21290 /* We use char because int might match the return type of a gcc2
21291 builtin and then its argument prototype would still apply. */
21296 /* The GNU C library defines this for functions which it implements
21297 to always fail with ENOSYS. Some functions are actually named
21298 something starting with __ and the normal name is an alias. */
21299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21307 if { (eval echo configure:21308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21309 eval "ac_cv_func_$ac_func=yes"
21311 echo "configure: failed program was:" >&5
21312 cat conftest.$ac_ext >&5
21314 eval "ac_cv_func_$ac_func=no"
21319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21320 echo "$ac_t""yes" 1>&6
21321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21322 cat >> confdefs.h <<EOF
21323 #define $ac_tr_func 1
21327 echo "$ac_t""no" 1>&6
21333 for ac_func in drand48
21335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21336 echo "configure:21337: checking for $ac_func" >&5
21337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21338 echo $ac_n "(cached) $ac_c" 1>&6
21340 cat > conftest.$ac_ext <<EOF
21341 #line 21342 "configure"
21342 #include "confdefs.h"
21343 /* System header to define __stub macros and hopefully few prototypes,
21344 which can conflict with char $ac_func(); below. */
21345 #include <assert.h>
21346 /* Override any gcc2 internal prototype to avoid an error. */
21347 /* We use char because int might match the return type of a gcc2
21348 builtin and then its argument prototype would still apply. */
21353 /* The GNU C library defines this for functions which it implements
21354 to always fail with ENOSYS. Some functions are actually named
21355 something starting with __ and the normal name is an alias. */
21356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21364 if { (eval echo configure:21365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21366 eval "ac_cv_func_$ac_func=yes"
21368 echo "configure: failed program was:" >&5
21369 cat conftest.$ac_ext >&5
21371 eval "ac_cv_func_$ac_func=no"
21376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21377 echo "$ac_t""yes" 1>&6
21378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21379 cat >> confdefs.h <<EOF
21380 #define $ac_tr_func 1
21384 echo "$ac_t""no" 1>&6
21389 CXXFLAGS="$ac_save_CXXFLAGS"
21392 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21393 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21394 echo "configure:21395: checking for locale.h" >&5
21395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21396 echo $ac_n "(cached) $ac_c" 1>&6
21398 cat > conftest.$ac_ext <<EOF
21399 #line 21400 "configure"
21400 #include "confdefs.h"
21401 #include <locale.h>
21403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21404 { (eval echo configure:21405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21406 if test -z "$ac_err"; then
21408 eval "ac_cv_header_$ac_safe=yes"
21411 echo "configure: failed program was:" >&5
21412 cat conftest.$ac_ext >&5
21414 eval "ac_cv_header_$ac_safe=no"
21418 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21419 echo "$ac_t""yes" 1>&6
21421 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21422 echo "configure:21423: checking for LC_MESSAGES" >&5
21423 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21424 echo $ac_n "(cached) $ac_c" 1>&6
21426 cat > conftest.$ac_ext <<EOF
21427 #line 21428 "configure"
21428 #include "confdefs.h"
21429 #include <locale.h>
21434 if { (eval echo configure:21435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21436 ac_cv_val_LC_MESSAGES=yes
21438 echo "configure: failed program was:" >&5
21439 cat conftest.$ac_ext >&5
21441 ac_cv_val_LC_MESSAGES=no
21446 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21447 if test $ac_cv_val_LC_MESSAGES = yes; then
21448 cat >> confdefs.h <<\EOF
21449 #define HAVE_LC_MESSAGES 1
21455 echo "$ac_t""no" 1>&6
21460 cat > conftest.$ac_ext <<EOF
21461 #line 21462 "configure"
21462 #include "confdefs.h"
21464 #include <setjmp.h>
21467 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21470 if { (eval echo configure:21471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21472 cat >> confdefs.h <<\EOF
21473 #define HAVE_SIGSETJMP 1
21478 echo "configure: failed program was:" >&5
21479 cat conftest.$ac_ext >&5
21483 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21485 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21486 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21487 echo "configure:21488: checking for $ac_hdr" >&5
21488 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21489 echo $ac_n "(cached) $ac_c" 1>&6
21491 cat > conftest.$ac_ext <<EOF
21492 #line 21493 "configure"
21493 #include "confdefs.h"
21496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21497 { (eval echo configure:21498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21499 if test -z "$ac_err"; then
21501 eval "ac_cv_header_$ac_safe=yes"
21504 echo "configure: failed program was:" >&5
21505 cat conftest.$ac_ext >&5
21507 eval "ac_cv_header_$ac_safe=no"
21511 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21512 echo "$ac_t""yes" 1>&6
21513 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21514 cat >> confdefs.h <<EOF
21515 #define $ac_tr_hdr 1
21519 echo "$ac_t""no" 1>&6
21523 for ac_func in getpagesize
21525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21526 echo "configure:21527: checking for $ac_func" >&5
21527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21528 echo $ac_n "(cached) $ac_c" 1>&6
21530 cat > conftest.$ac_ext <<EOF
21531 #line 21532 "configure"
21532 #include "confdefs.h"
21533 /* System header to define __stub macros and hopefully few prototypes,
21534 which can conflict with char $ac_func(); below. */
21535 #include <assert.h>
21536 /* Override any gcc2 internal prototype to avoid an error. */
21537 /* We use char because int might match the return type of a gcc2
21538 builtin and then its argument prototype would still apply. */
21543 /* The GNU C library defines this for functions which it implements
21544 to always fail with ENOSYS. Some functions are actually named
21545 something starting with __ and the normal name is an alias. */
21546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21554 if { (eval echo configure:21555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21556 eval "ac_cv_func_$ac_func=yes"
21558 echo "configure: failed program was:" >&5
21559 cat conftest.$ac_ext >&5
21561 eval "ac_cv_func_$ac_func=no"
21566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21567 echo "$ac_t""yes" 1>&6
21568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21569 cat >> confdefs.h <<EOF
21570 #define $ac_tr_func 1
21574 echo "$ac_t""no" 1>&6
21578 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21579 echo "configure:21580: checking for working mmap" >&5
21580 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21581 echo $ac_n "(cached) $ac_c" 1>&6
21583 if test "$cross_compiling" = yes; then
21584 ac_cv_func_mmap_fixed_mapped=no
21586 cat > conftest.$ac_ext <<EOF
21587 #line 21588 "configure"
21588 #include "confdefs.h"
21590 /* Thanks to Mike Haertel and Jim Avera for this test.
21591 Here is a matrix of mmap possibilities:
21592 mmap private not fixed
21593 mmap private fixed at somewhere currently unmapped
21594 mmap private fixed at somewhere already mapped
21595 mmap shared not fixed
21596 mmap shared fixed at somewhere currently unmapped
21597 mmap shared fixed at somewhere already mapped
21598 For private mappings, we should verify that changes cannot be read()
21599 back from the file, nor mmap's back from the file at a different
21600 address. (There have been systems where private was not correctly
21601 implemented like the infamous i386 svr4.0, and systems where the
21602 VM page cache was not coherent with the filesystem buffer cache
21603 like early versions of FreeBSD and possibly contemporary NetBSD.)
21604 For shared mappings, we should conversely verify that changes get
21605 propogated back to all the places they're supposed to be.
21607 Grep wants private fixed already mapped.
21608 The main things grep needs to know about mmap are:
21609 * does it exist and is it safe to write into the mmap'd area
21610 * how to use it (BSD variants) */
21611 #include <sys/types.h>
21613 #include <sys/mman.h>
21615 #if HAVE_SYS_TYPES_H
21616 # include <sys/types.h>
21620 # include <stdlib.h>
21623 #if HAVE_SYS_STAT_H
21624 # include <sys/stat.h>
21628 # include <unistd.h>
21631 /* This mess was copied from the GNU getpagesize.h. */
21632 #ifndef HAVE_GETPAGESIZE
21634 /* Assume that all systems that can run configure have sys/param.h. */
21635 # ifndef HAVE_SYS_PARAM_H
21636 # define HAVE_SYS_PARAM_H 1
21639 # ifdef _SC_PAGESIZE
21640 # define getpagesize() sysconf(_SC_PAGESIZE)
21641 # else /* no _SC_PAGESIZE */
21642 # ifdef HAVE_SYS_PARAM_H
21643 # include <sys/param.h>
21644 # ifdef EXEC_PAGESIZE
21645 # define getpagesize() EXEC_PAGESIZE
21646 # else /* no EXEC_PAGESIZE */
21648 # define getpagesize() NBPG * CLSIZE
21651 # endif /* no CLSIZE */
21652 # else /* no NBPG */
21654 # define getpagesize() NBPC
21655 # else /* no NBPC */
21657 # define getpagesize() PAGESIZE
21658 # endif /* PAGESIZE */
21659 # endif /* no NBPC */
21660 # endif /* no NBPG */
21661 # endif /* no EXEC_PAGESIZE */
21662 # else /* no HAVE_SYS_PARAM_H */
21663 # define getpagesize() 8192 /* punt totally */
21664 # endif /* no HAVE_SYS_PARAM_H */
21665 # endif /* no _SC_PAGESIZE */
21667 #endif /* no HAVE_GETPAGESIZE */
21670 extern "C" { void *malloc(unsigned); }
21678 char *data, *data2, *data3;
21682 pagesize = getpagesize();
21685 * First, make a file with some known garbage in it.
21687 data = malloc(pagesize);
21690 for (i = 0; i < pagesize; ++i)
21691 *(data + i) = rand();
21693 fd = creat("conftestmmap", 0600);
21696 if (write(fd, data, pagesize) != pagesize)
21701 * Next, try to mmap the file at a fixed address which
21702 * already has something else allocated at it. If we can,
21703 * also make sure that we see the same garbage.
21705 fd = open("conftestmmap", O_RDWR);
21708 data2 = malloc(2 * pagesize);
21711 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21712 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21713 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21715 for (i = 0; i < pagesize; ++i)
21716 if (*(data + i) != *(data2 + i))
21720 * Finally, make sure that changes to the mapped area
21721 * do not percolate back to the file as seen by read().
21722 * (This is a bug on some variants of i386 svr4.0.)
21724 for (i = 0; i < pagesize; ++i)
21725 *(data2 + i) = *(data2 + i) + 1;
21726 data3 = malloc(pagesize);
21729 if (read(fd, data3, pagesize) != pagesize)
21731 for (i = 0; i < pagesize; ++i)
21732 if (*(data + i) != *(data3 + i))
21735 unlink("conftestmmap");
21740 if { (eval echo configure:21741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21742 ac_cv_func_mmap_fixed_mapped=yes
21744 echo "configure: failed program was:" >&5
21745 cat conftest.$ac_ext >&5
21747 ac_cv_func_mmap_fixed_mapped=no
21754 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21755 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21756 cat >> confdefs.h <<\EOF
21757 #define HAVE_MMAP 1
21763 # Establish limits on memory usage during 'make check'
21766 setrlimit_have_headers=yes
21767 for ac_hdr in unistd.h sys/time.h sys/resource.h
21769 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21771 echo "configure:21772: checking for $ac_hdr" >&5
21772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21773 echo $ac_n "(cached) $ac_c" 1>&6
21775 cat > conftest.$ac_ext <<EOF
21776 #line 21777 "configure"
21777 #include "confdefs.h"
21780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21781 { (eval echo configure:21782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21783 if test -z "$ac_err"; then
21785 eval "ac_cv_header_$ac_safe=yes"
21788 echo "configure: failed program was:" >&5
21789 cat conftest.$ac_ext >&5
21791 eval "ac_cv_header_$ac_safe=no"
21795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21796 echo "$ac_t""yes" 1>&6
21797 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21798 cat >> confdefs.h <<EOF
21799 #define $ac_tr_hdr 1
21803 echo "$ac_t""no" 1>&6
21804 setrlimit_have_headers=no
21808 # If don't have the headers, then we can't run the tests now, and we
21809 # won't be seeing any of these during testsuite compilation.
21810 if test $setrlimit_have_headers = yes; then
21811 # Can't do these in a loop, else the resulting syntax is wrong.
21813 cat > conftest.$ac_ext <<EOF
21814 #line 21815 "configure"
21815 #include "confdefs.h"
21816 #include <unistd.h>
21817 #include <sys/time.h>
21818 #include <sys/resource.h>
21821 int f = RLIMIT_DATA ;
21824 if { (eval echo configure:21825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21828 echo "configure: failed program was:" >&5
21829 cat conftest.$ac_ext >&5
21834 cat >> confdefs.h <<EOF
21835 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21840 cat > conftest.$ac_ext <<EOF
21841 #line 21842 "configure"
21842 #include "confdefs.h"
21843 #include <unistd.h>
21844 #include <sys/time.h>
21845 #include <sys/resource.h>
21848 int f = RLIMIT_RSS ;
21851 if { (eval echo configure:21852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21855 echo "configure: failed program was:" >&5
21856 cat conftest.$ac_ext >&5
21861 cat >> confdefs.h <<EOF
21862 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21867 cat > conftest.$ac_ext <<EOF
21868 #line 21869 "configure"
21869 #include "confdefs.h"
21870 #include <unistd.h>
21871 #include <sys/time.h>
21872 #include <sys/resource.h>
21875 int f = RLIMIT_VMEM ;
21878 if { (eval echo configure:21879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21882 echo "configure: failed program was:" >&5
21883 cat conftest.$ac_ext >&5
21888 cat >> confdefs.h <<EOF
21889 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21894 cat > conftest.$ac_ext <<EOF
21895 #line 21896 "configure"
21896 #include "confdefs.h"
21897 #include <unistd.h>
21898 #include <sys/time.h>
21899 #include <sys/resource.h>
21902 int f = RLIMIT_AS ;
21905 if { (eval echo configure:21906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21909 echo "configure: failed program was:" >&5
21910 cat conftest.$ac_ext >&5
21915 cat >> confdefs.h <<EOF
21916 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21921 # Check for rlimit, setrlimit.
21922 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21923 echo $ac_n "(cached) $ac_c" 1>&6
21926 cat > conftest.$ac_ext <<EOF
21927 #line 21928 "configure"
21928 #include "confdefs.h"
21929 #include <unistd.h>
21930 #include <sys/time.h>
21931 #include <sys/resource.h>
21934 struct rlimit r; setrlimit(0, &r);
21937 if { (eval echo configure:21938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21941 echo "configure: failed program was:" >&5
21942 cat conftest.$ac_ext >&5
21952 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21953 echo "configure:21954: checking for testsuite memory limit support" >&5
21954 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21956 cat >> confdefs.h <<\EOF
21957 #define _GLIBCPP_MEM_LIMITS 1
21963 echo "$ac_t""$ac_mem_limits" 1>&6
21966 # Look for setenv, so that extended locale tests can be performed.
21968 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21969 echo "configure:21970: checking for setenv declaration" >&5
21970 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21971 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21972 echo $ac_n "(cached) $ac_c" 1>&6
21977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21978 ac_cpp='$CXXCPP $CPPFLAGS'
21979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21981 cross_compiling=$ac_cv_prog_cxx_cross
21983 cat > conftest.$ac_ext <<EOF
21984 #line 21985 "configure"
21985 #include "confdefs.h"
21986 #include <stdlib.h>
21991 if { (eval echo configure:21992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21993 glibcpp_cv_func_setenv_use=yes
21995 echo "configure: failed program was:" >&5
21996 cat conftest.$ac_ext >&5
21998 glibcpp_cv_func_setenv_use=no
22002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22003 ac_cpp='$CPP $CPPFLAGS'
22004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22006 cross_compiling=$ac_cv_prog_cc_cross
22012 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22013 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22014 for ac_func in setenv
22016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22017 echo "configure:22018: checking for $ac_func" >&5
22018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22019 echo $ac_n "(cached) $ac_c" 1>&6
22021 cat > conftest.$ac_ext <<EOF
22022 #line 22023 "configure"
22023 #include "confdefs.h"
22024 /* System header to define __stub macros and hopefully few prototypes,
22025 which can conflict with char $ac_func(); below. */
22026 #include <assert.h>
22027 /* Override any gcc2 internal prototype to avoid an error. */
22028 /* We use char because int might match the return type of a gcc2
22029 builtin and then its argument prototype would still apply. */
22034 /* The GNU C library defines this for functions which it implements
22035 to always fail with ENOSYS. Some functions are actually named
22036 something starting with __ and the normal name is an alias. */
22037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22045 if { (eval echo configure:22046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22047 eval "ac_cv_func_$ac_func=yes"
22049 echo "configure: failed program was:" >&5
22050 cat conftest.$ac_ext >&5
22052 eval "ac_cv_func_$ac_func=no"
22057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22058 echo "$ac_t""yes" 1>&6
22059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22060 cat >> confdefs.h <<EOF
22061 #define $ac_tr_func 1
22065 echo "$ac_t""no" 1>&6
22074 # This depends on the possibly-skipped linker test above.
22075 # Check whether --enable-symvers or --disable-symvers was given.
22076 if test "${enable_symvers+set}" = set; then
22077 enableval="$enable_symvers"
22078 case "$enableval" in
22079 yes) enable_symvers=yes ;;
22080 no) enable_symvers=no ;;
22081 # other names here, just as sanity checks
22082 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22083 gnu) enable_symvers=$enableval ;;
22084 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22090 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22091 # don't know enough about $LD to do tricks...
22092 if test x$enable_shared = xno ||
22094 test x$glibcpp_gnu_ld_version = x; then
22098 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22099 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22100 echo "configure:22101: checking for shared libgcc" >&5
22101 ac_save_CFLAGS="$CFLAGS"
22103 cat > conftest.$ac_ext <<EOF
22104 #line 22105 "configure"
22105 #include "confdefs.h"
22111 if { (eval echo configure:22112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22113 glibcpp_shared_libgcc=yes
22115 echo "configure: failed program was:" >&5
22116 cat conftest.$ac_ext >&5
22118 glibcpp_shared_libgcc=no
22121 CFLAGS="$ac_save_CFLAGS"
22122 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22124 # For GNU ld, we need at least this version. It's 2.12 in the same format
22125 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22126 glibcpp_min_gnu_ld_version=21200
22128 # Check to see if unspecified "yes" value can win, given results
22130 if test $enable_symvers = yes ; then
22131 if test $with_gnu_ld = yes &&
22132 test $glibcpp_shared_libgcc = yes ;
22134 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22137 ac_test_CFLAGS="${CFLAGS+set}"
22138 ac_save_CFLAGS="$CFLAGS"
22139 CFLAGS='-shared -Wl,--version-script,conftest.map'
22142 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22144 cat > conftest.$ac_ext <<EOF
22145 #line 22146 "configure"
22146 #include "confdefs.h"
22152 if { (eval echo configure:22153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22156 echo "configure: failed program was:" >&5
22157 cat conftest.$ac_ext >&5
22160 if test "$ac_test_CFLAGS" = set; then
22161 CFLAGS="$ac_save_CFLAGS"
22163 # this is the suspicious part
22169 # just fail for now
22174 case $enable_symvers in
22176 LINKER_MAP=config/linker-map.dummy
22179 LINKER_MAP=config/linker-map.gnu
22186 if test $enable_symvers != no; then
22187 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22188 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22190 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22191 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22193 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22194 echo "configure:22195: checking versioning on shared library symbols" >&5
22195 echo "$ac_t""$enable_symvers" 1>&6
22198 # Propagate the target-specific source directories through the build chain.
22199 OS_INC_SRCDIR=$os_include_dir/bits
22200 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
22201 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
22206 # Set up cross-compile flags
22210 if test "$CANADIAN" = yes; then
22218 cat > confcache <<\EOF
22219 # This file is a shell script that caches the results of configure
22220 # tests run on this system so they can be shared between configure
22221 # scripts and configure runs. It is not useful on other systems.
22222 # If it contains results you don't want to keep, you may remove or edit it.
22224 # By default, configure uses ./config.cache as the cache file,
22225 # creating it if it does not exist already. You can give configure
22226 # the --cache-file=FILE option to use a different cache file; that is
22227 # what configure does when it calls configure scripts in
22228 # subdirectories, so they share the cache.
22229 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22230 # config.status only pays attention to the cache file if you give it the
22231 # --recheck option to rerun configure.
22234 # The following way of writing the cache mishandles newlines in values,
22235 # but we know of no workaround that is simple, portable, and efficient.
22236 # So, don't put newlines in cache variables' values.
22237 # Ultrix sh set writes to stderr and can't be redirected directly,
22238 # and sets the high bit in the cache file unless we assign to the vars.
22240 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22242 # `set' does not quote correctly, so add quotes (double-quote substitution
22243 # turns \\\\ into \\, and sed turns \\ into \).
22245 -e "s/'/'\\\\''/g" \
22246 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22249 # `set' quotes correctly as required by POSIX, so do not add quotes.
22250 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22253 if cmp -s $cache_file confcache; then
22256 if test -w $cache_file; then
22257 echo "updating cache $cache_file"
22258 cat confcache > $cache_file
22260 echo "not updating unwritable cache $cache_file"
22266 if test "${multilib}" = "yes"; then
22267 multilib_arg="--enable-multilib"
22272 # Needed so that g++ can find the correct include subdir automatically.
22275 # Export all the install information
22277 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22278 # exported correctly in GLIBCPP_CONFIGURE.
22279 glibcpp_toolexecdir=no
22280 glibcpp_toolexeclibdir=no
22281 glibcpp_prefixdir=${prefix}
22283 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
22284 echo "configure:22285: checking for interface version number" >&5
22285 libstdcxx_interface=$INTERFACE
22286 echo "$ac_t""$libstdcxx_interface" 1>&6
22288 # Process the option --with-gxx-include-dir=<path to include-files directory>
22289 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22290 echo "configure:22291: checking for --with-gxx-include-dir" >&5
22291 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22292 if test "${with_gxx_include_dir+set}" = set; then
22293 withval="$with_gxx_include_dir"
22294 case "${withval}" in
22296 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22303 gxx_include_dir=${withval}
22310 echo "$ac_t""$gxx_include_dir" 1>&6
22312 # Process the option "--enable-version-specific-runtime-libs"
22313 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22314 echo "configure:22315: checking for --enable-version-specific-runtime-libs" >&5
22315 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22316 if test "${enable_version_specific_runtime_libs+set}" = set; then
22317 enableval="$enable_version_specific_runtime_libs"
22318 case "$enableval" in
22319 yes) version_specific_libs=yes ;;
22320 no) version_specific_libs=no ;;
22321 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22324 version_specific_libs=no
22326 # Option set, now we can test it.
22327 echo "$ac_t""$version_specific_libs" 1>&6
22329 if test $version_specific_libs = yes; then
22330 # Need the gcc compiler version to know where to install libraries
22331 # and header files if --enable-version-specific-runtime-libs option
22333 gcc_version_trigger=${srcdir}/../gcc/version.c
22334 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22335 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22336 if test x"$gxx_include_dir" = x"no"; then
22337 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
22339 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22340 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22343 # Default case for install directory for include files.
22344 if test $version_specific_libs = no &&
22345 test $gxx_include_dir = no; then
22346 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
22349 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22350 # Install a library built with a cross compiler in tooldir, not libdir.
22351 if test x"$glibcpp_toolexecdir" = x"no"; then
22352 if test -n "$with_cross_host" &&
22353 test x"$with_cross_host" != x"no"; then
22354 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22355 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22357 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22358 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22362 echo $ac_n "checking for install location""... $ac_c" 1>&6
22363 echo "configure:22364: checking for install location" >&5
22364 echo "$ac_t""$gxx_include_dir" 1>&6
22372 # Export all the include and flag information to makefiles.
22374 # Root level of the build directory include sources.
22375 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22377 # Passed down for canadian crosses.
22378 if test x"$CANADIAN" = xyes; then
22379 TOPLEVEL_INCLUDES='-I$(includedir)'
22382 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22384 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22386 if test x"$need_libio" = xyes; then
22387 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22391 # Now, export this to all the little Makefiles....
22398 # Optimization flags that are probably a good idea for thrill-seekers. Just
22399 # uncomment the lines below and make, everything else is ready to go...
22400 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22404 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22408 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22409 grep "enable shared" > /dev/null; then
22410 LIBSUPCXX_PICFLAGS=-prefer-pic
22412 LIBSUPCXX_PICFLAGS=
22416 # Generate the various Makefiles, include files, and scripts.
22417 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22418 # and libsupc++/Makefile.am so that multilib installs will end up
22419 # installed in the correct place. To work around this not being passed
22420 # down from config-ml.in -> top_srcdir/Makefile.am ->
22421 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22423 cat > confcache <<\EOF
22424 # This file is a shell script that caches the results of configure
22425 # tests run on this system so they can be shared between configure
22426 # scripts and configure runs. It is not useful on other systems.
22427 # If it contains results you don't want to keep, you may remove or edit it.
22429 # By default, configure uses ./config.cache as the cache file,
22430 # creating it if it does not exist already. You can give configure
22431 # the --cache-file=FILE option to use a different cache file; that is
22432 # what configure does when it calls configure scripts in
22433 # subdirectories, so they share the cache.
22434 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22435 # config.status only pays attention to the cache file if you give it the
22436 # --recheck option to rerun configure.
22439 # The following way of writing the cache mishandles newlines in values,
22440 # but we know of no workaround that is simple, portable, and efficient.
22441 # So, don't put newlines in cache variables' values.
22442 # Ultrix sh set writes to stderr and can't be redirected directly,
22443 # and sets the high bit in the cache file unless we assign to the vars.
22445 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22447 # `set' does not quote correctly, so add quotes (double-quote substitution
22448 # turns \\\\ into \\, and sed turns \\ into \).
22450 -e "s/'/'\\\\''/g" \
22451 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22454 # `set' quotes correctly as required by POSIX, so do not add quotes.
22455 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22458 if cmp -s $cache_file confcache; then
22461 if test -w $cache_file; then
22462 echo "updating cache $cache_file"
22463 cat confcache > $cache_file
22465 echo "not updating unwritable cache $cache_file"
22470 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22472 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22473 # Let make expand exec_prefix.
22474 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22476 # Any assignment to VPATH causes Sun make to only execute
22477 # the first set of double-colon rules, so remove it if not needed.
22478 # If there is a colon in the path, we need to keep it.
22479 if test "x$srcdir" = x.; then
22480 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22483 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22485 DEFS=-DHAVE_CONFIG_H
22487 # Without the "./", some shells look in PATH for config.status.
22488 : ${CONFIG_STATUS=./config.status}
22490 echo creating $CONFIG_STATUS
22491 rm -f $CONFIG_STATUS
22492 cat > $CONFIG_STATUS <<EOF
22494 # Generated automatically by configure.
22495 # Run this file to recreate the current configuration.
22496 # This directory was configured as follows,
22497 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22499 # $0 $ac_configure_args
22501 # Compiler output produced by configure, useful for debugging
22502 # configure, is in ./config.log if it exists.
22504 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22507 case "\$ac_option" in
22508 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22509 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22510 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22511 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22512 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22514 -help | --help | --hel | --he | --h)
22515 echo "\$ac_cs_usage"; exit 0 ;;
22516 *) echo "\$ac_cs_usage"; exit 1 ;;
22520 ac_given_srcdir=$srcdir
22521 ac_given_INSTALL="$INSTALL"
22523 trap 'rm -fr `echo "Makefile \
22524 include/Makefile src/Makefile \
22525 libmath/Makefile libio/Makefile libsupc++/Makefile \
22526 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22528 cat >> $CONFIG_STATUS <<EOF
22530 # Protect against being on the right side of a sed subst in config.status.
22531 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22532 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22536 s%@CFLAGS@%$CFLAGS%g
22537 s%@CPPFLAGS@%$CPPFLAGS%g
22538 s%@CXXFLAGS@%$CXXFLAGS%g
22539 s%@FFLAGS@%$FFLAGS%g
22541 s%@LDFLAGS@%$LDFLAGS%g
22543 s%@exec_prefix@%$exec_prefix%g
22544 s%@prefix@%$prefix%g
22545 s%@program_transform_name@%$program_transform_name%g
22546 s%@bindir@%$bindir%g
22547 s%@sbindir@%$sbindir%g
22548 s%@libexecdir@%$libexecdir%g
22549 s%@datadir@%$datadir%g
22550 s%@sysconfdir@%$sysconfdir%g
22551 s%@sharedstatedir@%$sharedstatedir%g
22552 s%@localstatedir@%$localstatedir%g
22553 s%@libdir@%$libdir%g
22554 s%@includedir@%$includedir%g
22555 s%@oldincludedir@%$oldincludedir%g
22556 s%@infodir@%$infodir%g
22557 s%@mandir@%$mandir%g
22558 s%@PACKAGE@%$PACKAGE%g
22559 s%@release_VERSION@%$release_VERSION%g
22560 s%@libtool_VERSION@%$libtool_VERSION%g
22562 s%@host_alias@%$host_alias%g
22563 s%@host_cpu@%$host_cpu%g
22564 s%@host_vendor@%$host_vendor%g
22565 s%@host_os@%$host_os%g
22566 s%@target@%$target%g
22567 s%@target_alias@%$target_alias%g
22568 s%@target_cpu@%$target_cpu%g
22569 s%@target_vendor@%$target_vendor%g
22570 s%@target_os@%$target_os%g
22572 s%@build_alias@%$build_alias%g
22573 s%@build_cpu@%$build_cpu%g
22574 s%@build_vendor@%$build_vendor%g
22575 s%@build_os@%$build_os%g
22576 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22577 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22578 s%@INSTALL_DATA@%$INSTALL_DATA%g
22579 s%@VERSION@%$VERSION%g
22580 s%@ACLOCAL@%$ACLOCAL%g
22581 s%@AUTOCONF@%$AUTOCONF%g
22582 s%@AUTOMAKE@%$AUTOMAKE%g
22583 s%@AUTOHEADER@%$AUTOHEADER%g
22584 s%@MAKEINFO@%$MAKEINFO%g
22585 s%@SET_MAKE@%$SET_MAKE%g
22586 s%@toplevel_srcdir@%$toplevel_srcdir%g
22587 s%@glibcpp_builddir@%$glibcpp_builddir%g
22588 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22591 s%@glibcpp_basedir@%$glibcpp_basedir%g
22593 s%@glibcpp_CXX@%$glibcpp_CXX%g
22596 s%@RANLIB@%$RANLIB%g
22597 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22598 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22600 s%@EXEEXT@%$EXEEXT%g
22601 s%@OBJEXT@%$OBJEXT%g
22603 s%@LIBTOOL@%$LIBTOOL%g
22604 s%@CXXCPP@%$CXXCPP%g
22605 s%@enable_shared@%$enable_shared%g
22606 s%@enable_static@%$enable_static%g
22607 s%@ifGNUmake@%$ifGNUmake%g
22608 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22610 s%@CSTDIO_H@%$CSTDIO_H%g
22611 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22612 s%@CCODECVT_C@%$CCODECVT_C%g
22613 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22614 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22615 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22616 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22617 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22618 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22619 s%@libio_la@%$libio_la%g
22620 s%@check_msgfmt@%$check_msgfmt%g
22621 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22622 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22623 s%@glibcpp_localedir@%$glibcpp_localedir%g
22624 s%@USE_NLS@%$USE_NLS%g
22625 s%@CLOCALE_H@%$CLOCALE_H%g
22626 s%@CCODECVT_H@%$CCODECVT_H%g
22627 s%@CMESSAGES_H@%$CMESSAGES_H%g
22628 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
22629 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22630 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22631 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22632 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22633 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22634 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22635 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22636 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22637 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22638 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22639 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22640 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22641 s%@WERROR@%$WERROR%g
22642 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22643 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22644 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22645 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22646 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22647 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22648 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22649 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22650 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22651 s%@gxx_include_dir@%$gxx_include_dir%g
22652 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22653 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22654 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22655 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22656 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22657 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22658 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22659 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22660 s%@WARN_FLAGS@%$WARN_FLAGS%g
22661 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22666 cat >> $CONFIG_STATUS <<\EOF
22668 # Split the substitutions into bite-sized pieces for seds with
22669 # small command number limits, like on Digital OSF/1 and HP-UX.
22670 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22671 ac_file=1 # Number of current file.
22672 ac_beg=1 # First line for current file.
22673 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22676 while $ac_more_lines; do
22677 if test $ac_beg -gt 1; then
22678 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22680 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22682 if test ! -s conftest.s$ac_file; then
22683 ac_more_lines=false
22684 rm -f conftest.s$ac_file
22686 if test -z "$ac_sed_cmds"; then
22687 ac_sed_cmds="sed -f conftest.s$ac_file"
22689 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22691 ac_file=`expr $ac_file + 1`
22693 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22696 if test -z "$ac_sed_cmds"; then
22701 cat >> $CONFIG_STATUS <<EOF
22703 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22704 include/Makefile src/Makefile \
22705 libmath/Makefile libio/Makefile libsupc++/Makefile \
22706 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22708 cat >> $CONFIG_STATUS <<\EOF
22709 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22710 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22712 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22713 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22714 *) ac_file_in="${ac_file}.in" ;;
22717 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22719 # Remove last slash and all that follows it. Not all systems have dirname.
22720 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22721 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22722 # The file is in a subdirectory.
22723 test ! -d "$ac_dir" && mkdir "$ac_dir"
22724 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22725 # A "../" for each directory in $ac_dir_suffix.
22726 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22728 ac_dir_suffix= ac_dots=
22731 case "$ac_given_srcdir" in
22733 if test -z "$ac_dots"; then top_srcdir=.
22734 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22735 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22736 *) # Relative path.
22737 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22738 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22741 case "$ac_given_INSTALL" in
22742 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22743 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22746 echo creating "$ac_file"
22748 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22750 *Makefile*) ac_comsub="1i\\
22751 # $configure_input" ;;
22755 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22757 s%@configure_input@%$configure_input%g
22758 s%@srcdir@%$srcdir%g
22759 s%@top_srcdir@%$top_srcdir%g
22760 s%@INSTALL@%$INSTALL%g
22761 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22765 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22766 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22768 # ac_d sets the value in "#define NAME VALUE" lines.
22769 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22770 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22773 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22774 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22775 ac_uB='\([ ]\)%\1#\2define\3'
22778 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22779 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22780 ac_eB='$%\1#\2define\3'
22784 if test "${CONFIG_HEADERS+set}" != set; then
22786 cat >> $CONFIG_STATUS <<EOF
22787 CONFIG_HEADERS="config.h"
22789 cat >> $CONFIG_STATUS <<\EOF
22791 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22792 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22794 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22795 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22796 *) ac_file_in="${ac_file}.in" ;;
22799 echo creating $ac_file
22801 rm -f conftest.frag conftest.in conftest.out
22802 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22803 cat $ac_file_inputs > conftest.in
22807 # Transform confdefs.h into a sed script conftest.vals that substitutes
22808 # the proper values into config.h.in to produce config.h. And first:
22809 # Protect against being on the right side of a sed subst in config.status.
22810 # Protect against being in an unquoted here document in config.status.
22811 rm -f conftest.vals
22812 cat > conftest.hdr <<\EOF
22815 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22819 sed -n -f conftest.hdr confdefs.h > conftest.vals
22822 # This sed command replaces #undef with comments. This is necessary, for
22823 # example, in the case of _POSIX_SOURCE, which is predefined and required
22824 # on some systems where configure will not decide to define it.
22825 cat >> conftest.vals <<\EOF
22826 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22829 # Break up conftest.vals because some shells have a limit on
22830 # the size of here documents, and old seds have small limits too.
22832 rm -f conftest.tail
22835 ac_lines=`grep -c . conftest.vals`
22836 # grep -c gives empty output for an empty file on some AIX systems.
22837 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22838 # Write a limited-size here document to conftest.frag.
22839 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22840 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22842 sed -f conftest.frag conftest.in > conftest.out
22844 mv conftest.out conftest.in
22845 ' >> $CONFIG_STATUS
22846 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22847 rm -f conftest.vals
22848 mv conftest.tail conftest.vals
22850 rm -f conftest.vals
22852 cat >> $CONFIG_STATUS <<\EOF
22853 rm -f conftest.frag conftest.h
22854 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22855 cat conftest.in >> conftest.h
22857 if cmp -s $ac_file conftest.h 2>/dev/null; then
22858 echo "$ac_file is unchanged"
22861 # Remove last slash and all that follows it. Not all systems have dirname.
22862 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22863 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22864 # The file is in a subdirectory.
22865 test ! -d "$ac_dir" && mkdir "$ac_dir"
22868 mv conftest.h $ac_file
22874 cat >> $CONFIG_STATUS <<EOF
22875 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22876 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"
22879 cat >> $CONFIG_STATUS <<\EOF
22880 srcdir=$ac_given_srcdir
22881 while test -n "$ac_sources"; do
22882 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22883 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22885 echo "linking $srcdir/$ac_source to $ac_dest"
22887 if test ! -r $srcdir/$ac_source; then
22888 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22892 # Make relative symlinks.
22893 # Remove last slash and all that follows it. Not all systems have dirname.
22894 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22895 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22896 # The dest file is in a subdirectory.
22897 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22898 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22899 # A "../" for each directory in $ac_dest_dir_suffix.
22900 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22902 ac_dest_dir_suffix= ac_dots=
22906 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22907 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22910 # Make a symlink if possible; otherwise try a hard link.
22911 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22912 ln $srcdir/$ac_source $ac_dest; then :
22914 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22918 cat >> $CONFIG_STATUS <<EOF
22923 with_multisubdir=${with_multisubdir}
22924 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22925 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22926 glibcpp_basedir=${glibcpp_basedir}
22931 cat >> $CONFIG_STATUS <<\EOF
22932 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22933 if test -n "$CONFIG_FILES"; then
22934 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22935 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22936 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22937 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22940 chmod +x testsuite_flags
22944 chmod +x $CONFIG_STATUS
22945 rm -fr confdefs* $ac_clean_files
22946 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22950 # Sanity checking & User-visible messages.
22951 # Checks down here, otherwise they get scrolled off before
22952 # the user will notice.
22954 # Trying to get more people to read documentation. Possibly remove
22955 # check and warn all the time. There is no "informational" AC_MSG_
22956 # macro, so these are going to be printed even when --quiet/--silent
22958 if test ! -f stamp-sanity-warned; then
22959 touch stamp-sanity-warned
22961 echo "Please make certain that you read the installation information here:"
22962 echo " faster => ${srcdir}/docs/html/install.html"
22963 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22965 echo "and the configuration information here:"
22966 echo " faster => ${srcdir}/docs/html/configopts.html"
22967 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22969 echo "before proceeding with ${_cv_gnu_make_command}."