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
585 # exported. Only used at the end of this file.
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.
599 # You will slowly go insane if you do not grok the following fact: when
600 # building v3 as part of the compiler, the top-level /target/ becomes the
601 # library's /host/. `configure' then causes --target to default to --host,
602 # exactly like any other package using autoconf. Therefore, 'target' and
603 # 'host' will always be the same. This makes sense both for native and
604 # cross compilers, just think about it for a little while. :-)
606 # Also, if v3 is being configured as part of a cross compiler, the top-level
607 # configure script will pass the "real" host as $with_cross_host.
609 # AC 2.5x sets target_alias iff the user specified --target, but we use it
610 # everywhere, so we set it here just to be sure. In AC 2.13
611 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
613 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
614 if test -f $ac_dir/install-sh; then
616 ac_install_sh="$ac_aux_dir/install-sh -c"
618 elif test -f $ac_dir/install.sh; then
620 ac_install_sh="$ac_aux_dir/install.sh -c"
624 if test -z "$ac_aux_dir"; then
625 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
627 ac_config_guess=$ac_aux_dir/config.guess
628 ac_config_sub=$ac_aux_dir/config.sub
629 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
632 # Do some error checking and defaulting for the host and target type.
634 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
637 # 1. You are not allowed to specify --host, --target, and nonopt at the
639 # 2. Host defaults to nonopt.
640 # 3. If nonopt is not specified, then host defaults to the current host,
641 # as determined by config.guess.
642 # 4. Target and build default to nonopt.
643 # 5. If nonopt is not specified, then target and build default to host.
645 # The aliases save the names the user supplied, while $host etc.
646 # will get canonicalized.
647 case $host---$target---$nonopt in
648 NONE---*---* | *---NONE---* | *---*---NONE) ;;
649 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
653 # Make sure we can run config.sub.
654 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
655 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
658 echo $ac_n "checking host system type""... $ac_c" 1>&6
659 echo "configure:660: checking host system type" >&5
662 case "$host_alias" in
666 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
667 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
669 *) host_alias=$nonopt ;;
673 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
674 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
675 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
676 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
677 echo "$ac_t""$host" 1>&6
679 echo $ac_n "checking target system type""... $ac_c" 1>&6
680 echo "configure:681: checking target system type" >&5
683 case "$target_alias" in
686 NONE) target_alias=$host_alias ;;
687 *) target_alias=$nonopt ;;
691 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
692 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
693 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
694 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
695 echo "$ac_t""$target" 1>&6
697 echo $ac_n "checking build system type""... $ac_c" 1>&6
698 echo "configure:699: checking build system type" >&5
701 case "$build_alias" in
704 NONE) build_alias=$host_alias ;;
705 *) build_alias=$nonopt ;;
709 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
710 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
711 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
712 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
713 echo "$ac_t""$build" 1>&6
715 test "$host_alias" != "$target_alias" &&
716 test "$program_prefix$program_suffix$program_transform_name" = \
718 program_prefix=${target_alias}-
720 target_alias=${target_alias-$target}
723 # Find a good install program. We prefer a C program (faster),
724 # so one script is as good as another. But avoid the broken or
725 # incompatible versions:
726 # SysV /etc/install, /usr/sbin/install
727 # SunOS /usr/etc/install
730 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
731 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
732 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
733 # ./install, which can be erroneously created by make from ./install.sh.
734 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
735 echo "configure:736: checking for a BSD compatible install" >&5
736 if test -z "$INSTALL"; then
737 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
738 echo $ac_n "(cached) $ac_c" 1>&6
740 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
741 for ac_dir in $PATH; do
742 # Account for people who put trailing slashes in PATH elements.
744 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
746 # OSF1 and SCO ODT 3.0 have their own names for install.
747 # Don't use installbsd from OSF since it installs stuff as root
749 for ac_prog in ginstall scoinst install; do
750 if test -f $ac_dir/$ac_prog; then
751 if test $ac_prog = install &&
752 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
753 # AIX install. It has an incompatible calling convention.
756 ac_cv_path_install="$ac_dir/$ac_prog -c"
767 if test "${ac_cv_path_install+set}" = set; then
768 INSTALL="$ac_cv_path_install"
770 # As a last resort, use the slow shell script. We don't cache a
771 # path for INSTALL within a source directory, because that will
772 # break other packages using the cache if that directory is
773 # removed, or if the path is relative.
774 INSTALL="$ac_install_sh"
777 echo "$ac_t""$INSTALL" 1>&6
779 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
780 # It thinks the first close brace ends the variable substitution.
781 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
783 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
785 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
787 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
788 echo "configure:789: checking whether build environment is sane" >&5
791 echo timestamp > conftestfile
792 # Do `set' in a subshell so we don't clobber the current shell's
793 # arguments. Must try -L first in case configure is actually a
794 # symlink; some systems play weird games with the mod time of symlinks
795 # (eg FreeBSD returns the mod time of the symlink's containing
798 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
799 if test "$*" = "X"; then
801 set X `ls -t $srcdir/configure conftestfile`
803 if test "$*" != "X $srcdir/configure conftestfile" \
804 && test "$*" != "X conftestfile $srcdir/configure"; then
806 # If neither matched, then we have a broken ls. This can happen
807 # if, for instance, CONFIG_SHELL is bash and it inherits a
808 # broken ls alias from the environment. This has actually
809 # happened. Such a system could not be considered "sane".
810 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
811 alias in your environment" 1>&2; exit 1; }
814 test "$2" = conftestfile
820 { echo "configure: error: newly created file is older than distributed files!
821 Check your system clock" 1>&2; exit 1; }
824 echo "$ac_t""yes" 1>&6
825 if test "$program_transform_name" = s,x,x,; then
826 program_transform_name=
828 # Double any \ or $. echo might interpret backslashes.
829 cat <<\EOF_SED > conftestsed
830 s,\\,\\\\,g; s,\$,$$,g
832 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
835 test "$program_prefix" != NONE &&
836 program_transform_name="s,^,${program_prefix},; $program_transform_name"
837 # Use a double $ so make ignores it.
838 test "$program_suffix" != NONE &&
839 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
841 # sed with no file args requires a program.
842 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
844 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
845 echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
846 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
847 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
848 echo $ac_n "(cached) $ac_c" 1>&6
850 cat > conftestmake <<\EOF
852 @echo 'ac_maketemp="${MAKE}"'
854 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
855 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
856 if test -n "$ac_maketemp"; then
857 eval ac_cv_prog_make_${ac_make}_set=yes
859 eval ac_cv_prog_make_${ac_make}_set=no
863 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
864 echo "$ac_t""yes" 1>&6
867 echo "$ac_t""no" 1>&6
868 SET_MAKE="MAKE=${MAKE-make}"
874 VERSION=$release_VERSION
876 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
877 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
879 cat >> confdefs.h <<EOF
880 #define PACKAGE "$PACKAGE"
883 cat >> confdefs.h <<EOF
884 #define VERSION "$VERSION"
889 missing_dir=`cd $ac_aux_dir && pwd`
890 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
891 echo "configure:892: checking for working aclocal" >&5
892 # Run test in a subshell; some versions of sh will print an error if
893 # an executable is not found, even if stderr is redirected.
894 # Redirect stdin to placate older versions of autoconf. Sigh.
895 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
897 echo "$ac_t""found" 1>&6
899 ACLOCAL="$missing_dir/missing aclocal"
900 echo "$ac_t""missing" 1>&6
903 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
904 echo "configure:905: checking for working autoconf" >&5
905 # Run test in a subshell; some versions of sh will print an error if
906 # an executable is not found, even if stderr is redirected.
907 # Redirect stdin to placate older versions of autoconf. Sigh.
908 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
910 echo "$ac_t""found" 1>&6
912 AUTOCONF="$missing_dir/missing autoconf"
913 echo "$ac_t""missing" 1>&6
916 echo $ac_n "checking for working automake""... $ac_c" 1>&6
917 echo "configure:918: checking for working automake" >&5
918 # Run test in a subshell; some versions of sh will print an error if
919 # an executable is not found, even if stderr is redirected.
920 # Redirect stdin to placate older versions of autoconf. Sigh.
921 if (automake --version) < /dev/null > /dev/null 2>&1; then
923 echo "$ac_t""found" 1>&6
925 AUTOMAKE="$missing_dir/missing automake"
926 echo "$ac_t""missing" 1>&6
929 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
930 echo "configure:931: checking for working autoheader" >&5
931 # Run test in a subshell; some versions of sh will print an error if
932 # an executable is not found, even if stderr is redirected.
933 # Redirect stdin to placate older versions of autoconf. Sigh.
934 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
935 AUTOHEADER=autoheader
936 echo "$ac_t""found" 1>&6
938 AUTOHEADER="$missing_dir/missing autoheader"
939 echo "$ac_t""missing" 1>&6
942 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
943 echo "configure:944: checking for working makeinfo" >&5
944 # Run test in a subshell; some versions of sh will print an error if
945 # an executable is not found, even if stderr is redirected.
946 # Redirect stdin to placate older versions of autoconf. Sigh.
947 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
949 echo "$ac_t""found" 1>&6
951 MAKEINFO="$missing_dir/missing makeinfo"
952 echo "$ac_t""missing" 1>&6
960 # Runs configure.target, finds CC, CXX and assorted other critical bits.
961 # Must run this before the GLIBCPP_ENABLE_* macros below.
962 if test $host != $build; then
963 ac_tool_prefix=${host_alias}-
968 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
969 echo "configure:970: checking for Cygwin environment" >&5
970 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 cat > conftest.$ac_ext <<EOF
974 #line 975 "configure"
975 #include "confdefs.h"
980 #define __CYGWIN__ __CYGWIN32__
985 if { (eval echo configure:986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
989 echo "configure: failed program was:" >&5
990 cat conftest.$ac_ext >&5
998 echo "$ac_t""$ac_cv_cygwin" 1>&6
1000 test "$ac_cv_cygwin" = yes && CYGWIN=yes
1001 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1002 echo "configure:1003: checking for mingw32 environment" >&5
1003 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1004 echo $ac_n "(cached) $ac_c" 1>&6
1006 cat > conftest.$ac_ext <<EOF
1007 #line 1008 "configure"
1008 #include "confdefs.h"
1014 if { (eval echo configure:1015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1018 echo "configure: failed program was:" >&5
1019 cat conftest.$ac_ext >&5
1027 echo "$ac_t""$ac_cv_mingw32" 1>&6
1029 test "$ac_cv_mingw32" = yes && MINGW32=yes
1031 # Check whether --enable-multilib or --disable-multilib was given.
1032 if test "${enable_multilib+set}" = set; then
1033 enableval="$enable_multilib"
1034 case "${enableval}" in
1035 yes) multilib=yes ;;
1037 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1043 # When building with srcdir == objdir, links to the source files will
1044 # be created in directories within the target_subdir. We have to
1045 # adjust toplevel_srcdir accordingly, so that configure finds
1046 # install-sh and other auxiliary files that live in the top-level
1048 if test "${srcdir}" = "."; then
1049 if test -z "${with_target_subdir}"; then
1052 if test "${with_target_subdir}" != "."; then
1053 toprel="${with_multisrctop}../.."
1055 toprel="${with_multisrctop}.."
1062 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1063 if test -f $ac_dir/install-sh; then
1065 ac_install_sh="$ac_aux_dir/install-sh -c"
1067 elif test -f $ac_dir/install.sh; then
1069 ac_install_sh="$ac_aux_dir/install.sh -c"
1073 if test -z "$ac_aux_dir"; then
1074 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1076 ac_config_guess=$ac_aux_dir/config.guess
1077 ac_config_sub=$ac_aux_dir/config.sub
1078 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1080 toplevel_srcdir=\${top_srcdir}/$toprel
1083 #possibly test for the presence of the compiler sources here?
1085 # Export build and source directories.
1086 # These need to be absolute paths, yet at the same time need to
1087 # canonicalize only relative paths, because then amd will not unmount
1088 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1089 glibcpp_builddir=`${PWDCMD-pwd}`
1091 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1092 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1099 for ac_prog in gawk mawk nawk awk
1101 # Extract the first word of "$ac_prog", so it can be a program name with args.
1102 set dummy $ac_prog; ac_word=$2
1103 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1104 echo "configure:1105: checking for $ac_word" >&5
1105 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1106 echo $ac_n "(cached) $ac_c" 1>&6
1108 if test -n "$AWK"; then
1109 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1113 for ac_dir in $ac_dummy; do
1114 test -z "$ac_dir" && ac_dir=.
1115 if test -f $ac_dir/$ac_word; then
1116 ac_cv_prog_AWK="$ac_prog"
1123 AWK="$ac_cv_prog_AWK"
1124 if test -n "$AWK"; then
1125 echo "$ac_t""$AWK" 1>&6
1127 echo "$ac_t""no" 1>&6
1130 test -n "$AWK" && break
1133 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1134 # be 'cp -p' if linking isn't available. Uncomment the next line to
1135 # force a particular method.
1136 #ac_cv_prog_LN_S='cp -p'
1137 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1138 echo "configure:1139: checking whether ln -s works" >&5
1139 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1140 echo $ac_n "(cached) $ac_c" 1>&6
1143 if ln -s X conftestdata 2>/dev/null
1146 ac_cv_prog_LN_S="ln -s"
1151 LN_S="$ac_cv_prog_LN_S"
1152 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1153 echo "$ac_t""yes" 1>&6
1155 echo "$ac_t""no" 1>&6
1159 # We use these options to decide which functions to include.
1160 # Check whether --with-target-subdir or --without-target-subdir was given.
1161 if test "${with_target_subdir+set}" = set; then
1162 withval="$with_target_subdir"
1166 # Check whether --with-cross-host or --without-cross-host was given.
1167 if test "${with_cross_host+set}" = set; then
1168 withval="$with_cross_host"
1173 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1176 # Never versions of autoconf add an underscore to these functions.
1177 # Prevent future problems ...
1184 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1185 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1186 # are probably using a cross compiler, which will not be able to fully
1187 # link an executable. This is addressed in later versions of autoconf.
1192 # Extract the first word of "gcc", so it can be a program name with args.
1193 set dummy gcc; ac_word=$2
1194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1195 echo "configure:1196: checking for $ac_word" >&5
1196 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1197 echo $ac_n "(cached) $ac_c" 1>&6
1199 if test -n "$CC"; then
1200 ac_cv_prog_CC="$CC" # Let the user override the test.
1202 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1204 for ac_dir in $ac_dummy; do
1205 test -z "$ac_dir" && ac_dir=.
1206 if test -f $ac_dir/$ac_word; then
1215 if test -n "$CC"; then
1216 echo "$ac_t""$CC" 1>&6
1218 echo "$ac_t""no" 1>&6
1221 if test -z "$CC"; then
1222 # Extract the first word of "cc", so it can be a program name with args.
1223 set dummy cc; ac_word=$2
1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1225 echo "configure:1226: checking for $ac_word" >&5
1226 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 if test -n "$CC"; then
1230 ac_cv_prog_CC="$CC" # Let the user override the test.
1232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1239 ac_prog_rejected=yes
1247 if test $ac_prog_rejected = yes; then
1248 # We found a bogon in the path, so make sure we never use it.
1249 set dummy $ac_cv_prog_CC
1251 if test $# -gt 0; then
1252 # We chose a different compiler from the bogus one.
1253 # However, it has the same basename, so the bogon will be chosen
1254 # first if we set CC to just the basename; use the full file name.
1256 set dummy "$ac_dir/$ac_word" "$@"
1264 if test -n "$CC"; then
1265 echo "$ac_t""$CC" 1>&6
1267 echo "$ac_t""no" 1>&6
1270 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1273 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1274 echo "configure:1275: checking whether we are using GNU C" >&5
1275 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1276 echo $ac_n "(cached) $ac_c" 1>&6
1278 cat > conftest.c <<EOF
1283 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1290 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1292 if test $ac_cv_prog_gcc = yes; then
1294 ac_test_CFLAGS="${CFLAGS+set}"
1295 ac_save_CFLAGS="$CFLAGS"
1297 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1298 echo "configure:1299: checking whether ${CC-cc} accepts -g" >&5
1299 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1300 echo $ac_n "(cached) $ac_c" 1>&6
1302 echo 'void f(){}' > conftest.c
1303 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1312 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1313 if test "$ac_test_CFLAGS" = set; then
1314 CFLAGS="$ac_save_CFLAGS"
1315 elif test $ac_cv_prog_cc_g = yes; then
1322 test "${CFLAGS+set}" = set || CFLAGS="-g"
1326 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1327 # will try to link in libstdc++.
1331 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1332 # flags that come in CXX while configuring libstdc++. They're different
1333 # from those used for all other target libraries. If CXX is set in
1334 # the environment, respect that here.
1336 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1338 # Extract the first word of "$ac_prog", so it can be a program name with args.
1339 set dummy $ac_prog; ac_word=$2
1340 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1341 echo "configure:1342: checking for $ac_word" >&5
1342 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1343 echo $ac_n "(cached) $ac_c" 1>&6
1345 if test -n "$glibcpp_CXX"; then
1346 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1350 for ac_dir in $ac_dummy; do
1351 test -z "$ac_dir" && ac_dir=.
1352 if test -f $ac_dir/$ac_word; then
1353 ac_cv_prog_glibcpp_CXX="$ac_prog"
1360 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1361 if test -n "$glibcpp_CXX"; then
1362 echo "$ac_t""$glibcpp_CXX" 1>&6
1364 echo "$ac_t""no" 1>&6
1367 test -n "$glibcpp_CXX" && break
1369 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1373 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1375 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1376 echo "configure:1377: checking whether we are using GNU C++" >&5
1377 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1378 echo $ac_n "(cached) $ac_c" 1>&6
1380 cat > conftest.C <<EOF
1385 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1392 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1394 if test $ac_cv_prog_gxx = yes; then
1396 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1397 ac_save_CXXFLAGS="$CXXFLAGS"
1399 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1400 echo "configure:1401: checking whether ${CXX-g++} accepts -g" >&5
1401 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1402 echo $ac_n "(cached) $ac_c" 1>&6
1404 echo 'void f(){}' > conftest.cc
1405 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1406 ac_cv_prog_cxx_g=yes
1414 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1415 if test "$ac_test_CXXFLAGS" = set; then
1416 CXXFLAGS="$ac_save_CXXFLAGS"
1417 elif test $ac_cv_prog_cxx_g = yes; then
1424 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1428 # For some reason, gettext needs this.
1430 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1431 echo "configure:1432: checking for strerror in -lcposix" >&5
1432 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1434 echo $ac_n "(cached) $ac_c" 1>&6
1436 ac_save_LIBS="$LIBS"
1437 LIBS="-lcposix $LIBS"
1438 cat > conftest.$ac_ext <<EOF
1439 #line 1440 "configure"
1440 #include "confdefs.h"
1441 /* Override any gcc2 internal prototype to avoid an error. */
1442 /* We use char because int might match the return type of a gcc2
1443 builtin and then its argument prototype would still apply. */
1450 if { (eval echo configure:1451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1452 eval "ac_cv_lib_$ac_lib_var=yes"
1454 echo "configure: failed program was:" >&5
1455 cat conftest.$ac_ext >&5
1457 eval "ac_cv_lib_$ac_lib_var=no"
1460 LIBS="$ac_save_LIBS"
1463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1464 echo "$ac_t""yes" 1>&6
1465 LIBS="$LIBS -lcposix"
1467 echo "$ac_t""no" 1>&6
1473 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1474 set dummy ${ac_tool_prefix}as; ac_word=$2
1475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1476 echo "configure:1477: checking for $ac_word" >&5
1477 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1478 echo $ac_n "(cached) $ac_c" 1>&6
1480 if test -n "$AS"; then
1481 ac_cv_prog_AS="$AS" # Let the user override the test.
1483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1485 for ac_dir in $ac_dummy; do
1486 test -z "$ac_dir" && ac_dir=.
1487 if test -f $ac_dir/$ac_word; then
1488 ac_cv_prog_AS="${ac_tool_prefix}as"
1493 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1497 if test -n "$AS"; then
1498 echo "$ac_t""$AS" 1>&6
1500 echo "$ac_t""no" 1>&6
1505 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1506 set dummy ${ac_tool_prefix}ar; ac_word=$2
1507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1508 echo "configure:1509: checking for $ac_word" >&5
1509 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1510 echo $ac_n "(cached) $ac_c" 1>&6
1512 if test -n "$AR"; then
1513 ac_cv_prog_AR="$AR" # Let the user override the test.
1515 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1517 for ac_dir in $ac_dummy; do
1518 test -z "$ac_dir" && ac_dir=.
1519 if test -f $ac_dir/$ac_word; then
1520 ac_cv_prog_AR="${ac_tool_prefix}ar"
1525 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1529 if test -n "$AR"; then
1530 echo "$ac_t""$AR" 1>&6
1532 echo "$ac_t""no" 1>&6
1537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1539 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1540 echo "configure:1541: checking for $ac_word" >&5
1541 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1542 echo $ac_n "(cached) $ac_c" 1>&6
1544 if test -n "$RANLIB"; then
1545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1547 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1549 for ac_dir in $ac_dummy; do
1550 test -z "$ac_dir" && ac_dir=.
1551 if test -f $ac_dir/$ac_word; then
1552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1559 RANLIB="$ac_cv_prog_RANLIB"
1560 if test -n "$RANLIB"; then
1561 echo "$ac_t""$RANLIB" 1>&6
1563 echo "$ac_t""no" 1>&6
1567 if test -z "$ac_cv_prog_RANLIB"; then
1568 if test -n "$ac_tool_prefix"; then
1569 # Extract the first word of "ranlib", so it can be a program name with args.
1570 set dummy ranlib; ac_word=$2
1571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1572 echo "configure:1573: checking for $ac_word" >&5
1573 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1574 echo $ac_n "(cached) $ac_c" 1>&6
1576 if test -n "$RANLIB"; then
1577 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1579 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1581 for ac_dir in $ac_dummy; do
1582 test -z "$ac_dir" && ac_dir=.
1583 if test -f $ac_dir/$ac_word; then
1584 ac_cv_prog_RANLIB="ranlib"
1589 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1592 RANLIB="$ac_cv_prog_RANLIB"
1593 if test -n "$RANLIB"; then
1594 echo "$ac_t""$RANLIB" 1>&6
1596 echo "$ac_t""no" 1>&6
1600 RANLIB="ranlib-not-found-in-path-error"
1604 # Find a good install program. We prefer a C program (faster),
1605 # so one script is as good as another. But avoid the broken or
1606 # incompatible versions:
1607 # SysV /etc/install, /usr/sbin/install
1608 # SunOS /usr/etc/install
1609 # IRIX /sbin/install
1611 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1612 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1613 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1614 # ./install, which can be erroneously created by make from ./install.sh.
1615 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1616 echo "configure:1617: checking for a BSD compatible install" >&5
1617 if test -z "$INSTALL"; then
1618 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1619 echo $ac_n "(cached) $ac_c" 1>&6
1621 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1622 for ac_dir in $PATH; do
1623 # Account for people who put trailing slashes in PATH elements.
1625 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1627 # OSF1 and SCO ODT 3.0 have their own names for install.
1628 # Don't use installbsd from OSF since it installs stuff as root
1630 for ac_prog in ginstall scoinst install; do
1631 if test -f $ac_dir/$ac_prog; then
1632 if test $ac_prog = install &&
1633 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1634 # AIX install. It has an incompatible calling convention.
1637 ac_cv_path_install="$ac_dir/$ac_prog -c"
1648 if test "${ac_cv_path_install+set}" = set; then
1649 INSTALL="$ac_cv_path_install"
1651 # As a last resort, use the slow shell script. We don't cache a
1652 # path for INSTALL within a source directory, because that will
1653 # break other packages using the cache if that directory is
1654 # removed, or if the path is relative.
1655 INSTALL="$ac_install_sh"
1658 echo "$ac_t""$INSTALL" 1>&6
1660 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1661 # It thinks the first close brace ends the variable substitution.
1662 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1666 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1669 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1670 echo "configure:1671: checking whether to enable maintainer-specific portions of Makefiles" >&5
1671 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1672 if test "${enable_maintainer_mode+set}" = set; then
1673 enableval="$enable_maintainer_mode"
1674 USE_MAINTAINER_MODE=$enableval
1676 USE_MAINTAINER_MODE=no
1679 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1682 if test $USE_MAINTAINER_MODE = yes; then
1683 MAINTAINER_MODE_TRUE=
1684 MAINTAINER_MODE_FALSE='#'
1686 MAINTAINER_MODE_TRUE='#'
1687 MAINTAINER_MODE_FALSE=
1689 MAINT=$MAINTAINER_MODE_TRUE
1693 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1694 # at least currently, we never actually build a program, so we never
1695 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1696 # fails, because we are probably configuring with a cross compiler
1697 # which can't create executables. So we include AC_EXEEXT to keep
1698 # automake happy, but we don't execute it, since we don't care about
1701 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1702 # to nothing, so nothing would remain between `then' and `fi' if it
1703 # were not for the `:' below.
1707 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1708 echo "configure:1709: checking for executable suffix" >&5
1709 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1710 echo $ac_n "(cached) $ac_c" 1>&6
1712 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1716 echo 'int main () { return 0; }' > conftest.$ac_ext
1718 if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1719 for file in conftest.*; do
1721 *.c | *.o | *.obj) ;;
1722 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1726 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1729 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1734 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1735 echo "$ac_t""${ac_cv_exeext}" 1>&6
1740 case ${glibcpp_basedir} in
1741 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1742 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1745 # Find platform-specific directories containing configuration info. In
1746 # addition to possibly modifying the same flags, it also sets up symlinks.
1748 . ${glibcpp_basedir}/configure.target
1749 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1750 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1756 # Check whether --enable-shared or --disable-shared was given.
1757 if test "${enable_shared+set}" = set; then
1758 enableval="$enable_shared"
1759 p=${PACKAGE-default}
1761 yes) enable_shared=yes ;;
1762 no) enable_shared=no ;;
1765 # Look at the argument we got. We use all the common list separators.
1766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1767 for pkg in $enableval; do
1768 if test "X$pkg" = "X$p"; then
1779 # Check whether --enable-static or --disable-static was given.
1780 if test "${enable_static+set}" = set; then
1781 enableval="$enable_static"
1782 p=${PACKAGE-default}
1784 yes) enable_static=yes ;;
1785 no) enable_static=no ;;
1788 # Look at the argument we got. We use all the common list separators.
1789 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1790 for pkg in $enableval; do
1791 if test "X$pkg" = "X$p"; then
1802 # Check whether --enable-fast-install or --disable-fast-install was given.
1803 if test "${enable_fast_install+set}" = set; then
1804 enableval="$enable_fast_install"
1805 p=${PACKAGE-default}
1807 yes) enable_fast_install=yes ;;
1808 no) enable_fast_install=no ;;
1810 enable_fast_install=no
1811 # Look at the argument we got. We use all the common list separators.
1812 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1813 for pkg in $enableval; do
1814 if test "X$pkg" = "X$p"; then
1815 enable_fast_install=yes
1822 enable_fast_install=yes
1825 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1826 if test "${with_gnu_ld+set}" = set; then
1827 withval="$with_gnu_ld"
1828 test "$withval" = no || with_gnu_ld=yes
1834 if test "$GCC" = yes; then
1835 # Check if gcc -print-prog-name=ld gives a path.
1836 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1837 echo "configure:1838: checking for ld used by GCC" >&5
1840 # gcc leaves a trailing carriage return which upsets mingw
1841 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1843 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1846 # Accept absolute paths.
1847 [\\/]* | [A-Za-z]:[\\/]*)
1848 re_direlt='/[^/][^/]*/\.\./'
1849 # Canonicalize the path of ld
1850 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1851 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1852 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1854 test -z "$LD" && LD="$ac_prog"
1857 # If it fails, then pretend we aren't using GCC.
1861 # If it is relative, then search for the first ld in PATH.
1865 elif test "$with_gnu_ld" = yes; then
1866 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1867 echo "configure:1868: checking for GNU ld" >&5
1869 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1870 echo "configure:1871: checking for non-GNU ld" >&5
1872 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1873 echo $ac_n "(cached) $ac_c" 1>&6
1875 if test -z "$LD"; then
1876 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1877 for ac_dir in $PATH; do
1878 test -z "$ac_dir" && ac_dir=.
1879 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1880 lt_cv_path_LD="$ac_dir/$ac_prog"
1881 # Check to see if the program is GNU ld. I'd rather use --version,
1882 # but apparently some GNU ld's only accept -v.
1883 # Break only if it was the GNU/non-GNU ld that we prefer.
1884 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1885 test "$with_gnu_ld" != no && break
1887 test "$with_gnu_ld" != yes && break
1893 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1898 if test -n "$LD"; then
1899 echo "$ac_t""$LD" 1>&6
1901 echo "$ac_t""no" 1>&6
1903 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1904 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1905 echo "configure:1906: checking if the linker ($LD) is GNU ld" >&5
1906 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1910 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1911 lt_cv_prog_gnu_ld=yes
1913 lt_cv_prog_gnu_ld=no
1917 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1918 with_gnu_ld=$lt_cv_prog_gnu_ld
1921 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1922 echo "configure:1923: checking for $LD option to reload object files" >&5
1923 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1924 echo $ac_n "(cached) $ac_c" 1>&6
1926 lt_cv_ld_reload_flag='-r'
1929 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1930 reload_flag=$lt_cv_ld_reload_flag
1931 test -n "$reload_flag" && reload_flag=" $reload_flag"
1933 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1934 echo "configure:1935: checking for BSD-compatible nm" >&5
1935 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1936 echo $ac_n "(cached) $ac_c" 1>&6
1938 if test -n "$NM"; then
1939 # Let the user override the test.
1942 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1943 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1944 test -z "$ac_dir" && ac_dir=.
1945 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1946 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1947 # Check to see if the nm accepts a BSD-compat flag.
1948 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1949 # nm: unknown option "B" ignored
1950 # Tru64's nm complains that /dev/null is an invalid object file
1951 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1952 lt_cv_path_NM="$tmp_nm -B"
1954 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1955 lt_cv_path_NM="$tmp_nm -p"
1958 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1959 continue # so that we can try to find one that supports BSD flags
1964 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1969 echo "$ac_t""$NM" 1>&6
1971 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1972 echo "configure:1973: checking how to recognise dependant libraries" >&5
1973 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1974 echo $ac_n "(cached) $ac_c" 1>&6
1976 lt_cv_file_magic_cmd='$MAGIC_CMD'
1977 lt_cv_file_magic_test_file=
1978 lt_cv_deplibs_check_method='unknown'
1979 # Need to set the preceding variable on all platforms that support
1980 # interlibrary dependencies.
1981 # 'none' -- dependencies not supported.
1982 # `unknown' -- same as none, but documents that we really don't know.
1983 # 'pass_all' -- all dependencies passed with no checks.
1984 # 'test_compile' -- check by making test program.
1985 # 'file_magic [regex]' -- check by looking for files in library path
1986 # which responds to the $file_magic_cmd with a given egrep regex.
1987 # If you have `file' or equivalent on your system and you're not sure
1988 # whether `pass_all' will *always* work, you probably want this one.
1992 lt_cv_deplibs_check_method=pass_all
1996 lt_cv_deplibs_check_method=pass_all
2000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2001 lt_cv_file_magic_cmd='/usr/bin/file -L'
2002 lt_cv_file_magic_test_file=/shlib/libc.so
2005 cygwin* | mingw* |pw32*)
2006 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2007 lt_cv_file_magic_cmd='$OBJDUMP -f'
2010 darwin* | rhapsody*)
2011 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2012 lt_cv_file_magic_cmd='/usr/bin/file -L'
2014 rhapsody* | darwin1.012)
2015 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2018 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2024 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2027 # Not sure whether the presence of OpenBSD here was a mistake.
2028 # Let's accept both of them until this is cleared up.
2029 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2030 lt_cv_file_magic_cmd=/usr/bin/file
2031 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2035 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_deplibs_check_method=pass_all
2044 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2045 lt_cv_file_magic_cmd=/usr/bin/file
2046 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2052 # this will be overridden with pass_all, but let us keep it just in case
2053 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2057 *-32|*"-32 ") libmagic=32-bit;;
2058 *-n32|*"-n32 ") libmagic=N32;;
2059 *-64|*"-64 ") libmagic=64-bit;;
2060 *) libmagic=never-match;;
2062 # this will be overridden with pass_all, but let us keep it just in case
2063 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2066 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2067 lt_cv_deplibs_check_method=pass_all
2070 # This must be Linux ELF.
2073 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2074 lt_cv_deplibs_check_method=pass_all ;;
2076 # glibc up to 2.1.1 does not perform some relocations on ARM
2077 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2079 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2083 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2084 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2086 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2092 lt_cv_file_magic_cmd=/usr/bin/file
2093 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2096 osf3* | osf4* | osf5*)
2097 # this will be overridden with pass_all, but let us keep it just in case
2098 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2099 lt_cv_file_magic_test_file=/shlib/libc.so
2100 lt_cv_deplibs_check_method=pass_all
2104 lt_cv_deplibs_check_method=pass_all
2108 lt_cv_deplibs_check_method=pass_all
2109 lt_cv_file_magic_test_file=/lib/libc.so
2112 sysv5uw[78]* | sysv4*uw2*)
2113 lt_cv_deplibs_check_method=pass_all
2116 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2117 case $host_vendor in
2119 lt_cv_deplibs_check_method=pass_all
2122 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]'
2123 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2131 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2132 file_magic_cmd=$lt_cv_file_magic_cmd
2133 deplibs_check_method=$lt_cv_deplibs_check_method
2135 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2136 echo "configure:2137: checking for object suffix" >&5
2137 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2138 echo $ac_n "(cached) $ac_c" 1>&6
2141 echo 'int i = 1;' > conftest.$ac_ext
2142 if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2143 for ac_file in conftest.*; do
2146 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2150 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2155 echo "$ac_t""$ac_cv_objext" 1>&6
2156 OBJEXT=$ac_cv_objext
2157 ac_objext=$ac_cv_objext
2159 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2161 # Only perform the check for file, if the check method requires it
2162 case $deplibs_check_method in
2164 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2165 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2166 echo "configure:2167: checking for ${ac_tool_prefix}file" >&5
2167 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2168 echo $ac_n "(cached) $ac_c" 1>&6
2172 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2175 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2178 ac_save_MAGIC_CMD="$MAGIC_CMD"
2179 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2180 ac_dummy="/usr/bin:$PATH"
2181 for ac_dir in $ac_dummy; do
2182 test -z "$ac_dir" && ac_dir=.
2183 if test -f $ac_dir/${ac_tool_prefix}file; then
2184 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2185 if test -n "$file_magic_test_file"; then
2186 case $deplibs_check_method in
2188 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2189 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2190 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2191 egrep "$file_magic_regex" > /dev/null; then
2196 *** Warning: the command libtool uses to detect shared libraries,
2197 *** $file_magic_cmd, produces output that libtool cannot recognize.
2198 *** The result is that libtool may fail to recognize shared libraries
2199 *** as such. This will affect the creation of libtool libraries that
2200 *** depend on shared libraries, but programs linked with such libtool
2201 *** libraries will work regardless of this problem. Nevertheless, you
2202 *** may want to report the problem to your system manager and/or to
2203 *** bug-libtool@gnu.org
2213 MAGIC_CMD="$ac_save_MAGIC_CMD"
2218 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2219 if test -n "$MAGIC_CMD"; then
2220 echo "$ac_t""$MAGIC_CMD" 1>&6
2222 echo "$ac_t""no" 1>&6
2225 if test -z "$lt_cv_path_MAGIC_CMD"; then
2226 if test -n "$ac_tool_prefix"; then
2227 echo $ac_n "checking for file""... $ac_c" 1>&6
2228 echo "configure:2229: checking for file" >&5
2229 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2230 echo $ac_n "(cached) $ac_c" 1>&6
2234 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2237 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2240 ac_save_MAGIC_CMD="$MAGIC_CMD"
2241 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2242 ac_dummy="/usr/bin:$PATH"
2243 for ac_dir in $ac_dummy; do
2244 test -z "$ac_dir" && ac_dir=.
2245 if test -f $ac_dir/file; then
2246 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2247 if test -n "$file_magic_test_file"; then
2248 case $deplibs_check_method in
2250 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2252 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2253 egrep "$file_magic_regex" > /dev/null; then
2258 *** Warning: the command libtool uses to detect shared libraries,
2259 *** $file_magic_cmd, produces output that libtool cannot recognize.
2260 *** The result is that libtool may fail to recognize shared libraries
2261 *** as such. This will affect the creation of libtool libraries that
2262 *** depend on shared libraries, but programs linked with such libtool
2263 *** libraries will work regardless of this problem. Nevertheless, you
2264 *** may want to report the problem to your system manager and/or to
2265 *** bug-libtool@gnu.org
2275 MAGIC_CMD="$ac_save_MAGIC_CMD"
2280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2281 if test -n "$MAGIC_CMD"; then
2282 echo "$ac_t""$MAGIC_CMD" 1>&6
2284 echo "$ac_t""no" 1>&6
2296 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2297 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2298 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2299 echo "configure:2300: checking for $ac_word" >&5
2300 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2301 echo $ac_n "(cached) $ac_c" 1>&6
2303 if test -n "$RANLIB"; then
2304 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2308 for ac_dir in $ac_dummy; do
2309 test -z "$ac_dir" && ac_dir=.
2310 if test -f $ac_dir/$ac_word; then
2311 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2318 RANLIB="$ac_cv_prog_RANLIB"
2319 if test -n "$RANLIB"; then
2320 echo "$ac_t""$RANLIB" 1>&6
2322 echo "$ac_t""no" 1>&6
2326 if test -z "$ac_cv_prog_RANLIB"; then
2327 if test -n "$ac_tool_prefix"; then
2328 # Extract the first word of "ranlib", so it can be a program name with args.
2329 set dummy ranlib; ac_word=$2
2330 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2331 echo "configure:2332: checking for $ac_word" >&5
2332 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2333 echo $ac_n "(cached) $ac_c" 1>&6
2335 if test -n "$RANLIB"; then
2336 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2338 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2340 for ac_dir in $ac_dummy; do
2341 test -z "$ac_dir" && ac_dir=.
2342 if test -f $ac_dir/$ac_word; then
2343 ac_cv_prog_RANLIB="ranlib"
2348 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2351 RANLIB="$ac_cv_prog_RANLIB"
2352 if test -n "$RANLIB"; then
2353 echo "$ac_t""$RANLIB" 1>&6
2355 echo "$ac_t""no" 1>&6
2363 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2364 set dummy ${ac_tool_prefix}strip; ac_word=$2
2365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2366 echo "configure:2367: checking for $ac_word" >&5
2367 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2368 echo $ac_n "(cached) $ac_c" 1>&6
2370 if test -n "$STRIP"; then
2371 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2375 for ac_dir in $ac_dummy; do
2376 test -z "$ac_dir" && ac_dir=.
2377 if test -f $ac_dir/$ac_word; then
2378 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2385 STRIP="$ac_cv_prog_STRIP"
2386 if test -n "$STRIP"; then
2387 echo "$ac_t""$STRIP" 1>&6
2389 echo "$ac_t""no" 1>&6
2393 if test -z "$ac_cv_prog_STRIP"; then
2394 if test -n "$ac_tool_prefix"; then
2395 # Extract the first word of "strip", so it can be a program name with args.
2396 set dummy strip; ac_word=$2
2397 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2398 echo "configure:2399: checking for $ac_word" >&5
2399 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2400 echo $ac_n "(cached) $ac_c" 1>&6
2402 if test -n "$STRIP"; then
2403 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2405 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2407 for ac_dir in $ac_dummy; do
2408 test -z "$ac_dir" && ac_dir=.
2409 if test -f $ac_dir/$ac_word; then
2410 ac_cv_prog_STRIP="strip"
2415 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2418 STRIP="$ac_cv_prog_STRIP"
2419 if test -n "$STRIP"; then
2420 echo "$ac_t""$STRIP" 1>&6
2422 echo "$ac_t""no" 1>&6
2431 # Check for any special flags to pass to ltconfig.
2432 libtool_flags="--cache-file=$cache_file"
2433 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2434 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2435 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2436 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2437 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2438 libtool_flags="$libtool_flags --enable-dlopen"
2440 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2441 if test "${enable_libtool_lock+set}" = set; then
2442 enableval="$enable_libtool_lock"
2446 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2447 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2449 # Check whether --with-pic or --without-pic was given.
2450 if test "${with_pic+set}" = set; then
2457 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2458 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2460 # Some flags need to be propagated to the compiler or linker for good
2464 # Find out which ABI we are using.
2465 echo '#line 2466 "configure"' > conftest.$ac_ext
2466 if { (eval echo configure:2467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2467 case `/usr/bin/file conftest.$ac_objext` in
2483 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2484 SAVE_CFLAGS="$CFLAGS"
2485 CFLAGS="$CFLAGS -belf"
2486 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2487 echo "configure:2488: checking whether the C compiler needs -belf" >&5
2488 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2489 echo $ac_n "(cached) $ac_c" 1>&6
2493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2494 ac_cpp='$CPP $CPPFLAGS'
2495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2497 cross_compiling=$ac_cv_prog_cc_cross
2499 cat > conftest.$ac_ext <<EOF
2500 #line 2501 "configure"
2501 #include "confdefs.h"
2507 if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2509 lt_cv_cc_needs_belf=yes
2511 echo "configure: failed program was:" >&5
2512 cat conftest.$ac_ext >&5
2514 lt_cv_cc_needs_belf=no
2518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2519 ac_cpp='$CPP $CPPFLAGS'
2520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2522 cross_compiling=$ac_cv_prog_cc_cross
2526 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2527 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2528 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2529 CFLAGS="$SAVE_CFLAGS"
2536 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2537 echo "configure:2538: checking how to run the C++ preprocessor" >&5
2538 if test -z "$CXXCPP"; then
2539 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2540 echo $ac_n "(cached) $ac_c" 1>&6
2543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2544 ac_cpp='$CXXCPP $CPPFLAGS'
2545 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2546 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2547 cross_compiling=$ac_cv_prog_cxx_cross
2548 CXXCPP="${CXX-g++} -E"
2549 cat > conftest.$ac_ext <<EOF
2550 #line 2551 "configure"
2551 #include "confdefs.h"
2554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2555 { (eval echo configure:2556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2557 if test -z "$ac_err"; then
2561 echo "configure: failed program was:" >&5
2562 cat conftest.$ac_ext >&5
2567 ac_cv_prog_CXXCPP="$CXXCPP"
2569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2570 ac_cpp='$CPP $CPPFLAGS'
2571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2573 cross_compiling=$ac_cv_prog_cc_cross
2576 CXXCPP="$ac_cv_prog_CXXCPP"
2577 echo "$ac_t""$CXXCPP" 1>&6
2580 # Save cache, so that ltconfig can load it
2581 cat > confcache <<\EOF
2582 # This file is a shell script that caches the results of configure
2583 # tests run on this system so they can be shared between configure
2584 # scripts and configure runs. It is not useful on other systems.
2585 # If it contains results you don't want to keep, you may remove or edit it.
2587 # By default, configure uses ./config.cache as the cache file,
2588 # creating it if it does not exist already. You can give configure
2589 # the --cache-file=FILE option to use a different cache file; that is
2590 # what configure does when it calls configure scripts in
2591 # subdirectories, so they share the cache.
2592 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2593 # config.status only pays attention to the cache file if you give it the
2594 # --recheck option to rerun configure.
2597 # The following way of writing the cache mishandles newlines in values,
2598 # but we know of no workaround that is simple, portable, and efficient.
2599 # So, don't put newlines in cache variables' values.
2600 # Ultrix sh set writes to stderr and can't be redirected directly,
2601 # and sets the high bit in the cache file unless we assign to the vars.
2603 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2605 # `set' does not quote correctly, so add quotes (double-quote substitution
2606 # turns \\\\ into \\, and sed turns \\ into \).
2608 -e "s/'/'\\\\''/g" \
2609 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2612 # `set' quotes correctly as required by POSIX, so do not add quotes.
2613 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2616 if cmp -s $cache_file confcache; then
2619 if test -w $cache_file; then
2620 echo "updating cache $cache_file"
2621 cat confcache > $cache_file
2623 echo "not updating unwritable cache $cache_file"
2629 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2630 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2631 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2632 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2633 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2634 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2635 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2636 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2637 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2638 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2640 # Reload cache, that may have been modified by ltconfig
2641 if test -r "$cache_file"; then
2642 echo "loading cache $cache_file"
2645 echo "creating cache $cache_file"
2650 # This can be used to rebuild libtool when needed
2651 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2653 # Always use our own libtool.
2654 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2656 # Redirect the config.log output again, so that the ltconfig log is not
2657 # clobbered by the next message.
2658 exec 5>>./config.log
2662 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2664 lt_save_CFLAGS="$CFLAGS"
2665 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2666 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2667 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2668 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2669 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2670 deplibs_check_method="$deplibs_check_method" \
2671 file_magic_cmd="$file_magic_cmd" \
2672 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2673 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2674 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2676 CFLAGS="$lt_save_CFLAGS"
2678 # Redirect the config.log output again, so that the ltconfig log is not
2679 # clobbered by the next message.
2680 exec 5>>./config.log
2690 # Check for c++ or library specific bits that don't require linking.
2691 #GLIBCPP_CHECK_COMPILER_VERSION
2692 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2693 echo "configure:2694: checking for GNU make" >&5
2694 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2695 echo $ac_n "(cached) $ac_c" 1>&6
2697 _cv_gnu_make_command='' ;
2698 for a in "${MAKE-make}" make gmake gnumake ; do
2699 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2701 _cv_gnu_make_command=$a ;
2708 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2709 if test "x$_cv_gnu_make_command" != "x" ; then
2717 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2718 # Check whether --enable-debug or --disable-debug was given.
2719 if test "${enable_debug+set}" = set; then
2720 enableval="$enable_debug"
2721 case "${enableval}" in
2722 yes) enable_debug=yes ;;
2723 no) enable_debug=no ;;
2724 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2730 case "${enable_debug}" in
2732 DEBUG_FLAGS='-O0 -ggdb3'
2740 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2741 echo "configure:2742: checking how to run the C preprocessor" >&5
2742 # On Suns, sometimes $CPP names a directory.
2743 if test -n "$CPP" && test -d "$CPP"; then
2746 if test -z "$CPP"; then
2747 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2748 echo $ac_n "(cached) $ac_c" 1>&6
2750 # This must be in double quotes, not single quotes, because CPP may get
2751 # substituted into the Makefile and "${CC-cc}" will confuse make.
2753 # On the NeXT, cc -E runs the code through the compiler's parser,
2754 # not just through cpp.
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2764 if test -z "$ac_err"; then
2768 echo "configure: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2771 CPP="${CC-cc} -E -traditional-cpp"
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure"
2774 #include "confdefs.h"
2778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2781 if test -z "$ac_err"; then
2785 echo "configure: failed program was:" >&5
2786 cat conftest.$ac_ext >&5
2788 CPP="${CC-cc} -nologo -E"
2789 cat > conftest.$ac_ext <<EOF
2790 #line 2791 "configure"
2791 #include "confdefs.h"
2795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2796 { (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2798 if test -z "$ac_err"; then
2802 echo "configure: failed program was:" >&5
2803 cat conftest.$ac_ext >&5
2812 ac_cv_prog_CPP="$CPP"
2814 CPP="$ac_cv_prog_CPP"
2816 ac_cv_prog_CPP="$CPP"
2818 echo "$ac_t""$CPP" 1>&6
2821 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2822 echo "configure:2823: checking for cstdio to use" >&5
2823 # Check whether --enable-cstdio or --disable-cstdio was given.
2824 if test "${enable_cstdio+set}" = set; then
2825 enableval="$enable_cstdio"
2826 if test x$enable_cstdio = xno; then
2834 enable_cstdio_flag=$enable_cstdio
2836 case x${enable_cstdio_flag} in
2838 CSTDIO_H=config/io/c_io_libio.h
2839 BASIC_FILE_H=config/io/basic_file_libio.h
2840 BASIC_FILE_CC=config/io/basic_file_libio.cc
2841 echo "$ac_t""libio" 1>&6
2843 # see if we are on a system with libio native (ie, linux)
2844 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2845 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2846 echo "configure:2847: checking for libio.h" >&5
2847 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2848 echo $ac_n "(cached) $ac_c" 1>&6
2850 cat > conftest.$ac_ext <<EOF
2851 #line 2852 "configure"
2852 #include "confdefs.h"
2855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2856 { (eval echo configure:2857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2858 if test -z "$ac_err"; then
2860 eval "ac_cv_header_$ac_safe=yes"
2863 echo "configure: failed program was:" >&5
2864 cat conftest.$ac_ext >&5
2866 eval "ac_cv_header_$ac_safe=no"
2870 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2871 echo "$ac_t""yes" 1>&6
2874 echo "$ac_t""no" 1>&6
2879 # Need to check and see what version of glibc is being used. If
2880 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2881 # compile most of libio for linux systems.
2882 if test x$has_libio = x"yes"; then
2885 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2886 echo "configure:2887: checking for glibc version >= 2.2" >&5
2887 cat > conftest.$ac_ext <<EOF
2888 #line 2889 "configure"
2889 #include "confdefs.h"
2891 #include <features.h>
2892 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2898 egrep "ok" >/dev/null 2>&1; then
2900 glibc_satisfactory=yes
2903 glibc_satisfactory=no
2907 echo "$ac_t""$glibc_satisfactory" 1>&6
2911 # XXX at the moment, admit defeat and force the recompilation
2912 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2913 glibc_satisfactory=no
2915 if test x$glibc_satisfactory = x"yes"; then
2920 # bkoz XXX need to add checks to enable this
2921 # pme XXX here's a first pass at such a check
2922 if test x$enable_c_mbchar != xno; then
2930 # Using libio, but <libio.h> doesn't exist on the target system. . .
2932 # bkoz XXX need to add checks to enable this
2933 # pme XXX here's a first pass at such a check
2934 if test x$enable_c_mbchar != xno; then
2941 xstdio | x | xno | xnone | xyes)
2943 CSTDIO_H=config/io/c_io_stdio.h
2944 BASIC_FILE_H=config/io/basic_file_stdio.h
2945 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2946 echo "$ac_t""stdio" 1>&6
2948 # We're not using stdio.
2953 echo "$enable_cstdio is an unknown io package" 1>&2
2961 # 2000-08-04 bkoz hack
2962 CCODECVT_C=config/io/c_io_libio_codecvt.c
2964 # 2000-08-04 bkoz hack
2968 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2969 GLIBCPP_BUILD_LIBIO_TRUE=
2970 GLIBCPP_BUILD_LIBIO_FALSE='#'
2972 GLIBCPP_BUILD_LIBIO_TRUE='#'
2973 GLIBCPP_BUILD_LIBIO_FALSE=
2977 if test "$need_libio" = yes; then
2978 GLIBCPP_NEED_LIBIO_TRUE=
2979 GLIBCPP_NEED_LIBIO_FALSE='#'
2981 GLIBCPP_NEED_LIBIO_TRUE='#'
2982 GLIBCPP_NEED_LIBIO_FALSE=
2986 if test "$need_wlibio" = yes; then
2987 GLIBCPP_NEED_WLIBIO_TRUE=
2988 GLIBCPP_NEED_WLIBIO_FALSE='#'
2990 GLIBCPP_NEED_WLIBIO_TRUE='#'
2991 GLIBCPP_NEED_WLIBIO_FALSE=
2993 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2994 libio_la=../libio/libio.la
3001 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3002 echo "configure:3003: checking for clocale to use" >&5
3003 # Check whether --enable-clocale or --disable-clocale was given.
3004 if test "${enable_clocale+set}" = set; then
3005 enableval="$enable_clocale"
3006 if test x$enable_clocale = xno; then
3014 enable_clocale_flag=$enable_clocale
3016 if test x$enable_clocale_flag = xno; then
3017 case x${target_os} in
3019 cat > conftest.$ac_ext <<EOF
3020 #line 3021 "configure"
3021 #include "confdefs.h"
3023 #include <features.h>
3024 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3030 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3032 enable_clocale_flag=gnu
3035 enable_clocale_flag=generic
3040 # Test for bugs early in glibc-2.2.x series
3041 if test x$enable_clocale_flag = xgnu; then
3042 if test "$cross_compiling" = yes; then
3043 enable_clocale_flag=generic
3045 cat > conftest.$ac_ext <<EOF
3046 #line 3047 "configure"
3047 #include "confdefs.h"
3049 #define _GNU_SOURCE 1
3053 const char __one[] = "Äuglein Augmen";
3054 const char __two[] = "Äuglein";
3059 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3060 loc_dup = __duplocale(loc);
3061 i = __strcoll_l(__one, __two, loc);
3062 j = __strcoll_l(__one, __two, loc_dup);
3067 if { (eval echo configure:3068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3069 enable_clocale_flag=gnu
3071 echo "configure: failed program was:" >&5
3072 cat conftest.$ac_ext >&5
3074 enable_clocale_flag=generic
3081 # ... at some point put __strxfrm_l tests in as well.
3084 enable_clocale_flag=generic
3089 # Check whether --enable-nls or --disable-nls was given.
3090 if test "${enable_nls+set}" = set; then
3091 enableval="$enable_nls"
3099 case x${enable_clocale_flag} in
3101 echo "$ac_t""generic" 1>&6
3103 CLOCALE_H=config/locale/generic/c_locale.h
3104 CLOCALE_CC=config/locale/generic/c_locale.cc
3105 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3106 CCOLLATE_CC=config/locale/generic/collate_members.cc
3107 CCTYPE_CC=config/locale/generic/ctype_members.cc
3108 CMESSAGES_H=config/locale/generic/messages_members.h
3109 CMESSAGES_CC=config/locale/generic/messages_members.cc
3110 CMONEY_CC=config/locale/generic/monetary_members.cc
3111 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3112 CTIME_CC=config/locale/generic/time_members.cc
3115 echo "$ac_t""gnu" 1>&6
3117 # Declare intention to use gettext, and add support for specific
3119 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3122 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3123 # Extract the first word of "msgfmt", so it can be a program name with args.
3124 set dummy msgfmt; ac_word=$2
3125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3126 echo "configure:3127: checking for $ac_word" >&5
3127 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3128 echo $ac_n "(cached) $ac_c" 1>&6
3130 if test -n "$check_msgfmt"; then
3131 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3133 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3135 for ac_dir in $ac_dummy; do
3136 test -z "$ac_dir" && ac_dir=.
3137 if test -f $ac_dir/$ac_word; then
3138 ac_cv_prog_check_msgfmt="yes"
3143 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3146 check_msgfmt="$ac_cv_prog_check_msgfmt"
3147 if test -n "$check_msgfmt"; then
3148 echo "$ac_t""$check_msgfmt" 1>&6
3150 echo "$ac_t""no" 1>&6
3153 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3156 # Export the build objects.
3157 for ling in $ALL_LINGUAS; do \
3158 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3159 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3164 CLOCALE_H=config/locale/gnu/c_locale.h
3165 CLOCALE_CC=config/locale/gnu/c_locale.cc
3166 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3167 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3168 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3169 CMESSAGES_H=config/locale/gnu/messages_members.h
3170 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3171 CMONEY_CC=config/locale/gnu/monetary_members.cc
3172 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3173 CTIME_CC=config/locale/gnu/time_members.cc
3176 echo "$ac_t""generic" 1>&6
3178 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3179 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3180 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3181 CCOLLATE_CC=config/locale/generic/collate_members.cc
3182 CCTYPE_CC=config/locale/generic/ctype_members.cc
3183 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3184 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3185 CMONEY_CC=config/locale/generic/monetary_members.cc
3186 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3187 CTIME_CC=config/locale/generic/time_members.cc
3190 echo "$enable_clocale is an unknown locale package" 1>&2
3195 # This is where the testsuite looks for locale catalogs, using the
3196 # -DLOCALEDIR define during testsuite compilation.
3197 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3212 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3213 if test "${enable_c_mbchar+set}" = set; then
3214 enableval="$enable_c_mbchar"
3215 case "$enableval" in
3216 yes) enable_c_mbchar=yes ;;
3217 no) enable_c_mbchar=no ;;
3218 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3225 # Check whether --enable-c99 or --disable-c99 was given.
3226 if test "${enable_c99+set}" = set; then
3227 enableval="$enable_c99"
3228 case "$enableval" in
3229 yes) enable_c99=yes ;;
3230 no) enable_c99=no ;;
3231 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3240 ac_cpp='$CXXCPP $CPPFLAGS'
3241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3243 cross_compiling=$ac_cv_prog_cxx_cross
3246 # Check for the existence of <math.h> functions used if C99 is enabled.
3248 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3249 echo "configure:3250: checking for ISO C99 support in <math.h>" >&5
3250 cat > conftest.$ac_ext <<EOF
3251 #line 3252 "configure"
3252 #include "confdefs.h"
3258 if { (eval echo configure:3259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3261 echo "configure: failed program was:" >&5
3262 cat conftest.$ac_ext >&5
3267 cat > conftest.$ac_ext <<EOF
3268 #line 3269 "configure"
3269 #include "confdefs.h"
3275 if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3278 echo "configure: failed program was:" >&5
3279 cat conftest.$ac_ext >&5
3284 cat > conftest.$ac_ext <<EOF
3285 #line 3286 "configure"
3286 #include "confdefs.h"
3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3295 echo "configure: failed program was:" >&5
3296 cat conftest.$ac_ext >&5
3301 cat > conftest.$ac_ext <<EOF
3302 #line 3303 "configure"
3303 #include "confdefs.h"
3309 if { (eval echo configure:3310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3312 echo "configure: failed program was:" >&5
3313 cat conftest.$ac_ext >&5
3318 cat > conftest.$ac_ext <<EOF
3319 #line 3320 "configure"
3320 #include "confdefs.h"
3326 if { (eval echo configure:3327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3329 echo "configure: failed program was:" >&5
3330 cat conftest.$ac_ext >&5
3335 cat > conftest.$ac_ext <<EOF
3336 #line 3337 "configure"
3337 #include "confdefs.h"
3343 if { (eval echo configure:3344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3346 echo "configure: failed program was:" >&5
3347 cat conftest.$ac_ext >&5
3352 cat > conftest.$ac_ext <<EOF
3353 #line 3354 "configure"
3354 #include "confdefs.h"
3360 if { (eval echo configure:3361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3363 echo "configure: failed program was:" >&5
3364 cat conftest.$ac_ext >&5
3369 cat > conftest.$ac_ext <<EOF
3370 #line 3371 "configure"
3371 #include "confdefs.h"
3374 isgreaterequal(0.0,0.0);
3377 if { (eval echo configure:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3380 echo "configure: failed program was:" >&5
3381 cat conftest.$ac_ext >&5
3386 cat > conftest.$ac_ext <<EOF
3387 #line 3388 "configure"
3388 #include "confdefs.h"
3394 if { (eval echo configure:3395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3397 echo "configure: failed program was:" >&5
3398 cat conftest.$ac_ext >&5
3403 cat > conftest.$ac_ext <<EOF
3404 #line 3405 "configure"
3405 #include "confdefs.h"
3408 islessequal(0.0,0.0);
3411 if { (eval echo configure:3412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3414 echo "configure: failed program was:" >&5
3415 cat conftest.$ac_ext >&5
3420 cat > conftest.$ac_ext <<EOF
3421 #line 3422 "configure"
3422 #include "confdefs.h"
3425 islessgreater(0.0,0.0);
3428 if { (eval echo configure:3429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3431 echo "configure: failed program was:" >&5
3432 cat conftest.$ac_ext >&5
3437 cat > conftest.$ac_ext <<EOF
3438 #line 3439 "configure"
3439 #include "confdefs.h"
3442 isunordered(0.0,0.0);
3445 if { (eval echo configure:3446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3448 echo "configure: failed program was:" >&5
3449 cat conftest.$ac_ext >&5
3454 echo "$ac_t""$ac_c99_math" 1>&6
3456 # Check for the existence in <stdio.h> of vscanf, et. al.
3458 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3459 echo "configure:3460: checking for ISO C99 support in <stdio.h>" >&5
3460 cat > conftest.$ac_ext <<EOF
3461 #line 3462 "configure"
3462 #include "confdefs.h"
3465 snprintf("12", 0, "%i");
3468 if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3471 echo "configure: failed program was:" >&5
3472 cat conftest.$ac_ext >&5
3477 cat > conftest.$ac_ext <<EOF
3478 #line 3479 "configure"
3479 #include "confdefs.h"
3482 void foo(char* fmt, ...)
3483 {va_list args; va_start(args, fmt);
3484 vfscanf(stderr, "%i", args);}
3489 if { (eval echo configure:3490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3492 echo "configure: failed program was:" >&5
3493 cat conftest.$ac_ext >&5
3498 cat > conftest.$ac_ext <<EOF
3499 #line 3500 "configure"
3500 #include "confdefs.h"
3503 void foo(char* fmt, ...)
3504 {va_list args; va_start(args, fmt);
3505 vscanf("%i", args);}
3510 if { (eval echo configure:3511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3513 echo "configure: failed program was:" >&5
3514 cat conftest.$ac_ext >&5
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3524 void foo(char* fmt, ...)
3525 {va_list args; va_start(args, fmt);
3526 vsnprintf(fmt, 0, "%i", args);}
3531 if { (eval echo configure:3532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3534 echo "configure: failed program was:" >&5
3535 cat conftest.$ac_ext >&5
3540 cat > conftest.$ac_ext <<EOF
3541 #line 3542 "configure"
3542 #include "confdefs.h"
3545 void foo(char* fmt, ...)
3546 {va_list args; va_start(args, fmt);
3547 vsscanf(fmt, "%i", args);}
3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3555 echo "configure: failed program was:" >&5
3556 cat conftest.$ac_ext >&5
3561 echo "$ac_t""$ac_c99_stdio" 1>&6
3563 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3565 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3566 echo "configure:3567: checking for lldiv_t declaration" >&5
3567 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3568 echo $ac_n "(cached) $ac_c" 1>&6
3571 cat > conftest.$ac_ext <<EOF
3572 #line 3573 "configure"
3573 #include "confdefs.h"
3579 if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3583 echo "configure: failed program was:" >&5
3584 cat conftest.$ac_ext >&5
3592 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3594 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3595 echo "configure:3596: checking for ISO C99 support in <stdlib.h>" >&5
3596 cat > conftest.$ac_ext <<EOF
3597 #line 3598 "configure"
3598 #include "confdefs.h"
3601 char* tmp; strtof("gnu", &tmp);
3604 if { (eval echo configure:3605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3607 echo "configure: failed program was:" >&5
3608 cat conftest.$ac_ext >&5
3613 cat > conftest.$ac_ext <<EOF
3614 #line 3615 "configure"
3615 #include "confdefs.h"
3618 char* tmp; strtold("gnu", &tmp);
3621 if { (eval echo configure:3622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3624 echo "configure: failed program was:" >&5
3625 cat conftest.$ac_ext >&5
3630 cat > conftest.$ac_ext <<EOF
3631 #line 3632 "configure"
3632 #include "confdefs.h"
3638 if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3641 echo "configure: failed program was:" >&5
3642 cat conftest.$ac_ext >&5
3647 cat > conftest.$ac_ext <<EOF
3648 #line 3649 "configure"
3649 #include "confdefs.h"
3655 if { (eval echo configure:3656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3658 echo "configure: failed program was:" >&5
3659 cat conftest.$ac_ext >&5
3664 cat > conftest.$ac_ext <<EOF
3665 #line 3666 "configure"
3666 #include "confdefs.h"
3672 if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3675 echo "configure: failed program was:" >&5
3676 cat conftest.$ac_ext >&5
3681 cat > conftest.$ac_ext <<EOF
3682 #line 3683 "configure"
3683 #include "confdefs.h"
3689 if { (eval echo configure:3690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3692 echo "configure: failed program was:" >&5
3693 cat conftest.$ac_ext >&5
3698 if test x"$ac_c99_lldiv_t" = x"no"; then
3701 echo "$ac_t""$ac_c99_stdlib" 1>&6
3703 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3704 # XXX the wchar.h checks should be rolled into the general C99 bits.
3706 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3707 echo "configure:3708: checking for additional ISO C99 support in <wchar.h>" >&5
3708 cat > conftest.$ac_ext <<EOF
3709 #line 3710 "configure"
3710 #include "confdefs.h"
3713 wcstold(L"10.0", NULL);
3716 if { (eval echo configure:3717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3719 echo "configure: failed program was:" >&5
3720 cat conftest.$ac_ext >&5
3725 cat > conftest.$ac_ext <<EOF
3726 #line 3727 "configure"
3727 #include "confdefs.h"
3730 wcstoll(L"10", NULL, 10);
3733 if { (eval echo configure:3734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3736 echo "configure: failed program was:" >&5
3737 cat conftest.$ac_ext >&5
3742 cat > conftest.$ac_ext <<EOF
3743 #line 3744 "configure"
3744 #include "confdefs.h"
3747 wcstoull(L"10", NULL, 10);
3750 if { (eval echo configure:3751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3753 echo "configure: failed program was:" >&5
3754 cat conftest.$ac_ext >&5
3759 echo "$ac_t""$ac_c99_wchar" 1>&6
3761 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3762 echo "configure:3763: checking for enabled ISO C99 support" >&5
3763 if test x"$ac_c99_math" = x"no" ||
3764 test x"$ac_c99_stdio" = x"no" ||
3765 test x"$ac_c99_stdlib" = x"no" ||
3766 test x"$ac_c99_wchar" = x"no"; then
3769 echo "$ac_t""$enable_c99" 1>&6
3771 # Option parsed, now set things appropriately
3772 if test x"$enable_c99" = x"yes"; then
3773 cat >> confdefs.h <<\EOF
3774 #define _GLIBCPP_USE_C99 1
3780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3781 ac_cpp='$CPP $CPPFLAGS'
3782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3784 cross_compiling=$ac_cv_prog_cc_cross
3788 # Check whether --enable-long-long or --disable-long-long was given.
3789 if test "${enable_long_long+set}" = set; then
3790 enableval="$enable_long_long"
3791 case "$enableval" in
3792 yes) enable_long_long=yes ;;
3793 no) enable_long_long=no ;;
3794 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3797 enable_long_long=yes
3802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3803 ac_cpp='$CXXCPP $CPPFLAGS'
3804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3806 cross_compiling=$ac_cv_prog_cxx_cross
3809 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3810 echo "configure:3811: checking for enabled long long I/O support" >&5
3811 # iostreams require strtoll, strtoull to compile
3812 cat > conftest.$ac_ext <<EOF
3813 #line 3814 "configure"
3814 #include "confdefs.h"
3817 char* tmp; strtoll("gnu", &tmp, 10);
3820 if { (eval echo configure:3821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3823 echo "configure: failed program was:" >&5
3824 cat conftest.$ac_ext >&5
3829 cat > conftest.$ac_ext <<EOF
3830 #line 3831 "configure"
3831 #include "confdefs.h"
3834 char* tmp; strtoull("gnu", &tmp, 10);
3837 if { (eval echo configure:3838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3840 echo "configure: failed program was:" >&5
3841 cat conftest.$ac_ext >&5
3847 # Option parsed, now set things appropriately
3848 if test x"$enable_long_long" = xyes; then
3849 cat >> confdefs.h <<\EOF
3850 #define _GLIBCPP_USE_LONG_LONG 1
3854 echo "$ac_t""$enable_long_long" 1>&6
3857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3858 ac_cpp='$CPP $CPPFLAGS'
3859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3861 cross_compiling=$ac_cv_prog_cc_cross
3864 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3865 echo "configure:3866: checking for c header strategy to use" >&5
3866 # Check whether --enable-cheaders or --disable-cheaders was given.
3867 if test "${enable_cheaders+set}" = set; then
3868 enableval="$enable_cheaders"
3870 case "$enableval" in
3875 enable_cheaders=c_std
3878 enable_cheaders=c_shadow
3880 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3884 enable_cheaders=c_std
3887 echo "$ac_t""$enable_cheaders" 1>&6
3889 case "$enable_cheaders" in
3891 CSHADOW_FLAGS="-fno-builtin"
3892 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3896 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3900 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3908 if test "$enable_cheaders" = c; then
3909 GLIBCPP_C_HEADERS_C_TRUE=
3910 GLIBCPP_C_HEADERS_C_FALSE='#'
3912 GLIBCPP_C_HEADERS_C_TRUE='#'
3913 GLIBCPP_C_HEADERS_C_FALSE=
3917 if test "$enable_cheaders" = c_std; then
3918 GLIBCPP_C_HEADERS_C_STD_TRUE=
3919 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3921 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3922 GLIBCPP_C_HEADERS_C_STD_FALSE=
3926 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3927 echo "configure:3928: checking for thread model used by GCC" >&5
3928 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3929 echo "$ac_t""$target_thread_file" 1>&6
3931 if test $target_thread_file != single; then
3932 cat >> confdefs.h <<\EOF
3933 #define HAVE_GTHR_DEFAULT 1
3936 cat >> confdefs.h <<\EOF
3937 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3942 glibcpp_thread_h=gthr-$target_thread_file.h
3945 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3946 if test "${enable_cxx_flags+set}" = set; then
3947 enableval="$enable_cxx_flags"
3948 case "x$enableval" in
3950 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3952 enable_cxx_flags='' ;;
3954 enable_cxx_flags="$enableval" ;;
3957 enable_cxx_flags='none'
3961 if test "$enable_cxx_flags" = "none"; then
3962 enable_cxx_flags='';
3965 if test -n "$enable_cxx_flags"; then
3966 for f in $enable_cxx_flags; do
3970 *) # and we're trying to pass /what/ exactly?
3971 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3975 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3979 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3980 echo "configure:3981: checking for exception model to use" >&5
3983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3984 ac_cpp='$CXXCPP $CPPFLAGS'
3985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3987 cross_compiling=$ac_cv_prog_cxx_cross
3989 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3990 if test "${enable_sjlj_exceptions+set}" = set; then
3991 enableval="$enable_sjlj_exceptions"
3994 cat > conftest.$ac_ext << EOF
3995 #line 3996 "configure"
4004 old_CXXFLAGS="$CXXFLAGS"
4006 if { (eval echo configure:4007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4007 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4008 enable_sjlj_exceptions=yes
4009 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4010 enable_sjlj_exceptions=no
4013 CXXFLAGS="$old_CXXFLAGS"
4017 if test x$enable_sjlj_exceptions = xyes; then
4018 cat >> confdefs.h <<\EOF
4019 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4022 ac_exception_model_name=sjlj
4023 elif test x$enable_sjlj_exceptions = xno; then
4024 ac_exception_model_name="call frame"
4026 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4030 ac_cpp='$CPP $CPPFLAGS'
4031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4033 cross_compiling=$ac_cv_prog_cc_cross
4035 echo "$ac_t""$ac_exception_model_name" 1>&6
4038 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4039 echo "configure:4040: checking for use of libunwind" >&5
4040 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4041 if test "${enable_libunwind_exceptions+set}" = set; then
4042 enableval="$enable_libunwind_exceptions"
4043 use_libunwind_exceptions=$enableval
4045 use_libunwind_exceptions=no
4048 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4049 if test x"$use_libunwind_exceptions" = xyes; then
4050 LIBUNWIND_FLAG="-lunwind"
4056 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4057 if test "${enable_concept_checks+set}" = set; then
4058 enableval="$enable_concept_checks"
4059 case "$enableval" in
4060 yes) enable_concept_checks=yes ;;
4061 no) enable_concept_checks=no ;;
4062 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4065 enable_concept_checks=no
4067 if test x"$enable_concept_checks" = xyes; then
4068 cat >> confdefs.h <<\EOF
4069 #define _GLIBCPP_CONCEPT_CHECKS 1
4075 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4076 for ac_hdr in string.h stdlib.h
4078 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4079 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4080 echo "configure:4081: checking for $ac_hdr" >&5
4081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4082 echo $ac_n "(cached) $ac_c" 1>&6
4084 cat > conftest.$ac_ext <<EOF
4085 #line 4086 "configure"
4086 #include "confdefs.h"
4089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4090 { (eval echo configure:4091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4092 if test -z "$ac_err"; then
4094 eval "ac_cv_header_$ac_safe=yes"
4097 echo "configure: failed program was:" >&5
4098 cat conftest.$ac_ext >&5
4100 eval "ac_cv_header_$ac_safe=no"
4104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4105 echo "$ac_t""yes" 1>&6
4106 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4107 cat >> confdefs.h <<EOF
4108 #define $ac_tr_hdr 1
4112 echo "$ac_t""no" 1>&6
4117 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4119 # We are being configured with some form of cross compiler.
4120 GLIBCPP_IS_CROSS_COMPILING=1
4122 # This lets us hard-code the functionality we know we'll have in the cross
4123 # target environment. "Let" is a sugar-coated word placed on an especially
4124 # dull and tedious hack, actually.
4126 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4127 # that involve linking, can't be used:
4128 # "cannot open sim-crt0.o"
4129 # "cannot open crt0.o"
4130 # etc. All this is because there currently exists no unified, consistent
4131 # way for top level CC information to be passed down to target directories:
4132 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4133 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4134 # crosses can be removed.
4136 # If Canadian cross, then don't pick up tools from the build directory.
4137 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4138 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4144 # Construct crosses by hand, eliminating bits that need ld...
4145 # GLIBCPP_CHECK_COMPILER_FEATURES
4146 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4147 # GLIBCPP_CHECK_MATH_SUPPORT
4149 case "$target_alias" in
4151 os_include_dir="os/gnu-linux"
4152 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4153 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4154 fp.h locale.h float.h inttypes.h
4156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4158 echo "configure:4159: checking for $ac_hdr" >&5
4159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4160 echo $ac_n "(cached) $ac_c" 1>&6
4162 cat > conftest.$ac_ext <<EOF
4163 #line 4164 "configure"
4164 #include "confdefs.h"
4167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4168 { (eval echo configure:4169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4170 if test -z "$ac_err"; then
4172 eval "ac_cv_header_$ac_safe=yes"
4175 echo "configure: failed program was:" >&5
4176 cat conftest.$ac_ext >&5
4178 eval "ac_cv_header_$ac_safe=no"
4182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4183 echo "$ac_t""yes" 1>&6
4184 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4185 cat >> confdefs.h <<EOF
4186 #define $ac_tr_hdr 1
4190 echo "$ac_t""no" 1>&6
4194 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4197 # If we're not using GNU ld, then there's no point in even trying these
4198 # tests. Check for that first. We should have already tested for gld
4199 # by now (in libtool), but require it now just to be safe...
4200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4204 # The name set by libtool depends on the version of libtool. Shame on us
4205 # for depending on an impl detail, but c'est la vie. Older versions used
4206 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4207 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4208 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4209 # set (hence we're using an older libtool), then set it.
4210 if test x${with_gnu_ld+set} != xset; then
4211 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4212 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4215 with_gnu_ld=$ac_cv_prog_gnu_ld
4219 # Start by getting the version number. I think the libtool test already
4220 # does some of this, but throws away the result.
4222 ldver=`$LD --version 2>/dev/null | head -1 | \
4223 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4225 glibcpp_gnu_ld_version=`echo $ldver | \
4226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4228 # Set --gc-sections.
4229 if test "$with_gnu_ld" = "notbroken"; then
4230 # GNU ld it is! Joy and bunny rabbits!
4232 # All these tests are for C++; save the language and the compiler flags.
4233 # Need to do this so that g++ won't try to link in libstdc++
4234 ac_test_CFLAGS="${CFLAGS+set}"
4235 ac_save_CFLAGS="$CFLAGS"
4236 CFLAGS='-x c++ -Wl,--gc-sections'
4238 # Check for -Wl,--gc-sections
4239 # XXX This test is broken at the moment, as symbols required for
4240 # linking are now in libsupc++ (not built yet.....). In addition,
4241 # this test has cored on solaris in the past. In addition,
4242 # --gc-sections doesn't really work at the moment (keeps on discarding
4243 # used sections, first .eh_frame and now some of the glibc sections for
4244 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4245 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4246 echo "configure:4247: checking for ld that supports -Wl,--gc-sections" >&5
4247 if test "$cross_compiling" = yes; then
4248 ac_sectionLDflags=yes
4250 cat > conftest.$ac_ext <<EOF
4251 #line 4252 "configure"
4252 #include "confdefs.h"
4262 if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4264 ac_sectionLDflags=yes
4266 echo "configure: failed program was:" >&5
4267 cat conftest.$ac_ext >&5
4269 ac_sectionLDflags=no
4274 if test "$ac_test_CFLAGS" = set; then
4275 CFLAGS="$ac_save_CFLAGS"
4277 # this is the suspicious part
4280 if test "$ac_sectionLDflags" = "yes"; then
4281 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4283 echo "$ac_t""$ac_sectionLDflags" 1>&6
4286 # Set linker optimization flags.
4287 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4295 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4296 echo "configure:4297: checking for main in -lm" >&5
4297 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4299 echo $ac_n "(cached) $ac_c" 1>&6
4301 ac_save_LIBS="$LIBS"
4303 cat > conftest.$ac_ext <<EOF
4304 #line 4305 "configure"
4305 #include "confdefs.h"
4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4313 eval "ac_cv_lib_$ac_lib_var=yes"
4315 echo "configure: failed program was:" >&5
4316 cat conftest.$ac_ext >&5
4318 eval "ac_cv_lib_$ac_lib_var=no"
4321 LIBS="$ac_save_LIBS"
4324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4325 echo "$ac_t""yes" 1>&6
4326 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4327 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4328 cat >> confdefs.h <<EOF
4329 #define $ac_tr_lib 1
4335 echo "$ac_t""no" 1>&6
4338 for ac_func in nan copysignf
4340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4341 echo "configure:4342: checking for $ac_func" >&5
4342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4343 echo $ac_n "(cached) $ac_c" 1>&6
4345 cat > conftest.$ac_ext <<EOF
4346 #line 4347 "configure"
4347 #include "confdefs.h"
4348 /* System header to define __stub macros and hopefully few prototypes,
4349 which can conflict with char $ac_func(); below. */
4351 /* Override any gcc2 internal prototype to avoid an error. */
4352 /* We use char because int might match the return type of a gcc2
4353 builtin and then its argument prototype would still apply. */
4358 /* The GNU C library defines this for functions which it implements
4359 to always fail with ENOSYS. Some functions are actually named
4360 something starting with __ and the normal name is an alias. */
4361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4369 if { (eval echo configure:4370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4371 eval "ac_cv_func_$ac_func=yes"
4373 echo "configure: failed program was:" >&5
4374 cat conftest.$ac_ext >&5
4376 eval "ac_cv_func_$ac_func=no"
4381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4382 echo "$ac_t""yes" 1>&6
4383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4384 cat >> confdefs.h <<EOF
4385 #define $ac_tr_func 1
4389 echo "$ac_t""no" 1>&6
4390 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4395 for ac_func in __signbit
4397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4398 echo "configure:4399: checking for $ac_func" >&5
4399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4400 echo $ac_n "(cached) $ac_c" 1>&6
4402 cat > conftest.$ac_ext <<EOF
4403 #line 4404 "configure"
4404 #include "confdefs.h"
4405 /* System header to define __stub macros and hopefully few prototypes,
4406 which can conflict with char $ac_func(); below. */
4408 /* Override any gcc2 internal prototype to avoid an error. */
4409 /* We use char because int might match the return type of a gcc2
4410 builtin and then its argument prototype would still apply. */
4415 /* The GNU C library defines this for functions which it implements
4416 to always fail with ENOSYS. Some functions are actually named
4417 something starting with __ and the normal name is an alias. */
4418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4426 if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4428 eval "ac_cv_func_$ac_func=yes"
4430 echo "configure: failed program was:" >&5
4431 cat conftest.$ac_ext >&5
4433 eval "ac_cv_func_$ac_func=no"
4438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4439 echo "$ac_t""yes" 1>&6
4440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4441 cat >> confdefs.h <<EOF
4442 #define $ac_tr_func 1
4446 echo "$ac_t""no" 1>&6
4447 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4451 for ac_func in __signbitf
4453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4454 echo "configure:4455: checking for $ac_func" >&5
4455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4456 echo $ac_n "(cached) $ac_c" 1>&6
4458 cat > conftest.$ac_ext <<EOF
4459 #line 4460 "configure"
4460 #include "confdefs.h"
4461 /* System header to define __stub macros and hopefully few prototypes,
4462 which can conflict with char $ac_func(); below. */
4464 /* Override any gcc2 internal prototype to avoid an error. */
4465 /* We use char because int might match the return type of a gcc2
4466 builtin and then its argument prototype would still apply. */
4471 /* The GNU C library defines this for functions which it implements
4472 to always fail with ENOSYS. Some functions are actually named
4473 something starting with __ and the normal name is an alias. */
4474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4482 if { (eval echo configure:4483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4484 eval "ac_cv_func_$ac_func=yes"
4486 echo "configure: failed program was:" >&5
4487 cat conftest.$ac_ext >&5
4489 eval "ac_cv_func_$ac_func=no"
4494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4495 echo "$ac_t""yes" 1>&6
4496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4497 cat >> confdefs.h <<EOF
4498 #define $ac_tr_func 1
4502 echo "$ac_t""no" 1>&6
4503 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4508 if test x$ac_cv_func_copysignl = x"yes"; then
4509 for ac_func in __signbitl
4511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4512 echo "configure:4513: checking for $ac_func" >&5
4513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4514 echo $ac_n "(cached) $ac_c" 1>&6
4516 cat > conftest.$ac_ext <<EOF
4517 #line 4518 "configure"
4518 #include "confdefs.h"
4519 /* System header to define __stub macros and hopefully few prototypes,
4520 which can conflict with char $ac_func(); below. */
4522 /* Override any gcc2 internal prototype to avoid an error. */
4523 /* We use char because int might match the return type of a gcc2
4524 builtin and then its argument prototype would still apply. */
4529 /* The GNU C library defines this for functions which it implements
4530 to always fail with ENOSYS. Some functions are actually named
4531 something starting with __ and the normal name is an alias. */
4532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4540 if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4542 eval "ac_cv_func_$ac_func=yes"
4544 echo "configure: failed program was:" >&5
4545 cat conftest.$ac_ext >&5
4547 eval "ac_cv_func_$ac_func=no"
4552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4553 echo "$ac_t""yes" 1>&6
4554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4555 cat >> confdefs.h <<EOF
4556 #define $ac_tr_func 1
4560 echo "$ac_t""no" 1>&6
4561 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4571 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4572 echo "configure:4573: checking for mbstate_t" >&5
4573 cat > conftest.$ac_ext <<EOF
4574 #line 4575 "configure"
4575 #include "confdefs.h"
4578 mbstate_t teststate;
4581 if { (eval echo configure:4582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4585 echo "configure: failed program was:" >&5
4586 cat conftest.$ac_ext >&5
4591 echo "$ac_t""$have_mbstate_t" 1>&6
4592 if test x"$have_mbstate_t" = xyes; then
4593 cat >> confdefs.h <<\EOF
4594 #define HAVE_MBSTATE_T 1
4599 for ac_hdr in wchar.h
4601 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4603 echo "configure:4604: checking for $ac_hdr" >&5
4604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4605 echo $ac_n "(cached) $ac_c" 1>&6
4607 cat > conftest.$ac_ext <<EOF
4608 #line 4609 "configure"
4609 #include "confdefs.h"
4612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4613 { (eval echo configure:4614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4615 if test -z "$ac_err"; then
4617 eval "ac_cv_header_$ac_safe=yes"
4620 echo "configure: failed program was:" >&5
4621 cat conftest.$ac_ext >&5
4623 eval "ac_cv_header_$ac_safe=no"
4627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4628 echo "$ac_t""yes" 1>&6
4629 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4630 cat >> confdefs.h <<EOF
4631 #define $ac_tr_hdr 1
4635 echo "$ac_t""no" 1>&6
4640 for ac_hdr in wctype.h
4642 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4644 echo "configure:4645: checking for $ac_hdr" >&5
4645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4646 echo $ac_n "(cached) $ac_c" 1>&6
4648 cat > conftest.$ac_ext <<EOF
4649 #line 4650 "configure"
4650 #include "confdefs.h"
4653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4654 { (eval echo configure:4655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4656 if test -z "$ac_err"; then
4658 eval "ac_cv_header_$ac_safe=yes"
4661 echo "configure: failed program was:" >&5
4662 cat conftest.$ac_ext >&5
4664 eval "ac_cv_header_$ac_safe=no"
4668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4669 echo "$ac_t""yes" 1>&6
4670 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4671 cat >> confdefs.h <<EOF
4672 #define $ac_tr_hdr 1
4676 echo "$ac_t""no" 1>&6
4682 if test x"$ac_has_wchar_h" = xyes &&
4683 test x"$ac_has_wctype_h" = xyes &&
4684 test x"$enable_c_mbchar" != xno; then
4686 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4687 echo "configure:4688: checking for WCHAR_MIN and WCHAR_MAX" >&5
4688 cat > conftest.$ac_ext <<EOF
4689 #line 4690 "configure"
4690 #include "confdefs.h"
4693 int i = WCHAR_MIN; int j = WCHAR_MAX;
4696 if { (eval echo configure:4697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4698 has_wchar_minmax=yes
4700 echo "configure: failed program was:" >&5
4701 cat conftest.$ac_ext >&5
4706 echo "$ac_t""$has_wchar_minmax" 1>&6
4708 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4709 echo "configure:4710: checking for WEOF" >&5
4710 cat > conftest.$ac_ext <<EOF
4711 #line 4712 "configure"
4712 #include "confdefs.h"
4720 if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4724 echo "configure: failed program was:" >&5
4725 cat conftest.$ac_ext >&5
4730 echo "$ac_t""$has_weof" 1>&6
4733 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4736 echo "configure:4737: checking for $ac_func" >&5
4737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4738 echo $ac_n "(cached) $ac_c" 1>&6
4740 cat > conftest.$ac_ext <<EOF
4741 #line 4742 "configure"
4742 #include "confdefs.h"
4743 /* System header to define __stub macros and hopefully few prototypes,
4744 which can conflict with char $ac_func(); below. */
4746 /* Override any gcc2 internal prototype to avoid an error. */
4747 /* We use char because int might match the return type of a gcc2
4748 builtin and then its argument prototype would still apply. */
4753 /* The GNU C library defines this for functions which it implements
4754 to always fail with ENOSYS. Some functions are actually named
4755 something starting with __ and the normal name is an alias. */
4756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4766 eval "ac_cv_func_$ac_func=yes"
4768 echo "configure: failed program was:" >&5
4769 cat conftest.$ac_ext >&5
4771 eval "ac_cv_func_$ac_func=no"
4776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4777 echo "$ac_t""yes" 1>&6
4778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4779 cat >> confdefs.h <<EOF
4780 #define $ac_tr_func 1
4784 echo "$ac_t""no" 1>&6
4791 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4792 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4793 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4794 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4795 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4796 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4799 echo "configure:4800: checking for $ac_func" >&5
4800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4801 echo $ac_n "(cached) $ac_c" 1>&6
4803 cat > conftest.$ac_ext <<EOF
4804 #line 4805 "configure"
4805 #include "confdefs.h"
4806 /* System header to define __stub macros and hopefully few prototypes,
4807 which can conflict with char $ac_func(); below. */
4809 /* Override any gcc2 internal prototype to avoid an error. */
4810 /* We use char because int might match the return type of a gcc2
4811 builtin and then its argument prototype would still apply. */
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4827 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4829 eval "ac_cv_func_$ac_func=yes"
4831 echo "configure: failed program was:" >&5
4832 cat conftest.$ac_ext >&5
4834 eval "ac_cv_func_$ac_func=no"
4839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4840 echo "$ac_t""yes" 1>&6
4841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4842 cat >> confdefs.h <<EOF
4843 #define $ac_tr_func 1
4847 echo "$ac_t""no" 1>&6
4854 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4855 echo "configure:4856: checking for ISO C99 wchar_t support" >&5
4856 if test x"$has_weof" = xyes &&
4857 test x"$has_wchar_minmax" = xyes &&
4858 test x"$ac_wfuncs" = xyes; then
4859 ac_isoC99_wchar_t=yes
4861 ac_isoC99_wchar_t=no
4863 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4865 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4866 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4867 echo "configure:4868: checking for iconv.h" >&5
4868 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4869 echo $ac_n "(cached) $ac_c" 1>&6
4871 cat > conftest.$ac_ext <<EOF
4872 #line 4873 "configure"
4873 #include "confdefs.h"
4876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4877 { (eval echo configure:4878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4878 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4879 if test -z "$ac_err"; then
4881 eval "ac_cv_header_$ac_safe=yes"
4884 echo "configure: failed program was:" >&5
4885 cat conftest.$ac_ext >&5
4887 eval "ac_cv_header_$ac_safe=no"
4891 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4892 echo "$ac_t""yes" 1>&6
4895 echo "$ac_t""no" 1>&6
4899 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4900 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4901 echo "configure:4902: checking for langinfo.h" >&5
4902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4903 echo $ac_n "(cached) $ac_c" 1>&6
4905 cat > conftest.$ac_ext <<EOF
4906 #line 4907 "configure"
4907 #include "confdefs.h"
4908 #include <langinfo.h>
4910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4911 { (eval echo configure:4912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4913 if test -z "$ac_err"; then
4915 eval "ac_cv_header_$ac_safe=yes"
4918 echo "configure: failed program was:" >&5
4919 cat conftest.$ac_ext >&5
4921 eval "ac_cv_header_$ac_safe=no"
4925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4926 echo "$ac_t""yes" 1>&6
4927 ac_has_langinfo_h=yes
4929 echo "$ac_t""no" 1>&6
4930 ac_has_langinfo_h=no
4934 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4935 echo "configure:4936: checking for iconv in -liconv" >&5
4936 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4938 echo $ac_n "(cached) $ac_c" 1>&6
4940 ac_save_LIBS="$LIBS"
4941 LIBS="-liconv $LIBS"
4942 cat > conftest.$ac_ext <<EOF
4943 #line 4944 "configure"
4944 #include "confdefs.h"
4945 /* Override any gcc2 internal prototype to avoid an error. */
4946 /* We use char because int might match the return type of a gcc2
4947 builtin and then its argument prototype would still apply. */
4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4956 eval "ac_cv_lib_$ac_lib_var=yes"
4958 echo "configure: failed program was:" >&5
4959 cat conftest.$ac_ext >&5
4961 eval "ac_cv_lib_$ac_lib_var=no"
4964 LIBS="$ac_save_LIBS"
4967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4968 echo "$ac_t""yes" 1>&6
4971 echo "$ac_t""no" 1>&6
4974 ac_save_LIBS="$LIBS"
4975 LIBS="$LIBS $libiconv"
4977 for ac_func in iconv_open iconv_close iconv nl_langinfo
4979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4980 echo "configure:4981: checking for $ac_func" >&5
4981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4982 echo $ac_n "(cached) $ac_c" 1>&6
4984 cat > conftest.$ac_ext <<EOF
4985 #line 4986 "configure"
4986 #include "confdefs.h"
4987 /* System header to define __stub macros and hopefully few prototypes,
4988 which can conflict with char $ac_func(); below. */
4990 /* Override any gcc2 internal prototype to avoid an error. */
4991 /* We use char because int might match the return type of a gcc2
4992 builtin and then its argument prototype would still apply. */
4997 /* The GNU C library defines this for functions which it implements
4998 to always fail with ENOSYS. Some functions are actually named
4999 something starting with __ and the normal name is an alias. */
5000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5008 if { (eval echo configure:5009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5010 eval "ac_cv_func_$ac_func=yes"
5012 echo "configure: failed program was:" >&5
5013 cat conftest.$ac_ext >&5
5015 eval "ac_cv_func_$ac_func=no"
5020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5021 echo "$ac_t""yes" 1>&6
5022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5023 cat >> confdefs.h <<EOF
5024 #define $ac_tr_func 1
5029 echo "$ac_t""no" 1>&6
5035 LIBS="$ac_save_LIBS"
5037 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5038 echo "configure:5039: checking for XPG2 wchar_t support" >&5
5039 if test x"$ac_has_iconv_h" = xyes &&
5040 test x"$ac_has_langinfo_h" = xyes &&
5041 test x"$ac_XPG2funcs" = xyes; then
5046 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5048 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5049 echo "configure:5050: checking for enabled wchar_t specializations" >&5
5050 if test x"$ac_isoC99_wchar_t" = xyes &&
5051 test x"$ac_XPG2_wchar_t" = xyes; then
5052 cat >> confdefs.h <<\EOF
5053 #define _GLIBCPP_USE_WCHAR_T 1
5056 echo "$ac_t"""yes"" 1>&6
5058 echo "$ac_t"""no"" 1>&6
5061 echo "configure: warning: wchar_t support disabled." 1>&2
5064 cat >> confdefs.h <<\EOF
5065 #define HAVE_COPYSIGN 1
5068 cat >> confdefs.h <<\EOF
5069 #define HAVE_COPYSIGNF 1
5072 cat >> confdefs.h <<\EOF
5073 #define HAVE_FINITEF 1
5076 cat >> confdefs.h <<\EOF
5077 #define HAVE_FREXPF 1
5080 cat >> confdefs.h <<\EOF
5081 #define HAVE_HYPOTF 1
5084 cat >> confdefs.h <<\EOF
5085 #define HAVE_SINCOS 1
5088 cat >> confdefs.h <<\EOF
5089 #define HAVE_SINCOSF 1
5092 if test x"long_double_math_on_this_cpu" = x"yes"; then
5093 cat >> confdefs.h <<\EOF
5094 #define HAVE_HYPOTL 1
5100 # Check for available headers.
5101 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5102 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5103 fp.h locale.h float.h inttypes.h
5105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5107 echo "configure:5108: checking for $ac_hdr" >&5
5108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5109 echo $ac_n "(cached) $ac_c" 1>&6
5111 cat > conftest.$ac_ext <<EOF
5112 #line 5113 "configure"
5113 #include "confdefs.h"
5116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5117 { (eval echo configure:5118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5119 if test -z "$ac_err"; then
5121 eval "ac_cv_header_$ac_safe=yes"
5124 echo "configure: failed program was:" >&5
5125 cat conftest.$ac_ext >&5
5127 eval "ac_cv_header_$ac_safe=no"
5131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5132 echo "$ac_t""yes" 1>&6
5133 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5134 cat >> confdefs.h <<EOF
5135 #define $ac_tr_hdr 1
5139 echo "$ac_t""no" 1>&6
5143 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5146 # If we're not using GNU ld, then there's no point in even trying these
5147 # tests. Check for that first. We should have already tested for gld
5148 # by now (in libtool), but require it now just to be safe...
5149 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5150 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5153 # The name set by libtool depends on the version of libtool. Shame on us
5154 # for depending on an impl detail, but c'est la vie. Older versions used
5155 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5156 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5157 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5158 # set (hence we're using an older libtool), then set it.
5159 if test x${with_gnu_ld+set} != xset; then
5160 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5161 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5164 with_gnu_ld=$ac_cv_prog_gnu_ld
5168 # Start by getting the version number. I think the libtool test already
5169 # does some of this, but throws away the result.
5171 ldver=`$LD --version 2>/dev/null | head -1 | \
5172 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5174 glibcpp_gnu_ld_version=`echo $ldver | \
5175 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5177 # Set --gc-sections.
5178 if test "$with_gnu_ld" = "notbroken"; then
5179 # GNU ld it is! Joy and bunny rabbits!
5181 # All these tests are for C++; save the language and the compiler flags.
5182 # Need to do this so that g++ won't try to link in libstdc++
5183 ac_test_CFLAGS="${CFLAGS+set}"
5184 ac_save_CFLAGS="$CFLAGS"
5185 CFLAGS='-x c++ -Wl,--gc-sections'
5187 # Check for -Wl,--gc-sections
5188 # XXX This test is broken at the moment, as symbols required for
5189 # linking are now in libsupc++ (not built yet.....). In addition,
5190 # this test has cored on solaris in the past. In addition,
5191 # --gc-sections doesn't really work at the moment (keeps on discarding
5192 # used sections, first .eh_frame and now some of the glibc sections for
5193 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5194 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5195 echo "configure:5196: checking for ld that supports -Wl,--gc-sections" >&5
5196 if test "$cross_compiling" = yes; then
5197 ac_sectionLDflags=yes
5199 cat > conftest.$ac_ext <<EOF
5200 #line 5201 "configure"
5201 #include "confdefs.h"
5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5213 ac_sectionLDflags=yes
5215 echo "configure: failed program was:" >&5
5216 cat conftest.$ac_ext >&5
5218 ac_sectionLDflags=no
5223 if test "$ac_test_CFLAGS" = set; then
5224 CFLAGS="$ac_save_CFLAGS"
5226 # this is the suspicious part
5229 if test "$ac_sectionLDflags" = "yes"; then
5230 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5232 echo "$ac_t""$ac_sectionLDflags" 1>&6
5235 # Set linker optimization flags.
5236 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5244 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5245 echo "configure:5246: checking for main in -lm" >&5
5246 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5248 echo $ac_n "(cached) $ac_c" 1>&6
5250 ac_save_LIBS="$LIBS"
5252 cat > conftest.$ac_ext <<EOF
5253 #line 5254 "configure"
5254 #include "confdefs.h"
5260 if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5262 eval "ac_cv_lib_$ac_lib_var=yes"
5264 echo "configure: failed program was:" >&5
5265 cat conftest.$ac_ext >&5
5267 eval "ac_cv_lib_$ac_lib_var=no"
5270 LIBS="$ac_save_LIBS"
5273 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5274 echo "$ac_t""yes" 1>&6
5275 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5276 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5277 cat >> confdefs.h <<EOF
5278 #define $ac_tr_lib 1
5284 echo "$ac_t""no" 1>&6
5287 for ac_func in nan copysignf
5289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5290 echo "configure:5291: checking for $ac_func" >&5
5291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5292 echo $ac_n "(cached) $ac_c" 1>&6
5294 cat > conftest.$ac_ext <<EOF
5295 #line 5296 "configure"
5296 #include "confdefs.h"
5297 /* System header to define __stub macros and hopefully few prototypes,
5298 which can conflict with char $ac_func(); below. */
5300 /* Override any gcc2 internal prototype to avoid an error. */
5301 /* We use char because int might match the return type of a gcc2
5302 builtin and then its argument prototype would still apply. */
5307 /* The GNU C library defines this for functions which it implements
5308 to always fail with ENOSYS. Some functions are actually named
5309 something starting with __ and the normal name is an alias. */
5310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5318 if { (eval echo configure:5319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5320 eval "ac_cv_func_$ac_func=yes"
5322 echo "configure: failed program was:" >&5
5323 cat conftest.$ac_ext >&5
5325 eval "ac_cv_func_$ac_func=no"
5330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5331 echo "$ac_t""yes" 1>&6
5332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5333 cat >> confdefs.h <<EOF
5334 #define $ac_tr_func 1
5338 echo "$ac_t""no" 1>&6
5339 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5344 for ac_func in __signbit
5346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5347 echo "configure:5348: checking for $ac_func" >&5
5348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5349 echo $ac_n "(cached) $ac_c" 1>&6
5351 cat > conftest.$ac_ext <<EOF
5352 #line 5353 "configure"
5353 #include "confdefs.h"
5354 /* System header to define __stub macros and hopefully few prototypes,
5355 which can conflict with char $ac_func(); below. */
5357 /* Override any gcc2 internal prototype to avoid an error. */
5358 /* We use char because int might match the return type of a gcc2
5359 builtin and then its argument prototype would still apply. */
5364 /* The GNU C library defines this for functions which it implements
5365 to always fail with ENOSYS. Some functions are actually named
5366 something starting with __ and the normal name is an alias. */
5367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5375 if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5377 eval "ac_cv_func_$ac_func=yes"
5379 echo "configure: failed program was:" >&5
5380 cat conftest.$ac_ext >&5
5382 eval "ac_cv_func_$ac_func=no"
5387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5388 echo "$ac_t""yes" 1>&6
5389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5390 cat >> confdefs.h <<EOF
5391 #define $ac_tr_func 1
5395 echo "$ac_t""no" 1>&6
5396 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5400 for ac_func in __signbitf
5402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5403 echo "configure:5404: checking for $ac_func" >&5
5404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5405 echo $ac_n "(cached) $ac_c" 1>&6
5407 cat > conftest.$ac_ext <<EOF
5408 #line 5409 "configure"
5409 #include "confdefs.h"
5410 /* System header to define __stub macros and hopefully few prototypes,
5411 which can conflict with char $ac_func(); below. */
5413 /* Override any gcc2 internal prototype to avoid an error. */
5414 /* We use char because int might match the return type of a gcc2
5415 builtin and then its argument prototype would still apply. */
5420 /* The GNU C library defines this for functions which it implements
5421 to always fail with ENOSYS. Some functions are actually named
5422 something starting with __ and the normal name is an alias. */
5423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5431 if { (eval echo configure:5432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5433 eval "ac_cv_func_$ac_func=yes"
5435 echo "configure: failed program was:" >&5
5436 cat conftest.$ac_ext >&5
5438 eval "ac_cv_func_$ac_func=no"
5443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5444 echo "$ac_t""yes" 1>&6
5445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5446 cat >> confdefs.h <<EOF
5447 #define $ac_tr_func 1
5451 echo "$ac_t""no" 1>&6
5452 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5457 if test x$ac_cv_func_copysignl = x"yes"; then
5458 for ac_func in __signbitl
5460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5461 echo "configure:5462: checking for $ac_func" >&5
5462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5463 echo $ac_n "(cached) $ac_c" 1>&6
5465 cat > conftest.$ac_ext <<EOF
5466 #line 5467 "configure"
5467 #include "confdefs.h"
5468 /* System header to define __stub macros and hopefully few prototypes,
5469 which can conflict with char $ac_func(); below. */
5471 /* Override any gcc2 internal prototype to avoid an error. */
5472 /* We use char because int might match the return type of a gcc2
5473 builtin and then its argument prototype would still apply. */
5478 /* The GNU C library defines this for functions which it implements
5479 to always fail with ENOSYS. Some functions are actually named
5480 something starting with __ and the normal name is an alias. */
5481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5489 if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5491 eval "ac_cv_func_$ac_func=yes"
5493 echo "configure: failed program was:" >&5
5494 cat conftest.$ac_ext >&5
5496 eval "ac_cv_func_$ac_func=no"
5501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5502 echo "$ac_t""yes" 1>&6
5503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5504 cat >> confdefs.h <<EOF
5505 #define $ac_tr_func 1
5509 echo "$ac_t""no" 1>&6
5510 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5520 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5521 echo "configure:5522: checking for mbstate_t" >&5
5522 cat > conftest.$ac_ext <<EOF
5523 #line 5524 "configure"
5524 #include "confdefs.h"
5527 mbstate_t teststate;
5530 if { (eval echo configure:5531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5534 echo "configure: failed program was:" >&5
5535 cat conftest.$ac_ext >&5
5540 echo "$ac_t""$have_mbstate_t" 1>&6
5541 if test x"$have_mbstate_t" = xyes; then
5542 cat >> confdefs.h <<\EOF
5543 #define HAVE_MBSTATE_T 1
5548 for ac_hdr in wchar.h
5550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5552 echo "configure:5553: checking for $ac_hdr" >&5
5553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5554 echo $ac_n "(cached) $ac_c" 1>&6
5556 cat > conftest.$ac_ext <<EOF
5557 #line 5558 "configure"
5558 #include "confdefs.h"
5561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5562 { (eval echo configure:5563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5564 if test -z "$ac_err"; then
5566 eval "ac_cv_header_$ac_safe=yes"
5569 echo "configure: failed program was:" >&5
5570 cat conftest.$ac_ext >&5
5572 eval "ac_cv_header_$ac_safe=no"
5576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5577 echo "$ac_t""yes" 1>&6
5578 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5579 cat >> confdefs.h <<EOF
5580 #define $ac_tr_hdr 1
5584 echo "$ac_t""no" 1>&6
5589 for ac_hdr in wctype.h
5591 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5592 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5593 echo "configure:5594: checking for $ac_hdr" >&5
5594 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5595 echo $ac_n "(cached) $ac_c" 1>&6
5597 cat > conftest.$ac_ext <<EOF
5598 #line 5599 "configure"
5599 #include "confdefs.h"
5602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5603 { (eval echo configure:5604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5605 if test -z "$ac_err"; then
5607 eval "ac_cv_header_$ac_safe=yes"
5610 echo "configure: failed program was:" >&5
5611 cat conftest.$ac_ext >&5
5613 eval "ac_cv_header_$ac_safe=no"
5617 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5618 echo "$ac_t""yes" 1>&6
5619 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5620 cat >> confdefs.h <<EOF
5621 #define $ac_tr_hdr 1
5625 echo "$ac_t""no" 1>&6
5631 if test x"$ac_has_wchar_h" = xyes &&
5632 test x"$ac_has_wctype_h" = xyes &&
5633 test x"$enable_c_mbchar" != xno; then
5635 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5636 echo "configure:5637: checking for WCHAR_MIN and WCHAR_MAX" >&5
5637 cat > conftest.$ac_ext <<EOF
5638 #line 5639 "configure"
5639 #include "confdefs.h"
5642 int i = WCHAR_MIN; int j = WCHAR_MAX;
5645 if { (eval echo configure:5646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5647 has_wchar_minmax=yes
5649 echo "configure: failed program was:" >&5
5650 cat conftest.$ac_ext >&5
5655 echo "$ac_t""$has_wchar_minmax" 1>&6
5657 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5658 echo "configure:5659: checking for WEOF" >&5
5659 cat > conftest.$ac_ext <<EOF
5660 #line 5661 "configure"
5661 #include "confdefs.h"
5669 if { (eval echo configure:5670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5673 echo "configure: failed program was:" >&5
5674 cat conftest.$ac_ext >&5
5679 echo "$ac_t""$has_weof" 1>&6
5682 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5685 echo "configure:5686: checking for $ac_func" >&5
5686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5687 echo $ac_n "(cached) $ac_c" 1>&6
5689 cat > conftest.$ac_ext <<EOF
5690 #line 5691 "configure"
5691 #include "confdefs.h"
5692 /* System header to define __stub macros and hopefully few prototypes,
5693 which can conflict with char $ac_func(); below. */
5695 /* Override any gcc2 internal prototype to avoid an error. */
5696 /* We use char because int might match the return type of a gcc2
5697 builtin and then its argument prototype would still apply. */
5702 /* The GNU C library defines this for functions which it implements
5703 to always fail with ENOSYS. Some functions are actually named
5704 something starting with __ and the normal name is an alias. */
5705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5713 if { (eval echo configure:5714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5715 eval "ac_cv_func_$ac_func=yes"
5717 echo "configure: failed program was:" >&5
5718 cat conftest.$ac_ext >&5
5720 eval "ac_cv_func_$ac_func=no"
5725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5726 echo "$ac_t""yes" 1>&6
5727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5728 cat >> confdefs.h <<EOF
5729 #define $ac_tr_func 1
5733 echo "$ac_t""no" 1>&6
5740 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5741 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5742 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5743 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5744 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5745 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5748 echo "configure:5749: checking for $ac_func" >&5
5749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5750 echo $ac_n "(cached) $ac_c" 1>&6
5752 cat > conftest.$ac_ext <<EOF
5753 #line 5754 "configure"
5754 #include "confdefs.h"
5755 /* System header to define __stub macros and hopefully few prototypes,
5756 which can conflict with char $ac_func(); below. */
5758 /* Override any gcc2 internal prototype to avoid an error. */
5759 /* We use char because int might match the return type of a gcc2
5760 builtin and then its argument prototype would still apply. */
5765 /* The GNU C library defines this for functions which it implements
5766 to always fail with ENOSYS. Some functions are actually named
5767 something starting with __ and the normal name is an alias. */
5768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5776 if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5778 eval "ac_cv_func_$ac_func=yes"
5780 echo "configure: failed program was:" >&5
5781 cat conftest.$ac_ext >&5
5783 eval "ac_cv_func_$ac_func=no"
5788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5789 echo "$ac_t""yes" 1>&6
5790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5791 cat >> confdefs.h <<EOF
5792 #define $ac_tr_func 1
5796 echo "$ac_t""no" 1>&6
5803 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5804 echo "configure:5805: checking for ISO C99 wchar_t support" >&5
5805 if test x"$has_weof" = xyes &&
5806 test x"$has_wchar_minmax" = xyes &&
5807 test x"$ac_wfuncs" = xyes; then
5808 ac_isoC99_wchar_t=yes
5810 ac_isoC99_wchar_t=no
5812 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5814 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5815 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5816 echo "configure:5817: checking for iconv.h" >&5
5817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5818 echo $ac_n "(cached) $ac_c" 1>&6
5820 cat > conftest.$ac_ext <<EOF
5821 #line 5822 "configure"
5822 #include "confdefs.h"
5825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5826 { (eval echo configure:5827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5828 if test -z "$ac_err"; then
5830 eval "ac_cv_header_$ac_safe=yes"
5833 echo "configure: failed program was:" >&5
5834 cat conftest.$ac_ext >&5
5836 eval "ac_cv_header_$ac_safe=no"
5840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5841 echo "$ac_t""yes" 1>&6
5844 echo "$ac_t""no" 1>&6
5848 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5849 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5850 echo "configure:5851: checking for langinfo.h" >&5
5851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5852 echo $ac_n "(cached) $ac_c" 1>&6
5854 cat > conftest.$ac_ext <<EOF
5855 #line 5856 "configure"
5856 #include "confdefs.h"
5857 #include <langinfo.h>
5859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5860 { (eval echo configure:5861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5862 if test -z "$ac_err"; then
5864 eval "ac_cv_header_$ac_safe=yes"
5867 echo "configure: failed program was:" >&5
5868 cat conftest.$ac_ext >&5
5870 eval "ac_cv_header_$ac_safe=no"
5874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5875 echo "$ac_t""yes" 1>&6
5876 ac_has_langinfo_h=yes
5878 echo "$ac_t""no" 1>&6
5879 ac_has_langinfo_h=no
5883 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5884 echo "configure:5885: checking for iconv in -liconv" >&5
5885 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5887 echo $ac_n "(cached) $ac_c" 1>&6
5889 ac_save_LIBS="$LIBS"
5890 LIBS="-liconv $LIBS"
5891 cat > conftest.$ac_ext <<EOF
5892 #line 5893 "configure"
5893 #include "confdefs.h"
5894 /* Override any gcc2 internal prototype to avoid an error. */
5895 /* We use char because int might match the return type of a gcc2
5896 builtin and then its argument prototype would still apply. */
5903 if { (eval echo configure:5904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5905 eval "ac_cv_lib_$ac_lib_var=yes"
5907 echo "configure: failed program was:" >&5
5908 cat conftest.$ac_ext >&5
5910 eval "ac_cv_lib_$ac_lib_var=no"
5913 LIBS="$ac_save_LIBS"
5916 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5917 echo "$ac_t""yes" 1>&6
5920 echo "$ac_t""no" 1>&6
5923 ac_save_LIBS="$LIBS"
5924 LIBS="$LIBS $libiconv"
5926 for ac_func in iconv_open iconv_close iconv nl_langinfo
5928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5929 echo "configure:5930: checking for $ac_func" >&5
5930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5931 echo $ac_n "(cached) $ac_c" 1>&6
5933 cat > conftest.$ac_ext <<EOF
5934 #line 5935 "configure"
5935 #include "confdefs.h"
5936 /* System header to define __stub macros and hopefully few prototypes,
5937 which can conflict with char $ac_func(); below. */
5939 /* Override any gcc2 internal prototype to avoid an error. */
5940 /* We use char because int might match the return type of a gcc2
5941 builtin and then its argument prototype would still apply. */
5946 /* The GNU C library defines this for functions which it implements
5947 to always fail with ENOSYS. Some functions are actually named
5948 something starting with __ and the normal name is an alias. */
5949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5957 if { (eval echo configure:5958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5959 eval "ac_cv_func_$ac_func=yes"
5961 echo "configure: failed program was:" >&5
5962 cat conftest.$ac_ext >&5
5964 eval "ac_cv_func_$ac_func=no"
5969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5970 echo "$ac_t""yes" 1>&6
5971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5972 cat >> confdefs.h <<EOF
5973 #define $ac_tr_func 1
5978 echo "$ac_t""no" 1>&6
5984 LIBS="$ac_save_LIBS"
5986 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5987 echo "configure:5988: checking for XPG2 wchar_t support" >&5
5988 if test x"$ac_has_iconv_h" = xyes &&
5989 test x"$ac_has_langinfo_h" = xyes &&
5990 test x"$ac_XPG2funcs" = xyes; then
5995 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5997 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5998 echo "configure:5999: checking for enabled wchar_t specializations" >&5
5999 if test x"$ac_isoC99_wchar_t" = xyes &&
6000 test x"$ac_XPG2_wchar_t" = xyes; then
6001 cat >> confdefs.h <<\EOF
6002 #define _GLIBCPP_USE_WCHAR_T 1
6005 echo "$ac_t"""yes"" 1>&6
6007 echo "$ac_t"""no"" 1>&6
6010 echo "configure: warning: wchar_t support disabled." 1>&2
6013 os_include_dir="os/hpux"
6014 cat >> confdefs.h <<\EOF
6015 #define HAVE_COPYSIGN 1
6018 cat >> confdefs.h <<\EOF
6019 #define HAVE_COPYSIGNF 1
6022 cat >> confdefs.h <<\EOF
6023 #define HAVE_FINITEF 1
6026 cat >> confdefs.h <<\EOF
6027 #define HAVE_FREXPF 1
6030 cat >> confdefs.h <<\EOF
6031 #define HAVE_HYPOT 1
6034 cat >> confdefs.h <<\EOF
6035 #define HAVE_SINCOS 1
6038 cat >> confdefs.h <<\EOF
6039 #define HAVE_SINCOSF 1
6044 # Check for available headers.
6045 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6046 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6047 fp.h locale.h float.h inttypes.h
6049 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6050 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6051 echo "configure:6052: checking for $ac_hdr" >&5
6052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6053 echo $ac_n "(cached) $ac_c" 1>&6
6055 cat > conftest.$ac_ext <<EOF
6056 #line 6057 "configure"
6057 #include "confdefs.h"
6060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6061 { (eval echo configure:6062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6063 if test -z "$ac_err"; then
6065 eval "ac_cv_header_$ac_safe=yes"
6068 echo "configure: failed program was:" >&5
6069 cat conftest.$ac_ext >&5
6071 eval "ac_cv_header_$ac_safe=no"
6075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6076 echo "$ac_t""yes" 1>&6
6077 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6078 cat >> confdefs.h <<EOF
6079 #define $ac_tr_hdr 1
6083 echo "$ac_t""no" 1>&6
6087 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6090 # If we're not using GNU ld, then there's no point in even trying these
6091 # tests. Check for that first. We should have already tested for gld
6092 # by now (in libtool), but require it now just to be safe...
6093 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6094 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6097 # The name set by libtool depends on the version of libtool. Shame on us
6098 # for depending on an impl detail, but c'est la vie. Older versions used
6099 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6100 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6101 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6102 # set (hence we're using an older libtool), then set it.
6103 if test x${with_gnu_ld+set} != xset; then
6104 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6105 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6108 with_gnu_ld=$ac_cv_prog_gnu_ld
6112 # Start by getting the version number. I think the libtool test already
6113 # does some of this, but throws away the result.
6115 ldver=`$LD --version 2>/dev/null | head -1 | \
6116 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6118 glibcpp_gnu_ld_version=`echo $ldver | \
6119 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6121 # Set --gc-sections.
6122 if test "$with_gnu_ld" = "notbroken"; then
6123 # GNU ld it is! Joy and bunny rabbits!
6125 # All these tests are for C++; save the language and the compiler flags.
6126 # Need to do this so that g++ won't try to link in libstdc++
6127 ac_test_CFLAGS="${CFLAGS+set}"
6128 ac_save_CFLAGS="$CFLAGS"
6129 CFLAGS='-x c++ -Wl,--gc-sections'
6131 # Check for -Wl,--gc-sections
6132 # XXX This test is broken at the moment, as symbols required for
6133 # linking are now in libsupc++ (not built yet.....). In addition,
6134 # this test has cored on solaris in the past. In addition,
6135 # --gc-sections doesn't really work at the moment (keeps on discarding
6136 # used sections, first .eh_frame and now some of the glibc sections for
6137 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6138 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6139 echo "configure:6140: checking for ld that supports -Wl,--gc-sections" >&5
6140 if test "$cross_compiling" = yes; then
6141 ac_sectionLDflags=yes
6143 cat > conftest.$ac_ext <<EOF
6144 #line 6145 "configure"
6145 #include "confdefs.h"
6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6157 ac_sectionLDflags=yes
6159 echo "configure: failed program was:" >&5
6160 cat conftest.$ac_ext >&5
6162 ac_sectionLDflags=no
6167 if test "$ac_test_CFLAGS" = set; then
6168 CFLAGS="$ac_save_CFLAGS"
6170 # this is the suspicious part
6173 if test "$ac_sectionLDflags" = "yes"; then
6174 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6176 echo "$ac_t""$ac_sectionLDflags" 1>&6
6179 # Set linker optimization flags.
6180 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6181 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6188 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6189 echo "configure:6190: checking for main in -lm" >&5
6190 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6192 echo $ac_n "(cached) $ac_c" 1>&6
6194 ac_save_LIBS="$LIBS"
6196 cat > conftest.$ac_ext <<EOF
6197 #line 6198 "configure"
6198 #include "confdefs.h"
6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6206 eval "ac_cv_lib_$ac_lib_var=yes"
6208 echo "configure: failed program was:" >&5
6209 cat conftest.$ac_ext >&5
6211 eval "ac_cv_lib_$ac_lib_var=no"
6214 LIBS="$ac_save_LIBS"
6217 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6218 echo "$ac_t""yes" 1>&6
6219 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6220 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6221 cat >> confdefs.h <<EOF
6222 #define $ac_tr_lib 1
6228 echo "$ac_t""no" 1>&6
6231 for ac_func in nan copysignf
6233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6234 echo "configure:6235: checking for $ac_func" >&5
6235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6236 echo $ac_n "(cached) $ac_c" 1>&6
6238 cat > conftest.$ac_ext <<EOF
6239 #line 6240 "configure"
6240 #include "confdefs.h"
6241 /* System header to define __stub macros and hopefully few prototypes,
6242 which can conflict with char $ac_func(); below. */
6244 /* Override any gcc2 internal prototype to avoid an error. */
6245 /* We use char because int might match the return type of a gcc2
6246 builtin and then its argument prototype would still apply. */
6251 /* The GNU C library defines this for functions which it implements
6252 to always fail with ENOSYS. Some functions are actually named
6253 something starting with __ and the normal name is an alias. */
6254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6262 if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6264 eval "ac_cv_func_$ac_func=yes"
6266 echo "configure: failed program was:" >&5
6267 cat conftest.$ac_ext >&5
6269 eval "ac_cv_func_$ac_func=no"
6274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6275 echo "$ac_t""yes" 1>&6
6276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6277 cat >> confdefs.h <<EOF
6278 #define $ac_tr_func 1
6282 echo "$ac_t""no" 1>&6
6283 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6288 for ac_func in __signbit
6290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6291 echo "configure:6292: checking for $ac_func" >&5
6292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6293 echo $ac_n "(cached) $ac_c" 1>&6
6295 cat > conftest.$ac_ext <<EOF
6296 #line 6297 "configure"
6297 #include "confdefs.h"
6298 /* System header to define __stub macros and hopefully few prototypes,
6299 which can conflict with char $ac_func(); below. */
6301 /* Override any gcc2 internal prototype to avoid an error. */
6302 /* We use char because int might match the return type of a gcc2
6303 builtin and then its argument prototype would still apply. */
6308 /* The GNU C library defines this for functions which it implements
6309 to always fail with ENOSYS. Some functions are actually named
6310 something starting with __ and the normal name is an alias. */
6311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6319 if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6321 eval "ac_cv_func_$ac_func=yes"
6323 echo "configure: failed program was:" >&5
6324 cat conftest.$ac_ext >&5
6326 eval "ac_cv_func_$ac_func=no"
6331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6332 echo "$ac_t""yes" 1>&6
6333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6334 cat >> confdefs.h <<EOF
6335 #define $ac_tr_func 1
6339 echo "$ac_t""no" 1>&6
6340 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6344 for ac_func in __signbitf
6346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6347 echo "configure:6348: checking for $ac_func" >&5
6348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6349 echo $ac_n "(cached) $ac_c" 1>&6
6351 cat > conftest.$ac_ext <<EOF
6352 #line 6353 "configure"
6353 #include "confdefs.h"
6354 /* System header to define __stub macros and hopefully few prototypes,
6355 which can conflict with char $ac_func(); below. */
6357 /* Override any gcc2 internal prototype to avoid an error. */
6358 /* We use char because int might match the return type of a gcc2
6359 builtin and then its argument prototype would still apply. */
6364 /* The GNU C library defines this for functions which it implements
6365 to always fail with ENOSYS. Some functions are actually named
6366 something starting with __ and the normal name is an alias. */
6367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6375 if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6377 eval "ac_cv_func_$ac_func=yes"
6379 echo "configure: failed program was:" >&5
6380 cat conftest.$ac_ext >&5
6382 eval "ac_cv_func_$ac_func=no"
6387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6388 echo "$ac_t""yes" 1>&6
6389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6390 cat >> confdefs.h <<EOF
6391 #define $ac_tr_func 1
6395 echo "$ac_t""no" 1>&6
6396 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6401 if test x$ac_cv_func_copysignl = x"yes"; then
6402 for ac_func in __signbitl
6404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6405 echo "configure:6406: checking for $ac_func" >&5
6406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6407 echo $ac_n "(cached) $ac_c" 1>&6
6409 cat > conftest.$ac_ext <<EOF
6410 #line 6411 "configure"
6411 #include "confdefs.h"
6412 /* System header to define __stub macros and hopefully few prototypes,
6413 which can conflict with char $ac_func(); below. */
6415 /* Override any gcc2 internal prototype to avoid an error. */
6416 /* We use char because int might match the return type of a gcc2
6417 builtin and then its argument prototype would still apply. */
6422 /* The GNU C library defines this for functions which it implements
6423 to always fail with ENOSYS. Some functions are actually named
6424 something starting with __ and the normal name is an alias. */
6425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6433 if { (eval echo configure:6434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6435 eval "ac_cv_func_$ac_func=yes"
6437 echo "configure: failed program was:" >&5
6438 cat conftest.$ac_ext >&5
6440 eval "ac_cv_func_$ac_func=no"
6445 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6446 echo "$ac_t""yes" 1>&6
6447 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6448 cat >> confdefs.h <<EOF
6449 #define $ac_tr_func 1
6453 echo "$ac_t""no" 1>&6
6454 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6464 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6465 echo "configure:6466: checking for mbstate_t" >&5
6466 cat > conftest.$ac_ext <<EOF
6467 #line 6468 "configure"
6468 #include "confdefs.h"
6471 mbstate_t teststate;
6474 if { (eval echo configure:6475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6478 echo "configure: failed program was:" >&5
6479 cat conftest.$ac_ext >&5
6484 echo "$ac_t""$have_mbstate_t" 1>&6
6485 if test x"$have_mbstate_t" = xyes; then
6486 cat >> confdefs.h <<\EOF
6487 #define HAVE_MBSTATE_T 1
6492 for ac_hdr in wchar.h
6494 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6495 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6496 echo "configure:6497: checking for $ac_hdr" >&5
6497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6498 echo $ac_n "(cached) $ac_c" 1>&6
6500 cat > conftest.$ac_ext <<EOF
6501 #line 6502 "configure"
6502 #include "confdefs.h"
6505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6506 { (eval echo configure:6507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6508 if test -z "$ac_err"; then
6510 eval "ac_cv_header_$ac_safe=yes"
6513 echo "configure: failed program was:" >&5
6514 cat conftest.$ac_ext >&5
6516 eval "ac_cv_header_$ac_safe=no"
6520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6521 echo "$ac_t""yes" 1>&6
6522 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6523 cat >> confdefs.h <<EOF
6524 #define $ac_tr_hdr 1
6528 echo "$ac_t""no" 1>&6
6533 for ac_hdr in wctype.h
6535 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6536 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6537 echo "configure:6538: checking for $ac_hdr" >&5
6538 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6539 echo $ac_n "(cached) $ac_c" 1>&6
6541 cat > conftest.$ac_ext <<EOF
6542 #line 6543 "configure"
6543 #include "confdefs.h"
6546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6547 { (eval echo configure:6548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6549 if test -z "$ac_err"; then
6551 eval "ac_cv_header_$ac_safe=yes"
6554 echo "configure: failed program was:" >&5
6555 cat conftest.$ac_ext >&5
6557 eval "ac_cv_header_$ac_safe=no"
6561 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6562 echo "$ac_t""yes" 1>&6
6563 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6564 cat >> confdefs.h <<EOF
6565 #define $ac_tr_hdr 1
6569 echo "$ac_t""no" 1>&6
6575 if test x"$ac_has_wchar_h" = xyes &&
6576 test x"$ac_has_wctype_h" = xyes &&
6577 test x"$enable_c_mbchar" != xno; then
6579 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6580 echo "configure:6581: checking for WCHAR_MIN and WCHAR_MAX" >&5
6581 cat > conftest.$ac_ext <<EOF
6582 #line 6583 "configure"
6583 #include "confdefs.h"
6586 int i = WCHAR_MIN; int j = WCHAR_MAX;
6589 if { (eval echo configure:6590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6591 has_wchar_minmax=yes
6593 echo "configure: failed program was:" >&5
6594 cat conftest.$ac_ext >&5
6599 echo "$ac_t""$has_wchar_minmax" 1>&6
6601 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6602 echo "configure:6603: checking for WEOF" >&5
6603 cat > conftest.$ac_ext <<EOF
6604 #line 6605 "configure"
6605 #include "confdefs.h"
6613 if { (eval echo configure:6614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6617 echo "configure: failed program was:" >&5
6618 cat conftest.$ac_ext >&5
6623 echo "$ac_t""$has_weof" 1>&6
6626 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6629 echo "configure:6630: checking for $ac_func" >&5
6630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6631 echo $ac_n "(cached) $ac_c" 1>&6
6633 cat > conftest.$ac_ext <<EOF
6634 #line 6635 "configure"
6635 #include "confdefs.h"
6636 /* System header to define __stub macros and hopefully few prototypes,
6637 which can conflict with char $ac_func(); below. */
6639 /* Override any gcc2 internal prototype to avoid an error. */
6640 /* We use char because int might match the return type of a gcc2
6641 builtin and then its argument prototype would still apply. */
6646 /* The GNU C library defines this for functions which it implements
6647 to always fail with ENOSYS. Some functions are actually named
6648 something starting with __ and the normal name is an alias. */
6649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6657 if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6659 eval "ac_cv_func_$ac_func=yes"
6661 echo "configure: failed program was:" >&5
6662 cat conftest.$ac_ext >&5
6664 eval "ac_cv_func_$ac_func=no"
6669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6670 echo "$ac_t""yes" 1>&6
6671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6672 cat >> confdefs.h <<EOF
6673 #define $ac_tr_func 1
6677 echo "$ac_t""no" 1>&6
6684 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6685 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6686 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6687 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6688 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6689 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6692 echo "configure:6693: checking for $ac_func" >&5
6693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6694 echo $ac_n "(cached) $ac_c" 1>&6
6696 cat > conftest.$ac_ext <<EOF
6697 #line 6698 "configure"
6698 #include "confdefs.h"
6699 /* System header to define __stub macros and hopefully few prototypes,
6700 which can conflict with char $ac_func(); below. */
6702 /* Override any gcc2 internal prototype to avoid an error. */
6703 /* We use char because int might match the return type of a gcc2
6704 builtin and then its argument prototype would still apply. */
6709 /* The GNU C library defines this for functions which it implements
6710 to always fail with ENOSYS. Some functions are actually named
6711 something starting with __ and the normal name is an alias. */
6712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6720 if { (eval echo configure:6721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6722 eval "ac_cv_func_$ac_func=yes"
6724 echo "configure: failed program was:" >&5
6725 cat conftest.$ac_ext >&5
6727 eval "ac_cv_func_$ac_func=no"
6732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6733 echo "$ac_t""yes" 1>&6
6734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6735 cat >> confdefs.h <<EOF
6736 #define $ac_tr_func 1
6740 echo "$ac_t""no" 1>&6
6747 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6748 echo "configure:6749: checking for ISO C99 wchar_t support" >&5
6749 if test x"$has_weof" = xyes &&
6750 test x"$has_wchar_minmax" = xyes &&
6751 test x"$ac_wfuncs" = xyes; then
6752 ac_isoC99_wchar_t=yes
6754 ac_isoC99_wchar_t=no
6756 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6758 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6759 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6760 echo "configure:6761: checking for iconv.h" >&5
6761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6762 echo $ac_n "(cached) $ac_c" 1>&6
6764 cat > conftest.$ac_ext <<EOF
6765 #line 6766 "configure"
6766 #include "confdefs.h"
6769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6770 { (eval echo configure:6771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6772 if test -z "$ac_err"; then
6774 eval "ac_cv_header_$ac_safe=yes"
6777 echo "configure: failed program was:" >&5
6778 cat conftest.$ac_ext >&5
6780 eval "ac_cv_header_$ac_safe=no"
6784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6785 echo "$ac_t""yes" 1>&6
6788 echo "$ac_t""no" 1>&6
6792 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6793 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6794 echo "configure:6795: checking for langinfo.h" >&5
6795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6796 echo $ac_n "(cached) $ac_c" 1>&6
6798 cat > conftest.$ac_ext <<EOF
6799 #line 6800 "configure"
6800 #include "confdefs.h"
6801 #include <langinfo.h>
6803 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6804 { (eval echo configure:6805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6805 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6806 if test -z "$ac_err"; then
6808 eval "ac_cv_header_$ac_safe=yes"
6811 echo "configure: failed program was:" >&5
6812 cat conftest.$ac_ext >&5
6814 eval "ac_cv_header_$ac_safe=no"
6818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6819 echo "$ac_t""yes" 1>&6
6820 ac_has_langinfo_h=yes
6822 echo "$ac_t""no" 1>&6
6823 ac_has_langinfo_h=no
6827 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6828 echo "configure:6829: checking for iconv in -liconv" >&5
6829 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6831 echo $ac_n "(cached) $ac_c" 1>&6
6833 ac_save_LIBS="$LIBS"
6834 LIBS="-liconv $LIBS"
6835 cat > conftest.$ac_ext <<EOF
6836 #line 6837 "configure"
6837 #include "confdefs.h"
6838 /* Override any gcc2 internal prototype to avoid an error. */
6839 /* We use char because int might match the return type of a gcc2
6840 builtin and then its argument prototype would still apply. */
6847 if { (eval echo configure:6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6849 eval "ac_cv_lib_$ac_lib_var=yes"
6851 echo "configure: failed program was:" >&5
6852 cat conftest.$ac_ext >&5
6854 eval "ac_cv_lib_$ac_lib_var=no"
6857 LIBS="$ac_save_LIBS"
6860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6861 echo "$ac_t""yes" 1>&6
6864 echo "$ac_t""no" 1>&6
6867 ac_save_LIBS="$LIBS"
6868 LIBS="$LIBS $libiconv"
6870 for ac_func in iconv_open iconv_close iconv nl_langinfo
6872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6873 echo "configure:6874: checking for $ac_func" >&5
6874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6875 echo $ac_n "(cached) $ac_c" 1>&6
6877 cat > conftest.$ac_ext <<EOF
6878 #line 6879 "configure"
6879 #include "confdefs.h"
6880 /* System header to define __stub macros and hopefully few prototypes,
6881 which can conflict with char $ac_func(); below. */
6883 /* Override any gcc2 internal prototype to avoid an error. */
6884 /* We use char because int might match the return type of a gcc2
6885 builtin and then its argument prototype would still apply. */
6890 /* The GNU C library defines this for functions which it implements
6891 to always fail with ENOSYS. Some functions are actually named
6892 something starting with __ and the normal name is an alias. */
6893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6901 if { (eval echo configure:6902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6903 eval "ac_cv_func_$ac_func=yes"
6905 echo "configure: failed program was:" >&5
6906 cat conftest.$ac_ext >&5
6908 eval "ac_cv_func_$ac_func=no"
6913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6914 echo "$ac_t""yes" 1>&6
6915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6916 cat >> confdefs.h <<EOF
6917 #define $ac_tr_func 1
6922 echo "$ac_t""no" 1>&6
6928 LIBS="$ac_save_LIBS"
6930 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6931 echo "configure:6932: checking for XPG2 wchar_t support" >&5
6932 if test x"$ac_has_iconv_h" = xyes &&
6933 test x"$ac_has_langinfo_h" = xyes &&
6934 test x"$ac_XPG2funcs" = xyes; then
6939 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6941 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6942 echo "configure:6943: checking for enabled wchar_t specializations" >&5
6943 if test x"$ac_isoC99_wchar_t" = xyes &&
6944 test x"$ac_XPG2_wchar_t" = xyes; then
6945 cat >> confdefs.h <<\EOF
6946 #define _GLIBCPP_USE_WCHAR_T 1
6949 echo "$ac_t"""yes"" 1>&6
6951 echo "$ac_t"""no"" 1>&6
6954 echo "configure: warning: wchar_t support disabled." 1>&2
6957 os_include_dir="os/bsd/netbsd"
6958 cat >> confdefs.h <<\EOF
6959 #define HAVE_COPYSIGN 1
6962 cat >> confdefs.h <<\EOF
6963 #define HAVE_COPYSIGNF 1
6966 cat >> confdefs.h <<\EOF
6967 #define HAVE_FINITEF 1
6970 cat >> confdefs.h <<\EOF
6971 #define HAVE_FREXPF 1
6974 cat >> confdefs.h <<\EOF
6975 #define HAVE_HYPOTF 1
6980 for ac_hdr in sys/types.h locale.h float.h
6982 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6983 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6984 echo "configure:6985: checking for $ac_hdr" >&5
6985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6986 echo $ac_n "(cached) $ac_c" 1>&6
6988 cat > conftest.$ac_ext <<EOF
6989 #line 6990 "configure"
6990 #include "confdefs.h"
6993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6994 { (eval echo configure:6995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6996 if test -z "$ac_err"; then
6998 eval "ac_cv_header_$ac_safe=yes"
7001 echo "configure: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7004 eval "ac_cv_header_$ac_safe=no"
7008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7009 echo "$ac_t""yes" 1>&6
7010 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7011 cat >> confdefs.h <<EOF
7012 #define $ac_tr_hdr 1
7016 echo "$ac_t""no" 1>&6
7021 # If we're not using GNU ld, then there's no point in even trying these
7022 # tests. Check for that first. We should have already tested for gld
7023 # by now (in libtool), but require it now just to be safe...
7024 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7025 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7028 # The name set by libtool depends on the version of libtool. Shame on us
7029 # for depending on an impl detail, but c'est la vie. Older versions used
7030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7033 # set (hence we're using an older libtool), then set it.
7034 if test x${with_gnu_ld+set} != xset; then
7035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7039 with_gnu_ld=$ac_cv_prog_gnu_ld
7043 # Start by getting the version number. I think the libtool test already
7044 # does some of this, but throws away the result.
7046 ldver=`$LD --version 2>/dev/null | head -1 | \
7047 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7049 glibcpp_gnu_ld_version=`echo $ldver | \
7050 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7052 # Set --gc-sections.
7053 if test "$with_gnu_ld" = "notbroken"; then
7054 # GNU ld it is! Joy and bunny rabbits!
7056 # All these tests are for C++; save the language and the compiler flags.
7057 # Need to do this so that g++ won't try to link in libstdc++
7058 ac_test_CFLAGS="${CFLAGS+set}"
7059 ac_save_CFLAGS="$CFLAGS"
7060 CFLAGS='-x c++ -Wl,--gc-sections'
7062 # Check for -Wl,--gc-sections
7063 # XXX This test is broken at the moment, as symbols required for
7064 # linking are now in libsupc++ (not built yet.....). In addition,
7065 # this test has cored on solaris in the past. In addition,
7066 # --gc-sections doesn't really work at the moment (keeps on discarding
7067 # used sections, first .eh_frame and now some of the glibc sections for
7068 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7069 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7070 echo "configure:7071: checking for ld that supports -Wl,--gc-sections" >&5
7071 if test "$cross_compiling" = yes; then
7072 ac_sectionLDflags=yes
7074 cat > conftest.$ac_ext <<EOF
7075 #line 7076 "configure"
7076 #include "confdefs.h"
7086 if { (eval echo configure:7087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7088 ac_sectionLDflags=yes
7090 echo "configure: failed program was:" >&5
7091 cat conftest.$ac_ext >&5
7093 ac_sectionLDflags=no
7098 if test "$ac_test_CFLAGS" = set; then
7099 CFLAGS="$ac_save_CFLAGS"
7101 # this is the suspicious part
7104 if test "$ac_sectionLDflags" = "yes"; then
7105 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7107 echo "$ac_t""$ac_sectionLDflags" 1>&6
7110 # Set linker optimization flags.
7111 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7112 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7119 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7120 echo "configure:7121: checking for main in -lm" >&5
7121 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7122 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7123 echo $ac_n "(cached) $ac_c" 1>&6
7125 ac_save_LIBS="$LIBS"
7127 cat > conftest.$ac_ext <<EOF
7128 #line 7129 "configure"
7129 #include "confdefs.h"
7135 if { (eval echo configure:7136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7137 eval "ac_cv_lib_$ac_lib_var=yes"
7139 echo "configure: failed program was:" >&5
7140 cat conftest.$ac_ext >&5
7142 eval "ac_cv_lib_$ac_lib_var=no"
7145 LIBS="$ac_save_LIBS"
7148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7149 echo "$ac_t""yes" 1>&6
7150 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7151 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7152 cat >> confdefs.h <<EOF
7153 #define $ac_tr_lib 1
7159 echo "$ac_t""no" 1>&6
7162 for ac_func in nan copysignf
7164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7165 echo "configure:7166: checking for $ac_func" >&5
7166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7167 echo $ac_n "(cached) $ac_c" 1>&6
7169 cat > conftest.$ac_ext <<EOF
7170 #line 7171 "configure"
7171 #include "confdefs.h"
7172 /* System header to define __stub macros and hopefully few prototypes,
7173 which can conflict with char $ac_func(); below. */
7175 /* Override any gcc2 internal prototype to avoid an error. */
7176 /* We use char because int might match the return type of a gcc2
7177 builtin and then its argument prototype would still apply. */
7182 /* The GNU C library defines this for functions which it implements
7183 to always fail with ENOSYS. Some functions are actually named
7184 something starting with __ and the normal name is an alias. */
7185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7193 if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7195 eval "ac_cv_func_$ac_func=yes"
7197 echo "configure: failed program was:" >&5
7198 cat conftest.$ac_ext >&5
7200 eval "ac_cv_func_$ac_func=no"
7205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7206 echo "$ac_t""yes" 1>&6
7207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7208 cat >> confdefs.h <<EOF
7209 #define $ac_tr_func 1
7213 echo "$ac_t""no" 1>&6
7214 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7219 for ac_func in __signbit
7221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7222 echo "configure:7223: checking for $ac_func" >&5
7223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7224 echo $ac_n "(cached) $ac_c" 1>&6
7226 cat > conftest.$ac_ext <<EOF
7227 #line 7228 "configure"
7228 #include "confdefs.h"
7229 /* System header to define __stub macros and hopefully few prototypes,
7230 which can conflict with char $ac_func(); below. */
7232 /* Override any gcc2 internal prototype to avoid an error. */
7233 /* We use char because int might match the return type of a gcc2
7234 builtin and then its argument prototype would still apply. */
7239 /* The GNU C library defines this for functions which it implements
7240 to always fail with ENOSYS. Some functions are actually named
7241 something starting with __ and the normal name is an alias. */
7242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7250 if { (eval echo configure:7251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7252 eval "ac_cv_func_$ac_func=yes"
7254 echo "configure: failed program was:" >&5
7255 cat conftest.$ac_ext >&5
7257 eval "ac_cv_func_$ac_func=no"
7262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7263 echo "$ac_t""yes" 1>&6
7264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7265 cat >> confdefs.h <<EOF
7266 #define $ac_tr_func 1
7270 echo "$ac_t""no" 1>&6
7271 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7275 for ac_func in __signbitf
7277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7278 echo "configure:7279: checking for $ac_func" >&5
7279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7280 echo $ac_n "(cached) $ac_c" 1>&6
7282 cat > conftest.$ac_ext <<EOF
7283 #line 7284 "configure"
7284 #include "confdefs.h"
7285 /* System header to define __stub macros and hopefully few prototypes,
7286 which can conflict with char $ac_func(); below. */
7288 /* Override any gcc2 internal prototype to avoid an error. */
7289 /* We use char because int might match the return type of a gcc2
7290 builtin and then its argument prototype would still apply. */
7295 /* The GNU C library defines this for functions which it implements
7296 to always fail with ENOSYS. Some functions are actually named
7297 something starting with __ and the normal name is an alias. */
7298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7306 if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7308 eval "ac_cv_func_$ac_func=yes"
7310 echo "configure: failed program was:" >&5
7311 cat conftest.$ac_ext >&5
7313 eval "ac_cv_func_$ac_func=no"
7318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7319 echo "$ac_t""yes" 1>&6
7320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7321 cat >> confdefs.h <<EOF
7322 #define $ac_tr_func 1
7326 echo "$ac_t""no" 1>&6
7327 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7332 if test x$ac_cv_func_copysignl = x"yes"; then
7333 for ac_func in __signbitl
7335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7336 echo "configure:7337: checking for $ac_func" >&5
7337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7338 echo $ac_n "(cached) $ac_c" 1>&6
7340 cat > conftest.$ac_ext <<EOF
7341 #line 7342 "configure"
7342 #include "confdefs.h"
7343 /* System header to define __stub macros and hopefully few prototypes,
7344 which can conflict with char $ac_func(); below. */
7346 /* Override any gcc2 internal prototype to avoid an error. */
7347 /* We use char because int might match the return type of a gcc2
7348 builtin and then its argument prototype would still apply. */
7353 /* The GNU C library defines this for functions which it implements
7354 to always fail with ENOSYS. Some functions are actually named
7355 something starting with __ and the normal name is an alias. */
7356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7364 if { (eval echo configure:7365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7366 eval "ac_cv_func_$ac_func=yes"
7368 echo "configure: failed program was:" >&5
7369 cat conftest.$ac_ext >&5
7371 eval "ac_cv_func_$ac_func=no"
7376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7377 echo "$ac_t""yes" 1>&6
7378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7379 cat >> confdefs.h <<EOF
7380 #define $ac_tr_func 1
7384 echo "$ac_t""no" 1>&6
7385 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7395 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7396 echo "configure:7397: checking for mbstate_t" >&5
7397 cat > conftest.$ac_ext <<EOF
7398 #line 7399 "configure"
7399 #include "confdefs.h"
7402 mbstate_t teststate;
7405 if { (eval echo configure:7406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7409 echo "configure: failed program was:" >&5
7410 cat conftest.$ac_ext >&5
7415 echo "$ac_t""$have_mbstate_t" 1>&6
7416 if test x"$have_mbstate_t" = xyes; then
7417 cat >> confdefs.h <<\EOF
7418 #define HAVE_MBSTATE_T 1
7423 for ac_hdr in wchar.h
7425 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7426 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7427 echo "configure:7428: checking for $ac_hdr" >&5
7428 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7429 echo $ac_n "(cached) $ac_c" 1>&6
7431 cat > conftest.$ac_ext <<EOF
7432 #line 7433 "configure"
7433 #include "confdefs.h"
7436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7437 { (eval echo configure:7438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7439 if test -z "$ac_err"; then
7441 eval "ac_cv_header_$ac_safe=yes"
7444 echo "configure: failed program was:" >&5
7445 cat conftest.$ac_ext >&5
7447 eval "ac_cv_header_$ac_safe=no"
7451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7452 echo "$ac_t""yes" 1>&6
7453 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7454 cat >> confdefs.h <<EOF
7455 #define $ac_tr_hdr 1
7459 echo "$ac_t""no" 1>&6
7464 for ac_hdr in wctype.h
7466 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7467 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7468 echo "configure:7469: checking for $ac_hdr" >&5
7469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7470 echo $ac_n "(cached) $ac_c" 1>&6
7472 cat > conftest.$ac_ext <<EOF
7473 #line 7474 "configure"
7474 #include "confdefs.h"
7477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7478 { (eval echo configure:7479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7480 if test -z "$ac_err"; then
7482 eval "ac_cv_header_$ac_safe=yes"
7485 echo "configure: failed program was:" >&5
7486 cat conftest.$ac_ext >&5
7488 eval "ac_cv_header_$ac_safe=no"
7492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7493 echo "$ac_t""yes" 1>&6
7494 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7495 cat >> confdefs.h <<EOF
7496 #define $ac_tr_hdr 1
7500 echo "$ac_t""no" 1>&6
7506 if test x"$ac_has_wchar_h" = xyes &&
7507 test x"$ac_has_wctype_h" = xyes &&
7508 test x"$enable_c_mbchar" != xno; then
7510 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7511 echo "configure:7512: checking for WCHAR_MIN and WCHAR_MAX" >&5
7512 cat > conftest.$ac_ext <<EOF
7513 #line 7514 "configure"
7514 #include "confdefs.h"
7517 int i = WCHAR_MIN; int j = WCHAR_MAX;
7520 if { (eval echo configure:7521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7522 has_wchar_minmax=yes
7524 echo "configure: failed program was:" >&5
7525 cat conftest.$ac_ext >&5
7530 echo "$ac_t""$has_wchar_minmax" 1>&6
7532 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7533 echo "configure:7534: checking for WEOF" >&5
7534 cat > conftest.$ac_ext <<EOF
7535 #line 7536 "configure"
7536 #include "confdefs.h"
7544 if { (eval echo configure:7545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7548 echo "configure: failed program was:" >&5
7549 cat conftest.$ac_ext >&5
7554 echo "$ac_t""$has_weof" 1>&6
7557 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7560 echo "configure:7561: checking for $ac_func" >&5
7561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7562 echo $ac_n "(cached) $ac_c" 1>&6
7564 cat > conftest.$ac_ext <<EOF
7565 #line 7566 "configure"
7566 #include "confdefs.h"
7567 /* System header to define __stub macros and hopefully few prototypes,
7568 which can conflict with char $ac_func(); below. */
7570 /* Override any gcc2 internal prototype to avoid an error. */
7571 /* We use char because int might match the return type of a gcc2
7572 builtin and then its argument prototype would still apply. */
7577 /* The GNU C library defines this for functions which it implements
7578 to always fail with ENOSYS. Some functions are actually named
7579 something starting with __ and the normal name is an alias. */
7580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7588 if { (eval echo configure:7589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7590 eval "ac_cv_func_$ac_func=yes"
7592 echo "configure: failed program was:" >&5
7593 cat conftest.$ac_ext >&5
7595 eval "ac_cv_func_$ac_func=no"
7600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7601 echo "$ac_t""yes" 1>&6
7602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7603 cat >> confdefs.h <<EOF
7604 #define $ac_tr_func 1
7608 echo "$ac_t""no" 1>&6
7615 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7616 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7617 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7618 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7619 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7620 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7623 echo "configure:7624: checking for $ac_func" >&5
7624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7625 echo $ac_n "(cached) $ac_c" 1>&6
7627 cat > conftest.$ac_ext <<EOF
7628 #line 7629 "configure"
7629 #include "confdefs.h"
7630 /* System header to define __stub macros and hopefully few prototypes,
7631 which can conflict with char $ac_func(); below. */
7633 /* Override any gcc2 internal prototype to avoid an error. */
7634 /* We use char because int might match the return type of a gcc2
7635 builtin and then its argument prototype would still apply. */
7640 /* The GNU C library defines this for functions which it implements
7641 to always fail with ENOSYS. Some functions are actually named
7642 something starting with __ and the normal name is an alias. */
7643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7651 if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7653 eval "ac_cv_func_$ac_func=yes"
7655 echo "configure: failed program was:" >&5
7656 cat conftest.$ac_ext >&5
7658 eval "ac_cv_func_$ac_func=no"
7663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7664 echo "$ac_t""yes" 1>&6
7665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7666 cat >> confdefs.h <<EOF
7667 #define $ac_tr_func 1
7671 echo "$ac_t""no" 1>&6
7678 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7679 echo "configure:7680: checking for ISO C99 wchar_t support" >&5
7680 if test x"$has_weof" = xyes &&
7681 test x"$has_wchar_minmax" = xyes &&
7682 test x"$ac_wfuncs" = xyes; then
7683 ac_isoC99_wchar_t=yes
7685 ac_isoC99_wchar_t=no
7687 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7689 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7690 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7691 echo "configure:7692: checking for iconv.h" >&5
7692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 cat > conftest.$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7701 { (eval echo configure:7702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7703 if test -z "$ac_err"; then
7705 eval "ac_cv_header_$ac_safe=yes"
7708 echo "configure: failed program was:" >&5
7709 cat conftest.$ac_ext >&5
7711 eval "ac_cv_header_$ac_safe=no"
7715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7716 echo "$ac_t""yes" 1>&6
7719 echo "$ac_t""no" 1>&6
7723 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7724 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7725 echo "configure:7726: checking for langinfo.h" >&5
7726 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7727 echo $ac_n "(cached) $ac_c" 1>&6
7729 cat > conftest.$ac_ext <<EOF
7730 #line 7731 "configure"
7731 #include "confdefs.h"
7732 #include <langinfo.h>
7734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7735 { (eval echo configure:7736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7737 if test -z "$ac_err"; then
7739 eval "ac_cv_header_$ac_safe=yes"
7742 echo "configure: failed program was:" >&5
7743 cat conftest.$ac_ext >&5
7745 eval "ac_cv_header_$ac_safe=no"
7749 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7750 echo "$ac_t""yes" 1>&6
7751 ac_has_langinfo_h=yes
7753 echo "$ac_t""no" 1>&6
7754 ac_has_langinfo_h=no
7758 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7759 echo "configure:7760: checking for iconv in -liconv" >&5
7760 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7762 echo $ac_n "(cached) $ac_c" 1>&6
7764 ac_save_LIBS="$LIBS"
7765 LIBS="-liconv $LIBS"
7766 cat > conftest.$ac_ext <<EOF
7767 #line 7768 "configure"
7768 #include "confdefs.h"
7769 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7778 if { (eval echo configure:7779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7780 eval "ac_cv_lib_$ac_lib_var=yes"
7782 echo "configure: failed program was:" >&5
7783 cat conftest.$ac_ext >&5
7785 eval "ac_cv_lib_$ac_lib_var=no"
7788 LIBS="$ac_save_LIBS"
7791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7792 echo "$ac_t""yes" 1>&6
7795 echo "$ac_t""no" 1>&6
7798 ac_save_LIBS="$LIBS"
7799 LIBS="$LIBS $libiconv"
7801 for ac_func in iconv_open iconv_close iconv nl_langinfo
7803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7804 echo "configure:7805: checking for $ac_func" >&5
7805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7806 echo $ac_n "(cached) $ac_c" 1>&6
7808 cat > conftest.$ac_ext <<EOF
7809 #line 7810 "configure"
7810 #include "confdefs.h"
7811 /* System header to define __stub macros and hopefully few prototypes,
7812 which can conflict with char $ac_func(); below. */
7814 /* Override any gcc2 internal prototype to avoid an error. */
7815 /* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */
7821 /* The GNU C library defines this for functions which it implements
7822 to always fail with ENOSYS. Some functions are actually named
7823 something starting with __ and the normal name is an alias. */
7824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7834 eval "ac_cv_func_$ac_func=yes"
7836 echo "configure: failed program was:" >&5
7837 cat conftest.$ac_ext >&5
7839 eval "ac_cv_func_$ac_func=no"
7844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7845 echo "$ac_t""yes" 1>&6
7846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7847 cat >> confdefs.h <<EOF
7848 #define $ac_tr_func 1
7853 echo "$ac_t""no" 1>&6
7859 LIBS="$ac_save_LIBS"
7861 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7862 echo "configure:7863: checking for XPG2 wchar_t support" >&5
7863 if test x"$ac_has_iconv_h" = xyes &&
7864 test x"$ac_has_langinfo_h" = xyes &&
7865 test x"$ac_XPG2funcs" = xyes; then
7870 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7872 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7873 echo "configure:7874: checking for enabled wchar_t specializations" >&5
7874 if test x"$ac_isoC99_wchar_t" = xyes &&
7875 test x"$ac_XPG2_wchar_t" = xyes; then
7876 cat >> confdefs.h <<\EOF
7877 #define _GLIBCPP_USE_WCHAR_T 1
7880 echo "$ac_t"""yes"" 1>&6
7882 echo "$ac_t"""no"" 1>&6
7885 echo "configure: warning: wchar_t support disabled." 1>&2
7888 os_include_dir="os/mingw32"
7891 os_include_dir="os/windiss"
7894 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7897 # If we're not using GNU ld, then there's no point in even trying these
7898 # tests. Check for that first. We should have already tested for gld
7899 # by now (in libtool), but require it now just to be safe...
7900 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7901 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7904 # The name set by libtool depends on the version of libtool. Shame on us
7905 # for depending on an impl detail, but c'est la vie. Older versions used
7906 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7907 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7908 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7909 # set (hence we're using an older libtool), then set it.
7910 if test x${with_gnu_ld+set} != xset; then
7911 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7912 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7915 with_gnu_ld=$ac_cv_prog_gnu_ld
7919 # Start by getting the version number. I think the libtool test already
7920 # does some of this, but throws away the result.
7922 ldver=`$LD --version 2>/dev/null | head -1 | \
7923 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7925 glibcpp_gnu_ld_version=`echo $ldver | \
7926 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7928 # Set --gc-sections.
7929 if test "$with_gnu_ld" = "notbroken"; then
7930 # GNU ld it is! Joy and bunny rabbits!
7932 # All these tests are for C++; save the language and the compiler flags.
7933 # Need to do this so that g++ won't try to link in libstdc++
7934 ac_test_CFLAGS="${CFLAGS+set}"
7935 ac_save_CFLAGS="$CFLAGS"
7936 CFLAGS='-x c++ -Wl,--gc-sections'
7938 # Check for -Wl,--gc-sections
7939 # XXX This test is broken at the moment, as symbols required for
7940 # linking are now in libsupc++ (not built yet.....). In addition,
7941 # this test has cored on solaris in the past. In addition,
7942 # --gc-sections doesn't really work at the moment (keeps on discarding
7943 # used sections, first .eh_frame and now some of the glibc sections for
7944 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7945 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7946 echo "configure:7947: checking for ld that supports -Wl,--gc-sections" >&5
7947 if test "$cross_compiling" = yes; then
7948 ac_sectionLDflags=yes
7950 cat > conftest.$ac_ext <<EOF
7951 #line 7952 "configure"
7952 #include "confdefs.h"
7962 if { (eval echo configure:7963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7964 ac_sectionLDflags=yes
7966 echo "configure: failed program was:" >&5
7967 cat conftest.$ac_ext >&5
7969 ac_sectionLDflags=no
7974 if test "$ac_test_CFLAGS" = set; then
7975 CFLAGS="$ac_save_CFLAGS"
7977 # this is the suspicious part
7980 if test "$ac_sectionLDflags" = "yes"; then
7981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7983 echo "$ac_t""$ac_sectionLDflags" 1>&6
7986 # Set linker optimization flags.
7987 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7988 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7995 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7996 echo "configure:7997: checking for main in -lm" >&5
7997 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7999 echo $ac_n "(cached) $ac_c" 1>&6
8001 ac_save_LIBS="$LIBS"
8003 cat > conftest.$ac_ext <<EOF
8004 #line 8005 "configure"
8005 #include "confdefs.h"
8011 if { (eval echo configure:8012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8013 eval "ac_cv_lib_$ac_lib_var=yes"
8015 echo "configure: failed program was:" >&5
8016 cat conftest.$ac_ext >&5
8018 eval "ac_cv_lib_$ac_lib_var=no"
8021 LIBS="$ac_save_LIBS"
8024 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8025 echo "$ac_t""yes" 1>&6
8026 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8027 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8028 cat >> confdefs.h <<EOF
8029 #define $ac_tr_lib 1
8035 echo "$ac_t""no" 1>&6
8038 for ac_func in nan copysignf
8040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8041 echo "configure:8042: checking for $ac_func" >&5
8042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8043 echo $ac_n "(cached) $ac_c" 1>&6
8045 cat > conftest.$ac_ext <<EOF
8046 #line 8047 "configure"
8047 #include "confdefs.h"
8048 /* System header to define __stub macros and hopefully few prototypes,
8049 which can conflict with char $ac_func(); below. */
8051 /* Override any gcc2 internal prototype to avoid an error. */
8052 /* We use char because int might match the return type of a gcc2
8053 builtin and then its argument prototype would still apply. */
8058 /* The GNU C library defines this for functions which it implements
8059 to always fail with ENOSYS. Some functions are actually named
8060 something starting with __ and the normal name is an alias. */
8061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8069 if { (eval echo configure:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8071 eval "ac_cv_func_$ac_func=yes"
8073 echo "configure: failed program was:" >&5
8074 cat conftest.$ac_ext >&5
8076 eval "ac_cv_func_$ac_func=no"
8081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8082 echo "$ac_t""yes" 1>&6
8083 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8084 cat >> confdefs.h <<EOF
8085 #define $ac_tr_func 1
8089 echo "$ac_t""no" 1>&6
8090 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8095 for ac_func in __signbit
8097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8098 echo "configure:8099: checking for $ac_func" >&5
8099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8100 echo $ac_n "(cached) $ac_c" 1>&6
8102 cat > conftest.$ac_ext <<EOF
8103 #line 8104 "configure"
8104 #include "confdefs.h"
8105 /* System header to define __stub macros and hopefully few prototypes,
8106 which can conflict with char $ac_func(); below. */
8108 /* Override any gcc2 internal prototype to avoid an error. */
8109 /* We use char because int might match the return type of a gcc2
8110 builtin and then its argument prototype would still apply. */
8115 /* The GNU C library defines this for functions which it implements
8116 to always fail with ENOSYS. Some functions are actually named
8117 something starting with __ and the normal name is an alias. */
8118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8128 eval "ac_cv_func_$ac_func=yes"
8130 echo "configure: failed program was:" >&5
8131 cat conftest.$ac_ext >&5
8133 eval "ac_cv_func_$ac_func=no"
8138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8139 echo "$ac_t""yes" 1>&6
8140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8141 cat >> confdefs.h <<EOF
8142 #define $ac_tr_func 1
8146 echo "$ac_t""no" 1>&6
8147 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8151 for ac_func in __signbitf
8153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8154 echo "configure:8155: checking for $ac_func" >&5
8155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8156 echo $ac_n "(cached) $ac_c" 1>&6
8158 cat > conftest.$ac_ext <<EOF
8159 #line 8160 "configure"
8160 #include "confdefs.h"
8161 /* System header to define __stub macros and hopefully few prototypes,
8162 which can conflict with char $ac_func(); below. */
8164 /* Override any gcc2 internal prototype to avoid an error. */
8165 /* We use char because int might match the return type of a gcc2
8166 builtin and then its argument prototype would still apply. */
8171 /* The GNU C library defines this for functions which it implements
8172 to always fail with ENOSYS. Some functions are actually named
8173 something starting with __ and the normal name is an alias. */
8174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8182 if { (eval echo configure:8183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8184 eval "ac_cv_func_$ac_func=yes"
8186 echo "configure: failed program was:" >&5
8187 cat conftest.$ac_ext >&5
8189 eval "ac_cv_func_$ac_func=no"
8194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8195 echo "$ac_t""yes" 1>&6
8196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8197 cat >> confdefs.h <<EOF
8198 #define $ac_tr_func 1
8202 echo "$ac_t""no" 1>&6
8203 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8208 if test x$ac_cv_func_copysignl = x"yes"; then
8209 for ac_func in __signbitl
8211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8212 echo "configure:8213: checking for $ac_func" >&5
8213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8216 cat > conftest.$ac_ext <<EOF
8217 #line 8218 "configure"
8218 #include "confdefs.h"
8219 /* System header to define __stub macros and hopefully few prototypes,
8220 which can conflict with char $ac_func(); below. */
8222 /* Override any gcc2 internal prototype to avoid an error. */
8223 /* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */
8229 /* The GNU C library defines this for functions which it implements
8230 to always fail with ENOSYS. Some functions are actually named
8231 something starting with __ and the normal name is an alias. */
8232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8240 if { (eval echo configure:8241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8242 eval "ac_cv_func_$ac_func=yes"
8244 echo "configure: failed program was:" >&5
8245 cat conftest.$ac_ext >&5
8247 eval "ac_cv_func_$ac_func=no"
8252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8253 echo "$ac_t""yes" 1>&6
8254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8255 cat >> confdefs.h <<EOF
8256 #define $ac_tr_func 1
8260 echo "$ac_t""no" 1>&6
8261 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8271 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8272 echo "configure:8273: checking for mbstate_t" >&5
8273 cat > conftest.$ac_ext <<EOF
8274 #line 8275 "configure"
8275 #include "confdefs.h"
8278 mbstate_t teststate;
8281 if { (eval echo configure:8282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8285 echo "configure: failed program was:" >&5
8286 cat conftest.$ac_ext >&5
8291 echo "$ac_t""$have_mbstate_t" 1>&6
8292 if test x"$have_mbstate_t" = xyes; then
8293 cat >> confdefs.h <<\EOF
8294 #define HAVE_MBSTATE_T 1
8299 for ac_hdr in wchar.h
8301 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8302 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8303 echo "configure:8304: checking for $ac_hdr" >&5
8304 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8305 echo $ac_n "(cached) $ac_c" 1>&6
8307 cat > conftest.$ac_ext <<EOF
8308 #line 8309 "configure"
8309 #include "confdefs.h"
8312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8313 { (eval echo configure:8314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8315 if test -z "$ac_err"; then
8317 eval "ac_cv_header_$ac_safe=yes"
8320 echo "configure: failed program was:" >&5
8321 cat conftest.$ac_ext >&5
8323 eval "ac_cv_header_$ac_safe=no"
8327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8328 echo "$ac_t""yes" 1>&6
8329 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8330 cat >> confdefs.h <<EOF
8331 #define $ac_tr_hdr 1
8335 echo "$ac_t""no" 1>&6
8340 for ac_hdr in wctype.h
8342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8344 echo "configure:8345: checking for $ac_hdr" >&5
8345 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8346 echo $ac_n "(cached) $ac_c" 1>&6
8348 cat > conftest.$ac_ext <<EOF
8349 #line 8350 "configure"
8350 #include "confdefs.h"
8353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8354 { (eval echo configure:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8356 if test -z "$ac_err"; then
8358 eval "ac_cv_header_$ac_safe=yes"
8361 echo "configure: failed program was:" >&5
8362 cat conftest.$ac_ext >&5
8364 eval "ac_cv_header_$ac_safe=no"
8368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8369 echo "$ac_t""yes" 1>&6
8370 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8371 cat >> confdefs.h <<EOF
8372 #define $ac_tr_hdr 1
8376 echo "$ac_t""no" 1>&6
8382 if test x"$ac_has_wchar_h" = xyes &&
8383 test x"$ac_has_wctype_h" = xyes &&
8384 test x"$enable_c_mbchar" != xno; then
8386 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8387 echo "configure:8388: checking for WCHAR_MIN and WCHAR_MAX" >&5
8388 cat > conftest.$ac_ext <<EOF
8389 #line 8390 "configure"
8390 #include "confdefs.h"
8393 int i = WCHAR_MIN; int j = WCHAR_MAX;
8396 if { (eval echo configure:8397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8398 has_wchar_minmax=yes
8400 echo "configure: failed program was:" >&5
8401 cat conftest.$ac_ext >&5
8406 echo "$ac_t""$has_wchar_minmax" 1>&6
8408 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8409 echo "configure:8410: checking for WEOF" >&5
8410 cat > conftest.$ac_ext <<EOF
8411 #line 8412 "configure"
8412 #include "confdefs.h"
8420 if { (eval echo configure:8421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8424 echo "configure: failed program was:" >&5
8425 cat conftest.$ac_ext >&5
8430 echo "$ac_t""$has_weof" 1>&6
8433 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8436 echo "configure:8437: checking for $ac_func" >&5
8437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8438 echo $ac_n "(cached) $ac_c" 1>&6
8440 cat > conftest.$ac_ext <<EOF
8441 #line 8442 "configure"
8442 #include "confdefs.h"
8443 /* System header to define __stub macros and hopefully few prototypes,
8444 which can conflict with char $ac_func(); below. */
8446 /* Override any gcc2 internal prototype to avoid an error. */
8447 /* We use char because int might match the return type of a gcc2
8448 builtin and then its argument prototype would still apply. */
8453 /* The GNU C library defines this for functions which it implements
8454 to always fail with ENOSYS. Some functions are actually named
8455 something starting with __ and the normal name is an alias. */
8456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8464 if { (eval echo configure:8465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8466 eval "ac_cv_func_$ac_func=yes"
8468 echo "configure: failed program was:" >&5
8469 cat conftest.$ac_ext >&5
8471 eval "ac_cv_func_$ac_func=no"
8476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8477 echo "$ac_t""yes" 1>&6
8478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8479 cat >> confdefs.h <<EOF
8480 #define $ac_tr_func 1
8484 echo "$ac_t""no" 1>&6
8491 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8492 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8493 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8494 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8495 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8496 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8499 echo "configure:8500: checking for $ac_func" >&5
8500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8501 echo $ac_n "(cached) $ac_c" 1>&6
8503 cat > conftest.$ac_ext <<EOF
8504 #line 8505 "configure"
8505 #include "confdefs.h"
8506 /* System header to define __stub macros and hopefully few prototypes,
8507 which can conflict with char $ac_func(); below. */
8509 /* Override any gcc2 internal prototype to avoid an error. */
8510 /* We use char because int might match the return type of a gcc2
8511 builtin and then its argument prototype would still apply. */
8516 /* The GNU C library defines this for functions which it implements
8517 to always fail with ENOSYS. Some functions are actually named
8518 something starting with __ and the normal name is an alias. */
8519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8529 eval "ac_cv_func_$ac_func=yes"
8531 echo "configure: failed program was:" >&5
8532 cat conftest.$ac_ext >&5
8534 eval "ac_cv_func_$ac_func=no"
8539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8540 echo "$ac_t""yes" 1>&6
8541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8542 cat >> confdefs.h <<EOF
8543 #define $ac_tr_func 1
8547 echo "$ac_t""no" 1>&6
8554 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8555 echo "configure:8556: checking for ISO C99 wchar_t support" >&5
8556 if test x"$has_weof" = xyes &&
8557 test x"$has_wchar_minmax" = xyes &&
8558 test x"$ac_wfuncs" = xyes; then
8559 ac_isoC99_wchar_t=yes
8561 ac_isoC99_wchar_t=no
8563 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8565 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8566 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8567 echo "configure:8568: checking for iconv.h" >&5
8568 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8569 echo $ac_n "(cached) $ac_c" 1>&6
8571 cat > conftest.$ac_ext <<EOF
8572 #line 8573 "configure"
8573 #include "confdefs.h"
8576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8577 { (eval echo configure:8578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8579 if test -z "$ac_err"; then
8581 eval "ac_cv_header_$ac_safe=yes"
8584 echo "configure: failed program was:" >&5
8585 cat conftest.$ac_ext >&5
8587 eval "ac_cv_header_$ac_safe=no"
8591 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8592 echo "$ac_t""yes" 1>&6
8595 echo "$ac_t""no" 1>&6
8599 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8600 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8601 echo "configure:8602: checking for langinfo.h" >&5
8602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8603 echo $ac_n "(cached) $ac_c" 1>&6
8605 cat > conftest.$ac_ext <<EOF
8606 #line 8607 "configure"
8607 #include "confdefs.h"
8608 #include <langinfo.h>
8610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8611 { (eval echo configure:8612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8613 if test -z "$ac_err"; then
8615 eval "ac_cv_header_$ac_safe=yes"
8618 echo "configure: failed program was:" >&5
8619 cat conftest.$ac_ext >&5
8621 eval "ac_cv_header_$ac_safe=no"
8625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8626 echo "$ac_t""yes" 1>&6
8627 ac_has_langinfo_h=yes
8629 echo "$ac_t""no" 1>&6
8630 ac_has_langinfo_h=no
8634 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8635 echo "configure:8636: checking for iconv in -liconv" >&5
8636 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8637 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8638 echo $ac_n "(cached) $ac_c" 1>&6
8640 ac_save_LIBS="$LIBS"
8641 LIBS="-liconv $LIBS"
8642 cat > conftest.$ac_ext <<EOF
8643 #line 8644 "configure"
8644 #include "confdefs.h"
8645 /* Override any gcc2 internal prototype to avoid an error. */
8646 /* We use char because int might match the return type of a gcc2
8647 builtin and then its argument prototype would still apply. */
8654 if { (eval echo configure:8655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8656 eval "ac_cv_lib_$ac_lib_var=yes"
8658 echo "configure: failed program was:" >&5
8659 cat conftest.$ac_ext >&5
8661 eval "ac_cv_lib_$ac_lib_var=no"
8664 LIBS="$ac_save_LIBS"
8667 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8668 echo "$ac_t""yes" 1>&6
8671 echo "$ac_t""no" 1>&6
8674 ac_save_LIBS="$LIBS"
8675 LIBS="$LIBS $libiconv"
8677 for ac_func in iconv_open iconv_close iconv nl_langinfo
8679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8680 echo "configure:8681: checking for $ac_func" >&5
8681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8682 echo $ac_n "(cached) $ac_c" 1>&6
8684 cat > conftest.$ac_ext <<EOF
8685 #line 8686 "configure"
8686 #include "confdefs.h"
8687 /* System header to define __stub macros and hopefully few prototypes,
8688 which can conflict with char $ac_func(); below. */
8690 /* Override any gcc2 internal prototype to avoid an error. */
8691 /* We use char because int might match the return type of a gcc2
8692 builtin and then its argument prototype would still apply. */
8697 /* The GNU C library defines this for functions which it implements
8698 to always fail with ENOSYS. Some functions are actually named
8699 something starting with __ and the normal name is an alias. */
8700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8710 eval "ac_cv_func_$ac_func=yes"
8712 echo "configure: failed program was:" >&5
8713 cat conftest.$ac_ext >&5
8715 eval "ac_cv_func_$ac_func=no"
8720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8721 echo "$ac_t""yes" 1>&6
8722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8723 cat >> confdefs.h <<EOF
8724 #define $ac_tr_func 1
8729 echo "$ac_t""no" 1>&6
8735 LIBS="$ac_save_LIBS"
8737 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8738 echo "configure:8739: checking for XPG2 wchar_t support" >&5
8739 if test x"$ac_has_iconv_h" = xyes &&
8740 test x"$ac_has_langinfo_h" = xyes &&
8741 test x"$ac_XPG2funcs" = xyes; then
8746 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8748 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8749 echo "configure:8750: checking for enabled wchar_t specializations" >&5
8750 if test x"$ac_isoC99_wchar_t" = xyes &&
8751 test x"$ac_XPG2_wchar_t" = xyes; then
8752 cat >> confdefs.h <<\EOF
8753 #define _GLIBCPP_USE_WCHAR_T 1
8756 echo "$ac_t"""yes"" 1>&6
8758 echo "$ac_t"""no"" 1>&6
8761 echo "configure: warning: wchar_t support disabled." 1>&2
8764 os_include_dir="os/qnx/qnx6.1"
8765 cat >> confdefs.h <<\EOF
8769 cat >> confdefs.h <<\EOF
8773 cat >> confdefs.h <<\EOF
8774 #define HAVE_COSHF 1
8777 cat >> confdefs.h <<\EOF
8778 #define HAVE_COSHL 1
8781 cat >> confdefs.h <<\EOF
8785 cat >> confdefs.h <<\EOF
8789 cat >> confdefs.h <<\EOF
8790 #define HAVE_LOG10F 1
8793 cat >> confdefs.h <<\EOF
8794 #define HAVE_LOG10L 1
8797 cat >> confdefs.h <<\EOF
8801 cat >> confdefs.h <<\EOF
8805 cat >> confdefs.h <<\EOF
8806 #define HAVE_SINHF 1
8809 cat >> confdefs.h <<\EOF
8810 #define HAVE_SINHL 1
8815 os_include_dir="os/newlib"
8816 cat >> confdefs.h <<\EOF
8817 #define HAVE_HYPOT 1
8823 case "$target_alias" in
8827 cat >> confdefs.h <<\EOF
8828 #define HAVE_ACOSF 1
8831 cat >> confdefs.h <<\EOF
8832 #define HAVE_ASINF 1
8835 cat >> confdefs.h <<\EOF
8836 #define HAVE_ATAN2F 1
8839 cat >> confdefs.h <<\EOF
8840 #define HAVE_ATANF 1
8843 cat >> confdefs.h <<\EOF
8844 #define HAVE_CEILF 1
8847 cat >> confdefs.h <<\EOF
8848 #define HAVE_COPYSIGN 1
8851 cat >> confdefs.h <<\EOF
8852 #define HAVE_COPYSIGNF 1
8855 cat >> confdefs.h <<\EOF
8859 cat >> confdefs.h <<\EOF
8860 #define HAVE_COSHF 1
8863 cat >> confdefs.h <<\EOF
8867 cat >> confdefs.h <<\EOF
8868 #define HAVE_FABSF 1
8871 cat >> confdefs.h <<\EOF
8872 #define HAVE_FLOORF 1
8875 cat >> confdefs.h <<\EOF
8876 #define HAVE_FMODF 1
8879 cat >> confdefs.h <<\EOF
8880 #define HAVE_FREXPF 1
8883 cat >> confdefs.h <<\EOF
8884 #define HAVE_LDEXPF 1
8887 cat >> confdefs.h <<\EOF
8888 #define HAVE_LOG10F 1
8891 cat >> confdefs.h <<\EOF
8895 cat >> confdefs.h <<\EOF
8896 #define HAVE_MODFF 1
8899 cat >> confdefs.h <<\EOF
8903 cat >> confdefs.h <<\EOF
8907 cat >> confdefs.h <<\EOF
8908 #define HAVE_SINHF 1
8911 cat >> confdefs.h <<\EOF
8912 #define HAVE_SQRTF 1
8915 cat >> confdefs.h <<\EOF
8919 cat >> confdefs.h <<\EOF
8920 #define HAVE_TANHF 1
8925 # GLIBCPP_CHECK_STDLIB_SUPPORT
8926 cat >> confdefs.h <<\EOF
8927 #define HAVE_STRTOF 1
8930 cat >> confdefs.h <<\EOF
8931 #define HAVE_STRTOLD 1
8935 cat >> confdefs.h <<\EOF
8940 cat >> confdefs.h <<\EOF
8941 #define HAVE_ACOSF 1
8944 cat >> confdefs.h <<\EOF
8945 #define HAVE_ASINF 1
8948 cat >> confdefs.h <<\EOF
8949 #define HAVE_ATAN2F 1
8952 cat >> confdefs.h <<\EOF
8953 #define HAVE_ATANF 1
8956 cat >> confdefs.h <<\EOF
8957 #define HAVE_CEILF 1
8960 cat >> confdefs.h <<\EOF
8961 #define HAVE_COPYSIGN 1
8964 cat >> confdefs.h <<\EOF
8965 #define HAVE_COPYSIGNF 1
8968 cat >> confdefs.h <<\EOF
8972 cat >> confdefs.h <<\EOF
8973 #define HAVE_COSHF 1
8976 cat >> confdefs.h <<\EOF
8980 cat >> confdefs.h <<\EOF
8981 #define HAVE_FABSF 1
8984 cat >> confdefs.h <<\EOF
8985 #define HAVE_FINITE 1
8988 cat >> confdefs.h <<\EOF
8989 #define HAVE_FINITEF 1
8992 cat >> confdefs.h <<\EOF
8993 #define HAVE_FLOORF 1
8996 cat >> confdefs.h <<\EOF
8997 #define HAVE_FMODF 1
9000 cat >> confdefs.h <<\EOF
9001 #define HAVE_FREXPF 1
9004 cat >> confdefs.h <<\EOF
9005 #define HAVE_ISINF 1
9008 cat >> confdefs.h <<\EOF
9009 #define HAVE_ISINFF 1
9012 cat >> confdefs.h <<\EOF
9013 #define HAVE_ISNAN 1
9016 cat >> confdefs.h <<\EOF
9017 #define HAVE_ISNANF 1
9020 cat >> confdefs.h <<\EOF
9021 #define HAVE_LDEXPF 1
9024 cat >> confdefs.h <<\EOF
9025 #define HAVE_LOG10F 1
9028 cat >> confdefs.h <<\EOF
9032 cat >> confdefs.h <<\EOF
9033 #define HAVE_MODFF 1
9036 cat >> confdefs.h <<\EOF
9040 cat >> confdefs.h <<\EOF
9044 cat >> confdefs.h <<\EOF
9045 #define HAVE_SINHF 1
9048 cat >> confdefs.h <<\EOF
9049 #define HAVE_SQRTF 1
9052 cat >> confdefs.h <<\EOF
9056 cat >> confdefs.h <<\EOF
9057 #define HAVE_TANHF 1
9063 # At some point, we should differentiate between architectures
9064 # like x86, which have long double versions, and alpha/powerpc/etc.,
9065 # which don't. For the time being, punt.
9066 if test x"long_double_math_on_this_cpu" = x"yes"; then
9067 cat >> confdefs.h <<\EOF
9068 #define HAVE_ACOSL 1
9071 cat >> confdefs.h <<\EOF
9072 #define HAVE_ASINL 1
9075 cat >> confdefs.h <<\EOF
9076 #define HAVE_ATAN2L 1
9079 cat >> confdefs.h <<\EOF
9080 #define HAVE_ATANL 1
9083 cat >> confdefs.h <<\EOF
9084 #define HAVE_CEILL 1
9087 cat >> confdefs.h <<\EOF
9088 #define HAVE_COPYSIGNL 1
9091 cat >> confdefs.h <<\EOF
9095 cat >> confdefs.h <<\EOF
9096 #define HAVE_COSHL 1
9099 cat >> confdefs.h <<\EOF
9103 cat >> confdefs.h <<\EOF
9104 #define HAVE_FABSL 1
9107 cat >> confdefs.h <<\EOF
9108 #define HAVE_FINITEL 1
9111 cat >> confdefs.h <<\EOF
9112 #define HAVE_FLOORL 1
9115 cat >> confdefs.h <<\EOF
9116 #define HAVE_FMODL 1
9119 cat >> confdefs.h <<\EOF
9120 #define HAVE_FREXPL 1
9123 cat >> confdefs.h <<\EOF
9124 #define HAVE_ISINFL 1
9127 cat >> confdefs.h <<\EOF
9128 #define HAVE_ISNANL 1
9131 cat >> confdefs.h <<\EOF
9132 #define HAVE_LDEXPL 1
9135 cat >> confdefs.h <<\EOF
9136 #define HAVE_LOG10L 1
9139 cat >> confdefs.h <<\EOF
9143 cat >> confdefs.h <<\EOF
9144 #define HAVE_MODFL 1
9147 cat >> confdefs.h <<\EOF
9151 cat >> confdefs.h <<\EOF
9152 #define HAVE_SINCOSL 1
9155 cat >> confdefs.h <<\EOF
9159 cat >> confdefs.h <<\EOF
9160 #define HAVE_SINHL 1
9163 cat >> confdefs.h <<\EOF
9164 #define HAVE_SQRTL 1
9167 cat >> confdefs.h <<\EOF
9171 cat >> confdefs.h <<\EOF
9172 #define HAVE_TANHL 1
9179 # We are being configured natively. We can do more elaborate tests
9180 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9182 GLIBCPP_IS_CROSS_COMPILING=0
9185 # Check for available headers.
9186 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9187 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9189 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9191 echo "configure:9192: checking for $ac_hdr" >&5
9192 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9193 echo $ac_n "(cached) $ac_c" 1>&6
9195 cat > conftest.$ac_ext <<EOF
9196 #line 9197 "configure"
9197 #include "confdefs.h"
9200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9201 { (eval echo configure:9202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9203 if test -z "$ac_err"; then
9205 eval "ac_cv_header_$ac_safe=yes"
9208 echo "configure: failed program was:" >&5
9209 cat conftest.$ac_ext >&5
9211 eval "ac_cv_header_$ac_safe=no"
9215 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9216 echo "$ac_t""yes" 1>&6
9217 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9218 cat >> confdefs.h <<EOF
9219 #define $ac_tr_hdr 1
9223 echo "$ac_t""no" 1>&6
9229 # All these tests are for C++; save the language and the compiler flags.
9230 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9231 # found in GLIBCPP_CONFIGURE.
9234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9235 ac_cpp='$CXXCPP $CPPFLAGS'
9236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9238 cross_compiling=$ac_cv_prog_cxx_cross
9240 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9241 ac_save_CXXFLAGS="$CXXFLAGS"
9243 # Check for maintainer-mode bits.
9244 if test x"$USE_MAINTAINER_MODE" = xno; then
9250 # Check for -ffunction-sections -fdata-sections
9251 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9252 echo "configure:9253: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9253 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9254 cat > conftest.$ac_ext <<EOF
9255 #line 9256 "configure"
9256 #include "confdefs.h"
9263 if { (eval echo configure:9264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9267 echo "configure: failed program was:" >&5
9268 cat conftest.$ac_ext >&5
9273 if test "$ac_test_CXXFLAGS" = set; then
9274 CXXFLAGS="$ac_save_CXXFLAGS"
9276 # this is the suspicious part
9279 if test x"$ac_fdsections" = x"yes" &&
9280 test x"$enable_debug" = x"no"; then
9281 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9283 echo "$ac_t""$ac_fdsections" 1>&6
9286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9287 ac_cpp='$CPP $CPPFLAGS'
9288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9290 cross_compiling=$ac_cv_prog_cc_cross
9296 # If we're not using GNU ld, then there's no point in even trying these
9297 # tests. Check for that first. We should have already tested for gld
9298 # by now (in libtool), but require it now just to be safe...
9299 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9300 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9303 # The name set by libtool depends on the version of libtool. Shame on us
9304 # for depending on an impl detail, but c'est la vie. Older versions used
9305 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9306 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9307 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9308 # set (hence we're using an older libtool), then set it.
9309 if test x${with_gnu_ld+set} != xset; then
9310 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9311 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9314 with_gnu_ld=$ac_cv_prog_gnu_ld
9318 # Start by getting the version number. I think the libtool test already
9319 # does some of this, but throws away the result.
9321 ldver=`$LD --version 2>/dev/null | head -1 | \
9322 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9324 glibcpp_gnu_ld_version=`echo $ldver | \
9325 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9327 # Set --gc-sections.
9328 if test "$with_gnu_ld" = "notbroken"; then
9329 # GNU ld it is! Joy and bunny rabbits!
9331 # All these tests are for C++; save the language and the compiler flags.
9332 # Need to do this so that g++ won't try to link in libstdc++
9333 ac_test_CFLAGS="${CFLAGS+set}"
9334 ac_save_CFLAGS="$CFLAGS"
9335 CFLAGS='-x c++ -Wl,--gc-sections'
9337 # Check for -Wl,--gc-sections
9338 # XXX This test is broken at the moment, as symbols required for
9339 # linking are now in libsupc++ (not built yet.....). In addition,
9340 # this test has cored on solaris in the past. In addition,
9341 # --gc-sections doesn't really work at the moment (keeps on discarding
9342 # used sections, first .eh_frame and now some of the glibc sections for
9343 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9344 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9345 echo "configure:9346: checking for ld that supports -Wl,--gc-sections" >&5
9346 if test "$cross_compiling" = yes; then
9347 ac_sectionLDflags=yes
9349 cat > conftest.$ac_ext <<EOF
9350 #line 9351 "configure"
9351 #include "confdefs.h"
9361 if { (eval echo configure:9362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9363 ac_sectionLDflags=yes
9365 echo "configure: failed program was:" >&5
9366 cat conftest.$ac_ext >&5
9368 ac_sectionLDflags=no
9373 if test "$ac_test_CFLAGS" = set; then
9374 CFLAGS="$ac_save_CFLAGS"
9376 # this is the suspicious part
9379 if test "$ac_sectionLDflags" = "yes"; then
9380 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9382 echo "$ac_t""$ac_sectionLDflags" 1>&6
9385 # Set linker optimization flags.
9386 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9387 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9395 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9396 echo "configure:9397: checking for __builtin_abs declaration" >&5
9397 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9398 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9399 echo $ac_n "(cached) $ac_c" 1>&6
9404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9405 ac_cpp='$CXXCPP $CPPFLAGS'
9406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9408 cross_compiling=$ac_cv_prog_cxx_cross
9410 cat > conftest.$ac_ext <<EOF
9411 #line 9412 "configure"
9412 #include "confdefs.h"
9418 if { (eval echo configure:9419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9420 glibcpp_cv_func___builtin_abs_use=yes
9422 echo "configure: failed program was:" >&5
9423 cat conftest.$ac_ext >&5
9425 glibcpp_cv_func___builtin_abs_use=no
9429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9430 ac_cpp='$CPP $CPPFLAGS'
9431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9433 cross_compiling=$ac_cv_prog_cc_cross
9439 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9440 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9441 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9442 echo "configure:9443: checking for __builtin_abs linkage" >&5
9443 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9444 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9445 echo $ac_n "(cached) $ac_c" 1>&6
9448 cat > conftest.$ac_ext <<EOF
9449 #line 9450 "configure"
9450 #include "confdefs.h"
9456 if { (eval echo configure:9457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9458 glibcpp_cv_func___builtin_abs_link=yes
9460 echo "configure: failed program was:" >&5
9461 cat conftest.$ac_ext >&5
9463 glibcpp_cv_func___builtin_abs_link=no
9470 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9471 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9472 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9473 cat >> confdefs.h <<EOF
9474 #define ${ac_tr_func} 1
9481 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9482 echo "configure:9483: checking for __builtin_fabsf declaration" >&5
9483 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9484 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9485 echo $ac_n "(cached) $ac_c" 1>&6
9490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9491 ac_cpp='$CXXCPP $CPPFLAGS'
9492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9494 cross_compiling=$ac_cv_prog_cxx_cross
9496 cat > conftest.$ac_ext <<EOF
9497 #line 9498 "configure"
9498 #include "confdefs.h"
9504 if { (eval echo configure:9505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9506 glibcpp_cv_func___builtin_fabsf_use=yes
9508 echo "configure: failed program was:" >&5
9509 cat conftest.$ac_ext >&5
9511 glibcpp_cv_func___builtin_fabsf_use=no
9515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9516 ac_cpp='$CPP $CPPFLAGS'
9517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9519 cross_compiling=$ac_cv_prog_cc_cross
9525 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9526 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9527 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9528 echo "configure:9529: checking for __builtin_fabsf linkage" >&5
9529 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9530 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9531 echo $ac_n "(cached) $ac_c" 1>&6
9534 cat > conftest.$ac_ext <<EOF
9535 #line 9536 "configure"
9536 #include "confdefs.h"
9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9544 glibcpp_cv_func___builtin_fabsf_link=yes
9546 echo "configure: failed program was:" >&5
9547 cat conftest.$ac_ext >&5
9549 glibcpp_cv_func___builtin_fabsf_link=no
9556 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9557 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9558 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9559 cat >> confdefs.h <<EOF
9560 #define ${ac_tr_func} 1
9567 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9568 echo "configure:9569: checking for __builtin_fabs declaration" >&5
9569 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9570 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9571 echo $ac_n "(cached) $ac_c" 1>&6
9576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9577 ac_cpp='$CXXCPP $CPPFLAGS'
9578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9580 cross_compiling=$ac_cv_prog_cxx_cross
9582 cat > conftest.$ac_ext <<EOF
9583 #line 9584 "configure"
9584 #include "confdefs.h"
9590 if { (eval echo configure:9591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9592 glibcpp_cv_func___builtin_fabs_use=yes
9594 echo "configure: failed program was:" >&5
9595 cat conftest.$ac_ext >&5
9597 glibcpp_cv_func___builtin_fabs_use=no
9601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9602 ac_cpp='$CPP $CPPFLAGS'
9603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9605 cross_compiling=$ac_cv_prog_cc_cross
9611 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9612 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9613 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9614 echo "configure:9615: checking for __builtin_fabs linkage" >&5
9615 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9616 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9617 echo $ac_n "(cached) $ac_c" 1>&6
9620 cat > conftest.$ac_ext <<EOF
9621 #line 9622 "configure"
9622 #include "confdefs.h"
9628 if { (eval echo configure:9629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9630 glibcpp_cv_func___builtin_fabs_link=yes
9632 echo "configure: failed program was:" >&5
9633 cat conftest.$ac_ext >&5
9635 glibcpp_cv_func___builtin_fabs_link=no
9642 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9643 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9644 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9645 cat >> confdefs.h <<EOF
9646 #define ${ac_tr_func} 1
9653 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9654 echo "configure:9655: checking for __builtin_fabsl declaration" >&5
9655 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9656 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9657 echo $ac_n "(cached) $ac_c" 1>&6
9662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9663 ac_cpp='$CXXCPP $CPPFLAGS'
9664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9666 cross_compiling=$ac_cv_prog_cxx_cross
9668 cat > conftest.$ac_ext <<EOF
9669 #line 9670 "configure"
9670 #include "confdefs.h"
9676 if { (eval echo configure:9677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9678 glibcpp_cv_func___builtin_fabsl_use=yes
9680 echo "configure: failed program was:" >&5
9681 cat conftest.$ac_ext >&5
9683 glibcpp_cv_func___builtin_fabsl_use=no
9687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9688 ac_cpp='$CPP $CPPFLAGS'
9689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9691 cross_compiling=$ac_cv_prog_cc_cross
9697 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9698 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9699 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9700 echo "configure:9701: checking for __builtin_fabsl linkage" >&5
9701 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9702 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9703 echo $ac_n "(cached) $ac_c" 1>&6
9706 cat > conftest.$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9714 if { (eval echo configure:9715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9716 glibcpp_cv_func___builtin_fabsl_link=yes
9718 echo "configure: failed program was:" >&5
9719 cat conftest.$ac_ext >&5
9721 glibcpp_cv_func___builtin_fabsl_link=no
9728 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9729 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9730 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9731 cat >> confdefs.h <<EOF
9732 #define ${ac_tr_func} 1
9739 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9740 echo "configure:9741: checking for __builtin_labs declaration" >&5
9741 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9742 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9743 echo $ac_n "(cached) $ac_c" 1>&6
9748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9749 ac_cpp='$CXXCPP $CPPFLAGS'
9750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9752 cross_compiling=$ac_cv_prog_cxx_cross
9754 cat > conftest.$ac_ext <<EOF
9755 #line 9756 "configure"
9756 #include "confdefs.h"
9762 if { (eval echo configure:9763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9764 glibcpp_cv_func___builtin_labs_use=yes
9766 echo "configure: failed program was:" >&5
9767 cat conftest.$ac_ext >&5
9769 glibcpp_cv_func___builtin_labs_use=no
9773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9774 ac_cpp='$CPP $CPPFLAGS'
9775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9777 cross_compiling=$ac_cv_prog_cc_cross
9783 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9784 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9785 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9786 echo "configure:9787: checking for __builtin_labs linkage" >&5
9787 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9788 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9789 echo $ac_n "(cached) $ac_c" 1>&6
9792 cat > conftest.$ac_ext <<EOF
9793 #line 9794 "configure"
9794 #include "confdefs.h"
9800 if { (eval echo configure:9801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9802 glibcpp_cv_func___builtin_labs_link=yes
9804 echo "configure: failed program was:" >&5
9805 cat conftest.$ac_ext >&5
9807 glibcpp_cv_func___builtin_labs_link=no
9814 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9815 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9816 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9817 cat >> confdefs.h <<EOF
9818 #define ${ac_tr_func} 1
9826 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9827 echo "configure:9828: checking for __builtin_sqrtf declaration" >&5
9828 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9829 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9836 ac_cpp='$CXXCPP $CPPFLAGS'
9837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9839 cross_compiling=$ac_cv_prog_cxx_cross
9841 cat > conftest.$ac_ext <<EOF
9842 #line 9843 "configure"
9843 #include "confdefs.h"
9849 if { (eval echo configure:9850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9851 glibcpp_cv_func___builtin_sqrtf_use=yes
9853 echo "configure: failed program was:" >&5
9854 cat conftest.$ac_ext >&5
9856 glibcpp_cv_func___builtin_sqrtf_use=no
9860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9861 ac_cpp='$CPP $CPPFLAGS'
9862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9864 cross_compiling=$ac_cv_prog_cc_cross
9870 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9871 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9872 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9873 echo "configure:9874: checking for __builtin_sqrtf linkage" >&5
9874 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9875 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9876 echo $ac_n "(cached) $ac_c" 1>&6
9879 cat > conftest.$ac_ext <<EOF
9880 #line 9881 "configure"
9881 #include "confdefs.h"
9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9889 glibcpp_cv_func___builtin_sqrtf_link=yes
9891 echo "configure: failed program was:" >&5
9892 cat conftest.$ac_ext >&5
9894 glibcpp_cv_func___builtin_sqrtf_link=no
9901 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9902 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9903 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9904 cat >> confdefs.h <<EOF
9905 #define ${ac_tr_func} 1
9912 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9913 echo "configure:9914: checking for __builtin_sqrt declaration" >&5
9914 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9915 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9916 echo $ac_n "(cached) $ac_c" 1>&6
9921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9922 ac_cpp='$CXXCPP $CPPFLAGS'
9923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9925 cross_compiling=$ac_cv_prog_cxx_cross
9927 cat > conftest.$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9935 if { (eval echo configure:9936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9937 glibcpp_cv_func___builtin_sqrt_use=yes
9939 echo "configure: failed program was:" >&5
9940 cat conftest.$ac_ext >&5
9942 glibcpp_cv_func___builtin_sqrt_use=no
9946 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9947 ac_cpp='$CPP $CPPFLAGS'
9948 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9949 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9950 cross_compiling=$ac_cv_prog_cc_cross
9956 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9957 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9958 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9959 echo "configure:9960: checking for __builtin_sqrt linkage" >&5
9960 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9961 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9962 echo $ac_n "(cached) $ac_c" 1>&6
9965 cat > conftest.$ac_ext <<EOF
9966 #line 9967 "configure"
9967 #include "confdefs.h"
9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9975 glibcpp_cv_func___builtin_sqrt_link=yes
9977 echo "configure: failed program was:" >&5
9978 cat conftest.$ac_ext >&5
9980 glibcpp_cv_func___builtin_sqrt_link=no
9987 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9988 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9989 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9990 cat >> confdefs.h <<EOF
9991 #define ${ac_tr_func} 1
9998 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9999 echo "configure:10000: checking for __builtin_sqrtl declaration" >&5
10000 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10001 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10002 echo $ac_n "(cached) $ac_c" 1>&6
10007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10008 ac_cpp='$CXXCPP $CPPFLAGS'
10009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10011 cross_compiling=$ac_cv_prog_cxx_cross
10013 cat > conftest.$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10018 __builtin_sqrtl(0);
10021 if { (eval echo configure:10022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10023 glibcpp_cv_func___builtin_sqrtl_use=yes
10025 echo "configure: failed program was:" >&5
10026 cat conftest.$ac_ext >&5
10028 glibcpp_cv_func___builtin_sqrtl_use=no
10032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10033 ac_cpp='$CPP $CPPFLAGS'
10034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10036 cross_compiling=$ac_cv_prog_cc_cross
10042 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10043 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10044 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10045 echo "configure:10046: checking for __builtin_sqrtl linkage" >&5
10046 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10047 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10048 echo $ac_n "(cached) $ac_c" 1>&6
10051 cat > conftest.$ac_ext <<EOF
10052 #line 10053 "configure"
10053 #include "confdefs.h"
10056 __builtin_sqrtl(0);
10059 if { (eval echo configure:10060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10061 glibcpp_cv_func___builtin_sqrtl_link=yes
10063 echo "configure: failed program was:" >&5
10064 cat conftest.$ac_ext >&5
10066 glibcpp_cv_func___builtin_sqrtl_link=no
10073 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10074 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10075 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10076 cat >> confdefs.h <<EOF
10077 #define ${ac_tr_func} 1
10085 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10086 echo "configure:10087: checking for __builtin_sinf declaration" >&5
10087 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10088 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10089 echo $ac_n "(cached) $ac_c" 1>&6
10094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10095 ac_cpp='$CXXCPP $CPPFLAGS'
10096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10098 cross_compiling=$ac_cv_prog_cxx_cross
10100 cat > conftest.$ac_ext <<EOF
10101 #line 10102 "configure"
10102 #include "confdefs.h"
10108 if { (eval echo configure:10109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10110 glibcpp_cv_func___builtin_sinf_use=yes
10112 echo "configure: failed program was:" >&5
10113 cat conftest.$ac_ext >&5
10115 glibcpp_cv_func___builtin_sinf_use=no
10119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10120 ac_cpp='$CPP $CPPFLAGS'
10121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10123 cross_compiling=$ac_cv_prog_cc_cross
10129 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10130 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10131 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10132 echo "configure:10133: checking for __builtin_sinf linkage" >&5
10133 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10134 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10135 echo $ac_n "(cached) $ac_c" 1>&6
10138 cat > conftest.$ac_ext <<EOF
10139 #line 10140 "configure"
10140 #include "confdefs.h"
10146 if { (eval echo configure:10147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10148 glibcpp_cv_func___builtin_sinf_link=yes
10150 echo "configure: failed program was:" >&5
10151 cat conftest.$ac_ext >&5
10153 glibcpp_cv_func___builtin_sinf_link=no
10160 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10161 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10162 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10163 cat >> confdefs.h <<EOF
10164 #define ${ac_tr_func} 1
10171 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10172 echo "configure:10173: checking for __builtin_sin declaration" >&5
10173 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10174 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10175 echo $ac_n "(cached) $ac_c" 1>&6
10180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10181 ac_cpp='$CXXCPP $CPPFLAGS'
10182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10184 cross_compiling=$ac_cv_prog_cxx_cross
10186 cat > conftest.$ac_ext <<EOF
10187 #line 10188 "configure"
10188 #include "confdefs.h"
10194 if { (eval echo configure:10195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10196 glibcpp_cv_func___builtin_sin_use=yes
10198 echo "configure: failed program was:" >&5
10199 cat conftest.$ac_ext >&5
10201 glibcpp_cv_func___builtin_sin_use=no
10205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10206 ac_cpp='$CPP $CPPFLAGS'
10207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10209 cross_compiling=$ac_cv_prog_cc_cross
10215 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10216 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10217 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10218 echo "configure:10219: checking for __builtin_sin linkage" >&5
10219 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10220 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10221 echo $ac_n "(cached) $ac_c" 1>&6
10224 cat > conftest.$ac_ext <<EOF
10225 #line 10226 "configure"
10226 #include "confdefs.h"
10232 if { (eval echo configure:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10234 glibcpp_cv_func___builtin_sin_link=yes
10236 echo "configure: failed program was:" >&5
10237 cat conftest.$ac_ext >&5
10239 glibcpp_cv_func___builtin_sin_link=no
10246 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10247 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10248 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10249 cat >> confdefs.h <<EOF
10250 #define ${ac_tr_func} 1
10257 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10258 echo "configure:10259: checking for __builtin_sinl declaration" >&5
10259 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10260 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10261 echo $ac_n "(cached) $ac_c" 1>&6
10266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10267 ac_cpp='$CXXCPP $CPPFLAGS'
10268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10270 cross_compiling=$ac_cv_prog_cxx_cross
10272 cat > conftest.$ac_ext <<EOF
10273 #line 10274 "configure"
10274 #include "confdefs.h"
10280 if { (eval echo configure:10281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10282 glibcpp_cv_func___builtin_sinl_use=yes
10284 echo "configure: failed program was:" >&5
10285 cat conftest.$ac_ext >&5
10287 glibcpp_cv_func___builtin_sinl_use=no
10291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10292 ac_cpp='$CPP $CPPFLAGS'
10293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10295 cross_compiling=$ac_cv_prog_cc_cross
10301 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10302 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10303 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10304 echo "configure:10305: checking for __builtin_sinl linkage" >&5
10305 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10306 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10307 echo $ac_n "(cached) $ac_c" 1>&6
10310 cat > conftest.$ac_ext <<EOF
10311 #line 10312 "configure"
10312 #include "confdefs.h"
10318 if { (eval echo configure:10319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10320 glibcpp_cv_func___builtin_sinl_link=yes
10322 echo "configure: failed program was:" >&5
10323 cat conftest.$ac_ext >&5
10325 glibcpp_cv_func___builtin_sinl_link=no
10332 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10333 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10334 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10335 cat >> confdefs.h <<EOF
10336 #define ${ac_tr_func} 1
10344 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10345 echo "configure:10346: checking for __builtin_cosf declaration" >&5
10346 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10347 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10348 echo $ac_n "(cached) $ac_c" 1>&6
10353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10354 ac_cpp='$CXXCPP $CPPFLAGS'
10355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10357 cross_compiling=$ac_cv_prog_cxx_cross
10359 cat > conftest.$ac_ext <<EOF
10360 #line 10361 "configure"
10361 #include "confdefs.h"
10367 if { (eval echo configure:10368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10369 glibcpp_cv_func___builtin_cosf_use=yes
10371 echo "configure: failed program was:" >&5
10372 cat conftest.$ac_ext >&5
10374 glibcpp_cv_func___builtin_cosf_use=no
10378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10379 ac_cpp='$CPP $CPPFLAGS'
10380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10382 cross_compiling=$ac_cv_prog_cc_cross
10388 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10389 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10390 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10391 echo "configure:10392: checking for __builtin_cosf linkage" >&5
10392 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10393 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10394 echo $ac_n "(cached) $ac_c" 1>&6
10397 cat > conftest.$ac_ext <<EOF
10398 #line 10399 "configure"
10399 #include "confdefs.h"
10405 if { (eval echo configure:10406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10407 glibcpp_cv_func___builtin_cosf_link=yes
10409 echo "configure: failed program was:" >&5
10410 cat conftest.$ac_ext >&5
10412 glibcpp_cv_func___builtin_cosf_link=no
10419 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10420 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10421 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10422 cat >> confdefs.h <<EOF
10423 #define ${ac_tr_func} 1
10430 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10431 echo "configure:10432: checking for __builtin_cos declaration" >&5
10432 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10433 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10434 echo $ac_n "(cached) $ac_c" 1>&6
10439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10440 ac_cpp='$CXXCPP $CPPFLAGS'
10441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10443 cross_compiling=$ac_cv_prog_cxx_cross
10445 cat > conftest.$ac_ext <<EOF
10446 #line 10447 "configure"
10447 #include "confdefs.h"
10453 if { (eval echo configure:10454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10455 glibcpp_cv_func___builtin_cos_use=yes
10457 echo "configure: failed program was:" >&5
10458 cat conftest.$ac_ext >&5
10460 glibcpp_cv_func___builtin_cos_use=no
10464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10465 ac_cpp='$CPP $CPPFLAGS'
10466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10468 cross_compiling=$ac_cv_prog_cc_cross
10474 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10475 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10476 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10477 echo "configure:10478: checking for __builtin_cos linkage" >&5
10478 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10479 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10480 echo $ac_n "(cached) $ac_c" 1>&6
10483 cat > conftest.$ac_ext <<EOF
10484 #line 10485 "configure"
10485 #include "confdefs.h"
10491 if { (eval echo configure:10492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10493 glibcpp_cv_func___builtin_cos_link=yes
10495 echo "configure: failed program was:" >&5
10496 cat conftest.$ac_ext >&5
10498 glibcpp_cv_func___builtin_cos_link=no
10505 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10506 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10507 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10508 cat >> confdefs.h <<EOF
10509 #define ${ac_tr_func} 1
10516 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10517 echo "configure:10518: checking for __builtin_cosl declaration" >&5
10518 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10519 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10520 echo $ac_n "(cached) $ac_c" 1>&6
10525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10526 ac_cpp='$CXXCPP $CPPFLAGS'
10527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10529 cross_compiling=$ac_cv_prog_cxx_cross
10531 cat > conftest.$ac_ext <<EOF
10532 #line 10533 "configure"
10533 #include "confdefs.h"
10539 if { (eval echo configure:10540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10541 glibcpp_cv_func___builtin_cosl_use=yes
10543 echo "configure: failed program was:" >&5
10544 cat conftest.$ac_ext >&5
10546 glibcpp_cv_func___builtin_cosl_use=no
10550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10551 ac_cpp='$CPP $CPPFLAGS'
10552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10554 cross_compiling=$ac_cv_prog_cc_cross
10560 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10561 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10562 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10563 echo "configure:10564: checking for __builtin_cosl linkage" >&5
10564 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10565 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10566 echo $ac_n "(cached) $ac_c" 1>&6
10569 cat > conftest.$ac_ext <<EOF
10570 #line 10571 "configure"
10571 #include "confdefs.h"
10577 if { (eval echo configure:10578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10579 glibcpp_cv_func___builtin_cosl_link=yes
10581 echo "configure: failed program was:" >&5
10582 cat conftest.$ac_ext >&5
10584 glibcpp_cv_func___builtin_cosl_link=no
10591 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10592 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10593 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10594 cat >> confdefs.h <<EOF
10595 #define ${ac_tr_func} 1
10603 if test x$dummyvar = x"yes"; then
10604 cat >> confdefs.h <<\EOF
10605 #define HAVE___BUILTIN_ABS 1
10608 cat >> confdefs.h <<\EOF
10609 #define HAVE___BUILTIN_LABS 1
10612 cat >> confdefs.h <<\EOF
10613 #define HAVE___BUILTIN_COS 1
10616 cat >> confdefs.h <<\EOF
10617 #define HAVE___BUILTIN_COSF 1
10620 cat >> confdefs.h <<\EOF
10621 #define HAVE___BUILTIN_COSL 1
10624 cat >> confdefs.h <<\EOF
10625 #define HAVE___BUILTIN_FABS 1
10628 cat >> confdefs.h <<\EOF
10629 #define HAVE___BUILTIN_FABSF 1
10632 cat >> confdefs.h <<\EOF
10633 #define HAVE___BUILTIN_FABSL 1
10636 cat >> confdefs.h <<\EOF
10637 #define HAVE___BUILTIN_SIN 1
10640 cat >> confdefs.h <<\EOF
10641 #define HAVE___BUILTIN_SINF 1
10644 cat >> confdefs.h <<\EOF
10645 #define HAVE___BUILTIN_SINL 1
10648 cat >> confdefs.h <<\EOF
10649 #define HAVE___BUILTIN_SQRT 1
10652 cat >> confdefs.h <<\EOF
10653 #define HAVE___BUILTIN_SQRTF 1
10656 cat >> confdefs.h <<\EOF
10657 #define HAVE___BUILTIN_SQRTL 1
10663 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10664 ac_save_CXXFLAGS="$CXXFLAGS"
10665 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10667 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10668 echo "configure:10669: checking for sin in -lm" >&5
10669 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10671 echo $ac_n "(cached) $ac_c" 1>&6
10673 ac_save_LIBS="$LIBS"
10675 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure"
10677 #include "confdefs.h"
10678 /* Override any gcc2 internal prototype to avoid an error. */
10679 /* We use char because int might match the return type of a gcc2
10680 builtin and then its argument prototype would still apply. */
10687 if { (eval echo configure:10688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10689 eval "ac_cv_lib_$ac_lib_var=yes"
10691 echo "configure: failed program was:" >&5
10692 cat conftest.$ac_ext >&5
10694 eval "ac_cv_lib_$ac_lib_var=no"
10697 LIBS="$ac_save_LIBS"
10700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10701 echo "$ac_t""yes" 1>&6
10704 echo "$ac_t""no" 1>&6
10707 ac_save_LIBS="$LIBS"
10712 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10713 echo "configure:10714: checking for isinf declaration" >&5
10714 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10715 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10716 echo $ac_n "(cached) $ac_c" 1>&6
10721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10722 ac_cpp='$CXXCPP $CPPFLAGS'
10723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10725 cross_compiling=$ac_cv_prog_cxx_cross
10727 cat > conftest.$ac_ext <<EOF
10728 #line 10729 "configure"
10729 #include "confdefs.h"
10731 #ifdef HAVE_IEEEFP_H
10732 #include <ieeefp.h>
10739 if { (eval echo configure:10740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10741 glibcpp_cv_func_isinf_use=yes
10743 echo "configure: failed program was:" >&5
10744 cat conftest.$ac_ext >&5
10746 glibcpp_cv_func_isinf_use=no
10750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10751 ac_cpp='$CPP $CPPFLAGS'
10752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10754 cross_compiling=$ac_cv_prog_cc_cross
10760 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10762 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10763 for ac_func in isinf
10765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10766 echo "configure:10767: checking for $ac_func" >&5
10767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10768 echo $ac_n "(cached) $ac_c" 1>&6
10770 cat > conftest.$ac_ext <<EOF
10771 #line 10772 "configure"
10772 #include "confdefs.h"
10773 /* System header to define __stub macros and hopefully few prototypes,
10774 which can conflict with char $ac_func(); below. */
10775 #include <assert.h>
10776 /* Override any gcc2 internal prototype to avoid an error. */
10777 /* We use char because int might match the return type of a gcc2
10778 builtin and then its argument prototype would still apply. */
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10794 if { (eval echo configure:10795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10796 eval "ac_cv_func_$ac_func=yes"
10798 echo "configure: failed program was:" >&5
10799 cat conftest.$ac_ext >&5
10801 eval "ac_cv_func_$ac_func=no"
10806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10807 echo "$ac_t""yes" 1>&6
10808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10809 cat >> confdefs.h <<EOF
10810 #define $ac_tr_func 1
10814 echo "$ac_t""no" 1>&6
10820 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10821 echo "configure:10822: checking for _isinf declaration" >&5
10822 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10823 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10824 echo $ac_n "(cached) $ac_c" 1>&6
10829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10830 ac_cpp='$CXXCPP $CPPFLAGS'
10831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10833 cross_compiling=$ac_cv_prog_cxx_cross
10835 cat > conftest.$ac_ext <<EOF
10836 #line 10837 "configure"
10837 #include "confdefs.h"
10839 #ifdef HAVE_IEEEFP_H
10840 #include <ieeefp.h>
10847 if { (eval echo configure:10848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10849 glibcpp_cv_func__isinf_use=yes
10851 echo "configure: failed program was:" >&5
10852 cat conftest.$ac_ext >&5
10854 glibcpp_cv_func__isinf_use=no
10858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10859 ac_cpp='$CPP $CPPFLAGS'
10860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10862 cross_compiling=$ac_cv_prog_cc_cross
10868 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10870 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10871 for ac_func in _isinf
10873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10874 echo "configure:10875: checking for $ac_func" >&5
10875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10876 echo $ac_n "(cached) $ac_c" 1>&6
10878 cat > conftest.$ac_ext <<EOF
10879 #line 10880 "configure"
10880 #include "confdefs.h"
10881 /* System header to define __stub macros and hopefully few prototypes,
10882 which can conflict with char $ac_func(); below. */
10883 #include <assert.h>
10884 /* Override any gcc2 internal prototype to avoid an error. */
10885 /* We use char because int might match the return type of a gcc2
10886 builtin and then its argument prototype would still apply. */
10891 /* The GNU C library defines this for functions which it implements
10892 to always fail with ENOSYS. Some functions are actually named
10893 something starting with __ and the normal name is an alias. */
10894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10902 if { (eval echo configure:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10904 eval "ac_cv_func_$ac_func=yes"
10906 echo "configure: failed program was:" >&5
10907 cat conftest.$ac_ext >&5
10909 eval "ac_cv_func_$ac_func=no"
10914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10915 echo "$ac_t""yes" 1>&6
10916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10917 cat >> confdefs.h <<EOF
10918 #define $ac_tr_func 1
10922 echo "$ac_t""no" 1>&6
10931 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10932 echo "configure:10933: checking for isnan declaration" >&5
10933 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10934 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10935 echo $ac_n "(cached) $ac_c" 1>&6
10940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10941 ac_cpp='$CXXCPP $CPPFLAGS'
10942 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10943 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10944 cross_compiling=$ac_cv_prog_cxx_cross
10946 cat > conftest.$ac_ext <<EOF
10947 #line 10948 "configure"
10948 #include "confdefs.h"
10950 #ifdef HAVE_IEEEFP_H
10951 #include <ieeefp.h>
10958 if { (eval echo configure:10959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10960 glibcpp_cv_func_isnan_use=yes
10962 echo "configure: failed program was:" >&5
10963 cat conftest.$ac_ext >&5
10965 glibcpp_cv_func_isnan_use=no
10969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10970 ac_cpp='$CPP $CPPFLAGS'
10971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10973 cross_compiling=$ac_cv_prog_cc_cross
10979 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10981 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10982 for ac_func in isnan
10984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10985 echo "configure:10986: checking for $ac_func" >&5
10986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10987 echo $ac_n "(cached) $ac_c" 1>&6
10989 cat > conftest.$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992 /* System header to define __stub macros and hopefully few prototypes,
10993 which can conflict with char $ac_func(); below. */
10994 #include <assert.h>
10995 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */
11002 /* The GNU C library defines this for functions which it implements
11003 to always fail with ENOSYS. Some functions are actually named
11004 something starting with __ and the normal name is an alias. */
11005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11013 if { (eval echo configure:11014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11015 eval "ac_cv_func_$ac_func=yes"
11017 echo "configure: failed program was:" >&5
11018 cat conftest.$ac_ext >&5
11020 eval "ac_cv_func_$ac_func=no"
11025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11026 echo "$ac_t""yes" 1>&6
11027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11028 cat >> confdefs.h <<EOF
11029 #define $ac_tr_func 1
11033 echo "$ac_t""no" 1>&6
11039 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11040 echo "configure:11041: checking for _isnan declaration" >&5
11041 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11042 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11043 echo $ac_n "(cached) $ac_c" 1>&6
11048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11049 ac_cpp='$CXXCPP $CPPFLAGS'
11050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11052 cross_compiling=$ac_cv_prog_cxx_cross
11054 cat > conftest.$ac_ext <<EOF
11055 #line 11056 "configure"
11056 #include "confdefs.h"
11058 #ifdef HAVE_IEEEFP_H
11059 #include <ieeefp.h>
11066 if { (eval echo configure:11067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11068 glibcpp_cv_func__isnan_use=yes
11070 echo "configure: failed program was:" >&5
11071 cat conftest.$ac_ext >&5
11073 glibcpp_cv_func__isnan_use=no
11077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11078 ac_cpp='$CPP $CPPFLAGS'
11079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11081 cross_compiling=$ac_cv_prog_cc_cross
11087 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11089 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11090 for ac_func in _isnan
11092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11093 echo "configure:11094: checking for $ac_func" >&5
11094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11095 echo $ac_n "(cached) $ac_c" 1>&6
11097 cat > conftest.$ac_ext <<EOF
11098 #line 11099 "configure"
11099 #include "confdefs.h"
11100 /* System header to define __stub macros and hopefully few prototypes,
11101 which can conflict with char $ac_func(); below. */
11102 #include <assert.h>
11103 /* Override any gcc2 internal prototype to avoid an error. */
11104 /* We use char because int might match the return type of a gcc2
11105 builtin and then its argument prototype would still apply. */
11110 /* The GNU C library defines this for functions which it implements
11111 to always fail with ENOSYS. Some functions are actually named
11112 something starting with __ and the normal name is an alias. */
11113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11121 if { (eval echo configure:11122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11123 eval "ac_cv_func_$ac_func=yes"
11125 echo "configure: failed program was:" >&5
11126 cat conftest.$ac_ext >&5
11128 eval "ac_cv_func_$ac_func=no"
11133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11134 echo "$ac_t""yes" 1>&6
11135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11136 cat >> confdefs.h <<EOF
11137 #define $ac_tr_func 1
11141 echo "$ac_t""no" 1>&6
11150 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11151 echo "configure:11152: checking for finite declaration" >&5
11152 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11153 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11154 echo $ac_n "(cached) $ac_c" 1>&6
11159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11160 ac_cpp='$CXXCPP $CPPFLAGS'
11161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11163 cross_compiling=$ac_cv_prog_cxx_cross
11165 cat > conftest.$ac_ext <<EOF
11166 #line 11167 "configure"
11167 #include "confdefs.h"
11169 #ifdef HAVE_IEEEFP_H
11170 #include <ieeefp.h>
11177 if { (eval echo configure:11178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11179 glibcpp_cv_func_finite_use=yes
11181 echo "configure: failed program was:" >&5
11182 cat conftest.$ac_ext >&5
11184 glibcpp_cv_func_finite_use=no
11188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11189 ac_cpp='$CPP $CPPFLAGS'
11190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11192 cross_compiling=$ac_cv_prog_cc_cross
11198 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11200 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11201 for ac_func in finite
11203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11204 echo "configure:11205: checking for $ac_func" >&5
11205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11206 echo $ac_n "(cached) $ac_c" 1>&6
11208 cat > conftest.$ac_ext <<EOF
11209 #line 11210 "configure"
11210 #include "confdefs.h"
11211 /* System header to define __stub macros and hopefully few prototypes,
11212 which can conflict with char $ac_func(); below. */
11213 #include <assert.h>
11214 /* Override any gcc2 internal prototype to avoid an error. */
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11221 /* The GNU C library defines this for functions which it implements
11222 to always fail with ENOSYS. Some functions are actually named
11223 something starting with __ and the normal name is an alias. */
11224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11232 if { (eval echo configure:11233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11234 eval "ac_cv_func_$ac_func=yes"
11236 echo "configure: failed program was:" >&5
11237 cat conftest.$ac_ext >&5
11239 eval "ac_cv_func_$ac_func=no"
11244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11247 cat >> confdefs.h <<EOF
11248 #define $ac_tr_func 1
11252 echo "$ac_t""no" 1>&6
11258 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11259 echo "configure:11260: checking for _finite declaration" >&5
11260 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11261 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11262 echo $ac_n "(cached) $ac_c" 1>&6
11267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11268 ac_cpp='$CXXCPP $CPPFLAGS'
11269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11271 cross_compiling=$ac_cv_prog_cxx_cross
11273 cat > conftest.$ac_ext <<EOF
11274 #line 11275 "configure"
11275 #include "confdefs.h"
11277 #ifdef HAVE_IEEEFP_H
11278 #include <ieeefp.h>
11285 if { (eval echo configure:11286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11287 glibcpp_cv_func__finite_use=yes
11289 echo "configure: failed program was:" >&5
11290 cat conftest.$ac_ext >&5
11292 glibcpp_cv_func__finite_use=no
11296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling=$ac_cv_prog_cc_cross
11306 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11308 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11309 for ac_func in _finite
11311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11312 echo "configure:11313: checking for $ac_func" >&5
11313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11314 echo $ac_n "(cached) $ac_c" 1>&6
11316 cat > conftest.$ac_ext <<EOF
11317 #line 11318 "configure"
11318 #include "confdefs.h"
11319 /* System header to define __stub macros and hopefully few prototypes,
11320 which can conflict with char $ac_func(); below. */
11321 #include <assert.h>
11322 /* Override any gcc2 internal prototype to avoid an error. */
11323 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */
11329 /* The GNU C library defines this for functions which it implements
11330 to always fail with ENOSYS. Some functions are actually named
11331 something starting with __ and the normal name is an alias. */
11332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11340 if { (eval echo configure:11341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11342 eval "ac_cv_func_$ac_func=yes"
11344 echo "configure: failed program was:" >&5
11345 cat conftest.$ac_ext >&5
11347 eval "ac_cv_func_$ac_func=no"
11352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11353 echo "$ac_t""yes" 1>&6
11354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11355 cat >> confdefs.h <<EOF
11356 #define $ac_tr_func 1
11360 echo "$ac_t""no" 1>&6
11369 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11370 echo "configure:11371: checking for copysign declaration" >&5
11371 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11372 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11373 echo $ac_n "(cached) $ac_c" 1>&6
11378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11379 ac_cpp='$CXXCPP $CPPFLAGS'
11380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11382 cross_compiling=$ac_cv_prog_cxx_cross
11384 cat > conftest.$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11392 if { (eval echo configure:11393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11394 glibcpp_cv_func_copysign_use=yes
11396 echo "configure: failed program was:" >&5
11397 cat conftest.$ac_ext >&5
11399 glibcpp_cv_func_copysign_use=no
11403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11407 cross_compiling=$ac_cv_prog_cc_cross
11413 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11415 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11416 for ac_func in copysign
11418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11419 echo "configure:11420: checking for $ac_func" >&5
11420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11421 echo $ac_n "(cached) $ac_c" 1>&6
11423 cat > conftest.$ac_ext <<EOF
11424 #line 11425 "configure"
11425 #include "confdefs.h"
11426 /* System header to define __stub macros and hopefully few prototypes,
11427 which can conflict with char $ac_func(); below. */
11428 #include <assert.h>
11429 /* Override any gcc2 internal prototype to avoid an error. */
11430 /* We use char because int might match the return type of a gcc2
11431 builtin and then its argument prototype would still apply. */
11436 /* The GNU C library defines this for functions which it implements
11437 to always fail with ENOSYS. Some functions are actually named
11438 something starting with __ and the normal name is an alias. */
11439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11447 if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11449 eval "ac_cv_func_$ac_func=yes"
11451 echo "configure: failed program was:" >&5
11452 cat conftest.$ac_ext >&5
11454 eval "ac_cv_func_$ac_func=no"
11459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11460 echo "$ac_t""yes" 1>&6
11461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11462 cat >> confdefs.h <<EOF
11463 #define $ac_tr_func 1
11467 echo "$ac_t""no" 1>&6
11473 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11474 echo "configure:11475: checking for _copysign declaration" >&5
11475 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11476 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11477 echo $ac_n "(cached) $ac_c" 1>&6
11482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11483 ac_cpp='$CXXCPP $CPPFLAGS'
11484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11486 cross_compiling=$ac_cv_prog_cxx_cross
11488 cat > conftest.$ac_ext <<EOF
11489 #line 11490 "configure"
11490 #include "confdefs.h"
11496 if { (eval echo configure:11497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11498 glibcpp_cv_func__copysign_use=yes
11500 echo "configure: failed program was:" >&5
11501 cat conftest.$ac_ext >&5
11503 glibcpp_cv_func__copysign_use=no
11507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11508 ac_cpp='$CPP $CPPFLAGS'
11509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11511 cross_compiling=$ac_cv_prog_cc_cross
11517 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11519 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11520 for ac_func in _copysign
11522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11523 echo "configure:11524: checking for $ac_func" >&5
11524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11525 echo $ac_n "(cached) $ac_c" 1>&6
11527 cat > conftest.$ac_ext <<EOF
11528 #line 11529 "configure"
11529 #include "confdefs.h"
11530 /* System header to define __stub macros and hopefully few prototypes,
11531 which can conflict with char $ac_func(); below. */
11532 #include <assert.h>
11533 /* Override any gcc2 internal prototype to avoid an error. */
11534 /* We use char because int might match the return type of a gcc2
11535 builtin and then its argument prototype would still apply. */
11540 /* The GNU C library defines this for functions which it implements
11541 to always fail with ENOSYS. Some functions are actually named
11542 something starting with __ and the normal name is an alias. */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11551 if { (eval echo configure:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11553 eval "ac_cv_func_$ac_func=yes"
11555 echo "configure: failed program was:" >&5
11556 cat conftest.$ac_ext >&5
11558 eval "ac_cv_func_$ac_func=no"
11563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11564 echo "$ac_t""yes" 1>&6
11565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11566 cat >> confdefs.h <<EOF
11567 #define $ac_tr_func 1
11571 echo "$ac_t""no" 1>&6
11580 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11581 echo "configure:11582: checking for sincos declaration" >&5
11582 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11583 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11584 echo $ac_n "(cached) $ac_c" 1>&6
11589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11590 ac_cpp='$CXXCPP $CPPFLAGS'
11591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11593 cross_compiling=$ac_cv_prog_cxx_cross
11595 cat > conftest.$ac_ext <<EOF
11596 #line 11597 "configure"
11597 #include "confdefs.h"
11603 if { (eval echo configure:11604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11605 glibcpp_cv_func_sincos_use=yes
11607 echo "configure: failed program was:" >&5
11608 cat conftest.$ac_ext >&5
11610 glibcpp_cv_func_sincos_use=no
11614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11615 ac_cpp='$CPP $CPPFLAGS'
11616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11618 cross_compiling=$ac_cv_prog_cc_cross
11624 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11626 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11627 for ac_func in sincos
11629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11630 echo "configure:11631: checking for $ac_func" >&5
11631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11632 echo $ac_n "(cached) $ac_c" 1>&6
11634 cat > conftest.$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11637 /* System header to define __stub macros and hopefully few prototypes,
11638 which can conflict with char $ac_func(); below. */
11639 #include <assert.h>
11640 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11647 /* The GNU C library defines this for functions which it implements
11648 to always fail with ENOSYS. Some functions are actually named
11649 something starting with __ and the normal name is an alias. */
11650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11660 eval "ac_cv_func_$ac_func=yes"
11662 echo "configure: failed program was:" >&5
11663 cat conftest.$ac_ext >&5
11665 eval "ac_cv_func_$ac_func=no"
11670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11671 echo "$ac_t""yes" 1>&6
11672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11673 cat >> confdefs.h <<EOF
11674 #define $ac_tr_func 1
11678 echo "$ac_t""no" 1>&6
11684 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11685 echo "configure:11686: checking for _sincos declaration" >&5
11686 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11687 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11688 echo $ac_n "(cached) $ac_c" 1>&6
11693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11694 ac_cpp='$CXXCPP $CPPFLAGS'
11695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11697 cross_compiling=$ac_cv_prog_cxx_cross
11699 cat > conftest.$ac_ext <<EOF
11700 #line 11701 "configure"
11701 #include "confdefs.h"
11707 if { (eval echo configure:11708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11709 glibcpp_cv_func__sincos_use=yes
11711 echo "configure: failed program was:" >&5
11712 cat conftest.$ac_ext >&5
11714 glibcpp_cv_func__sincos_use=no
11718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11722 cross_compiling=$ac_cv_prog_cc_cross
11728 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11730 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11731 for ac_func in _sincos
11733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11734 echo "configure:11735: checking for $ac_func" >&5
11735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11736 echo $ac_n "(cached) $ac_c" 1>&6
11738 cat > conftest.$ac_ext <<EOF
11739 #line 11740 "configure"
11740 #include "confdefs.h"
11741 /* System header to define __stub macros and hopefully few prototypes,
11742 which can conflict with char $ac_func(); below. */
11743 #include <assert.h>
11744 /* Override any gcc2 internal prototype to avoid an error. */
11745 /* We use char because int might match the return type of a gcc2
11746 builtin and then its argument prototype would still apply. */
11751 /* The GNU C library defines this for functions which it implements
11752 to always fail with ENOSYS. Some functions are actually named
11753 something starting with __ and the normal name is an alias. */
11754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11762 if { (eval echo configure:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11764 eval "ac_cv_func_$ac_func=yes"
11766 echo "configure: failed program was:" >&5
11767 cat conftest.$ac_ext >&5
11769 eval "ac_cv_func_$ac_func=no"
11774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11775 echo "$ac_t""yes" 1>&6
11776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11777 cat >> confdefs.h <<EOF
11778 #define $ac_tr_func 1
11782 echo "$ac_t""no" 1>&6
11791 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11792 echo "configure:11793: checking for fpclass declaration" >&5
11793 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11794 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11795 echo $ac_n "(cached) $ac_c" 1>&6
11800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11801 ac_cpp='$CXXCPP $CPPFLAGS'
11802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11804 cross_compiling=$ac_cv_prog_cxx_cross
11806 cat > conftest.$ac_ext <<EOF
11807 #line 11808 "configure"
11808 #include "confdefs.h"
11810 #ifdef HAVE_IEEEFP_H
11811 #include <ieeefp.h>
11818 if { (eval echo configure:11819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11820 glibcpp_cv_func_fpclass_use=yes
11822 echo "configure: failed program was:" >&5
11823 cat conftest.$ac_ext >&5
11825 glibcpp_cv_func_fpclass_use=no
11829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11830 ac_cpp='$CPP $CPPFLAGS'
11831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11833 cross_compiling=$ac_cv_prog_cc_cross
11839 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11841 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11842 for ac_func in fpclass
11844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11845 echo "configure:11846: checking for $ac_func" >&5
11846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11847 echo $ac_n "(cached) $ac_c" 1>&6
11849 cat > conftest.$ac_ext <<EOF
11850 #line 11851 "configure"
11851 #include "confdefs.h"
11852 /* System header to define __stub macros and hopefully few prototypes,
11853 which can conflict with char $ac_func(); below. */
11854 #include <assert.h>
11855 /* Override any gcc2 internal prototype to avoid an error. */
11856 /* We use char because int might match the return type of a gcc2
11857 builtin and then its argument prototype would still apply. */
11862 /* The GNU C library defines this for functions which it implements
11863 to always fail with ENOSYS. Some functions are actually named
11864 something starting with __ and the normal name is an alias. */
11865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11873 if { (eval echo configure:11874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11875 eval "ac_cv_func_$ac_func=yes"
11877 echo "configure: failed program was:" >&5
11878 cat conftest.$ac_ext >&5
11880 eval "ac_cv_func_$ac_func=no"
11885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11886 echo "$ac_t""yes" 1>&6
11887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11888 cat >> confdefs.h <<EOF
11889 #define $ac_tr_func 1
11893 echo "$ac_t""no" 1>&6
11899 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11900 echo "configure:11901: checking for _fpclass declaration" >&5
11901 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11902 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11903 echo $ac_n "(cached) $ac_c" 1>&6
11908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11909 ac_cpp='$CXXCPP $CPPFLAGS'
11910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11912 cross_compiling=$ac_cv_prog_cxx_cross
11914 cat > conftest.$ac_ext <<EOF
11915 #line 11916 "configure"
11916 #include "confdefs.h"
11918 #ifdef HAVE_IEEEFP_H
11919 #include <ieeefp.h>
11926 if { (eval echo configure:11927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11928 glibcpp_cv_func__fpclass_use=yes
11930 echo "configure: failed program was:" >&5
11931 cat conftest.$ac_ext >&5
11933 glibcpp_cv_func__fpclass_use=no
11937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11938 ac_cpp='$CPP $CPPFLAGS'
11939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11941 cross_compiling=$ac_cv_prog_cc_cross
11947 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11949 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11950 for ac_func in _fpclass
11952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11953 echo "configure:11954: checking for $ac_func" >&5
11954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11955 echo $ac_n "(cached) $ac_c" 1>&6
11957 cat > conftest.$ac_ext <<EOF
11958 #line 11959 "configure"
11959 #include "confdefs.h"
11960 /* System header to define __stub macros and hopefully few prototypes,
11961 which can conflict with char $ac_func(); below. */
11962 #include <assert.h>
11963 /* Override any gcc2 internal prototype to avoid an error. */
11964 /* We use char because int might match the return type of a gcc2
11965 builtin and then its argument prototype would still apply. */
11970 /* The GNU C library defines this for functions which it implements
11971 to always fail with ENOSYS. Some functions are actually named
11972 something starting with __ and the normal name is an alias. */
11973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11983 eval "ac_cv_func_$ac_func=yes"
11985 echo "configure: failed program was:" >&5
11986 cat conftest.$ac_ext >&5
11988 eval "ac_cv_func_$ac_func=no"
11993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11994 echo "$ac_t""yes" 1>&6
11995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11996 cat >> confdefs.h <<EOF
11997 #define $ac_tr_func 1
12001 echo "$ac_t""no" 1>&6
12010 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12011 echo "configure:12012: checking for qfpclass declaration" >&5
12012 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12013 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12014 echo $ac_n "(cached) $ac_c" 1>&6
12019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12020 ac_cpp='$CXXCPP $CPPFLAGS'
12021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12023 cross_compiling=$ac_cv_prog_cxx_cross
12025 cat > conftest.$ac_ext <<EOF
12026 #line 12027 "configure"
12027 #include "confdefs.h"
12029 #ifdef HAVE_IEEEFP_H
12030 #include <ieeefp.h>
12037 if { (eval echo configure:12038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12039 glibcpp_cv_func_qfpclass_use=yes
12041 echo "configure: failed program was:" >&5
12042 cat conftest.$ac_ext >&5
12044 glibcpp_cv_func_qfpclass_use=no
12048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12049 ac_cpp='$CPP $CPPFLAGS'
12050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12052 cross_compiling=$ac_cv_prog_cc_cross
12058 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12060 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12061 for ac_func in qfpclass
12063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12064 echo "configure:12065: checking for $ac_func" >&5
12065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12066 echo $ac_n "(cached) $ac_c" 1>&6
12068 cat > conftest.$ac_ext <<EOF
12069 #line 12070 "configure"
12070 #include "confdefs.h"
12071 /* System header to define __stub macros and hopefully few prototypes,
12072 which can conflict with char $ac_func(); below. */
12073 #include <assert.h>
12074 /* Override any gcc2 internal prototype to avoid an error. */
12075 /* We use char because int might match the return type of a gcc2
12076 builtin and then its argument prototype would still apply. */
12081 /* The GNU C library defines this for functions which it implements
12082 to always fail with ENOSYS. Some functions are actually named
12083 something starting with __ and the normal name is an alias. */
12084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12092 if { (eval echo configure:12093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12094 eval "ac_cv_func_$ac_func=yes"
12096 echo "configure: failed program was:" >&5
12097 cat conftest.$ac_ext >&5
12099 eval "ac_cv_func_$ac_func=no"
12104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12105 echo "$ac_t""yes" 1>&6
12106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12107 cat >> confdefs.h <<EOF
12108 #define $ac_tr_func 1
12112 echo "$ac_t""no" 1>&6
12118 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12119 echo "configure:12120: checking for _qfpclass declaration" >&5
12120 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12121 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12122 echo $ac_n "(cached) $ac_c" 1>&6
12127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12128 ac_cpp='$CXXCPP $CPPFLAGS'
12129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12131 cross_compiling=$ac_cv_prog_cxx_cross
12133 cat > conftest.$ac_ext <<EOF
12134 #line 12135 "configure"
12135 #include "confdefs.h"
12137 #ifdef HAVE_IEEEFP_H
12138 #include <ieeefp.h>
12145 if { (eval echo configure:12146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12147 glibcpp_cv_func__qfpclass_use=yes
12149 echo "configure: failed program was:" >&5
12150 cat conftest.$ac_ext >&5
12152 glibcpp_cv_func__qfpclass_use=no
12156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12157 ac_cpp='$CPP $CPPFLAGS'
12158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12160 cross_compiling=$ac_cv_prog_cc_cross
12166 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12168 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12169 for ac_func in _qfpclass
12171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12172 echo "configure:12173: checking for $ac_func" >&5
12173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12176 cat > conftest.$ac_ext <<EOF
12177 #line 12178 "configure"
12178 #include "confdefs.h"
12179 /* System header to define __stub macros and hopefully few prototypes,
12180 which can conflict with char $ac_func(); below. */
12181 #include <assert.h>
12182 /* Override any gcc2 internal prototype to avoid an error. */
12183 /* We use char because int might match the return type of a gcc2
12184 builtin and then its argument prototype would still apply. */
12189 /* The GNU C library defines this for functions which it implements
12190 to always fail with ENOSYS. Some functions are actually named
12191 something starting with __ and the normal name is an alias. */
12192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12200 if { (eval echo configure:12201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12202 eval "ac_cv_func_$ac_func=yes"
12204 echo "configure: failed program was:" >&5
12205 cat conftest.$ac_ext >&5
12207 eval "ac_cv_func_$ac_func=no"
12212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12213 echo "$ac_t""yes" 1>&6
12214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12215 cat >> confdefs.h <<EOF
12216 #define $ac_tr_func 1
12220 echo "$ac_t""no" 1>&6
12229 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12230 echo "configure:12231: checking for hypot declaration" >&5
12231 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12232 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12233 echo $ac_n "(cached) $ac_c" 1>&6
12238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12239 ac_cpp='$CXXCPP $CPPFLAGS'
12240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12242 cross_compiling=$ac_cv_prog_cxx_cross
12244 cat > conftest.$ac_ext <<EOF
12245 #line 12246 "configure"
12246 #include "confdefs.h"
12252 if { (eval echo configure:12253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12254 glibcpp_cv_func_hypot_use=yes
12256 echo "configure: failed program was:" >&5
12257 cat conftest.$ac_ext >&5
12259 glibcpp_cv_func_hypot_use=no
12263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12264 ac_cpp='$CPP $CPPFLAGS'
12265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12267 cross_compiling=$ac_cv_prog_cc_cross
12273 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12275 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12276 for ac_func in hypot
12278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12279 echo "configure:12280: checking for $ac_func" >&5
12280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12281 echo $ac_n "(cached) $ac_c" 1>&6
12283 cat > conftest.$ac_ext <<EOF
12284 #line 12285 "configure"
12285 #include "confdefs.h"
12286 /* System header to define __stub macros and hopefully few prototypes,
12287 which can conflict with char $ac_func(); below. */
12288 #include <assert.h>
12289 /* Override any gcc2 internal prototype to avoid an error. */
12290 /* We use char because int might match the return type of a gcc2
12291 builtin and then its argument prototype would still apply. */
12296 /* The GNU C library defines this for functions which it implements
12297 to always fail with ENOSYS. Some functions are actually named
12298 something starting with __ and the normal name is an alias. */
12299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12307 if { (eval echo configure:12308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12309 eval "ac_cv_func_$ac_func=yes"
12311 echo "configure: failed program was:" >&5
12312 cat conftest.$ac_ext >&5
12314 eval "ac_cv_func_$ac_func=no"
12319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12320 echo "$ac_t""yes" 1>&6
12321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12322 cat >> confdefs.h <<EOF
12323 #define $ac_tr_func 1
12327 echo "$ac_t""no" 1>&6
12333 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12334 echo "configure:12335: checking for _hypot declaration" >&5
12335 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12336 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12337 echo $ac_n "(cached) $ac_c" 1>&6
12342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12343 ac_cpp='$CXXCPP $CPPFLAGS'
12344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12346 cross_compiling=$ac_cv_prog_cxx_cross
12348 cat > conftest.$ac_ext <<EOF
12349 #line 12350 "configure"
12350 #include "confdefs.h"
12356 if { (eval echo configure:12357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12358 glibcpp_cv_func__hypot_use=yes
12360 echo "configure: failed program was:" >&5
12361 cat conftest.$ac_ext >&5
12363 glibcpp_cv_func__hypot_use=no
12367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12368 ac_cpp='$CPP $CPPFLAGS'
12369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12371 cross_compiling=$ac_cv_prog_cc_cross
12377 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12379 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12380 for ac_func in _hypot
12382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12383 echo "configure:12384: checking for $ac_func" >&5
12384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12385 echo $ac_n "(cached) $ac_c" 1>&6
12387 cat > conftest.$ac_ext <<EOF
12388 #line 12389 "configure"
12389 #include "confdefs.h"
12390 /* System header to define __stub macros and hopefully few prototypes,
12391 which can conflict with char $ac_func(); below. */
12392 #include <assert.h>
12393 /* Override any gcc2 internal prototype to avoid an error. */
12394 /* We use char because int might match the return type of a gcc2
12395 builtin and then its argument prototype would still apply. */
12400 /* The GNU C library defines this for functions which it implements
12401 to always fail with ENOSYS. Some functions are actually named
12402 something starting with __ and the normal name is an alias. */
12403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12411 if { (eval echo configure:12412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12413 eval "ac_cv_func_$ac_func=yes"
12415 echo "configure: failed program was:" >&5
12416 cat conftest.$ac_ext >&5
12418 eval "ac_cv_func_$ac_func=no"
12423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12424 echo "$ac_t""yes" 1>&6
12425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12426 cat >> confdefs.h <<EOF
12427 #define $ac_tr_func 1
12431 echo "$ac_t""no" 1>&6
12440 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12441 echo "configure:12442: checking for float trig functions" >&5
12442 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12449 ac_cpp='$CXXCPP $CPPFLAGS'
12450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12452 cross_compiling=$ac_cv_prog_cxx_cross
12454 cat > conftest.$ac_ext <<EOF
12455 #line 12456 "configure"
12456 #include "confdefs.h"
12459 `for x in acosf asinf atanf \
12461 coshf sinhf tanhf; do echo "$x (0);"; done`
12464 if { (eval echo configure:12465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12466 glibcpp_cv_func_float_trig_use=yes
12468 echo "configure: failed program was:" >&5
12469 cat conftest.$ac_ext >&5
12471 glibcpp_cv_func_float_trig_use=no
12475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12476 ac_cpp='$CPP $CPPFLAGS'
12477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12479 cross_compiling=$ac_cv_prog_cc_cross
12483 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12484 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12485 for ac_func in acosf asinf atanf \
12489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12490 echo "configure:12491: checking for $ac_func" >&5
12491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12492 echo $ac_n "(cached) $ac_c" 1>&6
12494 cat > conftest.$ac_ext <<EOF
12495 #line 12496 "configure"
12496 #include "confdefs.h"
12497 /* System header to define __stub macros and hopefully few prototypes,
12498 which can conflict with char $ac_func(); below. */
12499 #include <assert.h>
12500 /* Override any gcc2 internal prototype to avoid an error. */
12501 /* We use char because int might match the return type of a gcc2
12502 builtin and then its argument prototype would still apply. */
12507 /* The GNU C library defines this for functions which it implements
12508 to always fail with ENOSYS. Some functions are actually named
12509 something starting with __ and the normal name is an alias. */
12510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12518 if { (eval echo configure:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12520 eval "ac_cv_func_$ac_func=yes"
12522 echo "configure: failed program was:" >&5
12523 cat conftest.$ac_ext >&5
12525 eval "ac_cv_func_$ac_func=no"
12530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12531 echo "$ac_t""yes" 1>&6
12532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12533 cat >> confdefs.h <<EOF
12534 #define $ac_tr_func 1
12538 echo "$ac_t""no" 1>&6
12545 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12546 echo "configure:12547: checking for float round functions" >&5
12547 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12548 echo $ac_n "(cached) $ac_c" 1>&6
12553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12554 ac_cpp='$CXXCPP $CPPFLAGS'
12555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12557 cross_compiling=$ac_cv_prog_cxx_cross
12559 cat > conftest.$ac_ext <<EOF
12560 #line 12561 "configure"
12561 #include "confdefs.h"
12564 `for x in ceilf floorf; do echo "$x (0);"; done`
12567 if { (eval echo configure:12568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12569 glibcpp_cv_func_float_round_use=yes
12571 echo "configure: failed program was:" >&5
12572 cat conftest.$ac_ext >&5
12574 glibcpp_cv_func_float_round_use=no
12578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12579 ac_cpp='$CPP $CPPFLAGS'
12580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12582 cross_compiling=$ac_cv_prog_cc_cross
12586 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12587 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12588 for ac_func in ceilf floorf
12590 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12591 echo "configure:12592: checking for $ac_func" >&5
12592 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12593 echo $ac_n "(cached) $ac_c" 1>&6
12595 cat > conftest.$ac_ext <<EOF
12596 #line 12597 "configure"
12597 #include "confdefs.h"
12598 /* System header to define __stub macros and hopefully few prototypes,
12599 which can conflict with char $ac_func(); below. */
12600 #include <assert.h>
12601 /* Override any gcc2 internal prototype to avoid an error. */
12602 /* We use char because int might match the return type of a gcc2
12603 builtin and then its argument prototype would still apply. */
12608 /* The GNU C library defines this for functions which it implements
12609 to always fail with ENOSYS. Some functions are actually named
12610 something starting with __ and the normal name is an alias. */
12611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12619 if { (eval echo configure:12620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12621 eval "ac_cv_func_$ac_func=yes"
12623 echo "configure: failed program was:" >&5
12624 cat conftest.$ac_ext >&5
12626 eval "ac_cv_func_$ac_func=no"
12631 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12632 echo "$ac_t""yes" 1>&6
12633 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12634 cat >> confdefs.h <<EOF
12635 #define $ac_tr_func 1
12639 echo "$ac_t""no" 1>&6
12647 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12648 echo "configure:12649: checking for expf declaration" >&5
12649 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12650 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12651 echo $ac_n "(cached) $ac_c" 1>&6
12656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12657 ac_cpp='$CXXCPP $CPPFLAGS'
12658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12660 cross_compiling=$ac_cv_prog_cxx_cross
12662 cat > conftest.$ac_ext <<EOF
12663 #line 12664 "configure"
12664 #include "confdefs.h"
12666 #ifdef HAVE_IEEEFP_H
12667 #include <ieeefp.h>
12674 if { (eval echo configure:12675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12676 glibcpp_cv_func_expf_use=yes
12678 echo "configure: failed program was:" >&5
12679 cat conftest.$ac_ext >&5
12681 glibcpp_cv_func_expf_use=no
12685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12686 ac_cpp='$CPP $CPPFLAGS'
12687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12689 cross_compiling=$ac_cv_prog_cc_cross
12695 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12697 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12698 for ac_func in expf
12700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12701 echo "configure:12702: checking for $ac_func" >&5
12702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12703 echo $ac_n "(cached) $ac_c" 1>&6
12705 cat > conftest.$ac_ext <<EOF
12706 #line 12707 "configure"
12707 #include "confdefs.h"
12708 /* System header to define __stub macros and hopefully few prototypes,
12709 which can conflict with char $ac_func(); below. */
12710 #include <assert.h>
12711 /* Override any gcc2 internal prototype to avoid an error. */
12712 /* We use char because int might match the return type of a gcc2
12713 builtin and then its argument prototype would still apply. */
12718 /* The GNU C library defines this for functions which it implements
12719 to always fail with ENOSYS. Some functions are actually named
12720 something starting with __ and the normal name is an alias. */
12721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12729 if { (eval echo configure:12730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12731 eval "ac_cv_func_$ac_func=yes"
12733 echo "configure: failed program was:" >&5
12734 cat conftest.$ac_ext >&5
12736 eval "ac_cv_func_$ac_func=no"
12741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12742 echo "$ac_t""yes" 1>&6
12743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12744 cat >> confdefs.h <<EOF
12745 #define $ac_tr_func 1
12749 echo "$ac_t""no" 1>&6
12755 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12756 echo "configure:12757: checking for _expf declaration" >&5
12757 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12758 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12759 echo $ac_n "(cached) $ac_c" 1>&6
12764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12765 ac_cpp='$CXXCPP $CPPFLAGS'
12766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12768 cross_compiling=$ac_cv_prog_cxx_cross
12770 cat > conftest.$ac_ext <<EOF
12771 #line 12772 "configure"
12772 #include "confdefs.h"
12774 #ifdef HAVE_IEEEFP_H
12775 #include <ieeefp.h>
12782 if { (eval echo configure:12783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12784 glibcpp_cv_func__expf_use=yes
12786 echo "configure: failed program was:" >&5
12787 cat conftest.$ac_ext >&5
12789 glibcpp_cv_func__expf_use=no
12793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12794 ac_cpp='$CPP $CPPFLAGS'
12795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12797 cross_compiling=$ac_cv_prog_cc_cross
12803 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12805 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12806 for ac_func in _expf
12808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12809 echo "configure:12810: checking for $ac_func" >&5
12810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12811 echo $ac_n "(cached) $ac_c" 1>&6
12813 cat > conftest.$ac_ext <<EOF
12814 #line 12815 "configure"
12815 #include "confdefs.h"
12816 /* System header to define __stub macros and hopefully few prototypes,
12817 which can conflict with char $ac_func(); below. */
12818 #include <assert.h>
12819 /* Override any gcc2 internal prototype to avoid an error. */
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12826 /* The GNU C library defines this for functions which it implements
12827 to always fail with ENOSYS. Some functions are actually named
12828 something starting with __ and the normal name is an alias. */
12829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837 if { (eval echo configure:12838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12839 eval "ac_cv_func_$ac_func=yes"
12841 echo "configure: failed program was:" >&5
12842 cat conftest.$ac_ext >&5
12844 eval "ac_cv_func_$ac_func=no"
12849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12852 cat >> confdefs.h <<EOF
12853 #define $ac_tr_func 1
12857 echo "$ac_t""no" 1>&6
12866 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12867 echo "configure:12868: checking for isnanf declaration" >&5
12868 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12869 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12870 echo $ac_n "(cached) $ac_c" 1>&6
12875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12876 ac_cpp='$CXXCPP $CPPFLAGS'
12877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12879 cross_compiling=$ac_cv_prog_cxx_cross
12881 cat > conftest.$ac_ext <<EOF
12882 #line 12883 "configure"
12883 #include "confdefs.h"
12885 #ifdef HAVE_IEEEFP_H
12886 #include <ieeefp.h>
12893 if { (eval echo configure:12894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12895 glibcpp_cv_func_isnanf_use=yes
12897 echo "configure: failed program was:" >&5
12898 cat conftest.$ac_ext >&5
12900 glibcpp_cv_func_isnanf_use=no
12904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12905 ac_cpp='$CPP $CPPFLAGS'
12906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12908 cross_compiling=$ac_cv_prog_cc_cross
12914 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12916 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12917 for ac_func in isnanf
12919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12920 echo "configure:12921: checking for $ac_func" >&5
12921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12922 echo $ac_n "(cached) $ac_c" 1>&6
12924 cat > conftest.$ac_ext <<EOF
12925 #line 12926 "configure"
12926 #include "confdefs.h"
12927 /* System header to define __stub macros and hopefully few prototypes,
12928 which can conflict with char $ac_func(); below. */
12929 #include <assert.h>
12930 /* Override any gcc2 internal prototype to avoid an error. */
12931 /* We use char because int might match the return type of a gcc2
12932 builtin and then its argument prototype would still apply. */
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12948 if { (eval echo configure:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12950 eval "ac_cv_func_$ac_func=yes"
12952 echo "configure: failed program was:" >&5
12953 cat conftest.$ac_ext >&5
12955 eval "ac_cv_func_$ac_func=no"
12960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12961 echo "$ac_t""yes" 1>&6
12962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12963 cat >> confdefs.h <<EOF
12964 #define $ac_tr_func 1
12968 echo "$ac_t""no" 1>&6
12974 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12975 echo "configure:12976: checking for _isnanf declaration" >&5
12976 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12977 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12978 echo $ac_n "(cached) $ac_c" 1>&6
12983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12984 ac_cpp='$CXXCPP $CPPFLAGS'
12985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12987 cross_compiling=$ac_cv_prog_cxx_cross
12989 cat > conftest.$ac_ext <<EOF
12990 #line 12991 "configure"
12991 #include "confdefs.h"
12993 #ifdef HAVE_IEEEFP_H
12994 #include <ieeefp.h>
13001 if { (eval echo configure:13002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13003 glibcpp_cv_func__isnanf_use=yes
13005 echo "configure: failed program was:" >&5
13006 cat conftest.$ac_ext >&5
13008 glibcpp_cv_func__isnanf_use=no
13012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13013 ac_cpp='$CPP $CPPFLAGS'
13014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13016 cross_compiling=$ac_cv_prog_cc_cross
13022 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13024 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13025 for ac_func in _isnanf
13027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13028 echo "configure:13029: checking for $ac_func" >&5
13029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13030 echo $ac_n "(cached) $ac_c" 1>&6
13032 cat > conftest.$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13035 /* System header to define __stub macros and hopefully few prototypes,
13036 which can conflict with char $ac_func(); below. */
13037 #include <assert.h>
13038 /* Override any gcc2 internal prototype to avoid an error. */
13039 /* We use char because int might match the return type of a gcc2
13040 builtin and then its argument prototype would still apply. */
13045 /* The GNU C library defines this for functions which it implements
13046 to always fail with ENOSYS. Some functions are actually named
13047 something starting with __ and the normal name is an alias. */
13048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13058 eval "ac_cv_func_$ac_func=yes"
13060 echo "configure: failed program was:" >&5
13061 cat conftest.$ac_ext >&5
13063 eval "ac_cv_func_$ac_func=no"
13068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13069 echo "$ac_t""yes" 1>&6
13070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13071 cat >> confdefs.h <<EOF
13072 #define $ac_tr_func 1
13076 echo "$ac_t""no" 1>&6
13085 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13086 echo "configure:13087: checking for isinff declaration" >&5
13087 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13088 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13089 echo $ac_n "(cached) $ac_c" 1>&6
13094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13095 ac_cpp='$CXXCPP $CPPFLAGS'
13096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13098 cross_compiling=$ac_cv_prog_cxx_cross
13100 cat > conftest.$ac_ext <<EOF
13101 #line 13102 "configure"
13102 #include "confdefs.h"
13104 #ifdef HAVE_IEEEFP_H
13105 #include <ieeefp.h>
13112 if { (eval echo configure:13113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13114 glibcpp_cv_func_isinff_use=yes
13116 echo "configure: failed program was:" >&5
13117 cat conftest.$ac_ext >&5
13119 glibcpp_cv_func_isinff_use=no
13123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13124 ac_cpp='$CPP $CPPFLAGS'
13125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13127 cross_compiling=$ac_cv_prog_cc_cross
13133 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13135 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13136 for ac_func in isinff
13138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13139 echo "configure:13140: checking for $ac_func" >&5
13140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13141 echo $ac_n "(cached) $ac_c" 1>&6
13143 cat > conftest.$ac_ext <<EOF
13144 #line 13145 "configure"
13145 #include "confdefs.h"
13146 /* System header to define __stub macros and hopefully few prototypes,
13147 which can conflict with char $ac_func(); below. */
13148 #include <assert.h>
13149 /* Override any gcc2 internal prototype to avoid an error. */
13150 /* We use char because int might match the return type of a gcc2
13151 builtin and then its argument prototype would still apply. */
13156 /* The GNU C library defines this for functions which it implements
13157 to always fail with ENOSYS. Some functions are actually named
13158 something starting with __ and the normal name is an alias. */
13159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13167 if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13169 eval "ac_cv_func_$ac_func=yes"
13171 echo "configure: failed program was:" >&5
13172 cat conftest.$ac_ext >&5
13174 eval "ac_cv_func_$ac_func=no"
13179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13180 echo "$ac_t""yes" 1>&6
13181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13182 cat >> confdefs.h <<EOF
13183 #define $ac_tr_func 1
13187 echo "$ac_t""no" 1>&6
13193 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13194 echo "configure:13195: checking for _isinff declaration" >&5
13195 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13196 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13197 echo $ac_n "(cached) $ac_c" 1>&6
13202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13203 ac_cpp='$CXXCPP $CPPFLAGS'
13204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13206 cross_compiling=$ac_cv_prog_cxx_cross
13208 cat > conftest.$ac_ext <<EOF
13209 #line 13210 "configure"
13210 #include "confdefs.h"
13212 #ifdef HAVE_IEEEFP_H
13213 #include <ieeefp.h>
13220 if { (eval echo configure:13221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13222 glibcpp_cv_func__isinff_use=yes
13224 echo "configure: failed program was:" >&5
13225 cat conftest.$ac_ext >&5
13227 glibcpp_cv_func__isinff_use=no
13231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13232 ac_cpp='$CPP $CPPFLAGS'
13233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13235 cross_compiling=$ac_cv_prog_cc_cross
13241 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13243 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13244 for ac_func in _isinff
13246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13247 echo "configure:13248: checking for $ac_func" >&5
13248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13249 echo $ac_n "(cached) $ac_c" 1>&6
13251 cat > conftest.$ac_ext <<EOF
13252 #line 13253 "configure"
13253 #include "confdefs.h"
13254 /* System header to define __stub macros and hopefully few prototypes,
13255 which can conflict with char $ac_func(); below. */
13256 #include <assert.h>
13257 /* Override any gcc2 internal prototype to avoid an error. */
13258 /* We use char because int might match the return type of a gcc2
13259 builtin and then its argument prototype would still apply. */
13264 /* The GNU C library defines this for functions which it implements
13265 to always fail with ENOSYS. Some functions are actually named
13266 something starting with __ and the normal name is an alias. */
13267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13275 if { (eval echo configure:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13277 eval "ac_cv_func_$ac_func=yes"
13279 echo "configure: failed program was:" >&5
13280 cat conftest.$ac_ext >&5
13282 eval "ac_cv_func_$ac_func=no"
13287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13288 echo "$ac_t""yes" 1>&6
13289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13290 cat >> confdefs.h <<EOF
13291 #define $ac_tr_func 1
13295 echo "$ac_t""no" 1>&6
13304 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13305 echo "configure:13306: checking for atan2f declaration" >&5
13306 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13307 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13308 echo $ac_n "(cached) $ac_c" 1>&6
13313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13314 ac_cpp='$CXXCPP $CPPFLAGS'
13315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13317 cross_compiling=$ac_cv_prog_cxx_cross
13319 cat > conftest.$ac_ext <<EOF
13320 #line 13321 "configure"
13321 #include "confdefs.h"
13327 if { (eval echo configure:13328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13329 glibcpp_cv_func_atan2f_use=yes
13331 echo "configure: failed program was:" >&5
13332 cat conftest.$ac_ext >&5
13334 glibcpp_cv_func_atan2f_use=no
13338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13339 ac_cpp='$CPP $CPPFLAGS'
13340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13342 cross_compiling=$ac_cv_prog_cc_cross
13348 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13350 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13351 for ac_func in atan2f
13353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13354 echo "configure:13355: checking for $ac_func" >&5
13355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13356 echo $ac_n "(cached) $ac_c" 1>&6
13358 cat > conftest.$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.h"
13361 /* System header to define __stub macros and hopefully few prototypes,
13362 which can conflict with char $ac_func(); below. */
13363 #include <assert.h>
13364 /* Override any gcc2 internal prototype to avoid an error. */
13365 /* We use char because int might match the return type of a gcc2
13366 builtin and then its argument prototype would still apply. */
13371 /* The GNU C library defines this for functions which it implements
13372 to always fail with ENOSYS. Some functions are actually named
13373 something starting with __ and the normal name is an alias. */
13374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13382 if { (eval echo configure:13383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13384 eval "ac_cv_func_$ac_func=yes"
13386 echo "configure: failed program was:" >&5
13387 cat conftest.$ac_ext >&5
13389 eval "ac_cv_func_$ac_func=no"
13394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13395 echo "$ac_t""yes" 1>&6
13396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13397 cat >> confdefs.h <<EOF
13398 #define $ac_tr_func 1
13402 echo "$ac_t""no" 1>&6
13408 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13409 echo "configure:13410: checking for _atan2f declaration" >&5
13410 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13411 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13412 echo $ac_n "(cached) $ac_c" 1>&6
13417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13418 ac_cpp='$CXXCPP $CPPFLAGS'
13419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13421 cross_compiling=$ac_cv_prog_cxx_cross
13423 cat > conftest.$ac_ext <<EOF
13424 #line 13425 "configure"
13425 #include "confdefs.h"
13431 if { (eval echo configure:13432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13433 glibcpp_cv_func__atan2f_use=yes
13435 echo "configure: failed program was:" >&5
13436 cat conftest.$ac_ext >&5
13438 glibcpp_cv_func__atan2f_use=no
13442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13443 ac_cpp='$CPP $CPPFLAGS'
13444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13446 cross_compiling=$ac_cv_prog_cc_cross
13452 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13454 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13455 for ac_func in _atan2f
13457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13458 echo "configure:13459: checking for $ac_func" >&5
13459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13460 echo $ac_n "(cached) $ac_c" 1>&6
13462 cat > conftest.$ac_ext <<EOF
13463 #line 13464 "configure"
13464 #include "confdefs.h"
13465 /* System header to define __stub macros and hopefully few prototypes,
13466 which can conflict with char $ac_func(); below. */
13467 #include <assert.h>
13468 /* Override any gcc2 internal prototype to avoid an error. */
13469 /* We use char because int might match the return type of a gcc2
13470 builtin and then its argument prototype would still apply. */
13475 /* The GNU C library defines this for functions which it implements
13476 to always fail with ENOSYS. Some functions are actually named
13477 something starting with __ and the normal name is an alias. */
13478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13486 if { (eval echo configure:13487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13488 eval "ac_cv_func_$ac_func=yes"
13490 echo "configure: failed program was:" >&5
13491 cat conftest.$ac_ext >&5
13493 eval "ac_cv_func_$ac_func=no"
13498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13499 echo "$ac_t""yes" 1>&6
13500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13501 cat >> confdefs.h <<EOF
13502 #define $ac_tr_func 1
13506 echo "$ac_t""no" 1>&6
13515 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13516 echo "configure:13517: checking for fabsf declaration" >&5
13517 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13518 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13519 echo $ac_n "(cached) $ac_c" 1>&6
13524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13525 ac_cpp='$CXXCPP $CPPFLAGS'
13526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13528 cross_compiling=$ac_cv_prog_cxx_cross
13530 cat > conftest.$ac_ext <<EOF
13531 #line 13532 "configure"
13532 #include "confdefs.h"
13534 #ifdef HAVE_IEEEFP_H
13535 #include <ieeefp.h>
13542 if { (eval echo configure:13543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13544 glibcpp_cv_func_fabsf_use=yes
13546 echo "configure: failed program was:" >&5
13547 cat conftest.$ac_ext >&5
13549 glibcpp_cv_func_fabsf_use=no
13553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13554 ac_cpp='$CPP $CPPFLAGS'
13555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13557 cross_compiling=$ac_cv_prog_cc_cross
13563 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13565 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13566 for ac_func in fabsf
13568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13569 echo "configure:13570: checking for $ac_func" >&5
13570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13571 echo $ac_n "(cached) $ac_c" 1>&6
13573 cat > conftest.$ac_ext <<EOF
13574 #line 13575 "configure"
13575 #include "confdefs.h"
13576 /* System header to define __stub macros and hopefully few prototypes,
13577 which can conflict with char $ac_func(); below. */
13578 #include <assert.h>
13579 /* Override any gcc2 internal prototype to avoid an error. */
13580 /* We use char because int might match the return type of a gcc2
13581 builtin and then its argument prototype would still apply. */
13586 /* The GNU C library defines this for functions which it implements
13587 to always fail with ENOSYS. Some functions are actually named
13588 something starting with __ and the normal name is an alias. */
13589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13597 if { (eval echo configure:13598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13599 eval "ac_cv_func_$ac_func=yes"
13601 echo "configure: failed program was:" >&5
13602 cat conftest.$ac_ext >&5
13604 eval "ac_cv_func_$ac_func=no"
13609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13610 echo "$ac_t""yes" 1>&6
13611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13612 cat >> confdefs.h <<EOF
13613 #define $ac_tr_func 1
13617 echo "$ac_t""no" 1>&6
13623 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13624 echo "configure:13625: checking for _fabsf declaration" >&5
13625 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13626 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13627 echo $ac_n "(cached) $ac_c" 1>&6
13632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13633 ac_cpp='$CXXCPP $CPPFLAGS'
13634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13636 cross_compiling=$ac_cv_prog_cxx_cross
13638 cat > conftest.$ac_ext <<EOF
13639 #line 13640 "configure"
13640 #include "confdefs.h"
13642 #ifdef HAVE_IEEEFP_H
13643 #include <ieeefp.h>
13650 if { (eval echo configure:13651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13652 glibcpp_cv_func__fabsf_use=yes
13654 echo "configure: failed program was:" >&5
13655 cat conftest.$ac_ext >&5
13657 glibcpp_cv_func__fabsf_use=no
13661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13662 ac_cpp='$CPP $CPPFLAGS'
13663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13665 cross_compiling=$ac_cv_prog_cc_cross
13671 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13673 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13674 for ac_func in _fabsf
13676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13677 echo "configure:13678: checking for $ac_func" >&5
13678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13679 echo $ac_n "(cached) $ac_c" 1>&6
13681 cat > conftest.$ac_ext <<EOF
13682 #line 13683 "configure"
13683 #include "confdefs.h"
13684 /* System header to define __stub macros and hopefully few prototypes,
13685 which can conflict with char $ac_func(); below. */
13686 #include <assert.h>
13687 /* Override any gcc2 internal prototype to avoid an error. */
13688 /* We use char because int might match the return type of a gcc2
13689 builtin and then its argument prototype would still apply. */
13694 /* The GNU C library defines this for functions which it implements
13695 to always fail with ENOSYS. Some functions are actually named
13696 something starting with __ and the normal name is an alias. */
13697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13705 if { (eval echo configure:13706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13707 eval "ac_cv_func_$ac_func=yes"
13709 echo "configure: failed program was:" >&5
13710 cat conftest.$ac_ext >&5
13712 eval "ac_cv_func_$ac_func=no"
13717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13718 echo "$ac_t""yes" 1>&6
13719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13720 cat >> confdefs.h <<EOF
13721 #define $ac_tr_func 1
13725 echo "$ac_t""no" 1>&6
13734 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13735 echo "configure:13736: checking for fmodf declaration" >&5
13736 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13737 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13738 echo $ac_n "(cached) $ac_c" 1>&6
13743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13744 ac_cpp='$CXXCPP $CPPFLAGS'
13745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13747 cross_compiling=$ac_cv_prog_cxx_cross
13749 cat > conftest.$ac_ext <<EOF
13750 #line 13751 "configure"
13751 #include "confdefs.h"
13757 if { (eval echo configure:13758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13759 glibcpp_cv_func_fmodf_use=yes
13761 echo "configure: failed program was:" >&5
13762 cat conftest.$ac_ext >&5
13764 glibcpp_cv_func_fmodf_use=no
13768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13769 ac_cpp='$CPP $CPPFLAGS'
13770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13772 cross_compiling=$ac_cv_prog_cc_cross
13778 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13780 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13781 for ac_func in fmodf
13783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13784 echo "configure:13785: checking for $ac_func" >&5
13785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13786 echo $ac_n "(cached) $ac_c" 1>&6
13788 cat > conftest.$ac_ext <<EOF
13789 #line 13790 "configure"
13790 #include "confdefs.h"
13791 /* System header to define __stub macros and hopefully few prototypes,
13792 which can conflict with char $ac_func(); below. */
13793 #include <assert.h>
13794 /* Override any gcc2 internal prototype to avoid an error. */
13795 /* We use char because int might match the return type of a gcc2
13796 builtin and then its argument prototype would still apply. */
13801 /* The GNU C library defines this for functions which it implements
13802 to always fail with ENOSYS. Some functions are actually named
13803 something starting with __ and the normal name is an alias. */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13812 if { (eval echo configure:13813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13814 eval "ac_cv_func_$ac_func=yes"
13816 echo "configure: failed program was:" >&5
13817 cat conftest.$ac_ext >&5
13819 eval "ac_cv_func_$ac_func=no"
13824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13825 echo "$ac_t""yes" 1>&6
13826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13827 cat >> confdefs.h <<EOF
13828 #define $ac_tr_func 1
13832 echo "$ac_t""no" 1>&6
13838 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13839 echo "configure:13840: checking for _fmodf declaration" >&5
13840 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13841 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13842 echo $ac_n "(cached) $ac_c" 1>&6
13847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp='$CXXCPP $CPPFLAGS'
13849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling=$ac_cv_prog_cxx_cross
13853 cat > conftest.$ac_ext <<EOF
13854 #line 13855 "configure"
13855 #include "confdefs.h"
13861 if { (eval echo configure:13862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13863 glibcpp_cv_func__fmodf_use=yes
13865 echo "configure: failed program was:" >&5
13866 cat conftest.$ac_ext >&5
13868 glibcpp_cv_func__fmodf_use=no
13872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13876 cross_compiling=$ac_cv_prog_cc_cross
13882 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13884 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13885 for ac_func in _fmodf
13887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13888 echo "configure:13889: checking for $ac_func" >&5
13889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13890 echo $ac_n "(cached) $ac_c" 1>&6
13892 cat > conftest.$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13895 /* System header to define __stub macros and hopefully few prototypes,
13896 which can conflict with char $ac_func(); below. */
13897 #include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13899 /* We use char because int might match the return type of a gcc2
13900 builtin and then its argument prototype would still apply. */
13905 /* The GNU C library defines this for functions which it implements
13906 to always fail with ENOSYS. Some functions are actually named
13907 something starting with __ and the normal name is an alias. */
13908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13916 if { (eval echo configure:13917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13918 eval "ac_cv_func_$ac_func=yes"
13920 echo "configure: failed program was:" >&5
13921 cat conftest.$ac_ext >&5
13923 eval "ac_cv_func_$ac_func=no"
13928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13929 echo "$ac_t""yes" 1>&6
13930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13931 cat >> confdefs.h <<EOF
13932 #define $ac_tr_func 1
13936 echo "$ac_t""no" 1>&6
13945 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13946 echo "configure:13947: checking for frexpf declaration" >&5
13947 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13948 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13949 echo $ac_n "(cached) $ac_c" 1>&6
13954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13955 ac_cpp='$CXXCPP $CPPFLAGS'
13956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13958 cross_compiling=$ac_cv_prog_cxx_cross
13960 cat > conftest.$ac_ext <<EOF
13961 #line 13962 "configure"
13962 #include "confdefs.h"
13968 if { (eval echo configure:13969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13970 glibcpp_cv_func_frexpf_use=yes
13972 echo "configure: failed program was:" >&5
13973 cat conftest.$ac_ext >&5
13975 glibcpp_cv_func_frexpf_use=no
13979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13980 ac_cpp='$CPP $CPPFLAGS'
13981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13983 cross_compiling=$ac_cv_prog_cc_cross
13989 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13991 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13992 for ac_func in frexpf
13994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13995 echo "configure:13996: checking for $ac_func" >&5
13996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13997 echo $ac_n "(cached) $ac_c" 1>&6
13999 cat > conftest.$ac_ext <<EOF
14000 #line 14001 "configure"
14001 #include "confdefs.h"
14002 /* System header to define __stub macros and hopefully few prototypes,
14003 which can conflict with char $ac_func(); below. */
14004 #include <assert.h>
14005 /* Override any gcc2 internal prototype to avoid an error. */
14006 /* We use char because int might match the return type of a gcc2
14007 builtin and then its argument prototype would still apply. */
14012 /* The GNU C library defines this for functions which it implements
14013 to always fail with ENOSYS. Some functions are actually named
14014 something starting with __ and the normal name is an alias. */
14015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14023 if { (eval echo configure:14024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14025 eval "ac_cv_func_$ac_func=yes"
14027 echo "configure: failed program was:" >&5
14028 cat conftest.$ac_ext >&5
14030 eval "ac_cv_func_$ac_func=no"
14035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14036 echo "$ac_t""yes" 1>&6
14037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14038 cat >> confdefs.h <<EOF
14039 #define $ac_tr_func 1
14043 echo "$ac_t""no" 1>&6
14049 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14050 echo "configure:14051: checking for _frexpf declaration" >&5
14051 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14052 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14053 echo $ac_n "(cached) $ac_c" 1>&6
14058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14059 ac_cpp='$CXXCPP $CPPFLAGS'
14060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14062 cross_compiling=$ac_cv_prog_cxx_cross
14064 cat > conftest.$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14072 if { (eval echo configure:14073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14074 glibcpp_cv_func__frexpf_use=yes
14076 echo "configure: failed program was:" >&5
14077 cat conftest.$ac_ext >&5
14079 glibcpp_cv_func__frexpf_use=no
14083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14084 ac_cpp='$CPP $CPPFLAGS'
14085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14087 cross_compiling=$ac_cv_prog_cc_cross
14093 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14095 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14096 for ac_func in _frexpf
14098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14099 echo "configure:14100: checking for $ac_func" >&5
14100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14101 echo $ac_n "(cached) $ac_c" 1>&6
14103 cat > conftest.$ac_ext <<EOF
14104 #line 14105 "configure"
14105 #include "confdefs.h"
14106 /* System header to define __stub macros and hopefully few prototypes,
14107 which can conflict with char $ac_func(); below. */
14108 #include <assert.h>
14109 /* Override any gcc2 internal prototype to avoid an error. */
14110 /* We use char because int might match the return type of a gcc2
14111 builtin and then its argument prototype would still apply. */
14116 /* The GNU C library defines this for functions which it implements
14117 to always fail with ENOSYS. Some functions are actually named
14118 something starting with __ and the normal name is an alias. */
14119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14127 if { (eval echo configure:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14129 eval "ac_cv_func_$ac_func=yes"
14131 echo "configure: failed program was:" >&5
14132 cat conftest.$ac_ext >&5
14134 eval "ac_cv_func_$ac_func=no"
14139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14140 echo "$ac_t""yes" 1>&6
14141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14142 cat >> confdefs.h <<EOF
14143 #define $ac_tr_func 1
14147 echo "$ac_t""no" 1>&6
14156 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14157 echo "configure:14158: checking for hypotf declaration" >&5
14158 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14159 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14160 echo $ac_n "(cached) $ac_c" 1>&6
14165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14169 cross_compiling=$ac_cv_prog_cxx_cross
14171 cat > conftest.$ac_ext <<EOF
14172 #line 14173 "configure"
14173 #include "confdefs.h"
14179 if { (eval echo configure:14180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14181 glibcpp_cv_func_hypotf_use=yes
14183 echo "configure: failed program was:" >&5
14184 cat conftest.$ac_ext >&5
14186 glibcpp_cv_func_hypotf_use=no
14190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14191 ac_cpp='$CPP $CPPFLAGS'
14192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14194 cross_compiling=$ac_cv_prog_cc_cross
14200 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14202 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14203 for ac_func in hypotf
14205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14206 echo "configure:14207: checking for $ac_func" >&5
14207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14208 echo $ac_n "(cached) $ac_c" 1>&6
14210 cat > conftest.$ac_ext <<EOF
14211 #line 14212 "configure"
14212 #include "confdefs.h"
14213 /* System header to define __stub macros and hopefully few prototypes,
14214 which can conflict with char $ac_func(); below. */
14215 #include <assert.h>
14216 /* Override any gcc2 internal prototype to avoid an error. */
14217 /* We use char because int might match the return type of a gcc2
14218 builtin and then its argument prototype would still apply. */
14223 /* The GNU C library defines this for functions which it implements
14224 to always fail with ENOSYS. Some functions are actually named
14225 something starting with __ and the normal name is an alias. */
14226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14234 if { (eval echo configure:14235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14236 eval "ac_cv_func_$ac_func=yes"
14238 echo "configure: failed program was:" >&5
14239 cat conftest.$ac_ext >&5
14241 eval "ac_cv_func_$ac_func=no"
14246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14247 echo "$ac_t""yes" 1>&6
14248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14249 cat >> confdefs.h <<EOF
14250 #define $ac_tr_func 1
14254 echo "$ac_t""no" 1>&6
14260 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14261 echo "configure:14262: checking for _hypotf declaration" >&5
14262 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14263 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14264 echo $ac_n "(cached) $ac_c" 1>&6
14269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14270 ac_cpp='$CXXCPP $CPPFLAGS'
14271 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14272 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14273 cross_compiling=$ac_cv_prog_cxx_cross
14275 cat > conftest.$ac_ext <<EOF
14276 #line 14277 "configure"
14277 #include "confdefs.h"
14283 if { (eval echo configure:14284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14285 glibcpp_cv_func__hypotf_use=yes
14287 echo "configure: failed program was:" >&5
14288 cat conftest.$ac_ext >&5
14290 glibcpp_cv_func__hypotf_use=no
14294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14295 ac_cpp='$CPP $CPPFLAGS'
14296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14298 cross_compiling=$ac_cv_prog_cc_cross
14304 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14306 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14307 for ac_func in _hypotf
14309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14310 echo "configure:14311: checking for $ac_func" >&5
14311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14312 echo $ac_n "(cached) $ac_c" 1>&6
14314 cat > conftest.$ac_ext <<EOF
14315 #line 14316 "configure"
14316 #include "confdefs.h"
14317 /* System header to define __stub macros and hopefully few prototypes,
14318 which can conflict with char $ac_func(); below. */
14319 #include <assert.h>
14320 /* Override any gcc2 internal prototype to avoid an error. */
14321 /* We use char because int might match the return type of a gcc2
14322 builtin and then its argument prototype would still apply. */
14327 /* The GNU C library defines this for functions which it implements
14328 to always fail with ENOSYS. Some functions are actually named
14329 something starting with __ and the normal name is an alias. */
14330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14338 if { (eval echo configure:14339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14340 eval "ac_cv_func_$ac_func=yes"
14342 echo "configure: failed program was:" >&5
14343 cat conftest.$ac_ext >&5
14345 eval "ac_cv_func_$ac_func=no"
14350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14351 echo "$ac_t""yes" 1>&6
14352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14353 cat >> confdefs.h <<EOF
14354 #define $ac_tr_func 1
14358 echo "$ac_t""no" 1>&6
14367 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14368 echo "configure:14369: checking for ldexpf declaration" >&5
14369 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14370 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14371 echo $ac_n "(cached) $ac_c" 1>&6
14376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14377 ac_cpp='$CXXCPP $CPPFLAGS'
14378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14380 cross_compiling=$ac_cv_prog_cxx_cross
14382 cat > conftest.$ac_ext <<EOF
14383 #line 14384 "configure"
14384 #include "confdefs.h"
14390 if { (eval echo configure:14391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14392 glibcpp_cv_func_ldexpf_use=yes
14394 echo "configure: failed program was:" >&5
14395 cat conftest.$ac_ext >&5
14397 glibcpp_cv_func_ldexpf_use=no
14401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14402 ac_cpp='$CPP $CPPFLAGS'
14403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14405 cross_compiling=$ac_cv_prog_cc_cross
14411 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14413 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14414 for ac_func in ldexpf
14416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14417 echo "configure:14418: checking for $ac_func" >&5
14418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14419 echo $ac_n "(cached) $ac_c" 1>&6
14421 cat > conftest.$ac_ext <<EOF
14422 #line 14423 "configure"
14423 #include "confdefs.h"
14424 /* System header to define __stub macros and hopefully few prototypes,
14425 which can conflict with char $ac_func(); below. */
14426 #include <assert.h>
14427 /* Override any gcc2 internal prototype to avoid an error. */
14428 /* We use char because int might match the return type of a gcc2
14429 builtin and then its argument prototype would still apply. */
14434 /* The GNU C library defines this for functions which it implements
14435 to always fail with ENOSYS. Some functions are actually named
14436 something starting with __ and the normal name is an alias. */
14437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14445 if { (eval echo configure:14446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14447 eval "ac_cv_func_$ac_func=yes"
14449 echo "configure: failed program was:" >&5
14450 cat conftest.$ac_ext >&5
14452 eval "ac_cv_func_$ac_func=no"
14457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14458 echo "$ac_t""yes" 1>&6
14459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14460 cat >> confdefs.h <<EOF
14461 #define $ac_tr_func 1
14465 echo "$ac_t""no" 1>&6
14471 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14472 echo "configure:14473: checking for _ldexpf declaration" >&5
14473 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14474 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14475 echo $ac_n "(cached) $ac_c" 1>&6
14480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14481 ac_cpp='$CXXCPP $CPPFLAGS'
14482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14484 cross_compiling=$ac_cv_prog_cxx_cross
14486 cat > conftest.$ac_ext <<EOF
14487 #line 14488 "configure"
14488 #include "confdefs.h"
14494 if { (eval echo configure:14495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14496 glibcpp_cv_func__ldexpf_use=yes
14498 echo "configure: failed program was:" >&5
14499 cat conftest.$ac_ext >&5
14501 glibcpp_cv_func__ldexpf_use=no
14505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14506 ac_cpp='$CPP $CPPFLAGS'
14507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14509 cross_compiling=$ac_cv_prog_cc_cross
14515 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14517 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14518 for ac_func in _ldexpf
14520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14521 echo "configure:14522: checking for $ac_func" >&5
14522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14523 echo $ac_n "(cached) $ac_c" 1>&6
14525 cat > conftest.$ac_ext <<EOF
14526 #line 14527 "configure"
14527 #include "confdefs.h"
14528 /* System header to define __stub macros and hopefully few prototypes,
14529 which can conflict with char $ac_func(); below. */
14530 #include <assert.h>
14531 /* Override any gcc2 internal prototype to avoid an error. */
14532 /* We use char because int might match the return type of a gcc2
14533 builtin and then its argument prototype would still apply. */
14538 /* The GNU C library defines this for functions which it implements
14539 to always fail with ENOSYS. Some functions are actually named
14540 something starting with __ and the normal name is an alias. */
14541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14549 if { (eval echo configure:14550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14551 eval "ac_cv_func_$ac_func=yes"
14553 echo "configure: failed program was:" >&5
14554 cat conftest.$ac_ext >&5
14556 eval "ac_cv_func_$ac_func=no"
14561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14562 echo "$ac_t""yes" 1>&6
14563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14564 cat >> confdefs.h <<EOF
14565 #define $ac_tr_func 1
14569 echo "$ac_t""no" 1>&6
14578 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14579 echo "configure:14580: checking for logf declaration" >&5
14580 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14581 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14582 echo $ac_n "(cached) $ac_c" 1>&6
14587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14588 ac_cpp='$CXXCPP $CPPFLAGS'
14589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14591 cross_compiling=$ac_cv_prog_cxx_cross
14593 cat > conftest.$ac_ext <<EOF
14594 #line 14595 "configure"
14595 #include "confdefs.h"
14597 #ifdef HAVE_IEEEFP_H
14598 #include <ieeefp.h>
14605 if { (eval echo configure:14606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14607 glibcpp_cv_func_logf_use=yes
14609 echo "configure: failed program was:" >&5
14610 cat conftest.$ac_ext >&5
14612 glibcpp_cv_func_logf_use=no
14616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14617 ac_cpp='$CPP $CPPFLAGS'
14618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14620 cross_compiling=$ac_cv_prog_cc_cross
14626 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14628 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14629 for ac_func in logf
14631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14632 echo "configure:14633: checking for $ac_func" >&5
14633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14634 echo $ac_n "(cached) $ac_c" 1>&6
14636 cat > conftest.$ac_ext <<EOF
14637 #line 14638 "configure"
14638 #include "confdefs.h"
14639 /* System header to define __stub macros and hopefully few prototypes,
14640 which can conflict with char $ac_func(); below. */
14641 #include <assert.h>
14642 /* Override any gcc2 internal prototype to avoid an error. */
14643 /* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14649 /* The GNU C library defines this for functions which it implements
14650 to always fail with ENOSYS. Some functions are actually named
14651 something starting with __ and the normal name is an alias. */
14652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14660 if { (eval echo configure:14661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14662 eval "ac_cv_func_$ac_func=yes"
14664 echo "configure: failed program was:" >&5
14665 cat conftest.$ac_ext >&5
14667 eval "ac_cv_func_$ac_func=no"
14672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14673 echo "$ac_t""yes" 1>&6
14674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14675 cat >> confdefs.h <<EOF
14676 #define $ac_tr_func 1
14680 echo "$ac_t""no" 1>&6
14686 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14687 echo "configure:14688: checking for _logf declaration" >&5
14688 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14689 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14690 echo $ac_n "(cached) $ac_c" 1>&6
14695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14696 ac_cpp='$CXXCPP $CPPFLAGS'
14697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14699 cross_compiling=$ac_cv_prog_cxx_cross
14701 cat > conftest.$ac_ext <<EOF
14702 #line 14703 "configure"
14703 #include "confdefs.h"
14705 #ifdef HAVE_IEEEFP_H
14706 #include <ieeefp.h>
14713 if { (eval echo configure:14714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14715 glibcpp_cv_func__logf_use=yes
14717 echo "configure: failed program was:" >&5
14718 cat conftest.$ac_ext >&5
14720 glibcpp_cv_func__logf_use=no
14724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14725 ac_cpp='$CPP $CPPFLAGS'
14726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14728 cross_compiling=$ac_cv_prog_cc_cross
14734 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14736 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14737 for ac_func in _logf
14739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14740 echo "configure:14741: checking for $ac_func" >&5
14741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14742 echo $ac_n "(cached) $ac_c" 1>&6
14744 cat > conftest.$ac_ext <<EOF
14745 #line 14746 "configure"
14746 #include "confdefs.h"
14747 /* System header to define __stub macros and hopefully few prototypes,
14748 which can conflict with char $ac_func(); below. */
14749 #include <assert.h>
14750 /* Override any gcc2 internal prototype to avoid an error. */
14751 /* We use char because int might match the return type of a gcc2
14752 builtin and then its argument prototype would still apply. */
14757 /* The GNU C library defines this for functions which it implements
14758 to always fail with ENOSYS. Some functions are actually named
14759 something starting with __ and the normal name is an alias. */
14760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14768 if { (eval echo configure:14769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14770 eval "ac_cv_func_$ac_func=yes"
14772 echo "configure: failed program was:" >&5
14773 cat conftest.$ac_ext >&5
14775 eval "ac_cv_func_$ac_func=no"
14780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14781 echo "$ac_t""yes" 1>&6
14782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14783 cat >> confdefs.h <<EOF
14784 #define $ac_tr_func 1
14788 echo "$ac_t""no" 1>&6
14797 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14798 echo "configure:14799: checking for log10f declaration" >&5
14799 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14800 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14801 echo $ac_n "(cached) $ac_c" 1>&6
14806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14807 ac_cpp='$CXXCPP $CPPFLAGS'
14808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14810 cross_compiling=$ac_cv_prog_cxx_cross
14812 cat > conftest.$ac_ext <<EOF
14813 #line 14814 "configure"
14814 #include "confdefs.h"
14816 #ifdef HAVE_IEEEFP_H
14817 #include <ieeefp.h>
14824 if { (eval echo configure:14825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14826 glibcpp_cv_func_log10f_use=yes
14828 echo "configure: failed program was:" >&5
14829 cat conftest.$ac_ext >&5
14831 glibcpp_cv_func_log10f_use=no
14835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14836 ac_cpp='$CPP $CPPFLAGS'
14837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14839 cross_compiling=$ac_cv_prog_cc_cross
14845 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14847 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14848 for ac_func in log10f
14850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14851 echo "configure:14852: checking for $ac_func" >&5
14852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14853 echo $ac_n "(cached) $ac_c" 1>&6
14855 cat > conftest.$ac_ext <<EOF
14856 #line 14857 "configure"
14857 #include "confdefs.h"
14858 /* System header to define __stub macros and hopefully few prototypes,
14859 which can conflict with char $ac_func(); below. */
14860 #include <assert.h>
14861 /* Override any gcc2 internal prototype to avoid an error. */
14862 /* We use char because int might match the return type of a gcc2
14863 builtin and then its argument prototype would still apply. */
14868 /* The GNU C library defines this for functions which it implements
14869 to always fail with ENOSYS. Some functions are actually named
14870 something starting with __ and the normal name is an alias. */
14871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14879 if { (eval echo configure:14880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14881 eval "ac_cv_func_$ac_func=yes"
14883 echo "configure: failed program was:" >&5
14884 cat conftest.$ac_ext >&5
14886 eval "ac_cv_func_$ac_func=no"
14891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14892 echo "$ac_t""yes" 1>&6
14893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14894 cat >> confdefs.h <<EOF
14895 #define $ac_tr_func 1
14899 echo "$ac_t""no" 1>&6
14905 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14906 echo "configure:14907: checking for _log10f declaration" >&5
14907 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14908 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14909 echo $ac_n "(cached) $ac_c" 1>&6
14914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14915 ac_cpp='$CXXCPP $CPPFLAGS'
14916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14918 cross_compiling=$ac_cv_prog_cxx_cross
14920 cat > conftest.$ac_ext <<EOF
14921 #line 14922 "configure"
14922 #include "confdefs.h"
14924 #ifdef HAVE_IEEEFP_H
14925 #include <ieeefp.h>
14932 if { (eval echo configure:14933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14934 glibcpp_cv_func__log10f_use=yes
14936 echo "configure: failed program was:" >&5
14937 cat conftest.$ac_ext >&5
14939 glibcpp_cv_func__log10f_use=no
14943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14944 ac_cpp='$CPP $CPPFLAGS'
14945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14947 cross_compiling=$ac_cv_prog_cc_cross
14953 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14955 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14956 for ac_func in _log10f
14958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14959 echo "configure:14960: checking for $ac_func" >&5
14960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14961 echo $ac_n "(cached) $ac_c" 1>&6
14963 cat > conftest.$ac_ext <<EOF
14964 #line 14965 "configure"
14965 #include "confdefs.h"
14966 /* System header to define __stub macros and hopefully few prototypes,
14967 which can conflict with char $ac_func(); below. */
14968 #include <assert.h>
14969 /* Override any gcc2 internal prototype to avoid an error. */
14970 /* We use char because int might match the return type of a gcc2
14971 builtin and then its argument prototype would still apply. */
14976 /* The GNU C library defines this for functions which it implements
14977 to always fail with ENOSYS. Some functions are actually named
14978 something starting with __ and the normal name is an alias. */
14979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14987 if { (eval echo configure:14988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14989 eval "ac_cv_func_$ac_func=yes"
14991 echo "configure: failed program was:" >&5
14992 cat conftest.$ac_ext >&5
14994 eval "ac_cv_func_$ac_func=no"
14999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15000 echo "$ac_t""yes" 1>&6
15001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15002 cat >> confdefs.h <<EOF
15003 #define $ac_tr_func 1
15007 echo "$ac_t""no" 1>&6
15016 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15017 echo "configure:15018: checking for modff declaration" >&5
15018 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15019 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15020 echo $ac_n "(cached) $ac_c" 1>&6
15025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15026 ac_cpp='$CXXCPP $CPPFLAGS'
15027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15029 cross_compiling=$ac_cv_prog_cxx_cross
15031 cat > conftest.$ac_ext <<EOF
15032 #line 15033 "configure"
15033 #include "confdefs.h"
15039 if { (eval echo configure:15040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15041 glibcpp_cv_func_modff_use=yes
15043 echo "configure: failed program was:" >&5
15044 cat conftest.$ac_ext >&5
15046 glibcpp_cv_func_modff_use=no
15050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15054 cross_compiling=$ac_cv_prog_cc_cross
15060 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15062 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15063 for ac_func in modff
15065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15066 echo "configure:15067: checking for $ac_func" >&5
15067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15068 echo $ac_n "(cached) $ac_c" 1>&6
15070 cat > conftest.$ac_ext <<EOF
15071 #line 15072 "configure"
15072 #include "confdefs.h"
15073 /* System header to define __stub macros and hopefully few prototypes,
15074 which can conflict with char $ac_func(); below. */
15075 #include <assert.h>
15076 /* Override any gcc2 internal prototype to avoid an error. */
15077 /* We use char because int might match the return type of a gcc2
15078 builtin and then its argument prototype would still apply. */
15083 /* The GNU C library defines this for functions which it implements
15084 to always fail with ENOSYS. Some functions are actually named
15085 something starting with __ and the normal name is an alias. */
15086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15094 if { (eval echo configure:15095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15096 eval "ac_cv_func_$ac_func=yes"
15098 echo "configure: failed program was:" >&5
15099 cat conftest.$ac_ext >&5
15101 eval "ac_cv_func_$ac_func=no"
15106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15107 echo "$ac_t""yes" 1>&6
15108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15109 cat >> confdefs.h <<EOF
15110 #define $ac_tr_func 1
15114 echo "$ac_t""no" 1>&6
15120 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15121 echo "configure:15122: checking for _modff declaration" >&5
15122 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15123 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15124 echo $ac_n "(cached) $ac_c" 1>&6
15129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15130 ac_cpp='$CXXCPP $CPPFLAGS'
15131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15133 cross_compiling=$ac_cv_prog_cxx_cross
15135 cat > conftest.$ac_ext <<EOF
15136 #line 15137 "configure"
15137 #include "confdefs.h"
15143 if { (eval echo configure:15144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15145 glibcpp_cv_func__modff_use=yes
15147 echo "configure: failed program was:" >&5
15148 cat conftest.$ac_ext >&5
15150 glibcpp_cv_func__modff_use=no
15154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15155 ac_cpp='$CPP $CPPFLAGS'
15156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15158 cross_compiling=$ac_cv_prog_cc_cross
15164 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15166 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15167 for ac_func in _modff
15169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15170 echo "configure:15171: checking for $ac_func" >&5
15171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15172 echo $ac_n "(cached) $ac_c" 1>&6
15174 cat > conftest.$ac_ext <<EOF
15175 #line 15176 "configure"
15176 #include "confdefs.h"
15177 /* System header to define __stub macros and hopefully few prototypes,
15178 which can conflict with char $ac_func(); below. */
15179 #include <assert.h>
15180 /* Override any gcc2 internal prototype to avoid an error. */
15181 /* We use char because int might match the return type of a gcc2
15182 builtin and then its argument prototype would still apply. */
15187 /* The GNU C library defines this for functions which it implements
15188 to always fail with ENOSYS. Some functions are actually named
15189 something starting with __ and the normal name is an alias. */
15190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15198 if { (eval echo configure:15199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15200 eval "ac_cv_func_$ac_func=yes"
15202 echo "configure: failed program was:" >&5
15203 cat conftest.$ac_ext >&5
15205 eval "ac_cv_func_$ac_func=no"
15210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15213 cat >> confdefs.h <<EOF
15214 #define $ac_tr_func 1
15218 echo "$ac_t""no" 1>&6
15227 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15228 echo "configure:15229: checking for powf declaration" >&5
15229 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15230 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15231 echo $ac_n "(cached) $ac_c" 1>&6
15236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15237 ac_cpp='$CXXCPP $CPPFLAGS'
15238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15240 cross_compiling=$ac_cv_prog_cxx_cross
15242 cat > conftest.$ac_ext <<EOF
15243 #line 15244 "configure"
15244 #include "confdefs.h"
15250 if { (eval echo configure:15251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15252 glibcpp_cv_func_powf_use=yes
15254 echo "configure: failed program was:" >&5
15255 cat conftest.$ac_ext >&5
15257 glibcpp_cv_func_powf_use=no
15261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15265 cross_compiling=$ac_cv_prog_cc_cross
15271 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15273 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15274 for ac_func in powf
15276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15277 echo "configure:15278: checking for $ac_func" >&5
15278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15279 echo $ac_n "(cached) $ac_c" 1>&6
15281 cat > conftest.$ac_ext <<EOF
15282 #line 15283 "configure"
15283 #include "confdefs.h"
15284 /* System header to define __stub macros and hopefully few prototypes,
15285 which can conflict with char $ac_func(); below. */
15286 #include <assert.h>
15287 /* Override any gcc2 internal prototype to avoid an error. */
15288 /* We use char because int might match the return type of a gcc2
15289 builtin and then its argument prototype would still apply. */
15294 /* The GNU C library defines this for functions which it implements
15295 to always fail with ENOSYS. Some functions are actually named
15296 something starting with __ and the normal name is an alias. */
15297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15305 if { (eval echo configure:15306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15307 eval "ac_cv_func_$ac_func=yes"
15309 echo "configure: failed program was:" >&5
15310 cat conftest.$ac_ext >&5
15312 eval "ac_cv_func_$ac_func=no"
15317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15318 echo "$ac_t""yes" 1>&6
15319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15320 cat >> confdefs.h <<EOF
15321 #define $ac_tr_func 1
15325 echo "$ac_t""no" 1>&6
15331 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15332 echo "configure:15333: checking for _powf declaration" >&5
15333 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15334 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15335 echo $ac_n "(cached) $ac_c" 1>&6
15340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15341 ac_cpp='$CXXCPP $CPPFLAGS'
15342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15344 cross_compiling=$ac_cv_prog_cxx_cross
15346 cat > conftest.$ac_ext <<EOF
15347 #line 15348 "configure"
15348 #include "confdefs.h"
15354 if { (eval echo configure:15355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15356 glibcpp_cv_func__powf_use=yes
15358 echo "configure: failed program was:" >&5
15359 cat conftest.$ac_ext >&5
15361 glibcpp_cv_func__powf_use=no
15365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15366 ac_cpp='$CPP $CPPFLAGS'
15367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15369 cross_compiling=$ac_cv_prog_cc_cross
15375 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15377 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15378 for ac_func in _powf
15380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15381 echo "configure:15382: checking for $ac_func" >&5
15382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15383 echo $ac_n "(cached) $ac_c" 1>&6
15385 cat > conftest.$ac_ext <<EOF
15386 #line 15387 "configure"
15387 #include "confdefs.h"
15388 /* System header to define __stub macros and hopefully few prototypes,
15389 which can conflict with char $ac_func(); below. */
15390 #include <assert.h>
15391 /* Override any gcc2 internal prototype to avoid an error. */
15392 /* We use char because int might match the return type of a gcc2
15393 builtin and then its argument prototype would still apply. */
15398 /* The GNU C library defines this for functions which it implements
15399 to always fail with ENOSYS. Some functions are actually named
15400 something starting with __ and the normal name is an alias. */
15401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15409 if { (eval echo configure:15410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15411 eval "ac_cv_func_$ac_func=yes"
15413 echo "configure: failed program was:" >&5
15414 cat conftest.$ac_ext >&5
15416 eval "ac_cv_func_$ac_func=no"
15421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15422 echo "$ac_t""yes" 1>&6
15423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15424 cat >> confdefs.h <<EOF
15425 #define $ac_tr_func 1
15429 echo "$ac_t""no" 1>&6
15438 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15439 echo "configure:15440: checking for sqrtf declaration" >&5
15440 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15441 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15442 echo $ac_n "(cached) $ac_c" 1>&6
15447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15448 ac_cpp='$CXXCPP $CPPFLAGS'
15449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15451 cross_compiling=$ac_cv_prog_cxx_cross
15453 cat > conftest.$ac_ext <<EOF
15454 #line 15455 "configure"
15455 #include "confdefs.h"
15457 #ifdef HAVE_IEEEFP_H
15458 #include <ieeefp.h>
15465 if { (eval echo configure:15466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15467 glibcpp_cv_func_sqrtf_use=yes
15469 echo "configure: failed program was:" >&5
15470 cat conftest.$ac_ext >&5
15472 glibcpp_cv_func_sqrtf_use=no
15476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15477 ac_cpp='$CPP $CPPFLAGS'
15478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15480 cross_compiling=$ac_cv_prog_cc_cross
15486 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15488 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15489 for ac_func in sqrtf
15491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15492 echo "configure:15493: checking for $ac_func" >&5
15493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15494 echo $ac_n "(cached) $ac_c" 1>&6
15496 cat > conftest.$ac_ext <<EOF
15497 #line 15498 "configure"
15498 #include "confdefs.h"
15499 /* System header to define __stub macros and hopefully few prototypes,
15500 which can conflict with char $ac_func(); below. */
15501 #include <assert.h>
15502 /* Override any gcc2 internal prototype to avoid an error. */
15503 /* We use char because int might match the return type of a gcc2
15504 builtin and then its argument prototype would still apply. */
15509 /* The GNU C library defines this for functions which it implements
15510 to always fail with ENOSYS. Some functions are actually named
15511 something starting with __ and the normal name is an alias. */
15512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15520 if { (eval echo configure:15521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15522 eval "ac_cv_func_$ac_func=yes"
15524 echo "configure: failed program was:" >&5
15525 cat conftest.$ac_ext >&5
15527 eval "ac_cv_func_$ac_func=no"
15532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15533 echo "$ac_t""yes" 1>&6
15534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15535 cat >> confdefs.h <<EOF
15536 #define $ac_tr_func 1
15540 echo "$ac_t""no" 1>&6
15546 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15547 echo "configure:15548: checking for _sqrtf declaration" >&5
15548 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15549 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15550 echo $ac_n "(cached) $ac_c" 1>&6
15555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15556 ac_cpp='$CXXCPP $CPPFLAGS'
15557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15559 cross_compiling=$ac_cv_prog_cxx_cross
15561 cat > conftest.$ac_ext <<EOF
15562 #line 15563 "configure"
15563 #include "confdefs.h"
15565 #ifdef HAVE_IEEEFP_H
15566 #include <ieeefp.h>
15573 if { (eval echo configure:15574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15575 glibcpp_cv_func__sqrtf_use=yes
15577 echo "configure: failed program was:" >&5
15578 cat conftest.$ac_ext >&5
15580 glibcpp_cv_func__sqrtf_use=no
15584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15585 ac_cpp='$CPP $CPPFLAGS'
15586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15588 cross_compiling=$ac_cv_prog_cc_cross
15594 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15596 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15597 for ac_func in _sqrtf
15599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15600 echo "configure:15601: checking for $ac_func" >&5
15601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15604 cat > conftest.$ac_ext <<EOF
15605 #line 15606 "configure"
15606 #include "confdefs.h"
15607 /* System header to define __stub macros and hopefully few prototypes,
15608 which can conflict with char $ac_func(); below. */
15609 #include <assert.h>
15610 /* Override any gcc2 internal prototype to avoid an error. */
15611 /* We use char because int might match the return type of a gcc2
15612 builtin and then its argument prototype would still apply. */
15617 /* The GNU C library defines this for functions which it implements
15618 to always fail with ENOSYS. Some functions are actually named
15619 something starting with __ and the normal name is an alias. */
15620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15628 if { (eval echo configure:15629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15630 eval "ac_cv_func_$ac_func=yes"
15632 echo "configure: failed program was:" >&5
15633 cat conftest.$ac_ext >&5
15635 eval "ac_cv_func_$ac_func=no"
15640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15641 echo "$ac_t""yes" 1>&6
15642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15643 cat >> confdefs.h <<EOF
15644 #define $ac_tr_func 1
15648 echo "$ac_t""no" 1>&6
15657 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15658 echo "configure:15659: checking for sincosf declaration" >&5
15659 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15660 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15661 echo $ac_n "(cached) $ac_c" 1>&6
15666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15667 ac_cpp='$CXXCPP $CPPFLAGS'
15668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15670 cross_compiling=$ac_cv_prog_cxx_cross
15672 cat > conftest.$ac_ext <<EOF
15673 #line 15674 "configure"
15674 #include "confdefs.h"
15680 if { (eval echo configure:15681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15682 glibcpp_cv_func_sincosf_use=yes
15684 echo "configure: failed program was:" >&5
15685 cat conftest.$ac_ext >&5
15687 glibcpp_cv_func_sincosf_use=no
15691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15695 cross_compiling=$ac_cv_prog_cc_cross
15701 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15703 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15704 for ac_func in sincosf
15706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15707 echo "configure:15708: checking for $ac_func" >&5
15708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15709 echo $ac_n "(cached) $ac_c" 1>&6
15711 cat > conftest.$ac_ext <<EOF
15712 #line 15713 "configure"
15713 #include "confdefs.h"
15714 /* System header to define __stub macros and hopefully few prototypes,
15715 which can conflict with char $ac_func(); below. */
15716 #include <assert.h>
15717 /* Override any gcc2 internal prototype to avoid an error. */
15718 /* We use char because int might match the return type of a gcc2
15719 builtin and then its argument prototype would still apply. */
15724 /* The GNU C library defines this for functions which it implements
15725 to always fail with ENOSYS. Some functions are actually named
15726 something starting with __ and the normal name is an alias. */
15727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15735 if { (eval echo configure:15736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15737 eval "ac_cv_func_$ac_func=yes"
15739 echo "configure: failed program was:" >&5
15740 cat conftest.$ac_ext >&5
15742 eval "ac_cv_func_$ac_func=no"
15747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15748 echo "$ac_t""yes" 1>&6
15749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15750 cat >> confdefs.h <<EOF
15751 #define $ac_tr_func 1
15755 echo "$ac_t""no" 1>&6
15761 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15762 echo "configure:15763: checking for _sincosf declaration" >&5
15763 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15764 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15765 echo $ac_n "(cached) $ac_c" 1>&6
15770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15771 ac_cpp='$CXXCPP $CPPFLAGS'
15772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15774 cross_compiling=$ac_cv_prog_cxx_cross
15776 cat > conftest.$ac_ext <<EOF
15777 #line 15778 "configure"
15778 #include "confdefs.h"
15784 if { (eval echo configure:15785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15786 glibcpp_cv_func__sincosf_use=yes
15788 echo "configure: failed program was:" >&5
15789 cat conftest.$ac_ext >&5
15791 glibcpp_cv_func__sincosf_use=no
15795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15796 ac_cpp='$CPP $CPPFLAGS'
15797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15799 cross_compiling=$ac_cv_prog_cc_cross
15805 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15807 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15808 for ac_func in _sincosf
15810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15811 echo "configure:15812: checking for $ac_func" >&5
15812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15813 echo $ac_n "(cached) $ac_c" 1>&6
15815 cat > conftest.$ac_ext <<EOF
15816 #line 15817 "configure"
15817 #include "confdefs.h"
15818 /* System header to define __stub macros and hopefully few prototypes,
15819 which can conflict with char $ac_func(); below. */
15820 #include <assert.h>
15821 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15839 if { (eval echo configure:15840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15841 eval "ac_cv_func_$ac_func=yes"
15843 echo "configure: failed program was:" >&5
15844 cat conftest.$ac_ext >&5
15846 eval "ac_cv_func_$ac_func=no"
15851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15852 echo "$ac_t""yes" 1>&6
15853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15854 cat >> confdefs.h <<EOF
15855 #define $ac_tr_func 1
15859 echo "$ac_t""no" 1>&6
15868 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15869 echo "configure:15870: checking for finitef declaration" >&5
15870 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15871 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15872 echo $ac_n "(cached) $ac_c" 1>&6
15877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15878 ac_cpp='$CXXCPP $CPPFLAGS'
15879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15881 cross_compiling=$ac_cv_prog_cxx_cross
15883 cat > conftest.$ac_ext <<EOF
15884 #line 15885 "configure"
15885 #include "confdefs.h"
15887 #ifdef HAVE_IEEEFP_H
15888 #include <ieeefp.h>
15895 if { (eval echo configure:15896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15897 glibcpp_cv_func_finitef_use=yes
15899 echo "configure: failed program was:" >&5
15900 cat conftest.$ac_ext >&5
15902 glibcpp_cv_func_finitef_use=no
15906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15907 ac_cpp='$CPP $CPPFLAGS'
15908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15910 cross_compiling=$ac_cv_prog_cc_cross
15916 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15918 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15919 for ac_func in finitef
15921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15922 echo "configure:15923: checking for $ac_func" >&5
15923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15924 echo $ac_n "(cached) $ac_c" 1>&6
15926 cat > conftest.$ac_ext <<EOF
15927 #line 15928 "configure"
15928 #include "confdefs.h"
15929 /* System header to define __stub macros and hopefully few prototypes,
15930 which can conflict with char $ac_func(); below. */
15931 #include <assert.h>
15932 /* Override any gcc2 internal prototype to avoid an error. */
15933 /* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15939 /* The GNU C library defines this for functions which it implements
15940 to always fail with ENOSYS. Some functions are actually named
15941 something starting with __ and the normal name is an alias. */
15942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15950 if { (eval echo configure:15951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15952 eval "ac_cv_func_$ac_func=yes"
15954 echo "configure: failed program was:" >&5
15955 cat conftest.$ac_ext >&5
15957 eval "ac_cv_func_$ac_func=no"
15962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15963 echo "$ac_t""yes" 1>&6
15964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15965 cat >> confdefs.h <<EOF
15966 #define $ac_tr_func 1
15970 echo "$ac_t""no" 1>&6
15976 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15977 echo "configure:15978: checking for _finitef declaration" >&5
15978 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15979 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15980 echo $ac_n "(cached) $ac_c" 1>&6
15985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15986 ac_cpp='$CXXCPP $CPPFLAGS'
15987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15989 cross_compiling=$ac_cv_prog_cxx_cross
15991 cat > conftest.$ac_ext <<EOF
15992 #line 15993 "configure"
15993 #include "confdefs.h"
15995 #ifdef HAVE_IEEEFP_H
15996 #include <ieeefp.h>
16003 if { (eval echo configure:16004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16005 glibcpp_cv_func__finitef_use=yes
16007 echo "configure: failed program was:" >&5
16008 cat conftest.$ac_ext >&5
16010 glibcpp_cv_func__finitef_use=no
16014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16015 ac_cpp='$CPP $CPPFLAGS'
16016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16018 cross_compiling=$ac_cv_prog_cc_cross
16024 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16026 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16027 for ac_func in _finitef
16029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16030 echo "configure:16031: checking for $ac_func" >&5
16031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16032 echo $ac_n "(cached) $ac_c" 1>&6
16034 cat > conftest.$ac_ext <<EOF
16035 #line 16036 "configure"
16036 #include "confdefs.h"
16037 /* System header to define __stub macros and hopefully few prototypes,
16038 which can conflict with char $ac_func(); below. */
16039 #include <assert.h>
16040 /* Override any gcc2 internal prototype to avoid an error. */
16041 /* We use char because int might match the return type of a gcc2
16042 builtin and then its argument prototype would still apply. */
16047 /* The GNU C library defines this for functions which it implements
16048 to always fail with ENOSYS. Some functions are actually named
16049 something starting with __ and the normal name is an alias. */
16050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16058 if { (eval echo configure:16059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16060 eval "ac_cv_func_$ac_func=yes"
16062 echo "configure: failed program was:" >&5
16063 cat conftest.$ac_ext >&5
16065 eval "ac_cv_func_$ac_func=no"
16070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16071 echo "$ac_t""yes" 1>&6
16072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16073 cat >> confdefs.h <<EOF
16074 #define $ac_tr_func 1
16078 echo "$ac_t""no" 1>&6
16087 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16088 echo "configure:16089: checking for long double trig functions" >&5
16089 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16090 echo $ac_n "(cached) $ac_c" 1>&6
16095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16096 ac_cpp='$CXXCPP $CPPFLAGS'
16097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16099 cross_compiling=$ac_cv_prog_cxx_cross
16101 cat > conftest.$ac_ext <<EOF
16102 #line 16103 "configure"
16103 #include "confdefs.h"
16106 `for x in acosl asinl atanl \
16108 coshl sinhl tanhl; do echo "$x (0);"; done`
16111 if { (eval echo configure:16112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16113 glibcpp_cv_func_long_double_trig_use=yes
16115 echo "configure: failed program was:" >&5
16116 cat conftest.$ac_ext >&5
16118 glibcpp_cv_func_long_double_trig_use=no
16122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16123 ac_cpp='$CPP $CPPFLAGS'
16124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16126 cross_compiling=$ac_cv_prog_cc_cross
16130 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16131 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16132 for ac_func in acosl asinl atanl \
16136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16137 echo "configure:16138: checking for $ac_func" >&5
16138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16139 echo $ac_n "(cached) $ac_c" 1>&6
16141 cat > conftest.$ac_ext <<EOF
16142 #line 16143 "configure"
16143 #include "confdefs.h"
16144 /* System header to define __stub macros and hopefully few prototypes,
16145 which can conflict with char $ac_func(); below. */
16146 #include <assert.h>
16147 /* Override any gcc2 internal prototype to avoid an error. */
16148 /* We use char because int might match the return type of a gcc2
16149 builtin and then its argument prototype would still apply. */
16154 /* The GNU C library defines this for functions which it implements
16155 to always fail with ENOSYS. Some functions are actually named
16156 something starting with __ and the normal name is an alias. */
16157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16165 if { (eval echo configure:16166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16167 eval "ac_cv_func_$ac_func=yes"
16169 echo "configure: failed program was:" >&5
16170 cat conftest.$ac_ext >&5
16172 eval "ac_cv_func_$ac_func=no"
16177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16178 echo "$ac_t""yes" 1>&6
16179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16180 cat >> confdefs.h <<EOF
16181 #define $ac_tr_func 1
16185 echo "$ac_t""no" 1>&6
16192 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16193 echo "configure:16194: checking for long double round functions" >&5
16194 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16195 echo $ac_n "(cached) $ac_c" 1>&6
16200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16201 ac_cpp='$CXXCPP $CPPFLAGS'
16202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16204 cross_compiling=$ac_cv_prog_cxx_cross
16206 cat > conftest.$ac_ext <<EOF
16207 #line 16208 "configure"
16208 #include "confdefs.h"
16211 `for x in ceill floorl; do echo "$x (0);"; done`
16214 if { (eval echo configure:16215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16216 glibcpp_cv_func_long_double_round_use=yes
16218 echo "configure: failed program was:" >&5
16219 cat conftest.$ac_ext >&5
16221 glibcpp_cv_func_long_double_round_use=no
16225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16226 ac_cpp='$CPP $CPPFLAGS'
16227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16229 cross_compiling=$ac_cv_prog_cc_cross
16233 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16234 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16235 for ac_func in ceill floorl
16237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16238 echo "configure:16239: checking for $ac_func" >&5
16239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16240 echo $ac_n "(cached) $ac_c" 1>&6
16242 cat > conftest.$ac_ext <<EOF
16243 #line 16244 "configure"
16244 #include "confdefs.h"
16245 /* System header to define __stub macros and hopefully few prototypes,
16246 which can conflict with char $ac_func(); below. */
16247 #include <assert.h>
16248 /* Override any gcc2 internal prototype to avoid an error. */
16249 /* We use char because int might match the return type of a gcc2
16250 builtin and then its argument prototype would still apply. */
16255 /* The GNU C library defines this for functions which it implements
16256 to always fail with ENOSYS. Some functions are actually named
16257 something starting with __ and the normal name is an alias. */
16258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16266 if { (eval echo configure:16267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16268 eval "ac_cv_func_$ac_func=yes"
16270 echo "configure: failed program was:" >&5
16271 cat conftest.$ac_ext >&5
16273 eval "ac_cv_func_$ac_func=no"
16278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16279 echo "$ac_t""yes" 1>&6
16280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16281 cat >> confdefs.h <<EOF
16282 #define $ac_tr_func 1
16286 echo "$ac_t""no" 1>&6
16294 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16295 echo "configure:16296: checking for isnanl declaration" >&5
16296 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16297 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16298 echo $ac_n "(cached) $ac_c" 1>&6
16303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16304 ac_cpp='$CXXCPP $CPPFLAGS'
16305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16307 cross_compiling=$ac_cv_prog_cxx_cross
16309 cat > conftest.$ac_ext <<EOF
16310 #line 16311 "configure"
16311 #include "confdefs.h"
16313 #ifdef HAVE_IEEEFP_H
16314 #include <ieeefp.h>
16321 if { (eval echo configure:16322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16323 glibcpp_cv_func_isnanl_use=yes
16325 echo "configure: failed program was:" >&5
16326 cat conftest.$ac_ext >&5
16328 glibcpp_cv_func_isnanl_use=no
16332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16333 ac_cpp='$CPP $CPPFLAGS'
16334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16336 cross_compiling=$ac_cv_prog_cc_cross
16342 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16344 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16345 for ac_func in isnanl
16347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16348 echo "configure:16349: checking for $ac_func" >&5
16349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16350 echo $ac_n "(cached) $ac_c" 1>&6
16352 cat > conftest.$ac_ext <<EOF
16353 #line 16354 "configure"
16354 #include "confdefs.h"
16355 /* System header to define __stub macros and hopefully few prototypes,
16356 which can conflict with char $ac_func(); below. */
16357 #include <assert.h>
16358 /* Override any gcc2 internal prototype to avoid an error. */
16359 /* We use char because int might match the return type of a gcc2
16360 builtin and then its argument prototype would still apply. */
16365 /* The GNU C library defines this for functions which it implements
16366 to always fail with ENOSYS. Some functions are actually named
16367 something starting with __ and the normal name is an alias. */
16368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16376 if { (eval echo configure:16377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16378 eval "ac_cv_func_$ac_func=yes"
16380 echo "configure: failed program was:" >&5
16381 cat conftest.$ac_ext >&5
16383 eval "ac_cv_func_$ac_func=no"
16388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16389 echo "$ac_t""yes" 1>&6
16390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16391 cat >> confdefs.h <<EOF
16392 #define $ac_tr_func 1
16396 echo "$ac_t""no" 1>&6
16402 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16403 echo "configure:16404: checking for _isnanl declaration" >&5
16404 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16405 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16406 echo $ac_n "(cached) $ac_c" 1>&6
16411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16415 cross_compiling=$ac_cv_prog_cxx_cross
16417 cat > conftest.$ac_ext <<EOF
16418 #line 16419 "configure"
16419 #include "confdefs.h"
16421 #ifdef HAVE_IEEEFP_H
16422 #include <ieeefp.h>
16429 if { (eval echo configure:16430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16431 glibcpp_cv_func__isnanl_use=yes
16433 echo "configure: failed program was:" >&5
16434 cat conftest.$ac_ext >&5
16436 glibcpp_cv_func__isnanl_use=no
16440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16444 cross_compiling=$ac_cv_prog_cc_cross
16450 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16452 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16453 for ac_func in _isnanl
16455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16456 echo "configure:16457: checking for $ac_func" >&5
16457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16458 echo $ac_n "(cached) $ac_c" 1>&6
16460 cat > conftest.$ac_ext <<EOF
16461 #line 16462 "configure"
16462 #include "confdefs.h"
16463 /* System header to define __stub macros and hopefully few prototypes,
16464 which can conflict with char $ac_func(); below. */
16465 #include <assert.h>
16466 /* Override any gcc2 internal prototype to avoid an error. */
16467 /* We use char because int might match the return type of a gcc2
16468 builtin and then its argument prototype would still apply. */
16473 /* The GNU C library defines this for functions which it implements
16474 to always fail with ENOSYS. Some functions are actually named
16475 something starting with __ and the normal name is an alias. */
16476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16484 if { (eval echo configure:16485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16486 eval "ac_cv_func_$ac_func=yes"
16488 echo "configure: failed program was:" >&5
16489 cat conftest.$ac_ext >&5
16491 eval "ac_cv_func_$ac_func=no"
16496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16497 echo "$ac_t""yes" 1>&6
16498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16499 cat >> confdefs.h <<EOF
16500 #define $ac_tr_func 1
16504 echo "$ac_t""no" 1>&6
16513 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16514 echo "configure:16515: checking for isinfl declaration" >&5
16515 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16516 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16517 echo $ac_n "(cached) $ac_c" 1>&6
16522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16523 ac_cpp='$CXXCPP $CPPFLAGS'
16524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16526 cross_compiling=$ac_cv_prog_cxx_cross
16528 cat > conftest.$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16532 #ifdef HAVE_IEEEFP_H
16533 #include <ieeefp.h>
16540 if { (eval echo configure:16541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16542 glibcpp_cv_func_isinfl_use=yes
16544 echo "configure: failed program was:" >&5
16545 cat conftest.$ac_ext >&5
16547 glibcpp_cv_func_isinfl_use=no
16551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16555 cross_compiling=$ac_cv_prog_cc_cross
16561 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16563 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16564 for ac_func in isinfl
16566 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16567 echo "configure:16568: checking for $ac_func" >&5
16568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16569 echo $ac_n "(cached) $ac_c" 1>&6
16571 cat > conftest.$ac_ext <<EOF
16572 #line 16573 "configure"
16573 #include "confdefs.h"
16574 /* System header to define __stub macros and hopefully few prototypes,
16575 which can conflict with char $ac_func(); below. */
16576 #include <assert.h>
16577 /* Override any gcc2 internal prototype to avoid an error. */
16578 /* We use char because int might match the return type of a gcc2
16579 builtin and then its argument prototype would still apply. */
16584 /* The GNU C library defines this for functions which it implements
16585 to always fail with ENOSYS. Some functions are actually named
16586 something starting with __ and the normal name is an alias. */
16587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16595 if { (eval echo configure:16596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16597 eval "ac_cv_func_$ac_func=yes"
16599 echo "configure: failed program was:" >&5
16600 cat conftest.$ac_ext >&5
16602 eval "ac_cv_func_$ac_func=no"
16607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16608 echo "$ac_t""yes" 1>&6
16609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16610 cat >> confdefs.h <<EOF
16611 #define $ac_tr_func 1
16615 echo "$ac_t""no" 1>&6
16621 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16622 echo "configure:16623: checking for _isinfl declaration" >&5
16623 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16624 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16625 echo $ac_n "(cached) $ac_c" 1>&6
16630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16631 ac_cpp='$CXXCPP $CPPFLAGS'
16632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16634 cross_compiling=$ac_cv_prog_cxx_cross
16636 cat > conftest.$ac_ext <<EOF
16637 #line 16638 "configure"
16638 #include "confdefs.h"
16640 #ifdef HAVE_IEEEFP_H
16641 #include <ieeefp.h>
16648 if { (eval echo configure:16649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16650 glibcpp_cv_func__isinfl_use=yes
16652 echo "configure: failed program was:" >&5
16653 cat conftest.$ac_ext >&5
16655 glibcpp_cv_func__isinfl_use=no
16659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16660 ac_cpp='$CPP $CPPFLAGS'
16661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16663 cross_compiling=$ac_cv_prog_cc_cross
16669 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16671 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16672 for ac_func in _isinfl
16674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16675 echo "configure:16676: checking for $ac_func" >&5
16676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16677 echo $ac_n "(cached) $ac_c" 1>&6
16679 cat > conftest.$ac_ext <<EOF
16680 #line 16681 "configure"
16681 #include "confdefs.h"
16682 /* System header to define __stub macros and hopefully few prototypes,
16683 which can conflict with char $ac_func(); below. */
16684 #include <assert.h>
16685 /* Override any gcc2 internal prototype to avoid an error. */
16686 /* We use char because int might match the return type of a gcc2
16687 builtin and then its argument prototype would still apply. */
16692 /* The GNU C library defines this for functions which it implements
16693 to always fail with ENOSYS. Some functions are actually named
16694 something starting with __ and the normal name is an alias. */
16695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16703 if { (eval echo configure:16704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16705 eval "ac_cv_func_$ac_func=yes"
16707 echo "configure: failed program was:" >&5
16708 cat conftest.$ac_ext >&5
16710 eval "ac_cv_func_$ac_func=no"
16715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16716 echo "$ac_t""yes" 1>&6
16717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16718 cat >> confdefs.h <<EOF
16719 #define $ac_tr_func 1
16723 echo "$ac_t""no" 1>&6
16732 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16733 echo "configure:16734: checking for copysignl declaration" >&5
16734 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16735 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16736 echo $ac_n "(cached) $ac_c" 1>&6
16741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16742 ac_cpp='$CXXCPP $CPPFLAGS'
16743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16745 cross_compiling=$ac_cv_prog_cxx_cross
16747 cat > conftest.$ac_ext <<EOF
16748 #line 16749 "configure"
16749 #include "confdefs.h"
16755 if { (eval echo configure:16756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16757 glibcpp_cv_func_copysignl_use=yes
16759 echo "configure: failed program was:" >&5
16760 cat conftest.$ac_ext >&5
16762 glibcpp_cv_func_copysignl_use=no
16766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16767 ac_cpp='$CPP $CPPFLAGS'
16768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16770 cross_compiling=$ac_cv_prog_cc_cross
16776 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16778 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16779 for ac_func in copysignl
16781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16782 echo "configure:16783: checking for $ac_func" >&5
16783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16784 echo $ac_n "(cached) $ac_c" 1>&6
16786 cat > conftest.$ac_ext <<EOF
16787 #line 16788 "configure"
16788 #include "confdefs.h"
16789 /* System header to define __stub macros and hopefully few prototypes,
16790 which can conflict with char $ac_func(); below. */
16791 #include <assert.h>
16792 /* Override any gcc2 internal prototype to avoid an error. */
16793 /* We use char because int might match the return type of a gcc2
16794 builtin and then its argument prototype would still apply. */
16799 /* The GNU C library defines this for functions which it implements
16800 to always fail with ENOSYS. Some functions are actually named
16801 something starting with __ and the normal name is an alias. */
16802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16810 if { (eval echo configure:16811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16812 eval "ac_cv_func_$ac_func=yes"
16814 echo "configure: failed program was:" >&5
16815 cat conftest.$ac_ext >&5
16817 eval "ac_cv_func_$ac_func=no"
16822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16823 echo "$ac_t""yes" 1>&6
16824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16825 cat >> confdefs.h <<EOF
16826 #define $ac_tr_func 1
16830 echo "$ac_t""no" 1>&6
16836 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16837 echo "configure:16838: checking for _copysignl declaration" >&5
16838 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16839 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16840 echo $ac_n "(cached) $ac_c" 1>&6
16845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16846 ac_cpp='$CXXCPP $CPPFLAGS'
16847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16849 cross_compiling=$ac_cv_prog_cxx_cross
16851 cat > conftest.$ac_ext <<EOF
16852 #line 16853 "configure"
16853 #include "confdefs.h"
16859 if { (eval echo configure:16860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16861 glibcpp_cv_func__copysignl_use=yes
16863 echo "configure: failed program was:" >&5
16864 cat conftest.$ac_ext >&5
16866 glibcpp_cv_func__copysignl_use=no
16870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16871 ac_cpp='$CPP $CPPFLAGS'
16872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16874 cross_compiling=$ac_cv_prog_cc_cross
16880 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16882 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16883 for ac_func in _copysignl
16885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16886 echo "configure:16887: checking for $ac_func" >&5
16887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16888 echo $ac_n "(cached) $ac_c" 1>&6
16890 cat > conftest.$ac_ext <<EOF
16891 #line 16892 "configure"
16892 #include "confdefs.h"
16893 /* System header to define __stub macros and hopefully few prototypes,
16894 which can conflict with char $ac_func(); below. */
16895 #include <assert.h>
16896 /* Override any gcc2 internal prototype to avoid an error. */
16897 /* We use char because int might match the return type of a gcc2
16898 builtin and then its argument prototype would still apply. */
16903 /* The GNU C library defines this for functions which it implements
16904 to always fail with ENOSYS. Some functions are actually named
16905 something starting with __ and the normal name is an alias. */
16906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16914 if { (eval echo configure:16915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16916 eval "ac_cv_func_$ac_func=yes"
16918 echo "configure: failed program was:" >&5
16919 cat conftest.$ac_ext >&5
16921 eval "ac_cv_func_$ac_func=no"
16926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16927 echo "$ac_t""yes" 1>&6
16928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16929 cat >> confdefs.h <<EOF
16930 #define $ac_tr_func 1
16934 echo "$ac_t""no" 1>&6
16943 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16944 echo "configure:16945: checking for atan2l declaration" >&5
16945 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16946 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16947 echo $ac_n "(cached) $ac_c" 1>&6
16952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp='$CXXCPP $CPPFLAGS'
16954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling=$ac_cv_prog_cxx_cross
16958 cat > conftest.$ac_ext <<EOF
16959 #line 16960 "configure"
16960 #include "confdefs.h"
16966 if { (eval echo configure:16967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16968 glibcpp_cv_func_atan2l_use=yes
16970 echo "configure: failed program was:" >&5
16971 cat conftest.$ac_ext >&5
16973 glibcpp_cv_func_atan2l_use=no
16977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16978 ac_cpp='$CPP $CPPFLAGS'
16979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16981 cross_compiling=$ac_cv_prog_cc_cross
16987 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16989 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16990 for ac_func in atan2l
16992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16993 echo "configure:16994: checking for $ac_func" >&5
16994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16995 echo $ac_n "(cached) $ac_c" 1>&6
16997 cat > conftest.$ac_ext <<EOF
16998 #line 16999 "configure"
16999 #include "confdefs.h"
17000 /* System header to define __stub macros and hopefully few prototypes,
17001 which can conflict with char $ac_func(); below. */
17002 #include <assert.h>
17003 /* Override any gcc2 internal prototype to avoid an error. */
17004 /* We use char because int might match the return type of a gcc2
17005 builtin and then its argument prototype would still apply. */
17010 /* The GNU C library defines this for functions which it implements
17011 to always fail with ENOSYS. Some functions are actually named
17012 something starting with __ and the normal name is an alias. */
17013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17021 if { (eval echo configure:17022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17023 eval "ac_cv_func_$ac_func=yes"
17025 echo "configure: failed program was:" >&5
17026 cat conftest.$ac_ext >&5
17028 eval "ac_cv_func_$ac_func=no"
17033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17034 echo "$ac_t""yes" 1>&6
17035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17036 cat >> confdefs.h <<EOF
17037 #define $ac_tr_func 1
17041 echo "$ac_t""no" 1>&6
17047 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17048 echo "configure:17049: checking for _atan2l declaration" >&5
17049 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17050 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17051 echo $ac_n "(cached) $ac_c" 1>&6
17056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17057 ac_cpp='$CXXCPP $CPPFLAGS'
17058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17060 cross_compiling=$ac_cv_prog_cxx_cross
17062 cat > conftest.$ac_ext <<EOF
17063 #line 17064 "configure"
17064 #include "confdefs.h"
17070 if { (eval echo configure:17071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17072 glibcpp_cv_func__atan2l_use=yes
17074 echo "configure: failed program was:" >&5
17075 cat conftest.$ac_ext >&5
17077 glibcpp_cv_func__atan2l_use=no
17081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17085 cross_compiling=$ac_cv_prog_cc_cross
17091 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17093 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17094 for ac_func in _atan2l
17096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17097 echo "configure:17098: checking for $ac_func" >&5
17098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17099 echo $ac_n "(cached) $ac_c" 1>&6
17101 cat > conftest.$ac_ext <<EOF
17102 #line 17103 "configure"
17103 #include "confdefs.h"
17104 /* System header to define __stub macros and hopefully few prototypes,
17105 which can conflict with char $ac_func(); below. */
17106 #include <assert.h>
17107 /* Override any gcc2 internal prototype to avoid an error. */
17108 /* We use char because int might match the return type of a gcc2
17109 builtin and then its argument prototype would still apply. */
17114 /* The GNU C library defines this for functions which it implements
17115 to always fail with ENOSYS. Some functions are actually named
17116 something starting with __ and the normal name is an alias. */
17117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17125 if { (eval echo configure:17126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17127 eval "ac_cv_func_$ac_func=yes"
17129 echo "configure: failed program was:" >&5
17130 cat conftest.$ac_ext >&5
17132 eval "ac_cv_func_$ac_func=no"
17137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17138 echo "$ac_t""yes" 1>&6
17139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17140 cat >> confdefs.h <<EOF
17141 #define $ac_tr_func 1
17145 echo "$ac_t""no" 1>&6
17154 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17155 echo "configure:17156: checking for expl declaration" >&5
17156 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17157 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17158 echo $ac_n "(cached) $ac_c" 1>&6
17163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17164 ac_cpp='$CXXCPP $CPPFLAGS'
17165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17167 cross_compiling=$ac_cv_prog_cxx_cross
17169 cat > conftest.$ac_ext <<EOF
17170 #line 17171 "configure"
17171 #include "confdefs.h"
17173 #ifdef HAVE_IEEEFP_H
17174 #include <ieeefp.h>
17181 if { (eval echo configure:17182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17183 glibcpp_cv_func_expl_use=yes
17185 echo "configure: failed program was:" >&5
17186 cat conftest.$ac_ext >&5
17188 glibcpp_cv_func_expl_use=no
17192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17193 ac_cpp='$CPP $CPPFLAGS'
17194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17196 cross_compiling=$ac_cv_prog_cc_cross
17202 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17204 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17205 for ac_func in expl
17207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17208 echo "configure:17209: checking for $ac_func" >&5
17209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17210 echo $ac_n "(cached) $ac_c" 1>&6
17212 cat > conftest.$ac_ext <<EOF
17213 #line 17214 "configure"
17214 #include "confdefs.h"
17215 /* System header to define __stub macros and hopefully few prototypes,
17216 which can conflict with char $ac_func(); below. */
17217 #include <assert.h>
17218 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17225 /* The GNU C library defines this for functions which it implements
17226 to always fail with ENOSYS. Some functions are actually named
17227 something starting with __ and the normal name is an alias. */
17228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17236 if { (eval echo configure:17237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17238 eval "ac_cv_func_$ac_func=yes"
17240 echo "configure: failed program was:" >&5
17241 cat conftest.$ac_ext >&5
17243 eval "ac_cv_func_$ac_func=no"
17248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17249 echo "$ac_t""yes" 1>&6
17250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17251 cat >> confdefs.h <<EOF
17252 #define $ac_tr_func 1
17256 echo "$ac_t""no" 1>&6
17262 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17263 echo "configure:17264: checking for _expl declaration" >&5
17264 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17265 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17266 echo $ac_n "(cached) $ac_c" 1>&6
17271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17272 ac_cpp='$CXXCPP $CPPFLAGS'
17273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17275 cross_compiling=$ac_cv_prog_cxx_cross
17277 cat > conftest.$ac_ext <<EOF
17278 #line 17279 "configure"
17279 #include "confdefs.h"
17281 #ifdef HAVE_IEEEFP_H
17282 #include <ieeefp.h>
17289 if { (eval echo configure:17290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17291 glibcpp_cv_func__expl_use=yes
17293 echo "configure: failed program was:" >&5
17294 cat conftest.$ac_ext >&5
17296 glibcpp_cv_func__expl_use=no
17300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17301 ac_cpp='$CPP $CPPFLAGS'
17302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17304 cross_compiling=$ac_cv_prog_cc_cross
17310 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17312 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17313 for ac_func in _expl
17315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17316 echo "configure:17317: checking for $ac_func" >&5
17317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17318 echo $ac_n "(cached) $ac_c" 1>&6
17320 cat > conftest.$ac_ext <<EOF
17321 #line 17322 "configure"
17322 #include "confdefs.h"
17323 /* System header to define __stub macros and hopefully few prototypes,
17324 which can conflict with char $ac_func(); below. */
17325 #include <assert.h>
17326 /* Override any gcc2 internal prototype to avoid an error. */
17327 /* We use char because int might match the return type of a gcc2
17328 builtin and then its argument prototype would still apply. */
17333 /* The GNU C library defines this for functions which it implements
17334 to always fail with ENOSYS. Some functions are actually named
17335 something starting with __ and the normal name is an alias. */
17336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17344 if { (eval echo configure:17345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17346 eval "ac_cv_func_$ac_func=yes"
17348 echo "configure: failed program was:" >&5
17349 cat conftest.$ac_ext >&5
17351 eval "ac_cv_func_$ac_func=no"
17356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17357 echo "$ac_t""yes" 1>&6
17358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17359 cat >> confdefs.h <<EOF
17360 #define $ac_tr_func 1
17364 echo "$ac_t""no" 1>&6
17373 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17374 echo "configure:17375: checking for fabsl declaration" >&5
17375 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17376 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17377 echo $ac_n "(cached) $ac_c" 1>&6
17382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17383 ac_cpp='$CXXCPP $CPPFLAGS'
17384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17386 cross_compiling=$ac_cv_prog_cxx_cross
17388 cat > conftest.$ac_ext <<EOF
17389 #line 17390 "configure"
17390 #include "confdefs.h"
17392 #ifdef HAVE_IEEEFP_H
17393 #include <ieeefp.h>
17400 if { (eval echo configure:17401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17402 glibcpp_cv_func_fabsl_use=yes
17404 echo "configure: failed program was:" >&5
17405 cat conftest.$ac_ext >&5
17407 glibcpp_cv_func_fabsl_use=no
17411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17412 ac_cpp='$CPP $CPPFLAGS'
17413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17415 cross_compiling=$ac_cv_prog_cc_cross
17421 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17423 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17424 for ac_func in fabsl
17426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17427 echo "configure:17428: checking for $ac_func" >&5
17428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17429 echo $ac_n "(cached) $ac_c" 1>&6
17431 cat > conftest.$ac_ext <<EOF
17432 #line 17433 "configure"
17433 #include "confdefs.h"
17434 /* System header to define __stub macros and hopefully few prototypes,
17435 which can conflict with char $ac_func(); below. */
17436 #include <assert.h>
17437 /* Override any gcc2 internal prototype to avoid an error. */
17438 /* We use char because int might match the return type of a gcc2
17439 builtin and then its argument prototype would still apply. */
17444 /* The GNU C library defines this for functions which it implements
17445 to always fail with ENOSYS. Some functions are actually named
17446 something starting with __ and the normal name is an alias. */
17447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17455 if { (eval echo configure:17456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17457 eval "ac_cv_func_$ac_func=yes"
17459 echo "configure: failed program was:" >&5
17460 cat conftest.$ac_ext >&5
17462 eval "ac_cv_func_$ac_func=no"
17467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17468 echo "$ac_t""yes" 1>&6
17469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17470 cat >> confdefs.h <<EOF
17471 #define $ac_tr_func 1
17475 echo "$ac_t""no" 1>&6
17481 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17482 echo "configure:17483: checking for _fabsl declaration" >&5
17483 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17484 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17485 echo $ac_n "(cached) $ac_c" 1>&6
17490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17491 ac_cpp='$CXXCPP $CPPFLAGS'
17492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17494 cross_compiling=$ac_cv_prog_cxx_cross
17496 cat > conftest.$ac_ext <<EOF
17497 #line 17498 "configure"
17498 #include "confdefs.h"
17500 #ifdef HAVE_IEEEFP_H
17501 #include <ieeefp.h>
17508 if { (eval echo configure:17509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17510 glibcpp_cv_func__fabsl_use=yes
17512 echo "configure: failed program was:" >&5
17513 cat conftest.$ac_ext >&5
17515 glibcpp_cv_func__fabsl_use=no
17519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17520 ac_cpp='$CPP $CPPFLAGS'
17521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17523 cross_compiling=$ac_cv_prog_cc_cross
17529 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17531 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17532 for ac_func in _fabsl
17534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17535 echo "configure:17536: checking for $ac_func" >&5
17536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17537 echo $ac_n "(cached) $ac_c" 1>&6
17539 cat > conftest.$ac_ext <<EOF
17540 #line 17541 "configure"
17541 #include "confdefs.h"
17542 /* System header to define __stub macros and hopefully few prototypes,
17543 which can conflict with char $ac_func(); below. */
17544 #include <assert.h>
17545 /* Override any gcc2 internal prototype to avoid an error. */
17546 /* We use char because int might match the return type of a gcc2
17547 builtin and then its argument prototype would still apply. */
17552 /* The GNU C library defines this for functions which it implements
17553 to always fail with ENOSYS. Some functions are actually named
17554 something starting with __ and the normal name is an alias. */
17555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17563 if { (eval echo configure:17564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17565 eval "ac_cv_func_$ac_func=yes"
17567 echo "configure: failed program was:" >&5
17568 cat conftest.$ac_ext >&5
17570 eval "ac_cv_func_$ac_func=no"
17575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17576 echo "$ac_t""yes" 1>&6
17577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17578 cat >> confdefs.h <<EOF
17579 #define $ac_tr_func 1
17583 echo "$ac_t""no" 1>&6
17592 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17593 echo "configure:17594: checking for fmodl declaration" >&5
17594 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17595 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17596 echo $ac_n "(cached) $ac_c" 1>&6
17601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17605 cross_compiling=$ac_cv_prog_cxx_cross
17607 cat > conftest.$ac_ext <<EOF
17608 #line 17609 "configure"
17609 #include "confdefs.h"
17615 if { (eval echo configure:17616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17617 glibcpp_cv_func_fmodl_use=yes
17619 echo "configure: failed program was:" >&5
17620 cat conftest.$ac_ext >&5
17622 glibcpp_cv_func_fmodl_use=no
17626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17627 ac_cpp='$CPP $CPPFLAGS'
17628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17630 cross_compiling=$ac_cv_prog_cc_cross
17636 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17638 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17639 for ac_func in fmodl
17641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17642 echo "configure:17643: checking for $ac_func" >&5
17643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17644 echo $ac_n "(cached) $ac_c" 1>&6
17646 cat > conftest.$ac_ext <<EOF
17647 #line 17648 "configure"
17648 #include "confdefs.h"
17649 /* System header to define __stub macros and hopefully few prototypes,
17650 which can conflict with char $ac_func(); below. */
17651 #include <assert.h>
17652 /* Override any gcc2 internal prototype to avoid an error. */
17653 /* We use char because int might match the return type of a gcc2
17654 builtin and then its argument prototype would still apply. */
17659 /* The GNU C library defines this for functions which it implements
17660 to always fail with ENOSYS. Some functions are actually named
17661 something starting with __ and the normal name is an alias. */
17662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17670 if { (eval echo configure:17671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17672 eval "ac_cv_func_$ac_func=yes"
17674 echo "configure: failed program was:" >&5
17675 cat conftest.$ac_ext >&5
17677 eval "ac_cv_func_$ac_func=no"
17682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17683 echo "$ac_t""yes" 1>&6
17684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17685 cat >> confdefs.h <<EOF
17686 #define $ac_tr_func 1
17690 echo "$ac_t""no" 1>&6
17696 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17697 echo "configure:17698: checking for _fmodl declaration" >&5
17698 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17699 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17700 echo $ac_n "(cached) $ac_c" 1>&6
17705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17706 ac_cpp='$CXXCPP $CPPFLAGS'
17707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17709 cross_compiling=$ac_cv_prog_cxx_cross
17711 cat > conftest.$ac_ext <<EOF
17712 #line 17713 "configure"
17713 #include "confdefs.h"
17719 if { (eval echo configure:17720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17721 glibcpp_cv_func__fmodl_use=yes
17723 echo "configure: failed program was:" >&5
17724 cat conftest.$ac_ext >&5
17726 glibcpp_cv_func__fmodl_use=no
17730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17731 ac_cpp='$CPP $CPPFLAGS'
17732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17734 cross_compiling=$ac_cv_prog_cc_cross
17740 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17742 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17743 for ac_func in _fmodl
17745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17746 echo "configure:17747: checking for $ac_func" >&5
17747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17748 echo $ac_n "(cached) $ac_c" 1>&6
17750 cat > conftest.$ac_ext <<EOF
17751 #line 17752 "configure"
17752 #include "confdefs.h"
17753 /* System header to define __stub macros and hopefully few prototypes,
17754 which can conflict with char $ac_func(); below. */
17755 #include <assert.h>
17756 /* Override any gcc2 internal prototype to avoid an error. */
17757 /* We use char because int might match the return type of a gcc2
17758 builtin and then its argument prototype would still apply. */
17763 /* The GNU C library defines this for functions which it implements
17764 to always fail with ENOSYS. Some functions are actually named
17765 something starting with __ and the normal name is an alias. */
17766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17774 if { (eval echo configure:17775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17776 eval "ac_cv_func_$ac_func=yes"
17778 echo "configure: failed program was:" >&5
17779 cat conftest.$ac_ext >&5
17781 eval "ac_cv_func_$ac_func=no"
17786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17787 echo "$ac_t""yes" 1>&6
17788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17789 cat >> confdefs.h <<EOF
17790 #define $ac_tr_func 1
17794 echo "$ac_t""no" 1>&6
17803 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17804 echo "configure:17805: checking for frexpl declaration" >&5
17805 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17806 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17807 echo $ac_n "(cached) $ac_c" 1>&6
17812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17813 ac_cpp='$CXXCPP $CPPFLAGS'
17814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17816 cross_compiling=$ac_cv_prog_cxx_cross
17818 cat > conftest.$ac_ext <<EOF
17819 #line 17820 "configure"
17820 #include "confdefs.h"
17826 if { (eval echo configure:17827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17828 glibcpp_cv_func_frexpl_use=yes
17830 echo "configure: failed program was:" >&5
17831 cat conftest.$ac_ext >&5
17833 glibcpp_cv_func_frexpl_use=no
17837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17838 ac_cpp='$CPP $CPPFLAGS'
17839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17841 cross_compiling=$ac_cv_prog_cc_cross
17847 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17849 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17850 for ac_func in frexpl
17852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17853 echo "configure:17854: checking for $ac_func" >&5
17854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17855 echo $ac_n "(cached) $ac_c" 1>&6
17857 cat > conftest.$ac_ext <<EOF
17858 #line 17859 "configure"
17859 #include "confdefs.h"
17860 /* System header to define __stub macros and hopefully few prototypes,
17861 which can conflict with char $ac_func(); below. */
17862 #include <assert.h>
17863 /* Override any gcc2 internal prototype to avoid an error. */
17864 /* We use char because int might match the return type of a gcc2
17865 builtin and then its argument prototype would still apply. */
17870 /* The GNU C library defines this for functions which it implements
17871 to always fail with ENOSYS. Some functions are actually named
17872 something starting with __ and the normal name is an alias. */
17873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17881 if { (eval echo configure:17882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17883 eval "ac_cv_func_$ac_func=yes"
17885 echo "configure: failed program was:" >&5
17886 cat conftest.$ac_ext >&5
17888 eval "ac_cv_func_$ac_func=no"
17893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17894 echo "$ac_t""yes" 1>&6
17895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17896 cat >> confdefs.h <<EOF
17897 #define $ac_tr_func 1
17901 echo "$ac_t""no" 1>&6
17907 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17908 echo "configure:17909: checking for _frexpl declaration" >&5
17909 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17910 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17911 echo $ac_n "(cached) $ac_c" 1>&6
17916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17917 ac_cpp='$CXXCPP $CPPFLAGS'
17918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17920 cross_compiling=$ac_cv_prog_cxx_cross
17922 cat > conftest.$ac_ext <<EOF
17923 #line 17924 "configure"
17924 #include "confdefs.h"
17930 if { (eval echo configure:17931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17932 glibcpp_cv_func__frexpl_use=yes
17934 echo "configure: failed program was:" >&5
17935 cat conftest.$ac_ext >&5
17937 glibcpp_cv_func__frexpl_use=no
17941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17945 cross_compiling=$ac_cv_prog_cc_cross
17951 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17953 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17954 for ac_func in _frexpl
17956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17957 echo "configure:17958: checking for $ac_func" >&5
17958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17959 echo $ac_n "(cached) $ac_c" 1>&6
17961 cat > conftest.$ac_ext <<EOF
17962 #line 17963 "configure"
17963 #include "confdefs.h"
17964 /* System header to define __stub macros and hopefully few prototypes,
17965 which can conflict with char $ac_func(); below. */
17966 #include <assert.h>
17967 /* Override any gcc2 internal prototype to avoid an error. */
17968 /* We use char because int might match the return type of a gcc2
17969 builtin and then its argument prototype would still apply. */
17974 /* The GNU C library defines this for functions which it implements
17975 to always fail with ENOSYS. Some functions are actually named
17976 something starting with __ and the normal name is an alias. */
17977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17985 if { (eval echo configure:17986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17987 eval "ac_cv_func_$ac_func=yes"
17989 echo "configure: failed program was:" >&5
17990 cat conftest.$ac_ext >&5
17992 eval "ac_cv_func_$ac_func=no"
17997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17998 echo "$ac_t""yes" 1>&6
17999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18000 cat >> confdefs.h <<EOF
18001 #define $ac_tr_func 1
18005 echo "$ac_t""no" 1>&6
18014 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18015 echo "configure:18016: checking for hypotl declaration" >&5
18016 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18017 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18018 echo $ac_n "(cached) $ac_c" 1>&6
18023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18027 cross_compiling=$ac_cv_prog_cxx_cross
18029 cat > conftest.$ac_ext <<EOF
18030 #line 18031 "configure"
18031 #include "confdefs.h"
18037 if { (eval echo configure:18038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18039 glibcpp_cv_func_hypotl_use=yes
18041 echo "configure: failed program was:" >&5
18042 cat conftest.$ac_ext >&5
18044 glibcpp_cv_func_hypotl_use=no
18048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18049 ac_cpp='$CPP $CPPFLAGS'
18050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18052 cross_compiling=$ac_cv_prog_cc_cross
18058 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18060 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18061 for ac_func in hypotl
18063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18064 echo "configure:18065: checking for $ac_func" >&5
18065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18066 echo $ac_n "(cached) $ac_c" 1>&6
18068 cat > conftest.$ac_ext <<EOF
18069 #line 18070 "configure"
18070 #include "confdefs.h"
18071 /* System header to define __stub macros and hopefully few prototypes,
18072 which can conflict with char $ac_func(); below. */
18073 #include <assert.h>
18074 /* Override any gcc2 internal prototype to avoid an error. */
18075 /* We use char because int might match the return type of a gcc2
18076 builtin and then its argument prototype would still apply. */
18081 /* The GNU C library defines this for functions which it implements
18082 to always fail with ENOSYS. Some functions are actually named
18083 something starting with __ and the normal name is an alias. */
18084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18092 if { (eval echo configure:18093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18094 eval "ac_cv_func_$ac_func=yes"
18096 echo "configure: failed program was:" >&5
18097 cat conftest.$ac_ext >&5
18099 eval "ac_cv_func_$ac_func=no"
18104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18105 echo "$ac_t""yes" 1>&6
18106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18107 cat >> confdefs.h <<EOF
18108 #define $ac_tr_func 1
18112 echo "$ac_t""no" 1>&6
18118 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18119 echo "configure:18120: checking for _hypotl declaration" >&5
18120 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18121 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18122 echo $ac_n "(cached) $ac_c" 1>&6
18127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18128 ac_cpp='$CXXCPP $CPPFLAGS'
18129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18131 cross_compiling=$ac_cv_prog_cxx_cross
18133 cat > conftest.$ac_ext <<EOF
18134 #line 18135 "configure"
18135 #include "confdefs.h"
18141 if { (eval echo configure:18142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18143 glibcpp_cv_func__hypotl_use=yes
18145 echo "configure: failed program was:" >&5
18146 cat conftest.$ac_ext >&5
18148 glibcpp_cv_func__hypotl_use=no
18152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18153 ac_cpp='$CPP $CPPFLAGS'
18154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18156 cross_compiling=$ac_cv_prog_cc_cross
18162 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18164 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18165 for ac_func in _hypotl
18167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18168 echo "configure:18169: checking for $ac_func" >&5
18169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18170 echo $ac_n "(cached) $ac_c" 1>&6
18172 cat > conftest.$ac_ext <<EOF
18173 #line 18174 "configure"
18174 #include "confdefs.h"
18175 /* System header to define __stub macros and hopefully few prototypes,
18176 which can conflict with char $ac_func(); below. */
18177 #include <assert.h>
18178 /* Override any gcc2 internal prototype to avoid an error. */
18179 /* We use char because int might match the return type of a gcc2
18180 builtin and then its argument prototype would still apply. */
18185 /* The GNU C library defines this for functions which it implements
18186 to always fail with ENOSYS. Some functions are actually named
18187 something starting with __ and the normal name is an alias. */
18188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18196 if { (eval echo configure:18197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18198 eval "ac_cv_func_$ac_func=yes"
18200 echo "configure: failed program was:" >&5
18201 cat conftest.$ac_ext >&5
18203 eval "ac_cv_func_$ac_func=no"
18208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18209 echo "$ac_t""yes" 1>&6
18210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18211 cat >> confdefs.h <<EOF
18212 #define $ac_tr_func 1
18216 echo "$ac_t""no" 1>&6
18225 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18226 echo "configure:18227: checking for ldexpl declaration" >&5
18227 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18228 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18229 echo $ac_n "(cached) $ac_c" 1>&6
18234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18235 ac_cpp='$CXXCPP $CPPFLAGS'
18236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18238 cross_compiling=$ac_cv_prog_cxx_cross
18240 cat > conftest.$ac_ext <<EOF
18241 #line 18242 "configure"
18242 #include "confdefs.h"
18248 if { (eval echo configure:18249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18250 glibcpp_cv_func_ldexpl_use=yes
18252 echo "configure: failed program was:" >&5
18253 cat conftest.$ac_ext >&5
18255 glibcpp_cv_func_ldexpl_use=no
18259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18260 ac_cpp='$CPP $CPPFLAGS'
18261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18263 cross_compiling=$ac_cv_prog_cc_cross
18269 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18271 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18272 for ac_func in ldexpl
18274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18275 echo "configure:18276: checking for $ac_func" >&5
18276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18277 echo $ac_n "(cached) $ac_c" 1>&6
18279 cat > conftest.$ac_ext <<EOF
18280 #line 18281 "configure"
18281 #include "confdefs.h"
18282 /* System header to define __stub macros and hopefully few prototypes,
18283 which can conflict with char $ac_func(); below. */
18284 #include <assert.h>
18285 /* Override any gcc2 internal prototype to avoid an error. */
18286 /* We use char because int might match the return type of a gcc2
18287 builtin and then its argument prototype would still apply. */
18292 /* The GNU C library defines this for functions which it implements
18293 to always fail with ENOSYS. Some functions are actually named
18294 something starting with __ and the normal name is an alias. */
18295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18303 if { (eval echo configure:18304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18305 eval "ac_cv_func_$ac_func=yes"
18307 echo "configure: failed program was:" >&5
18308 cat conftest.$ac_ext >&5
18310 eval "ac_cv_func_$ac_func=no"
18315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18316 echo "$ac_t""yes" 1>&6
18317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18318 cat >> confdefs.h <<EOF
18319 #define $ac_tr_func 1
18323 echo "$ac_t""no" 1>&6
18329 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18330 echo "configure:18331: checking for _ldexpl declaration" >&5
18331 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18332 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18333 echo $ac_n "(cached) $ac_c" 1>&6
18338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18339 ac_cpp='$CXXCPP $CPPFLAGS'
18340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18342 cross_compiling=$ac_cv_prog_cxx_cross
18344 cat > conftest.$ac_ext <<EOF
18345 #line 18346 "configure"
18346 #include "confdefs.h"
18352 if { (eval echo configure:18353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18354 glibcpp_cv_func__ldexpl_use=yes
18356 echo "configure: failed program was:" >&5
18357 cat conftest.$ac_ext >&5
18359 glibcpp_cv_func__ldexpl_use=no
18363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18364 ac_cpp='$CPP $CPPFLAGS'
18365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18367 cross_compiling=$ac_cv_prog_cc_cross
18373 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18375 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18376 for ac_func in _ldexpl
18378 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18379 echo "configure:18380: checking for $ac_func" >&5
18380 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18381 echo $ac_n "(cached) $ac_c" 1>&6
18383 cat > conftest.$ac_ext <<EOF
18384 #line 18385 "configure"
18385 #include "confdefs.h"
18386 /* System header to define __stub macros and hopefully few prototypes,
18387 which can conflict with char $ac_func(); below. */
18388 #include <assert.h>
18389 /* Override any gcc2 internal prototype to avoid an error. */
18390 /* We use char because int might match the return type of a gcc2
18391 builtin and then its argument prototype would still apply. */
18396 /* The GNU C library defines this for functions which it implements
18397 to always fail with ENOSYS. Some functions are actually named
18398 something starting with __ and the normal name is an alias. */
18399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18407 if { (eval echo configure:18408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18409 eval "ac_cv_func_$ac_func=yes"
18411 echo "configure: failed program was:" >&5
18412 cat conftest.$ac_ext >&5
18414 eval "ac_cv_func_$ac_func=no"
18419 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18420 echo "$ac_t""yes" 1>&6
18421 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18422 cat >> confdefs.h <<EOF
18423 #define $ac_tr_func 1
18427 echo "$ac_t""no" 1>&6
18436 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18437 echo "configure:18438: checking for logl declaration" >&5
18438 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18439 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18440 echo $ac_n "(cached) $ac_c" 1>&6
18445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18446 ac_cpp='$CXXCPP $CPPFLAGS'
18447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18449 cross_compiling=$ac_cv_prog_cxx_cross
18451 cat > conftest.$ac_ext <<EOF
18452 #line 18453 "configure"
18453 #include "confdefs.h"
18455 #ifdef HAVE_IEEEFP_H
18456 #include <ieeefp.h>
18463 if { (eval echo configure:18464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18465 glibcpp_cv_func_logl_use=yes
18467 echo "configure: failed program was:" >&5
18468 cat conftest.$ac_ext >&5
18470 glibcpp_cv_func_logl_use=no
18474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18475 ac_cpp='$CPP $CPPFLAGS'
18476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18478 cross_compiling=$ac_cv_prog_cc_cross
18484 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18486 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18487 for ac_func in logl
18489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18490 echo "configure:18491: checking for $ac_func" >&5
18491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18492 echo $ac_n "(cached) $ac_c" 1>&6
18494 cat > conftest.$ac_ext <<EOF
18495 #line 18496 "configure"
18496 #include "confdefs.h"
18497 /* System header to define __stub macros and hopefully few prototypes,
18498 which can conflict with char $ac_func(); below. */
18499 #include <assert.h>
18500 /* Override any gcc2 internal prototype to avoid an error. */
18501 /* We use char because int might match the return type of a gcc2
18502 builtin and then its argument prototype would still apply. */
18507 /* The GNU C library defines this for functions which it implements
18508 to always fail with ENOSYS. Some functions are actually named
18509 something starting with __ and the normal name is an alias. */
18510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18518 if { (eval echo configure:18519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18520 eval "ac_cv_func_$ac_func=yes"
18522 echo "configure: failed program was:" >&5
18523 cat conftest.$ac_ext >&5
18525 eval "ac_cv_func_$ac_func=no"
18530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18531 echo "$ac_t""yes" 1>&6
18532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18533 cat >> confdefs.h <<EOF
18534 #define $ac_tr_func 1
18538 echo "$ac_t""no" 1>&6
18544 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18545 echo "configure:18546: checking for _logl declaration" >&5
18546 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18547 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18548 echo $ac_n "(cached) $ac_c" 1>&6
18553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18554 ac_cpp='$CXXCPP $CPPFLAGS'
18555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18557 cross_compiling=$ac_cv_prog_cxx_cross
18559 cat > conftest.$ac_ext <<EOF
18560 #line 18561 "configure"
18561 #include "confdefs.h"
18563 #ifdef HAVE_IEEEFP_H
18564 #include <ieeefp.h>
18571 if { (eval echo configure:18572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18573 glibcpp_cv_func__logl_use=yes
18575 echo "configure: failed program was:" >&5
18576 cat conftest.$ac_ext >&5
18578 glibcpp_cv_func__logl_use=no
18582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18583 ac_cpp='$CPP $CPPFLAGS'
18584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18586 cross_compiling=$ac_cv_prog_cc_cross
18592 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18594 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18595 for ac_func in _logl
18597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18598 echo "configure:18599: checking for $ac_func" >&5
18599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18600 echo $ac_n "(cached) $ac_c" 1>&6
18602 cat > conftest.$ac_ext <<EOF
18603 #line 18604 "configure"
18604 #include "confdefs.h"
18605 /* System header to define __stub macros and hopefully few prototypes,
18606 which can conflict with char $ac_func(); below. */
18607 #include <assert.h>
18608 /* Override any gcc2 internal prototype to avoid an error. */
18609 /* We use char because int might match the return type of a gcc2
18610 builtin and then its argument prototype would still apply. */
18615 /* The GNU C library defines this for functions which it implements
18616 to always fail with ENOSYS. Some functions are actually named
18617 something starting with __ and the normal name is an alias. */
18618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18626 if { (eval echo configure:18627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18628 eval "ac_cv_func_$ac_func=yes"
18630 echo "configure: failed program was:" >&5
18631 cat conftest.$ac_ext >&5
18633 eval "ac_cv_func_$ac_func=no"
18638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18639 echo "$ac_t""yes" 1>&6
18640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18641 cat >> confdefs.h <<EOF
18642 #define $ac_tr_func 1
18646 echo "$ac_t""no" 1>&6
18655 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18656 echo "configure:18657: checking for log10l declaration" >&5
18657 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18658 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18659 echo $ac_n "(cached) $ac_c" 1>&6
18664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18665 ac_cpp='$CXXCPP $CPPFLAGS'
18666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18668 cross_compiling=$ac_cv_prog_cxx_cross
18670 cat > conftest.$ac_ext <<EOF
18671 #line 18672 "configure"
18672 #include "confdefs.h"
18674 #ifdef HAVE_IEEEFP_H
18675 #include <ieeefp.h>
18682 if { (eval echo configure:18683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18684 glibcpp_cv_func_log10l_use=yes
18686 echo "configure: failed program was:" >&5
18687 cat conftest.$ac_ext >&5
18689 glibcpp_cv_func_log10l_use=no
18693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18694 ac_cpp='$CPP $CPPFLAGS'
18695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18697 cross_compiling=$ac_cv_prog_cc_cross
18703 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18705 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18706 for ac_func in log10l
18708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18709 echo "configure:18710: checking for $ac_func" >&5
18710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18711 echo $ac_n "(cached) $ac_c" 1>&6
18713 cat > conftest.$ac_ext <<EOF
18714 #line 18715 "configure"
18715 #include "confdefs.h"
18716 /* System header to define __stub macros and hopefully few prototypes,
18717 which can conflict with char $ac_func(); below. */
18718 #include <assert.h>
18719 /* Override any gcc2 internal prototype to avoid an error. */
18720 /* We use char because int might match the return type of a gcc2
18721 builtin and then its argument prototype would still apply. */
18726 /* The GNU C library defines this for functions which it implements
18727 to always fail with ENOSYS. Some functions are actually named
18728 something starting with __ and the normal name is an alias. */
18729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18737 if { (eval echo configure:18738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18739 eval "ac_cv_func_$ac_func=yes"
18741 echo "configure: failed program was:" >&5
18742 cat conftest.$ac_ext >&5
18744 eval "ac_cv_func_$ac_func=no"
18749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18750 echo "$ac_t""yes" 1>&6
18751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18752 cat >> confdefs.h <<EOF
18753 #define $ac_tr_func 1
18757 echo "$ac_t""no" 1>&6
18763 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18764 echo "configure:18765: checking for _log10l declaration" >&5
18765 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18766 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18767 echo $ac_n "(cached) $ac_c" 1>&6
18772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18773 ac_cpp='$CXXCPP $CPPFLAGS'
18774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18776 cross_compiling=$ac_cv_prog_cxx_cross
18778 cat > conftest.$ac_ext <<EOF
18779 #line 18780 "configure"
18780 #include "confdefs.h"
18782 #ifdef HAVE_IEEEFP_H
18783 #include <ieeefp.h>
18790 if { (eval echo configure:18791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18792 glibcpp_cv_func__log10l_use=yes
18794 echo "configure: failed program was:" >&5
18795 cat conftest.$ac_ext >&5
18797 glibcpp_cv_func__log10l_use=no
18801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18802 ac_cpp='$CPP $CPPFLAGS'
18803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18805 cross_compiling=$ac_cv_prog_cc_cross
18811 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18813 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18814 for ac_func in _log10l
18816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18817 echo "configure:18818: checking for $ac_func" >&5
18818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18819 echo $ac_n "(cached) $ac_c" 1>&6
18821 cat > conftest.$ac_ext <<EOF
18822 #line 18823 "configure"
18823 #include "confdefs.h"
18824 /* System header to define __stub macros and hopefully few prototypes,
18825 which can conflict with char $ac_func(); below. */
18826 #include <assert.h>
18827 /* Override any gcc2 internal prototype to avoid an error. */
18828 /* We use char because int might match the return type of a gcc2
18829 builtin and then its argument prototype would still apply. */
18834 /* The GNU C library defines this for functions which it implements
18835 to always fail with ENOSYS. Some functions are actually named
18836 something starting with __ and the normal name is an alias. */
18837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18845 if { (eval echo configure:18846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18847 eval "ac_cv_func_$ac_func=yes"
18849 echo "configure: failed program was:" >&5
18850 cat conftest.$ac_ext >&5
18852 eval "ac_cv_func_$ac_func=no"
18857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18858 echo "$ac_t""yes" 1>&6
18859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18860 cat >> confdefs.h <<EOF
18861 #define $ac_tr_func 1
18865 echo "$ac_t""no" 1>&6
18874 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18875 echo "configure:18876: checking for modfl declaration" >&5
18876 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18877 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18878 echo $ac_n "(cached) $ac_c" 1>&6
18883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18884 ac_cpp='$CXXCPP $CPPFLAGS'
18885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18887 cross_compiling=$ac_cv_prog_cxx_cross
18889 cat > conftest.$ac_ext <<EOF
18890 #line 18891 "configure"
18891 #include "confdefs.h"
18897 if { (eval echo configure:18898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18899 glibcpp_cv_func_modfl_use=yes
18901 echo "configure: failed program was:" >&5
18902 cat conftest.$ac_ext >&5
18904 glibcpp_cv_func_modfl_use=no
18908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18909 ac_cpp='$CPP $CPPFLAGS'
18910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18912 cross_compiling=$ac_cv_prog_cc_cross
18918 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18920 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18921 for ac_func in modfl
18923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18924 echo "configure:18925: checking for $ac_func" >&5
18925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18926 echo $ac_n "(cached) $ac_c" 1>&6
18928 cat > conftest.$ac_ext <<EOF
18929 #line 18930 "configure"
18930 #include "confdefs.h"
18931 /* System header to define __stub macros and hopefully few prototypes,
18932 which can conflict with char $ac_func(); below. */
18933 #include <assert.h>
18934 /* Override any gcc2 internal prototype to avoid an error. */
18935 /* We use char because int might match the return type of a gcc2
18936 builtin and then its argument prototype would still apply. */
18941 /* The GNU C library defines this for functions which it implements
18942 to always fail with ENOSYS. Some functions are actually named
18943 something starting with __ and the normal name is an alias. */
18944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18952 if { (eval echo configure:18953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18954 eval "ac_cv_func_$ac_func=yes"
18956 echo "configure: failed program was:" >&5
18957 cat conftest.$ac_ext >&5
18959 eval "ac_cv_func_$ac_func=no"
18964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18965 echo "$ac_t""yes" 1>&6
18966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18967 cat >> confdefs.h <<EOF
18968 #define $ac_tr_func 1
18972 echo "$ac_t""no" 1>&6
18978 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18979 echo "configure:18980: checking for _modfl declaration" >&5
18980 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18981 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18982 echo $ac_n "(cached) $ac_c" 1>&6
18987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18988 ac_cpp='$CXXCPP $CPPFLAGS'
18989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18991 cross_compiling=$ac_cv_prog_cxx_cross
18993 cat > conftest.$ac_ext <<EOF
18994 #line 18995 "configure"
18995 #include "confdefs.h"
19001 if { (eval echo configure:19002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19003 glibcpp_cv_func__modfl_use=yes
19005 echo "configure: failed program was:" >&5
19006 cat conftest.$ac_ext >&5
19008 glibcpp_cv_func__modfl_use=no
19012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19013 ac_cpp='$CPP $CPPFLAGS'
19014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19016 cross_compiling=$ac_cv_prog_cc_cross
19022 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19024 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19025 for ac_func in _modfl
19027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19028 echo "configure:19029: checking for $ac_func" >&5
19029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19030 echo $ac_n "(cached) $ac_c" 1>&6
19032 cat > conftest.$ac_ext <<EOF
19033 #line 19034 "configure"
19034 #include "confdefs.h"
19035 /* System header to define __stub macros and hopefully few prototypes,
19036 which can conflict with char $ac_func(); below. */
19037 #include <assert.h>
19038 /* Override any gcc2 internal prototype to avoid an error. */
19039 /* We use char because int might match the return type of a gcc2
19040 builtin and then its argument prototype would still apply. */
19045 /* The GNU C library defines this for functions which it implements
19046 to always fail with ENOSYS. Some functions are actually named
19047 something starting with __ and the normal name is an alias. */
19048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19056 if { (eval echo configure:19057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19058 eval "ac_cv_func_$ac_func=yes"
19060 echo "configure: failed program was:" >&5
19061 cat conftest.$ac_ext >&5
19063 eval "ac_cv_func_$ac_func=no"
19068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19069 echo "$ac_t""yes" 1>&6
19070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19071 cat >> confdefs.h <<EOF
19072 #define $ac_tr_func 1
19076 echo "$ac_t""no" 1>&6
19085 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19086 echo "configure:19087: checking for powl declaration" >&5
19087 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19088 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19089 echo $ac_n "(cached) $ac_c" 1>&6
19094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19095 ac_cpp='$CXXCPP $CPPFLAGS'
19096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19098 cross_compiling=$ac_cv_prog_cxx_cross
19100 cat > conftest.$ac_ext <<EOF
19101 #line 19102 "configure"
19102 #include "confdefs.h"
19108 if { (eval echo configure:19109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19110 glibcpp_cv_func_powl_use=yes
19112 echo "configure: failed program was:" >&5
19113 cat conftest.$ac_ext >&5
19115 glibcpp_cv_func_powl_use=no
19119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19120 ac_cpp='$CPP $CPPFLAGS'
19121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19123 cross_compiling=$ac_cv_prog_cc_cross
19129 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19131 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19132 for ac_func in powl
19134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19135 echo "configure:19136: checking for $ac_func" >&5
19136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19137 echo $ac_n "(cached) $ac_c" 1>&6
19139 cat > conftest.$ac_ext <<EOF
19140 #line 19141 "configure"
19141 #include "confdefs.h"
19142 /* System header to define __stub macros and hopefully few prototypes,
19143 which can conflict with char $ac_func(); below. */
19144 #include <assert.h>
19145 /* Override any gcc2 internal prototype to avoid an error. */
19146 /* We use char because int might match the return type of a gcc2
19147 builtin and then its argument prototype would still apply. */
19152 /* The GNU C library defines this for functions which it implements
19153 to always fail with ENOSYS. Some functions are actually named
19154 something starting with __ and the normal name is an alias. */
19155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19163 if { (eval echo configure:19164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19165 eval "ac_cv_func_$ac_func=yes"
19167 echo "configure: failed program was:" >&5
19168 cat conftest.$ac_ext >&5
19170 eval "ac_cv_func_$ac_func=no"
19175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19176 echo "$ac_t""yes" 1>&6
19177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19178 cat >> confdefs.h <<EOF
19179 #define $ac_tr_func 1
19183 echo "$ac_t""no" 1>&6
19189 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19190 echo "configure:19191: checking for _powl declaration" >&5
19191 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19192 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19193 echo $ac_n "(cached) $ac_c" 1>&6
19198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19199 ac_cpp='$CXXCPP $CPPFLAGS'
19200 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19201 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19202 cross_compiling=$ac_cv_prog_cxx_cross
19204 cat > conftest.$ac_ext <<EOF
19205 #line 19206 "configure"
19206 #include "confdefs.h"
19212 if { (eval echo configure:19213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19214 glibcpp_cv_func__powl_use=yes
19216 echo "configure: failed program was:" >&5
19217 cat conftest.$ac_ext >&5
19219 glibcpp_cv_func__powl_use=no
19223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19224 ac_cpp='$CPP $CPPFLAGS'
19225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19227 cross_compiling=$ac_cv_prog_cc_cross
19233 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19235 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19236 for ac_func in _powl
19238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19239 echo "configure:19240: checking for $ac_func" >&5
19240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19241 echo $ac_n "(cached) $ac_c" 1>&6
19243 cat > conftest.$ac_ext <<EOF
19244 #line 19245 "configure"
19245 #include "confdefs.h"
19246 /* System header to define __stub macros and hopefully few prototypes,
19247 which can conflict with char $ac_func(); below. */
19248 #include <assert.h>
19249 /* Override any gcc2 internal prototype to avoid an error. */
19250 /* We use char because int might match the return type of a gcc2
19251 builtin and then its argument prototype would still apply. */
19256 /* The GNU C library defines this for functions which it implements
19257 to always fail with ENOSYS. Some functions are actually named
19258 something starting with __ and the normal name is an alias. */
19259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19267 if { (eval echo configure:19268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19269 eval "ac_cv_func_$ac_func=yes"
19271 echo "configure: failed program was:" >&5
19272 cat conftest.$ac_ext >&5
19274 eval "ac_cv_func_$ac_func=no"
19279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19280 echo "$ac_t""yes" 1>&6
19281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19282 cat >> confdefs.h <<EOF
19283 #define $ac_tr_func 1
19287 echo "$ac_t""no" 1>&6
19296 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19297 echo "configure:19298: checking for sqrtl declaration" >&5
19298 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19299 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19300 echo $ac_n "(cached) $ac_c" 1>&6
19305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19306 ac_cpp='$CXXCPP $CPPFLAGS'
19307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19309 cross_compiling=$ac_cv_prog_cxx_cross
19311 cat > conftest.$ac_ext <<EOF
19312 #line 19313 "configure"
19313 #include "confdefs.h"
19315 #ifdef HAVE_IEEEFP_H
19316 #include <ieeefp.h>
19323 if { (eval echo configure:19324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19325 glibcpp_cv_func_sqrtl_use=yes
19327 echo "configure: failed program was:" >&5
19328 cat conftest.$ac_ext >&5
19330 glibcpp_cv_func_sqrtl_use=no
19334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19335 ac_cpp='$CPP $CPPFLAGS'
19336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19338 cross_compiling=$ac_cv_prog_cc_cross
19344 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19346 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19347 for ac_func in sqrtl
19349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19350 echo "configure:19351: checking for $ac_func" >&5
19351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19352 echo $ac_n "(cached) $ac_c" 1>&6
19354 cat > conftest.$ac_ext <<EOF
19355 #line 19356 "configure"
19356 #include "confdefs.h"
19357 /* System header to define __stub macros and hopefully few prototypes,
19358 which can conflict with char $ac_func(); below. */
19359 #include <assert.h>
19360 /* Override any gcc2 internal prototype to avoid an error. */
19361 /* We use char because int might match the return type of a gcc2
19362 builtin and then its argument prototype would still apply. */
19367 /* The GNU C library defines this for functions which it implements
19368 to always fail with ENOSYS. Some functions are actually named
19369 something starting with __ and the normal name is an alias. */
19370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19378 if { (eval echo configure:19379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19380 eval "ac_cv_func_$ac_func=yes"
19382 echo "configure: failed program was:" >&5
19383 cat conftest.$ac_ext >&5
19385 eval "ac_cv_func_$ac_func=no"
19390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19391 echo "$ac_t""yes" 1>&6
19392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19393 cat >> confdefs.h <<EOF
19394 #define $ac_tr_func 1
19398 echo "$ac_t""no" 1>&6
19404 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19405 echo "configure:19406: checking for _sqrtl declaration" >&5
19406 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19407 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19408 echo $ac_n "(cached) $ac_c" 1>&6
19413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19414 ac_cpp='$CXXCPP $CPPFLAGS'
19415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19417 cross_compiling=$ac_cv_prog_cxx_cross
19419 cat > conftest.$ac_ext <<EOF
19420 #line 19421 "configure"
19421 #include "confdefs.h"
19423 #ifdef HAVE_IEEEFP_H
19424 #include <ieeefp.h>
19431 if { (eval echo configure:19432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19433 glibcpp_cv_func__sqrtl_use=yes
19435 echo "configure: failed program was:" >&5
19436 cat conftest.$ac_ext >&5
19438 glibcpp_cv_func__sqrtl_use=no
19442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19446 cross_compiling=$ac_cv_prog_cc_cross
19452 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19454 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19455 for ac_func in _sqrtl
19457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19458 echo "configure:19459: checking for $ac_func" >&5
19459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19460 echo $ac_n "(cached) $ac_c" 1>&6
19462 cat > conftest.$ac_ext <<EOF
19463 #line 19464 "configure"
19464 #include "confdefs.h"
19465 /* System header to define __stub macros and hopefully few prototypes,
19466 which can conflict with char $ac_func(); below. */
19467 #include <assert.h>
19468 /* Override any gcc2 internal prototype to avoid an error. */
19469 /* We use char because int might match the return type of a gcc2
19470 builtin and then its argument prototype would still apply. */
19475 /* The GNU C library defines this for functions which it implements
19476 to always fail with ENOSYS. Some functions are actually named
19477 something starting with __ and the normal name is an alias. */
19478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19486 if { (eval echo configure:19487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19488 eval "ac_cv_func_$ac_func=yes"
19490 echo "configure: failed program was:" >&5
19491 cat conftest.$ac_ext >&5
19493 eval "ac_cv_func_$ac_func=no"
19498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19499 echo "$ac_t""yes" 1>&6
19500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19501 cat >> confdefs.h <<EOF
19502 #define $ac_tr_func 1
19506 echo "$ac_t""no" 1>&6
19515 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19516 echo "configure:19517: checking for sincosl declaration" >&5
19517 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19518 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19519 echo $ac_n "(cached) $ac_c" 1>&6
19524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19525 ac_cpp='$CXXCPP $CPPFLAGS'
19526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19528 cross_compiling=$ac_cv_prog_cxx_cross
19530 cat > conftest.$ac_ext <<EOF
19531 #line 19532 "configure"
19532 #include "confdefs.h"
19538 if { (eval echo configure:19539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19540 glibcpp_cv_func_sincosl_use=yes
19542 echo "configure: failed program was:" >&5
19543 cat conftest.$ac_ext >&5
19545 glibcpp_cv_func_sincosl_use=no
19549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19550 ac_cpp='$CPP $CPPFLAGS'
19551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19553 cross_compiling=$ac_cv_prog_cc_cross
19559 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19561 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19562 for ac_func in sincosl
19564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19565 echo "configure:19566: checking for $ac_func" >&5
19566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19567 echo $ac_n "(cached) $ac_c" 1>&6
19569 cat > conftest.$ac_ext <<EOF
19570 #line 19571 "configure"
19571 #include "confdefs.h"
19572 /* System header to define __stub macros and hopefully few prototypes,
19573 which can conflict with char $ac_func(); below. */
19574 #include <assert.h>
19575 /* Override any gcc2 internal prototype to avoid an error. */
19576 /* We use char because int might match the return type of a gcc2
19577 builtin and then its argument prototype would still apply. */
19582 /* The GNU C library defines this for functions which it implements
19583 to always fail with ENOSYS. Some functions are actually named
19584 something starting with __ and the normal name is an alias. */
19585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19593 if { (eval echo configure:19594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19595 eval "ac_cv_func_$ac_func=yes"
19597 echo "configure: failed program was:" >&5
19598 cat conftest.$ac_ext >&5
19600 eval "ac_cv_func_$ac_func=no"
19605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19606 echo "$ac_t""yes" 1>&6
19607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19608 cat >> confdefs.h <<EOF
19609 #define $ac_tr_func 1
19613 echo "$ac_t""no" 1>&6
19619 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19620 echo "configure:19621: checking for _sincosl declaration" >&5
19621 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19622 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19623 echo $ac_n "(cached) $ac_c" 1>&6
19628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19632 cross_compiling=$ac_cv_prog_cxx_cross
19634 cat > conftest.$ac_ext <<EOF
19635 #line 19636 "configure"
19636 #include "confdefs.h"
19642 if { (eval echo configure:19643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19644 glibcpp_cv_func__sincosl_use=yes
19646 echo "configure: failed program was:" >&5
19647 cat conftest.$ac_ext >&5
19649 glibcpp_cv_func__sincosl_use=no
19653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19654 ac_cpp='$CPP $CPPFLAGS'
19655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19657 cross_compiling=$ac_cv_prog_cc_cross
19663 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19665 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19666 for ac_func in _sincosl
19668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19669 echo "configure:19670: checking for $ac_func" >&5
19670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19671 echo $ac_n "(cached) $ac_c" 1>&6
19673 cat > conftest.$ac_ext <<EOF
19674 #line 19675 "configure"
19675 #include "confdefs.h"
19676 /* System header to define __stub macros and hopefully few prototypes,
19677 which can conflict with char $ac_func(); below. */
19678 #include <assert.h>
19679 /* Override any gcc2 internal prototype to avoid an error. */
19680 /* We use char because int might match the return type of a gcc2
19681 builtin and then its argument prototype would still apply. */
19686 /* The GNU C library defines this for functions which it implements
19687 to always fail with ENOSYS. Some functions are actually named
19688 something starting with __ and the normal name is an alias. */
19689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19697 if { (eval echo configure:19698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19699 eval "ac_cv_func_$ac_func=yes"
19701 echo "configure: failed program was:" >&5
19702 cat conftest.$ac_ext >&5
19704 eval "ac_cv_func_$ac_func=no"
19709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19710 echo "$ac_t""yes" 1>&6
19711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19712 cat >> confdefs.h <<EOF
19713 #define $ac_tr_func 1
19717 echo "$ac_t""no" 1>&6
19726 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19727 echo "configure:19728: checking for finitel declaration" >&5
19728 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19729 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19730 echo $ac_n "(cached) $ac_c" 1>&6
19735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19736 ac_cpp='$CXXCPP $CPPFLAGS'
19737 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19738 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19739 cross_compiling=$ac_cv_prog_cxx_cross
19741 cat > conftest.$ac_ext <<EOF
19742 #line 19743 "configure"
19743 #include "confdefs.h"
19745 #ifdef HAVE_IEEEFP_H
19746 #include <ieeefp.h>
19753 if { (eval echo configure:19754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19755 glibcpp_cv_func_finitel_use=yes
19757 echo "configure: failed program was:" >&5
19758 cat conftest.$ac_ext >&5
19760 glibcpp_cv_func_finitel_use=no
19764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19768 cross_compiling=$ac_cv_prog_cc_cross
19774 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19776 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19777 for ac_func in finitel
19779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19780 echo "configure:19781: checking for $ac_func" >&5
19781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19782 echo $ac_n "(cached) $ac_c" 1>&6
19784 cat > conftest.$ac_ext <<EOF
19785 #line 19786 "configure"
19786 #include "confdefs.h"
19787 /* System header to define __stub macros and hopefully few prototypes,
19788 which can conflict with char $ac_func(); below. */
19789 #include <assert.h>
19790 /* Override any gcc2 internal prototype to avoid an error. */
19791 /* We use char because int might match the return type of a gcc2
19792 builtin and then its argument prototype would still apply. */
19797 /* The GNU C library defines this for functions which it implements
19798 to always fail with ENOSYS. Some functions are actually named
19799 something starting with __ and the normal name is an alias. */
19800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19808 if { (eval echo configure:19809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19810 eval "ac_cv_func_$ac_func=yes"
19812 echo "configure: failed program was:" >&5
19813 cat conftest.$ac_ext >&5
19815 eval "ac_cv_func_$ac_func=no"
19820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19821 echo "$ac_t""yes" 1>&6
19822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19823 cat >> confdefs.h <<EOF
19824 #define $ac_tr_func 1
19828 echo "$ac_t""no" 1>&6
19834 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19835 echo "configure:19836: checking for _finitel declaration" >&5
19836 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19837 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19838 echo $ac_n "(cached) $ac_c" 1>&6
19843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19844 ac_cpp='$CXXCPP $CPPFLAGS'
19845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19847 cross_compiling=$ac_cv_prog_cxx_cross
19849 cat > conftest.$ac_ext <<EOF
19850 #line 19851 "configure"
19851 #include "confdefs.h"
19853 #ifdef HAVE_IEEEFP_H
19854 #include <ieeefp.h>
19861 if { (eval echo configure:19862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19863 glibcpp_cv_func__finitel_use=yes
19865 echo "configure: failed program was:" >&5
19866 cat conftest.$ac_ext >&5
19868 glibcpp_cv_func__finitel_use=no
19872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19873 ac_cpp='$CPP $CPPFLAGS'
19874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19876 cross_compiling=$ac_cv_prog_cc_cross
19882 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19884 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19885 for ac_func in _finitel
19887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19888 echo "configure:19889: checking for $ac_func" >&5
19889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19890 echo $ac_n "(cached) $ac_c" 1>&6
19892 cat > conftest.$ac_ext <<EOF
19893 #line 19894 "configure"
19894 #include "confdefs.h"
19895 /* System header to define __stub macros and hopefully few prototypes,
19896 which can conflict with char $ac_func(); below. */
19897 #include <assert.h>
19898 /* Override any gcc2 internal prototype to avoid an error. */
19899 /* We use char because int might match the return type of a gcc2
19900 builtin and then its argument prototype would still apply. */
19905 /* The GNU C library defines this for functions which it implements
19906 to always fail with ENOSYS. Some functions are actually named
19907 something starting with __ and the normal name is an alias. */
19908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19916 if { (eval echo configure:19917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19918 eval "ac_cv_func_$ac_func=yes"
19920 echo "configure: failed program was:" >&5
19921 cat conftest.$ac_ext >&5
19923 eval "ac_cv_func_$ac_func=no"
19928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19929 echo "$ac_t""yes" 1>&6
19930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19931 cat >> confdefs.h <<EOF
19932 #define $ac_tr_func 1
19936 echo "$ac_t""no" 1>&6
19946 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19947 echo "configure:19948: checking for _float trig functions" >&5
19948 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19949 echo $ac_n "(cached) $ac_c" 1>&6
19954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19955 ac_cpp='$CXXCPP $CPPFLAGS'
19956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19958 cross_compiling=$ac_cv_prog_cxx_cross
19960 cat > conftest.$ac_ext <<EOF
19961 #line 19962 "configure"
19962 #include "confdefs.h"
19965 `for x in _acosf _asinf _atanf \
19966 _cosf _sinf _tanf \
19967 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19970 if { (eval echo configure:19971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19972 glibcpp_cv_func__float_trig_use=yes
19974 echo "configure: failed program was:" >&5
19975 cat conftest.$ac_ext >&5
19977 glibcpp_cv_func__float_trig_use=no
19981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19982 ac_cpp='$CPP $CPPFLAGS'
19983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19985 cross_compiling=$ac_cv_prog_cc_cross
19989 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19990 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19991 for ac_func in _acosf _asinf _atanf \
19992 _cosf _sinf _tanf \
19993 _coshf _sinhf _tanhf
19995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19996 echo "configure:19997: checking for $ac_func" >&5
19997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19998 echo $ac_n "(cached) $ac_c" 1>&6
20000 cat > conftest.$ac_ext <<EOF
20001 #line 20002 "configure"
20002 #include "confdefs.h"
20003 /* System header to define __stub macros and hopefully few prototypes,
20004 which can conflict with char $ac_func(); below. */
20005 #include <assert.h>
20006 /* Override any gcc2 internal prototype to avoid an error. */
20007 /* We use char because int might match the return type of a gcc2
20008 builtin and then its argument prototype would still apply. */
20013 /* The GNU C library defines this for functions which it implements
20014 to always fail with ENOSYS. Some functions are actually named
20015 something starting with __ and the normal name is an alias. */
20016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20024 if { (eval echo configure:20025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20026 eval "ac_cv_func_$ac_func=yes"
20028 echo "configure: failed program was:" >&5
20029 cat conftest.$ac_ext >&5
20031 eval "ac_cv_func_$ac_func=no"
20036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20037 echo "$ac_t""yes" 1>&6
20038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20039 cat >> confdefs.h <<EOF
20040 #define $ac_tr_func 1
20044 echo "$ac_t""no" 1>&6
20051 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20052 echo "configure:20053: checking for _float round functions" >&5
20053 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20054 echo $ac_n "(cached) $ac_c" 1>&6
20059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20060 ac_cpp='$CXXCPP $CPPFLAGS'
20061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20063 cross_compiling=$ac_cv_prog_cxx_cross
20065 cat > conftest.$ac_ext <<EOF
20066 #line 20067 "configure"
20067 #include "confdefs.h"
20070 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20073 if { (eval echo configure:20074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20075 glibcpp_cv_func__float_round_use=yes
20077 echo "configure: failed program was:" >&5
20078 cat conftest.$ac_ext >&5
20080 glibcpp_cv_func__float_round_use=no
20084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20085 ac_cpp='$CPP $CPPFLAGS'
20086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20088 cross_compiling=$ac_cv_prog_cc_cross
20092 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20093 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20094 for ac_func in _ceilf _floorf
20096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20097 echo "configure:20098: checking for $ac_func" >&5
20098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20099 echo $ac_n "(cached) $ac_c" 1>&6
20101 cat > conftest.$ac_ext <<EOF
20102 #line 20103 "configure"
20103 #include "confdefs.h"
20104 /* System header to define __stub macros and hopefully few prototypes,
20105 which can conflict with char $ac_func(); below. */
20106 #include <assert.h>
20107 /* Override any gcc2 internal prototype to avoid an error. */
20108 /* We use char because int might match the return type of a gcc2
20109 builtin and then its argument prototype would still apply. */
20114 /* The GNU C library defines this for functions which it implements
20115 to always fail with ENOSYS. Some functions are actually named
20116 something starting with __ and the normal name is an alias. */
20117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20125 if { (eval echo configure:20126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20127 eval "ac_cv_func_$ac_func=yes"
20129 echo "configure: failed program was:" >&5
20130 cat conftest.$ac_ext >&5
20132 eval "ac_cv_func_$ac_func=no"
20137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20138 echo "$ac_t""yes" 1>&6
20139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20140 cat >> confdefs.h <<EOF
20141 #define $ac_tr_func 1
20145 echo "$ac_t""no" 1>&6
20153 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20154 echo "configure:20155: checking for _long double trig functions" >&5
20155 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20156 echo $ac_n "(cached) $ac_c" 1>&6
20161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20162 ac_cpp='$CXXCPP $CPPFLAGS'
20163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20165 cross_compiling=$ac_cv_prog_cxx_cross
20167 cat > conftest.$ac_ext <<EOF
20168 #line 20169 "configure"
20169 #include "confdefs.h"
20172 `for x in _acosl _asinl _atanl \
20173 _cosl _sinl _tanl \
20174 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20177 if { (eval echo configure:20178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20179 glibcpp_cv_func__long_double_trig_use=yes
20181 echo "configure: failed program was:" >&5
20182 cat conftest.$ac_ext >&5
20184 glibcpp_cv_func__long_double_trig_use=no
20188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20189 ac_cpp='$CPP $CPPFLAGS'
20190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20192 cross_compiling=$ac_cv_prog_cc_cross
20196 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20197 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20198 for ac_func in _acosl _asinl _atanl \
20199 _cosl _sinl _tanl \
20200 _coshl _sinhl _tanhl
20202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20203 echo "configure:20204: checking for $ac_func" >&5
20204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20205 echo $ac_n "(cached) $ac_c" 1>&6
20207 cat > conftest.$ac_ext <<EOF
20208 #line 20209 "configure"
20209 #include "confdefs.h"
20210 /* System header to define __stub macros and hopefully few prototypes,
20211 which can conflict with char $ac_func(); below. */
20212 #include <assert.h>
20213 /* Override any gcc2 internal prototype to avoid an error. */
20214 /* We use char because int might match the return type of a gcc2
20215 builtin and then its argument prototype would still apply. */
20220 /* The GNU C library defines this for functions which it implements
20221 to always fail with ENOSYS. Some functions are actually named
20222 something starting with __ and the normal name is an alias. */
20223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20231 if { (eval echo configure:20232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20233 eval "ac_cv_func_$ac_func=yes"
20235 echo "configure: failed program was:" >&5
20236 cat conftest.$ac_ext >&5
20238 eval "ac_cv_func_$ac_func=no"
20243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20244 echo "$ac_t""yes" 1>&6
20245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20246 cat >> confdefs.h <<EOF
20247 #define $ac_tr_func 1
20251 echo "$ac_t""no" 1>&6
20258 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20259 echo "configure:20260: checking for _long double round functions" >&5
20260 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20261 echo $ac_n "(cached) $ac_c" 1>&6
20266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20267 ac_cpp='$CXXCPP $CPPFLAGS'
20268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20270 cross_compiling=$ac_cv_prog_cxx_cross
20272 cat > conftest.$ac_ext <<EOF
20273 #line 20274 "configure"
20274 #include "confdefs.h"
20277 `for x in _ceill _floorl; do echo "$x (0);"; done`
20280 if { (eval echo configure:20281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20282 glibcpp_cv_func__long_double_round_use=yes
20284 echo "configure: failed program was:" >&5
20285 cat conftest.$ac_ext >&5
20287 glibcpp_cv_func__long_double_round_use=no
20291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20295 cross_compiling=$ac_cv_prog_cc_cross
20299 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20300 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20301 for ac_func in _ceill _floorl
20303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20304 echo "configure:20305: checking for $ac_func" >&5
20305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20306 echo $ac_n "(cached) $ac_c" 1>&6
20308 cat > conftest.$ac_ext <<EOF
20309 #line 20310 "configure"
20310 #include "confdefs.h"
20311 /* System header to define __stub macros and hopefully few prototypes,
20312 which can conflict with char $ac_func(); below. */
20313 #include <assert.h>
20314 /* Override any gcc2 internal prototype to avoid an error. */
20315 /* We use char because int might match the return type of a gcc2
20316 builtin and then its argument prototype would still apply. */
20321 /* The GNU C library defines this for functions which it implements
20322 to always fail with ENOSYS. Some functions are actually named
20323 something starting with __ and the normal name is an alias. */
20324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20332 if { (eval echo configure:20333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20334 eval "ac_cv_func_$ac_func=yes"
20336 echo "configure: failed program was:" >&5
20337 cat conftest.$ac_ext >&5
20339 eval "ac_cv_func_$ac_func=no"
20344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20345 echo "$ac_t""yes" 1>&6
20346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20347 cat >> confdefs.h <<EOF
20348 #define $ac_tr_func 1
20352 echo "$ac_t""no" 1>&6
20359 LIBS="$ac_save_LIBS"
20360 CXXFLAGS="$ac_save_CXXFLAGS"
20363 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20364 echo "configure:20365: checking for main in -lm" >&5
20365 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20367 echo $ac_n "(cached) $ac_c" 1>&6
20369 ac_save_LIBS="$LIBS"
20371 cat > conftest.$ac_ext <<EOF
20372 #line 20373 "configure"
20373 #include "confdefs.h"
20379 if { (eval echo configure:20380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20381 eval "ac_cv_lib_$ac_lib_var=yes"
20383 echo "configure: failed program was:" >&5
20384 cat conftest.$ac_ext >&5
20386 eval "ac_cv_lib_$ac_lib_var=no"
20389 LIBS="$ac_save_LIBS"
20392 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20393 echo "$ac_t""yes" 1>&6
20394 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20395 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20396 cat >> confdefs.h <<EOF
20397 #define $ac_tr_lib 1
20403 echo "$ac_t""no" 1>&6
20406 for ac_func in nan copysignf
20408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20409 echo "configure:20410: checking for $ac_func" >&5
20410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20411 echo $ac_n "(cached) $ac_c" 1>&6
20413 cat > conftest.$ac_ext <<EOF
20414 #line 20415 "configure"
20415 #include "confdefs.h"
20416 /* System header to define __stub macros and hopefully few prototypes,
20417 which can conflict with char $ac_func(); below. */
20418 #include <assert.h>
20419 /* Override any gcc2 internal prototype to avoid an error. */
20420 /* We use char because int might match the return type of a gcc2
20421 builtin and then its argument prototype would still apply. */
20426 /* The GNU C library defines this for functions which it implements
20427 to always fail with ENOSYS. Some functions are actually named
20428 something starting with __ and the normal name is an alias. */
20429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20437 if { (eval echo configure:20438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20439 eval "ac_cv_func_$ac_func=yes"
20441 echo "configure: failed program was:" >&5
20442 cat conftest.$ac_ext >&5
20444 eval "ac_cv_func_$ac_func=no"
20449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20450 echo "$ac_t""yes" 1>&6
20451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20452 cat >> confdefs.h <<EOF
20453 #define $ac_tr_func 1
20457 echo "$ac_t""no" 1>&6
20458 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20463 for ac_func in __signbit
20465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20466 echo "configure:20467: checking for $ac_func" >&5
20467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20468 echo $ac_n "(cached) $ac_c" 1>&6
20470 cat > conftest.$ac_ext <<EOF
20471 #line 20472 "configure"
20472 #include "confdefs.h"
20473 /* System header to define __stub macros and hopefully few prototypes,
20474 which can conflict with char $ac_func(); below. */
20475 #include <assert.h>
20476 /* Override any gcc2 internal prototype to avoid an error. */
20477 /* We use char because int might match the return type of a gcc2
20478 builtin and then its argument prototype would still apply. */
20483 /* The GNU C library defines this for functions which it implements
20484 to always fail with ENOSYS. Some functions are actually named
20485 something starting with __ and the normal name is an alias. */
20486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20494 if { (eval echo configure:20495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20496 eval "ac_cv_func_$ac_func=yes"
20498 echo "configure: failed program was:" >&5
20499 cat conftest.$ac_ext >&5
20501 eval "ac_cv_func_$ac_func=no"
20506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20507 echo "$ac_t""yes" 1>&6
20508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20509 cat >> confdefs.h <<EOF
20510 #define $ac_tr_func 1
20514 echo "$ac_t""no" 1>&6
20515 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20519 for ac_func in __signbitf
20521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20522 echo "configure:20523: checking for $ac_func" >&5
20523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20524 echo $ac_n "(cached) $ac_c" 1>&6
20526 cat > conftest.$ac_ext <<EOF
20527 #line 20528 "configure"
20528 #include "confdefs.h"
20529 /* System header to define __stub macros and hopefully few prototypes,
20530 which can conflict with char $ac_func(); below. */
20531 #include <assert.h>
20532 /* Override any gcc2 internal prototype to avoid an error. */
20533 /* We use char because int might match the return type of a gcc2
20534 builtin and then its argument prototype would still apply. */
20539 /* The GNU C library defines this for functions which it implements
20540 to always fail with ENOSYS. Some functions are actually named
20541 something starting with __ and the normal name is an alias. */
20542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20550 if { (eval echo configure:20551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20552 eval "ac_cv_func_$ac_func=yes"
20554 echo "configure: failed program was:" >&5
20555 cat conftest.$ac_ext >&5
20557 eval "ac_cv_func_$ac_func=no"
20562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20563 echo "$ac_t""yes" 1>&6
20564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20565 cat >> confdefs.h <<EOF
20566 #define $ac_tr_func 1
20570 echo "$ac_t""no" 1>&6
20571 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20576 if test x$ac_cv_func_copysignl = x"yes"; then
20577 for ac_func in __signbitl
20579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20580 echo "configure:20581: checking for $ac_func" >&5
20581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20582 echo $ac_n "(cached) $ac_c" 1>&6
20584 cat > conftest.$ac_ext <<EOF
20585 #line 20586 "configure"
20586 #include "confdefs.h"
20587 /* System header to define __stub macros and hopefully few prototypes,
20588 which can conflict with char $ac_func(); below. */
20589 #include <assert.h>
20590 /* Override any gcc2 internal prototype to avoid an error. */
20591 /* We use char because int might match the return type of a gcc2
20592 builtin and then its argument prototype would still apply. */
20597 /* The GNU C library defines this for functions which it implements
20598 to always fail with ENOSYS. Some functions are actually named
20599 something starting with __ and the normal name is an alias. */
20600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20608 if { (eval echo configure:20609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20610 eval "ac_cv_func_$ac_func=yes"
20612 echo "configure: failed program was:" >&5
20613 cat conftest.$ac_ext >&5
20615 eval "ac_cv_func_$ac_func=no"
20620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20621 echo "$ac_t""yes" 1>&6
20622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20623 cat >> confdefs.h <<EOF
20624 #define $ac_tr_func 1
20628 echo "$ac_t""no" 1>&6
20629 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20639 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20640 echo "configure:20641: checking for mbstate_t" >&5
20641 cat > conftest.$ac_ext <<EOF
20642 #line 20643 "configure"
20643 #include "confdefs.h"
20646 mbstate_t teststate;
20649 if { (eval echo configure:20650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20653 echo "configure: failed program was:" >&5
20654 cat conftest.$ac_ext >&5
20659 echo "$ac_t""$have_mbstate_t" 1>&6
20660 if test x"$have_mbstate_t" = xyes; then
20661 cat >> confdefs.h <<\EOF
20662 #define HAVE_MBSTATE_T 1
20667 for ac_hdr in wchar.h
20669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20671 echo "configure:20672: checking for $ac_hdr" >&5
20672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20673 echo $ac_n "(cached) $ac_c" 1>&6
20675 cat > conftest.$ac_ext <<EOF
20676 #line 20677 "configure"
20677 #include "confdefs.h"
20680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20681 { (eval echo configure:20682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20683 if test -z "$ac_err"; then
20685 eval "ac_cv_header_$ac_safe=yes"
20688 echo "configure: failed program was:" >&5
20689 cat conftest.$ac_ext >&5
20691 eval "ac_cv_header_$ac_safe=no"
20695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20696 echo "$ac_t""yes" 1>&6
20697 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20698 cat >> confdefs.h <<EOF
20699 #define $ac_tr_hdr 1
20703 echo "$ac_t""no" 1>&6
20708 for ac_hdr in wctype.h
20710 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20711 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20712 echo "configure:20713: checking for $ac_hdr" >&5
20713 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20714 echo $ac_n "(cached) $ac_c" 1>&6
20716 cat > conftest.$ac_ext <<EOF
20717 #line 20718 "configure"
20718 #include "confdefs.h"
20721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20722 { (eval echo configure:20723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20724 if test -z "$ac_err"; then
20726 eval "ac_cv_header_$ac_safe=yes"
20729 echo "configure: failed program was:" >&5
20730 cat conftest.$ac_ext >&5
20732 eval "ac_cv_header_$ac_safe=no"
20736 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20737 echo "$ac_t""yes" 1>&6
20738 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20739 cat >> confdefs.h <<EOF
20740 #define $ac_tr_hdr 1
20742 ac_has_wctype_h=yes
20744 echo "$ac_t""no" 1>&6
20750 if test x"$ac_has_wchar_h" = xyes &&
20751 test x"$ac_has_wctype_h" = xyes &&
20752 test x"$enable_c_mbchar" != xno; then
20754 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20755 echo "configure:20756: checking for WCHAR_MIN and WCHAR_MAX" >&5
20756 cat > conftest.$ac_ext <<EOF
20757 #line 20758 "configure"
20758 #include "confdefs.h"
20761 int i = WCHAR_MIN; int j = WCHAR_MAX;
20764 if { (eval echo configure:20765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20766 has_wchar_minmax=yes
20768 echo "configure: failed program was:" >&5
20769 cat conftest.$ac_ext >&5
20771 has_wchar_minmax=no
20774 echo "$ac_t""$has_wchar_minmax" 1>&6
20776 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20777 echo "configure:20778: checking for WEOF" >&5
20778 cat > conftest.$ac_ext <<EOF
20779 #line 20780 "configure"
20780 #include "confdefs.h"
20783 #include <stddef.h>
20788 if { (eval echo configure:20789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20792 echo "configure: failed program was:" >&5
20793 cat conftest.$ac_ext >&5
20798 echo "$ac_t""$has_weof" 1>&6
20801 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20804 echo "configure:20805: checking for $ac_func" >&5
20805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20806 echo $ac_n "(cached) $ac_c" 1>&6
20808 cat > conftest.$ac_ext <<EOF
20809 #line 20810 "configure"
20810 #include "confdefs.h"
20811 /* System header to define __stub macros and hopefully few prototypes,
20812 which can conflict with char $ac_func(); below. */
20813 #include <assert.h>
20814 /* Override any gcc2 internal prototype to avoid an error. */
20815 /* We use char because int might match the return type of a gcc2
20816 builtin and then its argument prototype would still apply. */
20821 /* The GNU C library defines this for functions which it implements
20822 to always fail with ENOSYS. Some functions are actually named
20823 something starting with __ and the normal name is an alias. */
20824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20832 if { (eval echo configure:20833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20834 eval "ac_cv_func_$ac_func=yes"
20836 echo "configure: failed program was:" >&5
20837 cat conftest.$ac_ext >&5
20839 eval "ac_cv_func_$ac_func=no"
20844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20845 echo "$ac_t""yes" 1>&6
20846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20847 cat >> confdefs.h <<EOF
20848 #define $ac_tr_func 1
20852 echo "$ac_t""no" 1>&6
20859 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20860 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20861 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20862 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20863 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20864 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20867 echo "configure:20868: checking for $ac_func" >&5
20868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20869 echo $ac_n "(cached) $ac_c" 1>&6
20871 cat > conftest.$ac_ext <<EOF
20872 #line 20873 "configure"
20873 #include "confdefs.h"
20874 /* System header to define __stub macros and hopefully few prototypes,
20875 which can conflict with char $ac_func(); below. */
20876 #include <assert.h>
20877 /* Override any gcc2 internal prototype to avoid an error. */
20878 /* We use char because int might match the return type of a gcc2
20879 builtin and then its argument prototype would still apply. */
20884 /* The GNU C library defines this for functions which it implements
20885 to always fail with ENOSYS. Some functions are actually named
20886 something starting with __ and the normal name is an alias. */
20887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20895 if { (eval echo configure:20896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20897 eval "ac_cv_func_$ac_func=yes"
20899 echo "configure: failed program was:" >&5
20900 cat conftest.$ac_ext >&5
20902 eval "ac_cv_func_$ac_func=no"
20907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20908 echo "$ac_t""yes" 1>&6
20909 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20910 cat >> confdefs.h <<EOF
20911 #define $ac_tr_func 1
20915 echo "$ac_t""no" 1>&6
20922 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20923 echo "configure:20924: checking for ISO C99 wchar_t support" >&5
20924 if test x"$has_weof" = xyes &&
20925 test x"$has_wchar_minmax" = xyes &&
20926 test x"$ac_wfuncs" = xyes; then
20927 ac_isoC99_wchar_t=yes
20929 ac_isoC99_wchar_t=no
20931 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20933 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20934 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20935 echo "configure:20936: checking for iconv.h" >&5
20936 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20937 echo $ac_n "(cached) $ac_c" 1>&6
20939 cat > conftest.$ac_ext <<EOF
20940 #line 20941 "configure"
20941 #include "confdefs.h"
20944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20945 { (eval echo configure:20946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20947 if test -z "$ac_err"; then
20949 eval "ac_cv_header_$ac_safe=yes"
20952 echo "configure: failed program was:" >&5
20953 cat conftest.$ac_ext >&5
20955 eval "ac_cv_header_$ac_safe=no"
20959 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20960 echo "$ac_t""yes" 1>&6
20963 echo "$ac_t""no" 1>&6
20967 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20968 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20969 echo "configure:20970: checking for langinfo.h" >&5
20970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20971 echo $ac_n "(cached) $ac_c" 1>&6
20973 cat > conftest.$ac_ext <<EOF
20974 #line 20975 "configure"
20975 #include "confdefs.h"
20976 #include <langinfo.h>
20978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20979 { (eval echo configure:20980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20981 if test -z "$ac_err"; then
20983 eval "ac_cv_header_$ac_safe=yes"
20986 echo "configure: failed program was:" >&5
20987 cat conftest.$ac_ext >&5
20989 eval "ac_cv_header_$ac_safe=no"
20993 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20994 echo "$ac_t""yes" 1>&6
20995 ac_has_langinfo_h=yes
20997 echo "$ac_t""no" 1>&6
20998 ac_has_langinfo_h=no
21002 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21003 echo "configure:21004: checking for iconv in -liconv" >&5
21004 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21006 echo $ac_n "(cached) $ac_c" 1>&6
21008 ac_save_LIBS="$LIBS"
21009 LIBS="-liconv $LIBS"
21010 cat > conftest.$ac_ext <<EOF
21011 #line 21012 "configure"
21012 #include "confdefs.h"
21013 /* Override any gcc2 internal prototype to avoid an error. */
21014 /* We use char because int might match the return type of a gcc2
21015 builtin and then its argument prototype would still apply. */
21022 if { (eval echo configure:21023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21024 eval "ac_cv_lib_$ac_lib_var=yes"
21026 echo "configure: failed program was:" >&5
21027 cat conftest.$ac_ext >&5
21029 eval "ac_cv_lib_$ac_lib_var=no"
21032 LIBS="$ac_save_LIBS"
21035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21036 echo "$ac_t""yes" 1>&6
21039 echo "$ac_t""no" 1>&6
21042 ac_save_LIBS="$LIBS"
21043 LIBS="$LIBS $libiconv"
21045 for ac_func in iconv_open iconv_close iconv nl_langinfo
21047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21048 echo "configure:21049: checking for $ac_func" >&5
21049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21050 echo $ac_n "(cached) $ac_c" 1>&6
21052 cat > conftest.$ac_ext <<EOF
21053 #line 21054 "configure"
21054 #include "confdefs.h"
21055 /* System header to define __stub macros and hopefully few prototypes,
21056 which can conflict with char $ac_func(); below. */
21057 #include <assert.h>
21058 /* Override any gcc2 internal prototype to avoid an error. */
21059 /* We use char because int might match the return type of a gcc2
21060 builtin and then its argument prototype would still apply. */
21065 /* The GNU C library defines this for functions which it implements
21066 to always fail with ENOSYS. Some functions are actually named
21067 something starting with __ and the normal name is an alias. */
21068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21076 if { (eval echo configure:21077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21078 eval "ac_cv_func_$ac_func=yes"
21080 echo "configure: failed program was:" >&5
21081 cat conftest.$ac_ext >&5
21083 eval "ac_cv_func_$ac_func=no"
21088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21089 echo "$ac_t""yes" 1>&6
21090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21091 cat >> confdefs.h <<EOF
21092 #define $ac_tr_func 1
21097 echo "$ac_t""no" 1>&6
21103 LIBS="$ac_save_LIBS"
21105 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21106 echo "configure:21107: checking for XPG2 wchar_t support" >&5
21107 if test x"$ac_has_iconv_h" = xyes &&
21108 test x"$ac_has_langinfo_h" = xyes &&
21109 test x"$ac_XPG2funcs" = xyes; then
21110 ac_XPG2_wchar_t=yes
21114 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21116 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21117 echo "configure:21118: checking for enabled wchar_t specializations" >&5
21118 if test x"$ac_isoC99_wchar_t" = xyes &&
21119 test x"$ac_XPG2_wchar_t" = xyes; then
21120 cat >> confdefs.h <<\EOF
21121 #define _GLIBCPP_USE_WCHAR_T 1
21124 echo "$ac_t"""yes"" 1>&6
21126 echo "$ac_t"""no"" 1>&6
21129 echo "configure: warning: wchar_t support disabled." 1>&2
21133 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21134 ac_save_CXXFLAGS="$CXXFLAGS"
21135 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21138 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21139 echo "configure:21140: checking for strtold declaration" >&5
21140 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21141 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21142 echo $ac_n "(cached) $ac_c" 1>&6
21147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21151 cross_compiling=$ac_cv_prog_cxx_cross
21153 cat > conftest.$ac_ext <<EOF
21154 #line 21155 "configure"
21155 #include "confdefs.h"
21156 #include <stdlib.h>
21161 if { (eval echo configure:21162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21163 glibcpp_cv_func_strtold_use=yes
21165 echo "configure: failed program was:" >&5
21166 cat conftest.$ac_ext >&5
21168 glibcpp_cv_func_strtold_use=no
21172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21173 ac_cpp='$CPP $CPPFLAGS'
21174 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21175 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21176 cross_compiling=$ac_cv_prog_cc_cross
21182 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21183 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21184 for ac_func in strtold
21186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21187 echo "configure:21188: checking for $ac_func" >&5
21188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21189 echo $ac_n "(cached) $ac_c" 1>&6
21191 cat > conftest.$ac_ext <<EOF
21192 #line 21193 "configure"
21193 #include "confdefs.h"
21194 /* System header to define __stub macros and hopefully few prototypes,
21195 which can conflict with char $ac_func(); below. */
21196 #include <assert.h>
21197 /* Override any gcc2 internal prototype to avoid an error. */
21198 /* We use char because int might match the return type of a gcc2
21199 builtin and then its argument prototype would still apply. */
21204 /* The GNU C library defines this for functions which it implements
21205 to always fail with ENOSYS. Some functions are actually named
21206 something starting with __ and the normal name is an alias. */
21207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21215 if { (eval echo configure:21216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21217 eval "ac_cv_func_$ac_func=yes"
21219 echo "configure: failed program was:" >&5
21220 cat conftest.$ac_ext >&5
21222 eval "ac_cv_func_$ac_func=no"
21227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21228 echo "$ac_t""yes" 1>&6
21229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21230 cat >> confdefs.h <<EOF
21231 #define $ac_tr_func 1
21235 echo "$ac_t""no" 1>&6
21242 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21243 echo "configure:21244: checking for strtof declaration" >&5
21244 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21245 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21246 echo $ac_n "(cached) $ac_c" 1>&6
21251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21255 cross_compiling=$ac_cv_prog_cxx_cross
21257 cat > conftest.$ac_ext <<EOF
21258 #line 21259 "configure"
21259 #include "confdefs.h"
21260 #include <stdlib.h>
21265 if { (eval echo configure:21266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21267 glibcpp_cv_func_strtof_use=yes
21269 echo "configure: failed program was:" >&5
21270 cat conftest.$ac_ext >&5
21272 glibcpp_cv_func_strtof_use=no
21276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21277 ac_cpp='$CPP $CPPFLAGS'
21278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21280 cross_compiling=$ac_cv_prog_cc_cross
21286 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21287 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21288 for ac_func in strtof
21290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21291 echo "configure:21292: checking for $ac_func" >&5
21292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21293 echo $ac_n "(cached) $ac_c" 1>&6
21295 cat > conftest.$ac_ext <<EOF
21296 #line 21297 "configure"
21297 #include "confdefs.h"
21298 /* System header to define __stub macros and hopefully few prototypes,
21299 which can conflict with char $ac_func(); below. */
21300 #include <assert.h>
21301 /* Override any gcc2 internal prototype to avoid an error. */
21302 /* We use char because int might match the return type of a gcc2
21303 builtin and then its argument prototype would still apply. */
21308 /* The GNU C library defines this for functions which it implements
21309 to always fail with ENOSYS. Some functions are actually named
21310 something starting with __ and the normal name is an alias. */
21311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21319 if { (eval echo configure:21320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21321 eval "ac_cv_func_$ac_func=yes"
21323 echo "configure: failed program was:" >&5
21324 cat conftest.$ac_ext >&5
21326 eval "ac_cv_func_$ac_func=no"
21331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21332 echo "$ac_t""yes" 1>&6
21333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21334 cat >> confdefs.h <<EOF
21335 #define $ac_tr_func 1
21339 echo "$ac_t""no" 1>&6
21345 for ac_func in drand48
21347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21348 echo "configure:21349: checking for $ac_func" >&5
21349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21350 echo $ac_n "(cached) $ac_c" 1>&6
21352 cat > conftest.$ac_ext <<EOF
21353 #line 21354 "configure"
21354 #include "confdefs.h"
21355 /* System header to define __stub macros and hopefully few prototypes,
21356 which can conflict with char $ac_func(); below. */
21357 #include <assert.h>
21358 /* Override any gcc2 internal prototype to avoid an error. */
21359 /* We use char because int might match the return type of a gcc2
21360 builtin and then its argument prototype would still apply. */
21365 /* The GNU C library defines this for functions which it implements
21366 to always fail with ENOSYS. Some functions are actually named
21367 something starting with __ and the normal name is an alias. */
21368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21376 if { (eval echo configure:21377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21378 eval "ac_cv_func_$ac_func=yes"
21380 echo "configure: failed program was:" >&5
21381 cat conftest.$ac_ext >&5
21383 eval "ac_cv_func_$ac_func=no"
21388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21389 echo "$ac_t""yes" 1>&6
21390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21391 cat >> confdefs.h <<EOF
21392 #define $ac_tr_func 1
21396 echo "$ac_t""no" 1>&6
21401 CXXFLAGS="$ac_save_CXXFLAGS"
21404 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21405 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21406 echo "configure:21407: checking for locale.h" >&5
21407 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21408 echo $ac_n "(cached) $ac_c" 1>&6
21410 cat > conftest.$ac_ext <<EOF
21411 #line 21412 "configure"
21412 #include "confdefs.h"
21413 #include <locale.h>
21415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21416 { (eval echo configure:21417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21418 if test -z "$ac_err"; then
21420 eval "ac_cv_header_$ac_safe=yes"
21423 echo "configure: failed program was:" >&5
21424 cat conftest.$ac_ext >&5
21426 eval "ac_cv_header_$ac_safe=no"
21430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21431 echo "$ac_t""yes" 1>&6
21433 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21434 echo "configure:21435: checking for LC_MESSAGES" >&5
21435 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21436 echo $ac_n "(cached) $ac_c" 1>&6
21438 cat > conftest.$ac_ext <<EOF
21439 #line 21440 "configure"
21440 #include "confdefs.h"
21441 #include <locale.h>
21446 if { (eval echo configure:21447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21448 ac_cv_val_LC_MESSAGES=yes
21450 echo "configure: failed program was:" >&5
21451 cat conftest.$ac_ext >&5
21453 ac_cv_val_LC_MESSAGES=no
21458 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21459 if test $ac_cv_val_LC_MESSAGES = yes; then
21460 cat >> confdefs.h <<\EOF
21461 #define HAVE_LC_MESSAGES 1
21467 echo "$ac_t""no" 1>&6
21472 cat > conftest.$ac_ext <<EOF
21473 #line 21474 "configure"
21474 #include "confdefs.h"
21476 #include <setjmp.h>
21479 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21482 if { (eval echo configure:21483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21484 cat >> confdefs.h <<\EOF
21485 #define HAVE_SIGSETJMP 1
21490 echo "configure: failed program was:" >&5
21491 cat conftest.$ac_ext >&5
21495 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21497 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21498 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21499 echo "configure:21500: checking for $ac_hdr" >&5
21500 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21501 echo $ac_n "(cached) $ac_c" 1>&6
21503 cat > conftest.$ac_ext <<EOF
21504 #line 21505 "configure"
21505 #include "confdefs.h"
21508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21509 { (eval echo configure:21510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21511 if test -z "$ac_err"; then
21513 eval "ac_cv_header_$ac_safe=yes"
21516 echo "configure: failed program was:" >&5
21517 cat conftest.$ac_ext >&5
21519 eval "ac_cv_header_$ac_safe=no"
21523 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21524 echo "$ac_t""yes" 1>&6
21525 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21526 cat >> confdefs.h <<EOF
21527 #define $ac_tr_hdr 1
21531 echo "$ac_t""no" 1>&6
21535 for ac_func in getpagesize
21537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21538 echo "configure:21539: checking for $ac_func" >&5
21539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21540 echo $ac_n "(cached) $ac_c" 1>&6
21542 cat > conftest.$ac_ext <<EOF
21543 #line 21544 "configure"
21544 #include "confdefs.h"
21545 /* System header to define __stub macros and hopefully few prototypes,
21546 which can conflict with char $ac_func(); below. */
21547 #include <assert.h>
21548 /* Override any gcc2 internal prototype to avoid an error. */
21549 /* We use char because int might match the return type of a gcc2
21550 builtin and then its argument prototype would still apply. */
21555 /* The GNU C library defines this for functions which it implements
21556 to always fail with ENOSYS. Some functions are actually named
21557 something starting with __ and the normal name is an alias. */
21558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21566 if { (eval echo configure:21567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21568 eval "ac_cv_func_$ac_func=yes"
21570 echo "configure: failed program was:" >&5
21571 cat conftest.$ac_ext >&5
21573 eval "ac_cv_func_$ac_func=no"
21578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21579 echo "$ac_t""yes" 1>&6
21580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21581 cat >> confdefs.h <<EOF
21582 #define $ac_tr_func 1
21586 echo "$ac_t""no" 1>&6
21590 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21591 echo "configure:21592: checking for working mmap" >&5
21592 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21593 echo $ac_n "(cached) $ac_c" 1>&6
21595 if test "$cross_compiling" = yes; then
21596 ac_cv_func_mmap_fixed_mapped=no
21598 cat > conftest.$ac_ext <<EOF
21599 #line 21600 "configure"
21600 #include "confdefs.h"
21602 /* Thanks to Mike Haertel and Jim Avera for this test.
21603 Here is a matrix of mmap possibilities:
21604 mmap private not fixed
21605 mmap private fixed at somewhere currently unmapped
21606 mmap private fixed at somewhere already mapped
21607 mmap shared not fixed
21608 mmap shared fixed at somewhere currently unmapped
21609 mmap shared fixed at somewhere already mapped
21610 For private mappings, we should verify that changes cannot be read()
21611 back from the file, nor mmap's back from the file at a different
21612 address. (There have been systems where private was not correctly
21613 implemented like the infamous i386 svr4.0, and systems where the
21614 VM page cache was not coherent with the filesystem buffer cache
21615 like early versions of FreeBSD and possibly contemporary NetBSD.)
21616 For shared mappings, we should conversely verify that changes get
21617 propogated back to all the places they're supposed to be.
21619 Grep wants private fixed already mapped.
21620 The main things grep needs to know about mmap are:
21621 * does it exist and is it safe to write into the mmap'd area
21622 * how to use it (BSD variants) */
21623 #include <sys/types.h>
21625 #include <sys/mman.h>
21627 #if HAVE_SYS_TYPES_H
21628 # include <sys/types.h>
21632 # include <stdlib.h>
21635 #if HAVE_SYS_STAT_H
21636 # include <sys/stat.h>
21640 # include <unistd.h>
21643 /* This mess was copied from the GNU getpagesize.h. */
21644 #ifndef HAVE_GETPAGESIZE
21646 /* Assume that all systems that can run configure have sys/param.h. */
21647 # ifndef HAVE_SYS_PARAM_H
21648 # define HAVE_SYS_PARAM_H 1
21651 # ifdef _SC_PAGESIZE
21652 # define getpagesize() sysconf(_SC_PAGESIZE)
21653 # else /* no _SC_PAGESIZE */
21654 # ifdef HAVE_SYS_PARAM_H
21655 # include <sys/param.h>
21656 # ifdef EXEC_PAGESIZE
21657 # define getpagesize() EXEC_PAGESIZE
21658 # else /* no EXEC_PAGESIZE */
21660 # define getpagesize() NBPG * CLSIZE
21663 # endif /* no CLSIZE */
21664 # else /* no NBPG */
21666 # define getpagesize() NBPC
21667 # else /* no NBPC */
21669 # define getpagesize() PAGESIZE
21670 # endif /* PAGESIZE */
21671 # endif /* no NBPC */
21672 # endif /* no NBPG */
21673 # endif /* no EXEC_PAGESIZE */
21674 # else /* no HAVE_SYS_PARAM_H */
21675 # define getpagesize() 8192 /* punt totally */
21676 # endif /* no HAVE_SYS_PARAM_H */
21677 # endif /* no _SC_PAGESIZE */
21679 #endif /* no HAVE_GETPAGESIZE */
21682 extern "C" { void *malloc(unsigned); }
21690 char *data, *data2, *data3;
21694 pagesize = getpagesize();
21697 * First, make a file with some known garbage in it.
21699 data = malloc(pagesize);
21702 for (i = 0; i < pagesize; ++i)
21703 *(data + i) = rand();
21705 fd = creat("conftestmmap", 0600);
21708 if (write(fd, data, pagesize) != pagesize)
21713 * Next, try to mmap the file at a fixed address which
21714 * already has something else allocated at it. If we can,
21715 * also make sure that we see the same garbage.
21717 fd = open("conftestmmap", O_RDWR);
21720 data2 = malloc(2 * pagesize);
21723 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21724 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21725 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21727 for (i = 0; i < pagesize; ++i)
21728 if (*(data + i) != *(data2 + i))
21732 * Finally, make sure that changes to the mapped area
21733 * do not percolate back to the file as seen by read().
21734 * (This is a bug on some variants of i386 svr4.0.)
21736 for (i = 0; i < pagesize; ++i)
21737 *(data2 + i) = *(data2 + i) + 1;
21738 data3 = malloc(pagesize);
21741 if (read(fd, data3, pagesize) != pagesize)
21743 for (i = 0; i < pagesize; ++i)
21744 if (*(data + i) != *(data3 + i))
21747 unlink("conftestmmap");
21752 if { (eval echo configure:21753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21754 ac_cv_func_mmap_fixed_mapped=yes
21756 echo "configure: failed program was:" >&5
21757 cat conftest.$ac_ext >&5
21759 ac_cv_func_mmap_fixed_mapped=no
21766 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21767 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21768 cat >> confdefs.h <<\EOF
21769 #define HAVE_MMAP 1
21775 # Establish limits on memory usage during 'make check'
21778 setrlimit_have_headers=yes
21779 for ac_hdr in unistd.h sys/time.h sys/resource.h
21781 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21782 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21783 echo "configure:21784: checking for $ac_hdr" >&5
21784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21785 echo $ac_n "(cached) $ac_c" 1>&6
21787 cat > conftest.$ac_ext <<EOF
21788 #line 21789 "configure"
21789 #include "confdefs.h"
21792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21793 { (eval echo configure:21794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21795 if test -z "$ac_err"; then
21797 eval "ac_cv_header_$ac_safe=yes"
21800 echo "configure: failed program was:" >&5
21801 cat conftest.$ac_ext >&5
21803 eval "ac_cv_header_$ac_safe=no"
21807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21808 echo "$ac_t""yes" 1>&6
21809 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21810 cat >> confdefs.h <<EOF
21811 #define $ac_tr_hdr 1
21815 echo "$ac_t""no" 1>&6
21816 setrlimit_have_headers=no
21820 # If don't have the headers, then we can't run the tests now, and we
21821 # won't be seeing any of these during testsuite compilation.
21822 if test $setrlimit_have_headers = yes; then
21823 # Can't do these in a loop, else the resulting syntax is wrong.
21825 cat > conftest.$ac_ext <<EOF
21826 #line 21827 "configure"
21827 #include "confdefs.h"
21828 #include <unistd.h>
21829 #include <sys/time.h>
21830 #include <sys/resource.h>
21833 int f = RLIMIT_DATA ;
21836 if { (eval echo configure:21837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21840 echo "configure: failed program was:" >&5
21841 cat conftest.$ac_ext >&5
21846 cat >> confdefs.h <<EOF
21847 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21852 cat > conftest.$ac_ext <<EOF
21853 #line 21854 "configure"
21854 #include "confdefs.h"
21855 #include <unistd.h>
21856 #include <sys/time.h>
21857 #include <sys/resource.h>
21860 int f = RLIMIT_RSS ;
21863 if { (eval echo configure:21864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21867 echo "configure: failed program was:" >&5
21868 cat conftest.$ac_ext >&5
21873 cat >> confdefs.h <<EOF
21874 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21879 cat > conftest.$ac_ext <<EOF
21880 #line 21881 "configure"
21881 #include "confdefs.h"
21882 #include <unistd.h>
21883 #include <sys/time.h>
21884 #include <sys/resource.h>
21887 int f = RLIMIT_VMEM ;
21890 if { (eval echo configure:21891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21894 echo "configure: failed program was:" >&5
21895 cat conftest.$ac_ext >&5
21900 cat >> confdefs.h <<EOF
21901 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21906 cat > conftest.$ac_ext <<EOF
21907 #line 21908 "configure"
21908 #include "confdefs.h"
21909 #include <unistd.h>
21910 #include <sys/time.h>
21911 #include <sys/resource.h>
21914 int f = RLIMIT_AS ;
21917 if { (eval echo configure:21918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21921 echo "configure: failed program was:" >&5
21922 cat conftest.$ac_ext >&5
21927 cat >> confdefs.h <<EOF
21928 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21933 # Check for rlimit, setrlimit.
21934 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21935 echo $ac_n "(cached) $ac_c" 1>&6
21938 cat > conftest.$ac_ext <<EOF
21939 #line 21940 "configure"
21940 #include "confdefs.h"
21941 #include <unistd.h>
21942 #include <sys/time.h>
21943 #include <sys/resource.h>
21946 struct rlimit r; setrlimit(0, &r);
21949 if { (eval echo configure:21950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21953 echo "configure: failed program was:" >&5
21954 cat conftest.$ac_ext >&5
21964 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21965 echo "configure:21966: checking for testsuite memory limit support" >&5
21966 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21968 cat >> confdefs.h <<\EOF
21969 #define _GLIBCPP_MEM_LIMITS 1
21975 echo "$ac_t""$ac_mem_limits" 1>&6
21978 # Look for setenv, so that extended locale tests can be performed.
21980 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21981 echo "configure:21982: checking for setenv declaration" >&5
21982 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21983 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21984 echo $ac_n "(cached) $ac_c" 1>&6
21989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21990 ac_cpp='$CXXCPP $CPPFLAGS'
21991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21993 cross_compiling=$ac_cv_prog_cxx_cross
21995 cat > conftest.$ac_ext <<EOF
21996 #line 21997 "configure"
21997 #include "confdefs.h"
21998 #include <stdlib.h>
22003 if { (eval echo configure:22004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22005 glibcpp_cv_func_setenv_use=yes
22007 echo "configure: failed program was:" >&5
22008 cat conftest.$ac_ext >&5
22010 glibcpp_cv_func_setenv_use=no
22014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22015 ac_cpp='$CPP $CPPFLAGS'
22016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22018 cross_compiling=$ac_cv_prog_cc_cross
22024 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22025 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22026 for ac_func in setenv
22028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22029 echo "configure:22030: checking for $ac_func" >&5
22030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22031 echo $ac_n "(cached) $ac_c" 1>&6
22033 cat > conftest.$ac_ext <<EOF
22034 #line 22035 "configure"
22035 #include "confdefs.h"
22036 /* System header to define __stub macros and hopefully few prototypes,
22037 which can conflict with char $ac_func(); below. */
22038 #include <assert.h>
22039 /* Override any gcc2 internal prototype to avoid an error. */
22040 /* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22046 /* The GNU C library defines this for functions which it implements
22047 to always fail with ENOSYS. Some functions are actually named
22048 something starting with __ and the normal name is an alias. */
22049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22057 if { (eval echo configure:22058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22059 eval "ac_cv_func_$ac_func=yes"
22061 echo "configure: failed program was:" >&5
22062 cat conftest.$ac_ext >&5
22064 eval "ac_cv_func_$ac_func=no"
22069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22070 echo "$ac_t""yes" 1>&6
22071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22072 cat >> confdefs.h <<EOF
22073 #define $ac_tr_func 1
22077 echo "$ac_t""no" 1>&6
22086 # This depends on the possibly-skipped linker test above.
22087 # Check whether --enable-symvers or --disable-symvers was given.
22088 if test "${enable_symvers+set}" = set; then
22089 enableval="$enable_symvers"
22090 case "$enableval" in
22091 yes) enable_symvers=yes ;;
22092 no) enable_symvers=no ;;
22093 # other names here, just as sanity checks
22094 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22095 gnu) enable_symvers=$enableval ;;
22096 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22102 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22103 # don't know enough about $LD to do tricks...
22104 if test x$enable_shared = xno ||
22106 test x$glibcpp_gnu_ld_version = x; then
22110 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22111 if test $enable_symvers != no; then
22112 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22113 echo "configure:22114: checking for shared libgcc" >&5
22114 ac_save_CFLAGS="$CFLAGS"
22116 cat > conftest.$ac_ext <<EOF
22117 #line 22118 "configure"
22118 #include "confdefs.h"
22124 if { (eval echo configure:22125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22126 glibcpp_shared_libgcc=yes
22128 echo "configure: failed program was:" >&5
22129 cat conftest.$ac_ext >&5
22131 glibcpp_shared_libgcc=no
22134 CFLAGS="$ac_save_CFLAGS"
22135 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22138 # For GNU ld, we need at least this version. It's 2.12 in the same format
22139 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22140 glibcpp_min_gnu_ld_version=21200
22142 # Check to see if unspecified "yes" value can win, given results
22144 if test $enable_symvers = yes ; then
22145 if test $with_gnu_ld = yes &&
22146 test $glibcpp_shared_libgcc = yes ;
22148 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22151 ac_test_CFLAGS="${CFLAGS+set}"
22152 ac_save_CFLAGS="$CFLAGS"
22153 CFLAGS='-shared -Wl,--version-script,conftest.map'
22156 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22158 cat > conftest.$ac_ext <<EOF
22159 #line 22160 "configure"
22160 #include "confdefs.h"
22166 if { (eval echo configure:22167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22170 echo "configure: failed program was:" >&5
22171 cat conftest.$ac_ext >&5
22174 if test "$ac_test_CFLAGS" = set; then
22175 CFLAGS="$ac_save_CFLAGS"
22177 # this is the suspicious part
22183 # just fail for now
22188 case $enable_symvers in
22190 LINKER_MAP=config/linker-map.dummy
22193 LINKER_MAP=config/linker-map.gnu
22200 if test $enable_symvers != no; then
22201 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22202 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22204 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22205 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22207 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22208 echo "configure:22209: checking versioning on shared library symbols" >&5
22209 echo "$ac_t""$enable_symvers" 1>&6
22212 # Propagate the target-specific source directories through the build chain.
22213 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22214 # CPULIMITSH [might] use it, and they only get used here.)
22215 OS_INC_SRCDIR=config/${os_include_dir}/bits
22216 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}/bits
22217 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}/bits
22222 # Set up cross-compile flags
22225 if test "$CANADIAN" = yes; then
22233 cat > confcache <<\EOF
22234 # This file is a shell script that caches the results of configure
22235 # tests run on this system so they can be shared between configure
22236 # scripts and configure runs. It is not useful on other systems.
22237 # If it contains results you don't want to keep, you may remove or edit it.
22239 # By default, configure uses ./config.cache as the cache file,
22240 # creating it if it does not exist already. You can give configure
22241 # the --cache-file=FILE option to use a different cache file; that is
22242 # what configure does when it calls configure scripts in
22243 # subdirectories, so they share the cache.
22244 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22245 # config.status only pays attention to the cache file if you give it the
22246 # --recheck option to rerun configure.
22249 # The following way of writing the cache mishandles newlines in values,
22250 # but we know of no workaround that is simple, portable, and efficient.
22251 # So, don't put newlines in cache variables' values.
22252 # Ultrix sh set writes to stderr and can't be redirected directly,
22253 # and sets the high bit in the cache file unless we assign to the vars.
22255 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22257 # `set' does not quote correctly, so add quotes (double-quote substitution
22258 # turns \\\\ into \\, and sed turns \\ into \).
22260 -e "s/'/'\\\\''/g" \
22261 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22264 # `set' quotes correctly as required by POSIX, so do not add quotes.
22265 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22268 if cmp -s $cache_file confcache; then
22271 if test -w $cache_file; then
22272 echo "updating cache $cache_file"
22273 cat confcache > $cache_file
22275 echo "not updating unwritable cache $cache_file"
22281 if test "${multilib}" = "yes"; then
22282 multilib_arg="--enable-multilib"
22287 # Needed so that g++ can find the correct include subdir automatically.
22290 # Export all the install information
22292 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22293 # exported correctly in GLIBCPP_CONFIGURE.
22294 glibcpp_toolexecdir=no
22295 glibcpp_toolexeclibdir=no
22296 glibcpp_prefixdir=${prefix}
22298 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
22299 echo "configure:22300: checking for interface version number" >&5
22300 libstdcxx_interface=$INTERFACE
22301 echo "$ac_t""$libstdcxx_interface" 1>&6
22303 # Process the option --with-gxx-include-dir=<path to include-files directory>
22304 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22305 echo "configure:22306: checking for --with-gxx-include-dir" >&5
22306 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22307 if test "${with_gxx_include_dir+set}" = set; then
22308 withval="$with_gxx_include_dir"
22309 case "${withval}" in
22311 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22318 gxx_include_dir=${withval}
22325 echo "$ac_t""$gxx_include_dir" 1>&6
22327 # Process the option "--enable-version-specific-runtime-libs"
22328 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22329 echo "configure:22330: checking for --enable-version-specific-runtime-libs" >&5
22330 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22331 if test "${enable_version_specific_runtime_libs+set}" = set; then
22332 enableval="$enable_version_specific_runtime_libs"
22333 case "$enableval" in
22334 yes) version_specific_libs=yes ;;
22335 no) version_specific_libs=no ;;
22336 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22339 version_specific_libs=no
22341 # Option set, now we can test it.
22342 echo "$ac_t""$version_specific_libs" 1>&6
22344 if test $version_specific_libs = yes; then
22345 # Need the gcc compiler version to know where to install libraries
22346 # and header files if --enable-version-specific-runtime-libs option
22348 gcc_version_trigger=${srcdir}/../gcc/version.c
22349 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22350 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22351 if test x"$gxx_include_dir" = x"no"; then
22352 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
22354 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22355 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22358 # Default case for install directory for include files.
22359 if test $version_specific_libs = no &&
22360 test $gxx_include_dir = no; then
22361 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
22364 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22365 # Install a library built with a cross compiler in tooldir, not libdir.
22366 if test x"$glibcpp_toolexecdir" = x"no"; then
22367 if test -n "$with_cross_host" &&
22368 test x"$with_cross_host" != x"no"; then
22369 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22370 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22372 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22373 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22377 echo $ac_n "checking for install location""... $ac_c" 1>&6
22378 echo "configure:22379: checking for install location" >&5
22379 echo "$ac_t""$gxx_include_dir" 1>&6
22387 # Export all the include and flag information to makefiles.
22389 # Root level of the build directory include sources.
22390 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22392 # Passed down for canadian crosses.
22393 if test x"$CANADIAN" = xyes; then
22394 TOPLEVEL_INCLUDES='-I$(includedir)'
22397 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22399 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22401 if test x"$need_libio" = xyes; then
22402 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22406 # Now, export this to all the little Makefiles....
22413 # Optimization flags that are probably a good idea for thrill-seekers. Just
22414 # uncomment the lines below and make, everything else is ready to go...
22415 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22419 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22423 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22424 grep "enable shared" > /dev/null; then
22425 LIBSUPCXX_PICFLAGS=-prefer-pic
22427 LIBSUPCXX_PICFLAGS=
22431 # Generate the various Makefiles, include files, and scripts.
22432 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22433 # and libsupc++/Makefile.am so that multilib installs will end up
22434 # installed in the correct place. To work around this not being passed
22435 # down from config-ml.in -> top_srcdir/Makefile.am ->
22436 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22438 cat > confcache <<\EOF
22439 # This file is a shell script that caches the results of configure
22440 # tests run on this system so they can be shared between configure
22441 # scripts and configure runs. It is not useful on other systems.
22442 # If it contains results you don't want to keep, you may remove or edit it.
22444 # By default, configure uses ./config.cache as the cache file,
22445 # creating it if it does not exist already. You can give configure
22446 # the --cache-file=FILE option to use a different cache file; that is
22447 # what configure does when it calls configure scripts in
22448 # subdirectories, so they share the cache.
22449 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22450 # config.status only pays attention to the cache file if you give it the
22451 # --recheck option to rerun configure.
22454 # The following way of writing the cache mishandles newlines in values,
22455 # but we know of no workaround that is simple, portable, and efficient.
22456 # So, don't put newlines in cache variables' values.
22457 # Ultrix sh set writes to stderr and can't be redirected directly,
22458 # and sets the high bit in the cache file unless we assign to the vars.
22460 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22462 # `set' does not quote correctly, so add quotes (double-quote substitution
22463 # turns \\\\ into \\, and sed turns \\ into \).
22465 -e "s/'/'\\\\''/g" \
22466 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22469 # `set' quotes correctly as required by POSIX, so do not add quotes.
22470 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22473 if cmp -s $cache_file confcache; then
22476 if test -w $cache_file; then
22477 echo "updating cache $cache_file"
22478 cat confcache > $cache_file
22480 echo "not updating unwritable cache $cache_file"
22485 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22487 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22488 # Let make expand exec_prefix.
22489 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22491 # Any assignment to VPATH causes Sun make to only execute
22492 # the first set of double-colon rules, so remove it if not needed.
22493 # If there is a colon in the path, we need to keep it.
22494 if test "x$srcdir" = x.; then
22495 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22498 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22500 DEFS=-DHAVE_CONFIG_H
22502 # Without the "./", some shells look in PATH for config.status.
22503 : ${CONFIG_STATUS=./config.status}
22505 echo creating $CONFIG_STATUS
22506 rm -f $CONFIG_STATUS
22507 cat > $CONFIG_STATUS <<EOF
22509 # Generated automatically by configure.
22510 # Run this file to recreate the current configuration.
22511 # This directory was configured as follows,
22512 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22514 # $0 $ac_configure_args
22516 # Compiler output produced by configure, useful for debugging
22517 # configure, is in ./config.log if it exists.
22519 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22522 case "\$ac_option" in
22523 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22524 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22525 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22526 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22527 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22529 -help | --help | --hel | --he | --h)
22530 echo "\$ac_cs_usage"; exit 0 ;;
22531 *) echo "\$ac_cs_usage"; exit 1 ;;
22535 ac_given_srcdir=$srcdir
22536 ac_given_INSTALL="$INSTALL"
22538 trap 'rm -fr `echo "Makefile \
22539 include/Makefile src/Makefile \
22540 libmath/Makefile libio/Makefile libsupc++/Makefile \
22541 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22543 cat >> $CONFIG_STATUS <<EOF
22545 # Protect against being on the right side of a sed subst in config.status.
22546 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22547 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22551 s%@CFLAGS@%$CFLAGS%g
22552 s%@CPPFLAGS@%$CPPFLAGS%g
22553 s%@CXXFLAGS@%$CXXFLAGS%g
22554 s%@FFLAGS@%$FFLAGS%g
22556 s%@LDFLAGS@%$LDFLAGS%g
22558 s%@exec_prefix@%$exec_prefix%g
22559 s%@prefix@%$prefix%g
22560 s%@program_transform_name@%$program_transform_name%g
22561 s%@bindir@%$bindir%g
22562 s%@sbindir@%$sbindir%g
22563 s%@libexecdir@%$libexecdir%g
22564 s%@datadir@%$datadir%g
22565 s%@sysconfdir@%$sysconfdir%g
22566 s%@sharedstatedir@%$sharedstatedir%g
22567 s%@localstatedir@%$localstatedir%g
22568 s%@libdir@%$libdir%g
22569 s%@includedir@%$includedir%g
22570 s%@oldincludedir@%$oldincludedir%g
22571 s%@infodir@%$infodir%g
22572 s%@mandir@%$mandir%g
22573 s%@PACKAGE@%$PACKAGE%g
22574 s%@release_VERSION@%$release_VERSION%g
22575 s%@libtool_VERSION@%$libtool_VERSION%g
22577 s%@host_alias@%$host_alias%g
22578 s%@host_cpu@%$host_cpu%g
22579 s%@host_vendor@%$host_vendor%g
22580 s%@host_os@%$host_os%g
22581 s%@target@%$target%g
22582 s%@target_alias@%$target_alias%g
22583 s%@target_cpu@%$target_cpu%g
22584 s%@target_vendor@%$target_vendor%g
22585 s%@target_os@%$target_os%g
22587 s%@build_alias@%$build_alias%g
22588 s%@build_cpu@%$build_cpu%g
22589 s%@build_vendor@%$build_vendor%g
22590 s%@build_os@%$build_os%g
22591 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22592 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22593 s%@INSTALL_DATA@%$INSTALL_DATA%g
22594 s%@VERSION@%$VERSION%g
22595 s%@ACLOCAL@%$ACLOCAL%g
22596 s%@AUTOCONF@%$AUTOCONF%g
22597 s%@AUTOMAKE@%$AUTOMAKE%g
22598 s%@AUTOHEADER@%$AUTOHEADER%g
22599 s%@MAKEINFO@%$MAKEINFO%g
22600 s%@SET_MAKE@%$SET_MAKE%g
22601 s%@toplevel_srcdir@%$toplevel_srcdir%g
22602 s%@glibcpp_builddir@%$glibcpp_builddir%g
22603 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22606 s%@glibcpp_basedir@%$glibcpp_basedir%g
22608 s%@glibcpp_CXX@%$glibcpp_CXX%g
22611 s%@RANLIB@%$RANLIB%g
22612 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22613 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22615 s%@EXEEXT@%$EXEEXT%g
22616 s%@OBJEXT@%$OBJEXT%g
22618 s%@LIBTOOL@%$LIBTOOL%g
22619 s%@CXXCPP@%$CXXCPP%g
22620 s%@enable_shared@%$enable_shared%g
22621 s%@enable_static@%$enable_static%g
22622 s%@ifGNUmake@%$ifGNUmake%g
22623 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22625 s%@CSTDIO_H@%$CSTDIO_H%g
22626 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22627 s%@CCODECVT_C@%$CCODECVT_C%g
22628 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22629 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22630 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22631 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22632 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22633 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22634 s%@libio_la@%$libio_la%g
22635 s%@check_msgfmt@%$check_msgfmt%g
22636 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22637 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22638 s%@glibcpp_localedir@%$glibcpp_localedir%g
22639 s%@USE_NLS@%$USE_NLS%g
22640 s%@CLOCALE_H@%$CLOCALE_H%g
22641 s%@CCODECVT_H@%$CCODECVT_H%g
22642 s%@CMESSAGES_H@%$CMESSAGES_H%g
22643 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
22644 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22645 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22646 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22647 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22648 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22649 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22650 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22651 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22652 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22653 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22654 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22655 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22656 s%@WERROR@%$WERROR%g
22657 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22658 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22659 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22660 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22661 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22662 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22663 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22664 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22665 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22666 s%@gxx_include_dir@%$gxx_include_dir%g
22667 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22668 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22669 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22670 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22671 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22672 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22673 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22674 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22675 s%@WARN_FLAGS@%$WARN_FLAGS%g
22676 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22681 cat >> $CONFIG_STATUS <<\EOF
22683 # Split the substitutions into bite-sized pieces for seds with
22684 # small command number limits, like on Digital OSF/1 and HP-UX.
22685 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22686 ac_file=1 # Number of current file.
22687 ac_beg=1 # First line for current file.
22688 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22691 while $ac_more_lines; do
22692 if test $ac_beg -gt 1; then
22693 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22695 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22697 if test ! -s conftest.s$ac_file; then
22698 ac_more_lines=false
22699 rm -f conftest.s$ac_file
22701 if test -z "$ac_sed_cmds"; then
22702 ac_sed_cmds="sed -f conftest.s$ac_file"
22704 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22706 ac_file=`expr $ac_file + 1`
22708 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22711 if test -z "$ac_sed_cmds"; then
22716 cat >> $CONFIG_STATUS <<EOF
22718 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22719 include/Makefile src/Makefile \
22720 libmath/Makefile libio/Makefile libsupc++/Makefile \
22721 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22723 cat >> $CONFIG_STATUS <<\EOF
22724 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22725 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22727 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22728 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22729 *) ac_file_in="${ac_file}.in" ;;
22732 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22734 # Remove last slash and all that follows it. Not all systems have dirname.
22735 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22736 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22737 # The file is in a subdirectory.
22738 test ! -d "$ac_dir" && mkdir "$ac_dir"
22739 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22740 # A "../" for each directory in $ac_dir_suffix.
22741 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22743 ac_dir_suffix= ac_dots=
22746 case "$ac_given_srcdir" in
22748 if test -z "$ac_dots"; then top_srcdir=.
22749 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22750 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22751 *) # Relative path.
22752 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22753 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22756 case "$ac_given_INSTALL" in
22757 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22758 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22761 echo creating "$ac_file"
22763 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22765 *Makefile*) ac_comsub="1i\\
22766 # $configure_input" ;;
22770 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22772 s%@configure_input@%$configure_input%g
22773 s%@srcdir@%$srcdir%g
22774 s%@top_srcdir@%$top_srcdir%g
22775 s%@INSTALL@%$INSTALL%g
22776 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22780 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22781 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22783 # ac_d sets the value in "#define NAME VALUE" lines.
22784 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22785 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22788 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22789 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22790 ac_uB='\([ ]\)%\1#\2define\3'
22793 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22794 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22795 ac_eB='$%\1#\2define\3'
22799 if test "${CONFIG_HEADERS+set}" != set; then
22801 cat >> $CONFIG_STATUS <<EOF
22802 CONFIG_HEADERS="config.h"
22804 cat >> $CONFIG_STATUS <<\EOF
22806 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22807 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22809 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22810 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22811 *) ac_file_in="${ac_file}.in" ;;
22814 echo creating $ac_file
22816 rm -f conftest.frag conftest.in conftest.out
22817 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22818 cat $ac_file_inputs > conftest.in
22822 # Transform confdefs.h into a sed script conftest.vals that substitutes
22823 # the proper values into config.h.in to produce config.h. And first:
22824 # Protect against being on the right side of a sed subst in config.status.
22825 # Protect against being in an unquoted here document in config.status.
22826 rm -f conftest.vals
22827 cat > conftest.hdr <<\EOF
22830 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22834 sed -n -f conftest.hdr confdefs.h > conftest.vals
22837 # This sed command replaces #undef with comments. This is necessary, for
22838 # example, in the case of _POSIX_SOURCE, which is predefined and required
22839 # on some systems where configure will not decide to define it.
22840 cat >> conftest.vals <<\EOF
22841 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22844 # Break up conftest.vals because some shells have a limit on
22845 # the size of here documents, and old seds have small limits too.
22847 rm -f conftest.tail
22850 ac_lines=`grep -c . conftest.vals`
22851 # grep -c gives empty output for an empty file on some AIX systems.
22852 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22853 # Write a limited-size here document to conftest.frag.
22854 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22855 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22857 sed -f conftest.frag conftest.in > conftest.out
22859 mv conftest.out conftest.in
22860 ' >> $CONFIG_STATUS
22861 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22862 rm -f conftest.vals
22863 mv conftest.tail conftest.vals
22865 rm -f conftest.vals
22867 cat >> $CONFIG_STATUS <<\EOF
22868 rm -f conftest.frag conftest.h
22869 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22870 cat conftest.in >> conftest.h
22872 if cmp -s $ac_file conftest.h 2>/dev/null; then
22873 echo "$ac_file is unchanged"
22876 # Remove last slash and all that follows it. Not all systems have dirname.
22877 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22878 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22879 # The file is in a subdirectory.
22880 test ! -d "$ac_dir" && mkdir "$ac_dir"
22883 mv conftest.h $ac_file
22889 cat >> $CONFIG_STATUS <<EOF
22890 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22891 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"
22894 cat >> $CONFIG_STATUS <<\EOF
22895 srcdir=$ac_given_srcdir
22896 while test -n "$ac_sources"; do
22897 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22898 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22900 echo "linking $srcdir/$ac_source to $ac_dest"
22902 if test ! -r $srcdir/$ac_source; then
22903 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22907 # Make relative symlinks.
22908 # Remove last slash and all that follows it. Not all systems have dirname.
22909 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22910 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22911 # The dest file is in a subdirectory.
22912 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22913 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22914 # A "../" for each directory in $ac_dest_dir_suffix.
22915 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22917 ac_dest_dir_suffix= ac_dots=
22921 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22922 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22925 # Make a symlink if possible; otherwise try a hard link.
22926 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22927 ln $srcdir/$ac_source $ac_dest; then :
22929 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22933 cat >> $CONFIG_STATUS <<EOF
22938 with_multisubdir=${with_multisubdir}
22939 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22940 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22941 glibcpp_basedir=${glibcpp_basedir}
22946 cat >> $CONFIG_STATUS <<\EOF
22947 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22948 if test -n "$CONFIG_FILES"; then
22949 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22950 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22951 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22952 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22955 chmod +x testsuite_flags
22959 chmod +x $CONFIG_STATUS
22960 rm -fr confdefs* $ac_clean_files
22961 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22965 # Sanity checking & User-visible messages.
22966 # Checks down here, otherwise they get scrolled off before
22967 # the user will notice.
22969 # Trying to get more people to read documentation. Possibly remove
22970 # check and warn all the time. There is no "informational" AC_MSG_
22971 # macro, so these are going to be printed even when --quiet/--silent
22973 if test ! -f stamp-sanity-warned; then
22974 touch stamp-sanity-warned
22976 echo "Please make certain that you read the installation information here:"
22977 echo " faster => ${srcdir}/docs/html/install.html"
22978 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22980 echo "and the configuration information here:"
22981 echo " faster => ${srcdir}/docs/html/configopts.html"
22982 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22984 echo "before proceeding with ${_cv_gnu_make_command}."