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 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3894 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3897 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3904 if test "$enable_cheaders" = c; then
3905 GLIBCPP_C_HEADERS_C_TRUE=
3906 GLIBCPP_C_HEADERS_C_FALSE='#'
3908 GLIBCPP_C_HEADERS_C_TRUE='#'
3909 GLIBCPP_C_HEADERS_C_FALSE=
3913 if test "$enable_cheaders" = c_std; then
3914 GLIBCPP_C_HEADERS_C_STD_TRUE=
3915 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3917 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3918 GLIBCPP_C_HEADERS_C_STD_FALSE=
3922 if test "$c_compatibility" = yes; then
3923 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3924 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3926 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3927 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3931 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3932 echo "configure:3933: checking for thread model used by GCC" >&5
3933 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3934 echo "$ac_t""$target_thread_file" 1>&6
3936 if test $target_thread_file != single; then
3937 cat >> confdefs.h <<\EOF
3938 #define HAVE_GTHR_DEFAULT 1
3941 cat >> confdefs.h <<\EOF
3942 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3947 glibcpp_thread_h=gthr-$target_thread_file.h
3950 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3951 if test "${enable_cxx_flags+set}" = set; then
3952 enableval="$enable_cxx_flags"
3953 case "x$enableval" in
3955 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3957 enable_cxx_flags='' ;;
3959 enable_cxx_flags="$enableval" ;;
3962 enable_cxx_flags='none'
3966 if test "$enable_cxx_flags" = "none"; then
3967 enable_cxx_flags='';
3970 if test -n "$enable_cxx_flags"; then
3971 for f in $enable_cxx_flags; do
3975 *) # and we're trying to pass /what/ exactly?
3976 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3980 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3984 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3985 echo "configure:3986: checking for exception model to use" >&5
3988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3989 ac_cpp='$CXXCPP $CPPFLAGS'
3990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3992 cross_compiling=$ac_cv_prog_cxx_cross
3994 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3995 if test "${enable_sjlj_exceptions+set}" = set; then
3996 enableval="$enable_sjlj_exceptions"
3999 cat > conftest.$ac_ext << EOF
4000 #line 4001 "configure"
4009 old_CXXFLAGS="$CXXFLAGS"
4011 if { (eval echo configure:4012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4012 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4013 enable_sjlj_exceptions=yes
4014 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4015 enable_sjlj_exceptions=no
4018 CXXFLAGS="$old_CXXFLAGS"
4022 if test x$enable_sjlj_exceptions = xyes; then
4023 cat >> confdefs.h <<\EOF
4024 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4027 ac_exception_model_name=sjlj
4028 elif test x$enable_sjlj_exceptions = xno; then
4029 ac_exception_model_name="call frame"
4031 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4035 ac_cpp='$CPP $CPPFLAGS'
4036 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4037 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4038 cross_compiling=$ac_cv_prog_cc_cross
4040 echo "$ac_t""$ac_exception_model_name" 1>&6
4043 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4044 echo "configure:4045: checking for use of libunwind" >&5
4045 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4046 if test "${enable_libunwind_exceptions+set}" = set; then
4047 enableval="$enable_libunwind_exceptions"
4048 use_libunwind_exceptions=$enableval
4050 use_libunwind_exceptions=no
4053 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4054 if test x"$use_libunwind_exceptions" = xyes; then
4055 LIBUNWIND_FLAG="-lunwind"
4061 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4062 if test "${enable_concept_checks+set}" = set; then
4063 enableval="$enable_concept_checks"
4064 case "$enableval" in
4065 yes) enable_concept_checks=yes ;;
4066 no) enable_concept_checks=no ;;
4067 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4070 enable_concept_checks=no
4072 if test x"$enable_concept_checks" = xyes; then
4073 cat >> confdefs.h <<\EOF
4074 #define _GLIBCPP_CONCEPT_CHECKS 1
4080 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4081 for ac_hdr in string.h stdlib.h
4083 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4084 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4085 echo "configure:4086: checking for $ac_hdr" >&5
4086 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4087 echo $ac_n "(cached) $ac_c" 1>&6
4089 cat > conftest.$ac_ext <<EOF
4090 #line 4091 "configure"
4091 #include "confdefs.h"
4094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4095 { (eval echo configure:4096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4097 if test -z "$ac_err"; then
4099 eval "ac_cv_header_$ac_safe=yes"
4102 echo "configure: failed program was:" >&5
4103 cat conftest.$ac_ext >&5
4105 eval "ac_cv_header_$ac_safe=no"
4109 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4110 echo "$ac_t""yes" 1>&6
4111 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4112 cat >> confdefs.h <<EOF
4113 #define $ac_tr_hdr 1
4117 echo "$ac_t""no" 1>&6
4122 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4124 # We are being configured with some form of cross compiler.
4125 GLIBCPP_IS_CROSS_COMPILING=1
4127 # This lets us hard-code the functionality we know we'll have in the cross
4128 # target environment. "Let" is a sugar-coated word placed on an especially
4129 # dull and tedious hack, actually.
4131 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4132 # that involve linking, can't be used:
4133 # "cannot open sim-crt0.o"
4134 # "cannot open crt0.o"
4135 # etc. All this is because there currently exists no unified, consistent
4136 # way for top level CC information to be passed down to target directories:
4137 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4138 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4139 # crosses can be removed.
4141 # If Canadian cross, then don't pick up tools from the build directory.
4142 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4143 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4149 # Construct crosses by hand, eliminating bits that need ld...
4150 # GLIBCPP_CHECK_COMPILER_FEATURES
4151 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4152 # GLIBCPP_CHECK_MATH_SUPPORT
4154 case "$target_alias" in
4156 os_include_dir="os/gnu-linux"
4157 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4158 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4159 fp.h locale.h float.h inttypes.h
4161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4163 echo "configure:4164: checking for $ac_hdr" >&5
4164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4165 echo $ac_n "(cached) $ac_c" 1>&6
4167 cat > conftest.$ac_ext <<EOF
4168 #line 4169 "configure"
4169 #include "confdefs.h"
4172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4173 { (eval echo configure:4174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4175 if test -z "$ac_err"; then
4177 eval "ac_cv_header_$ac_safe=yes"
4180 echo "configure: failed program was:" >&5
4181 cat conftest.$ac_ext >&5
4183 eval "ac_cv_header_$ac_safe=no"
4187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4188 echo "$ac_t""yes" 1>&6
4189 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4190 cat >> confdefs.h <<EOF
4191 #define $ac_tr_hdr 1
4195 echo "$ac_t""no" 1>&6
4199 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4202 # If we're not using GNU ld, then there's no point in even trying these
4203 # tests. Check for that first. We should have already tested for gld
4204 # by now (in libtool), but require it now just to be safe...
4205 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4206 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4209 # The name set by libtool depends on the version of libtool. Shame on us
4210 # for depending on an impl detail, but c'est la vie. Older versions used
4211 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4212 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4213 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4214 # set (hence we're using an older libtool), then set it.
4215 if test x${with_gnu_ld+set} != xset; then
4216 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4217 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4220 with_gnu_ld=$ac_cv_prog_gnu_ld
4224 # Start by getting the version number. I think the libtool test already
4225 # does some of this, but throws away the result.
4227 ldver=`$LD --version 2>/dev/null | head -1 | \
4228 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4230 glibcpp_gnu_ld_version=`echo $ldver | \
4231 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4233 # Set --gc-sections.
4234 if test "$with_gnu_ld" = "notbroken"; then
4235 # GNU ld it is! Joy and bunny rabbits!
4237 # All these tests are for C++; save the language and the compiler flags.
4238 # Need to do this so that g++ won't try to link in libstdc++
4239 ac_test_CFLAGS="${CFLAGS+set}"
4240 ac_save_CFLAGS="$CFLAGS"
4241 CFLAGS='-x c++ -Wl,--gc-sections'
4243 # Check for -Wl,--gc-sections
4244 # XXX This test is broken at the moment, as symbols required for
4245 # linking are now in libsupc++ (not built yet.....). In addition,
4246 # this test has cored on solaris in the past. In addition,
4247 # --gc-sections doesn't really work at the moment (keeps on discarding
4248 # used sections, first .eh_frame and now some of the glibc sections for
4249 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4250 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4251 echo "configure:4252: checking for ld that supports -Wl,--gc-sections" >&5
4252 if test "$cross_compiling" = yes; then
4253 ac_sectionLDflags=yes
4255 cat > conftest.$ac_ext <<EOF
4256 #line 4257 "configure"
4257 #include "confdefs.h"
4267 if { (eval echo configure:4268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4269 ac_sectionLDflags=yes
4271 echo "configure: failed program was:" >&5
4272 cat conftest.$ac_ext >&5
4274 ac_sectionLDflags=no
4279 if test "$ac_test_CFLAGS" = set; then
4280 CFLAGS="$ac_save_CFLAGS"
4282 # this is the suspicious part
4285 if test "$ac_sectionLDflags" = "yes"; then
4286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4288 echo "$ac_t""$ac_sectionLDflags" 1>&6
4291 # Set linker optimization flags.
4292 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4293 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4300 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4301 echo "configure:4302: checking for main in -lm" >&5
4302 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4304 echo $ac_n "(cached) $ac_c" 1>&6
4306 ac_save_LIBS="$LIBS"
4308 cat > conftest.$ac_ext <<EOF
4309 #line 4310 "configure"
4310 #include "confdefs.h"
4316 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4318 eval "ac_cv_lib_$ac_lib_var=yes"
4320 echo "configure: failed program was:" >&5
4321 cat conftest.$ac_ext >&5
4323 eval "ac_cv_lib_$ac_lib_var=no"
4326 LIBS="$ac_save_LIBS"
4329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4330 echo "$ac_t""yes" 1>&6
4331 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4332 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4333 cat >> confdefs.h <<EOF
4334 #define $ac_tr_lib 1
4340 echo "$ac_t""no" 1>&6
4343 for ac_func in nan copysignf
4345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4346 echo "configure:4347: checking for $ac_func" >&5
4347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4348 echo $ac_n "(cached) $ac_c" 1>&6
4350 cat > conftest.$ac_ext <<EOF
4351 #line 4352 "configure"
4352 #include "confdefs.h"
4353 /* System header to define __stub macros and hopefully few prototypes,
4354 which can conflict with char $ac_func(); below. */
4356 /* Override any gcc2 internal prototype to avoid an error. */
4357 /* We use char because int might match the return type of a gcc2
4358 builtin and then its argument prototype would still apply. */
4363 /* The GNU C library defines this for functions which it implements
4364 to always fail with ENOSYS. Some functions are actually named
4365 something starting with __ and the normal name is an alias. */
4366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4374 if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4376 eval "ac_cv_func_$ac_func=yes"
4378 echo "configure: failed program was:" >&5
4379 cat conftest.$ac_ext >&5
4381 eval "ac_cv_func_$ac_func=no"
4386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4387 echo "$ac_t""yes" 1>&6
4388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4389 cat >> confdefs.h <<EOF
4390 #define $ac_tr_func 1
4394 echo "$ac_t""no" 1>&6
4395 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4400 for ac_func in __signbit
4402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4403 echo "configure:4404: checking for $ac_func" >&5
4404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4405 echo $ac_n "(cached) $ac_c" 1>&6
4407 cat > conftest.$ac_ext <<EOF
4408 #line 4409 "configure"
4409 #include "confdefs.h"
4410 /* System header to define __stub macros and hopefully few prototypes,
4411 which can conflict with char $ac_func(); below. */
4413 /* Override any gcc2 internal prototype to avoid an error. */
4414 /* We use char because int might match the return type of a gcc2
4415 builtin and then its argument prototype would still apply. */
4420 /* The GNU C library defines this for functions which it implements
4421 to always fail with ENOSYS. Some functions are actually named
4422 something starting with __ and the normal name is an alias. */
4423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4431 if { (eval echo configure:4432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4433 eval "ac_cv_func_$ac_func=yes"
4435 echo "configure: failed program was:" >&5
4436 cat conftest.$ac_ext >&5
4438 eval "ac_cv_func_$ac_func=no"
4443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4444 echo "$ac_t""yes" 1>&6
4445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4446 cat >> confdefs.h <<EOF
4447 #define $ac_tr_func 1
4451 echo "$ac_t""no" 1>&6
4452 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4456 for ac_func in __signbitf
4458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4459 echo "configure:4460: checking for $ac_func" >&5
4460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4461 echo $ac_n "(cached) $ac_c" 1>&6
4463 cat > conftest.$ac_ext <<EOF
4464 #line 4465 "configure"
4465 #include "confdefs.h"
4466 /* System header to define __stub macros and hopefully few prototypes,
4467 which can conflict with char $ac_func(); below. */
4469 /* Override any gcc2 internal prototype to avoid an error. */
4470 /* We use char because int might match the return type of a gcc2
4471 builtin and then its argument prototype would still apply. */
4476 /* The GNU C library defines this for functions which it implements
4477 to always fail with ENOSYS. Some functions are actually named
4478 something starting with __ and the normal name is an alias. */
4479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4489 eval "ac_cv_func_$ac_func=yes"
4491 echo "configure: failed program was:" >&5
4492 cat conftest.$ac_ext >&5
4494 eval "ac_cv_func_$ac_func=no"
4499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4500 echo "$ac_t""yes" 1>&6
4501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4502 cat >> confdefs.h <<EOF
4503 #define $ac_tr_func 1
4507 echo "$ac_t""no" 1>&6
4508 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4513 if test x$ac_cv_func_copysignl = x"yes"; then
4514 for ac_func in __signbitl
4516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4517 echo "configure:4518: checking for $ac_func" >&5
4518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4519 echo $ac_n "(cached) $ac_c" 1>&6
4521 cat > conftest.$ac_ext <<EOF
4522 #line 4523 "configure"
4523 #include "confdefs.h"
4524 /* System header to define __stub macros and hopefully few prototypes,
4525 which can conflict with char $ac_func(); below. */
4527 /* Override any gcc2 internal prototype to avoid an error. */
4528 /* We use char because int might match the return type of a gcc2
4529 builtin and then its argument prototype would still apply. */
4534 /* The GNU C library defines this for functions which it implements
4535 to always fail with ENOSYS. Some functions are actually named
4536 something starting with __ and the normal name is an alias. */
4537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4545 if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4547 eval "ac_cv_func_$ac_func=yes"
4549 echo "configure: failed program was:" >&5
4550 cat conftest.$ac_ext >&5
4552 eval "ac_cv_func_$ac_func=no"
4557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4558 echo "$ac_t""yes" 1>&6
4559 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4560 cat >> confdefs.h <<EOF
4561 #define $ac_tr_func 1
4565 echo "$ac_t""no" 1>&6
4566 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4576 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4577 echo "configure:4578: checking for mbstate_t" >&5
4578 cat > conftest.$ac_ext <<EOF
4579 #line 4580 "configure"
4580 #include "confdefs.h"
4583 mbstate_t teststate;
4586 if { (eval echo configure:4587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4590 echo "configure: failed program was:" >&5
4591 cat conftest.$ac_ext >&5
4596 echo "$ac_t""$have_mbstate_t" 1>&6
4597 if test x"$have_mbstate_t" = xyes; then
4598 cat >> confdefs.h <<\EOF
4599 #define HAVE_MBSTATE_T 1
4604 for ac_hdr in wchar.h
4606 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4607 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4608 echo "configure:4609: checking for $ac_hdr" >&5
4609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4610 echo $ac_n "(cached) $ac_c" 1>&6
4612 cat > conftest.$ac_ext <<EOF
4613 #line 4614 "configure"
4614 #include "confdefs.h"
4617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4618 { (eval echo configure:4619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4620 if test -z "$ac_err"; then
4622 eval "ac_cv_header_$ac_safe=yes"
4625 echo "configure: failed program was:" >&5
4626 cat conftest.$ac_ext >&5
4628 eval "ac_cv_header_$ac_safe=no"
4632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4633 echo "$ac_t""yes" 1>&6
4634 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4635 cat >> confdefs.h <<EOF
4636 #define $ac_tr_hdr 1
4640 echo "$ac_t""no" 1>&6
4645 for ac_hdr in wctype.h
4647 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4649 echo "configure:4650: checking for $ac_hdr" >&5
4650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4651 echo $ac_n "(cached) $ac_c" 1>&6
4653 cat > conftest.$ac_ext <<EOF
4654 #line 4655 "configure"
4655 #include "confdefs.h"
4658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4659 { (eval echo configure:4660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4661 if test -z "$ac_err"; then
4663 eval "ac_cv_header_$ac_safe=yes"
4666 echo "configure: failed program was:" >&5
4667 cat conftest.$ac_ext >&5
4669 eval "ac_cv_header_$ac_safe=no"
4673 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4674 echo "$ac_t""yes" 1>&6
4675 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4676 cat >> confdefs.h <<EOF
4677 #define $ac_tr_hdr 1
4681 echo "$ac_t""no" 1>&6
4687 if test x"$ac_has_wchar_h" = xyes &&
4688 test x"$ac_has_wctype_h" = xyes &&
4689 test x"$enable_c_mbchar" != xno; then
4691 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4692 echo "configure:4693: checking for WCHAR_MIN and WCHAR_MAX" >&5
4693 cat > conftest.$ac_ext <<EOF
4694 #line 4695 "configure"
4695 #include "confdefs.h"
4698 int i = WCHAR_MIN; int j = WCHAR_MAX;
4701 if { (eval echo configure:4702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4703 has_wchar_minmax=yes
4705 echo "configure: failed program was:" >&5
4706 cat conftest.$ac_ext >&5
4711 echo "$ac_t""$has_wchar_minmax" 1>&6
4713 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4714 echo "configure:4715: checking for WEOF" >&5
4715 cat > conftest.$ac_ext <<EOF
4716 #line 4717 "configure"
4717 #include "confdefs.h"
4725 if { (eval echo configure:4726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4729 echo "configure: failed program was:" >&5
4730 cat conftest.$ac_ext >&5
4735 echo "$ac_t""$has_weof" 1>&6
4738 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4741 echo "configure:4742: checking for $ac_func" >&5
4742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4743 echo $ac_n "(cached) $ac_c" 1>&6
4745 cat > conftest.$ac_ext <<EOF
4746 #line 4747 "configure"
4747 #include "confdefs.h"
4748 /* System header to define __stub macros and hopefully few prototypes,
4749 which can conflict with char $ac_func(); below. */
4751 /* Override any gcc2 internal prototype to avoid an error. */
4752 /* We use char because int might match the return type of a gcc2
4753 builtin and then its argument prototype would still apply. */
4758 /* The GNU C library defines this for functions which it implements
4759 to always fail with ENOSYS. Some functions are actually named
4760 something starting with __ and the normal name is an alias. */
4761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4771 eval "ac_cv_func_$ac_func=yes"
4773 echo "configure: failed program was:" >&5
4774 cat conftest.$ac_ext >&5
4776 eval "ac_cv_func_$ac_func=no"
4781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4782 echo "$ac_t""yes" 1>&6
4783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4784 cat >> confdefs.h <<EOF
4785 #define $ac_tr_func 1
4789 echo "$ac_t""no" 1>&6
4796 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4797 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4798 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4799 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4800 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4801 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4804 echo "configure:4805: checking for $ac_func" >&5
4805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4806 echo $ac_n "(cached) $ac_c" 1>&6
4808 cat > conftest.$ac_ext <<EOF
4809 #line 4810 "configure"
4810 #include "confdefs.h"
4811 /* System header to define __stub macros and hopefully few prototypes,
4812 which can conflict with char $ac_func(); below. */
4814 /* Override any gcc2 internal prototype to avoid an error. */
4815 /* We use char because int might match the return type of a gcc2
4816 builtin and then its argument prototype would still apply. */
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4832 if { (eval echo configure:4833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4834 eval "ac_cv_func_$ac_func=yes"
4836 echo "configure: failed program was:" >&5
4837 cat conftest.$ac_ext >&5
4839 eval "ac_cv_func_$ac_func=no"
4844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4845 echo "$ac_t""yes" 1>&6
4846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4847 cat >> confdefs.h <<EOF
4848 #define $ac_tr_func 1
4852 echo "$ac_t""no" 1>&6
4859 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4860 echo "configure:4861: checking for ISO C99 wchar_t support" >&5
4861 if test x"$has_weof" = xyes &&
4862 test x"$has_wchar_minmax" = xyes &&
4863 test x"$ac_wfuncs" = xyes; then
4864 ac_isoC99_wchar_t=yes
4866 ac_isoC99_wchar_t=no
4868 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4870 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4871 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4872 echo "configure:4873: checking for iconv.h" >&5
4873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4874 echo $ac_n "(cached) $ac_c" 1>&6
4876 cat > conftest.$ac_ext <<EOF
4877 #line 4878 "configure"
4878 #include "confdefs.h"
4881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4882 { (eval echo configure:4883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4884 if test -z "$ac_err"; then
4886 eval "ac_cv_header_$ac_safe=yes"
4889 echo "configure: failed program was:" >&5
4890 cat conftest.$ac_ext >&5
4892 eval "ac_cv_header_$ac_safe=no"
4896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4897 echo "$ac_t""yes" 1>&6
4900 echo "$ac_t""no" 1>&6
4904 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4905 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4906 echo "configure:4907: checking for langinfo.h" >&5
4907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4908 echo $ac_n "(cached) $ac_c" 1>&6
4910 cat > conftest.$ac_ext <<EOF
4911 #line 4912 "configure"
4912 #include "confdefs.h"
4913 #include <langinfo.h>
4915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4916 { (eval echo configure:4917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4918 if test -z "$ac_err"; then
4920 eval "ac_cv_header_$ac_safe=yes"
4923 echo "configure: failed program was:" >&5
4924 cat conftest.$ac_ext >&5
4926 eval "ac_cv_header_$ac_safe=no"
4930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4931 echo "$ac_t""yes" 1>&6
4932 ac_has_langinfo_h=yes
4934 echo "$ac_t""no" 1>&6
4935 ac_has_langinfo_h=no
4939 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4940 echo "configure:4941: checking for iconv in -liconv" >&5
4941 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4943 echo $ac_n "(cached) $ac_c" 1>&6
4945 ac_save_LIBS="$LIBS"
4946 LIBS="-liconv $LIBS"
4947 cat > conftest.$ac_ext <<EOF
4948 #line 4949 "configure"
4949 #include "confdefs.h"
4950 /* Override any gcc2 internal prototype to avoid an error. */
4951 /* We use char because int might match the return type of a gcc2
4952 builtin and then its argument prototype would still apply. */
4959 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4961 eval "ac_cv_lib_$ac_lib_var=yes"
4963 echo "configure: failed program was:" >&5
4964 cat conftest.$ac_ext >&5
4966 eval "ac_cv_lib_$ac_lib_var=no"
4969 LIBS="$ac_save_LIBS"
4972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4973 echo "$ac_t""yes" 1>&6
4976 echo "$ac_t""no" 1>&6
4979 ac_save_LIBS="$LIBS"
4980 LIBS="$LIBS $libiconv"
4982 for ac_func in iconv_open iconv_close iconv nl_langinfo
4984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4985 echo "configure:4986: checking for $ac_func" >&5
4986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4987 echo $ac_n "(cached) $ac_c" 1>&6
4989 cat > conftest.$ac_ext <<EOF
4990 #line 4991 "configure"
4991 #include "confdefs.h"
4992 /* System header to define __stub macros and hopefully few prototypes,
4993 which can conflict with char $ac_func(); below. */
4995 /* Override any gcc2 internal prototype to avoid an error. */
4996 /* We use char because int might match the return type of a gcc2
4997 builtin and then its argument prototype would still apply. */
5002 /* The GNU C library defines this for functions which it implements
5003 to always fail with ENOSYS. Some functions are actually named
5004 something starting with __ and the normal name is an alias. */
5005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5013 if { (eval echo configure:5014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5015 eval "ac_cv_func_$ac_func=yes"
5017 echo "configure: failed program was:" >&5
5018 cat conftest.$ac_ext >&5
5020 eval "ac_cv_func_$ac_func=no"
5025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5026 echo "$ac_t""yes" 1>&6
5027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5028 cat >> confdefs.h <<EOF
5029 #define $ac_tr_func 1
5034 echo "$ac_t""no" 1>&6
5040 LIBS="$ac_save_LIBS"
5042 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5043 echo "configure:5044: checking for XPG2 wchar_t support" >&5
5044 if test x"$ac_has_iconv_h" = xyes &&
5045 test x"$ac_has_langinfo_h" = xyes &&
5046 test x"$ac_XPG2funcs" = xyes; then
5051 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5053 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5054 echo "configure:5055: checking for enabled wchar_t specializations" >&5
5055 if test x"$ac_isoC99_wchar_t" = xyes &&
5056 test x"$ac_XPG2_wchar_t" = xyes; then
5057 cat >> confdefs.h <<\EOF
5058 #define _GLIBCPP_USE_WCHAR_T 1
5061 echo "$ac_t"""yes"" 1>&6
5063 echo "$ac_t"""no"" 1>&6
5066 echo "configure: warning: wchar_t support disabled." 1>&2
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_COPYSIGN 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_COPYSIGNF 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_FINITE 1
5081 cat >> confdefs.h <<\EOF
5082 #define HAVE_FINITEF 1
5085 cat >> confdefs.h <<\EOF
5086 #define HAVE_FREXPF 1
5089 cat >> confdefs.h <<\EOF
5090 #define HAVE_HYPOTF 1
5093 cat >> confdefs.h <<\EOF
5094 #define HAVE_ISINF 1
5097 cat >> confdefs.h <<\EOF
5098 #define HAVE_ISINFF 1
5101 cat >> confdefs.h <<\EOF
5102 #define HAVE_ISNAN 1
5105 cat >> confdefs.h <<\EOF
5106 #define HAVE_ISNANF 1
5109 cat >> confdefs.h <<\EOF
5110 #define HAVE_SINCOS 1
5113 cat >> confdefs.h <<\EOF
5114 #define HAVE_SINCOSF 1
5117 if test x"long_double_math_on_this_cpu" = x"yes"; then
5118 cat >> confdefs.h <<\EOF
5119 #define HAVE_FINITEL 1
5122 cat >> confdefs.h <<\EOF
5123 #define HAVE_HYPOTL 1
5126 cat >> confdefs.h <<\EOF
5127 #define HAVE_ISINFL 1
5130 cat >> confdefs.h <<\EOF
5131 #define HAVE_ISNANL 1
5137 # Check for available headers.
5138 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5139 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5140 fp.h locale.h float.h inttypes.h
5142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5144 echo "configure:5145: checking for $ac_hdr" >&5
5145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5146 echo $ac_n "(cached) $ac_c" 1>&6
5148 cat > conftest.$ac_ext <<EOF
5149 #line 5150 "configure"
5150 #include "confdefs.h"
5153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5154 { (eval echo configure:5155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5156 if test -z "$ac_err"; then
5158 eval "ac_cv_header_$ac_safe=yes"
5161 echo "configure: failed program was:" >&5
5162 cat conftest.$ac_ext >&5
5164 eval "ac_cv_header_$ac_safe=no"
5168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5169 echo "$ac_t""yes" 1>&6
5170 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5171 cat >> confdefs.h <<EOF
5172 #define $ac_tr_hdr 1
5176 echo "$ac_t""no" 1>&6
5180 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5183 # If we're not using GNU ld, then there's no point in even trying these
5184 # tests. Check for that first. We should have already tested for gld
5185 # by now (in libtool), but require it now just to be safe...
5186 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5187 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5190 # The name set by libtool depends on the version of libtool. Shame on us
5191 # for depending on an impl detail, but c'est la vie. Older versions used
5192 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5193 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5194 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5195 # set (hence we're using an older libtool), then set it.
5196 if test x${with_gnu_ld+set} != xset; then
5197 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5198 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5201 with_gnu_ld=$ac_cv_prog_gnu_ld
5205 # Start by getting the version number. I think the libtool test already
5206 # does some of this, but throws away the result.
5208 ldver=`$LD --version 2>/dev/null | head -1 | \
5209 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5211 glibcpp_gnu_ld_version=`echo $ldver | \
5212 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5214 # Set --gc-sections.
5215 if test "$with_gnu_ld" = "notbroken"; then
5216 # GNU ld it is! Joy and bunny rabbits!
5218 # All these tests are for C++; save the language and the compiler flags.
5219 # Need to do this so that g++ won't try to link in libstdc++
5220 ac_test_CFLAGS="${CFLAGS+set}"
5221 ac_save_CFLAGS="$CFLAGS"
5222 CFLAGS='-x c++ -Wl,--gc-sections'
5224 # Check for -Wl,--gc-sections
5225 # XXX This test is broken at the moment, as symbols required for
5226 # linking are now in libsupc++ (not built yet.....). In addition,
5227 # this test has cored on solaris in the past. In addition,
5228 # --gc-sections doesn't really work at the moment (keeps on discarding
5229 # used sections, first .eh_frame and now some of the glibc sections for
5230 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5231 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5232 echo "configure:5233: checking for ld that supports -Wl,--gc-sections" >&5
5233 if test "$cross_compiling" = yes; then
5234 ac_sectionLDflags=yes
5236 cat > conftest.$ac_ext <<EOF
5237 #line 5238 "configure"
5238 #include "confdefs.h"
5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5250 ac_sectionLDflags=yes
5252 echo "configure: failed program was:" >&5
5253 cat conftest.$ac_ext >&5
5255 ac_sectionLDflags=no
5260 if test "$ac_test_CFLAGS" = set; then
5261 CFLAGS="$ac_save_CFLAGS"
5263 # this is the suspicious part
5266 if test "$ac_sectionLDflags" = "yes"; then
5267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5269 echo "$ac_t""$ac_sectionLDflags" 1>&6
5272 # Set linker optimization flags.
5273 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5274 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5281 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5282 echo "configure:5283: checking for main in -lm" >&5
5283 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5285 echo $ac_n "(cached) $ac_c" 1>&6
5287 ac_save_LIBS="$LIBS"
5289 cat > conftest.$ac_ext <<EOF
5290 #line 5291 "configure"
5291 #include "confdefs.h"
5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5299 eval "ac_cv_lib_$ac_lib_var=yes"
5301 echo "configure: failed program was:" >&5
5302 cat conftest.$ac_ext >&5
5304 eval "ac_cv_lib_$ac_lib_var=no"
5307 LIBS="$ac_save_LIBS"
5310 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5311 echo "$ac_t""yes" 1>&6
5312 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5313 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5314 cat >> confdefs.h <<EOF
5315 #define $ac_tr_lib 1
5321 echo "$ac_t""no" 1>&6
5324 for ac_func in nan copysignf
5326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5327 echo "configure:5328: checking for $ac_func" >&5
5328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5329 echo $ac_n "(cached) $ac_c" 1>&6
5331 cat > conftest.$ac_ext <<EOF
5332 #line 5333 "configure"
5333 #include "confdefs.h"
5334 /* System header to define __stub macros and hopefully few prototypes,
5335 which can conflict with char $ac_func(); below. */
5337 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */
5344 /* The GNU C library defines this for functions which it implements
5345 to always fail with ENOSYS. Some functions are actually named
5346 something starting with __ and the normal name is an alias. */
5347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5357 eval "ac_cv_func_$ac_func=yes"
5359 echo "configure: failed program was:" >&5
5360 cat conftest.$ac_ext >&5
5362 eval "ac_cv_func_$ac_func=no"
5367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5368 echo "$ac_t""yes" 1>&6
5369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5370 cat >> confdefs.h <<EOF
5371 #define $ac_tr_func 1
5375 echo "$ac_t""no" 1>&6
5376 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5381 for ac_func in __signbit
5383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5384 echo "configure:5385: checking for $ac_func" >&5
5385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5386 echo $ac_n "(cached) $ac_c" 1>&6
5388 cat > conftest.$ac_ext <<EOF
5389 #line 5390 "configure"
5390 #include "confdefs.h"
5391 /* System header to define __stub macros and hopefully few prototypes,
5392 which can conflict with char $ac_func(); below. */
5394 /* Override any gcc2 internal prototype to avoid an error. */
5395 /* We use char because int might match the return type of a gcc2
5396 builtin and then its argument prototype would still apply. */
5401 /* The GNU C library defines this for functions which it implements
5402 to always fail with ENOSYS. Some functions are actually named
5403 something starting with __ and the normal name is an alias. */
5404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5412 if { (eval echo configure:5413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5414 eval "ac_cv_func_$ac_func=yes"
5416 echo "configure: failed program was:" >&5
5417 cat conftest.$ac_ext >&5
5419 eval "ac_cv_func_$ac_func=no"
5424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5425 echo "$ac_t""yes" 1>&6
5426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5427 cat >> confdefs.h <<EOF
5428 #define $ac_tr_func 1
5432 echo "$ac_t""no" 1>&6
5433 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5437 for ac_func in __signbitf
5439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5440 echo "configure:5441: checking for $ac_func" >&5
5441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5442 echo $ac_n "(cached) $ac_c" 1>&6
5444 cat > conftest.$ac_ext <<EOF
5445 #line 5446 "configure"
5446 #include "confdefs.h"
5447 /* System header to define __stub macros and hopefully few prototypes,
5448 which can conflict with char $ac_func(); below. */
5450 /* Override any gcc2 internal prototype to avoid an error. */
5451 /* We use char because int might match the return type of a gcc2
5452 builtin and then its argument prototype would still apply. */
5457 /* The GNU C library defines this for functions which it implements
5458 to always fail with ENOSYS. Some functions are actually named
5459 something starting with __ and the normal name is an alias. */
5460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5468 if { (eval echo configure:5469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5470 eval "ac_cv_func_$ac_func=yes"
5472 echo "configure: failed program was:" >&5
5473 cat conftest.$ac_ext >&5
5475 eval "ac_cv_func_$ac_func=no"
5480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5481 echo "$ac_t""yes" 1>&6
5482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5483 cat >> confdefs.h <<EOF
5484 #define $ac_tr_func 1
5488 echo "$ac_t""no" 1>&6
5489 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5494 if test x$ac_cv_func_copysignl = x"yes"; then
5495 for ac_func in __signbitl
5497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5498 echo "configure:5499: checking for $ac_func" >&5
5499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5500 echo $ac_n "(cached) $ac_c" 1>&6
5502 cat > conftest.$ac_ext <<EOF
5503 #line 5504 "configure"
5504 #include "confdefs.h"
5505 /* System header to define __stub macros and hopefully few prototypes,
5506 which can conflict with char $ac_func(); below. */
5508 /* Override any gcc2 internal prototype to avoid an error. */
5509 /* We use char because int might match the return type of a gcc2
5510 builtin and then its argument prototype would still apply. */
5515 /* The GNU C library defines this for functions which it implements
5516 to always fail with ENOSYS. Some functions are actually named
5517 something starting with __ and the normal name is an alias. */
5518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5528 eval "ac_cv_func_$ac_func=yes"
5530 echo "configure: failed program was:" >&5
5531 cat conftest.$ac_ext >&5
5533 eval "ac_cv_func_$ac_func=no"
5538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5539 echo "$ac_t""yes" 1>&6
5540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5541 cat >> confdefs.h <<EOF
5542 #define $ac_tr_func 1
5546 echo "$ac_t""no" 1>&6
5547 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5557 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5558 echo "configure:5559: checking for mbstate_t" >&5
5559 cat > conftest.$ac_ext <<EOF
5560 #line 5561 "configure"
5561 #include "confdefs.h"
5564 mbstate_t teststate;
5567 if { (eval echo configure:5568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5571 echo "configure: failed program was:" >&5
5572 cat conftest.$ac_ext >&5
5577 echo "$ac_t""$have_mbstate_t" 1>&6
5578 if test x"$have_mbstate_t" = xyes; then
5579 cat >> confdefs.h <<\EOF
5580 #define HAVE_MBSTATE_T 1
5585 for ac_hdr in wchar.h
5587 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5588 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5589 echo "configure:5590: checking for $ac_hdr" >&5
5590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5591 echo $ac_n "(cached) $ac_c" 1>&6
5593 cat > conftest.$ac_ext <<EOF
5594 #line 5595 "configure"
5595 #include "confdefs.h"
5598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5599 { (eval echo configure:5600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5601 if test -z "$ac_err"; then
5603 eval "ac_cv_header_$ac_safe=yes"
5606 echo "configure: failed program was:" >&5
5607 cat conftest.$ac_ext >&5
5609 eval "ac_cv_header_$ac_safe=no"
5613 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5614 echo "$ac_t""yes" 1>&6
5615 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5616 cat >> confdefs.h <<EOF
5617 #define $ac_tr_hdr 1
5621 echo "$ac_t""no" 1>&6
5626 for ac_hdr in wctype.h
5628 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5629 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5630 echo "configure:5631: checking for $ac_hdr" >&5
5631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5632 echo $ac_n "(cached) $ac_c" 1>&6
5634 cat > conftest.$ac_ext <<EOF
5635 #line 5636 "configure"
5636 #include "confdefs.h"
5639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5640 { (eval echo configure:5641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5642 if test -z "$ac_err"; then
5644 eval "ac_cv_header_$ac_safe=yes"
5647 echo "configure: failed program was:" >&5
5648 cat conftest.$ac_ext >&5
5650 eval "ac_cv_header_$ac_safe=no"
5654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5655 echo "$ac_t""yes" 1>&6
5656 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5657 cat >> confdefs.h <<EOF
5658 #define $ac_tr_hdr 1
5662 echo "$ac_t""no" 1>&6
5668 if test x"$ac_has_wchar_h" = xyes &&
5669 test x"$ac_has_wctype_h" = xyes &&
5670 test x"$enable_c_mbchar" != xno; then
5672 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5673 echo "configure:5674: checking for WCHAR_MIN and WCHAR_MAX" >&5
5674 cat > conftest.$ac_ext <<EOF
5675 #line 5676 "configure"
5676 #include "confdefs.h"
5679 int i = WCHAR_MIN; int j = WCHAR_MAX;
5682 if { (eval echo configure:5683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5684 has_wchar_minmax=yes
5686 echo "configure: failed program was:" >&5
5687 cat conftest.$ac_ext >&5
5692 echo "$ac_t""$has_wchar_minmax" 1>&6
5694 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5695 echo "configure:5696: checking for WEOF" >&5
5696 cat > conftest.$ac_ext <<EOF
5697 #line 5698 "configure"
5698 #include "confdefs.h"
5706 if { (eval echo configure:5707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5710 echo "configure: failed program was:" >&5
5711 cat conftest.$ac_ext >&5
5716 echo "$ac_t""$has_weof" 1>&6
5719 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5722 echo "configure:5723: checking for $ac_func" >&5
5723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5724 echo $ac_n "(cached) $ac_c" 1>&6
5726 cat > conftest.$ac_ext <<EOF
5727 #line 5728 "configure"
5728 #include "confdefs.h"
5729 /* System header to define __stub macros and hopefully few prototypes,
5730 which can conflict with char $ac_func(); below. */
5732 /* Override any gcc2 internal prototype to avoid an error. */
5733 /* We use char because int might match the return type of a gcc2
5734 builtin and then its argument prototype would still apply. */
5739 /* The GNU C library defines this for functions which it implements
5740 to always fail with ENOSYS. Some functions are actually named
5741 something starting with __ and the normal name is an alias. */
5742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5750 if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5752 eval "ac_cv_func_$ac_func=yes"
5754 echo "configure: failed program was:" >&5
5755 cat conftest.$ac_ext >&5
5757 eval "ac_cv_func_$ac_func=no"
5762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5763 echo "$ac_t""yes" 1>&6
5764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5765 cat >> confdefs.h <<EOF
5766 #define $ac_tr_func 1
5770 echo "$ac_t""no" 1>&6
5777 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5778 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5779 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5780 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5781 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5782 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5785 echo "configure:5786: checking for $ac_func" >&5
5786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5787 echo $ac_n "(cached) $ac_c" 1>&6
5789 cat > conftest.$ac_ext <<EOF
5790 #line 5791 "configure"
5791 #include "confdefs.h"
5792 /* System header to define __stub macros and hopefully few prototypes,
5793 which can conflict with char $ac_func(); below. */
5795 /* Override any gcc2 internal prototype to avoid an error. */
5796 /* We use char because int might match the return type of a gcc2
5797 builtin and then its argument prototype would still apply. */
5802 /* The GNU C library defines this for functions which it implements
5803 to always fail with ENOSYS. Some functions are actually named
5804 something starting with __ and the normal name is an alias. */
5805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5815 eval "ac_cv_func_$ac_func=yes"
5817 echo "configure: failed program was:" >&5
5818 cat conftest.$ac_ext >&5
5820 eval "ac_cv_func_$ac_func=no"
5825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5826 echo "$ac_t""yes" 1>&6
5827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5828 cat >> confdefs.h <<EOF
5829 #define $ac_tr_func 1
5833 echo "$ac_t""no" 1>&6
5840 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5841 echo "configure:5842: checking for ISO C99 wchar_t support" >&5
5842 if test x"$has_weof" = xyes &&
5843 test x"$has_wchar_minmax" = xyes &&
5844 test x"$ac_wfuncs" = xyes; then
5845 ac_isoC99_wchar_t=yes
5847 ac_isoC99_wchar_t=no
5849 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5851 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5852 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5853 echo "configure:5854: checking for iconv.h" >&5
5854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5855 echo $ac_n "(cached) $ac_c" 1>&6
5857 cat > conftest.$ac_ext <<EOF
5858 #line 5859 "configure"
5859 #include "confdefs.h"
5862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5863 { (eval echo configure:5864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5865 if test -z "$ac_err"; then
5867 eval "ac_cv_header_$ac_safe=yes"
5870 echo "configure: failed program was:" >&5
5871 cat conftest.$ac_ext >&5
5873 eval "ac_cv_header_$ac_safe=no"
5877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5878 echo "$ac_t""yes" 1>&6
5881 echo "$ac_t""no" 1>&6
5885 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5886 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5887 echo "configure:5888: checking for langinfo.h" >&5
5888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5889 echo $ac_n "(cached) $ac_c" 1>&6
5891 cat > conftest.$ac_ext <<EOF
5892 #line 5893 "configure"
5893 #include "confdefs.h"
5894 #include <langinfo.h>
5896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5897 { (eval echo configure:5898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5899 if test -z "$ac_err"; then
5901 eval "ac_cv_header_$ac_safe=yes"
5904 echo "configure: failed program was:" >&5
5905 cat conftest.$ac_ext >&5
5907 eval "ac_cv_header_$ac_safe=no"
5911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5912 echo "$ac_t""yes" 1>&6
5913 ac_has_langinfo_h=yes
5915 echo "$ac_t""no" 1>&6
5916 ac_has_langinfo_h=no
5920 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5921 echo "configure:5922: checking for iconv in -liconv" >&5
5922 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5923 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5924 echo $ac_n "(cached) $ac_c" 1>&6
5926 ac_save_LIBS="$LIBS"
5927 LIBS="-liconv $LIBS"
5928 cat > conftest.$ac_ext <<EOF
5929 #line 5930 "configure"
5930 #include "confdefs.h"
5931 /* Override any gcc2 internal prototype to avoid an error. */
5932 /* We use char because int might match the return type of a gcc2
5933 builtin and then its argument prototype would still apply. */
5940 if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5942 eval "ac_cv_lib_$ac_lib_var=yes"
5944 echo "configure: failed program was:" >&5
5945 cat conftest.$ac_ext >&5
5947 eval "ac_cv_lib_$ac_lib_var=no"
5950 LIBS="$ac_save_LIBS"
5953 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5954 echo "$ac_t""yes" 1>&6
5957 echo "$ac_t""no" 1>&6
5960 ac_save_LIBS="$LIBS"
5961 LIBS="$LIBS $libiconv"
5963 for ac_func in iconv_open iconv_close iconv nl_langinfo
5965 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5966 echo "configure:5967: checking for $ac_func" >&5
5967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5968 echo $ac_n "(cached) $ac_c" 1>&6
5970 cat > conftest.$ac_ext <<EOF
5971 #line 5972 "configure"
5972 #include "confdefs.h"
5973 /* System header to define __stub macros and hopefully few prototypes,
5974 which can conflict with char $ac_func(); below. */
5976 /* Override any gcc2 internal prototype to avoid an error. */
5977 /* We use char because int might match the return type of a gcc2
5978 builtin and then its argument prototype would still apply. */
5983 /* The GNU C library defines this for functions which it implements
5984 to always fail with ENOSYS. Some functions are actually named
5985 something starting with __ and the normal name is an alias. */
5986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5994 if { (eval echo configure:5995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5996 eval "ac_cv_func_$ac_func=yes"
5998 echo "configure: failed program was:" >&5
5999 cat conftest.$ac_ext >&5
6001 eval "ac_cv_func_$ac_func=no"
6006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6007 echo "$ac_t""yes" 1>&6
6008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6009 cat >> confdefs.h <<EOF
6010 #define $ac_tr_func 1
6015 echo "$ac_t""no" 1>&6
6021 LIBS="$ac_save_LIBS"
6023 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6024 echo "configure:6025: checking for XPG2 wchar_t support" >&5
6025 if test x"$ac_has_iconv_h" = xyes &&
6026 test x"$ac_has_langinfo_h" = xyes &&
6027 test x"$ac_XPG2funcs" = xyes; then
6032 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6034 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6035 echo "configure:6036: checking for enabled wchar_t specializations" >&5
6036 if test x"$ac_isoC99_wchar_t" = xyes &&
6037 test x"$ac_XPG2_wchar_t" = xyes; then
6038 cat >> confdefs.h <<\EOF
6039 #define _GLIBCPP_USE_WCHAR_T 1
6042 echo "$ac_t"""yes"" 1>&6
6044 echo "$ac_t"""no"" 1>&6
6047 echo "configure: warning: wchar_t support disabled." 1>&2
6050 os_include_dir="os/hpux"
6051 cat >> confdefs.h <<\EOF
6052 #define HAVE_COPYSIGN 1
6055 cat >> confdefs.h <<\EOF
6056 #define HAVE_COPYSIGNF 1
6059 cat >> confdefs.h <<\EOF
6060 #define HAVE_FREXPF 1
6063 cat >> confdefs.h <<\EOF
6064 #define HAVE_HYPOT 1
6067 case "$target_alias" in
6069 cat >> confdefs.h <<\EOF
6070 #define HAVE_FINITE 1
6073 cat >> confdefs.h <<\EOF
6074 #define HAVE_FINITEF 1
6077 cat >> confdefs.h <<\EOF
6078 #define HAVE_ISINF 1
6081 cat >> confdefs.h <<\EOF
6082 #define HAVE_ISINFF 1
6085 cat >> confdefs.h <<\EOF
6086 #define HAVE_ISNAN 1
6089 cat >> confdefs.h <<\EOF
6090 #define HAVE_ISNANF 1
6098 # Check for available headers.
6099 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6100 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6101 fp.h locale.h float.h inttypes.h
6103 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6104 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6105 echo "configure:6106: checking for $ac_hdr" >&5
6106 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6107 echo $ac_n "(cached) $ac_c" 1>&6
6109 cat > conftest.$ac_ext <<EOF
6110 #line 6111 "configure"
6111 #include "confdefs.h"
6114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6115 { (eval echo configure:6116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6117 if test -z "$ac_err"; then
6119 eval "ac_cv_header_$ac_safe=yes"
6122 echo "configure: failed program was:" >&5
6123 cat conftest.$ac_ext >&5
6125 eval "ac_cv_header_$ac_safe=no"
6129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6130 echo "$ac_t""yes" 1>&6
6131 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6132 cat >> confdefs.h <<EOF
6133 #define $ac_tr_hdr 1
6137 echo "$ac_t""no" 1>&6
6141 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6144 # If we're not using GNU ld, then there's no point in even trying these
6145 # tests. Check for that first. We should have already tested for gld
6146 # by now (in libtool), but require it now just to be safe...
6147 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6148 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6151 # The name set by libtool depends on the version of libtool. Shame on us
6152 # for depending on an impl detail, but c'est la vie. Older versions used
6153 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6154 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6155 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6156 # set (hence we're using an older libtool), then set it.
6157 if test x${with_gnu_ld+set} != xset; then
6158 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6159 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6162 with_gnu_ld=$ac_cv_prog_gnu_ld
6166 # Start by getting the version number. I think the libtool test already
6167 # does some of this, but throws away the result.
6169 ldver=`$LD --version 2>/dev/null | head -1 | \
6170 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6172 glibcpp_gnu_ld_version=`echo $ldver | \
6173 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6175 # Set --gc-sections.
6176 if test "$with_gnu_ld" = "notbroken"; then
6177 # GNU ld it is! Joy and bunny rabbits!
6179 # All these tests are for C++; save the language and the compiler flags.
6180 # Need to do this so that g++ won't try to link in libstdc++
6181 ac_test_CFLAGS="${CFLAGS+set}"
6182 ac_save_CFLAGS="$CFLAGS"
6183 CFLAGS='-x c++ -Wl,--gc-sections'
6185 # Check for -Wl,--gc-sections
6186 # XXX This test is broken at the moment, as symbols required for
6187 # linking are now in libsupc++ (not built yet.....). In addition,
6188 # this test has cored on solaris in the past. In addition,
6189 # --gc-sections doesn't really work at the moment (keeps on discarding
6190 # used sections, first .eh_frame and now some of the glibc sections for
6191 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6192 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6193 echo "configure:6194: checking for ld that supports -Wl,--gc-sections" >&5
6194 if test "$cross_compiling" = yes; then
6195 ac_sectionLDflags=yes
6197 cat > conftest.$ac_ext <<EOF
6198 #line 6199 "configure"
6199 #include "confdefs.h"
6209 if { (eval echo configure:6210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6211 ac_sectionLDflags=yes
6213 echo "configure: failed program was:" >&5
6214 cat conftest.$ac_ext >&5
6216 ac_sectionLDflags=no
6221 if test "$ac_test_CFLAGS" = set; then
6222 CFLAGS="$ac_save_CFLAGS"
6224 # this is the suspicious part
6227 if test "$ac_sectionLDflags" = "yes"; then
6228 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6230 echo "$ac_t""$ac_sectionLDflags" 1>&6
6233 # Set linker optimization flags.
6234 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6235 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6242 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6243 echo "configure:6244: checking for main in -lm" >&5
6244 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6245 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6246 echo $ac_n "(cached) $ac_c" 1>&6
6248 ac_save_LIBS="$LIBS"
6250 cat > conftest.$ac_ext <<EOF
6251 #line 6252 "configure"
6252 #include "confdefs.h"
6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6260 eval "ac_cv_lib_$ac_lib_var=yes"
6262 echo "configure: failed program was:" >&5
6263 cat conftest.$ac_ext >&5
6265 eval "ac_cv_lib_$ac_lib_var=no"
6268 LIBS="$ac_save_LIBS"
6271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6272 echo "$ac_t""yes" 1>&6
6273 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6274 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6275 cat >> confdefs.h <<EOF
6276 #define $ac_tr_lib 1
6282 echo "$ac_t""no" 1>&6
6285 for ac_func in nan copysignf
6287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6288 echo "configure:6289: checking for $ac_func" >&5
6289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6290 echo $ac_n "(cached) $ac_c" 1>&6
6292 cat > conftest.$ac_ext <<EOF
6293 #line 6294 "configure"
6294 #include "confdefs.h"
6295 /* System header to define __stub macros and hopefully few prototypes,
6296 which can conflict with char $ac_func(); below. */
6298 /* Override any gcc2 internal prototype to avoid an error. */
6299 /* We use char because int might match the return type of a gcc2
6300 builtin and then its argument prototype would still apply. */
6305 /* The GNU C library defines this for functions which it implements
6306 to always fail with ENOSYS. Some functions are actually named
6307 something starting with __ and the normal name is an alias. */
6308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6316 if { (eval echo configure:6317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6318 eval "ac_cv_func_$ac_func=yes"
6320 echo "configure: failed program was:" >&5
6321 cat conftest.$ac_ext >&5
6323 eval "ac_cv_func_$ac_func=no"
6328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6329 echo "$ac_t""yes" 1>&6
6330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6331 cat >> confdefs.h <<EOF
6332 #define $ac_tr_func 1
6336 echo "$ac_t""no" 1>&6
6337 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6342 for ac_func in __signbit
6344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6345 echo "configure:6346: checking for $ac_func" >&5
6346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6347 echo $ac_n "(cached) $ac_c" 1>&6
6349 cat > conftest.$ac_ext <<EOF
6350 #line 6351 "configure"
6351 #include "confdefs.h"
6352 /* System header to define __stub macros and hopefully few prototypes,
6353 which can conflict with char $ac_func(); below. */
6355 /* Override any gcc2 internal prototype to avoid an error. */
6356 /* We use char because int might match the return type of a gcc2
6357 builtin and then its argument prototype would still apply. */
6362 /* The GNU C library defines this for functions which it implements
6363 to always fail with ENOSYS. Some functions are actually named
6364 something starting with __ and the normal name is an alias. */
6365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6373 if { (eval echo configure:6374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6375 eval "ac_cv_func_$ac_func=yes"
6377 echo "configure: failed program was:" >&5
6378 cat conftest.$ac_ext >&5
6380 eval "ac_cv_func_$ac_func=no"
6385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6386 echo "$ac_t""yes" 1>&6
6387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6388 cat >> confdefs.h <<EOF
6389 #define $ac_tr_func 1
6393 echo "$ac_t""no" 1>&6
6394 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6398 for ac_func in __signbitf
6400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6401 echo "configure:6402: checking for $ac_func" >&5
6402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6403 echo $ac_n "(cached) $ac_c" 1>&6
6405 cat > conftest.$ac_ext <<EOF
6406 #line 6407 "configure"
6407 #include "confdefs.h"
6408 /* System header to define __stub macros and hopefully few prototypes,
6409 which can conflict with char $ac_func(); below. */
6411 /* Override any gcc2 internal prototype to avoid an error. */
6412 /* We use char because int might match the return type of a gcc2
6413 builtin and then its argument prototype would still apply. */
6418 /* The GNU C library defines this for functions which it implements
6419 to always fail with ENOSYS. Some functions are actually named
6420 something starting with __ and the normal name is an alias. */
6421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6429 if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6431 eval "ac_cv_func_$ac_func=yes"
6433 echo "configure: failed program was:" >&5
6434 cat conftest.$ac_ext >&5
6436 eval "ac_cv_func_$ac_func=no"
6441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6442 echo "$ac_t""yes" 1>&6
6443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6444 cat >> confdefs.h <<EOF
6445 #define $ac_tr_func 1
6449 echo "$ac_t""no" 1>&6
6450 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6455 if test x$ac_cv_func_copysignl = x"yes"; then
6456 for ac_func in __signbitl
6458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6459 echo "configure:6460: checking for $ac_func" >&5
6460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6461 echo $ac_n "(cached) $ac_c" 1>&6
6463 cat > conftest.$ac_ext <<EOF
6464 #line 6465 "configure"
6465 #include "confdefs.h"
6466 /* System header to define __stub macros and hopefully few prototypes,
6467 which can conflict with char $ac_func(); below. */
6469 /* Override any gcc2 internal prototype to avoid an error. */
6470 /* We use char because int might match the return type of a gcc2
6471 builtin and then its argument prototype would still apply. */
6476 /* The GNU C library defines this for functions which it implements
6477 to always fail with ENOSYS. Some functions are actually named
6478 something starting with __ and the normal name is an alias. */
6479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6489 eval "ac_cv_func_$ac_func=yes"
6491 echo "configure: failed program was:" >&5
6492 cat conftest.$ac_ext >&5
6494 eval "ac_cv_func_$ac_func=no"
6499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6500 echo "$ac_t""yes" 1>&6
6501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6502 cat >> confdefs.h <<EOF
6503 #define $ac_tr_func 1
6507 echo "$ac_t""no" 1>&6
6508 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6518 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6519 echo "configure:6520: checking for mbstate_t" >&5
6520 cat > conftest.$ac_ext <<EOF
6521 #line 6522 "configure"
6522 #include "confdefs.h"
6525 mbstate_t teststate;
6528 if { (eval echo configure:6529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6532 echo "configure: failed program was:" >&5
6533 cat conftest.$ac_ext >&5
6538 echo "$ac_t""$have_mbstate_t" 1>&6
6539 if test x"$have_mbstate_t" = xyes; then
6540 cat >> confdefs.h <<\EOF
6541 #define HAVE_MBSTATE_T 1
6546 for ac_hdr in wchar.h
6548 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6549 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6550 echo "configure:6551: checking for $ac_hdr" >&5
6551 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6552 echo $ac_n "(cached) $ac_c" 1>&6
6554 cat > conftest.$ac_ext <<EOF
6555 #line 6556 "configure"
6556 #include "confdefs.h"
6559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6560 { (eval echo configure:6561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6562 if test -z "$ac_err"; then
6564 eval "ac_cv_header_$ac_safe=yes"
6567 echo "configure: failed program was:" >&5
6568 cat conftest.$ac_ext >&5
6570 eval "ac_cv_header_$ac_safe=no"
6574 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6575 echo "$ac_t""yes" 1>&6
6576 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6577 cat >> confdefs.h <<EOF
6578 #define $ac_tr_hdr 1
6582 echo "$ac_t""no" 1>&6
6587 for ac_hdr in wctype.h
6589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6591 echo "configure:6592: checking for $ac_hdr" >&5
6592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6593 echo $ac_n "(cached) $ac_c" 1>&6
6595 cat > conftest.$ac_ext <<EOF
6596 #line 6597 "configure"
6597 #include "confdefs.h"
6600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6601 { (eval echo configure:6602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6603 if test -z "$ac_err"; then
6605 eval "ac_cv_header_$ac_safe=yes"
6608 echo "configure: failed program was:" >&5
6609 cat conftest.$ac_ext >&5
6611 eval "ac_cv_header_$ac_safe=no"
6615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6616 echo "$ac_t""yes" 1>&6
6617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6618 cat >> confdefs.h <<EOF
6619 #define $ac_tr_hdr 1
6623 echo "$ac_t""no" 1>&6
6629 if test x"$ac_has_wchar_h" = xyes &&
6630 test x"$ac_has_wctype_h" = xyes &&
6631 test x"$enable_c_mbchar" != xno; then
6633 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6634 echo "configure:6635: checking for WCHAR_MIN and WCHAR_MAX" >&5
6635 cat > conftest.$ac_ext <<EOF
6636 #line 6637 "configure"
6637 #include "confdefs.h"
6640 int i = WCHAR_MIN; int j = WCHAR_MAX;
6643 if { (eval echo configure:6644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6645 has_wchar_minmax=yes
6647 echo "configure: failed program was:" >&5
6648 cat conftest.$ac_ext >&5
6653 echo "$ac_t""$has_wchar_minmax" 1>&6
6655 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6656 echo "configure:6657: checking for WEOF" >&5
6657 cat > conftest.$ac_ext <<EOF
6658 #line 6659 "configure"
6659 #include "confdefs.h"
6667 if { (eval echo configure:6668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6671 echo "configure: failed program was:" >&5
6672 cat conftest.$ac_ext >&5
6677 echo "$ac_t""$has_weof" 1>&6
6680 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6683 echo "configure:6684: checking for $ac_func" >&5
6684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6685 echo $ac_n "(cached) $ac_c" 1>&6
6687 cat > conftest.$ac_ext <<EOF
6688 #line 6689 "configure"
6689 #include "confdefs.h"
6690 /* System header to define __stub macros and hopefully few prototypes,
6691 which can conflict with char $ac_func(); below. */
6693 /* Override any gcc2 internal prototype to avoid an error. */
6694 /* We use char because int might match the return type of a gcc2
6695 builtin and then its argument prototype would still apply. */
6700 /* The GNU C library defines this for functions which it implements
6701 to always fail with ENOSYS. Some functions are actually named
6702 something starting with __ and the normal name is an alias. */
6703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6711 if { (eval echo configure:6712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6713 eval "ac_cv_func_$ac_func=yes"
6715 echo "configure: failed program was:" >&5
6716 cat conftest.$ac_ext >&5
6718 eval "ac_cv_func_$ac_func=no"
6723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6724 echo "$ac_t""yes" 1>&6
6725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6726 cat >> confdefs.h <<EOF
6727 #define $ac_tr_func 1
6731 echo "$ac_t""no" 1>&6
6738 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6739 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6740 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6741 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6742 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6743 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6746 echo "configure:6747: checking for $ac_func" >&5
6747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6748 echo $ac_n "(cached) $ac_c" 1>&6
6750 cat > conftest.$ac_ext <<EOF
6751 #line 6752 "configure"
6752 #include "confdefs.h"
6753 /* System header to define __stub macros and hopefully few prototypes,
6754 which can conflict with char $ac_func(); below. */
6756 /* Override any gcc2 internal prototype to avoid an error. */
6757 /* We use char because int might match the return type of a gcc2
6758 builtin and then its argument prototype would still apply. */
6763 /* The GNU C library defines this for functions which it implements
6764 to always fail with ENOSYS. Some functions are actually named
6765 something starting with __ and the normal name is an alias. */
6766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6776 eval "ac_cv_func_$ac_func=yes"
6778 echo "configure: failed program was:" >&5
6779 cat conftest.$ac_ext >&5
6781 eval "ac_cv_func_$ac_func=no"
6786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6787 echo "$ac_t""yes" 1>&6
6788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6789 cat >> confdefs.h <<EOF
6790 #define $ac_tr_func 1
6794 echo "$ac_t""no" 1>&6
6801 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6802 echo "configure:6803: checking for ISO C99 wchar_t support" >&5
6803 if test x"$has_weof" = xyes &&
6804 test x"$has_wchar_minmax" = xyes &&
6805 test x"$ac_wfuncs" = xyes; then
6806 ac_isoC99_wchar_t=yes
6808 ac_isoC99_wchar_t=no
6810 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6812 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6813 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6814 echo "configure:6815: checking for iconv.h" >&5
6815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6816 echo $ac_n "(cached) $ac_c" 1>&6
6818 cat > conftest.$ac_ext <<EOF
6819 #line 6820 "configure"
6820 #include "confdefs.h"
6823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6824 { (eval echo configure:6825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6826 if test -z "$ac_err"; then
6828 eval "ac_cv_header_$ac_safe=yes"
6831 echo "configure: failed program was:" >&5
6832 cat conftest.$ac_ext >&5
6834 eval "ac_cv_header_$ac_safe=no"
6838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6839 echo "$ac_t""yes" 1>&6
6842 echo "$ac_t""no" 1>&6
6846 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6847 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6848 echo "configure:6849: checking for langinfo.h" >&5
6849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6850 echo $ac_n "(cached) $ac_c" 1>&6
6852 cat > conftest.$ac_ext <<EOF
6853 #line 6854 "configure"
6854 #include "confdefs.h"
6855 #include <langinfo.h>
6857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6858 { (eval echo configure:6859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6860 if test -z "$ac_err"; then
6862 eval "ac_cv_header_$ac_safe=yes"
6865 echo "configure: failed program was:" >&5
6866 cat conftest.$ac_ext >&5
6868 eval "ac_cv_header_$ac_safe=no"
6872 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6873 echo "$ac_t""yes" 1>&6
6874 ac_has_langinfo_h=yes
6876 echo "$ac_t""no" 1>&6
6877 ac_has_langinfo_h=no
6881 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6882 echo "configure:6883: checking for iconv in -liconv" >&5
6883 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6884 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6885 echo $ac_n "(cached) $ac_c" 1>&6
6887 ac_save_LIBS="$LIBS"
6888 LIBS="-liconv $LIBS"
6889 cat > conftest.$ac_ext <<EOF
6890 #line 6891 "configure"
6891 #include "confdefs.h"
6892 /* Override any gcc2 internal prototype to avoid an error. */
6893 /* We use char because int might match the return type of a gcc2
6894 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
6905 echo "configure: failed program was:" >&5
6906 cat conftest.$ac_ext >&5
6908 eval "ac_cv_lib_$ac_lib_var=no"
6911 LIBS="$ac_save_LIBS"
6914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6915 echo "$ac_t""yes" 1>&6
6918 echo "$ac_t""no" 1>&6
6921 ac_save_LIBS="$LIBS"
6922 LIBS="$LIBS $libiconv"
6924 for ac_func in iconv_open iconv_close iconv nl_langinfo
6926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6927 echo "configure:6928: checking for $ac_func" >&5
6928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6929 echo $ac_n "(cached) $ac_c" 1>&6
6931 cat > conftest.$ac_ext <<EOF
6932 #line 6933 "configure"
6933 #include "confdefs.h"
6934 /* System header to define __stub macros and hopefully few prototypes,
6935 which can conflict with char $ac_func(); below. */
6937 /* Override any gcc2 internal prototype to avoid an error. */
6938 /* We use char because int might match the return type of a gcc2
6939 builtin and then its argument prototype would still apply. */
6944 /* The GNU C library defines this for functions which it implements
6945 to always fail with ENOSYS. Some functions are actually named
6946 something starting with __ and the normal name is an alias. */
6947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6955 if { (eval echo configure:6956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6957 eval "ac_cv_func_$ac_func=yes"
6959 echo "configure: failed program was:" >&5
6960 cat conftest.$ac_ext >&5
6962 eval "ac_cv_func_$ac_func=no"
6967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6968 echo "$ac_t""yes" 1>&6
6969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6970 cat >> confdefs.h <<EOF
6971 #define $ac_tr_func 1
6976 echo "$ac_t""no" 1>&6
6982 LIBS="$ac_save_LIBS"
6984 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6985 echo "configure:6986: checking for XPG2 wchar_t support" >&5
6986 if test x"$ac_has_iconv_h" = xyes &&
6987 test x"$ac_has_langinfo_h" = xyes &&
6988 test x"$ac_XPG2funcs" = xyes; then
6993 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6995 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6996 echo "configure:6997: checking for enabled wchar_t specializations" >&5
6997 if test x"$ac_isoC99_wchar_t" = xyes &&
6998 test x"$ac_XPG2_wchar_t" = xyes; then
6999 cat >> confdefs.h <<\EOF
7000 #define _GLIBCPP_USE_WCHAR_T 1
7003 echo "$ac_t"""yes"" 1>&6
7005 echo "$ac_t"""no"" 1>&6
7008 echo "configure: warning: wchar_t support disabled." 1>&2
7011 os_include_dir="os/bsd/netbsd"
7012 cat >> confdefs.h <<\EOF
7013 #define HAVE_COPYSIGN 1
7016 cat >> confdefs.h <<\EOF
7017 #define HAVE_COPYSIGNF 1
7020 cat >> confdefs.h <<\EOF
7021 #define HAVE_FINITEF 1
7024 cat >> confdefs.h <<\EOF
7025 #define HAVE_FINITE 1
7028 cat >> confdefs.h <<\EOF
7029 #define HAVE_FREXPF 1
7032 cat >> confdefs.h <<\EOF
7033 #define HAVE_HYPOTF 1
7036 cat >> confdefs.h <<\EOF
7037 #define HAVE_ISINF 1
7040 cat >> confdefs.h <<\EOF
7041 #define HAVE_ISINFF 1
7044 cat >> confdefs.h <<\EOF
7045 #define HAVE_ISNAN 1
7048 cat >> confdefs.h <<\EOF
7049 #define HAVE_ISNANF 1
7052 if test x"long_double_math_on_this_cpu" = x"yes"; then
7053 cat >> confdefs.h <<\EOF
7054 #define HAVE_FINITEL 1
7057 cat >> confdefs.h <<\EOF
7058 #define HAVE_ISINFL 1
7061 cat >> confdefs.h <<\EOF
7062 #define HAVE_ISNANL 1
7068 for ac_hdr in sys/types.h locale.h float.h
7070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7072 echo "configure:7073: checking for $ac_hdr" >&5
7073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7074 echo $ac_n "(cached) $ac_c" 1>&6
7076 cat > conftest.$ac_ext <<EOF
7077 #line 7078 "configure"
7078 #include "confdefs.h"
7081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7082 { (eval echo configure:7083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7084 if test -z "$ac_err"; then
7086 eval "ac_cv_header_$ac_safe=yes"
7089 echo "configure: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7092 eval "ac_cv_header_$ac_safe=no"
7096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7097 echo "$ac_t""yes" 1>&6
7098 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7099 cat >> confdefs.h <<EOF
7100 #define $ac_tr_hdr 1
7104 echo "$ac_t""no" 1>&6
7109 # If we're not using GNU ld, then there's no point in even trying these
7110 # tests. Check for that first. We should have already tested for gld
7111 # by now (in libtool), but require it now just to be safe...
7112 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7113 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7116 # The name set by libtool depends on the version of libtool. Shame on us
7117 # for depending on an impl detail, but c'est la vie. Older versions used
7118 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7119 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7120 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7121 # set (hence we're using an older libtool), then set it.
7122 if test x${with_gnu_ld+set} != xset; then
7123 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7124 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7127 with_gnu_ld=$ac_cv_prog_gnu_ld
7131 # Start by getting the version number. I think the libtool test already
7132 # does some of this, but throws away the result.
7134 ldver=`$LD --version 2>/dev/null | head -1 | \
7135 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7137 glibcpp_gnu_ld_version=`echo $ldver | \
7138 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7140 # Set --gc-sections.
7141 if test "$with_gnu_ld" = "notbroken"; then
7142 # GNU ld it is! Joy and bunny rabbits!
7144 # All these tests are for C++; save the language and the compiler flags.
7145 # Need to do this so that g++ won't try to link in libstdc++
7146 ac_test_CFLAGS="${CFLAGS+set}"
7147 ac_save_CFLAGS="$CFLAGS"
7148 CFLAGS='-x c++ -Wl,--gc-sections'
7150 # Check for -Wl,--gc-sections
7151 # XXX This test is broken at the moment, as symbols required for
7152 # linking are now in libsupc++ (not built yet.....). In addition,
7153 # this test has cored on solaris in the past. In addition,
7154 # --gc-sections doesn't really work at the moment (keeps on discarding
7155 # used sections, first .eh_frame and now some of the glibc sections for
7156 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7157 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7158 echo "configure:7159: checking for ld that supports -Wl,--gc-sections" >&5
7159 if test "$cross_compiling" = yes; then
7160 ac_sectionLDflags=yes
7162 cat > conftest.$ac_ext <<EOF
7163 #line 7164 "configure"
7164 #include "confdefs.h"
7174 if { (eval echo configure:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7176 ac_sectionLDflags=yes
7178 echo "configure: failed program was:" >&5
7179 cat conftest.$ac_ext >&5
7181 ac_sectionLDflags=no
7186 if test "$ac_test_CFLAGS" = set; then
7187 CFLAGS="$ac_save_CFLAGS"
7189 # this is the suspicious part
7192 if test "$ac_sectionLDflags" = "yes"; then
7193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7195 echo "$ac_t""$ac_sectionLDflags" 1>&6
7198 # Set linker optimization flags.
7199 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7200 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7207 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7208 echo "configure:7209: checking for main in -lm" >&5
7209 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7211 echo $ac_n "(cached) $ac_c" 1>&6
7213 ac_save_LIBS="$LIBS"
7215 cat > conftest.$ac_ext <<EOF
7216 #line 7217 "configure"
7217 #include "confdefs.h"
7223 if { (eval echo configure:7224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7225 eval "ac_cv_lib_$ac_lib_var=yes"
7227 echo "configure: failed program was:" >&5
7228 cat conftest.$ac_ext >&5
7230 eval "ac_cv_lib_$ac_lib_var=no"
7233 LIBS="$ac_save_LIBS"
7236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7237 echo "$ac_t""yes" 1>&6
7238 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7239 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7240 cat >> confdefs.h <<EOF
7241 #define $ac_tr_lib 1
7247 echo "$ac_t""no" 1>&6
7250 for ac_func in nan copysignf
7252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7253 echo "configure:7254: checking for $ac_func" >&5
7254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7255 echo $ac_n "(cached) $ac_c" 1>&6
7257 cat > conftest.$ac_ext <<EOF
7258 #line 7259 "configure"
7259 #include "confdefs.h"
7260 /* System header to define __stub macros and hopefully few prototypes,
7261 which can conflict with char $ac_func(); below. */
7263 /* Override any gcc2 internal prototype to avoid an error. */
7264 /* We use char because int might match the return type of a gcc2
7265 builtin and then its argument prototype would still apply. */
7270 /* The GNU C library defines this for functions which it implements
7271 to always fail with ENOSYS. Some functions are actually named
7272 something starting with __ and the normal name is an alias. */
7273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7281 if { (eval echo configure:7282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7283 eval "ac_cv_func_$ac_func=yes"
7285 echo "configure: failed program was:" >&5
7286 cat conftest.$ac_ext >&5
7288 eval "ac_cv_func_$ac_func=no"
7293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7294 echo "$ac_t""yes" 1>&6
7295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7296 cat >> confdefs.h <<EOF
7297 #define $ac_tr_func 1
7301 echo "$ac_t""no" 1>&6
7302 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7307 for ac_func in __signbit
7309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7310 echo "configure:7311: checking for $ac_func" >&5
7311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7312 echo $ac_n "(cached) $ac_c" 1>&6
7314 cat > conftest.$ac_ext <<EOF
7315 #line 7316 "configure"
7316 #include "confdefs.h"
7317 /* System header to define __stub macros and hopefully few prototypes,
7318 which can conflict with char $ac_func(); below. */
7320 /* Override any gcc2 internal prototype to avoid an error. */
7321 /* We use char because int might match the return type of a gcc2
7322 builtin and then its argument prototype would still apply. */
7327 /* The GNU C library defines this for functions which it implements
7328 to always fail with ENOSYS. Some functions are actually named
7329 something starting with __ and the normal name is an alias. */
7330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7338 if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7340 eval "ac_cv_func_$ac_func=yes"
7342 echo "configure: failed program was:" >&5
7343 cat conftest.$ac_ext >&5
7345 eval "ac_cv_func_$ac_func=no"
7350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7351 echo "$ac_t""yes" 1>&6
7352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7353 cat >> confdefs.h <<EOF
7354 #define $ac_tr_func 1
7358 echo "$ac_t""no" 1>&6
7359 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7363 for ac_func in __signbitf
7365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7366 echo "configure:7367: checking for $ac_func" >&5
7367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7368 echo $ac_n "(cached) $ac_c" 1>&6
7370 cat > conftest.$ac_ext <<EOF
7371 #line 7372 "configure"
7372 #include "confdefs.h"
7373 /* System header to define __stub macros and hopefully few prototypes,
7374 which can conflict with char $ac_func(); below. */
7376 /* Override any gcc2 internal prototype to avoid an error. */
7377 /* We use char because int might match the return type of a gcc2
7378 builtin and then its argument prototype would still apply. */
7383 /* The GNU C library defines this for functions which it implements
7384 to always fail with ENOSYS. Some functions are actually named
7385 something starting with __ and the normal name is an alias. */
7386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7396 eval "ac_cv_func_$ac_func=yes"
7398 echo "configure: failed program was:" >&5
7399 cat conftest.$ac_ext >&5
7401 eval "ac_cv_func_$ac_func=no"
7406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7407 echo "$ac_t""yes" 1>&6
7408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7409 cat >> confdefs.h <<EOF
7410 #define $ac_tr_func 1
7414 echo "$ac_t""no" 1>&6
7415 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7420 if test x$ac_cv_func_copysignl = x"yes"; then
7421 for ac_func in __signbitl
7423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7424 echo "configure:7425: checking for $ac_func" >&5
7425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7426 echo $ac_n "(cached) $ac_c" 1>&6
7428 cat > conftest.$ac_ext <<EOF
7429 #line 7430 "configure"
7430 #include "confdefs.h"
7431 /* System header to define __stub macros and hopefully few prototypes,
7432 which can conflict with char $ac_func(); below. */
7434 /* Override any gcc2 internal prototype to avoid an error. */
7435 /* We use char because int might match the return type of a gcc2
7436 builtin and then its argument prototype would still apply. */
7441 /* The GNU C library defines this for functions which it implements
7442 to always fail with ENOSYS. Some functions are actually named
7443 something starting with __ and the normal name is an alias. */
7444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7452 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7454 eval "ac_cv_func_$ac_func=yes"
7456 echo "configure: failed program was:" >&5
7457 cat conftest.$ac_ext >&5
7459 eval "ac_cv_func_$ac_func=no"
7464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7465 echo "$ac_t""yes" 1>&6
7466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7467 cat >> confdefs.h <<EOF
7468 #define $ac_tr_func 1
7472 echo "$ac_t""no" 1>&6
7473 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7483 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7484 echo "configure:7485: checking for mbstate_t" >&5
7485 cat > conftest.$ac_ext <<EOF
7486 #line 7487 "configure"
7487 #include "confdefs.h"
7490 mbstate_t teststate;
7493 if { (eval echo configure:7494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7497 echo "configure: failed program was:" >&5
7498 cat conftest.$ac_ext >&5
7503 echo "$ac_t""$have_mbstate_t" 1>&6
7504 if test x"$have_mbstate_t" = xyes; then
7505 cat >> confdefs.h <<\EOF
7506 #define HAVE_MBSTATE_T 1
7511 for ac_hdr in wchar.h
7513 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7514 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7515 echo "configure:7516: checking for $ac_hdr" >&5
7516 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7517 echo $ac_n "(cached) $ac_c" 1>&6
7519 cat > conftest.$ac_ext <<EOF
7520 #line 7521 "configure"
7521 #include "confdefs.h"
7524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7525 { (eval echo configure:7526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7527 if test -z "$ac_err"; then
7529 eval "ac_cv_header_$ac_safe=yes"
7532 echo "configure: failed program was:" >&5
7533 cat conftest.$ac_ext >&5
7535 eval "ac_cv_header_$ac_safe=no"
7539 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7540 echo "$ac_t""yes" 1>&6
7541 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7542 cat >> confdefs.h <<EOF
7543 #define $ac_tr_hdr 1
7547 echo "$ac_t""no" 1>&6
7552 for ac_hdr in wctype.h
7554 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7555 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7556 echo "configure:7557: checking for $ac_hdr" >&5
7557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7558 echo $ac_n "(cached) $ac_c" 1>&6
7560 cat > conftest.$ac_ext <<EOF
7561 #line 7562 "configure"
7562 #include "confdefs.h"
7565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7566 { (eval echo configure:7567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7568 if test -z "$ac_err"; then
7570 eval "ac_cv_header_$ac_safe=yes"
7573 echo "configure: failed program was:" >&5
7574 cat conftest.$ac_ext >&5
7576 eval "ac_cv_header_$ac_safe=no"
7580 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7581 echo "$ac_t""yes" 1>&6
7582 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7583 cat >> confdefs.h <<EOF
7584 #define $ac_tr_hdr 1
7588 echo "$ac_t""no" 1>&6
7594 if test x"$ac_has_wchar_h" = xyes &&
7595 test x"$ac_has_wctype_h" = xyes &&
7596 test x"$enable_c_mbchar" != xno; then
7598 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7599 echo "configure:7600: checking for WCHAR_MIN and WCHAR_MAX" >&5
7600 cat > conftest.$ac_ext <<EOF
7601 #line 7602 "configure"
7602 #include "confdefs.h"
7605 int i = WCHAR_MIN; int j = WCHAR_MAX;
7608 if { (eval echo configure:7609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7610 has_wchar_minmax=yes
7612 echo "configure: failed program was:" >&5
7613 cat conftest.$ac_ext >&5
7618 echo "$ac_t""$has_wchar_minmax" 1>&6
7620 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7621 echo "configure:7622: checking for WEOF" >&5
7622 cat > conftest.$ac_ext <<EOF
7623 #line 7624 "configure"
7624 #include "confdefs.h"
7632 if { (eval echo configure:7633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7636 echo "configure: failed program was:" >&5
7637 cat conftest.$ac_ext >&5
7642 echo "$ac_t""$has_weof" 1>&6
7645 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7648 echo "configure:7649: checking for $ac_func" >&5
7649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7650 echo $ac_n "(cached) $ac_c" 1>&6
7652 cat > conftest.$ac_ext <<EOF
7653 #line 7654 "configure"
7654 #include "confdefs.h"
7655 /* System header to define __stub macros and hopefully few prototypes,
7656 which can conflict with char $ac_func(); below. */
7658 /* Override any gcc2 internal prototype to avoid an error. */
7659 /* We use char because int might match the return type of a gcc2
7660 builtin and then its argument prototype would still apply. */
7665 /* The GNU C library defines this for functions which it implements
7666 to always fail with ENOSYS. Some functions are actually named
7667 something starting with __ and the normal name is an alias. */
7668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7678 eval "ac_cv_func_$ac_func=yes"
7680 echo "configure: failed program was:" >&5
7681 cat conftest.$ac_ext >&5
7683 eval "ac_cv_func_$ac_func=no"
7688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7689 echo "$ac_t""yes" 1>&6
7690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7691 cat >> confdefs.h <<EOF
7692 #define $ac_tr_func 1
7696 echo "$ac_t""no" 1>&6
7703 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7704 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7705 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7706 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7707 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7708 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7711 echo "configure:7712: checking for $ac_func" >&5
7712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7713 echo $ac_n "(cached) $ac_c" 1>&6
7715 cat > conftest.$ac_ext <<EOF
7716 #line 7717 "configure"
7717 #include "confdefs.h"
7718 /* System header to define __stub macros and hopefully few prototypes,
7719 which can conflict with char $ac_func(); below. */
7721 /* Override any gcc2 internal prototype to avoid an error. */
7722 /* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7728 /* The GNU C library defines this for functions which it implements
7729 to always fail with ENOSYS. Some functions are actually named
7730 something starting with __ and the normal name is an alias. */
7731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7739 if { (eval echo configure:7740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7741 eval "ac_cv_func_$ac_func=yes"
7743 echo "configure: failed program was:" >&5
7744 cat conftest.$ac_ext >&5
7746 eval "ac_cv_func_$ac_func=no"
7751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7752 echo "$ac_t""yes" 1>&6
7753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7754 cat >> confdefs.h <<EOF
7755 #define $ac_tr_func 1
7759 echo "$ac_t""no" 1>&6
7766 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7767 echo "configure:7768: checking for ISO C99 wchar_t support" >&5
7768 if test x"$has_weof" = xyes &&
7769 test x"$has_wchar_minmax" = xyes &&
7770 test x"$ac_wfuncs" = xyes; then
7771 ac_isoC99_wchar_t=yes
7773 ac_isoC99_wchar_t=no
7775 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7777 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7778 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7779 echo "configure:7780: checking for iconv.h" >&5
7780 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7781 echo $ac_n "(cached) $ac_c" 1>&6
7783 cat > conftest.$ac_ext <<EOF
7784 #line 7785 "configure"
7785 #include "confdefs.h"
7788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7789 { (eval echo configure:7790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7791 if test -z "$ac_err"; then
7793 eval "ac_cv_header_$ac_safe=yes"
7796 echo "configure: failed program was:" >&5
7797 cat conftest.$ac_ext >&5
7799 eval "ac_cv_header_$ac_safe=no"
7803 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7804 echo "$ac_t""yes" 1>&6
7807 echo "$ac_t""no" 1>&6
7811 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7812 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7813 echo "configure:7814: checking for langinfo.h" >&5
7814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7815 echo $ac_n "(cached) $ac_c" 1>&6
7817 cat > conftest.$ac_ext <<EOF
7818 #line 7819 "configure"
7819 #include "confdefs.h"
7820 #include <langinfo.h>
7822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7823 { (eval echo configure:7824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7825 if test -z "$ac_err"; then
7827 eval "ac_cv_header_$ac_safe=yes"
7830 echo "configure: failed program was:" >&5
7831 cat conftest.$ac_ext >&5
7833 eval "ac_cv_header_$ac_safe=no"
7837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7838 echo "$ac_t""yes" 1>&6
7839 ac_has_langinfo_h=yes
7841 echo "$ac_t""no" 1>&6
7842 ac_has_langinfo_h=no
7846 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7847 echo "configure:7848: checking for iconv in -liconv" >&5
7848 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7849 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7850 echo $ac_n "(cached) $ac_c" 1>&6
7852 ac_save_LIBS="$LIBS"
7853 LIBS="-liconv $LIBS"
7854 cat > conftest.$ac_ext <<EOF
7855 #line 7856 "configure"
7856 #include "confdefs.h"
7857 /* Override any gcc2 internal prototype to avoid an error. */
7858 /* We use char because int might match the return type of a gcc2
7859 builtin and then its argument prototype would still apply. */
7866 if { (eval echo configure:7867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7868 eval "ac_cv_lib_$ac_lib_var=yes"
7870 echo "configure: failed program was:" >&5
7871 cat conftest.$ac_ext >&5
7873 eval "ac_cv_lib_$ac_lib_var=no"
7876 LIBS="$ac_save_LIBS"
7879 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7880 echo "$ac_t""yes" 1>&6
7883 echo "$ac_t""no" 1>&6
7886 ac_save_LIBS="$LIBS"
7887 LIBS="$LIBS $libiconv"
7889 for ac_func in iconv_open iconv_close iconv nl_langinfo
7891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7892 echo "configure:7893: checking for $ac_func" >&5
7893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7894 echo $ac_n "(cached) $ac_c" 1>&6
7896 cat > conftest.$ac_ext <<EOF
7897 #line 7898 "configure"
7898 #include "confdefs.h"
7899 /* System header to define __stub macros and hopefully few prototypes,
7900 which can conflict with char $ac_func(); below. */
7902 /* Override any gcc2 internal prototype to avoid an error. */
7903 /* We use char because int might match the return type of a gcc2
7904 builtin and then its argument prototype would still apply. */
7909 /* The GNU C library defines this for functions which it implements
7910 to always fail with ENOSYS. Some functions are actually named
7911 something starting with __ and the normal name is an alias. */
7912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7920 if { (eval echo configure:7921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7922 eval "ac_cv_func_$ac_func=yes"
7924 echo "configure: failed program was:" >&5
7925 cat conftest.$ac_ext >&5
7927 eval "ac_cv_func_$ac_func=no"
7932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7933 echo "$ac_t""yes" 1>&6
7934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7935 cat >> confdefs.h <<EOF
7936 #define $ac_tr_func 1
7941 echo "$ac_t""no" 1>&6
7947 LIBS="$ac_save_LIBS"
7949 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7950 echo "configure:7951: checking for XPG2 wchar_t support" >&5
7951 if test x"$ac_has_iconv_h" = xyes &&
7952 test x"$ac_has_langinfo_h" = xyes &&
7953 test x"$ac_XPG2funcs" = xyes; then
7958 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7960 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7961 echo "configure:7962: checking for enabled wchar_t specializations" >&5
7962 if test x"$ac_isoC99_wchar_t" = xyes &&
7963 test x"$ac_XPG2_wchar_t" = xyes; then
7964 cat >> confdefs.h <<\EOF
7965 #define _GLIBCPP_USE_WCHAR_T 1
7968 echo "$ac_t"""yes"" 1>&6
7970 echo "$ac_t"""no"" 1>&6
7973 echo "configure: warning: wchar_t support disabled." 1>&2
7976 os_include_dir="os/mingw32"
7979 os_include_dir="os/windiss"
7982 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7985 # If we're not using GNU ld, then there's no point in even trying these
7986 # tests. Check for that first. We should have already tested for gld
7987 # by now (in libtool), but require it now just to be safe...
7988 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7989 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7992 # The name set by libtool depends on the version of libtool. Shame on us
7993 # for depending on an impl detail, but c'est la vie. Older versions used
7994 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7995 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7996 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7997 # set (hence we're using an older libtool), then set it.
7998 if test x${with_gnu_ld+set} != xset; then
7999 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8000 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8003 with_gnu_ld=$ac_cv_prog_gnu_ld
8007 # Start by getting the version number. I think the libtool test already
8008 # does some of this, but throws away the result.
8010 ldver=`$LD --version 2>/dev/null | head -1 | \
8011 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8013 glibcpp_gnu_ld_version=`echo $ldver | \
8014 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8016 # Set --gc-sections.
8017 if test "$with_gnu_ld" = "notbroken"; then
8018 # GNU ld it is! Joy and bunny rabbits!
8020 # All these tests are for C++; save the language and the compiler flags.
8021 # Need to do this so that g++ won't try to link in libstdc++
8022 ac_test_CFLAGS="${CFLAGS+set}"
8023 ac_save_CFLAGS="$CFLAGS"
8024 CFLAGS='-x c++ -Wl,--gc-sections'
8026 # Check for -Wl,--gc-sections
8027 # XXX This test is broken at the moment, as symbols required for
8028 # linking are now in libsupc++ (not built yet.....). In addition,
8029 # this test has cored on solaris in the past. In addition,
8030 # --gc-sections doesn't really work at the moment (keeps on discarding
8031 # used sections, first .eh_frame and now some of the glibc sections for
8032 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8033 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8034 echo "configure:8035: checking for ld that supports -Wl,--gc-sections" >&5
8035 if test "$cross_compiling" = yes; then
8036 ac_sectionLDflags=yes
8038 cat > conftest.$ac_ext <<EOF
8039 #line 8040 "configure"
8040 #include "confdefs.h"
8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8052 ac_sectionLDflags=yes
8054 echo "configure: failed program was:" >&5
8055 cat conftest.$ac_ext >&5
8057 ac_sectionLDflags=no
8062 if test "$ac_test_CFLAGS" = set; then
8063 CFLAGS="$ac_save_CFLAGS"
8065 # this is the suspicious part
8068 if test "$ac_sectionLDflags" = "yes"; then
8069 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8071 echo "$ac_t""$ac_sectionLDflags" 1>&6
8074 # Set linker optimization flags.
8075 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8076 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8083 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8084 echo "configure:8085: checking for main in -lm" >&5
8085 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8086 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8087 echo $ac_n "(cached) $ac_c" 1>&6
8089 ac_save_LIBS="$LIBS"
8091 cat > conftest.$ac_ext <<EOF
8092 #line 8093 "configure"
8093 #include "confdefs.h"
8099 if { (eval echo configure:8100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8101 eval "ac_cv_lib_$ac_lib_var=yes"
8103 echo "configure: failed program was:" >&5
8104 cat conftest.$ac_ext >&5
8106 eval "ac_cv_lib_$ac_lib_var=no"
8109 LIBS="$ac_save_LIBS"
8112 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8113 echo "$ac_t""yes" 1>&6
8114 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8115 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8116 cat >> confdefs.h <<EOF
8117 #define $ac_tr_lib 1
8123 echo "$ac_t""no" 1>&6
8126 for ac_func in nan copysignf
8128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8129 echo "configure:8130: checking for $ac_func" >&5
8130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8131 echo $ac_n "(cached) $ac_c" 1>&6
8133 cat > conftest.$ac_ext <<EOF
8134 #line 8135 "configure"
8135 #include "confdefs.h"
8136 /* System header to define __stub macros and hopefully few prototypes,
8137 which can conflict with char $ac_func(); below. */
8139 /* Override any gcc2 internal prototype to avoid an error. */
8140 /* We use char because int might match the return type of a gcc2
8141 builtin and then its argument prototype would still apply. */
8146 /* The GNU C library defines this for functions which it implements
8147 to always fail with ENOSYS. Some functions are actually named
8148 something starting with __ and the normal name is an alias. */
8149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8157 if { (eval echo configure:8158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8159 eval "ac_cv_func_$ac_func=yes"
8161 echo "configure: failed program was:" >&5
8162 cat conftest.$ac_ext >&5
8164 eval "ac_cv_func_$ac_func=no"
8169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8170 echo "$ac_t""yes" 1>&6
8171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8172 cat >> confdefs.h <<EOF
8173 #define $ac_tr_func 1
8177 echo "$ac_t""no" 1>&6
8178 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8183 for ac_func in __signbit
8185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8186 echo "configure:8187: checking for $ac_func" >&5
8187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8188 echo $ac_n "(cached) $ac_c" 1>&6
8190 cat > conftest.$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8193 /* System header to define __stub macros and hopefully few prototypes,
8194 which can conflict with char $ac_func(); below. */
8196 /* Override any gcc2 internal prototype to avoid an error. */
8197 /* We use char because int might match the return type of a gcc2
8198 builtin and then its argument prototype would still apply. */
8203 /* The GNU C library defines this for functions which it implements
8204 to always fail with ENOSYS. Some functions are actually named
8205 something starting with __ and the normal name is an alias. */
8206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8214 if { (eval echo configure:8215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8216 eval "ac_cv_func_$ac_func=yes"
8218 echo "configure: failed program was:" >&5
8219 cat conftest.$ac_ext >&5
8221 eval "ac_cv_func_$ac_func=no"
8226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8227 echo "$ac_t""yes" 1>&6
8228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8229 cat >> confdefs.h <<EOF
8230 #define $ac_tr_func 1
8234 echo "$ac_t""no" 1>&6
8235 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8239 for ac_func in __signbitf
8241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8242 echo "configure:8243: checking for $ac_func" >&5
8243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8244 echo $ac_n "(cached) $ac_c" 1>&6
8246 cat > conftest.$ac_ext <<EOF
8247 #line 8248 "configure"
8248 #include "confdefs.h"
8249 /* System header to define __stub macros and hopefully few prototypes,
8250 which can conflict with char $ac_func(); below. */
8252 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8259 /* The GNU C library defines this for functions which it implements
8260 to always fail with ENOSYS. Some functions are actually named
8261 something starting with __ and the normal name is an alias. */
8262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8270 if { (eval echo configure:8271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8272 eval "ac_cv_func_$ac_func=yes"
8274 echo "configure: failed program was:" >&5
8275 cat conftest.$ac_ext >&5
8277 eval "ac_cv_func_$ac_func=no"
8282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8283 echo "$ac_t""yes" 1>&6
8284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8285 cat >> confdefs.h <<EOF
8286 #define $ac_tr_func 1
8290 echo "$ac_t""no" 1>&6
8291 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8296 if test x$ac_cv_func_copysignl = x"yes"; then
8297 for ac_func in __signbitl
8299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8300 echo "configure:8301: checking for $ac_func" >&5
8301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8302 echo $ac_n "(cached) $ac_c" 1>&6
8304 cat > conftest.$ac_ext <<EOF
8305 #line 8306 "configure"
8306 #include "confdefs.h"
8307 /* System header to define __stub macros and hopefully few prototypes,
8308 which can conflict with char $ac_func(); below. */
8310 /* Override any gcc2 internal prototype to avoid an error. */
8311 /* We use char because int might match the return type of a gcc2
8312 builtin and then its argument prototype would still apply. */
8317 /* The GNU C library defines this for functions which it implements
8318 to always fail with ENOSYS. Some functions are actually named
8319 something starting with __ and the normal name is an alias. */
8320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8330 eval "ac_cv_func_$ac_func=yes"
8332 echo "configure: failed program was:" >&5
8333 cat conftest.$ac_ext >&5
8335 eval "ac_cv_func_$ac_func=no"
8340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8341 echo "$ac_t""yes" 1>&6
8342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8343 cat >> confdefs.h <<EOF
8344 #define $ac_tr_func 1
8348 echo "$ac_t""no" 1>&6
8349 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8359 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8360 echo "configure:8361: checking for mbstate_t" >&5
8361 cat > conftest.$ac_ext <<EOF
8362 #line 8363 "configure"
8363 #include "confdefs.h"
8366 mbstate_t teststate;
8369 if { (eval echo configure:8370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8373 echo "configure: failed program was:" >&5
8374 cat conftest.$ac_ext >&5
8379 echo "$ac_t""$have_mbstate_t" 1>&6
8380 if test x"$have_mbstate_t" = xyes; then
8381 cat >> confdefs.h <<\EOF
8382 #define HAVE_MBSTATE_T 1
8387 for ac_hdr in wchar.h
8389 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8390 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8391 echo "configure:8392: checking for $ac_hdr" >&5
8392 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8393 echo $ac_n "(cached) $ac_c" 1>&6
8395 cat > conftest.$ac_ext <<EOF
8396 #line 8397 "configure"
8397 #include "confdefs.h"
8400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8401 { (eval echo configure:8402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8403 if test -z "$ac_err"; then
8405 eval "ac_cv_header_$ac_safe=yes"
8408 echo "configure: failed program was:" >&5
8409 cat conftest.$ac_ext >&5
8411 eval "ac_cv_header_$ac_safe=no"
8415 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8416 echo "$ac_t""yes" 1>&6
8417 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8418 cat >> confdefs.h <<EOF
8419 #define $ac_tr_hdr 1
8423 echo "$ac_t""no" 1>&6
8428 for ac_hdr in wctype.h
8430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8432 echo "configure:8433: checking for $ac_hdr" >&5
8433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8434 echo $ac_n "(cached) $ac_c" 1>&6
8436 cat > conftest.$ac_ext <<EOF
8437 #line 8438 "configure"
8438 #include "confdefs.h"
8441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8442 { (eval echo configure:8443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8444 if test -z "$ac_err"; then
8446 eval "ac_cv_header_$ac_safe=yes"
8449 echo "configure: failed program was:" >&5
8450 cat conftest.$ac_ext >&5
8452 eval "ac_cv_header_$ac_safe=no"
8456 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8457 echo "$ac_t""yes" 1>&6
8458 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8459 cat >> confdefs.h <<EOF
8460 #define $ac_tr_hdr 1
8464 echo "$ac_t""no" 1>&6
8470 if test x"$ac_has_wchar_h" = xyes &&
8471 test x"$ac_has_wctype_h" = xyes &&
8472 test x"$enable_c_mbchar" != xno; then
8474 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8475 echo "configure:8476: checking for WCHAR_MIN and WCHAR_MAX" >&5
8476 cat > conftest.$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8481 int i = WCHAR_MIN; int j = WCHAR_MAX;
8484 if { (eval echo configure:8485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8486 has_wchar_minmax=yes
8488 echo "configure: failed program was:" >&5
8489 cat conftest.$ac_ext >&5
8494 echo "$ac_t""$has_wchar_minmax" 1>&6
8496 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8497 echo "configure:8498: checking for WEOF" >&5
8498 cat > conftest.$ac_ext <<EOF
8499 #line 8500 "configure"
8500 #include "confdefs.h"
8508 if { (eval echo configure:8509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8512 echo "configure: failed program was:" >&5
8513 cat conftest.$ac_ext >&5
8518 echo "$ac_t""$has_weof" 1>&6
8521 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8524 echo "configure:8525: checking for $ac_func" >&5
8525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8526 echo $ac_n "(cached) $ac_c" 1>&6
8528 cat > conftest.$ac_ext <<EOF
8529 #line 8530 "configure"
8530 #include "confdefs.h"
8531 /* System header to define __stub macros and hopefully few prototypes,
8532 which can conflict with char $ac_func(); below. */
8534 /* Override any gcc2 internal prototype to avoid an error. */
8535 /* We use char because int might match the return type of a gcc2
8536 builtin and then its argument prototype would still apply. */
8541 /* The GNU C library defines this for functions which it implements
8542 to always fail with ENOSYS. Some functions are actually named
8543 something starting with __ and the normal name is an alias. */
8544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8552 if { (eval echo configure:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8554 eval "ac_cv_func_$ac_func=yes"
8556 echo "configure: failed program was:" >&5
8557 cat conftest.$ac_ext >&5
8559 eval "ac_cv_func_$ac_func=no"
8564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8565 echo "$ac_t""yes" 1>&6
8566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8567 cat >> confdefs.h <<EOF
8568 #define $ac_tr_func 1
8572 echo "$ac_t""no" 1>&6
8579 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8580 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8581 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8582 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8583 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8584 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8587 echo "configure:8588: checking for $ac_func" >&5
8588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8589 echo $ac_n "(cached) $ac_c" 1>&6
8591 cat > conftest.$ac_ext <<EOF
8592 #line 8593 "configure"
8593 #include "confdefs.h"
8594 /* System header to define __stub macros and hopefully few prototypes,
8595 which can conflict with char $ac_func(); below. */
8597 /* Override any gcc2 internal prototype to avoid an error. */
8598 /* We use char because int might match the return type of a gcc2
8599 builtin and then its argument prototype would still apply. */
8604 /* The GNU C library defines this for functions which it implements
8605 to always fail with ENOSYS. Some functions are actually named
8606 something starting with __ and the normal name is an alias. */
8607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8615 if { (eval echo configure:8616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8617 eval "ac_cv_func_$ac_func=yes"
8619 echo "configure: failed program was:" >&5
8620 cat conftest.$ac_ext >&5
8622 eval "ac_cv_func_$ac_func=no"
8627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8628 echo "$ac_t""yes" 1>&6
8629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8630 cat >> confdefs.h <<EOF
8631 #define $ac_tr_func 1
8635 echo "$ac_t""no" 1>&6
8642 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8643 echo "configure:8644: checking for ISO C99 wchar_t support" >&5
8644 if test x"$has_weof" = xyes &&
8645 test x"$has_wchar_minmax" = xyes &&
8646 test x"$ac_wfuncs" = xyes; then
8647 ac_isoC99_wchar_t=yes
8649 ac_isoC99_wchar_t=no
8651 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8653 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8654 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8655 echo "configure:8656: checking for iconv.h" >&5
8656 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8657 echo $ac_n "(cached) $ac_c" 1>&6
8659 cat > conftest.$ac_ext <<EOF
8660 #line 8661 "configure"
8661 #include "confdefs.h"
8664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8665 { (eval echo configure:8666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8667 if test -z "$ac_err"; then
8669 eval "ac_cv_header_$ac_safe=yes"
8672 echo "configure: failed program was:" >&5
8673 cat conftest.$ac_ext >&5
8675 eval "ac_cv_header_$ac_safe=no"
8679 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8680 echo "$ac_t""yes" 1>&6
8683 echo "$ac_t""no" 1>&6
8687 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8688 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8689 echo "configure:8690: checking for langinfo.h" >&5
8690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8691 echo $ac_n "(cached) $ac_c" 1>&6
8693 cat > conftest.$ac_ext <<EOF
8694 #line 8695 "configure"
8695 #include "confdefs.h"
8696 #include <langinfo.h>
8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8701 if test -z "$ac_err"; then
8703 eval "ac_cv_header_$ac_safe=yes"
8706 echo "configure: failed program was:" >&5
8707 cat conftest.$ac_ext >&5
8709 eval "ac_cv_header_$ac_safe=no"
8713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8714 echo "$ac_t""yes" 1>&6
8715 ac_has_langinfo_h=yes
8717 echo "$ac_t""no" 1>&6
8718 ac_has_langinfo_h=no
8722 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8723 echo "configure:8724: checking for iconv in -liconv" >&5
8724 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8726 echo $ac_n "(cached) $ac_c" 1>&6
8728 ac_save_LIBS="$LIBS"
8729 LIBS="-liconv $LIBS"
8730 cat > conftest.$ac_ext <<EOF
8731 #line 8732 "configure"
8732 #include "confdefs.h"
8733 /* Override any gcc2 internal prototype to avoid an error. */
8734 /* We use char because int might match the return type of a gcc2
8735 builtin and then its argument prototype would still apply. */
8742 if { (eval echo configure:8743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8744 eval "ac_cv_lib_$ac_lib_var=yes"
8746 echo "configure: failed program was:" >&5
8747 cat conftest.$ac_ext >&5
8749 eval "ac_cv_lib_$ac_lib_var=no"
8752 LIBS="$ac_save_LIBS"
8755 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8756 echo "$ac_t""yes" 1>&6
8759 echo "$ac_t""no" 1>&6
8762 ac_save_LIBS="$LIBS"
8763 LIBS="$LIBS $libiconv"
8765 for ac_func in iconv_open iconv_close iconv nl_langinfo
8767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8768 echo "configure:8769: checking for $ac_func" >&5
8769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8770 echo $ac_n "(cached) $ac_c" 1>&6
8772 cat > conftest.$ac_ext <<EOF
8773 #line 8774 "configure"
8774 #include "confdefs.h"
8775 /* System header to define __stub macros and hopefully few prototypes,
8776 which can conflict with char $ac_func(); below. */
8778 /* Override any gcc2 internal prototype to avoid an error. */
8779 /* We use char because int might match the return type of a gcc2
8780 builtin and then its argument prototype would still apply. */
8785 /* The GNU C library defines this for functions which it implements
8786 to always fail with ENOSYS. Some functions are actually named
8787 something starting with __ and the normal name is an alias. */
8788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8798 eval "ac_cv_func_$ac_func=yes"
8800 echo "configure: failed program was:" >&5
8801 cat conftest.$ac_ext >&5
8803 eval "ac_cv_func_$ac_func=no"
8808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8809 echo "$ac_t""yes" 1>&6
8810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8811 cat >> confdefs.h <<EOF
8812 #define $ac_tr_func 1
8817 echo "$ac_t""no" 1>&6
8823 LIBS="$ac_save_LIBS"
8825 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8826 echo "configure:8827: checking for XPG2 wchar_t support" >&5
8827 if test x"$ac_has_iconv_h" = xyes &&
8828 test x"$ac_has_langinfo_h" = xyes &&
8829 test x"$ac_XPG2funcs" = xyes; then
8834 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8836 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8837 echo "configure:8838: checking for enabled wchar_t specializations" >&5
8838 if test x"$ac_isoC99_wchar_t" = xyes &&
8839 test x"$ac_XPG2_wchar_t" = xyes; then
8840 cat >> confdefs.h <<\EOF
8841 #define _GLIBCPP_USE_WCHAR_T 1
8844 echo "$ac_t"""yes"" 1>&6
8846 echo "$ac_t"""no"" 1>&6
8849 echo "configure: warning: wchar_t support disabled." 1>&2
8852 os_include_dir="os/qnx/qnx6.1"
8853 cat >> confdefs.h <<\EOF
8857 cat >> confdefs.h <<\EOF
8861 cat >> confdefs.h <<\EOF
8862 #define HAVE_COSHF 1
8865 cat >> confdefs.h <<\EOF
8866 #define HAVE_COSHL 1
8869 cat >> confdefs.h <<\EOF
8873 cat >> confdefs.h <<\EOF
8877 cat >> confdefs.h <<\EOF
8878 #define HAVE_LOG10F 1
8881 cat >> confdefs.h <<\EOF
8882 #define HAVE_LOG10L 1
8885 cat >> confdefs.h <<\EOF
8889 cat >> confdefs.h <<\EOF
8893 cat >> confdefs.h <<\EOF
8894 #define HAVE_SINHF 1
8897 cat >> confdefs.h <<\EOF
8898 #define HAVE_SINHL 1
8903 os_include_dir="os/newlib"
8904 cat >> confdefs.h <<\EOF
8905 #define HAVE_HYPOT 1
8911 case "$target_alias" in
8915 cat >> confdefs.h <<\EOF
8916 #define HAVE_ACOSF 1
8919 cat >> confdefs.h <<\EOF
8920 #define HAVE_ASINF 1
8923 cat >> confdefs.h <<\EOF
8924 #define HAVE_ATAN2F 1
8927 cat >> confdefs.h <<\EOF
8928 #define HAVE_ATANF 1
8931 cat >> confdefs.h <<\EOF
8932 #define HAVE_CEILF 1
8935 cat >> confdefs.h <<\EOF
8936 #define HAVE_COPYSIGN 1
8939 cat >> confdefs.h <<\EOF
8940 #define HAVE_COPYSIGNF 1
8943 cat >> confdefs.h <<\EOF
8947 cat >> confdefs.h <<\EOF
8948 #define HAVE_COSHF 1
8951 cat >> confdefs.h <<\EOF
8955 cat >> confdefs.h <<\EOF
8956 #define HAVE_FABSF 1
8959 cat >> confdefs.h <<\EOF
8960 #define HAVE_FLOORF 1
8963 cat >> confdefs.h <<\EOF
8964 #define HAVE_FMODF 1
8967 cat >> confdefs.h <<\EOF
8968 #define HAVE_FREXPF 1
8971 cat >> confdefs.h <<\EOF
8972 #define HAVE_LDEXPF 1
8975 cat >> confdefs.h <<\EOF
8976 #define HAVE_LOG10F 1
8979 cat >> confdefs.h <<\EOF
8983 cat >> confdefs.h <<\EOF
8984 #define HAVE_MODFF 1
8987 cat >> confdefs.h <<\EOF
8991 cat >> confdefs.h <<\EOF
8995 cat >> confdefs.h <<\EOF
8996 #define HAVE_SINHF 1
8999 cat >> confdefs.h <<\EOF
9000 #define HAVE_SQRTF 1
9003 cat >> confdefs.h <<\EOF
9007 cat >> confdefs.h <<\EOF
9008 #define HAVE_TANHF 1
9013 # GLIBCPP_CHECK_STDLIB_SUPPORT
9014 cat >> confdefs.h <<\EOF
9015 #define HAVE_STRTOF 1
9018 cat >> confdefs.h <<\EOF
9019 #define HAVE_STRTOLD 1
9023 cat >> confdefs.h <<\EOF
9028 cat >> confdefs.h <<\EOF
9029 #define HAVE_ACOSF 1
9032 cat >> confdefs.h <<\EOF
9033 #define HAVE_ASINF 1
9036 cat >> confdefs.h <<\EOF
9037 #define HAVE_ATAN2F 1
9040 cat >> confdefs.h <<\EOF
9041 #define HAVE_ATANF 1
9044 cat >> confdefs.h <<\EOF
9045 #define HAVE_CEILF 1
9048 cat >> confdefs.h <<\EOF
9049 #define HAVE_COPYSIGN 1
9052 cat >> confdefs.h <<\EOF
9053 #define HAVE_COPYSIGNF 1
9056 cat >> confdefs.h <<\EOF
9060 cat >> confdefs.h <<\EOF
9061 #define HAVE_COSHF 1
9064 cat >> confdefs.h <<\EOF
9068 cat >> confdefs.h <<\EOF
9069 #define HAVE_FABSF 1
9072 cat >> confdefs.h <<\EOF
9073 #define HAVE_FLOORF 1
9076 cat >> confdefs.h <<\EOF
9077 #define HAVE_FMODF 1
9080 cat >> confdefs.h <<\EOF
9081 #define HAVE_FREXPF 1
9084 cat >> confdefs.h <<\EOF
9085 #define HAVE_LDEXPF 1
9088 cat >> confdefs.h <<\EOF
9089 #define HAVE_LOG10F 1
9092 cat >> confdefs.h <<\EOF
9096 cat >> confdefs.h <<\EOF
9097 #define HAVE_MODFF 1
9100 cat >> confdefs.h <<\EOF
9104 cat >> confdefs.h <<\EOF
9108 cat >> confdefs.h <<\EOF
9109 #define HAVE_SINHF 1
9112 cat >> confdefs.h <<\EOF
9113 #define HAVE_SQRTF 1
9116 cat >> confdefs.h <<\EOF
9120 cat >> confdefs.h <<\EOF
9121 #define HAVE_TANHF 1
9127 # At some point, we should differentiate between architectures
9128 # like x86, which have long double versions, and alpha/powerpc/etc.,
9129 # which don't. For the time being, punt.
9130 if test x"long_double_math_on_this_cpu" = x"yes"; then
9131 cat >> confdefs.h <<\EOF
9132 #define HAVE_ACOSL 1
9135 cat >> confdefs.h <<\EOF
9136 #define HAVE_ASINL 1
9139 cat >> confdefs.h <<\EOF
9140 #define HAVE_ATAN2L 1
9143 cat >> confdefs.h <<\EOF
9144 #define HAVE_ATANL 1
9147 cat >> confdefs.h <<\EOF
9148 #define HAVE_CEILL 1
9151 cat >> confdefs.h <<\EOF
9152 #define HAVE_COPYSIGNL 1
9155 cat >> confdefs.h <<\EOF
9159 cat >> confdefs.h <<\EOF
9160 #define HAVE_COSHL 1
9163 cat >> confdefs.h <<\EOF
9167 cat >> confdefs.h <<\EOF
9168 #define HAVE_FABSL 1
9171 cat >> confdefs.h <<\EOF
9172 #define HAVE_FLOORL 1
9175 cat >> confdefs.h <<\EOF
9176 #define HAVE_FMODL 1
9179 cat >> confdefs.h <<\EOF
9180 #define HAVE_FREXPL 1
9183 cat >> confdefs.h <<\EOF
9184 #define HAVE_LDEXPL 1
9187 cat >> confdefs.h <<\EOF
9188 #define HAVE_LOG10L 1
9191 cat >> confdefs.h <<\EOF
9195 cat >> confdefs.h <<\EOF
9196 #define HAVE_MODFL 1
9199 cat >> confdefs.h <<\EOF
9203 cat >> confdefs.h <<\EOF
9204 #define HAVE_SINCOSL 1
9207 cat >> confdefs.h <<\EOF
9211 cat >> confdefs.h <<\EOF
9212 #define HAVE_SINHL 1
9215 cat >> confdefs.h <<\EOF
9216 #define HAVE_SQRTL 1
9219 cat >> confdefs.h <<\EOF
9223 cat >> confdefs.h <<\EOF
9224 #define HAVE_TANHL 1
9231 # We are being configured natively. We can do more elaborate tests
9232 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9234 GLIBCPP_IS_CROSS_COMPILING=0
9237 # Check for available headers.
9238 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9239 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9241 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9242 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9243 echo "configure:9244: checking for $ac_hdr" >&5
9244 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9245 echo $ac_n "(cached) $ac_c" 1>&6
9247 cat > conftest.$ac_ext <<EOF
9248 #line 9249 "configure"
9249 #include "confdefs.h"
9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9255 if test -z "$ac_err"; then
9257 eval "ac_cv_header_$ac_safe=yes"
9260 echo "configure: failed program was:" >&5
9261 cat conftest.$ac_ext >&5
9263 eval "ac_cv_header_$ac_safe=no"
9267 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9268 echo "$ac_t""yes" 1>&6
9269 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9270 cat >> confdefs.h <<EOF
9271 #define $ac_tr_hdr 1
9275 echo "$ac_t""no" 1>&6
9281 # All these tests are for C++; save the language and the compiler flags.
9282 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9283 # found in GLIBCPP_CONFIGURE.
9286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9287 ac_cpp='$CXXCPP $CPPFLAGS'
9288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9290 cross_compiling=$ac_cv_prog_cxx_cross
9292 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9293 ac_save_CXXFLAGS="$CXXFLAGS"
9295 # Check for maintainer-mode bits.
9296 if test x"$USE_MAINTAINER_MODE" = xno; then
9302 # Check for -ffunction-sections -fdata-sections
9303 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9304 echo "configure:9305: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9305 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9306 cat > conftest.$ac_ext <<EOF
9307 #line 9308 "configure"
9308 #include "confdefs.h"
9315 if { (eval echo configure:9316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9319 echo "configure: failed program was:" >&5
9320 cat conftest.$ac_ext >&5
9325 if test "$ac_test_CXXFLAGS" = set; then
9326 CXXFLAGS="$ac_save_CXXFLAGS"
9328 # this is the suspicious part
9331 if test x"$ac_fdsections" = x"yes" &&
9332 test x"$enable_debug" = x"no"; then
9333 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9335 echo "$ac_t""$ac_fdsections" 1>&6
9338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9339 ac_cpp='$CPP $CPPFLAGS'
9340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9342 cross_compiling=$ac_cv_prog_cc_cross
9348 # If we're not using GNU ld, then there's no point in even trying these
9349 # tests. Check for that first. We should have already tested for gld
9350 # by now (in libtool), but require it now just to be safe...
9351 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9352 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9355 # The name set by libtool depends on the version of libtool. Shame on us
9356 # for depending on an impl detail, but c'est la vie. Older versions used
9357 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9358 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9359 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9360 # set (hence we're using an older libtool), then set it.
9361 if test x${with_gnu_ld+set} != xset; then
9362 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9363 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9366 with_gnu_ld=$ac_cv_prog_gnu_ld
9370 # Start by getting the version number. I think the libtool test already
9371 # does some of this, but throws away the result.
9373 ldver=`$LD --version 2>/dev/null | head -1 | \
9374 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9376 glibcpp_gnu_ld_version=`echo $ldver | \
9377 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9379 # Set --gc-sections.
9380 if test "$with_gnu_ld" = "notbroken"; then
9381 # GNU ld it is! Joy and bunny rabbits!
9383 # All these tests are for C++; save the language and the compiler flags.
9384 # Need to do this so that g++ won't try to link in libstdc++
9385 ac_test_CFLAGS="${CFLAGS+set}"
9386 ac_save_CFLAGS="$CFLAGS"
9387 CFLAGS='-x c++ -Wl,--gc-sections'
9389 # Check for -Wl,--gc-sections
9390 # XXX This test is broken at the moment, as symbols required for
9391 # linking are now in libsupc++ (not built yet.....). In addition,
9392 # this test has cored on solaris in the past. In addition,
9393 # --gc-sections doesn't really work at the moment (keeps on discarding
9394 # used sections, first .eh_frame and now some of the glibc sections for
9395 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9396 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9397 echo "configure:9398: checking for ld that supports -Wl,--gc-sections" >&5
9398 if test "$cross_compiling" = yes; then
9399 ac_sectionLDflags=yes
9401 cat > conftest.$ac_ext <<EOF
9402 #line 9403 "configure"
9403 #include "confdefs.h"
9413 if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9415 ac_sectionLDflags=yes
9417 echo "configure: failed program was:" >&5
9418 cat conftest.$ac_ext >&5
9420 ac_sectionLDflags=no
9425 if test "$ac_test_CFLAGS" = set; then
9426 CFLAGS="$ac_save_CFLAGS"
9428 # this is the suspicious part
9431 if test "$ac_sectionLDflags" = "yes"; then
9432 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9434 echo "$ac_t""$ac_sectionLDflags" 1>&6
9437 # Set linker optimization flags.
9438 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9439 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9447 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9448 echo "configure:9449: checking for __builtin_abs declaration" >&5
9449 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9450 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9457 ac_cpp='$CXXCPP $CPPFLAGS'
9458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9460 cross_compiling=$ac_cv_prog_cxx_cross
9462 cat > conftest.$ac_ext <<EOF
9463 #line 9464 "configure"
9464 #include "confdefs.h"
9470 if { (eval echo configure:9471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9472 glibcpp_cv_func___builtin_abs_use=yes
9474 echo "configure: failed program was:" >&5
9475 cat conftest.$ac_ext >&5
9477 glibcpp_cv_func___builtin_abs_use=no
9481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9482 ac_cpp='$CPP $CPPFLAGS'
9483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9485 cross_compiling=$ac_cv_prog_cc_cross
9491 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9492 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9493 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9494 echo "configure:9495: checking for __builtin_abs linkage" >&5
9495 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9496 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9497 echo $ac_n "(cached) $ac_c" 1>&6
9500 cat > conftest.$ac_ext <<EOF
9501 #line 9502 "configure"
9502 #include "confdefs.h"
9508 if { (eval echo configure:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9510 glibcpp_cv_func___builtin_abs_link=yes
9512 echo "configure: failed program was:" >&5
9513 cat conftest.$ac_ext >&5
9515 glibcpp_cv_func___builtin_abs_link=no
9522 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9523 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9524 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9525 cat >> confdefs.h <<EOF
9526 #define ${ac_tr_func} 1
9533 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9534 echo "configure:9535: checking for __builtin_fabsf declaration" >&5
9535 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9536 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9537 echo $ac_n "(cached) $ac_c" 1>&6
9542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9543 ac_cpp='$CXXCPP $CPPFLAGS'
9544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9546 cross_compiling=$ac_cv_prog_cxx_cross
9548 cat > conftest.$ac_ext <<EOF
9549 #line 9550 "configure"
9550 #include "confdefs.h"
9556 if { (eval echo configure:9557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9558 glibcpp_cv_func___builtin_fabsf_use=yes
9560 echo "configure: failed program was:" >&5
9561 cat conftest.$ac_ext >&5
9563 glibcpp_cv_func___builtin_fabsf_use=no
9567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9568 ac_cpp='$CPP $CPPFLAGS'
9569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9571 cross_compiling=$ac_cv_prog_cc_cross
9577 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9578 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9579 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9580 echo "configure:9581: checking for __builtin_fabsf linkage" >&5
9581 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9582 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9583 echo $ac_n "(cached) $ac_c" 1>&6
9586 cat > conftest.$ac_ext <<EOF
9587 #line 9588 "configure"
9588 #include "confdefs.h"
9594 if { (eval echo configure:9595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9596 glibcpp_cv_func___builtin_fabsf_link=yes
9598 echo "configure: failed program was:" >&5
9599 cat conftest.$ac_ext >&5
9601 glibcpp_cv_func___builtin_fabsf_link=no
9608 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9609 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9610 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9611 cat >> confdefs.h <<EOF
9612 #define ${ac_tr_func} 1
9619 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9620 echo "configure:9621: checking for __builtin_fabs declaration" >&5
9621 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9622 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9623 echo $ac_n "(cached) $ac_c" 1>&6
9628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9629 ac_cpp='$CXXCPP $CPPFLAGS'
9630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9632 cross_compiling=$ac_cv_prog_cxx_cross
9634 cat > conftest.$ac_ext <<EOF
9635 #line 9636 "configure"
9636 #include "confdefs.h"
9642 if { (eval echo configure:9643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9644 glibcpp_cv_func___builtin_fabs_use=yes
9646 echo "configure: failed program was:" >&5
9647 cat conftest.$ac_ext >&5
9649 glibcpp_cv_func___builtin_fabs_use=no
9653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9654 ac_cpp='$CPP $CPPFLAGS'
9655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9657 cross_compiling=$ac_cv_prog_cc_cross
9663 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9664 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9665 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9666 echo "configure:9667: checking for __builtin_fabs linkage" >&5
9667 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9668 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9669 echo $ac_n "(cached) $ac_c" 1>&6
9672 cat > conftest.$ac_ext <<EOF
9673 #line 9674 "configure"
9674 #include "confdefs.h"
9680 if { (eval echo configure:9681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9682 glibcpp_cv_func___builtin_fabs_link=yes
9684 echo "configure: failed program was:" >&5
9685 cat conftest.$ac_ext >&5
9687 glibcpp_cv_func___builtin_fabs_link=no
9694 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9695 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9696 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9697 cat >> confdefs.h <<EOF
9698 #define ${ac_tr_func} 1
9705 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9706 echo "configure:9707: checking for __builtin_fabsl declaration" >&5
9707 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9708 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9709 echo $ac_n "(cached) $ac_c" 1>&6
9714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9715 ac_cpp='$CXXCPP $CPPFLAGS'
9716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9718 cross_compiling=$ac_cv_prog_cxx_cross
9720 cat > conftest.$ac_ext <<EOF
9721 #line 9722 "configure"
9722 #include "confdefs.h"
9728 if { (eval echo configure:9729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9730 glibcpp_cv_func___builtin_fabsl_use=yes
9732 echo "configure: failed program was:" >&5
9733 cat conftest.$ac_ext >&5
9735 glibcpp_cv_func___builtin_fabsl_use=no
9739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9740 ac_cpp='$CPP $CPPFLAGS'
9741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9743 cross_compiling=$ac_cv_prog_cc_cross
9749 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9750 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9751 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9752 echo "configure:9753: checking for __builtin_fabsl linkage" >&5
9753 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9754 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9755 echo $ac_n "(cached) $ac_c" 1>&6
9758 cat > conftest.$ac_ext <<EOF
9759 #line 9760 "configure"
9760 #include "confdefs.h"
9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9768 glibcpp_cv_func___builtin_fabsl_link=yes
9770 echo "configure: failed program was:" >&5
9771 cat conftest.$ac_ext >&5
9773 glibcpp_cv_func___builtin_fabsl_link=no
9780 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9781 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9782 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9783 cat >> confdefs.h <<EOF
9784 #define ${ac_tr_func} 1
9791 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9792 echo "configure:9793: checking for __builtin_labs declaration" >&5
9793 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9794 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9795 echo $ac_n "(cached) $ac_c" 1>&6
9800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9801 ac_cpp='$CXXCPP $CPPFLAGS'
9802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9804 cross_compiling=$ac_cv_prog_cxx_cross
9806 cat > conftest.$ac_ext <<EOF
9807 #line 9808 "configure"
9808 #include "confdefs.h"
9814 if { (eval echo configure:9815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9816 glibcpp_cv_func___builtin_labs_use=yes
9818 echo "configure: failed program was:" >&5
9819 cat conftest.$ac_ext >&5
9821 glibcpp_cv_func___builtin_labs_use=no
9825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9826 ac_cpp='$CPP $CPPFLAGS'
9827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9829 cross_compiling=$ac_cv_prog_cc_cross
9835 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9836 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9837 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9838 echo "configure:9839: checking for __builtin_labs linkage" >&5
9839 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9840 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9841 echo $ac_n "(cached) $ac_c" 1>&6
9844 cat > conftest.$ac_ext <<EOF
9845 #line 9846 "configure"
9846 #include "confdefs.h"
9852 if { (eval echo configure:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9854 glibcpp_cv_func___builtin_labs_link=yes
9856 echo "configure: failed program was:" >&5
9857 cat conftest.$ac_ext >&5
9859 glibcpp_cv_func___builtin_labs_link=no
9866 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9867 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9868 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9869 cat >> confdefs.h <<EOF
9870 #define ${ac_tr_func} 1
9878 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9879 echo "configure:9880: checking for __builtin_sqrtf declaration" >&5
9880 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9881 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9882 echo $ac_n "(cached) $ac_c" 1>&6
9887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9888 ac_cpp='$CXXCPP $CPPFLAGS'
9889 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9890 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9891 cross_compiling=$ac_cv_prog_cxx_cross
9893 cat > conftest.$ac_ext <<EOF
9894 #line 9895 "configure"
9895 #include "confdefs.h"
9901 if { (eval echo configure:9902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9903 glibcpp_cv_func___builtin_sqrtf_use=yes
9905 echo "configure: failed program was:" >&5
9906 cat conftest.$ac_ext >&5
9908 glibcpp_cv_func___builtin_sqrtf_use=no
9912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9913 ac_cpp='$CPP $CPPFLAGS'
9914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9916 cross_compiling=$ac_cv_prog_cc_cross
9922 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9923 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9924 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9925 echo "configure:9926: checking for __builtin_sqrtf linkage" >&5
9926 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9927 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9928 echo $ac_n "(cached) $ac_c" 1>&6
9931 cat > conftest.$ac_ext <<EOF
9932 #line 9933 "configure"
9933 #include "confdefs.h"
9939 if { (eval echo configure:9940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9941 glibcpp_cv_func___builtin_sqrtf_link=yes
9943 echo "configure: failed program was:" >&5
9944 cat conftest.$ac_ext >&5
9946 glibcpp_cv_func___builtin_sqrtf_link=no
9953 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9954 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9955 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9956 cat >> confdefs.h <<EOF
9957 #define ${ac_tr_func} 1
9964 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9965 echo "configure:9966: checking for __builtin_sqrt declaration" >&5
9966 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9967 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9968 echo $ac_n "(cached) $ac_c" 1>&6
9973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9974 ac_cpp='$CXXCPP $CPPFLAGS'
9975 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9976 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9977 cross_compiling=$ac_cv_prog_cxx_cross
9979 cat > conftest.$ac_ext <<EOF
9980 #line 9981 "configure"
9981 #include "confdefs.h"
9987 if { (eval echo configure:9988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9989 glibcpp_cv_func___builtin_sqrt_use=yes
9991 echo "configure: failed program was:" >&5
9992 cat conftest.$ac_ext >&5
9994 glibcpp_cv_func___builtin_sqrt_use=no
9998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9999 ac_cpp='$CPP $CPPFLAGS'
10000 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10001 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10002 cross_compiling=$ac_cv_prog_cc_cross
10008 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
10009 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
10010 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
10011 echo "configure:10012: checking for __builtin_sqrt linkage" >&5
10012 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
10013 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10017 cat > conftest.$ac_ext <<EOF
10018 #line 10019 "configure"
10019 #include "confdefs.h"
10025 if { (eval echo configure:10026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10027 glibcpp_cv_func___builtin_sqrt_link=yes
10029 echo "configure: failed program was:" >&5
10030 cat conftest.$ac_ext >&5
10032 glibcpp_cv_func___builtin_sqrt_link=no
10039 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
10040 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
10041 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10042 cat >> confdefs.h <<EOF
10043 #define ${ac_tr_func} 1
10050 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
10051 echo "configure:10052: checking for __builtin_sqrtl declaration" >&5
10052 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10053 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10060 ac_cpp='$CXXCPP $CPPFLAGS'
10061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10063 cross_compiling=$ac_cv_prog_cxx_cross
10065 cat > conftest.$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10070 __builtin_sqrtl(0);
10073 if { (eval echo configure:10074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10075 glibcpp_cv_func___builtin_sqrtl_use=yes
10077 echo "configure: failed program was:" >&5
10078 cat conftest.$ac_ext >&5
10080 glibcpp_cv_func___builtin_sqrtl_use=no
10084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10085 ac_cpp='$CPP $CPPFLAGS'
10086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10088 cross_compiling=$ac_cv_prog_cc_cross
10094 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10095 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10096 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10097 echo "configure:10098: checking for __builtin_sqrtl linkage" >&5
10098 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10099 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10100 echo $ac_n "(cached) $ac_c" 1>&6
10103 cat > conftest.$ac_ext <<EOF
10104 #line 10105 "configure"
10105 #include "confdefs.h"
10108 __builtin_sqrtl(0);
10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10113 glibcpp_cv_func___builtin_sqrtl_link=yes
10115 echo "configure: failed program was:" >&5
10116 cat conftest.$ac_ext >&5
10118 glibcpp_cv_func___builtin_sqrtl_link=no
10125 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10126 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10127 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10128 cat >> confdefs.h <<EOF
10129 #define ${ac_tr_func} 1
10137 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10138 echo "configure:10139: checking for __builtin_sinf declaration" >&5
10139 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10140 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10141 echo $ac_n "(cached) $ac_c" 1>&6
10146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10147 ac_cpp='$CXXCPP $CPPFLAGS'
10148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10150 cross_compiling=$ac_cv_prog_cxx_cross
10152 cat > conftest.$ac_ext <<EOF
10153 #line 10154 "configure"
10154 #include "confdefs.h"
10160 if { (eval echo configure:10161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10162 glibcpp_cv_func___builtin_sinf_use=yes
10164 echo "configure: failed program was:" >&5
10165 cat conftest.$ac_ext >&5
10167 glibcpp_cv_func___builtin_sinf_use=no
10171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10172 ac_cpp='$CPP $CPPFLAGS'
10173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10175 cross_compiling=$ac_cv_prog_cc_cross
10181 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10182 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10183 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10184 echo "configure:10185: checking for __builtin_sinf linkage" >&5
10185 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10186 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10187 echo $ac_n "(cached) $ac_c" 1>&6
10190 cat > conftest.$ac_ext <<EOF
10191 #line 10192 "configure"
10192 #include "confdefs.h"
10198 if { (eval echo configure:10199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10200 glibcpp_cv_func___builtin_sinf_link=yes
10202 echo "configure: failed program was:" >&5
10203 cat conftest.$ac_ext >&5
10205 glibcpp_cv_func___builtin_sinf_link=no
10212 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10213 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10214 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10215 cat >> confdefs.h <<EOF
10216 #define ${ac_tr_func} 1
10223 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10224 echo "configure:10225: checking for __builtin_sin declaration" >&5
10225 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10226 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10227 echo $ac_n "(cached) $ac_c" 1>&6
10232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10233 ac_cpp='$CXXCPP $CPPFLAGS'
10234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10236 cross_compiling=$ac_cv_prog_cxx_cross
10238 cat > conftest.$ac_ext <<EOF
10239 #line 10240 "configure"
10240 #include "confdefs.h"
10246 if { (eval echo configure:10247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10248 glibcpp_cv_func___builtin_sin_use=yes
10250 echo "configure: failed program was:" >&5
10251 cat conftest.$ac_ext >&5
10253 glibcpp_cv_func___builtin_sin_use=no
10257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10258 ac_cpp='$CPP $CPPFLAGS'
10259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10261 cross_compiling=$ac_cv_prog_cc_cross
10267 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10268 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10269 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10270 echo "configure:10271: checking for __builtin_sin linkage" >&5
10271 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10272 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10276 cat > conftest.$ac_ext <<EOF
10277 #line 10278 "configure"
10278 #include "confdefs.h"
10284 if { (eval echo configure:10285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10286 glibcpp_cv_func___builtin_sin_link=yes
10288 echo "configure: failed program was:" >&5
10289 cat conftest.$ac_ext >&5
10291 glibcpp_cv_func___builtin_sin_link=no
10298 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10299 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10300 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10301 cat >> confdefs.h <<EOF
10302 #define ${ac_tr_func} 1
10309 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10310 echo "configure:10311: checking for __builtin_sinl declaration" >&5
10311 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10312 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10313 echo $ac_n "(cached) $ac_c" 1>&6
10318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10319 ac_cpp='$CXXCPP $CPPFLAGS'
10320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10322 cross_compiling=$ac_cv_prog_cxx_cross
10324 cat > conftest.$ac_ext <<EOF
10325 #line 10326 "configure"
10326 #include "confdefs.h"
10332 if { (eval echo configure:10333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10334 glibcpp_cv_func___builtin_sinl_use=yes
10336 echo "configure: failed program was:" >&5
10337 cat conftest.$ac_ext >&5
10339 glibcpp_cv_func___builtin_sinl_use=no
10343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10344 ac_cpp='$CPP $CPPFLAGS'
10345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10347 cross_compiling=$ac_cv_prog_cc_cross
10353 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10354 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10355 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10356 echo "configure:10357: checking for __builtin_sinl linkage" >&5
10357 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10358 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10359 echo $ac_n "(cached) $ac_c" 1>&6
10362 cat > conftest.$ac_ext <<EOF
10363 #line 10364 "configure"
10364 #include "confdefs.h"
10370 if { (eval echo configure:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10372 glibcpp_cv_func___builtin_sinl_link=yes
10374 echo "configure: failed program was:" >&5
10375 cat conftest.$ac_ext >&5
10377 glibcpp_cv_func___builtin_sinl_link=no
10384 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10385 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10386 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10387 cat >> confdefs.h <<EOF
10388 #define ${ac_tr_func} 1
10396 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10397 echo "configure:10398: checking for __builtin_cosf declaration" >&5
10398 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10399 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10400 echo $ac_n "(cached) $ac_c" 1>&6
10405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10406 ac_cpp='$CXXCPP $CPPFLAGS'
10407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10409 cross_compiling=$ac_cv_prog_cxx_cross
10411 cat > conftest.$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10419 if { (eval echo configure:10420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10421 glibcpp_cv_func___builtin_cosf_use=yes
10423 echo "configure: failed program was:" >&5
10424 cat conftest.$ac_ext >&5
10426 glibcpp_cv_func___builtin_cosf_use=no
10430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10431 ac_cpp='$CPP $CPPFLAGS'
10432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10434 cross_compiling=$ac_cv_prog_cc_cross
10440 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10441 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10442 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10443 echo "configure:10444: checking for __builtin_cosf linkage" >&5
10444 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10445 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10446 echo $ac_n "(cached) $ac_c" 1>&6
10449 cat > conftest.$ac_ext <<EOF
10450 #line 10451 "configure"
10451 #include "confdefs.h"
10457 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10459 glibcpp_cv_func___builtin_cosf_link=yes
10461 echo "configure: failed program was:" >&5
10462 cat conftest.$ac_ext >&5
10464 glibcpp_cv_func___builtin_cosf_link=no
10471 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10472 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10473 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10474 cat >> confdefs.h <<EOF
10475 #define ${ac_tr_func} 1
10482 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10483 echo "configure:10484: checking for __builtin_cos declaration" >&5
10484 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10485 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10486 echo $ac_n "(cached) $ac_c" 1>&6
10491 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10492 ac_cpp='$CXXCPP $CPPFLAGS'
10493 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10494 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10495 cross_compiling=$ac_cv_prog_cxx_cross
10497 cat > conftest.$ac_ext <<EOF
10498 #line 10499 "configure"
10499 #include "confdefs.h"
10505 if { (eval echo configure:10506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10507 glibcpp_cv_func___builtin_cos_use=yes
10509 echo "configure: failed program was:" >&5
10510 cat conftest.$ac_ext >&5
10512 glibcpp_cv_func___builtin_cos_use=no
10516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10517 ac_cpp='$CPP $CPPFLAGS'
10518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10520 cross_compiling=$ac_cv_prog_cc_cross
10526 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10527 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10528 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10529 echo "configure:10530: checking for __builtin_cos linkage" >&5
10530 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10531 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10532 echo $ac_n "(cached) $ac_c" 1>&6
10535 cat > conftest.$ac_ext <<EOF
10536 #line 10537 "configure"
10537 #include "confdefs.h"
10543 if { (eval echo configure:10544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10545 glibcpp_cv_func___builtin_cos_link=yes
10547 echo "configure: failed program was:" >&5
10548 cat conftest.$ac_ext >&5
10550 glibcpp_cv_func___builtin_cos_link=no
10557 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10558 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10559 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10560 cat >> confdefs.h <<EOF
10561 #define ${ac_tr_func} 1
10568 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10569 echo "configure:10570: checking for __builtin_cosl declaration" >&5
10570 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10571 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10572 echo $ac_n "(cached) $ac_c" 1>&6
10577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10578 ac_cpp='$CXXCPP $CPPFLAGS'
10579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10581 cross_compiling=$ac_cv_prog_cxx_cross
10583 cat > conftest.$ac_ext <<EOF
10584 #line 10585 "configure"
10585 #include "confdefs.h"
10591 if { (eval echo configure:10592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10593 glibcpp_cv_func___builtin_cosl_use=yes
10595 echo "configure: failed program was:" >&5
10596 cat conftest.$ac_ext >&5
10598 glibcpp_cv_func___builtin_cosl_use=no
10602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10603 ac_cpp='$CPP $CPPFLAGS'
10604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10606 cross_compiling=$ac_cv_prog_cc_cross
10612 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10613 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10614 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10615 echo "configure:10616: checking for __builtin_cosl linkage" >&5
10616 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10617 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10618 echo $ac_n "(cached) $ac_c" 1>&6
10621 cat > conftest.$ac_ext <<EOF
10622 #line 10623 "configure"
10623 #include "confdefs.h"
10629 if { (eval echo configure:10630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10631 glibcpp_cv_func___builtin_cosl_link=yes
10633 echo "configure: failed program was:" >&5
10634 cat conftest.$ac_ext >&5
10636 glibcpp_cv_func___builtin_cosl_link=no
10643 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10644 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10645 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10646 cat >> confdefs.h <<EOF
10647 #define ${ac_tr_func} 1
10655 if test x$dummyvar = x"yes"; then
10656 cat >> confdefs.h <<\EOF
10657 #define HAVE___BUILTIN_ABS 1
10660 cat >> confdefs.h <<\EOF
10661 #define HAVE___BUILTIN_LABS 1
10664 cat >> confdefs.h <<\EOF
10665 #define HAVE___BUILTIN_COS 1
10668 cat >> confdefs.h <<\EOF
10669 #define HAVE___BUILTIN_COSF 1
10672 cat >> confdefs.h <<\EOF
10673 #define HAVE___BUILTIN_COSL 1
10676 cat >> confdefs.h <<\EOF
10677 #define HAVE___BUILTIN_FABS 1
10680 cat >> confdefs.h <<\EOF
10681 #define HAVE___BUILTIN_FABSF 1
10684 cat >> confdefs.h <<\EOF
10685 #define HAVE___BUILTIN_FABSL 1
10688 cat >> confdefs.h <<\EOF
10689 #define HAVE___BUILTIN_SIN 1
10692 cat >> confdefs.h <<\EOF
10693 #define HAVE___BUILTIN_SINF 1
10696 cat >> confdefs.h <<\EOF
10697 #define HAVE___BUILTIN_SINL 1
10700 cat >> confdefs.h <<\EOF
10701 #define HAVE___BUILTIN_SQRT 1
10704 cat >> confdefs.h <<\EOF
10705 #define HAVE___BUILTIN_SQRTF 1
10708 cat >> confdefs.h <<\EOF
10709 #define HAVE___BUILTIN_SQRTL 1
10715 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10716 ac_save_CXXFLAGS="$CXXFLAGS"
10717 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10719 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10720 echo "configure:10721: checking for sin in -lm" >&5
10721 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10722 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10723 echo $ac_n "(cached) $ac_c" 1>&6
10725 ac_save_LIBS="$LIBS"
10727 cat > conftest.$ac_ext <<EOF
10728 #line 10729 "configure"
10729 #include "confdefs.h"
10730 /* Override any gcc2 internal prototype to avoid an error. */
10731 /* We use char because int might match the return type of a gcc2
10732 builtin and then its argument prototype would still apply. */
10739 if { (eval echo configure:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10741 eval "ac_cv_lib_$ac_lib_var=yes"
10743 echo "configure: failed program was:" >&5
10744 cat conftest.$ac_ext >&5
10746 eval "ac_cv_lib_$ac_lib_var=no"
10749 LIBS="$ac_save_LIBS"
10752 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10753 echo "$ac_t""yes" 1>&6
10756 echo "$ac_t""no" 1>&6
10759 ac_save_LIBS="$LIBS"
10764 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10765 echo "configure:10766: checking for isinf declaration" >&5
10766 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10767 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10768 echo $ac_n "(cached) $ac_c" 1>&6
10773 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10774 ac_cpp='$CXXCPP $CPPFLAGS'
10775 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10776 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10777 cross_compiling=$ac_cv_prog_cxx_cross
10779 cat > conftest.$ac_ext <<EOF
10780 #line 10781 "configure"
10781 #include "confdefs.h"
10783 #ifdef HAVE_IEEEFP_H
10784 #include <ieeefp.h>
10791 if { (eval echo configure:10792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10793 glibcpp_cv_func_isinf_use=yes
10795 echo "configure: failed program was:" >&5
10796 cat conftest.$ac_ext >&5
10798 glibcpp_cv_func_isinf_use=no
10802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10803 ac_cpp='$CPP $CPPFLAGS'
10804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10806 cross_compiling=$ac_cv_prog_cc_cross
10812 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10814 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10815 for ac_func in isinf
10817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10818 echo "configure:10819: checking for $ac_func" >&5
10819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10820 echo $ac_n "(cached) $ac_c" 1>&6
10822 cat > conftest.$ac_ext <<EOF
10823 #line 10824 "configure"
10824 #include "confdefs.h"
10825 /* System header to define __stub macros and hopefully few prototypes,
10826 which can conflict with char $ac_func(); below. */
10827 #include <assert.h>
10828 /* Override any gcc2 internal prototype to avoid an error. */
10829 /* We use char because int might match the return type of a gcc2
10830 builtin and then its argument prototype would still apply. */
10835 /* The GNU C library defines this for functions which it implements
10836 to always fail with ENOSYS. Some functions are actually named
10837 something starting with __ and the normal name is an alias. */
10838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10846 if { (eval echo configure:10847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10848 eval "ac_cv_func_$ac_func=yes"
10850 echo "configure: failed program was:" >&5
10851 cat conftest.$ac_ext >&5
10853 eval "ac_cv_func_$ac_func=no"
10858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10859 echo "$ac_t""yes" 1>&6
10860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10861 cat >> confdefs.h <<EOF
10862 #define $ac_tr_func 1
10866 echo "$ac_t""no" 1>&6
10872 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10873 echo "configure:10874: checking for _isinf declaration" >&5
10874 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10875 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10876 echo $ac_n "(cached) $ac_c" 1>&6
10881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10882 ac_cpp='$CXXCPP $CPPFLAGS'
10883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10885 cross_compiling=$ac_cv_prog_cxx_cross
10887 cat > conftest.$ac_ext <<EOF
10888 #line 10889 "configure"
10889 #include "confdefs.h"
10891 #ifdef HAVE_IEEEFP_H
10892 #include <ieeefp.h>
10899 if { (eval echo configure:10900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10901 glibcpp_cv_func__isinf_use=yes
10903 echo "configure: failed program was:" >&5
10904 cat conftest.$ac_ext >&5
10906 glibcpp_cv_func__isinf_use=no
10910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10911 ac_cpp='$CPP $CPPFLAGS'
10912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10914 cross_compiling=$ac_cv_prog_cc_cross
10920 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10922 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10923 for ac_func in _isinf
10925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10926 echo "configure:10927: checking for $ac_func" >&5
10927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10928 echo $ac_n "(cached) $ac_c" 1>&6
10930 cat > conftest.$ac_ext <<EOF
10931 #line 10932 "configure"
10932 #include "confdefs.h"
10933 /* System header to define __stub macros and hopefully few prototypes,
10934 which can conflict with char $ac_func(); below. */
10935 #include <assert.h>
10936 /* Override any gcc2 internal prototype to avoid an error. */
10937 /* We use char because int might match the return type of a gcc2
10938 builtin and then its argument prototype would still apply. */
10943 /* The GNU C library defines this for functions which it implements
10944 to always fail with ENOSYS. Some functions are actually named
10945 something starting with __ and the normal name is an alias. */
10946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10954 if { (eval echo configure:10955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10956 eval "ac_cv_func_$ac_func=yes"
10958 echo "configure: failed program was:" >&5
10959 cat conftest.$ac_ext >&5
10961 eval "ac_cv_func_$ac_func=no"
10966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10967 echo "$ac_t""yes" 1>&6
10968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10969 cat >> confdefs.h <<EOF
10970 #define $ac_tr_func 1
10974 echo "$ac_t""no" 1>&6
10983 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10984 echo "configure:10985: checking for isnan declaration" >&5
10985 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10986 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10987 echo $ac_n "(cached) $ac_c" 1>&6
10992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10993 ac_cpp='$CXXCPP $CPPFLAGS'
10994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10996 cross_compiling=$ac_cv_prog_cxx_cross
10998 cat > conftest.$ac_ext <<EOF
10999 #line 11000 "configure"
11000 #include "confdefs.h"
11002 #ifdef HAVE_IEEEFP_H
11003 #include <ieeefp.h>
11010 if { (eval echo configure:11011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11012 glibcpp_cv_func_isnan_use=yes
11014 echo "configure: failed program was:" >&5
11015 cat conftest.$ac_ext >&5
11017 glibcpp_cv_func_isnan_use=no
11021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11022 ac_cpp='$CPP $CPPFLAGS'
11023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11025 cross_compiling=$ac_cv_prog_cc_cross
11031 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11033 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11034 for ac_func in isnan
11036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11037 echo "configure:11038: checking for $ac_func" >&5
11038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11039 echo $ac_n "(cached) $ac_c" 1>&6
11041 cat > conftest.$ac_ext <<EOF
11042 #line 11043 "configure"
11043 #include "confdefs.h"
11044 /* System header to define __stub macros and hopefully few prototypes,
11045 which can conflict with char $ac_func(); below. */
11046 #include <assert.h>
11047 /* Override any gcc2 internal prototype to avoid an error. */
11048 /* We use char because int might match the return type of a gcc2
11049 builtin and then its argument prototype would still apply. */
11054 /* The GNU C library defines this for functions which it implements
11055 to always fail with ENOSYS. Some functions are actually named
11056 something starting with __ and the normal name is an alias. */
11057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11065 if { (eval echo configure:11066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11067 eval "ac_cv_func_$ac_func=yes"
11069 echo "configure: failed program was:" >&5
11070 cat conftest.$ac_ext >&5
11072 eval "ac_cv_func_$ac_func=no"
11077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11078 echo "$ac_t""yes" 1>&6
11079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11080 cat >> confdefs.h <<EOF
11081 #define $ac_tr_func 1
11085 echo "$ac_t""no" 1>&6
11091 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11092 echo "configure:11093: checking for _isnan declaration" >&5
11093 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11094 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11095 echo $ac_n "(cached) $ac_c" 1>&6
11100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11101 ac_cpp='$CXXCPP $CPPFLAGS'
11102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11104 cross_compiling=$ac_cv_prog_cxx_cross
11106 cat > conftest.$ac_ext <<EOF
11107 #line 11108 "configure"
11108 #include "confdefs.h"
11110 #ifdef HAVE_IEEEFP_H
11111 #include <ieeefp.h>
11118 if { (eval echo configure:11119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11120 glibcpp_cv_func__isnan_use=yes
11122 echo "configure: failed program was:" >&5
11123 cat conftest.$ac_ext >&5
11125 glibcpp_cv_func__isnan_use=no
11129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11130 ac_cpp='$CPP $CPPFLAGS'
11131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11133 cross_compiling=$ac_cv_prog_cc_cross
11139 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11141 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11142 for ac_func in _isnan
11144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11145 echo "configure:11146: checking for $ac_func" >&5
11146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11147 echo $ac_n "(cached) $ac_c" 1>&6
11149 cat > conftest.$ac_ext <<EOF
11150 #line 11151 "configure"
11151 #include "confdefs.h"
11152 /* System header to define __stub macros and hopefully few prototypes,
11153 which can conflict with char $ac_func(); below. */
11154 #include <assert.h>
11155 /* Override any gcc2 internal prototype to avoid an error. */
11156 /* We use char because int might match the return type of a gcc2
11157 builtin and then its argument prototype would still apply. */
11162 /* The GNU C library defines this for functions which it implements
11163 to always fail with ENOSYS. Some functions are actually named
11164 something starting with __ and the normal name is an alias. */
11165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11173 if { (eval echo configure:11174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11175 eval "ac_cv_func_$ac_func=yes"
11177 echo "configure: failed program was:" >&5
11178 cat conftest.$ac_ext >&5
11180 eval "ac_cv_func_$ac_func=no"
11185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11186 echo "$ac_t""yes" 1>&6
11187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11188 cat >> confdefs.h <<EOF
11189 #define $ac_tr_func 1
11193 echo "$ac_t""no" 1>&6
11202 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11203 echo "configure:11204: checking for finite declaration" >&5
11204 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11205 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11206 echo $ac_n "(cached) $ac_c" 1>&6
11211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11212 ac_cpp='$CXXCPP $CPPFLAGS'
11213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11215 cross_compiling=$ac_cv_prog_cxx_cross
11217 cat > conftest.$ac_ext <<EOF
11218 #line 11219 "configure"
11219 #include "confdefs.h"
11221 #ifdef HAVE_IEEEFP_H
11222 #include <ieeefp.h>
11229 if { (eval echo configure:11230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11231 glibcpp_cv_func_finite_use=yes
11233 echo "configure: failed program was:" >&5
11234 cat conftest.$ac_ext >&5
11236 glibcpp_cv_func_finite_use=no
11240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11241 ac_cpp='$CPP $CPPFLAGS'
11242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11244 cross_compiling=$ac_cv_prog_cc_cross
11250 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11252 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11253 for ac_func in finite
11255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11256 echo "configure:11257: checking for $ac_func" >&5
11257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11258 echo $ac_n "(cached) $ac_c" 1>&6
11260 cat > conftest.$ac_ext <<EOF
11261 #line 11262 "configure"
11262 #include "confdefs.h"
11263 /* System header to define __stub macros and hopefully few prototypes,
11264 which can conflict with char $ac_func(); below. */
11265 #include <assert.h>
11266 /* Override any gcc2 internal prototype to avoid an error. */
11267 /* We use char because int might match the return type of a gcc2
11268 builtin and then its argument prototype would still apply. */
11273 /* The GNU C library defines this for functions which it implements
11274 to always fail with ENOSYS. Some functions are actually named
11275 something starting with __ and the normal name is an alias. */
11276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11284 if { (eval echo configure:11285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11286 eval "ac_cv_func_$ac_func=yes"
11288 echo "configure: failed program was:" >&5
11289 cat conftest.$ac_ext >&5
11291 eval "ac_cv_func_$ac_func=no"
11296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11297 echo "$ac_t""yes" 1>&6
11298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11299 cat >> confdefs.h <<EOF
11300 #define $ac_tr_func 1
11304 echo "$ac_t""no" 1>&6
11310 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11311 echo "configure:11312: checking for _finite declaration" >&5
11312 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11313 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11314 echo $ac_n "(cached) $ac_c" 1>&6
11319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11320 ac_cpp='$CXXCPP $CPPFLAGS'
11321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11323 cross_compiling=$ac_cv_prog_cxx_cross
11325 cat > conftest.$ac_ext <<EOF
11326 #line 11327 "configure"
11327 #include "confdefs.h"
11329 #ifdef HAVE_IEEEFP_H
11330 #include <ieeefp.h>
11337 if { (eval echo configure:11338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11339 glibcpp_cv_func__finite_use=yes
11341 echo "configure: failed program was:" >&5
11342 cat conftest.$ac_ext >&5
11344 glibcpp_cv_func__finite_use=no
11348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11349 ac_cpp='$CPP $CPPFLAGS'
11350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11352 cross_compiling=$ac_cv_prog_cc_cross
11358 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11360 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11361 for ac_func in _finite
11363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11364 echo "configure:11365: checking for $ac_func" >&5
11365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11366 echo $ac_n "(cached) $ac_c" 1>&6
11368 cat > conftest.$ac_ext <<EOF
11369 #line 11370 "configure"
11370 #include "confdefs.h"
11371 /* System header to define __stub macros and hopefully few prototypes,
11372 which can conflict with char $ac_func(); below. */
11373 #include <assert.h>
11374 /* Override any gcc2 internal prototype to avoid an error. */
11375 /* We use char because int might match the return type of a gcc2
11376 builtin and then its argument prototype would still apply. */
11381 /* The GNU C library defines this for functions which it implements
11382 to always fail with ENOSYS. Some functions are actually named
11383 something starting with __ and the normal name is an alias. */
11384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11392 if { (eval echo configure:11393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11394 eval "ac_cv_func_$ac_func=yes"
11396 echo "configure: failed program was:" >&5
11397 cat conftest.$ac_ext >&5
11399 eval "ac_cv_func_$ac_func=no"
11404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11405 echo "$ac_t""yes" 1>&6
11406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11407 cat >> confdefs.h <<EOF
11408 #define $ac_tr_func 1
11412 echo "$ac_t""no" 1>&6
11421 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11422 echo "configure:11423: checking for copysign declaration" >&5
11423 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11424 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11425 echo $ac_n "(cached) $ac_c" 1>&6
11430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11431 ac_cpp='$CXXCPP $CPPFLAGS'
11432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11434 cross_compiling=$ac_cv_prog_cxx_cross
11436 cat > conftest.$ac_ext <<EOF
11437 #line 11438 "configure"
11438 #include "confdefs.h"
11444 if { (eval echo configure:11445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11446 glibcpp_cv_func_copysign_use=yes
11448 echo "configure: failed program was:" >&5
11449 cat conftest.$ac_ext >&5
11451 glibcpp_cv_func_copysign_use=no
11455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11456 ac_cpp='$CPP $CPPFLAGS'
11457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11459 cross_compiling=$ac_cv_prog_cc_cross
11465 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11467 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11468 for ac_func in copysign
11470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11471 echo "configure:11472: checking for $ac_func" >&5
11472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11473 echo $ac_n "(cached) $ac_c" 1>&6
11475 cat > conftest.$ac_ext <<EOF
11476 #line 11477 "configure"
11477 #include "confdefs.h"
11478 /* System header to define __stub macros and hopefully few prototypes,
11479 which can conflict with char $ac_func(); below. */
11480 #include <assert.h>
11481 /* Override any gcc2 internal prototype to avoid an error. */
11482 /* We use char because int might match the return type of a gcc2
11483 builtin and then its argument prototype would still apply. */
11488 /* The GNU C library defines this for functions which it implements
11489 to always fail with ENOSYS. Some functions are actually named
11490 something starting with __ and the normal name is an alias. */
11491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11499 if { (eval echo configure:11500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11501 eval "ac_cv_func_$ac_func=yes"
11503 echo "configure: failed program was:" >&5
11504 cat conftest.$ac_ext >&5
11506 eval "ac_cv_func_$ac_func=no"
11511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11512 echo "$ac_t""yes" 1>&6
11513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11514 cat >> confdefs.h <<EOF
11515 #define $ac_tr_func 1
11519 echo "$ac_t""no" 1>&6
11525 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11526 echo "configure:11527: checking for _copysign declaration" >&5
11527 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11528 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11529 echo $ac_n "(cached) $ac_c" 1>&6
11534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11535 ac_cpp='$CXXCPP $CPPFLAGS'
11536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11538 cross_compiling=$ac_cv_prog_cxx_cross
11540 cat > conftest.$ac_ext <<EOF
11541 #line 11542 "configure"
11542 #include "confdefs.h"
11548 if { (eval echo configure:11549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11550 glibcpp_cv_func__copysign_use=yes
11552 echo "configure: failed program was:" >&5
11553 cat conftest.$ac_ext >&5
11555 glibcpp_cv_func__copysign_use=no
11559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11560 ac_cpp='$CPP $CPPFLAGS'
11561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11563 cross_compiling=$ac_cv_prog_cc_cross
11569 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11571 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11572 for ac_func in _copysign
11574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11575 echo "configure:11576: checking for $ac_func" >&5
11576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11577 echo $ac_n "(cached) $ac_c" 1>&6
11579 cat > conftest.$ac_ext <<EOF
11580 #line 11581 "configure"
11581 #include "confdefs.h"
11582 /* System header to define __stub macros and hopefully few prototypes,
11583 which can conflict with char $ac_func(); below. */
11584 #include <assert.h>
11585 /* Override any gcc2 internal prototype to avoid an error. */
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11592 /* The GNU C library defines this for functions which it implements
11593 to always fail with ENOSYS. Some functions are actually named
11594 something starting with __ and the normal name is an alias. */
11595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11605 eval "ac_cv_func_$ac_func=yes"
11607 echo "configure: failed program was:" >&5
11608 cat conftest.$ac_ext >&5
11610 eval "ac_cv_func_$ac_func=no"
11615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11616 echo "$ac_t""yes" 1>&6
11617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11618 cat >> confdefs.h <<EOF
11619 #define $ac_tr_func 1
11623 echo "$ac_t""no" 1>&6
11632 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11633 echo "configure:11634: checking for sincos declaration" >&5
11634 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11635 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11636 echo $ac_n "(cached) $ac_c" 1>&6
11641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11642 ac_cpp='$CXXCPP $CPPFLAGS'
11643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11645 cross_compiling=$ac_cv_prog_cxx_cross
11647 cat > conftest.$ac_ext <<EOF
11648 #line 11649 "configure"
11649 #include "confdefs.h"
11655 if { (eval echo configure:11656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11657 glibcpp_cv_func_sincos_use=yes
11659 echo "configure: failed program was:" >&5
11660 cat conftest.$ac_ext >&5
11662 glibcpp_cv_func_sincos_use=no
11666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11667 ac_cpp='$CPP $CPPFLAGS'
11668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11670 cross_compiling=$ac_cv_prog_cc_cross
11676 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11678 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11679 for ac_func in sincos
11681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11682 echo "configure:11683: checking for $ac_func" >&5
11683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11684 echo $ac_n "(cached) $ac_c" 1>&6
11686 cat > conftest.$ac_ext <<EOF
11687 #line 11688 "configure"
11688 #include "confdefs.h"
11689 /* System header to define __stub macros and hopefully few prototypes,
11690 which can conflict with char $ac_func(); below. */
11691 #include <assert.h>
11692 /* Override any gcc2 internal prototype to avoid an error. */
11693 /* We use char because int might match the return type of a gcc2
11694 builtin and then its argument prototype would still apply. */
11699 /* The GNU C library defines this for functions which it implements
11700 to always fail with ENOSYS. Some functions are actually named
11701 something starting with __ and the normal name is an alias. */
11702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11712 eval "ac_cv_func_$ac_func=yes"
11714 echo "configure: failed program was:" >&5
11715 cat conftest.$ac_ext >&5
11717 eval "ac_cv_func_$ac_func=no"
11722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11723 echo "$ac_t""yes" 1>&6
11724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11725 cat >> confdefs.h <<EOF
11726 #define $ac_tr_func 1
11730 echo "$ac_t""no" 1>&6
11736 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11737 echo "configure:11738: checking for _sincos declaration" >&5
11738 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11739 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11740 echo $ac_n "(cached) $ac_c" 1>&6
11745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11746 ac_cpp='$CXXCPP $CPPFLAGS'
11747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11749 cross_compiling=$ac_cv_prog_cxx_cross
11751 cat > conftest.$ac_ext <<EOF
11752 #line 11753 "configure"
11753 #include "confdefs.h"
11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11761 glibcpp_cv_func__sincos_use=yes
11763 echo "configure: failed program was:" >&5
11764 cat conftest.$ac_ext >&5
11766 glibcpp_cv_func__sincos_use=no
11770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11771 ac_cpp='$CPP $CPPFLAGS'
11772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11774 cross_compiling=$ac_cv_prog_cc_cross
11780 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11782 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11783 for ac_func in _sincos
11785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11786 echo "configure:11787: checking for $ac_func" >&5
11787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11788 echo $ac_n "(cached) $ac_c" 1>&6
11790 cat > conftest.$ac_ext <<EOF
11791 #line 11792 "configure"
11792 #include "confdefs.h"
11793 /* System header to define __stub macros and hopefully few prototypes,
11794 which can conflict with char $ac_func(); below. */
11795 #include <assert.h>
11796 /* Override any gcc2 internal prototype to avoid an error. */
11797 /* We use char because int might match the return type of a gcc2
11798 builtin and then its argument prototype would still apply. */
11803 /* The GNU C library defines this for functions which it implements
11804 to always fail with ENOSYS. Some functions are actually named
11805 something starting with __ and the normal name is an alias. */
11806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11816 eval "ac_cv_func_$ac_func=yes"
11818 echo "configure: failed program was:" >&5
11819 cat conftest.$ac_ext >&5
11821 eval "ac_cv_func_$ac_func=no"
11826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11827 echo "$ac_t""yes" 1>&6
11828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11829 cat >> confdefs.h <<EOF
11830 #define $ac_tr_func 1
11834 echo "$ac_t""no" 1>&6
11843 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11844 echo "configure:11845: checking for fpclass declaration" >&5
11845 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11846 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11847 echo $ac_n "(cached) $ac_c" 1>&6
11852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11853 ac_cpp='$CXXCPP $CPPFLAGS'
11854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11856 cross_compiling=$ac_cv_prog_cxx_cross
11858 cat > conftest.$ac_ext <<EOF
11859 #line 11860 "configure"
11860 #include "confdefs.h"
11862 #ifdef HAVE_IEEEFP_H
11863 #include <ieeefp.h>
11870 if { (eval echo configure:11871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11872 glibcpp_cv_func_fpclass_use=yes
11874 echo "configure: failed program was:" >&5
11875 cat conftest.$ac_ext >&5
11877 glibcpp_cv_func_fpclass_use=no
11881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11882 ac_cpp='$CPP $CPPFLAGS'
11883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11885 cross_compiling=$ac_cv_prog_cc_cross
11891 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11893 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11894 for ac_func in fpclass
11896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11897 echo "configure:11898: checking for $ac_func" >&5
11898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11899 echo $ac_n "(cached) $ac_c" 1>&6
11901 cat > conftest.$ac_ext <<EOF
11902 #line 11903 "configure"
11903 #include "confdefs.h"
11904 /* System header to define __stub macros and hopefully few prototypes,
11905 which can conflict with char $ac_func(); below. */
11906 #include <assert.h>
11907 /* Override any gcc2 internal prototype to avoid an error. */
11908 /* We use char because int might match the return type of a gcc2
11909 builtin and then its argument prototype would still apply. */
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11925 if { (eval echo configure:11926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11927 eval "ac_cv_func_$ac_func=yes"
11929 echo "configure: failed program was:" >&5
11930 cat conftest.$ac_ext >&5
11932 eval "ac_cv_func_$ac_func=no"
11937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11938 echo "$ac_t""yes" 1>&6
11939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11940 cat >> confdefs.h <<EOF
11941 #define $ac_tr_func 1
11945 echo "$ac_t""no" 1>&6
11951 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11952 echo "configure:11953: checking for _fpclass declaration" >&5
11953 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11954 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11955 echo $ac_n "(cached) $ac_c" 1>&6
11960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11961 ac_cpp='$CXXCPP $CPPFLAGS'
11962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11964 cross_compiling=$ac_cv_prog_cxx_cross
11966 cat > conftest.$ac_ext <<EOF
11967 #line 11968 "configure"
11968 #include "confdefs.h"
11970 #ifdef HAVE_IEEEFP_H
11971 #include <ieeefp.h>
11978 if { (eval echo configure:11979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11980 glibcpp_cv_func__fpclass_use=yes
11982 echo "configure: failed program was:" >&5
11983 cat conftest.$ac_ext >&5
11985 glibcpp_cv_func__fpclass_use=no
11989 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11990 ac_cpp='$CPP $CPPFLAGS'
11991 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11992 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11993 cross_compiling=$ac_cv_prog_cc_cross
11999 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12001 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12002 for ac_func in _fpclass
12004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12005 echo "configure:12006: checking for $ac_func" >&5
12006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12007 echo $ac_n "(cached) $ac_c" 1>&6
12009 cat > conftest.$ac_ext <<EOF
12010 #line 12011 "configure"
12011 #include "confdefs.h"
12012 /* System header to define __stub macros and hopefully few prototypes,
12013 which can conflict with char $ac_func(); below. */
12014 #include <assert.h>
12015 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12022 /* The GNU C library defines this for functions which it implements
12023 to always fail with ENOSYS. Some functions are actually named
12024 something starting with __ and the normal name is an alias. */
12025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12033 if { (eval echo configure:12034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12035 eval "ac_cv_func_$ac_func=yes"
12037 echo "configure: failed program was:" >&5
12038 cat conftest.$ac_ext >&5
12040 eval "ac_cv_func_$ac_func=no"
12045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12046 echo "$ac_t""yes" 1>&6
12047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12048 cat >> confdefs.h <<EOF
12049 #define $ac_tr_func 1
12053 echo "$ac_t""no" 1>&6
12062 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12063 echo "configure:12064: checking for qfpclass declaration" >&5
12064 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12065 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12066 echo $ac_n "(cached) $ac_c" 1>&6
12071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12072 ac_cpp='$CXXCPP $CPPFLAGS'
12073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12075 cross_compiling=$ac_cv_prog_cxx_cross
12077 cat > conftest.$ac_ext <<EOF
12078 #line 12079 "configure"
12079 #include "confdefs.h"
12081 #ifdef HAVE_IEEEFP_H
12082 #include <ieeefp.h>
12089 if { (eval echo configure:12090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12091 glibcpp_cv_func_qfpclass_use=yes
12093 echo "configure: failed program was:" >&5
12094 cat conftest.$ac_ext >&5
12096 glibcpp_cv_func_qfpclass_use=no
12100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12101 ac_cpp='$CPP $CPPFLAGS'
12102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12104 cross_compiling=$ac_cv_prog_cc_cross
12110 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12112 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12113 for ac_func in qfpclass
12115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12116 echo "configure:12117: checking for $ac_func" >&5
12117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12118 echo $ac_n "(cached) $ac_c" 1>&6
12120 cat > conftest.$ac_ext <<EOF
12121 #line 12122 "configure"
12122 #include "confdefs.h"
12123 /* System header to define __stub macros and hopefully few prototypes,
12124 which can conflict with char $ac_func(); below. */
12125 #include <assert.h>
12126 /* Override any gcc2 internal prototype to avoid an error. */
12127 /* We use char because int might match the return type of a gcc2
12128 builtin and then its argument prototype would still apply. */
12133 /* The GNU C library defines this for functions which it implements
12134 to always fail with ENOSYS. Some functions are actually named
12135 something starting with __ and the normal name is an alias. */
12136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12144 if { (eval echo configure:12145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12146 eval "ac_cv_func_$ac_func=yes"
12148 echo "configure: failed program was:" >&5
12149 cat conftest.$ac_ext >&5
12151 eval "ac_cv_func_$ac_func=no"
12156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12157 echo "$ac_t""yes" 1>&6
12158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12159 cat >> confdefs.h <<EOF
12160 #define $ac_tr_func 1
12164 echo "$ac_t""no" 1>&6
12170 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12171 echo "configure:12172: checking for _qfpclass declaration" >&5
12172 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12173 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12180 ac_cpp='$CXXCPP $CPPFLAGS'
12181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12183 cross_compiling=$ac_cv_prog_cxx_cross
12185 cat > conftest.$ac_ext <<EOF
12186 #line 12187 "configure"
12187 #include "confdefs.h"
12189 #ifdef HAVE_IEEEFP_H
12190 #include <ieeefp.h>
12197 if { (eval echo configure:12198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12199 glibcpp_cv_func__qfpclass_use=yes
12201 echo "configure: failed program was:" >&5
12202 cat conftest.$ac_ext >&5
12204 glibcpp_cv_func__qfpclass_use=no
12208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12209 ac_cpp='$CPP $CPPFLAGS'
12210 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12211 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12212 cross_compiling=$ac_cv_prog_cc_cross
12218 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12220 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12221 for ac_func in _qfpclass
12223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12224 echo "configure:12225: checking for $ac_func" >&5
12225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12226 echo $ac_n "(cached) $ac_c" 1>&6
12228 cat > conftest.$ac_ext <<EOF
12229 #line 12230 "configure"
12230 #include "confdefs.h"
12231 /* System header to define __stub macros and hopefully few prototypes,
12232 which can conflict with char $ac_func(); below. */
12233 #include <assert.h>
12234 /* Override any gcc2 internal prototype to avoid an error. */
12235 /* We use char because int might match the return type of a gcc2
12236 builtin and then its argument prototype would still apply. */
12241 /* The GNU C library defines this for functions which it implements
12242 to always fail with ENOSYS. Some functions are actually named
12243 something starting with __ and the normal name is an alias. */
12244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12252 if { (eval echo configure:12253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12254 eval "ac_cv_func_$ac_func=yes"
12256 echo "configure: failed program was:" >&5
12257 cat conftest.$ac_ext >&5
12259 eval "ac_cv_func_$ac_func=no"
12264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12265 echo "$ac_t""yes" 1>&6
12266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12267 cat >> confdefs.h <<EOF
12268 #define $ac_tr_func 1
12272 echo "$ac_t""no" 1>&6
12281 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12282 echo "configure:12283: checking for hypot declaration" >&5
12283 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12284 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12285 echo $ac_n "(cached) $ac_c" 1>&6
12290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12291 ac_cpp='$CXXCPP $CPPFLAGS'
12292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12294 cross_compiling=$ac_cv_prog_cxx_cross
12296 cat > conftest.$ac_ext <<EOF
12297 #line 12298 "configure"
12298 #include "confdefs.h"
12304 if { (eval echo configure:12305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12306 glibcpp_cv_func_hypot_use=yes
12308 echo "configure: failed program was:" >&5
12309 cat conftest.$ac_ext >&5
12311 glibcpp_cv_func_hypot_use=no
12315 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12316 ac_cpp='$CPP $CPPFLAGS'
12317 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12318 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12319 cross_compiling=$ac_cv_prog_cc_cross
12325 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12327 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12328 for ac_func in hypot
12330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12331 echo "configure:12332: checking for $ac_func" >&5
12332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12333 echo $ac_n "(cached) $ac_c" 1>&6
12335 cat > conftest.$ac_ext <<EOF
12336 #line 12337 "configure"
12337 #include "confdefs.h"
12338 /* System header to define __stub macros and hopefully few prototypes,
12339 which can conflict with char $ac_func(); below. */
12340 #include <assert.h>
12341 /* Override any gcc2 internal prototype to avoid an error. */
12342 /* We use char because int might match the return type of a gcc2
12343 builtin and then its argument prototype would still apply. */
12348 /* The GNU C library defines this for functions which it implements
12349 to always fail with ENOSYS. Some functions are actually named
12350 something starting with __ and the normal name is an alias. */
12351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12359 if { (eval echo configure:12360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12361 eval "ac_cv_func_$ac_func=yes"
12363 echo "configure: failed program was:" >&5
12364 cat conftest.$ac_ext >&5
12366 eval "ac_cv_func_$ac_func=no"
12371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12372 echo "$ac_t""yes" 1>&6
12373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12374 cat >> confdefs.h <<EOF
12375 #define $ac_tr_func 1
12379 echo "$ac_t""no" 1>&6
12385 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12386 echo "configure:12387: checking for _hypot declaration" >&5
12387 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12388 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12389 echo $ac_n "(cached) $ac_c" 1>&6
12394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12395 ac_cpp='$CXXCPP $CPPFLAGS'
12396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12398 cross_compiling=$ac_cv_prog_cxx_cross
12400 cat > conftest.$ac_ext <<EOF
12401 #line 12402 "configure"
12402 #include "confdefs.h"
12408 if { (eval echo configure:12409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12410 glibcpp_cv_func__hypot_use=yes
12412 echo "configure: failed program was:" >&5
12413 cat conftest.$ac_ext >&5
12415 glibcpp_cv_func__hypot_use=no
12419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12420 ac_cpp='$CPP $CPPFLAGS'
12421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12423 cross_compiling=$ac_cv_prog_cc_cross
12429 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12431 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12432 for ac_func in _hypot
12434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12435 echo "configure:12436: checking for $ac_func" >&5
12436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12437 echo $ac_n "(cached) $ac_c" 1>&6
12439 cat > conftest.$ac_ext <<EOF
12440 #line 12441 "configure"
12441 #include "confdefs.h"
12442 /* System header to define __stub macros and hopefully few prototypes,
12443 which can conflict with char $ac_func(); below. */
12444 #include <assert.h>
12445 /* Override any gcc2 internal prototype to avoid an error. */
12446 /* We use char because int might match the return type of a gcc2
12447 builtin and then its argument prototype would still apply. */
12452 /* The GNU C library defines this for functions which it implements
12453 to always fail with ENOSYS. Some functions are actually named
12454 something starting with __ and the normal name is an alias. */
12455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12463 if { (eval echo configure:12464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12465 eval "ac_cv_func_$ac_func=yes"
12467 echo "configure: failed program was:" >&5
12468 cat conftest.$ac_ext >&5
12470 eval "ac_cv_func_$ac_func=no"
12475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12476 echo "$ac_t""yes" 1>&6
12477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12478 cat >> confdefs.h <<EOF
12479 #define $ac_tr_func 1
12483 echo "$ac_t""no" 1>&6
12492 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12493 echo "configure:12494: checking for float trig functions" >&5
12494 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12495 echo $ac_n "(cached) $ac_c" 1>&6
12500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12501 ac_cpp='$CXXCPP $CPPFLAGS'
12502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12504 cross_compiling=$ac_cv_prog_cxx_cross
12506 cat > conftest.$ac_ext <<EOF
12507 #line 12508 "configure"
12508 #include "confdefs.h"
12511 `for x in acosf asinf atanf \
12513 coshf sinhf tanhf; do echo "$x (0);"; done`
12516 if { (eval echo configure:12517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12518 glibcpp_cv_func_float_trig_use=yes
12520 echo "configure: failed program was:" >&5
12521 cat conftest.$ac_ext >&5
12523 glibcpp_cv_func_float_trig_use=no
12527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12528 ac_cpp='$CPP $CPPFLAGS'
12529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12531 cross_compiling=$ac_cv_prog_cc_cross
12535 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12536 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12537 for ac_func in acosf asinf atanf \
12541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12542 echo "configure:12543: checking for $ac_func" >&5
12543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12544 echo $ac_n "(cached) $ac_c" 1>&6
12546 cat > conftest.$ac_ext <<EOF
12547 #line 12548 "configure"
12548 #include "confdefs.h"
12549 /* System header to define __stub macros and hopefully few prototypes,
12550 which can conflict with char $ac_func(); below. */
12551 #include <assert.h>
12552 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12559 /* The GNU C library defines this for functions which it implements
12560 to always fail with ENOSYS. Some functions are actually named
12561 something starting with __ and the normal name is an alias. */
12562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12572 eval "ac_cv_func_$ac_func=yes"
12574 echo "configure: failed program was:" >&5
12575 cat conftest.$ac_ext >&5
12577 eval "ac_cv_func_$ac_func=no"
12582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12583 echo "$ac_t""yes" 1>&6
12584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12585 cat >> confdefs.h <<EOF
12586 #define $ac_tr_func 1
12590 echo "$ac_t""no" 1>&6
12597 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12598 echo "configure:12599: checking for float round functions" >&5
12599 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12600 echo $ac_n "(cached) $ac_c" 1>&6
12605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12606 ac_cpp='$CXXCPP $CPPFLAGS'
12607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12609 cross_compiling=$ac_cv_prog_cxx_cross
12611 cat > conftest.$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12616 `for x in ceilf floorf; do echo "$x (0);"; done`
12619 if { (eval echo configure:12620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12621 glibcpp_cv_func_float_round_use=yes
12623 echo "configure: failed program was:" >&5
12624 cat conftest.$ac_ext >&5
12626 glibcpp_cv_func_float_round_use=no
12630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12634 cross_compiling=$ac_cv_prog_cc_cross
12638 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12639 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12640 for ac_func in ceilf floorf
12642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12643 echo "configure:12644: checking for $ac_func" >&5
12644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12645 echo $ac_n "(cached) $ac_c" 1>&6
12647 cat > conftest.$ac_ext <<EOF
12648 #line 12649 "configure"
12649 #include "confdefs.h"
12650 /* System header to define __stub macros and hopefully few prototypes,
12651 which can conflict with char $ac_func(); below. */
12652 #include <assert.h>
12653 /* Override any gcc2 internal prototype to avoid an error. */
12654 /* We use char because int might match the return type of a gcc2
12655 builtin and then its argument prototype would still apply. */
12660 /* The GNU C library defines this for functions which it implements
12661 to always fail with ENOSYS. Some functions are actually named
12662 something starting with __ and the normal name is an alias. */
12663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12671 if { (eval echo configure:12672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12673 eval "ac_cv_func_$ac_func=yes"
12675 echo "configure: failed program was:" >&5
12676 cat conftest.$ac_ext >&5
12678 eval "ac_cv_func_$ac_func=no"
12683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12684 echo "$ac_t""yes" 1>&6
12685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12686 cat >> confdefs.h <<EOF
12687 #define $ac_tr_func 1
12691 echo "$ac_t""no" 1>&6
12699 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12700 echo "configure:12701: checking for expf declaration" >&5
12701 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12702 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12703 echo $ac_n "(cached) $ac_c" 1>&6
12708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12709 ac_cpp='$CXXCPP $CPPFLAGS'
12710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12712 cross_compiling=$ac_cv_prog_cxx_cross
12714 cat > conftest.$ac_ext <<EOF
12715 #line 12716 "configure"
12716 #include "confdefs.h"
12718 #ifdef HAVE_IEEEFP_H
12719 #include <ieeefp.h>
12726 if { (eval echo configure:12727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12728 glibcpp_cv_func_expf_use=yes
12730 echo "configure: failed program was:" >&5
12731 cat conftest.$ac_ext >&5
12733 glibcpp_cv_func_expf_use=no
12737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12738 ac_cpp='$CPP $CPPFLAGS'
12739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12741 cross_compiling=$ac_cv_prog_cc_cross
12747 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12749 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12750 for ac_func in expf
12752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12753 echo "configure:12754: checking for $ac_func" >&5
12754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12755 echo $ac_n "(cached) $ac_c" 1>&6
12757 cat > conftest.$ac_ext <<EOF
12758 #line 12759 "configure"
12759 #include "confdefs.h"
12760 /* System header to define __stub macros and hopefully few prototypes,
12761 which can conflict with char $ac_func(); below. */
12762 #include <assert.h>
12763 /* Override any gcc2 internal prototype to avoid an error. */
12764 /* We use char because int might match the return type of a gcc2
12765 builtin and then its argument prototype would still apply. */
12770 /* The GNU C library defines this for functions which it implements
12771 to always fail with ENOSYS. Some functions are actually named
12772 something starting with __ and the normal name is an alias. */
12773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12781 if { (eval echo configure:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12783 eval "ac_cv_func_$ac_func=yes"
12785 echo "configure: failed program was:" >&5
12786 cat conftest.$ac_ext >&5
12788 eval "ac_cv_func_$ac_func=no"
12793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12794 echo "$ac_t""yes" 1>&6
12795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12796 cat >> confdefs.h <<EOF
12797 #define $ac_tr_func 1
12801 echo "$ac_t""no" 1>&6
12807 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12808 echo "configure:12809: checking for _expf declaration" >&5
12809 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12810 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12811 echo $ac_n "(cached) $ac_c" 1>&6
12816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12817 ac_cpp='$CXXCPP $CPPFLAGS'
12818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12820 cross_compiling=$ac_cv_prog_cxx_cross
12822 cat > conftest.$ac_ext <<EOF
12823 #line 12824 "configure"
12824 #include "confdefs.h"
12826 #ifdef HAVE_IEEEFP_H
12827 #include <ieeefp.h>
12834 if { (eval echo configure:12835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12836 glibcpp_cv_func__expf_use=yes
12838 echo "configure: failed program was:" >&5
12839 cat conftest.$ac_ext >&5
12841 glibcpp_cv_func__expf_use=no
12845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12846 ac_cpp='$CPP $CPPFLAGS'
12847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12849 cross_compiling=$ac_cv_prog_cc_cross
12855 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12857 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12858 for ac_func in _expf
12860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12861 echo "configure:12862: checking for $ac_func" >&5
12862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12863 echo $ac_n "(cached) $ac_c" 1>&6
12865 cat > conftest.$ac_ext <<EOF
12866 #line 12867 "configure"
12867 #include "confdefs.h"
12868 /* System header to define __stub macros and hopefully few prototypes,
12869 which can conflict with char $ac_func(); below. */
12870 #include <assert.h>
12871 /* Override any gcc2 internal prototype to avoid an error. */
12872 /* We use char because int might match the return type of a gcc2
12873 builtin and then its argument prototype would still apply. */
12878 /* The GNU C library defines this for functions which it implements
12879 to always fail with ENOSYS. Some functions are actually named
12880 something starting with __ and the normal name is an alias. */
12881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12891 eval "ac_cv_func_$ac_func=yes"
12893 echo "configure: failed program was:" >&5
12894 cat conftest.$ac_ext >&5
12896 eval "ac_cv_func_$ac_func=no"
12901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12902 echo "$ac_t""yes" 1>&6
12903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12904 cat >> confdefs.h <<EOF
12905 #define $ac_tr_func 1
12909 echo "$ac_t""no" 1>&6
12918 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12919 echo "configure:12920: checking for isnanf declaration" >&5
12920 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12921 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12922 echo $ac_n "(cached) $ac_c" 1>&6
12927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12928 ac_cpp='$CXXCPP $CPPFLAGS'
12929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12931 cross_compiling=$ac_cv_prog_cxx_cross
12933 cat > conftest.$ac_ext <<EOF
12934 #line 12935 "configure"
12935 #include "confdefs.h"
12937 #ifdef HAVE_IEEEFP_H
12938 #include <ieeefp.h>
12945 if { (eval echo configure:12946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12947 glibcpp_cv_func_isnanf_use=yes
12949 echo "configure: failed program was:" >&5
12950 cat conftest.$ac_ext >&5
12952 glibcpp_cv_func_isnanf_use=no
12956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12957 ac_cpp='$CPP $CPPFLAGS'
12958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12960 cross_compiling=$ac_cv_prog_cc_cross
12966 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12968 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12969 for ac_func in isnanf
12971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12972 echo "configure:12973: checking for $ac_func" >&5
12973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12974 echo $ac_n "(cached) $ac_c" 1>&6
12976 cat > conftest.$ac_ext <<EOF
12977 #line 12978 "configure"
12978 #include "confdefs.h"
12979 /* System header to define __stub macros and hopefully few prototypes,
12980 which can conflict with char $ac_func(); below. */
12981 #include <assert.h>
12982 /* Override any gcc2 internal prototype to avoid an error. */
12983 /* We use char because int might match the return type of a gcc2
12984 builtin and then its argument prototype would still apply. */
12989 /* The GNU C library defines this for functions which it implements
12990 to always fail with ENOSYS. Some functions are actually named
12991 something starting with __ and the normal name is an alias. */
12992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13000 if { (eval echo configure:13001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13002 eval "ac_cv_func_$ac_func=yes"
13004 echo "configure: failed program was:" >&5
13005 cat conftest.$ac_ext >&5
13007 eval "ac_cv_func_$ac_func=no"
13012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13013 echo "$ac_t""yes" 1>&6
13014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13015 cat >> confdefs.h <<EOF
13016 #define $ac_tr_func 1
13020 echo "$ac_t""no" 1>&6
13026 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
13027 echo "configure:13028: checking for _isnanf declaration" >&5
13028 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13029 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13030 echo $ac_n "(cached) $ac_c" 1>&6
13035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13036 ac_cpp='$CXXCPP $CPPFLAGS'
13037 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13038 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13039 cross_compiling=$ac_cv_prog_cxx_cross
13041 cat > conftest.$ac_ext <<EOF
13042 #line 13043 "configure"
13043 #include "confdefs.h"
13045 #ifdef HAVE_IEEEFP_H
13046 #include <ieeefp.h>
13053 if { (eval echo configure:13054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13055 glibcpp_cv_func__isnanf_use=yes
13057 echo "configure: failed program was:" >&5
13058 cat conftest.$ac_ext >&5
13060 glibcpp_cv_func__isnanf_use=no
13064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13065 ac_cpp='$CPP $CPPFLAGS'
13066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13068 cross_compiling=$ac_cv_prog_cc_cross
13074 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13076 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13077 for ac_func in _isnanf
13079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13080 echo "configure:13081: checking for $ac_func" >&5
13081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13082 echo $ac_n "(cached) $ac_c" 1>&6
13084 cat > conftest.$ac_ext <<EOF
13085 #line 13086 "configure"
13086 #include "confdefs.h"
13087 /* System header to define __stub macros and hopefully few prototypes,
13088 which can conflict with char $ac_func(); below. */
13089 #include <assert.h>
13090 /* Override any gcc2 internal prototype to avoid an error. */
13091 /* We use char because int might match the return type of a gcc2
13092 builtin and then its argument prototype would still apply. */
13097 /* The GNU C library defines this for functions which it implements
13098 to always fail with ENOSYS. Some functions are actually named
13099 something starting with __ and the normal name is an alias. */
13100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13108 if { (eval echo configure:13109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13110 eval "ac_cv_func_$ac_func=yes"
13112 echo "configure: failed program was:" >&5
13113 cat conftest.$ac_ext >&5
13115 eval "ac_cv_func_$ac_func=no"
13120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13121 echo "$ac_t""yes" 1>&6
13122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13123 cat >> confdefs.h <<EOF
13124 #define $ac_tr_func 1
13128 echo "$ac_t""no" 1>&6
13137 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13138 echo "configure:13139: checking for isinff declaration" >&5
13139 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13140 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13141 echo $ac_n "(cached) $ac_c" 1>&6
13146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13147 ac_cpp='$CXXCPP $CPPFLAGS'
13148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13150 cross_compiling=$ac_cv_prog_cxx_cross
13152 cat > conftest.$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13156 #ifdef HAVE_IEEEFP_H
13157 #include <ieeefp.h>
13164 if { (eval echo configure:13165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13166 glibcpp_cv_func_isinff_use=yes
13168 echo "configure: failed program was:" >&5
13169 cat conftest.$ac_ext >&5
13171 glibcpp_cv_func_isinff_use=no
13175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13176 ac_cpp='$CPP $CPPFLAGS'
13177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13179 cross_compiling=$ac_cv_prog_cc_cross
13185 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13187 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13188 for ac_func in isinff
13190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13191 echo "configure:13192: checking for $ac_func" >&5
13192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13193 echo $ac_n "(cached) $ac_c" 1>&6
13195 cat > conftest.$ac_ext <<EOF
13196 #line 13197 "configure"
13197 #include "confdefs.h"
13198 /* System header to define __stub macros and hopefully few prototypes,
13199 which can conflict with char $ac_func(); below. */
13200 #include <assert.h>
13201 /* Override any gcc2 internal prototype to avoid an error. */
13202 /* We use char because int might match the return type of a gcc2
13203 builtin and then its argument prototype would still apply. */
13208 /* The GNU C library defines this for functions which it implements
13209 to always fail with ENOSYS. Some functions are actually named
13210 something starting with __ and the normal name is an alias. */
13211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13219 if { (eval echo configure:13220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13221 eval "ac_cv_func_$ac_func=yes"
13223 echo "configure: failed program was:" >&5
13224 cat conftest.$ac_ext >&5
13226 eval "ac_cv_func_$ac_func=no"
13231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13232 echo "$ac_t""yes" 1>&6
13233 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13234 cat >> confdefs.h <<EOF
13235 #define $ac_tr_func 1
13239 echo "$ac_t""no" 1>&6
13245 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13246 echo "configure:13247: checking for _isinff declaration" >&5
13247 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13248 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13249 echo $ac_n "(cached) $ac_c" 1>&6
13254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13255 ac_cpp='$CXXCPP $CPPFLAGS'
13256 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13257 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13258 cross_compiling=$ac_cv_prog_cxx_cross
13260 cat > conftest.$ac_ext <<EOF
13261 #line 13262 "configure"
13262 #include "confdefs.h"
13264 #ifdef HAVE_IEEEFP_H
13265 #include <ieeefp.h>
13272 if { (eval echo configure:13273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13274 glibcpp_cv_func__isinff_use=yes
13276 echo "configure: failed program was:" >&5
13277 cat conftest.$ac_ext >&5
13279 glibcpp_cv_func__isinff_use=no
13283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13284 ac_cpp='$CPP $CPPFLAGS'
13285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13287 cross_compiling=$ac_cv_prog_cc_cross
13293 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13295 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13296 for ac_func in _isinff
13298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13299 echo "configure:13300: checking for $ac_func" >&5
13300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13301 echo $ac_n "(cached) $ac_c" 1>&6
13303 cat > conftest.$ac_ext <<EOF
13304 #line 13305 "configure"
13305 #include "confdefs.h"
13306 /* System header to define __stub macros and hopefully few prototypes,
13307 which can conflict with char $ac_func(); below. */
13308 #include <assert.h>
13309 /* Override any gcc2 internal prototype to avoid an error. */
13310 /* We use char because int might match the return type of a gcc2
13311 builtin and then its argument prototype would still apply. */
13316 /* The GNU C library defines this for functions which it implements
13317 to always fail with ENOSYS. Some functions are actually named
13318 something starting with __ and the normal name is an alias. */
13319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13327 if { (eval echo configure:13328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13329 eval "ac_cv_func_$ac_func=yes"
13331 echo "configure: failed program was:" >&5
13332 cat conftest.$ac_ext >&5
13334 eval "ac_cv_func_$ac_func=no"
13339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13340 echo "$ac_t""yes" 1>&6
13341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13342 cat >> confdefs.h <<EOF
13343 #define $ac_tr_func 1
13347 echo "$ac_t""no" 1>&6
13356 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13357 echo "configure:13358: checking for atan2f declaration" >&5
13358 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13359 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13360 echo $ac_n "(cached) $ac_c" 1>&6
13365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13366 ac_cpp='$CXXCPP $CPPFLAGS'
13367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13369 cross_compiling=$ac_cv_prog_cxx_cross
13371 cat > conftest.$ac_ext <<EOF
13372 #line 13373 "configure"
13373 #include "confdefs.h"
13379 if { (eval echo configure:13380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13381 glibcpp_cv_func_atan2f_use=yes
13383 echo "configure: failed program was:" >&5
13384 cat conftest.$ac_ext >&5
13386 glibcpp_cv_func_atan2f_use=no
13390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13391 ac_cpp='$CPP $CPPFLAGS'
13392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13394 cross_compiling=$ac_cv_prog_cc_cross
13400 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13402 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13403 for ac_func in atan2f
13405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13406 echo "configure:13407: checking for $ac_func" >&5
13407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13408 echo $ac_n "(cached) $ac_c" 1>&6
13410 cat > conftest.$ac_ext <<EOF
13411 #line 13412 "configure"
13412 #include "confdefs.h"
13413 /* System header to define __stub macros and hopefully few prototypes,
13414 which can conflict with char $ac_func(); below. */
13415 #include <assert.h>
13416 /* Override any gcc2 internal prototype to avoid an error. */
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13423 /* The GNU C library defines this for functions which it implements
13424 to always fail with ENOSYS. Some functions are actually named
13425 something starting with __ and the normal name is an alias. */
13426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13434 if { (eval echo configure:13435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13436 eval "ac_cv_func_$ac_func=yes"
13438 echo "configure: failed program was:" >&5
13439 cat conftest.$ac_ext >&5
13441 eval "ac_cv_func_$ac_func=no"
13446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13447 echo "$ac_t""yes" 1>&6
13448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13449 cat >> confdefs.h <<EOF
13450 #define $ac_tr_func 1
13454 echo "$ac_t""no" 1>&6
13460 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13461 echo "configure:13462: checking for _atan2f declaration" >&5
13462 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13463 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13464 echo $ac_n "(cached) $ac_c" 1>&6
13469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13470 ac_cpp='$CXXCPP $CPPFLAGS'
13471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13473 cross_compiling=$ac_cv_prog_cxx_cross
13475 cat > conftest.$ac_ext <<EOF
13476 #line 13477 "configure"
13477 #include "confdefs.h"
13483 if { (eval echo configure:13484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13485 glibcpp_cv_func__atan2f_use=yes
13487 echo "configure: failed program was:" >&5
13488 cat conftest.$ac_ext >&5
13490 glibcpp_cv_func__atan2f_use=no
13494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13495 ac_cpp='$CPP $CPPFLAGS'
13496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13498 cross_compiling=$ac_cv_prog_cc_cross
13504 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13506 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13507 for ac_func in _atan2f
13509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13510 echo "configure:13511: checking for $ac_func" >&5
13511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13512 echo $ac_n "(cached) $ac_c" 1>&6
13514 cat > conftest.$ac_ext <<EOF
13515 #line 13516 "configure"
13516 #include "confdefs.h"
13517 /* System header to define __stub macros and hopefully few prototypes,
13518 which can conflict with char $ac_func(); below. */
13519 #include <assert.h>
13520 /* Override any gcc2 internal prototype to avoid an error. */
13521 /* We use char because int might match the return type of a gcc2
13522 builtin and then its argument prototype would still apply. */
13527 /* The GNU C library defines this for functions which it implements
13528 to always fail with ENOSYS. Some functions are actually named
13529 something starting with __ and the normal name is an alias. */
13530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13538 if { (eval echo configure:13539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13540 eval "ac_cv_func_$ac_func=yes"
13542 echo "configure: failed program was:" >&5
13543 cat conftest.$ac_ext >&5
13545 eval "ac_cv_func_$ac_func=no"
13550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13551 echo "$ac_t""yes" 1>&6
13552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13553 cat >> confdefs.h <<EOF
13554 #define $ac_tr_func 1
13558 echo "$ac_t""no" 1>&6
13567 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13568 echo "configure:13569: checking for fabsf declaration" >&5
13569 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13570 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13571 echo $ac_n "(cached) $ac_c" 1>&6
13576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13577 ac_cpp='$CXXCPP $CPPFLAGS'
13578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13580 cross_compiling=$ac_cv_prog_cxx_cross
13582 cat > conftest.$ac_ext <<EOF
13583 #line 13584 "configure"
13584 #include "confdefs.h"
13586 #ifdef HAVE_IEEEFP_H
13587 #include <ieeefp.h>
13594 if { (eval echo configure:13595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13596 glibcpp_cv_func_fabsf_use=yes
13598 echo "configure: failed program was:" >&5
13599 cat conftest.$ac_ext >&5
13601 glibcpp_cv_func_fabsf_use=no
13605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13606 ac_cpp='$CPP $CPPFLAGS'
13607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13609 cross_compiling=$ac_cv_prog_cc_cross
13615 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13617 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13618 for ac_func in fabsf
13620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13621 echo "configure:13622: checking for $ac_func" >&5
13622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13623 echo $ac_n "(cached) $ac_c" 1>&6
13625 cat > conftest.$ac_ext <<EOF
13626 #line 13627 "configure"
13627 #include "confdefs.h"
13628 /* System header to define __stub macros and hopefully few prototypes,
13629 which can conflict with char $ac_func(); below. */
13630 #include <assert.h>
13631 /* Override any gcc2 internal prototype to avoid an error. */
13632 /* We use char because int might match the return type of a gcc2
13633 builtin and then its argument prototype would still apply. */
13638 /* The GNU C library defines this for functions which it implements
13639 to always fail with ENOSYS. Some functions are actually named
13640 something starting with __ and the normal name is an alias. */
13641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13649 if { (eval echo configure:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13651 eval "ac_cv_func_$ac_func=yes"
13653 echo "configure: failed program was:" >&5
13654 cat conftest.$ac_ext >&5
13656 eval "ac_cv_func_$ac_func=no"
13661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13662 echo "$ac_t""yes" 1>&6
13663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13664 cat >> confdefs.h <<EOF
13665 #define $ac_tr_func 1
13669 echo "$ac_t""no" 1>&6
13675 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13676 echo "configure:13677: checking for _fabsf declaration" >&5
13677 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13678 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13679 echo $ac_n "(cached) $ac_c" 1>&6
13684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13685 ac_cpp='$CXXCPP $CPPFLAGS'
13686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13688 cross_compiling=$ac_cv_prog_cxx_cross
13690 cat > conftest.$ac_ext <<EOF
13691 #line 13692 "configure"
13692 #include "confdefs.h"
13694 #ifdef HAVE_IEEEFP_H
13695 #include <ieeefp.h>
13702 if { (eval echo configure:13703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13704 glibcpp_cv_func__fabsf_use=yes
13706 echo "configure: failed program was:" >&5
13707 cat conftest.$ac_ext >&5
13709 glibcpp_cv_func__fabsf_use=no
13713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13714 ac_cpp='$CPP $CPPFLAGS'
13715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13717 cross_compiling=$ac_cv_prog_cc_cross
13723 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13725 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13726 for ac_func in _fabsf
13728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13729 echo "configure:13730: checking for $ac_func" >&5
13730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13731 echo $ac_n "(cached) $ac_c" 1>&6
13733 cat > conftest.$ac_ext <<EOF
13734 #line 13735 "configure"
13735 #include "confdefs.h"
13736 /* System header to define __stub macros and hopefully few prototypes,
13737 which can conflict with char $ac_func(); below. */
13738 #include <assert.h>
13739 /* Override any gcc2 internal prototype to avoid an error. */
13740 /* We use char because int might match the return type of a gcc2
13741 builtin and then its argument prototype would still apply. */
13746 /* The GNU C library defines this for functions which it implements
13747 to always fail with ENOSYS. Some functions are actually named
13748 something starting with __ and the normal name is an alias. */
13749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13757 if { (eval echo configure:13758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13759 eval "ac_cv_func_$ac_func=yes"
13761 echo "configure: failed program was:" >&5
13762 cat conftest.$ac_ext >&5
13764 eval "ac_cv_func_$ac_func=no"
13769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13770 echo "$ac_t""yes" 1>&6
13771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13772 cat >> confdefs.h <<EOF
13773 #define $ac_tr_func 1
13777 echo "$ac_t""no" 1>&6
13786 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13787 echo "configure:13788: checking for fmodf declaration" >&5
13788 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13789 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13790 echo $ac_n "(cached) $ac_c" 1>&6
13795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13796 ac_cpp='$CXXCPP $CPPFLAGS'
13797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13799 cross_compiling=$ac_cv_prog_cxx_cross
13801 cat > conftest.$ac_ext <<EOF
13802 #line 13803 "configure"
13803 #include "confdefs.h"
13809 if { (eval echo configure:13810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13811 glibcpp_cv_func_fmodf_use=yes
13813 echo "configure: failed program was:" >&5
13814 cat conftest.$ac_ext >&5
13816 glibcpp_cv_func_fmodf_use=no
13820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13821 ac_cpp='$CPP $CPPFLAGS'
13822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13824 cross_compiling=$ac_cv_prog_cc_cross
13830 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13832 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13833 for ac_func in fmodf
13835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13836 echo "configure:13837: checking for $ac_func" >&5
13837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13838 echo $ac_n "(cached) $ac_c" 1>&6
13840 cat > conftest.$ac_ext <<EOF
13841 #line 13842 "configure"
13842 #include "confdefs.h"
13843 /* System header to define __stub macros and hopefully few prototypes,
13844 which can conflict with char $ac_func(); below. */
13845 #include <assert.h>
13846 /* Override any gcc2 internal prototype to avoid an error. */
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13853 /* The GNU C library defines this for functions which it implements
13854 to always fail with ENOSYS. Some functions are actually named
13855 something starting with __ and the normal name is an alias. */
13856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13864 if { (eval echo configure:13865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13866 eval "ac_cv_func_$ac_func=yes"
13868 echo "configure: failed program was:" >&5
13869 cat conftest.$ac_ext >&5
13871 eval "ac_cv_func_$ac_func=no"
13876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13877 echo "$ac_t""yes" 1>&6
13878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13879 cat >> confdefs.h <<EOF
13880 #define $ac_tr_func 1
13884 echo "$ac_t""no" 1>&6
13890 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13891 echo "configure:13892: checking for _fmodf declaration" >&5
13892 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13893 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13900 ac_cpp='$CXXCPP $CPPFLAGS'
13901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13903 cross_compiling=$ac_cv_prog_cxx_cross
13905 cat > conftest.$ac_ext <<EOF
13906 #line 13907 "configure"
13907 #include "confdefs.h"
13913 if { (eval echo configure:13914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13915 glibcpp_cv_func__fmodf_use=yes
13917 echo "configure: failed program was:" >&5
13918 cat conftest.$ac_ext >&5
13920 glibcpp_cv_func__fmodf_use=no
13924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13925 ac_cpp='$CPP $CPPFLAGS'
13926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13928 cross_compiling=$ac_cv_prog_cc_cross
13934 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13936 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13937 for ac_func in _fmodf
13939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13940 echo "configure:13941: checking for $ac_func" >&5
13941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13942 echo $ac_n "(cached) $ac_c" 1>&6
13944 cat > conftest.$ac_ext <<EOF
13945 #line 13946 "configure"
13946 #include "confdefs.h"
13947 /* System header to define __stub macros and hopefully few prototypes,
13948 which can conflict with char $ac_func(); below. */
13949 #include <assert.h>
13950 /* Override any gcc2 internal prototype to avoid an error. */
13951 /* We use char because int might match the return type of a gcc2
13952 builtin and then its argument prototype would still apply. */
13957 /* The GNU C library defines this for functions which it implements
13958 to always fail with ENOSYS. Some functions are actually named
13959 something starting with __ and the normal name is an alias. */
13960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13968 if { (eval echo configure:13969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13970 eval "ac_cv_func_$ac_func=yes"
13972 echo "configure: failed program was:" >&5
13973 cat conftest.$ac_ext >&5
13975 eval "ac_cv_func_$ac_func=no"
13980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13981 echo "$ac_t""yes" 1>&6
13982 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13983 cat >> confdefs.h <<EOF
13984 #define $ac_tr_func 1
13988 echo "$ac_t""no" 1>&6
13997 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13998 echo "configure:13999: checking for frexpf declaration" >&5
13999 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14000 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14007 ac_cpp='$CXXCPP $CPPFLAGS'
14008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14010 cross_compiling=$ac_cv_prog_cxx_cross
14012 cat > conftest.$ac_ext <<EOF
14013 #line 14014 "configure"
14014 #include "confdefs.h"
14020 if { (eval echo configure:14021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14022 glibcpp_cv_func_frexpf_use=yes
14024 echo "configure: failed program was:" >&5
14025 cat conftest.$ac_ext >&5
14027 glibcpp_cv_func_frexpf_use=no
14031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14032 ac_cpp='$CPP $CPPFLAGS'
14033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14035 cross_compiling=$ac_cv_prog_cc_cross
14041 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14043 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14044 for ac_func in frexpf
14046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14047 echo "configure:14048: checking for $ac_func" >&5
14048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14049 echo $ac_n "(cached) $ac_c" 1>&6
14051 cat > conftest.$ac_ext <<EOF
14052 #line 14053 "configure"
14053 #include "confdefs.h"
14054 /* System header to define __stub macros and hopefully few prototypes,
14055 which can conflict with char $ac_func(); below. */
14056 #include <assert.h>
14057 /* Override any gcc2 internal prototype to avoid an error. */
14058 /* We use char because int might match the return type of a gcc2
14059 builtin and then its argument prototype would still apply. */
14064 /* The GNU C library defines this for functions which it implements
14065 to always fail with ENOSYS. Some functions are actually named
14066 something starting with __ and the normal name is an alias. */
14067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14075 if { (eval echo configure:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14077 eval "ac_cv_func_$ac_func=yes"
14079 echo "configure: failed program was:" >&5
14080 cat conftest.$ac_ext >&5
14082 eval "ac_cv_func_$ac_func=no"
14087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14088 echo "$ac_t""yes" 1>&6
14089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14090 cat >> confdefs.h <<EOF
14091 #define $ac_tr_func 1
14095 echo "$ac_t""no" 1>&6
14101 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14102 echo "configure:14103: checking for _frexpf declaration" >&5
14103 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14104 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14105 echo $ac_n "(cached) $ac_c" 1>&6
14110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14111 ac_cpp='$CXXCPP $CPPFLAGS'
14112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14114 cross_compiling=$ac_cv_prog_cxx_cross
14116 cat > conftest.$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14124 if { (eval echo configure:14125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14126 glibcpp_cv_func__frexpf_use=yes
14128 echo "configure: failed program was:" >&5
14129 cat conftest.$ac_ext >&5
14131 glibcpp_cv_func__frexpf_use=no
14135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14136 ac_cpp='$CPP $CPPFLAGS'
14137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14139 cross_compiling=$ac_cv_prog_cc_cross
14145 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14147 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14148 for ac_func in _frexpf
14150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14151 echo "configure:14152: checking for $ac_func" >&5
14152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14153 echo $ac_n "(cached) $ac_c" 1>&6
14155 cat > conftest.$ac_ext <<EOF
14156 #line 14157 "configure"
14157 #include "confdefs.h"
14158 /* System header to define __stub macros and hopefully few prototypes,
14159 which can conflict with char $ac_func(); below. */
14160 #include <assert.h>
14161 /* Override any gcc2 internal prototype to avoid an error. */
14162 /* We use char because int might match the return type of a gcc2
14163 builtin and then its argument prototype would still apply. */
14168 /* The GNU C library defines this for functions which it implements
14169 to always fail with ENOSYS. Some functions are actually named
14170 something starting with __ and the normal name is an alias. */
14171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14179 if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14181 eval "ac_cv_func_$ac_func=yes"
14183 echo "configure: failed program was:" >&5
14184 cat conftest.$ac_ext >&5
14186 eval "ac_cv_func_$ac_func=no"
14191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14192 echo "$ac_t""yes" 1>&6
14193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14194 cat >> confdefs.h <<EOF
14195 #define $ac_tr_func 1
14199 echo "$ac_t""no" 1>&6
14208 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14209 echo "configure:14210: checking for hypotf declaration" >&5
14210 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14211 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14212 echo $ac_n "(cached) $ac_c" 1>&6
14217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14218 ac_cpp='$CXXCPP $CPPFLAGS'
14219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14221 cross_compiling=$ac_cv_prog_cxx_cross
14223 cat > conftest.$ac_ext <<EOF
14224 #line 14225 "configure"
14225 #include "confdefs.h"
14231 if { (eval echo configure:14232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14233 glibcpp_cv_func_hypotf_use=yes
14235 echo "configure: failed program was:" >&5
14236 cat conftest.$ac_ext >&5
14238 glibcpp_cv_func_hypotf_use=no
14242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14243 ac_cpp='$CPP $CPPFLAGS'
14244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14246 cross_compiling=$ac_cv_prog_cc_cross
14252 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14254 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14255 for ac_func in hypotf
14257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14258 echo "configure:14259: checking for $ac_func" >&5
14259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14260 echo $ac_n "(cached) $ac_c" 1>&6
14262 cat > conftest.$ac_ext <<EOF
14263 #line 14264 "configure"
14264 #include "confdefs.h"
14265 /* System header to define __stub macros and hopefully few prototypes,
14266 which can conflict with char $ac_func(); below. */
14267 #include <assert.h>
14268 /* Override any gcc2 internal prototype to avoid an error. */
14269 /* We use char because int might match the return type of a gcc2
14270 builtin and then its argument prototype would still apply. */
14275 /* The GNU C library defines this for functions which it implements
14276 to always fail with ENOSYS. Some functions are actually named
14277 something starting with __ and the normal name is an alias. */
14278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14286 if { (eval echo configure:14287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14288 eval "ac_cv_func_$ac_func=yes"
14290 echo "configure: failed program was:" >&5
14291 cat conftest.$ac_ext >&5
14293 eval "ac_cv_func_$ac_func=no"
14298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14299 echo "$ac_t""yes" 1>&6
14300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14301 cat >> confdefs.h <<EOF
14302 #define $ac_tr_func 1
14306 echo "$ac_t""no" 1>&6
14312 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14313 echo "configure:14314: checking for _hypotf declaration" >&5
14314 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14315 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14316 echo $ac_n "(cached) $ac_c" 1>&6
14321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14322 ac_cpp='$CXXCPP $CPPFLAGS'
14323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14325 cross_compiling=$ac_cv_prog_cxx_cross
14327 cat > conftest.$ac_ext <<EOF
14328 #line 14329 "configure"
14329 #include "confdefs.h"
14335 if { (eval echo configure:14336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14337 glibcpp_cv_func__hypotf_use=yes
14339 echo "configure: failed program was:" >&5
14340 cat conftest.$ac_ext >&5
14342 glibcpp_cv_func__hypotf_use=no
14346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14347 ac_cpp='$CPP $CPPFLAGS'
14348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14350 cross_compiling=$ac_cv_prog_cc_cross
14356 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14358 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14359 for ac_func in _hypotf
14361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14362 echo "configure:14363: checking for $ac_func" >&5
14363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14364 echo $ac_n "(cached) $ac_c" 1>&6
14366 cat > conftest.$ac_ext <<EOF
14367 #line 14368 "configure"
14368 #include "confdefs.h"
14369 /* System header to define __stub macros and hopefully few prototypes,
14370 which can conflict with char $ac_func(); below. */
14371 #include <assert.h>
14372 /* Override any gcc2 internal prototype to avoid an error. */
14373 /* We use char because int might match the return type of a gcc2
14374 builtin and then its argument prototype would still apply. */
14379 /* The GNU C library defines this for functions which it implements
14380 to always fail with ENOSYS. Some functions are actually named
14381 something starting with __ and the normal name is an alias. */
14382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14390 if { (eval echo configure:14391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14392 eval "ac_cv_func_$ac_func=yes"
14394 echo "configure: failed program was:" >&5
14395 cat conftest.$ac_ext >&5
14397 eval "ac_cv_func_$ac_func=no"
14402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14403 echo "$ac_t""yes" 1>&6
14404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14405 cat >> confdefs.h <<EOF
14406 #define $ac_tr_func 1
14410 echo "$ac_t""no" 1>&6
14419 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14420 echo "configure:14421: checking for ldexpf declaration" >&5
14421 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14422 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14423 echo $ac_n "(cached) $ac_c" 1>&6
14428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14429 ac_cpp='$CXXCPP $CPPFLAGS'
14430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14432 cross_compiling=$ac_cv_prog_cxx_cross
14434 cat > conftest.$ac_ext <<EOF
14435 #line 14436 "configure"
14436 #include "confdefs.h"
14442 if { (eval echo configure:14443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14444 glibcpp_cv_func_ldexpf_use=yes
14446 echo "configure: failed program was:" >&5
14447 cat conftest.$ac_ext >&5
14449 glibcpp_cv_func_ldexpf_use=no
14453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14454 ac_cpp='$CPP $CPPFLAGS'
14455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14457 cross_compiling=$ac_cv_prog_cc_cross
14463 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14465 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14466 for ac_func in ldexpf
14468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14469 echo "configure:14470: checking for $ac_func" >&5
14470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14471 echo $ac_n "(cached) $ac_c" 1>&6
14473 cat > conftest.$ac_ext <<EOF
14474 #line 14475 "configure"
14475 #include "confdefs.h"
14476 /* System header to define __stub macros and hopefully few prototypes,
14477 which can conflict with char $ac_func(); below. */
14478 #include <assert.h>
14479 /* Override any gcc2 internal prototype to avoid an error. */
14480 /* We use char because int might match the return type of a gcc2
14481 builtin and then its argument prototype would still apply. */
14486 /* The GNU C library defines this for functions which it implements
14487 to always fail with ENOSYS. Some functions are actually named
14488 something starting with __ and the normal name is an alias. */
14489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14497 if { (eval echo configure:14498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14499 eval "ac_cv_func_$ac_func=yes"
14501 echo "configure: failed program was:" >&5
14502 cat conftest.$ac_ext >&5
14504 eval "ac_cv_func_$ac_func=no"
14509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14510 echo "$ac_t""yes" 1>&6
14511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14512 cat >> confdefs.h <<EOF
14513 #define $ac_tr_func 1
14517 echo "$ac_t""no" 1>&6
14523 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14524 echo "configure:14525: checking for _ldexpf declaration" >&5
14525 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14526 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14527 echo $ac_n "(cached) $ac_c" 1>&6
14532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14533 ac_cpp='$CXXCPP $CPPFLAGS'
14534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14536 cross_compiling=$ac_cv_prog_cxx_cross
14538 cat > conftest.$ac_ext <<EOF
14539 #line 14540 "configure"
14540 #include "confdefs.h"
14546 if { (eval echo configure:14547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14548 glibcpp_cv_func__ldexpf_use=yes
14550 echo "configure: failed program was:" >&5
14551 cat conftest.$ac_ext >&5
14553 glibcpp_cv_func__ldexpf_use=no
14557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14558 ac_cpp='$CPP $CPPFLAGS'
14559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14561 cross_compiling=$ac_cv_prog_cc_cross
14567 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14569 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14570 for ac_func in _ldexpf
14572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14573 echo "configure:14574: checking for $ac_func" >&5
14574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14575 echo $ac_n "(cached) $ac_c" 1>&6
14577 cat > conftest.$ac_ext <<EOF
14578 #line 14579 "configure"
14579 #include "confdefs.h"
14580 /* System header to define __stub macros and hopefully few prototypes,
14581 which can conflict with char $ac_func(); below. */
14582 #include <assert.h>
14583 /* Override any gcc2 internal prototype to avoid an error. */
14584 /* We use char because int might match the return type of a gcc2
14585 builtin and then its argument prototype would still apply. */
14590 /* The GNU C library defines this for functions which it implements
14591 to always fail with ENOSYS. Some functions are actually named
14592 something starting with __ and the normal name is an alias. */
14593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14601 if { (eval echo configure:14602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14603 eval "ac_cv_func_$ac_func=yes"
14605 echo "configure: failed program was:" >&5
14606 cat conftest.$ac_ext >&5
14608 eval "ac_cv_func_$ac_func=no"
14613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14614 echo "$ac_t""yes" 1>&6
14615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14616 cat >> confdefs.h <<EOF
14617 #define $ac_tr_func 1
14621 echo "$ac_t""no" 1>&6
14630 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14631 echo "configure:14632: checking for logf declaration" >&5
14632 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14633 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14634 echo $ac_n "(cached) $ac_c" 1>&6
14639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14640 ac_cpp='$CXXCPP $CPPFLAGS'
14641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14643 cross_compiling=$ac_cv_prog_cxx_cross
14645 cat > conftest.$ac_ext <<EOF
14646 #line 14647 "configure"
14647 #include "confdefs.h"
14649 #ifdef HAVE_IEEEFP_H
14650 #include <ieeefp.h>
14657 if { (eval echo configure:14658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14659 glibcpp_cv_func_logf_use=yes
14661 echo "configure: failed program was:" >&5
14662 cat conftest.$ac_ext >&5
14664 glibcpp_cv_func_logf_use=no
14668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14669 ac_cpp='$CPP $CPPFLAGS'
14670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14672 cross_compiling=$ac_cv_prog_cc_cross
14678 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14680 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14681 for ac_func in logf
14683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14684 echo "configure:14685: checking for $ac_func" >&5
14685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14686 echo $ac_n "(cached) $ac_c" 1>&6
14688 cat > conftest.$ac_ext <<EOF
14689 #line 14690 "configure"
14690 #include "confdefs.h"
14691 /* System header to define __stub macros and hopefully few prototypes,
14692 which can conflict with char $ac_func(); below. */
14693 #include <assert.h>
14694 /* Override any gcc2 internal prototype to avoid an error. */
14695 /* We use char because int might match the return type of a gcc2
14696 builtin and then its argument prototype would still apply. */
14701 /* The GNU C library defines this for functions which it implements
14702 to always fail with ENOSYS. Some functions are actually named
14703 something starting with __ and the normal name is an alias. */
14704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14712 if { (eval echo configure:14713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14714 eval "ac_cv_func_$ac_func=yes"
14716 echo "configure: failed program was:" >&5
14717 cat conftest.$ac_ext >&5
14719 eval "ac_cv_func_$ac_func=no"
14724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14725 echo "$ac_t""yes" 1>&6
14726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14727 cat >> confdefs.h <<EOF
14728 #define $ac_tr_func 1
14732 echo "$ac_t""no" 1>&6
14738 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14739 echo "configure:14740: checking for _logf declaration" >&5
14740 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14741 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14742 echo $ac_n "(cached) $ac_c" 1>&6
14747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14748 ac_cpp='$CXXCPP $CPPFLAGS'
14749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14751 cross_compiling=$ac_cv_prog_cxx_cross
14753 cat > conftest.$ac_ext <<EOF
14754 #line 14755 "configure"
14755 #include "confdefs.h"
14757 #ifdef HAVE_IEEEFP_H
14758 #include <ieeefp.h>
14765 if { (eval echo configure:14766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14767 glibcpp_cv_func__logf_use=yes
14769 echo "configure: failed program was:" >&5
14770 cat conftest.$ac_ext >&5
14772 glibcpp_cv_func__logf_use=no
14776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14777 ac_cpp='$CPP $CPPFLAGS'
14778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14780 cross_compiling=$ac_cv_prog_cc_cross
14786 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14788 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14789 for ac_func in _logf
14791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14792 echo "configure:14793: checking for $ac_func" >&5
14793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14794 echo $ac_n "(cached) $ac_c" 1>&6
14796 cat > conftest.$ac_ext <<EOF
14797 #line 14798 "configure"
14798 #include "confdefs.h"
14799 /* System header to define __stub macros and hopefully few prototypes,
14800 which can conflict with char $ac_func(); below. */
14801 #include <assert.h>
14802 /* Override any gcc2 internal prototype to avoid an error. */
14803 /* We use char because int might match the return type of a gcc2
14804 builtin and then its argument prototype would still apply. */
14809 /* The GNU C library defines this for functions which it implements
14810 to always fail with ENOSYS. Some functions are actually named
14811 something starting with __ and the normal name is an alias. */
14812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14820 if { (eval echo configure:14821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14822 eval "ac_cv_func_$ac_func=yes"
14824 echo "configure: failed program was:" >&5
14825 cat conftest.$ac_ext >&5
14827 eval "ac_cv_func_$ac_func=no"
14832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14833 echo "$ac_t""yes" 1>&6
14834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14835 cat >> confdefs.h <<EOF
14836 #define $ac_tr_func 1
14840 echo "$ac_t""no" 1>&6
14849 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14850 echo "configure:14851: checking for log10f declaration" >&5
14851 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14852 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14853 echo $ac_n "(cached) $ac_c" 1>&6
14858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14859 ac_cpp='$CXXCPP $CPPFLAGS'
14860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14862 cross_compiling=$ac_cv_prog_cxx_cross
14864 cat > conftest.$ac_ext <<EOF
14865 #line 14866 "configure"
14866 #include "confdefs.h"
14868 #ifdef HAVE_IEEEFP_H
14869 #include <ieeefp.h>
14876 if { (eval echo configure:14877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14878 glibcpp_cv_func_log10f_use=yes
14880 echo "configure: failed program was:" >&5
14881 cat conftest.$ac_ext >&5
14883 glibcpp_cv_func_log10f_use=no
14887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14888 ac_cpp='$CPP $CPPFLAGS'
14889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14891 cross_compiling=$ac_cv_prog_cc_cross
14897 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14899 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14900 for ac_func in log10f
14902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14903 echo "configure:14904: checking for $ac_func" >&5
14904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14905 echo $ac_n "(cached) $ac_c" 1>&6
14907 cat > conftest.$ac_ext <<EOF
14908 #line 14909 "configure"
14909 #include "confdefs.h"
14910 /* System header to define __stub macros and hopefully few prototypes,
14911 which can conflict with char $ac_func(); below. */
14912 #include <assert.h>
14913 /* Override any gcc2 internal prototype to avoid an error. */
14914 /* We use char because int might match the return type of a gcc2
14915 builtin and then its argument prototype would still apply. */
14920 /* The GNU C library defines this for functions which it implements
14921 to always fail with ENOSYS. Some functions are actually named
14922 something starting with __ and the normal name is an alias. */
14923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14931 if { (eval echo configure:14932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14933 eval "ac_cv_func_$ac_func=yes"
14935 echo "configure: failed program was:" >&5
14936 cat conftest.$ac_ext >&5
14938 eval "ac_cv_func_$ac_func=no"
14943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14944 echo "$ac_t""yes" 1>&6
14945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14946 cat >> confdefs.h <<EOF
14947 #define $ac_tr_func 1
14951 echo "$ac_t""no" 1>&6
14957 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14958 echo "configure:14959: checking for _log10f declaration" >&5
14959 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14960 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14961 echo $ac_n "(cached) $ac_c" 1>&6
14966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14967 ac_cpp='$CXXCPP $CPPFLAGS'
14968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14970 cross_compiling=$ac_cv_prog_cxx_cross
14972 cat > conftest.$ac_ext <<EOF
14973 #line 14974 "configure"
14974 #include "confdefs.h"
14976 #ifdef HAVE_IEEEFP_H
14977 #include <ieeefp.h>
14984 if { (eval echo configure:14985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14986 glibcpp_cv_func__log10f_use=yes
14988 echo "configure: failed program was:" >&5
14989 cat conftest.$ac_ext >&5
14991 glibcpp_cv_func__log10f_use=no
14995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14999 cross_compiling=$ac_cv_prog_cc_cross
15005 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15007 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15008 for ac_func in _log10f
15010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15011 echo "configure:15012: checking for $ac_func" >&5
15012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15013 echo $ac_n "(cached) $ac_c" 1>&6
15015 cat > conftest.$ac_ext <<EOF
15016 #line 15017 "configure"
15017 #include "confdefs.h"
15018 /* System header to define __stub macros and hopefully few prototypes,
15019 which can conflict with char $ac_func(); below. */
15020 #include <assert.h>
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 /* We use char because int might match the return type of a gcc2
15023 builtin and then its argument prototype would still apply. */
15028 /* The GNU C library defines this for functions which it implements
15029 to always fail with ENOSYS. Some functions are actually named
15030 something starting with __ and the normal name is an alias. */
15031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15039 if { (eval echo configure:15040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15041 eval "ac_cv_func_$ac_func=yes"
15043 echo "configure: failed program was:" >&5
15044 cat conftest.$ac_ext >&5
15046 eval "ac_cv_func_$ac_func=no"
15051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15052 echo "$ac_t""yes" 1>&6
15053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15054 cat >> confdefs.h <<EOF
15055 #define $ac_tr_func 1
15059 echo "$ac_t""no" 1>&6
15068 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15069 echo "configure:15070: checking for modff declaration" >&5
15070 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15071 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15072 echo $ac_n "(cached) $ac_c" 1>&6
15077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15078 ac_cpp='$CXXCPP $CPPFLAGS'
15079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15081 cross_compiling=$ac_cv_prog_cxx_cross
15083 cat > conftest.$ac_ext <<EOF
15084 #line 15085 "configure"
15085 #include "confdefs.h"
15091 if { (eval echo configure:15092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15093 glibcpp_cv_func_modff_use=yes
15095 echo "configure: failed program was:" >&5
15096 cat conftest.$ac_ext >&5
15098 glibcpp_cv_func_modff_use=no
15102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15106 cross_compiling=$ac_cv_prog_cc_cross
15112 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15114 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15115 for ac_func in modff
15117 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15118 echo "configure:15119: checking for $ac_func" >&5
15119 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15120 echo $ac_n "(cached) $ac_c" 1>&6
15122 cat > conftest.$ac_ext <<EOF
15123 #line 15124 "configure"
15124 #include "confdefs.h"
15125 /* System header to define __stub macros and hopefully few prototypes,
15126 which can conflict with char $ac_func(); below. */
15127 #include <assert.h>
15128 /* Override any gcc2 internal prototype to avoid an error. */
15129 /* We use char because int might match the return type of a gcc2
15130 builtin and then its argument prototype would still apply. */
15135 /* The GNU C library defines this for functions which it implements
15136 to always fail with ENOSYS. Some functions are actually named
15137 something starting with __ and the normal name is an alias. */
15138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15146 if { (eval echo configure:15147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15148 eval "ac_cv_func_$ac_func=yes"
15150 echo "configure: failed program was:" >&5
15151 cat conftest.$ac_ext >&5
15153 eval "ac_cv_func_$ac_func=no"
15158 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15159 echo "$ac_t""yes" 1>&6
15160 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15161 cat >> confdefs.h <<EOF
15162 #define $ac_tr_func 1
15166 echo "$ac_t""no" 1>&6
15172 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15173 echo "configure:15174: checking for _modff declaration" >&5
15174 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15175 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15176 echo $ac_n "(cached) $ac_c" 1>&6
15181 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15184 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15185 cross_compiling=$ac_cv_prog_cxx_cross
15187 cat > conftest.$ac_ext <<EOF
15188 #line 15189 "configure"
15189 #include "confdefs.h"
15195 if { (eval echo configure:15196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15197 glibcpp_cv_func__modff_use=yes
15199 echo "configure: failed program was:" >&5
15200 cat conftest.$ac_ext >&5
15202 glibcpp_cv_func__modff_use=no
15206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15207 ac_cpp='$CPP $CPPFLAGS'
15208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15210 cross_compiling=$ac_cv_prog_cc_cross
15216 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15218 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15219 for ac_func in _modff
15221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15222 echo "configure:15223: checking for $ac_func" >&5
15223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15224 echo $ac_n "(cached) $ac_c" 1>&6
15226 cat > conftest.$ac_ext <<EOF
15227 #line 15228 "configure"
15228 #include "confdefs.h"
15229 /* System header to define __stub macros and hopefully few prototypes,
15230 which can conflict with char $ac_func(); below. */
15231 #include <assert.h>
15232 /* Override any gcc2 internal prototype to avoid an error. */
15233 /* We use char because int might match the return type of a gcc2
15234 builtin and then its argument prototype would still apply. */
15239 /* The GNU C library defines this for functions which it implements
15240 to always fail with ENOSYS. Some functions are actually named
15241 something starting with __ and the normal name is an alias. */
15242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15250 if { (eval echo configure:15251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15252 eval "ac_cv_func_$ac_func=yes"
15254 echo "configure: failed program was:" >&5
15255 cat conftest.$ac_ext >&5
15257 eval "ac_cv_func_$ac_func=no"
15262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15263 echo "$ac_t""yes" 1>&6
15264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15265 cat >> confdefs.h <<EOF
15266 #define $ac_tr_func 1
15270 echo "$ac_t""no" 1>&6
15279 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15280 echo "configure:15281: checking for powf declaration" >&5
15281 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15282 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15283 echo $ac_n "(cached) $ac_c" 1>&6
15288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15289 ac_cpp='$CXXCPP $CPPFLAGS'
15290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15292 cross_compiling=$ac_cv_prog_cxx_cross
15294 cat > conftest.$ac_ext <<EOF
15295 #line 15296 "configure"
15296 #include "confdefs.h"
15302 if { (eval echo configure:15303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15304 glibcpp_cv_func_powf_use=yes
15306 echo "configure: failed program was:" >&5
15307 cat conftest.$ac_ext >&5
15309 glibcpp_cv_func_powf_use=no
15313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15314 ac_cpp='$CPP $CPPFLAGS'
15315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15317 cross_compiling=$ac_cv_prog_cc_cross
15323 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15325 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15326 for ac_func in powf
15328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15329 echo "configure:15330: checking for $ac_func" >&5
15330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15331 echo $ac_n "(cached) $ac_c" 1>&6
15333 cat > conftest.$ac_ext <<EOF
15334 #line 15335 "configure"
15335 #include "confdefs.h"
15336 /* System header to define __stub macros and hopefully few prototypes,
15337 which can conflict with char $ac_func(); below. */
15338 #include <assert.h>
15339 /* Override any gcc2 internal prototype to avoid an error. */
15340 /* We use char because int might match the return type of a gcc2
15341 builtin and then its argument prototype would still apply. */
15346 /* The GNU C library defines this for functions which it implements
15347 to always fail with ENOSYS. Some functions are actually named
15348 something starting with __ and the normal name is an alias. */
15349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15357 if { (eval echo configure:15358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15359 eval "ac_cv_func_$ac_func=yes"
15361 echo "configure: failed program was:" >&5
15362 cat conftest.$ac_ext >&5
15364 eval "ac_cv_func_$ac_func=no"
15369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15370 echo "$ac_t""yes" 1>&6
15371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15372 cat >> confdefs.h <<EOF
15373 #define $ac_tr_func 1
15377 echo "$ac_t""no" 1>&6
15383 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15384 echo "configure:15385: checking for _powf declaration" >&5
15385 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15386 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15387 echo $ac_n "(cached) $ac_c" 1>&6
15392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15393 ac_cpp='$CXXCPP $CPPFLAGS'
15394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15396 cross_compiling=$ac_cv_prog_cxx_cross
15398 cat > conftest.$ac_ext <<EOF
15399 #line 15400 "configure"
15400 #include "confdefs.h"
15406 if { (eval echo configure:15407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15408 glibcpp_cv_func__powf_use=yes
15410 echo "configure: failed program was:" >&5
15411 cat conftest.$ac_ext >&5
15413 glibcpp_cv_func__powf_use=no
15417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15418 ac_cpp='$CPP $CPPFLAGS'
15419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15421 cross_compiling=$ac_cv_prog_cc_cross
15427 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15429 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15430 for ac_func in _powf
15432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15433 echo "configure:15434: checking for $ac_func" >&5
15434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15435 echo $ac_n "(cached) $ac_c" 1>&6
15437 cat > conftest.$ac_ext <<EOF
15438 #line 15439 "configure"
15439 #include "confdefs.h"
15440 /* System header to define __stub macros and hopefully few prototypes,
15441 which can conflict with char $ac_func(); below. */
15442 #include <assert.h>
15443 /* Override any gcc2 internal prototype to avoid an error. */
15444 /* We use char because int might match the return type of a gcc2
15445 builtin and then its argument prototype would still apply. */
15450 /* The GNU C library defines this for functions which it implements
15451 to always fail with ENOSYS. Some functions are actually named
15452 something starting with __ and the normal name is an alias. */
15453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15461 if { (eval echo configure:15462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15463 eval "ac_cv_func_$ac_func=yes"
15465 echo "configure: failed program was:" >&5
15466 cat conftest.$ac_ext >&5
15468 eval "ac_cv_func_$ac_func=no"
15473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15474 echo "$ac_t""yes" 1>&6
15475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15476 cat >> confdefs.h <<EOF
15477 #define $ac_tr_func 1
15481 echo "$ac_t""no" 1>&6
15490 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15491 echo "configure:15492: checking for sqrtf declaration" >&5
15492 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15493 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15494 echo $ac_n "(cached) $ac_c" 1>&6
15499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15500 ac_cpp='$CXXCPP $CPPFLAGS'
15501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15503 cross_compiling=$ac_cv_prog_cxx_cross
15505 cat > conftest.$ac_ext <<EOF
15506 #line 15507 "configure"
15507 #include "confdefs.h"
15509 #ifdef HAVE_IEEEFP_H
15510 #include <ieeefp.h>
15517 if { (eval echo configure:15518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15519 glibcpp_cv_func_sqrtf_use=yes
15521 echo "configure: failed program was:" >&5
15522 cat conftest.$ac_ext >&5
15524 glibcpp_cv_func_sqrtf_use=no
15528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15529 ac_cpp='$CPP $CPPFLAGS'
15530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15532 cross_compiling=$ac_cv_prog_cc_cross
15538 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15540 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15541 for ac_func in sqrtf
15543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15544 echo "configure:15545: checking for $ac_func" >&5
15545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15546 echo $ac_n "(cached) $ac_c" 1>&6
15548 cat > conftest.$ac_ext <<EOF
15549 #line 15550 "configure"
15550 #include "confdefs.h"
15551 /* System header to define __stub macros and hopefully few prototypes,
15552 which can conflict with char $ac_func(); below. */
15553 #include <assert.h>
15554 /* Override any gcc2 internal prototype to avoid an error. */
15555 /* We use char because int might match the return type of a gcc2
15556 builtin and then its argument prototype would still apply. */
15561 /* The GNU C library defines this for functions which it implements
15562 to always fail with ENOSYS. Some functions are actually named
15563 something starting with __ and the normal name is an alias. */
15564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15572 if { (eval echo configure:15573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15574 eval "ac_cv_func_$ac_func=yes"
15576 echo "configure: failed program was:" >&5
15577 cat conftest.$ac_ext >&5
15579 eval "ac_cv_func_$ac_func=no"
15584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15585 echo "$ac_t""yes" 1>&6
15586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15587 cat >> confdefs.h <<EOF
15588 #define $ac_tr_func 1
15592 echo "$ac_t""no" 1>&6
15598 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15599 echo "configure:15600: checking for _sqrtf declaration" >&5
15600 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15601 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15611 cross_compiling=$ac_cv_prog_cxx_cross
15613 cat > conftest.$ac_ext <<EOF
15614 #line 15615 "configure"
15615 #include "confdefs.h"
15617 #ifdef HAVE_IEEEFP_H
15618 #include <ieeefp.h>
15625 if { (eval echo configure:15626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15627 glibcpp_cv_func__sqrtf_use=yes
15629 echo "configure: failed program was:" >&5
15630 cat conftest.$ac_ext >&5
15632 glibcpp_cv_func__sqrtf_use=no
15636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15637 ac_cpp='$CPP $CPPFLAGS'
15638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15640 cross_compiling=$ac_cv_prog_cc_cross
15646 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15648 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15649 for ac_func in _sqrtf
15651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15652 echo "configure:15653: checking for $ac_func" >&5
15653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15654 echo $ac_n "(cached) $ac_c" 1>&6
15656 cat > conftest.$ac_ext <<EOF
15657 #line 15658 "configure"
15658 #include "confdefs.h"
15659 /* System header to define __stub macros and hopefully few prototypes,
15660 which can conflict with char $ac_func(); below. */
15661 #include <assert.h>
15662 /* Override any gcc2 internal prototype to avoid an error. */
15663 /* We use char because int might match the return type of a gcc2
15664 builtin and then its argument prototype would still apply. */
15669 /* The GNU C library defines this for functions which it implements
15670 to always fail with ENOSYS. Some functions are actually named
15671 something starting with __ and the normal name is an alias. */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15680 if { (eval echo configure:15681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15682 eval "ac_cv_func_$ac_func=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.$ac_ext >&5
15687 eval "ac_cv_func_$ac_func=no"
15692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15693 echo "$ac_t""yes" 1>&6
15694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15695 cat >> confdefs.h <<EOF
15696 #define $ac_tr_func 1
15700 echo "$ac_t""no" 1>&6
15709 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15710 echo "configure:15711: checking for sincosf declaration" >&5
15711 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15712 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15713 echo $ac_n "(cached) $ac_c" 1>&6
15718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15719 ac_cpp='$CXXCPP $CPPFLAGS'
15720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15722 cross_compiling=$ac_cv_prog_cxx_cross
15724 cat > conftest.$ac_ext <<EOF
15725 #line 15726 "configure"
15726 #include "confdefs.h"
15732 if { (eval echo configure:15733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15734 glibcpp_cv_func_sincosf_use=yes
15736 echo "configure: failed program was:" >&5
15737 cat conftest.$ac_ext >&5
15739 glibcpp_cv_func_sincosf_use=no
15743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15747 cross_compiling=$ac_cv_prog_cc_cross
15753 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15755 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15756 for ac_func in sincosf
15758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15759 echo "configure:15760: checking for $ac_func" >&5
15760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15761 echo $ac_n "(cached) $ac_c" 1>&6
15763 cat > conftest.$ac_ext <<EOF
15764 #line 15765 "configure"
15765 #include "confdefs.h"
15766 /* System header to define __stub macros and hopefully few prototypes,
15767 which can conflict with char $ac_func(); below. */
15768 #include <assert.h>
15769 /* Override any gcc2 internal prototype to avoid an error. */
15770 /* We use char because int might match the return type of a gcc2
15771 builtin and then its argument prototype would still apply. */
15776 /* The GNU C library defines this for functions which it implements
15777 to always fail with ENOSYS. Some functions are actually named
15778 something starting with __ and the normal name is an alias. */
15779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15787 if { (eval echo configure:15788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15789 eval "ac_cv_func_$ac_func=yes"
15791 echo "configure: failed program was:" >&5
15792 cat conftest.$ac_ext >&5
15794 eval "ac_cv_func_$ac_func=no"
15799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15800 echo "$ac_t""yes" 1>&6
15801 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15802 cat >> confdefs.h <<EOF
15803 #define $ac_tr_func 1
15807 echo "$ac_t""no" 1>&6
15813 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15814 echo "configure:15815: checking for _sincosf declaration" >&5
15815 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15816 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15817 echo $ac_n "(cached) $ac_c" 1>&6
15822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15823 ac_cpp='$CXXCPP $CPPFLAGS'
15824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15826 cross_compiling=$ac_cv_prog_cxx_cross
15828 cat > conftest.$ac_ext <<EOF
15829 #line 15830 "configure"
15830 #include "confdefs.h"
15836 if { (eval echo configure:15837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15838 glibcpp_cv_func__sincosf_use=yes
15840 echo "configure: failed program was:" >&5
15841 cat conftest.$ac_ext >&5
15843 glibcpp_cv_func__sincosf_use=no
15847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15848 ac_cpp='$CPP $CPPFLAGS'
15849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15851 cross_compiling=$ac_cv_prog_cc_cross
15857 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15859 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15860 for ac_func in _sincosf
15862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15863 echo "configure:15864: checking for $ac_func" >&5
15864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15865 echo $ac_n "(cached) $ac_c" 1>&6
15867 cat > conftest.$ac_ext <<EOF
15868 #line 15869 "configure"
15869 #include "confdefs.h"
15870 /* System header to define __stub macros and hopefully few prototypes,
15871 which can conflict with char $ac_func(); below. */
15872 #include <assert.h>
15873 /* Override any gcc2 internal prototype to avoid an error. */
15874 /* We use char because int might match the return type of a gcc2
15875 builtin and then its argument prototype would still apply. */
15880 /* The GNU C library defines this for functions which it implements
15881 to always fail with ENOSYS. Some functions are actually named
15882 something starting with __ and the normal name is an alias. */
15883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15891 if { (eval echo configure:15892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15893 eval "ac_cv_func_$ac_func=yes"
15895 echo "configure: failed program was:" >&5
15896 cat conftest.$ac_ext >&5
15898 eval "ac_cv_func_$ac_func=no"
15903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15904 echo "$ac_t""yes" 1>&6
15905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15906 cat >> confdefs.h <<EOF
15907 #define $ac_tr_func 1
15911 echo "$ac_t""no" 1>&6
15920 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15921 echo "configure:15922: checking for finitef declaration" >&5
15922 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15923 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15924 echo $ac_n "(cached) $ac_c" 1>&6
15929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15930 ac_cpp='$CXXCPP $CPPFLAGS'
15931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15933 cross_compiling=$ac_cv_prog_cxx_cross
15935 cat > conftest.$ac_ext <<EOF
15936 #line 15937 "configure"
15937 #include "confdefs.h"
15939 #ifdef HAVE_IEEEFP_H
15940 #include <ieeefp.h>
15947 if { (eval echo configure:15948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15949 glibcpp_cv_func_finitef_use=yes
15951 echo "configure: failed program was:" >&5
15952 cat conftest.$ac_ext >&5
15954 glibcpp_cv_func_finitef_use=no
15958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15959 ac_cpp='$CPP $CPPFLAGS'
15960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15962 cross_compiling=$ac_cv_prog_cc_cross
15968 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15970 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15971 for ac_func in finitef
15973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15974 echo "configure:15975: checking for $ac_func" >&5
15975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15976 echo $ac_n "(cached) $ac_c" 1>&6
15978 cat > conftest.$ac_ext <<EOF
15979 #line 15980 "configure"
15980 #include "confdefs.h"
15981 /* System header to define __stub macros and hopefully few prototypes,
15982 which can conflict with char $ac_func(); below. */
15983 #include <assert.h>
15984 /* Override any gcc2 internal prototype to avoid an error. */
15985 /* We use char because int might match the return type of a gcc2
15986 builtin and then its argument prototype would still apply. */
15991 /* The GNU C library defines this for functions which it implements
15992 to always fail with ENOSYS. Some functions are actually named
15993 something starting with __ and the normal name is an alias. */
15994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16002 if { (eval echo configure:16003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16004 eval "ac_cv_func_$ac_func=yes"
16006 echo "configure: failed program was:" >&5
16007 cat conftest.$ac_ext >&5
16009 eval "ac_cv_func_$ac_func=no"
16014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16015 echo "$ac_t""yes" 1>&6
16016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16017 cat >> confdefs.h <<EOF
16018 #define $ac_tr_func 1
16022 echo "$ac_t""no" 1>&6
16028 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
16029 echo "configure:16030: checking for _finitef declaration" >&5
16030 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16031 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16032 echo $ac_n "(cached) $ac_c" 1>&6
16037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16038 ac_cpp='$CXXCPP $CPPFLAGS'
16039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16041 cross_compiling=$ac_cv_prog_cxx_cross
16043 cat > conftest.$ac_ext <<EOF
16044 #line 16045 "configure"
16045 #include "confdefs.h"
16047 #ifdef HAVE_IEEEFP_H
16048 #include <ieeefp.h>
16055 if { (eval echo configure:16056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16057 glibcpp_cv_func__finitef_use=yes
16059 echo "configure: failed program was:" >&5
16060 cat conftest.$ac_ext >&5
16062 glibcpp_cv_func__finitef_use=no
16066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16067 ac_cpp='$CPP $CPPFLAGS'
16068 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16069 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16070 cross_compiling=$ac_cv_prog_cc_cross
16076 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16078 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16079 for ac_func in _finitef
16081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16082 echo "configure:16083: checking for $ac_func" >&5
16083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16084 echo $ac_n "(cached) $ac_c" 1>&6
16086 cat > conftest.$ac_ext <<EOF
16087 #line 16088 "configure"
16088 #include "confdefs.h"
16089 /* System header to define __stub macros and hopefully few prototypes,
16090 which can conflict with char $ac_func(); below. */
16091 #include <assert.h>
16092 /* Override any gcc2 internal prototype to avoid an error. */
16093 /* We use char because int might match the return type of a gcc2
16094 builtin and then its argument prototype would still apply. */
16099 /* The GNU C library defines this for functions which it implements
16100 to always fail with ENOSYS. Some functions are actually named
16101 something starting with __ and the normal name is an alias. */
16102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16110 if { (eval echo configure:16111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16112 eval "ac_cv_func_$ac_func=yes"
16114 echo "configure: failed program was:" >&5
16115 cat conftest.$ac_ext >&5
16117 eval "ac_cv_func_$ac_func=no"
16122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16123 echo "$ac_t""yes" 1>&6
16124 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16125 cat >> confdefs.h <<EOF
16126 #define $ac_tr_func 1
16130 echo "$ac_t""no" 1>&6
16139 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16140 echo "configure:16141: checking for long double trig functions" >&5
16141 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16142 echo $ac_n "(cached) $ac_c" 1>&6
16147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16148 ac_cpp='$CXXCPP $CPPFLAGS'
16149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16151 cross_compiling=$ac_cv_prog_cxx_cross
16153 cat > conftest.$ac_ext <<EOF
16154 #line 16155 "configure"
16155 #include "confdefs.h"
16158 `for x in acosl asinl atanl \
16160 coshl sinhl tanhl; do echo "$x (0);"; done`
16163 if { (eval echo configure:16164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16165 glibcpp_cv_func_long_double_trig_use=yes
16167 echo "configure: failed program was:" >&5
16168 cat conftest.$ac_ext >&5
16170 glibcpp_cv_func_long_double_trig_use=no
16174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16175 ac_cpp='$CPP $CPPFLAGS'
16176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16178 cross_compiling=$ac_cv_prog_cc_cross
16182 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16183 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16184 for ac_func in acosl asinl atanl \
16188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16189 echo "configure:16190: checking for $ac_func" >&5
16190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16191 echo $ac_n "(cached) $ac_c" 1>&6
16193 cat > conftest.$ac_ext <<EOF
16194 #line 16195 "configure"
16195 #include "confdefs.h"
16196 /* System header to define __stub macros and hopefully few prototypes,
16197 which can conflict with char $ac_func(); below. */
16198 #include <assert.h>
16199 /* Override any gcc2 internal prototype to avoid an error. */
16200 /* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16206 /* The GNU C library defines this for functions which it implements
16207 to always fail with ENOSYS. Some functions are actually named
16208 something starting with __ and the normal name is an alias. */
16209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16217 if { (eval echo configure:16218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16219 eval "ac_cv_func_$ac_func=yes"
16221 echo "configure: failed program was:" >&5
16222 cat conftest.$ac_ext >&5
16224 eval "ac_cv_func_$ac_func=no"
16229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16230 echo "$ac_t""yes" 1>&6
16231 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16232 cat >> confdefs.h <<EOF
16233 #define $ac_tr_func 1
16237 echo "$ac_t""no" 1>&6
16244 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16245 echo "configure:16246: checking for long double round functions" >&5
16246 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16247 echo $ac_n "(cached) $ac_c" 1>&6
16252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16253 ac_cpp='$CXXCPP $CPPFLAGS'
16254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16256 cross_compiling=$ac_cv_prog_cxx_cross
16258 cat > conftest.$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16263 `for x in ceill floorl; do echo "$x (0);"; done`
16266 if { (eval echo configure:16267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16268 glibcpp_cv_func_long_double_round_use=yes
16270 echo "configure: failed program was:" >&5
16271 cat conftest.$ac_ext >&5
16273 glibcpp_cv_func_long_double_round_use=no
16277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16278 ac_cpp='$CPP $CPPFLAGS'
16279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16281 cross_compiling=$ac_cv_prog_cc_cross
16285 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16286 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16287 for ac_func in ceill floorl
16289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16290 echo "configure:16291: checking for $ac_func" >&5
16291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16292 echo $ac_n "(cached) $ac_c" 1>&6
16294 cat > conftest.$ac_ext <<EOF
16295 #line 16296 "configure"
16296 #include "confdefs.h"
16297 /* System header to define __stub macros and hopefully few prototypes,
16298 which can conflict with char $ac_func(); below. */
16299 #include <assert.h>
16300 /* Override any gcc2 internal prototype to avoid an error. */
16301 /* We use char because int might match the return type of a gcc2
16302 builtin and then its argument prototype would still apply. */
16307 /* The GNU C library defines this for functions which it implements
16308 to always fail with ENOSYS. Some functions are actually named
16309 something starting with __ and the normal name is an alias. */
16310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16318 if { (eval echo configure:16319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16320 eval "ac_cv_func_$ac_func=yes"
16322 echo "configure: failed program was:" >&5
16323 cat conftest.$ac_ext >&5
16325 eval "ac_cv_func_$ac_func=no"
16330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16331 echo "$ac_t""yes" 1>&6
16332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16333 cat >> confdefs.h <<EOF
16334 #define $ac_tr_func 1
16338 echo "$ac_t""no" 1>&6
16346 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16347 echo "configure:16348: checking for isnanl declaration" >&5
16348 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16349 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16350 echo $ac_n "(cached) $ac_c" 1>&6
16355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16356 ac_cpp='$CXXCPP $CPPFLAGS'
16357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16359 cross_compiling=$ac_cv_prog_cxx_cross
16361 cat > conftest.$ac_ext <<EOF
16362 #line 16363 "configure"
16363 #include "confdefs.h"
16365 #ifdef HAVE_IEEEFP_H
16366 #include <ieeefp.h>
16373 if { (eval echo configure:16374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16375 glibcpp_cv_func_isnanl_use=yes
16377 echo "configure: failed program was:" >&5
16378 cat conftest.$ac_ext >&5
16380 glibcpp_cv_func_isnanl_use=no
16384 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16385 ac_cpp='$CPP $CPPFLAGS'
16386 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16387 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16388 cross_compiling=$ac_cv_prog_cc_cross
16394 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16396 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16397 for ac_func in isnanl
16399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16400 echo "configure:16401: checking for $ac_func" >&5
16401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16402 echo $ac_n "(cached) $ac_c" 1>&6
16404 cat > conftest.$ac_ext <<EOF
16405 #line 16406 "configure"
16406 #include "confdefs.h"
16407 /* System header to define __stub macros and hopefully few prototypes,
16408 which can conflict with char $ac_func(); below. */
16409 #include <assert.h>
16410 /* Override any gcc2 internal prototype to avoid an error. */
16411 /* We use char because int might match the return type of a gcc2
16412 builtin and then its argument prototype would still apply. */
16417 /* The GNU C library defines this for functions which it implements
16418 to always fail with ENOSYS. Some functions are actually named
16419 something starting with __ and the normal name is an alias. */
16420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16428 if { (eval echo configure:16429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16430 eval "ac_cv_func_$ac_func=yes"
16432 echo "configure: failed program was:" >&5
16433 cat conftest.$ac_ext >&5
16435 eval "ac_cv_func_$ac_func=no"
16440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16441 echo "$ac_t""yes" 1>&6
16442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16443 cat >> confdefs.h <<EOF
16444 #define $ac_tr_func 1
16448 echo "$ac_t""no" 1>&6
16454 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16455 echo "configure:16456: checking for _isnanl declaration" >&5
16456 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16457 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16458 echo $ac_n "(cached) $ac_c" 1>&6
16463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16464 ac_cpp='$CXXCPP $CPPFLAGS'
16465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16467 cross_compiling=$ac_cv_prog_cxx_cross
16469 cat > conftest.$ac_ext <<EOF
16470 #line 16471 "configure"
16471 #include "confdefs.h"
16473 #ifdef HAVE_IEEEFP_H
16474 #include <ieeefp.h>
16481 if { (eval echo configure:16482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16483 glibcpp_cv_func__isnanl_use=yes
16485 echo "configure: failed program was:" >&5
16486 cat conftest.$ac_ext >&5
16488 glibcpp_cv_func__isnanl_use=no
16492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16493 ac_cpp='$CPP $CPPFLAGS'
16494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16496 cross_compiling=$ac_cv_prog_cc_cross
16502 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16504 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16505 for ac_func in _isnanl
16507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16508 echo "configure:16509: checking for $ac_func" >&5
16509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16510 echo $ac_n "(cached) $ac_c" 1>&6
16512 cat > conftest.$ac_ext <<EOF
16513 #line 16514 "configure"
16514 #include "confdefs.h"
16515 /* System header to define __stub macros and hopefully few prototypes,
16516 which can conflict with char $ac_func(); below. */
16517 #include <assert.h>
16518 /* Override any gcc2 internal prototype to avoid an error. */
16519 /* We use char because int might match the return type of a gcc2
16520 builtin and then its argument prototype would still apply. */
16525 /* The GNU C library defines this for functions which it implements
16526 to always fail with ENOSYS. Some functions are actually named
16527 something starting with __ and the normal name is an alias. */
16528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16536 if { (eval echo configure:16537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16538 eval "ac_cv_func_$ac_func=yes"
16540 echo "configure: failed program was:" >&5
16541 cat conftest.$ac_ext >&5
16543 eval "ac_cv_func_$ac_func=no"
16548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16549 echo "$ac_t""yes" 1>&6
16550 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16551 cat >> confdefs.h <<EOF
16552 #define $ac_tr_func 1
16556 echo "$ac_t""no" 1>&6
16565 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16566 echo "configure:16567: checking for isinfl declaration" >&5
16567 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16568 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16569 echo $ac_n "(cached) $ac_c" 1>&6
16574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16575 ac_cpp='$CXXCPP $CPPFLAGS'
16576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16578 cross_compiling=$ac_cv_prog_cxx_cross
16580 cat > conftest.$ac_ext <<EOF
16581 #line 16582 "configure"
16582 #include "confdefs.h"
16584 #ifdef HAVE_IEEEFP_H
16585 #include <ieeefp.h>
16592 if { (eval echo configure:16593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16594 glibcpp_cv_func_isinfl_use=yes
16596 echo "configure: failed program was:" >&5
16597 cat conftest.$ac_ext >&5
16599 glibcpp_cv_func_isinfl_use=no
16603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16604 ac_cpp='$CPP $CPPFLAGS'
16605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16607 cross_compiling=$ac_cv_prog_cc_cross
16613 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16615 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16616 for ac_func in isinfl
16618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16619 echo "configure:16620: checking for $ac_func" >&5
16620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16621 echo $ac_n "(cached) $ac_c" 1>&6
16623 cat > conftest.$ac_ext <<EOF
16624 #line 16625 "configure"
16625 #include "confdefs.h"
16626 /* System header to define __stub macros and hopefully few prototypes,
16627 which can conflict with char $ac_func(); below. */
16628 #include <assert.h>
16629 /* Override any gcc2 internal prototype to avoid an error. */
16630 /* We use char because int might match the return type of a gcc2
16631 builtin and then its argument prototype would still apply. */
16636 /* The GNU C library defines this for functions which it implements
16637 to always fail with ENOSYS. Some functions are actually named
16638 something starting with __ and the normal name is an alias. */
16639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16647 if { (eval echo configure:16648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16649 eval "ac_cv_func_$ac_func=yes"
16651 echo "configure: failed program was:" >&5
16652 cat conftest.$ac_ext >&5
16654 eval "ac_cv_func_$ac_func=no"
16659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16660 echo "$ac_t""yes" 1>&6
16661 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16662 cat >> confdefs.h <<EOF
16663 #define $ac_tr_func 1
16667 echo "$ac_t""no" 1>&6
16673 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16674 echo "configure:16675: checking for _isinfl declaration" >&5
16675 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16676 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16677 echo $ac_n "(cached) $ac_c" 1>&6
16682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16683 ac_cpp='$CXXCPP $CPPFLAGS'
16684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16686 cross_compiling=$ac_cv_prog_cxx_cross
16688 cat > conftest.$ac_ext <<EOF
16689 #line 16690 "configure"
16690 #include "confdefs.h"
16692 #ifdef HAVE_IEEEFP_H
16693 #include <ieeefp.h>
16700 if { (eval echo configure:16701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16702 glibcpp_cv_func__isinfl_use=yes
16704 echo "configure: failed program was:" >&5
16705 cat conftest.$ac_ext >&5
16707 glibcpp_cv_func__isinfl_use=no
16711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16712 ac_cpp='$CPP $CPPFLAGS'
16713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16715 cross_compiling=$ac_cv_prog_cc_cross
16721 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16723 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16724 for ac_func in _isinfl
16726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16727 echo "configure:16728: checking for $ac_func" >&5
16728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16729 echo $ac_n "(cached) $ac_c" 1>&6
16731 cat > conftest.$ac_ext <<EOF
16732 #line 16733 "configure"
16733 #include "confdefs.h"
16734 /* System header to define __stub macros and hopefully few prototypes,
16735 which can conflict with char $ac_func(); below. */
16736 #include <assert.h>
16737 /* Override any gcc2 internal prototype to avoid an error. */
16738 /* We use char because int might match the return type of a gcc2
16739 builtin and then its argument prototype would still apply. */
16744 /* The GNU C library defines this for functions which it implements
16745 to always fail with ENOSYS. Some functions are actually named
16746 something starting with __ and the normal name is an alias. */
16747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16755 if { (eval echo configure:16756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16757 eval "ac_cv_func_$ac_func=yes"
16759 echo "configure: failed program was:" >&5
16760 cat conftest.$ac_ext >&5
16762 eval "ac_cv_func_$ac_func=no"
16767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16768 echo "$ac_t""yes" 1>&6
16769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16770 cat >> confdefs.h <<EOF
16771 #define $ac_tr_func 1
16775 echo "$ac_t""no" 1>&6
16784 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16785 echo "configure:16786: checking for copysignl declaration" >&5
16786 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16787 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16788 echo $ac_n "(cached) $ac_c" 1>&6
16793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16794 ac_cpp='$CXXCPP $CPPFLAGS'
16795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16797 cross_compiling=$ac_cv_prog_cxx_cross
16799 cat > conftest.$ac_ext <<EOF
16800 #line 16801 "configure"
16801 #include "confdefs.h"
16807 if { (eval echo configure:16808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16809 glibcpp_cv_func_copysignl_use=yes
16811 echo "configure: failed program was:" >&5
16812 cat conftest.$ac_ext >&5
16814 glibcpp_cv_func_copysignl_use=no
16818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16819 ac_cpp='$CPP $CPPFLAGS'
16820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16822 cross_compiling=$ac_cv_prog_cc_cross
16828 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16830 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16831 for ac_func in copysignl
16833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16834 echo "configure:16835: checking for $ac_func" >&5
16835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16836 echo $ac_n "(cached) $ac_c" 1>&6
16838 cat > conftest.$ac_ext <<EOF
16839 #line 16840 "configure"
16840 #include "confdefs.h"
16841 /* System header to define __stub macros and hopefully few prototypes,
16842 which can conflict with char $ac_func(); below. */
16843 #include <assert.h>
16844 /* Override any gcc2 internal prototype to avoid an error. */
16845 /* We use char because int might match the return type of a gcc2
16846 builtin and then its argument prototype would still apply. */
16851 /* The GNU C library defines this for functions which it implements
16852 to always fail with ENOSYS. Some functions are actually named
16853 something starting with __ and the normal name is an alias. */
16854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16862 if { (eval echo configure:16863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16864 eval "ac_cv_func_$ac_func=yes"
16866 echo "configure: failed program was:" >&5
16867 cat conftest.$ac_ext >&5
16869 eval "ac_cv_func_$ac_func=no"
16874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16875 echo "$ac_t""yes" 1>&6
16876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16877 cat >> confdefs.h <<EOF
16878 #define $ac_tr_func 1
16882 echo "$ac_t""no" 1>&6
16888 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16889 echo "configure:16890: checking for _copysignl declaration" >&5
16890 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16891 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16892 echo $ac_n "(cached) $ac_c" 1>&6
16897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16898 ac_cpp='$CXXCPP $CPPFLAGS'
16899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16901 cross_compiling=$ac_cv_prog_cxx_cross
16903 cat > conftest.$ac_ext <<EOF
16904 #line 16905 "configure"
16905 #include "confdefs.h"
16911 if { (eval echo configure:16912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16913 glibcpp_cv_func__copysignl_use=yes
16915 echo "configure: failed program was:" >&5
16916 cat conftest.$ac_ext >&5
16918 glibcpp_cv_func__copysignl_use=no
16922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16923 ac_cpp='$CPP $CPPFLAGS'
16924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16926 cross_compiling=$ac_cv_prog_cc_cross
16932 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16934 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16935 for ac_func in _copysignl
16937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16938 echo "configure:16939: checking for $ac_func" >&5
16939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16940 echo $ac_n "(cached) $ac_c" 1>&6
16942 cat > conftest.$ac_ext <<EOF
16943 #line 16944 "configure"
16944 #include "confdefs.h"
16945 /* System header to define __stub macros and hopefully few prototypes,
16946 which can conflict with char $ac_func(); below. */
16947 #include <assert.h>
16948 /* Override any gcc2 internal prototype to avoid an error. */
16949 /* We use char because int might match the return type of a gcc2
16950 builtin and then its argument prototype would still apply. */
16955 /* The GNU C library defines this for functions which it implements
16956 to always fail with ENOSYS. Some functions are actually named
16957 something starting with __ and the normal name is an alias. */
16958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16966 if { (eval echo configure:16967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16968 eval "ac_cv_func_$ac_func=yes"
16970 echo "configure: failed program was:" >&5
16971 cat conftest.$ac_ext >&5
16973 eval "ac_cv_func_$ac_func=no"
16978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16979 echo "$ac_t""yes" 1>&6
16980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16981 cat >> confdefs.h <<EOF
16982 #define $ac_tr_func 1
16986 echo "$ac_t""no" 1>&6
16995 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16996 echo "configure:16997: checking for atan2l declaration" >&5
16997 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16998 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16999 echo $ac_n "(cached) $ac_c" 1>&6
17004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17005 ac_cpp='$CXXCPP $CPPFLAGS'
17006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17008 cross_compiling=$ac_cv_prog_cxx_cross
17010 cat > conftest.$ac_ext <<EOF
17011 #line 17012 "configure"
17012 #include "confdefs.h"
17018 if { (eval echo configure:17019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17020 glibcpp_cv_func_atan2l_use=yes
17022 echo "configure: failed program was:" >&5
17023 cat conftest.$ac_ext >&5
17025 glibcpp_cv_func_atan2l_use=no
17029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17030 ac_cpp='$CPP $CPPFLAGS'
17031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17033 cross_compiling=$ac_cv_prog_cc_cross
17039 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17041 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17042 for ac_func in atan2l
17044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17045 echo "configure:17046: checking for $ac_func" >&5
17046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17047 echo $ac_n "(cached) $ac_c" 1>&6
17049 cat > conftest.$ac_ext <<EOF
17050 #line 17051 "configure"
17051 #include "confdefs.h"
17052 /* System header to define __stub macros and hopefully few prototypes,
17053 which can conflict with char $ac_func(); below. */
17054 #include <assert.h>
17055 /* Override any gcc2 internal prototype to avoid an error. */
17056 /* We use char because int might match the return type of a gcc2
17057 builtin and then its argument prototype would still apply. */
17062 /* The GNU C library defines this for functions which it implements
17063 to always fail with ENOSYS. Some functions are actually named
17064 something starting with __ and the normal name is an alias. */
17065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17073 if { (eval echo configure:17074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17075 eval "ac_cv_func_$ac_func=yes"
17077 echo "configure: failed program was:" >&5
17078 cat conftest.$ac_ext >&5
17080 eval "ac_cv_func_$ac_func=no"
17085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17086 echo "$ac_t""yes" 1>&6
17087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17088 cat >> confdefs.h <<EOF
17089 #define $ac_tr_func 1
17093 echo "$ac_t""no" 1>&6
17099 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17100 echo "configure:17101: checking for _atan2l declaration" >&5
17101 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17102 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17103 echo $ac_n "(cached) $ac_c" 1>&6
17108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17109 ac_cpp='$CXXCPP $CPPFLAGS'
17110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17112 cross_compiling=$ac_cv_prog_cxx_cross
17114 cat > conftest.$ac_ext <<EOF
17115 #line 17116 "configure"
17116 #include "confdefs.h"
17122 if { (eval echo configure:17123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17124 glibcpp_cv_func__atan2l_use=yes
17126 echo "configure: failed program was:" >&5
17127 cat conftest.$ac_ext >&5
17129 glibcpp_cv_func__atan2l_use=no
17133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17134 ac_cpp='$CPP $CPPFLAGS'
17135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17137 cross_compiling=$ac_cv_prog_cc_cross
17143 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17145 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17146 for ac_func in _atan2l
17148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17149 echo "configure:17150: checking for $ac_func" >&5
17150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17151 echo $ac_n "(cached) $ac_c" 1>&6
17153 cat > conftest.$ac_ext <<EOF
17154 #line 17155 "configure"
17155 #include "confdefs.h"
17156 /* System header to define __stub macros and hopefully few prototypes,
17157 which can conflict with char $ac_func(); below. */
17158 #include <assert.h>
17159 /* Override any gcc2 internal prototype to avoid an error. */
17160 /* We use char because int might match the return type of a gcc2
17161 builtin and then its argument prototype would still apply. */
17166 /* The GNU C library defines this for functions which it implements
17167 to always fail with ENOSYS. Some functions are actually named
17168 something starting with __ and the normal name is an alias. */
17169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17177 if { (eval echo configure:17178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17179 eval "ac_cv_func_$ac_func=yes"
17181 echo "configure: failed program was:" >&5
17182 cat conftest.$ac_ext >&5
17184 eval "ac_cv_func_$ac_func=no"
17189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17190 echo "$ac_t""yes" 1>&6
17191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17192 cat >> confdefs.h <<EOF
17193 #define $ac_tr_func 1
17197 echo "$ac_t""no" 1>&6
17206 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17207 echo "configure:17208: checking for expl declaration" >&5
17208 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17209 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17210 echo $ac_n "(cached) $ac_c" 1>&6
17215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17216 ac_cpp='$CXXCPP $CPPFLAGS'
17217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17219 cross_compiling=$ac_cv_prog_cxx_cross
17221 cat > conftest.$ac_ext <<EOF
17222 #line 17223 "configure"
17223 #include "confdefs.h"
17225 #ifdef HAVE_IEEEFP_H
17226 #include <ieeefp.h>
17233 if { (eval echo configure:17234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17235 glibcpp_cv_func_expl_use=yes
17237 echo "configure: failed program was:" >&5
17238 cat conftest.$ac_ext >&5
17240 glibcpp_cv_func_expl_use=no
17244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17245 ac_cpp='$CPP $CPPFLAGS'
17246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17248 cross_compiling=$ac_cv_prog_cc_cross
17254 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17256 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17257 for ac_func in expl
17259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17260 echo "configure:17261: checking for $ac_func" >&5
17261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17262 echo $ac_n "(cached) $ac_c" 1>&6
17264 cat > conftest.$ac_ext <<EOF
17265 #line 17266 "configure"
17266 #include "confdefs.h"
17267 /* System header to define __stub macros and hopefully few prototypes,
17268 which can conflict with char $ac_func(); below. */
17269 #include <assert.h>
17270 /* Override any gcc2 internal prototype to avoid an error. */
17271 /* We use char because int might match the return type of a gcc2
17272 builtin and then its argument prototype would still apply. */
17277 /* The GNU C library defines this for functions which it implements
17278 to always fail with ENOSYS. Some functions are actually named
17279 something starting with __ and the normal name is an alias. */
17280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17288 if { (eval echo configure:17289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17290 eval "ac_cv_func_$ac_func=yes"
17292 echo "configure: failed program was:" >&5
17293 cat conftest.$ac_ext >&5
17295 eval "ac_cv_func_$ac_func=no"
17300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17301 echo "$ac_t""yes" 1>&6
17302 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17303 cat >> confdefs.h <<EOF
17304 #define $ac_tr_func 1
17308 echo "$ac_t""no" 1>&6
17314 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17315 echo "configure:17316: checking for _expl declaration" >&5
17316 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17317 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17318 echo $ac_n "(cached) $ac_c" 1>&6
17323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17324 ac_cpp='$CXXCPP $CPPFLAGS'
17325 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17326 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17327 cross_compiling=$ac_cv_prog_cxx_cross
17329 cat > conftest.$ac_ext <<EOF
17330 #line 17331 "configure"
17331 #include "confdefs.h"
17333 #ifdef HAVE_IEEEFP_H
17334 #include <ieeefp.h>
17341 if { (eval echo configure:17342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17343 glibcpp_cv_func__expl_use=yes
17345 echo "configure: failed program was:" >&5
17346 cat conftest.$ac_ext >&5
17348 glibcpp_cv_func__expl_use=no
17352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17356 cross_compiling=$ac_cv_prog_cc_cross
17362 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17364 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17365 for ac_func in _expl
17367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17368 echo "configure:17369: checking for $ac_func" >&5
17369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17370 echo $ac_n "(cached) $ac_c" 1>&6
17372 cat > conftest.$ac_ext <<EOF
17373 #line 17374 "configure"
17374 #include "confdefs.h"
17375 /* System header to define __stub macros and hopefully few prototypes,
17376 which can conflict with char $ac_func(); below. */
17377 #include <assert.h>
17378 /* Override any gcc2 internal prototype to avoid an error. */
17379 /* We use char because int might match the return type of a gcc2
17380 builtin and then its argument prototype would still apply. */
17385 /* The GNU C library defines this for functions which it implements
17386 to always fail with ENOSYS. Some functions are actually named
17387 something starting with __ and the normal name is an alias. */
17388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17396 if { (eval echo configure:17397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17398 eval "ac_cv_func_$ac_func=yes"
17400 echo "configure: failed program was:" >&5
17401 cat conftest.$ac_ext >&5
17403 eval "ac_cv_func_$ac_func=no"
17408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17409 echo "$ac_t""yes" 1>&6
17410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17411 cat >> confdefs.h <<EOF
17412 #define $ac_tr_func 1
17416 echo "$ac_t""no" 1>&6
17425 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17426 echo "configure:17427: checking for fabsl declaration" >&5
17427 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17428 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17429 echo $ac_n "(cached) $ac_c" 1>&6
17434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17435 ac_cpp='$CXXCPP $CPPFLAGS'
17436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17438 cross_compiling=$ac_cv_prog_cxx_cross
17440 cat > conftest.$ac_ext <<EOF
17441 #line 17442 "configure"
17442 #include "confdefs.h"
17444 #ifdef HAVE_IEEEFP_H
17445 #include <ieeefp.h>
17452 if { (eval echo configure:17453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17454 glibcpp_cv_func_fabsl_use=yes
17456 echo "configure: failed program was:" >&5
17457 cat conftest.$ac_ext >&5
17459 glibcpp_cv_func_fabsl_use=no
17463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17467 cross_compiling=$ac_cv_prog_cc_cross
17473 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17475 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17476 for ac_func in fabsl
17478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17479 echo "configure:17480: checking for $ac_func" >&5
17480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17481 echo $ac_n "(cached) $ac_c" 1>&6
17483 cat > conftest.$ac_ext <<EOF
17484 #line 17485 "configure"
17485 #include "confdefs.h"
17486 /* System header to define __stub macros and hopefully few prototypes,
17487 which can conflict with char $ac_func(); below. */
17488 #include <assert.h>
17489 /* Override any gcc2 internal prototype to avoid an error. */
17490 /* We use char because int might match the return type of a gcc2
17491 builtin and then its argument prototype would still apply. */
17496 /* The GNU C library defines this for functions which it implements
17497 to always fail with ENOSYS. Some functions are actually named
17498 something starting with __ and the normal name is an alias. */
17499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17507 if { (eval echo configure:17508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17509 eval "ac_cv_func_$ac_func=yes"
17511 echo "configure: failed program was:" >&5
17512 cat conftest.$ac_ext >&5
17514 eval "ac_cv_func_$ac_func=no"
17519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17520 echo "$ac_t""yes" 1>&6
17521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17522 cat >> confdefs.h <<EOF
17523 #define $ac_tr_func 1
17527 echo "$ac_t""no" 1>&6
17533 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17534 echo "configure:17535: checking for _fabsl declaration" >&5
17535 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17536 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17537 echo $ac_n "(cached) $ac_c" 1>&6
17542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17543 ac_cpp='$CXXCPP $CPPFLAGS'
17544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17546 cross_compiling=$ac_cv_prog_cxx_cross
17548 cat > conftest.$ac_ext <<EOF
17549 #line 17550 "configure"
17550 #include "confdefs.h"
17552 #ifdef HAVE_IEEEFP_H
17553 #include <ieeefp.h>
17560 if { (eval echo configure:17561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17562 glibcpp_cv_func__fabsl_use=yes
17564 echo "configure: failed program was:" >&5
17565 cat conftest.$ac_ext >&5
17567 glibcpp_cv_func__fabsl_use=no
17571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17572 ac_cpp='$CPP $CPPFLAGS'
17573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17575 cross_compiling=$ac_cv_prog_cc_cross
17581 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17583 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17584 for ac_func in _fabsl
17586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17587 echo "configure:17588: checking for $ac_func" >&5
17588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17589 echo $ac_n "(cached) $ac_c" 1>&6
17591 cat > conftest.$ac_ext <<EOF
17592 #line 17593 "configure"
17593 #include "confdefs.h"
17594 /* System header to define __stub macros and hopefully few prototypes,
17595 which can conflict with char $ac_func(); below. */
17596 #include <assert.h>
17597 /* Override any gcc2 internal prototype to avoid an error. */
17598 /* We use char because int might match the return type of a gcc2
17599 builtin and then its argument prototype would still apply. */
17604 /* The GNU C library defines this for functions which it implements
17605 to always fail with ENOSYS. Some functions are actually named
17606 something starting with __ and the normal name is an alias. */
17607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17615 if { (eval echo configure:17616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17617 eval "ac_cv_func_$ac_func=yes"
17619 echo "configure: failed program was:" >&5
17620 cat conftest.$ac_ext >&5
17622 eval "ac_cv_func_$ac_func=no"
17627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17628 echo "$ac_t""yes" 1>&6
17629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17630 cat >> confdefs.h <<EOF
17631 #define $ac_tr_func 1
17635 echo "$ac_t""no" 1>&6
17644 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17645 echo "configure:17646: checking for fmodl declaration" >&5
17646 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17647 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17648 echo $ac_n "(cached) $ac_c" 1>&6
17653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17654 ac_cpp='$CXXCPP $CPPFLAGS'
17655 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17656 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17657 cross_compiling=$ac_cv_prog_cxx_cross
17659 cat > conftest.$ac_ext <<EOF
17660 #line 17661 "configure"
17661 #include "confdefs.h"
17667 if { (eval echo configure:17668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17669 glibcpp_cv_func_fmodl_use=yes
17671 echo "configure: failed program was:" >&5
17672 cat conftest.$ac_ext >&5
17674 glibcpp_cv_func_fmodl_use=no
17678 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17679 ac_cpp='$CPP $CPPFLAGS'
17680 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17681 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17682 cross_compiling=$ac_cv_prog_cc_cross
17688 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17690 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17691 for ac_func in fmodl
17693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17694 echo "configure:17695: checking for $ac_func" >&5
17695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17696 echo $ac_n "(cached) $ac_c" 1>&6
17698 cat > conftest.$ac_ext <<EOF
17699 #line 17700 "configure"
17700 #include "confdefs.h"
17701 /* System header to define __stub macros and hopefully few prototypes,
17702 which can conflict with char $ac_func(); below. */
17703 #include <assert.h>
17704 /* Override any gcc2 internal prototype to avoid an error. */
17705 /* We use char because int might match the return type of a gcc2
17706 builtin and then its argument prototype would still apply. */
17711 /* The GNU C library defines this for functions which it implements
17712 to always fail with ENOSYS. Some functions are actually named
17713 something starting with __ and the normal name is an alias. */
17714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17722 if { (eval echo configure:17723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17724 eval "ac_cv_func_$ac_func=yes"
17726 echo "configure: failed program was:" >&5
17727 cat conftest.$ac_ext >&5
17729 eval "ac_cv_func_$ac_func=no"
17734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17735 echo "$ac_t""yes" 1>&6
17736 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17737 cat >> confdefs.h <<EOF
17738 #define $ac_tr_func 1
17742 echo "$ac_t""no" 1>&6
17748 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17749 echo "configure:17750: checking for _fmodl declaration" >&5
17750 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17751 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17752 echo $ac_n "(cached) $ac_c" 1>&6
17757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17758 ac_cpp='$CXXCPP $CPPFLAGS'
17759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17761 cross_compiling=$ac_cv_prog_cxx_cross
17763 cat > conftest.$ac_ext <<EOF
17764 #line 17765 "configure"
17765 #include "confdefs.h"
17771 if { (eval echo configure:17772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17773 glibcpp_cv_func__fmodl_use=yes
17775 echo "configure: failed program was:" >&5
17776 cat conftest.$ac_ext >&5
17778 glibcpp_cv_func__fmodl_use=no
17782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17783 ac_cpp='$CPP $CPPFLAGS'
17784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17786 cross_compiling=$ac_cv_prog_cc_cross
17792 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17794 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17795 for ac_func in _fmodl
17797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17798 echo "configure:17799: checking for $ac_func" >&5
17799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17800 echo $ac_n "(cached) $ac_c" 1>&6
17802 cat > conftest.$ac_ext <<EOF
17803 #line 17804 "configure"
17804 #include "confdefs.h"
17805 /* System header to define __stub macros and hopefully few prototypes,
17806 which can conflict with char $ac_func(); below. */
17807 #include <assert.h>
17808 /* Override any gcc2 internal prototype to avoid an error. */
17809 /* We use char because int might match the return type of a gcc2
17810 builtin and then its argument prototype would still apply. */
17815 /* The GNU C library defines this for functions which it implements
17816 to always fail with ENOSYS. Some functions are actually named
17817 something starting with __ and the normal name is an alias. */
17818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17826 if { (eval echo configure:17827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17828 eval "ac_cv_func_$ac_func=yes"
17830 echo "configure: failed program was:" >&5
17831 cat conftest.$ac_ext >&5
17833 eval "ac_cv_func_$ac_func=no"
17838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17839 echo "$ac_t""yes" 1>&6
17840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17841 cat >> confdefs.h <<EOF
17842 #define $ac_tr_func 1
17846 echo "$ac_t""no" 1>&6
17855 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17856 echo "configure:17857: checking for frexpl declaration" >&5
17857 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17858 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17859 echo $ac_n "(cached) $ac_c" 1>&6
17864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17865 ac_cpp='$CXXCPP $CPPFLAGS'
17866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17868 cross_compiling=$ac_cv_prog_cxx_cross
17870 cat > conftest.$ac_ext <<EOF
17871 #line 17872 "configure"
17872 #include "confdefs.h"
17878 if { (eval echo configure:17879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17880 glibcpp_cv_func_frexpl_use=yes
17882 echo "configure: failed program was:" >&5
17883 cat conftest.$ac_ext >&5
17885 glibcpp_cv_func_frexpl_use=no
17889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17890 ac_cpp='$CPP $CPPFLAGS'
17891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17893 cross_compiling=$ac_cv_prog_cc_cross
17899 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17901 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17902 for ac_func in frexpl
17904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17905 echo "configure:17906: checking for $ac_func" >&5
17906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17907 echo $ac_n "(cached) $ac_c" 1>&6
17909 cat > conftest.$ac_ext <<EOF
17910 #line 17911 "configure"
17911 #include "confdefs.h"
17912 /* System header to define __stub macros and hopefully few prototypes,
17913 which can conflict with char $ac_func(); below. */
17914 #include <assert.h>
17915 /* Override any gcc2 internal prototype to avoid an error. */
17916 /* We use char because int might match the return type of a gcc2
17917 builtin and then its argument prototype would still apply. */
17922 /* The GNU C library defines this for functions which it implements
17923 to always fail with ENOSYS. Some functions are actually named
17924 something starting with __ and the normal name is an alias. */
17925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17933 if { (eval echo configure:17934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17935 eval "ac_cv_func_$ac_func=yes"
17937 echo "configure: failed program was:" >&5
17938 cat conftest.$ac_ext >&5
17940 eval "ac_cv_func_$ac_func=no"
17945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17946 echo "$ac_t""yes" 1>&6
17947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17948 cat >> confdefs.h <<EOF
17949 #define $ac_tr_func 1
17953 echo "$ac_t""no" 1>&6
17959 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17960 echo "configure:17961: checking for _frexpl declaration" >&5
17961 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17962 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17963 echo $ac_n "(cached) $ac_c" 1>&6
17968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17969 ac_cpp='$CXXCPP $CPPFLAGS'
17970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17972 cross_compiling=$ac_cv_prog_cxx_cross
17974 cat > conftest.$ac_ext <<EOF
17975 #line 17976 "configure"
17976 #include "confdefs.h"
17982 if { (eval echo configure:17983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17984 glibcpp_cv_func__frexpl_use=yes
17986 echo "configure: failed program was:" >&5
17987 cat conftest.$ac_ext >&5
17989 glibcpp_cv_func__frexpl_use=no
17993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17994 ac_cpp='$CPP $CPPFLAGS'
17995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17997 cross_compiling=$ac_cv_prog_cc_cross
18003 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18005 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18006 for ac_func in _frexpl
18008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18009 echo "configure:18010: checking for $ac_func" >&5
18010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18011 echo $ac_n "(cached) $ac_c" 1>&6
18013 cat > conftest.$ac_ext <<EOF
18014 #line 18015 "configure"
18015 #include "confdefs.h"
18016 /* System header to define __stub macros and hopefully few prototypes,
18017 which can conflict with char $ac_func(); below. */
18018 #include <assert.h>
18019 /* Override any gcc2 internal prototype to avoid an error. */
18020 /* We use char because int might match the return type of a gcc2
18021 builtin and then its argument prototype would still apply. */
18026 /* The GNU C library defines this for functions which it implements
18027 to always fail with ENOSYS. Some functions are actually named
18028 something starting with __ and the normal name is an alias. */
18029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18037 if { (eval echo configure:18038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18039 eval "ac_cv_func_$ac_func=yes"
18041 echo "configure: failed program was:" >&5
18042 cat conftest.$ac_ext >&5
18044 eval "ac_cv_func_$ac_func=no"
18049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18050 echo "$ac_t""yes" 1>&6
18051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18052 cat >> confdefs.h <<EOF
18053 #define $ac_tr_func 1
18057 echo "$ac_t""no" 1>&6
18066 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18067 echo "configure:18068: checking for hypotl declaration" >&5
18068 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18069 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18070 echo $ac_n "(cached) $ac_c" 1>&6
18075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18076 ac_cpp='$CXXCPP $CPPFLAGS'
18077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18079 cross_compiling=$ac_cv_prog_cxx_cross
18081 cat > conftest.$ac_ext <<EOF
18082 #line 18083 "configure"
18083 #include "confdefs.h"
18089 if { (eval echo configure:18090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18091 glibcpp_cv_func_hypotl_use=yes
18093 echo "configure: failed program was:" >&5
18094 cat conftest.$ac_ext >&5
18096 glibcpp_cv_func_hypotl_use=no
18100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18101 ac_cpp='$CPP $CPPFLAGS'
18102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18104 cross_compiling=$ac_cv_prog_cc_cross
18110 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18112 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18113 for ac_func in hypotl
18115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18116 echo "configure:18117: checking for $ac_func" >&5
18117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18118 echo $ac_n "(cached) $ac_c" 1>&6
18120 cat > conftest.$ac_ext <<EOF
18121 #line 18122 "configure"
18122 #include "confdefs.h"
18123 /* System header to define __stub macros and hopefully few prototypes,
18124 which can conflict with char $ac_func(); below. */
18125 #include <assert.h>
18126 /* Override any gcc2 internal prototype to avoid an error. */
18127 /* We use char because int might match the return type of a gcc2
18128 builtin and then its argument prototype would still apply. */
18133 /* The GNU C library defines this for functions which it implements
18134 to always fail with ENOSYS. Some functions are actually named
18135 something starting with __ and the normal name is an alias. */
18136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18144 if { (eval echo configure:18145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18146 eval "ac_cv_func_$ac_func=yes"
18148 echo "configure: failed program was:" >&5
18149 cat conftest.$ac_ext >&5
18151 eval "ac_cv_func_$ac_func=no"
18156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18157 echo "$ac_t""yes" 1>&6
18158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18159 cat >> confdefs.h <<EOF
18160 #define $ac_tr_func 1
18164 echo "$ac_t""no" 1>&6
18170 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18171 echo "configure:18172: checking for _hypotl declaration" >&5
18172 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18173 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18174 echo $ac_n "(cached) $ac_c" 1>&6
18179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18180 ac_cpp='$CXXCPP $CPPFLAGS'
18181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18183 cross_compiling=$ac_cv_prog_cxx_cross
18185 cat > conftest.$ac_ext <<EOF
18186 #line 18187 "configure"
18187 #include "confdefs.h"
18193 if { (eval echo configure:18194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18195 glibcpp_cv_func__hypotl_use=yes
18197 echo "configure: failed program was:" >&5
18198 cat conftest.$ac_ext >&5
18200 glibcpp_cv_func__hypotl_use=no
18204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18205 ac_cpp='$CPP $CPPFLAGS'
18206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18208 cross_compiling=$ac_cv_prog_cc_cross
18214 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18216 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18217 for ac_func in _hypotl
18219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18220 echo "configure:18221: checking for $ac_func" >&5
18221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18222 echo $ac_n "(cached) $ac_c" 1>&6
18224 cat > conftest.$ac_ext <<EOF
18225 #line 18226 "configure"
18226 #include "confdefs.h"
18227 /* System header to define __stub macros and hopefully few prototypes,
18228 which can conflict with char $ac_func(); below. */
18229 #include <assert.h>
18230 /* Override any gcc2 internal prototype to avoid an error. */
18231 /* We use char because int might match the return type of a gcc2
18232 builtin and then its argument prototype would still apply. */
18237 /* The GNU C library defines this for functions which it implements
18238 to always fail with ENOSYS. Some functions are actually named
18239 something starting with __ and the normal name is an alias. */
18240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18248 if { (eval echo configure:18249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18250 eval "ac_cv_func_$ac_func=yes"
18252 echo "configure: failed program was:" >&5
18253 cat conftest.$ac_ext >&5
18255 eval "ac_cv_func_$ac_func=no"
18260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18261 echo "$ac_t""yes" 1>&6
18262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18263 cat >> confdefs.h <<EOF
18264 #define $ac_tr_func 1
18268 echo "$ac_t""no" 1>&6
18277 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18278 echo "configure:18279: checking for ldexpl declaration" >&5
18279 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18280 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18281 echo $ac_n "(cached) $ac_c" 1>&6
18286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18287 ac_cpp='$CXXCPP $CPPFLAGS'
18288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18290 cross_compiling=$ac_cv_prog_cxx_cross
18292 cat > conftest.$ac_ext <<EOF
18293 #line 18294 "configure"
18294 #include "confdefs.h"
18300 if { (eval echo configure:18301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18302 glibcpp_cv_func_ldexpl_use=yes
18304 echo "configure: failed program was:" >&5
18305 cat conftest.$ac_ext >&5
18307 glibcpp_cv_func_ldexpl_use=no
18311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18312 ac_cpp='$CPP $CPPFLAGS'
18313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18315 cross_compiling=$ac_cv_prog_cc_cross
18321 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18323 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18324 for ac_func in ldexpl
18326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18327 echo "configure:18328: checking for $ac_func" >&5
18328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18329 echo $ac_n "(cached) $ac_c" 1>&6
18331 cat > conftest.$ac_ext <<EOF
18332 #line 18333 "configure"
18333 #include "confdefs.h"
18334 /* System header to define __stub macros and hopefully few prototypes,
18335 which can conflict with char $ac_func(); below. */
18336 #include <assert.h>
18337 /* Override any gcc2 internal prototype to avoid an error. */
18338 /* We use char because int might match the return type of a gcc2
18339 builtin and then its argument prototype would still apply. */
18344 /* The GNU C library defines this for functions which it implements
18345 to always fail with ENOSYS. Some functions are actually named
18346 something starting with __ and the normal name is an alias. */
18347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18355 if { (eval echo configure:18356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18357 eval "ac_cv_func_$ac_func=yes"
18359 echo "configure: failed program was:" >&5
18360 cat conftest.$ac_ext >&5
18362 eval "ac_cv_func_$ac_func=no"
18367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18368 echo "$ac_t""yes" 1>&6
18369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18370 cat >> confdefs.h <<EOF
18371 #define $ac_tr_func 1
18375 echo "$ac_t""no" 1>&6
18381 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18382 echo "configure:18383: checking for _ldexpl declaration" >&5
18383 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18384 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18385 echo $ac_n "(cached) $ac_c" 1>&6
18390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18394 cross_compiling=$ac_cv_prog_cxx_cross
18396 cat > conftest.$ac_ext <<EOF
18397 #line 18398 "configure"
18398 #include "confdefs.h"
18404 if { (eval echo configure:18405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18406 glibcpp_cv_func__ldexpl_use=yes
18408 echo "configure: failed program was:" >&5
18409 cat conftest.$ac_ext >&5
18411 glibcpp_cv_func__ldexpl_use=no
18415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18416 ac_cpp='$CPP $CPPFLAGS'
18417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18419 cross_compiling=$ac_cv_prog_cc_cross
18425 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18427 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18428 for ac_func in _ldexpl
18430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18431 echo "configure:18432: checking for $ac_func" >&5
18432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18433 echo $ac_n "(cached) $ac_c" 1>&6
18435 cat > conftest.$ac_ext <<EOF
18436 #line 18437 "configure"
18437 #include "confdefs.h"
18438 /* System header to define __stub macros and hopefully few prototypes,
18439 which can conflict with char $ac_func(); below. */
18440 #include <assert.h>
18441 /* Override any gcc2 internal prototype to avoid an error. */
18442 /* We use char because int might match the return type of a gcc2
18443 builtin and then its argument prototype would still apply. */
18448 /* The GNU C library defines this for functions which it implements
18449 to always fail with ENOSYS. Some functions are actually named
18450 something starting with __ and the normal name is an alias. */
18451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18459 if { (eval echo configure:18460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18461 eval "ac_cv_func_$ac_func=yes"
18463 echo "configure: failed program was:" >&5
18464 cat conftest.$ac_ext >&5
18466 eval "ac_cv_func_$ac_func=no"
18471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18472 echo "$ac_t""yes" 1>&6
18473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18474 cat >> confdefs.h <<EOF
18475 #define $ac_tr_func 1
18479 echo "$ac_t""no" 1>&6
18488 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18489 echo "configure:18490: checking for logl declaration" >&5
18490 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18491 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18492 echo $ac_n "(cached) $ac_c" 1>&6
18497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18498 ac_cpp='$CXXCPP $CPPFLAGS'
18499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18501 cross_compiling=$ac_cv_prog_cxx_cross
18503 cat > conftest.$ac_ext <<EOF
18504 #line 18505 "configure"
18505 #include "confdefs.h"
18507 #ifdef HAVE_IEEEFP_H
18508 #include <ieeefp.h>
18515 if { (eval echo configure:18516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18517 glibcpp_cv_func_logl_use=yes
18519 echo "configure: failed program was:" >&5
18520 cat conftest.$ac_ext >&5
18522 glibcpp_cv_func_logl_use=no
18526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18527 ac_cpp='$CPP $CPPFLAGS'
18528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18530 cross_compiling=$ac_cv_prog_cc_cross
18536 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18538 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18539 for ac_func in logl
18541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18542 echo "configure:18543: checking for $ac_func" >&5
18543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18544 echo $ac_n "(cached) $ac_c" 1>&6
18546 cat > conftest.$ac_ext <<EOF
18547 #line 18548 "configure"
18548 #include "confdefs.h"
18549 /* System header to define __stub macros and hopefully few prototypes,
18550 which can conflict with char $ac_func(); below. */
18551 #include <assert.h>
18552 /* Override any gcc2 internal prototype to avoid an error. */
18553 /* We use char because int might match the return type of a gcc2
18554 builtin and then its argument prototype would still apply. */
18559 /* The GNU C library defines this for functions which it implements
18560 to always fail with ENOSYS. Some functions are actually named
18561 something starting with __ and the normal name is an alias. */
18562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18570 if { (eval echo configure:18571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18572 eval "ac_cv_func_$ac_func=yes"
18574 echo "configure: failed program was:" >&5
18575 cat conftest.$ac_ext >&5
18577 eval "ac_cv_func_$ac_func=no"
18582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18583 echo "$ac_t""yes" 1>&6
18584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18585 cat >> confdefs.h <<EOF
18586 #define $ac_tr_func 1
18590 echo "$ac_t""no" 1>&6
18596 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18597 echo "configure:18598: checking for _logl declaration" >&5
18598 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18599 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18600 echo $ac_n "(cached) $ac_c" 1>&6
18605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18606 ac_cpp='$CXXCPP $CPPFLAGS'
18607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18609 cross_compiling=$ac_cv_prog_cxx_cross
18611 cat > conftest.$ac_ext <<EOF
18612 #line 18613 "configure"
18613 #include "confdefs.h"
18615 #ifdef HAVE_IEEEFP_H
18616 #include <ieeefp.h>
18623 if { (eval echo configure:18624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18625 glibcpp_cv_func__logl_use=yes
18627 echo "configure: failed program was:" >&5
18628 cat conftest.$ac_ext >&5
18630 glibcpp_cv_func__logl_use=no
18634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18635 ac_cpp='$CPP $CPPFLAGS'
18636 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18637 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18638 cross_compiling=$ac_cv_prog_cc_cross
18644 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18646 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18647 for ac_func in _logl
18649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18650 echo "configure:18651: checking for $ac_func" >&5
18651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18652 echo $ac_n "(cached) $ac_c" 1>&6
18654 cat > conftest.$ac_ext <<EOF
18655 #line 18656 "configure"
18656 #include "confdefs.h"
18657 /* System header to define __stub macros and hopefully few prototypes,
18658 which can conflict with char $ac_func(); below. */
18659 #include <assert.h>
18660 /* Override any gcc2 internal prototype to avoid an error. */
18661 /* We use char because int might match the return type of a gcc2
18662 builtin and then its argument prototype would still apply. */
18667 /* The GNU C library defines this for functions which it implements
18668 to always fail with ENOSYS. Some functions are actually named
18669 something starting with __ and the normal name is an alias. */
18670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18678 if { (eval echo configure:18679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18680 eval "ac_cv_func_$ac_func=yes"
18682 echo "configure: failed program was:" >&5
18683 cat conftest.$ac_ext >&5
18685 eval "ac_cv_func_$ac_func=no"
18690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18691 echo "$ac_t""yes" 1>&6
18692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18693 cat >> confdefs.h <<EOF
18694 #define $ac_tr_func 1
18698 echo "$ac_t""no" 1>&6
18707 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18708 echo "configure:18709: checking for log10l declaration" >&5
18709 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18710 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18711 echo $ac_n "(cached) $ac_c" 1>&6
18716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18717 ac_cpp='$CXXCPP $CPPFLAGS'
18718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18720 cross_compiling=$ac_cv_prog_cxx_cross
18722 cat > conftest.$ac_ext <<EOF
18723 #line 18724 "configure"
18724 #include "confdefs.h"
18726 #ifdef HAVE_IEEEFP_H
18727 #include <ieeefp.h>
18734 if { (eval echo configure:18735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18736 glibcpp_cv_func_log10l_use=yes
18738 echo "configure: failed program was:" >&5
18739 cat conftest.$ac_ext >&5
18741 glibcpp_cv_func_log10l_use=no
18745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18746 ac_cpp='$CPP $CPPFLAGS'
18747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18749 cross_compiling=$ac_cv_prog_cc_cross
18755 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18757 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18758 for ac_func in log10l
18760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18761 echo "configure:18762: checking for $ac_func" >&5
18762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18763 echo $ac_n "(cached) $ac_c" 1>&6
18765 cat > conftest.$ac_ext <<EOF
18766 #line 18767 "configure"
18767 #include "confdefs.h"
18768 /* System header to define __stub macros and hopefully few prototypes,
18769 which can conflict with char $ac_func(); below. */
18770 #include <assert.h>
18771 /* Override any gcc2 internal prototype to avoid an error. */
18772 /* We use char because int might match the return type of a gcc2
18773 builtin and then its argument prototype would still apply. */
18778 /* The GNU C library defines this for functions which it implements
18779 to always fail with ENOSYS. Some functions are actually named
18780 something starting with __ and the normal name is an alias. */
18781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18789 if { (eval echo configure:18790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18791 eval "ac_cv_func_$ac_func=yes"
18793 echo "configure: failed program was:" >&5
18794 cat conftest.$ac_ext >&5
18796 eval "ac_cv_func_$ac_func=no"
18801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18802 echo "$ac_t""yes" 1>&6
18803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18804 cat >> confdefs.h <<EOF
18805 #define $ac_tr_func 1
18809 echo "$ac_t""no" 1>&6
18815 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18816 echo "configure:18817: checking for _log10l declaration" >&5
18817 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18818 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18819 echo $ac_n "(cached) $ac_c" 1>&6
18824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18825 ac_cpp='$CXXCPP $CPPFLAGS'
18826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18828 cross_compiling=$ac_cv_prog_cxx_cross
18830 cat > conftest.$ac_ext <<EOF
18831 #line 18832 "configure"
18832 #include "confdefs.h"
18834 #ifdef HAVE_IEEEFP_H
18835 #include <ieeefp.h>
18842 if { (eval echo configure:18843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18844 glibcpp_cv_func__log10l_use=yes
18846 echo "configure: failed program was:" >&5
18847 cat conftest.$ac_ext >&5
18849 glibcpp_cv_func__log10l_use=no
18853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18854 ac_cpp='$CPP $CPPFLAGS'
18855 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18856 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18857 cross_compiling=$ac_cv_prog_cc_cross
18863 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18865 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18866 for ac_func in _log10l
18868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18869 echo "configure:18870: checking for $ac_func" >&5
18870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18871 echo $ac_n "(cached) $ac_c" 1>&6
18873 cat > conftest.$ac_ext <<EOF
18874 #line 18875 "configure"
18875 #include "confdefs.h"
18876 /* System header to define __stub macros and hopefully few prototypes,
18877 which can conflict with char $ac_func(); below. */
18878 #include <assert.h>
18879 /* Override any gcc2 internal prototype to avoid an error. */
18880 /* We use char because int might match the return type of a gcc2
18881 builtin and then its argument prototype would still apply. */
18886 /* The GNU C library defines this for functions which it implements
18887 to always fail with ENOSYS. Some functions are actually named
18888 something starting with __ and the normal name is an alias. */
18889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18897 if { (eval echo configure:18898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18899 eval "ac_cv_func_$ac_func=yes"
18901 echo "configure: failed program was:" >&5
18902 cat conftest.$ac_ext >&5
18904 eval "ac_cv_func_$ac_func=no"
18909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18910 echo "$ac_t""yes" 1>&6
18911 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18912 cat >> confdefs.h <<EOF
18913 #define $ac_tr_func 1
18917 echo "$ac_t""no" 1>&6
18926 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18927 echo "configure:18928: checking for modfl declaration" >&5
18928 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18929 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18930 echo $ac_n "(cached) $ac_c" 1>&6
18935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18936 ac_cpp='$CXXCPP $CPPFLAGS'
18937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18939 cross_compiling=$ac_cv_prog_cxx_cross
18941 cat > conftest.$ac_ext <<EOF
18942 #line 18943 "configure"
18943 #include "confdefs.h"
18949 if { (eval echo configure:18950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18951 glibcpp_cv_func_modfl_use=yes
18953 echo "configure: failed program was:" >&5
18954 cat conftest.$ac_ext >&5
18956 glibcpp_cv_func_modfl_use=no
18960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18961 ac_cpp='$CPP $CPPFLAGS'
18962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18964 cross_compiling=$ac_cv_prog_cc_cross
18970 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18972 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18973 for ac_func in modfl
18975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18976 echo "configure:18977: checking for $ac_func" >&5
18977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18978 echo $ac_n "(cached) $ac_c" 1>&6
18980 cat > conftest.$ac_ext <<EOF
18981 #line 18982 "configure"
18982 #include "confdefs.h"
18983 /* System header to define __stub macros and hopefully few prototypes,
18984 which can conflict with char $ac_func(); below. */
18985 #include <assert.h>
18986 /* Override any gcc2 internal prototype to avoid an error. */
18987 /* We use char because int might match the return type of a gcc2
18988 builtin and then its argument prototype would still apply. */
18993 /* The GNU C library defines this for functions which it implements
18994 to always fail with ENOSYS. Some functions are actually named
18995 something starting with __ and the normal name is an alias. */
18996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19004 if { (eval echo configure:19005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19006 eval "ac_cv_func_$ac_func=yes"
19008 echo "configure: failed program was:" >&5
19009 cat conftest.$ac_ext >&5
19011 eval "ac_cv_func_$ac_func=no"
19016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19017 echo "$ac_t""yes" 1>&6
19018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19019 cat >> confdefs.h <<EOF
19020 #define $ac_tr_func 1
19024 echo "$ac_t""no" 1>&6
19030 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
19031 echo "configure:19032: checking for _modfl declaration" >&5
19032 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19033 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19034 echo $ac_n "(cached) $ac_c" 1>&6
19039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19040 ac_cpp='$CXXCPP $CPPFLAGS'
19041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19043 cross_compiling=$ac_cv_prog_cxx_cross
19045 cat > conftest.$ac_ext <<EOF
19046 #line 19047 "configure"
19047 #include "confdefs.h"
19053 if { (eval echo configure:19054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19055 glibcpp_cv_func__modfl_use=yes
19057 echo "configure: failed program was:" >&5
19058 cat conftest.$ac_ext >&5
19060 glibcpp_cv_func__modfl_use=no
19064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19065 ac_cpp='$CPP $CPPFLAGS'
19066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19068 cross_compiling=$ac_cv_prog_cc_cross
19074 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19076 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19077 for ac_func in _modfl
19079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19080 echo "configure:19081: checking for $ac_func" >&5
19081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19082 echo $ac_n "(cached) $ac_c" 1>&6
19084 cat > conftest.$ac_ext <<EOF
19085 #line 19086 "configure"
19086 #include "confdefs.h"
19087 /* System header to define __stub macros and hopefully few prototypes,
19088 which can conflict with char $ac_func(); below. */
19089 #include <assert.h>
19090 /* Override any gcc2 internal prototype to avoid an error. */
19091 /* We use char because int might match the return type of a gcc2
19092 builtin and then its argument prototype would still apply. */
19097 /* The GNU C library defines this for functions which it implements
19098 to always fail with ENOSYS. Some functions are actually named
19099 something starting with __ and the normal name is an alias. */
19100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19108 if { (eval echo configure:19109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19110 eval "ac_cv_func_$ac_func=yes"
19112 echo "configure: failed program was:" >&5
19113 cat conftest.$ac_ext >&5
19115 eval "ac_cv_func_$ac_func=no"
19120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19121 echo "$ac_t""yes" 1>&6
19122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19123 cat >> confdefs.h <<EOF
19124 #define $ac_tr_func 1
19128 echo "$ac_t""no" 1>&6
19137 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19138 echo "configure:19139: checking for powl declaration" >&5
19139 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19140 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19141 echo $ac_n "(cached) $ac_c" 1>&6
19146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19147 ac_cpp='$CXXCPP $CPPFLAGS'
19148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19150 cross_compiling=$ac_cv_prog_cxx_cross
19152 cat > conftest.$ac_ext <<EOF
19153 #line 19154 "configure"
19154 #include "confdefs.h"
19160 if { (eval echo configure:19161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19162 glibcpp_cv_func_powl_use=yes
19164 echo "configure: failed program was:" >&5
19165 cat conftest.$ac_ext >&5
19167 glibcpp_cv_func_powl_use=no
19171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19172 ac_cpp='$CPP $CPPFLAGS'
19173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19175 cross_compiling=$ac_cv_prog_cc_cross
19181 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19183 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19184 for ac_func in powl
19186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19187 echo "configure:19188: checking for $ac_func" >&5
19188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19189 echo $ac_n "(cached) $ac_c" 1>&6
19191 cat > conftest.$ac_ext <<EOF
19192 #line 19193 "configure"
19193 #include "confdefs.h"
19194 /* System header to define __stub macros and hopefully few prototypes,
19195 which can conflict with char $ac_func(); below. */
19196 #include <assert.h>
19197 /* Override any gcc2 internal prototype to avoid an error. */
19198 /* We use char because int might match the return type of a gcc2
19199 builtin and then its argument prototype would still apply. */
19204 /* The GNU C library defines this for functions which it implements
19205 to always fail with ENOSYS. Some functions are actually named
19206 something starting with __ and the normal name is an alias. */
19207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19215 if { (eval echo configure:19216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19217 eval "ac_cv_func_$ac_func=yes"
19219 echo "configure: failed program was:" >&5
19220 cat conftest.$ac_ext >&5
19222 eval "ac_cv_func_$ac_func=no"
19227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19228 echo "$ac_t""yes" 1>&6
19229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19230 cat >> confdefs.h <<EOF
19231 #define $ac_tr_func 1
19235 echo "$ac_t""no" 1>&6
19241 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19242 echo "configure:19243: checking for _powl declaration" >&5
19243 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19244 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19245 echo $ac_n "(cached) $ac_c" 1>&6
19250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19254 cross_compiling=$ac_cv_prog_cxx_cross
19256 cat > conftest.$ac_ext <<EOF
19257 #line 19258 "configure"
19258 #include "confdefs.h"
19264 if { (eval echo configure:19265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19266 glibcpp_cv_func__powl_use=yes
19268 echo "configure: failed program was:" >&5
19269 cat conftest.$ac_ext >&5
19271 glibcpp_cv_func__powl_use=no
19275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19276 ac_cpp='$CPP $CPPFLAGS'
19277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19279 cross_compiling=$ac_cv_prog_cc_cross
19285 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19287 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19288 for ac_func in _powl
19290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19291 echo "configure:19292: checking for $ac_func" >&5
19292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19293 echo $ac_n "(cached) $ac_c" 1>&6
19295 cat > conftest.$ac_ext <<EOF
19296 #line 19297 "configure"
19297 #include "confdefs.h"
19298 /* System header to define __stub macros and hopefully few prototypes,
19299 which can conflict with char $ac_func(); below. */
19300 #include <assert.h>
19301 /* Override any gcc2 internal prototype to avoid an error. */
19302 /* We use char because int might match the return type of a gcc2
19303 builtin and then its argument prototype would still apply. */
19308 /* The GNU C library defines this for functions which it implements
19309 to always fail with ENOSYS. Some functions are actually named
19310 something starting with __ and the normal name is an alias. */
19311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19319 if { (eval echo configure:19320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19321 eval "ac_cv_func_$ac_func=yes"
19323 echo "configure: failed program was:" >&5
19324 cat conftest.$ac_ext >&5
19326 eval "ac_cv_func_$ac_func=no"
19331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19332 echo "$ac_t""yes" 1>&6
19333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19334 cat >> confdefs.h <<EOF
19335 #define $ac_tr_func 1
19339 echo "$ac_t""no" 1>&6
19348 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19349 echo "configure:19350: checking for sqrtl declaration" >&5
19350 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19351 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19352 echo $ac_n "(cached) $ac_c" 1>&6
19357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19358 ac_cpp='$CXXCPP $CPPFLAGS'
19359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19361 cross_compiling=$ac_cv_prog_cxx_cross
19363 cat > conftest.$ac_ext <<EOF
19364 #line 19365 "configure"
19365 #include "confdefs.h"
19367 #ifdef HAVE_IEEEFP_H
19368 #include <ieeefp.h>
19375 if { (eval echo configure:19376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19377 glibcpp_cv_func_sqrtl_use=yes
19379 echo "configure: failed program was:" >&5
19380 cat conftest.$ac_ext >&5
19382 glibcpp_cv_func_sqrtl_use=no
19386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19387 ac_cpp='$CPP $CPPFLAGS'
19388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19390 cross_compiling=$ac_cv_prog_cc_cross
19396 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19398 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19399 for ac_func in sqrtl
19401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19402 echo "configure:19403: checking for $ac_func" >&5
19403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19404 echo $ac_n "(cached) $ac_c" 1>&6
19406 cat > conftest.$ac_ext <<EOF
19407 #line 19408 "configure"
19408 #include "confdefs.h"
19409 /* System header to define __stub macros and hopefully few prototypes,
19410 which can conflict with char $ac_func(); below. */
19411 #include <assert.h>
19412 /* Override any gcc2 internal prototype to avoid an error. */
19413 /* We use char because int might match the return type of a gcc2
19414 builtin and then its argument prototype would still apply. */
19419 /* The GNU C library defines this for functions which it implements
19420 to always fail with ENOSYS. Some functions are actually named
19421 something starting with __ and the normal name is an alias. */
19422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19430 if { (eval echo configure:19431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19432 eval "ac_cv_func_$ac_func=yes"
19434 echo "configure: failed program was:" >&5
19435 cat conftest.$ac_ext >&5
19437 eval "ac_cv_func_$ac_func=no"
19442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19443 echo "$ac_t""yes" 1>&6
19444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19445 cat >> confdefs.h <<EOF
19446 #define $ac_tr_func 1
19450 echo "$ac_t""no" 1>&6
19456 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19457 echo "configure:19458: checking for _sqrtl declaration" >&5
19458 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19459 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19460 echo $ac_n "(cached) $ac_c" 1>&6
19465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19466 ac_cpp='$CXXCPP $CPPFLAGS'
19467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19469 cross_compiling=$ac_cv_prog_cxx_cross
19471 cat > conftest.$ac_ext <<EOF
19472 #line 19473 "configure"
19473 #include "confdefs.h"
19475 #ifdef HAVE_IEEEFP_H
19476 #include <ieeefp.h>
19483 if { (eval echo configure:19484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19485 glibcpp_cv_func__sqrtl_use=yes
19487 echo "configure: failed program was:" >&5
19488 cat conftest.$ac_ext >&5
19490 glibcpp_cv_func__sqrtl_use=no
19494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19495 ac_cpp='$CPP $CPPFLAGS'
19496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19498 cross_compiling=$ac_cv_prog_cc_cross
19504 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19506 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19507 for ac_func in _sqrtl
19509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19510 echo "configure:19511: checking for $ac_func" >&5
19511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19512 echo $ac_n "(cached) $ac_c" 1>&6
19514 cat > conftest.$ac_ext <<EOF
19515 #line 19516 "configure"
19516 #include "confdefs.h"
19517 /* System header to define __stub macros and hopefully few prototypes,
19518 which can conflict with char $ac_func(); below. */
19519 #include <assert.h>
19520 /* Override any gcc2 internal prototype to avoid an error. */
19521 /* We use char because int might match the return type of a gcc2
19522 builtin and then its argument prototype would still apply. */
19527 /* The GNU C library defines this for functions which it implements
19528 to always fail with ENOSYS. Some functions are actually named
19529 something starting with __ and the normal name is an alias. */
19530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19538 if { (eval echo configure:19539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19540 eval "ac_cv_func_$ac_func=yes"
19542 echo "configure: failed program was:" >&5
19543 cat conftest.$ac_ext >&5
19545 eval "ac_cv_func_$ac_func=no"
19550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19551 echo "$ac_t""yes" 1>&6
19552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19553 cat >> confdefs.h <<EOF
19554 #define $ac_tr_func 1
19558 echo "$ac_t""no" 1>&6
19567 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19568 echo "configure:19569: checking for sincosl declaration" >&5
19569 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19570 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19571 echo $ac_n "(cached) $ac_c" 1>&6
19576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19577 ac_cpp='$CXXCPP $CPPFLAGS'
19578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19580 cross_compiling=$ac_cv_prog_cxx_cross
19582 cat > conftest.$ac_ext <<EOF
19583 #line 19584 "configure"
19584 #include "confdefs.h"
19590 if { (eval echo configure:19591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19592 glibcpp_cv_func_sincosl_use=yes
19594 echo "configure: failed program was:" >&5
19595 cat conftest.$ac_ext >&5
19597 glibcpp_cv_func_sincosl_use=no
19601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19602 ac_cpp='$CPP $CPPFLAGS'
19603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19605 cross_compiling=$ac_cv_prog_cc_cross
19611 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19613 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19614 for ac_func in sincosl
19616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19617 echo "configure:19618: checking for $ac_func" >&5
19618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19619 echo $ac_n "(cached) $ac_c" 1>&6
19621 cat > conftest.$ac_ext <<EOF
19622 #line 19623 "configure"
19623 #include "confdefs.h"
19624 /* System header to define __stub macros and hopefully few prototypes,
19625 which can conflict with char $ac_func(); below. */
19626 #include <assert.h>
19627 /* Override any gcc2 internal prototype to avoid an error. */
19628 /* We use char because int might match the return type of a gcc2
19629 builtin and then its argument prototype would still apply. */
19634 /* The GNU C library defines this for functions which it implements
19635 to always fail with ENOSYS. Some functions are actually named
19636 something starting with __ and the normal name is an alias. */
19637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19645 if { (eval echo configure:19646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19647 eval "ac_cv_func_$ac_func=yes"
19649 echo "configure: failed program was:" >&5
19650 cat conftest.$ac_ext >&5
19652 eval "ac_cv_func_$ac_func=no"
19657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19658 echo "$ac_t""yes" 1>&6
19659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19660 cat >> confdefs.h <<EOF
19661 #define $ac_tr_func 1
19665 echo "$ac_t""no" 1>&6
19671 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19672 echo "configure:19673: checking for _sincosl declaration" >&5
19673 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19674 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19675 echo $ac_n "(cached) $ac_c" 1>&6
19680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19681 ac_cpp='$CXXCPP $CPPFLAGS'
19682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19684 cross_compiling=$ac_cv_prog_cxx_cross
19686 cat > conftest.$ac_ext <<EOF
19687 #line 19688 "configure"
19688 #include "confdefs.h"
19694 if { (eval echo configure:19695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19696 glibcpp_cv_func__sincosl_use=yes
19698 echo "configure: failed program was:" >&5
19699 cat conftest.$ac_ext >&5
19701 glibcpp_cv_func__sincosl_use=no
19705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19706 ac_cpp='$CPP $CPPFLAGS'
19707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19709 cross_compiling=$ac_cv_prog_cc_cross
19715 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19717 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19718 for ac_func in _sincosl
19720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19721 echo "configure:19722: checking for $ac_func" >&5
19722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19723 echo $ac_n "(cached) $ac_c" 1>&6
19725 cat > conftest.$ac_ext <<EOF
19726 #line 19727 "configure"
19727 #include "confdefs.h"
19728 /* System header to define __stub macros and hopefully few prototypes,
19729 which can conflict with char $ac_func(); below. */
19730 #include <assert.h>
19731 /* Override any gcc2 internal prototype to avoid an error. */
19732 /* We use char because int might match the return type of a gcc2
19733 builtin and then its argument prototype would still apply. */
19738 /* The GNU C library defines this for functions which it implements
19739 to always fail with ENOSYS. Some functions are actually named
19740 something starting with __ and the normal name is an alias. */
19741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19749 if { (eval echo configure:19750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19751 eval "ac_cv_func_$ac_func=yes"
19753 echo "configure: failed program was:" >&5
19754 cat conftest.$ac_ext >&5
19756 eval "ac_cv_func_$ac_func=no"
19761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19762 echo "$ac_t""yes" 1>&6
19763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19764 cat >> confdefs.h <<EOF
19765 #define $ac_tr_func 1
19769 echo "$ac_t""no" 1>&6
19778 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19779 echo "configure:19780: checking for finitel declaration" >&5
19780 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19781 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19782 echo $ac_n "(cached) $ac_c" 1>&6
19787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19791 cross_compiling=$ac_cv_prog_cxx_cross
19793 cat > conftest.$ac_ext <<EOF
19794 #line 19795 "configure"
19795 #include "confdefs.h"
19797 #ifdef HAVE_IEEEFP_H
19798 #include <ieeefp.h>
19805 if { (eval echo configure:19806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19807 glibcpp_cv_func_finitel_use=yes
19809 echo "configure: failed program was:" >&5
19810 cat conftest.$ac_ext >&5
19812 glibcpp_cv_func_finitel_use=no
19816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19817 ac_cpp='$CPP $CPPFLAGS'
19818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19820 cross_compiling=$ac_cv_prog_cc_cross
19826 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19828 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19829 for ac_func in finitel
19831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19832 echo "configure:19833: checking for $ac_func" >&5
19833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19834 echo $ac_n "(cached) $ac_c" 1>&6
19836 cat > conftest.$ac_ext <<EOF
19837 #line 19838 "configure"
19838 #include "confdefs.h"
19839 /* System header to define __stub macros and hopefully few prototypes,
19840 which can conflict with char $ac_func(); below. */
19841 #include <assert.h>
19842 /* Override any gcc2 internal prototype to avoid an error. */
19843 /* We use char because int might match the return type of a gcc2
19844 builtin and then its argument prototype would still apply. */
19849 /* The GNU C library defines this for functions which it implements
19850 to always fail with ENOSYS. Some functions are actually named
19851 something starting with __ and the normal name is an alias. */
19852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19860 if { (eval echo configure:19861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19862 eval "ac_cv_func_$ac_func=yes"
19864 echo "configure: failed program was:" >&5
19865 cat conftest.$ac_ext >&5
19867 eval "ac_cv_func_$ac_func=no"
19872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19873 echo "$ac_t""yes" 1>&6
19874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19875 cat >> confdefs.h <<EOF
19876 #define $ac_tr_func 1
19880 echo "$ac_t""no" 1>&6
19886 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19887 echo "configure:19888: checking for _finitel declaration" >&5
19888 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19889 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19890 echo $ac_n "(cached) $ac_c" 1>&6
19895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19896 ac_cpp='$CXXCPP $CPPFLAGS'
19897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19899 cross_compiling=$ac_cv_prog_cxx_cross
19901 cat > conftest.$ac_ext <<EOF
19902 #line 19903 "configure"
19903 #include "confdefs.h"
19905 #ifdef HAVE_IEEEFP_H
19906 #include <ieeefp.h>
19913 if { (eval echo configure:19914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19915 glibcpp_cv_func__finitel_use=yes
19917 echo "configure: failed program was:" >&5
19918 cat conftest.$ac_ext >&5
19920 glibcpp_cv_func__finitel_use=no
19924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19925 ac_cpp='$CPP $CPPFLAGS'
19926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19928 cross_compiling=$ac_cv_prog_cc_cross
19934 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19936 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19937 for ac_func in _finitel
19939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19940 echo "configure:19941: checking for $ac_func" >&5
19941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19942 echo $ac_n "(cached) $ac_c" 1>&6
19944 cat > conftest.$ac_ext <<EOF
19945 #line 19946 "configure"
19946 #include "confdefs.h"
19947 /* System header to define __stub macros and hopefully few prototypes,
19948 which can conflict with char $ac_func(); below. */
19949 #include <assert.h>
19950 /* Override any gcc2 internal prototype to avoid an error. */
19951 /* We use char because int might match the return type of a gcc2
19952 builtin and then its argument prototype would still apply. */
19957 /* The GNU C library defines this for functions which it implements
19958 to always fail with ENOSYS. Some functions are actually named
19959 something starting with __ and the normal name is an alias. */
19960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19968 if { (eval echo configure:19969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19970 eval "ac_cv_func_$ac_func=yes"
19972 echo "configure: failed program was:" >&5
19973 cat conftest.$ac_ext >&5
19975 eval "ac_cv_func_$ac_func=no"
19980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19981 echo "$ac_t""yes" 1>&6
19982 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19983 cat >> confdefs.h <<EOF
19984 #define $ac_tr_func 1
19988 echo "$ac_t""no" 1>&6
19998 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19999 echo "configure:20000: checking for _float trig functions" >&5
20000 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20001 echo $ac_n "(cached) $ac_c" 1>&6
20006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20007 ac_cpp='$CXXCPP $CPPFLAGS'
20008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20010 cross_compiling=$ac_cv_prog_cxx_cross
20012 cat > conftest.$ac_ext <<EOF
20013 #line 20014 "configure"
20014 #include "confdefs.h"
20017 `for x in _acosf _asinf _atanf \
20018 _cosf _sinf _tanf \
20019 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20022 if { (eval echo configure:20023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20024 glibcpp_cv_func__float_trig_use=yes
20026 echo "configure: failed program was:" >&5
20027 cat conftest.$ac_ext >&5
20029 glibcpp_cv_func__float_trig_use=no
20033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20034 ac_cpp='$CPP $CPPFLAGS'
20035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20037 cross_compiling=$ac_cv_prog_cc_cross
20041 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20042 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20043 for ac_func in _acosf _asinf _atanf \
20044 _cosf _sinf _tanf \
20045 _coshf _sinhf _tanhf
20047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20048 echo "configure:20049: checking for $ac_func" >&5
20049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20050 echo $ac_n "(cached) $ac_c" 1>&6
20052 cat > conftest.$ac_ext <<EOF
20053 #line 20054 "configure"
20054 #include "confdefs.h"
20055 /* System header to define __stub macros and hopefully few prototypes,
20056 which can conflict with char $ac_func(); below. */
20057 #include <assert.h>
20058 /* Override any gcc2 internal prototype to avoid an error. */
20059 /* We use char because int might match the return type of a gcc2
20060 builtin and then its argument prototype would still apply. */
20065 /* The GNU C library defines this for functions which it implements
20066 to always fail with ENOSYS. Some functions are actually named
20067 something starting with __ and the normal name is an alias. */
20068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20076 if { (eval echo configure:20077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20078 eval "ac_cv_func_$ac_func=yes"
20080 echo "configure: failed program was:" >&5
20081 cat conftest.$ac_ext >&5
20083 eval "ac_cv_func_$ac_func=no"
20088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20089 echo "$ac_t""yes" 1>&6
20090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20091 cat >> confdefs.h <<EOF
20092 #define $ac_tr_func 1
20096 echo "$ac_t""no" 1>&6
20103 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20104 echo "configure:20105: checking for _float round functions" >&5
20105 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20106 echo $ac_n "(cached) $ac_c" 1>&6
20111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20112 ac_cpp='$CXXCPP $CPPFLAGS'
20113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20115 cross_compiling=$ac_cv_prog_cxx_cross
20117 cat > conftest.$ac_ext <<EOF
20118 #line 20119 "configure"
20119 #include "confdefs.h"
20122 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20125 if { (eval echo configure:20126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20127 glibcpp_cv_func__float_round_use=yes
20129 echo "configure: failed program was:" >&5
20130 cat conftest.$ac_ext >&5
20132 glibcpp_cv_func__float_round_use=no
20136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20137 ac_cpp='$CPP $CPPFLAGS'
20138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20140 cross_compiling=$ac_cv_prog_cc_cross
20144 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20145 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20146 for ac_func in _ceilf _floorf
20148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20149 echo "configure:20150: checking for $ac_func" >&5
20150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20151 echo $ac_n "(cached) $ac_c" 1>&6
20153 cat > conftest.$ac_ext <<EOF
20154 #line 20155 "configure"
20155 #include "confdefs.h"
20156 /* System header to define __stub macros and hopefully few prototypes,
20157 which can conflict with char $ac_func(); below. */
20158 #include <assert.h>
20159 /* Override any gcc2 internal prototype to avoid an error. */
20160 /* We use char because int might match the return type of a gcc2
20161 builtin and then its argument prototype would still apply. */
20166 /* The GNU C library defines this for functions which it implements
20167 to always fail with ENOSYS. Some functions are actually named
20168 something starting with __ and the normal name is an alias. */
20169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20177 if { (eval echo configure:20178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20179 eval "ac_cv_func_$ac_func=yes"
20181 echo "configure: failed program was:" >&5
20182 cat conftest.$ac_ext >&5
20184 eval "ac_cv_func_$ac_func=no"
20189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20190 echo "$ac_t""yes" 1>&6
20191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20192 cat >> confdefs.h <<EOF
20193 #define $ac_tr_func 1
20197 echo "$ac_t""no" 1>&6
20205 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20206 echo "configure:20207: checking for _long double trig functions" >&5
20207 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20208 echo $ac_n "(cached) $ac_c" 1>&6
20213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20214 ac_cpp='$CXXCPP $CPPFLAGS'
20215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20217 cross_compiling=$ac_cv_prog_cxx_cross
20219 cat > conftest.$ac_ext <<EOF
20220 #line 20221 "configure"
20221 #include "confdefs.h"
20224 `for x in _acosl _asinl _atanl \
20225 _cosl _sinl _tanl \
20226 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20229 if { (eval echo configure:20230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20231 glibcpp_cv_func__long_double_trig_use=yes
20233 echo "configure: failed program was:" >&5
20234 cat conftest.$ac_ext >&5
20236 glibcpp_cv_func__long_double_trig_use=no
20240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20241 ac_cpp='$CPP $CPPFLAGS'
20242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20244 cross_compiling=$ac_cv_prog_cc_cross
20248 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20249 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20250 for ac_func in _acosl _asinl _atanl \
20251 _cosl _sinl _tanl \
20252 _coshl _sinhl _tanhl
20254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20255 echo "configure:20256: checking for $ac_func" >&5
20256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20257 echo $ac_n "(cached) $ac_c" 1>&6
20259 cat > conftest.$ac_ext <<EOF
20260 #line 20261 "configure"
20261 #include "confdefs.h"
20262 /* System header to define __stub macros and hopefully few prototypes,
20263 which can conflict with char $ac_func(); below. */
20264 #include <assert.h>
20265 /* Override any gcc2 internal prototype to avoid an error. */
20266 /* We use char because int might match the return type of a gcc2
20267 builtin and then its argument prototype would still apply. */
20272 /* The GNU C library defines this for functions which it implements
20273 to always fail with ENOSYS. Some functions are actually named
20274 something starting with __ and the normal name is an alias. */
20275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20283 if { (eval echo configure:20284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20285 eval "ac_cv_func_$ac_func=yes"
20287 echo "configure: failed program was:" >&5
20288 cat conftest.$ac_ext >&5
20290 eval "ac_cv_func_$ac_func=no"
20295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20296 echo "$ac_t""yes" 1>&6
20297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20298 cat >> confdefs.h <<EOF
20299 #define $ac_tr_func 1
20303 echo "$ac_t""no" 1>&6
20310 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20311 echo "configure:20312: checking for _long double round functions" >&5
20312 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20313 echo $ac_n "(cached) $ac_c" 1>&6
20318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20319 ac_cpp='$CXXCPP $CPPFLAGS'
20320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20322 cross_compiling=$ac_cv_prog_cxx_cross
20324 cat > conftest.$ac_ext <<EOF
20325 #line 20326 "configure"
20326 #include "confdefs.h"
20329 `for x in _ceill _floorl; do echo "$x (0);"; done`
20332 if { (eval echo configure:20333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20334 glibcpp_cv_func__long_double_round_use=yes
20336 echo "configure: failed program was:" >&5
20337 cat conftest.$ac_ext >&5
20339 glibcpp_cv_func__long_double_round_use=no
20343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20344 ac_cpp='$CPP $CPPFLAGS'
20345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20347 cross_compiling=$ac_cv_prog_cc_cross
20351 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20352 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20353 for ac_func in _ceill _floorl
20355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20356 echo "configure:20357: checking for $ac_func" >&5
20357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20358 echo $ac_n "(cached) $ac_c" 1>&6
20360 cat > conftest.$ac_ext <<EOF
20361 #line 20362 "configure"
20362 #include "confdefs.h"
20363 /* System header to define __stub macros and hopefully few prototypes,
20364 which can conflict with char $ac_func(); below. */
20365 #include <assert.h>
20366 /* Override any gcc2 internal prototype to avoid an error. */
20367 /* We use char because int might match the return type of a gcc2
20368 builtin and then its argument prototype would still apply. */
20373 /* The GNU C library defines this for functions which it implements
20374 to always fail with ENOSYS. Some functions are actually named
20375 something starting with __ and the normal name is an alias. */
20376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20384 if { (eval echo configure:20385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20386 eval "ac_cv_func_$ac_func=yes"
20388 echo "configure: failed program was:" >&5
20389 cat conftest.$ac_ext >&5
20391 eval "ac_cv_func_$ac_func=no"
20396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20397 echo "$ac_t""yes" 1>&6
20398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20399 cat >> confdefs.h <<EOF
20400 #define $ac_tr_func 1
20404 echo "$ac_t""no" 1>&6
20411 LIBS="$ac_save_LIBS"
20412 CXXFLAGS="$ac_save_CXXFLAGS"
20415 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20416 echo "configure:20417: checking for main in -lm" >&5
20417 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20418 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20419 echo $ac_n "(cached) $ac_c" 1>&6
20421 ac_save_LIBS="$LIBS"
20423 cat > conftest.$ac_ext <<EOF
20424 #line 20425 "configure"
20425 #include "confdefs.h"
20431 if { (eval echo configure:20432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20433 eval "ac_cv_lib_$ac_lib_var=yes"
20435 echo "configure: failed program was:" >&5
20436 cat conftest.$ac_ext >&5
20438 eval "ac_cv_lib_$ac_lib_var=no"
20441 LIBS="$ac_save_LIBS"
20444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20445 echo "$ac_t""yes" 1>&6
20446 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20447 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20448 cat >> confdefs.h <<EOF
20449 #define $ac_tr_lib 1
20455 echo "$ac_t""no" 1>&6
20458 for ac_func in nan copysignf
20460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20461 echo "configure:20462: checking for $ac_func" >&5
20462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20463 echo $ac_n "(cached) $ac_c" 1>&6
20465 cat > conftest.$ac_ext <<EOF
20466 #line 20467 "configure"
20467 #include "confdefs.h"
20468 /* System header to define __stub macros and hopefully few prototypes,
20469 which can conflict with char $ac_func(); below. */
20470 #include <assert.h>
20471 /* Override any gcc2 internal prototype to avoid an error. */
20472 /* We use char because int might match the return type of a gcc2
20473 builtin and then its argument prototype would still apply. */
20478 /* The GNU C library defines this for functions which it implements
20479 to always fail with ENOSYS. Some functions are actually named
20480 something starting with __ and the normal name is an alias. */
20481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20489 if { (eval echo configure:20490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20491 eval "ac_cv_func_$ac_func=yes"
20493 echo "configure: failed program was:" >&5
20494 cat conftest.$ac_ext >&5
20496 eval "ac_cv_func_$ac_func=no"
20501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20502 echo "$ac_t""yes" 1>&6
20503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20504 cat >> confdefs.h <<EOF
20505 #define $ac_tr_func 1
20509 echo "$ac_t""no" 1>&6
20510 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20515 for ac_func in __signbit
20517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20518 echo "configure:20519: checking for $ac_func" >&5
20519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20520 echo $ac_n "(cached) $ac_c" 1>&6
20522 cat > conftest.$ac_ext <<EOF
20523 #line 20524 "configure"
20524 #include "confdefs.h"
20525 /* System header to define __stub macros and hopefully few prototypes,
20526 which can conflict with char $ac_func(); below. */
20527 #include <assert.h>
20528 /* Override any gcc2 internal prototype to avoid an error. */
20529 /* We use char because int might match the return type of a gcc2
20530 builtin and then its argument prototype would still apply. */
20535 /* The GNU C library defines this for functions which it implements
20536 to always fail with ENOSYS. Some functions are actually named
20537 something starting with __ and the normal name is an alias. */
20538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20546 if { (eval echo configure:20547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20548 eval "ac_cv_func_$ac_func=yes"
20550 echo "configure: failed program was:" >&5
20551 cat conftest.$ac_ext >&5
20553 eval "ac_cv_func_$ac_func=no"
20558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20559 echo "$ac_t""yes" 1>&6
20560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20561 cat >> confdefs.h <<EOF
20562 #define $ac_tr_func 1
20566 echo "$ac_t""no" 1>&6
20567 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20571 for ac_func in __signbitf
20573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20574 echo "configure:20575: checking for $ac_func" >&5
20575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20576 echo $ac_n "(cached) $ac_c" 1>&6
20578 cat > conftest.$ac_ext <<EOF
20579 #line 20580 "configure"
20580 #include "confdefs.h"
20581 /* System header to define __stub macros and hopefully few prototypes,
20582 which can conflict with char $ac_func(); below. */
20583 #include <assert.h>
20584 /* Override any gcc2 internal prototype to avoid an error. */
20585 /* We use char because int might match the return type of a gcc2
20586 builtin and then its argument prototype would still apply. */
20591 /* The GNU C library defines this for functions which it implements
20592 to always fail with ENOSYS. Some functions are actually named
20593 something starting with __ and the normal name is an alias. */
20594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20602 if { (eval echo configure:20603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20604 eval "ac_cv_func_$ac_func=yes"
20606 echo "configure: failed program was:" >&5
20607 cat conftest.$ac_ext >&5
20609 eval "ac_cv_func_$ac_func=no"
20614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20615 echo "$ac_t""yes" 1>&6
20616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20617 cat >> confdefs.h <<EOF
20618 #define $ac_tr_func 1
20622 echo "$ac_t""no" 1>&6
20623 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20628 if test x$ac_cv_func_copysignl = x"yes"; then
20629 for ac_func in __signbitl
20631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20632 echo "configure:20633: checking for $ac_func" >&5
20633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20634 echo $ac_n "(cached) $ac_c" 1>&6
20636 cat > conftest.$ac_ext <<EOF
20637 #line 20638 "configure"
20638 #include "confdefs.h"
20639 /* System header to define __stub macros and hopefully few prototypes,
20640 which can conflict with char $ac_func(); below. */
20641 #include <assert.h>
20642 /* Override any gcc2 internal prototype to avoid an error. */
20643 /* We use char because int might match the return type of a gcc2
20644 builtin and then its argument prototype would still apply. */
20649 /* The GNU C library defines this for functions which it implements
20650 to always fail with ENOSYS. Some functions are actually named
20651 something starting with __ and the normal name is an alias. */
20652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20660 if { (eval echo configure:20661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20662 eval "ac_cv_func_$ac_func=yes"
20664 echo "configure: failed program was:" >&5
20665 cat conftest.$ac_ext >&5
20667 eval "ac_cv_func_$ac_func=no"
20672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20673 echo "$ac_t""yes" 1>&6
20674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20675 cat >> confdefs.h <<EOF
20676 #define $ac_tr_func 1
20680 echo "$ac_t""no" 1>&6
20681 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20691 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20692 echo "configure:20693: checking for mbstate_t" >&5
20693 cat > conftest.$ac_ext <<EOF
20694 #line 20695 "configure"
20695 #include "confdefs.h"
20698 mbstate_t teststate;
20701 if { (eval echo configure:20702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20705 echo "configure: failed program was:" >&5
20706 cat conftest.$ac_ext >&5
20711 echo "$ac_t""$have_mbstate_t" 1>&6
20712 if test x"$have_mbstate_t" = xyes; then
20713 cat >> confdefs.h <<\EOF
20714 #define HAVE_MBSTATE_T 1
20719 for ac_hdr in wchar.h
20721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20723 echo "configure:20724: checking for $ac_hdr" >&5
20724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20725 echo $ac_n "(cached) $ac_c" 1>&6
20727 cat > conftest.$ac_ext <<EOF
20728 #line 20729 "configure"
20729 #include "confdefs.h"
20732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20733 { (eval echo configure:20734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20735 if test -z "$ac_err"; then
20737 eval "ac_cv_header_$ac_safe=yes"
20740 echo "configure: failed program was:" >&5
20741 cat conftest.$ac_ext >&5
20743 eval "ac_cv_header_$ac_safe=no"
20747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20748 echo "$ac_t""yes" 1>&6
20749 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20750 cat >> confdefs.h <<EOF
20751 #define $ac_tr_hdr 1
20755 echo "$ac_t""no" 1>&6
20760 for ac_hdr in wctype.h
20762 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20763 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20764 echo "configure:20765: checking for $ac_hdr" >&5
20765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20766 echo $ac_n "(cached) $ac_c" 1>&6
20768 cat > conftest.$ac_ext <<EOF
20769 #line 20770 "configure"
20770 #include "confdefs.h"
20773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20774 { (eval echo configure:20775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20776 if test -z "$ac_err"; then
20778 eval "ac_cv_header_$ac_safe=yes"
20781 echo "configure: failed program was:" >&5
20782 cat conftest.$ac_ext >&5
20784 eval "ac_cv_header_$ac_safe=no"
20788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20789 echo "$ac_t""yes" 1>&6
20790 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20791 cat >> confdefs.h <<EOF
20792 #define $ac_tr_hdr 1
20794 ac_has_wctype_h=yes
20796 echo "$ac_t""no" 1>&6
20802 if test x"$ac_has_wchar_h" = xyes &&
20803 test x"$ac_has_wctype_h" = xyes &&
20804 test x"$enable_c_mbchar" != xno; then
20806 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20807 echo "configure:20808: checking for WCHAR_MIN and WCHAR_MAX" >&5
20808 cat > conftest.$ac_ext <<EOF
20809 #line 20810 "configure"
20810 #include "confdefs.h"
20813 int i = WCHAR_MIN; int j = WCHAR_MAX;
20816 if { (eval echo configure:20817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20818 has_wchar_minmax=yes
20820 echo "configure: failed program was:" >&5
20821 cat conftest.$ac_ext >&5
20823 has_wchar_minmax=no
20826 echo "$ac_t""$has_wchar_minmax" 1>&6
20828 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20829 echo "configure:20830: checking for WEOF" >&5
20830 cat > conftest.$ac_ext <<EOF
20831 #line 20832 "configure"
20832 #include "confdefs.h"
20835 #include <stddef.h>
20840 if { (eval echo configure:20841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20844 echo "configure: failed program was:" >&5
20845 cat conftest.$ac_ext >&5
20850 echo "$ac_t""$has_weof" 1>&6
20853 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20856 echo "configure:20857: checking for $ac_func" >&5
20857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20858 echo $ac_n "(cached) $ac_c" 1>&6
20860 cat > conftest.$ac_ext <<EOF
20861 #line 20862 "configure"
20862 #include "confdefs.h"
20863 /* System header to define __stub macros and hopefully few prototypes,
20864 which can conflict with char $ac_func(); below. */
20865 #include <assert.h>
20866 /* Override any gcc2 internal prototype to avoid an error. */
20867 /* We use char because int might match the return type of a gcc2
20868 builtin and then its argument prototype would still apply. */
20873 /* The GNU C library defines this for functions which it implements
20874 to always fail with ENOSYS. Some functions are actually named
20875 something starting with __ and the normal name is an alias. */
20876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20884 if { (eval echo configure:20885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20886 eval "ac_cv_func_$ac_func=yes"
20888 echo "configure: failed program was:" >&5
20889 cat conftest.$ac_ext >&5
20891 eval "ac_cv_func_$ac_func=no"
20896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20897 echo "$ac_t""yes" 1>&6
20898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20899 cat >> confdefs.h <<EOF
20900 #define $ac_tr_func 1
20904 echo "$ac_t""no" 1>&6
20911 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20912 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20913 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20914 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20915 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20916 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20919 echo "configure:20920: checking for $ac_func" >&5
20920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20921 echo $ac_n "(cached) $ac_c" 1>&6
20923 cat > conftest.$ac_ext <<EOF
20924 #line 20925 "configure"
20925 #include "confdefs.h"
20926 /* System header to define __stub macros and hopefully few prototypes,
20927 which can conflict with char $ac_func(); below. */
20928 #include <assert.h>
20929 /* Override any gcc2 internal prototype to avoid an error. */
20930 /* We use char because int might match the return type of a gcc2
20931 builtin and then its argument prototype would still apply. */
20936 /* The GNU C library defines this for functions which it implements
20937 to always fail with ENOSYS. Some functions are actually named
20938 something starting with __ and the normal name is an alias. */
20939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20947 if { (eval echo configure:20948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20949 eval "ac_cv_func_$ac_func=yes"
20951 echo "configure: failed program was:" >&5
20952 cat conftest.$ac_ext >&5
20954 eval "ac_cv_func_$ac_func=no"
20959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20960 echo "$ac_t""yes" 1>&6
20961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20962 cat >> confdefs.h <<EOF
20963 #define $ac_tr_func 1
20967 echo "$ac_t""no" 1>&6
20974 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20975 echo "configure:20976: checking for ISO C99 wchar_t support" >&5
20976 if test x"$has_weof" = xyes &&
20977 test x"$has_wchar_minmax" = xyes &&
20978 test x"$ac_wfuncs" = xyes; then
20979 ac_isoC99_wchar_t=yes
20981 ac_isoC99_wchar_t=no
20983 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20985 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20986 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20987 echo "configure:20988: checking for iconv.h" >&5
20988 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20989 echo $ac_n "(cached) $ac_c" 1>&6
20991 cat > conftest.$ac_ext <<EOF
20992 #line 20993 "configure"
20993 #include "confdefs.h"
20996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20997 { (eval echo configure:20998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20999 if test -z "$ac_err"; then
21001 eval "ac_cv_header_$ac_safe=yes"
21004 echo "configure: failed program was:" >&5
21005 cat conftest.$ac_ext >&5
21007 eval "ac_cv_header_$ac_safe=no"
21011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21012 echo "$ac_t""yes" 1>&6
21015 echo "$ac_t""no" 1>&6
21019 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
21020 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
21021 echo "configure:21022: checking for langinfo.h" >&5
21022 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21023 echo $ac_n "(cached) $ac_c" 1>&6
21025 cat > conftest.$ac_ext <<EOF
21026 #line 21027 "configure"
21027 #include "confdefs.h"
21028 #include <langinfo.h>
21030 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21031 { (eval echo configure:21032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21032 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21033 if test -z "$ac_err"; then
21035 eval "ac_cv_header_$ac_safe=yes"
21038 echo "configure: failed program was:" >&5
21039 cat conftest.$ac_ext >&5
21041 eval "ac_cv_header_$ac_safe=no"
21045 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21046 echo "$ac_t""yes" 1>&6
21047 ac_has_langinfo_h=yes
21049 echo "$ac_t""no" 1>&6
21050 ac_has_langinfo_h=no
21054 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21055 echo "configure:21056: checking for iconv in -liconv" >&5
21056 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21058 echo $ac_n "(cached) $ac_c" 1>&6
21060 ac_save_LIBS="$LIBS"
21061 LIBS="-liconv $LIBS"
21062 cat > conftest.$ac_ext <<EOF
21063 #line 21064 "configure"
21064 #include "confdefs.h"
21065 /* Override any gcc2 internal prototype to avoid an error. */
21066 /* We use char because int might match the return type of a gcc2
21067 builtin and then its argument prototype would still apply. */
21074 if { (eval echo configure:21075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21076 eval "ac_cv_lib_$ac_lib_var=yes"
21078 echo "configure: failed program was:" >&5
21079 cat conftest.$ac_ext >&5
21081 eval "ac_cv_lib_$ac_lib_var=no"
21084 LIBS="$ac_save_LIBS"
21087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21088 echo "$ac_t""yes" 1>&6
21091 echo "$ac_t""no" 1>&6
21094 ac_save_LIBS="$LIBS"
21095 LIBS="$LIBS $libiconv"
21097 for ac_func in iconv_open iconv_close iconv nl_langinfo
21099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21100 echo "configure:21101: checking for $ac_func" >&5
21101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21102 echo $ac_n "(cached) $ac_c" 1>&6
21104 cat > conftest.$ac_ext <<EOF
21105 #line 21106 "configure"
21106 #include "confdefs.h"
21107 /* System header to define __stub macros and hopefully few prototypes,
21108 which can conflict with char $ac_func(); below. */
21109 #include <assert.h>
21110 /* Override any gcc2 internal prototype to avoid an error. */
21111 /* We use char because int might match the return type of a gcc2
21112 builtin and then its argument prototype would still apply. */
21117 /* The GNU C library defines this for functions which it implements
21118 to always fail with ENOSYS. Some functions are actually named
21119 something starting with __ and the normal name is an alias. */
21120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21128 if { (eval echo configure:21129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21130 eval "ac_cv_func_$ac_func=yes"
21132 echo "configure: failed program was:" >&5
21133 cat conftest.$ac_ext >&5
21135 eval "ac_cv_func_$ac_func=no"
21140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21141 echo "$ac_t""yes" 1>&6
21142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21143 cat >> confdefs.h <<EOF
21144 #define $ac_tr_func 1
21149 echo "$ac_t""no" 1>&6
21155 LIBS="$ac_save_LIBS"
21157 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21158 echo "configure:21159: checking for XPG2 wchar_t support" >&5
21159 if test x"$ac_has_iconv_h" = xyes &&
21160 test x"$ac_has_langinfo_h" = xyes &&
21161 test x"$ac_XPG2funcs" = xyes; then
21162 ac_XPG2_wchar_t=yes
21166 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21168 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21169 echo "configure:21170: checking for enabled wchar_t specializations" >&5
21170 if test x"$ac_isoC99_wchar_t" = xyes &&
21171 test x"$ac_XPG2_wchar_t" = xyes; then
21172 cat >> confdefs.h <<\EOF
21173 #define _GLIBCPP_USE_WCHAR_T 1
21176 echo "$ac_t"""yes"" 1>&6
21178 echo "$ac_t"""no"" 1>&6
21181 echo "configure: warning: wchar_t support disabled." 1>&2
21185 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21186 ac_save_CXXFLAGS="$CXXFLAGS"
21187 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21190 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21191 echo "configure:21192: checking for strtold declaration" >&5
21192 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21193 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21194 echo $ac_n "(cached) $ac_c" 1>&6
21199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21203 cross_compiling=$ac_cv_prog_cxx_cross
21205 cat > conftest.$ac_ext <<EOF
21206 #line 21207 "configure"
21207 #include "confdefs.h"
21208 #include <stdlib.h>
21213 if { (eval echo configure:21214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21215 glibcpp_cv_func_strtold_use=yes
21217 echo "configure: failed program was:" >&5
21218 cat conftest.$ac_ext >&5
21220 glibcpp_cv_func_strtold_use=no
21224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21225 ac_cpp='$CPP $CPPFLAGS'
21226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21228 cross_compiling=$ac_cv_prog_cc_cross
21234 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21235 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21236 for ac_func in strtold
21238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21239 echo "configure:21240: checking for $ac_func" >&5
21240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21241 echo $ac_n "(cached) $ac_c" 1>&6
21243 cat > conftest.$ac_ext <<EOF
21244 #line 21245 "configure"
21245 #include "confdefs.h"
21246 /* System header to define __stub macros and hopefully few prototypes,
21247 which can conflict with char $ac_func(); below. */
21248 #include <assert.h>
21249 /* Override any gcc2 internal prototype to avoid an error. */
21250 /* We use char because int might match the return type of a gcc2
21251 builtin and then its argument prototype would still apply. */
21256 /* The GNU C library defines this for functions which it implements
21257 to always fail with ENOSYS. Some functions are actually named
21258 something starting with __ and the normal name is an alias. */
21259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21267 if { (eval echo configure:21268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21269 eval "ac_cv_func_$ac_func=yes"
21271 echo "configure: failed program was:" >&5
21272 cat conftest.$ac_ext >&5
21274 eval "ac_cv_func_$ac_func=no"
21279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21280 echo "$ac_t""yes" 1>&6
21281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21282 cat >> confdefs.h <<EOF
21283 #define $ac_tr_func 1
21287 echo "$ac_t""no" 1>&6
21294 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21295 echo "configure:21296: checking for strtof declaration" >&5
21296 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21297 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21298 echo $ac_n "(cached) $ac_c" 1>&6
21303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21304 ac_cpp='$CXXCPP $CPPFLAGS'
21305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21307 cross_compiling=$ac_cv_prog_cxx_cross
21309 cat > conftest.$ac_ext <<EOF
21310 #line 21311 "configure"
21311 #include "confdefs.h"
21312 #include <stdlib.h>
21317 if { (eval echo configure:21318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21319 glibcpp_cv_func_strtof_use=yes
21321 echo "configure: failed program was:" >&5
21322 cat conftest.$ac_ext >&5
21324 glibcpp_cv_func_strtof_use=no
21328 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21329 ac_cpp='$CPP $CPPFLAGS'
21330 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21331 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21332 cross_compiling=$ac_cv_prog_cc_cross
21338 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21339 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21340 for ac_func in strtof
21342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21343 echo "configure:21344: checking for $ac_func" >&5
21344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21345 echo $ac_n "(cached) $ac_c" 1>&6
21347 cat > conftest.$ac_ext <<EOF
21348 #line 21349 "configure"
21349 #include "confdefs.h"
21350 /* System header to define __stub macros and hopefully few prototypes,
21351 which can conflict with char $ac_func(); below. */
21352 #include <assert.h>
21353 /* Override any gcc2 internal prototype to avoid an error. */
21354 /* We use char because int might match the return type of a gcc2
21355 builtin and then its argument prototype would still apply. */
21360 /* The GNU C library defines this for functions which it implements
21361 to always fail with ENOSYS. Some functions are actually named
21362 something starting with __ and the normal name is an alias. */
21363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21371 if { (eval echo configure:21372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21373 eval "ac_cv_func_$ac_func=yes"
21375 echo "configure: failed program was:" >&5
21376 cat conftest.$ac_ext >&5
21378 eval "ac_cv_func_$ac_func=no"
21383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21384 echo "$ac_t""yes" 1>&6
21385 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21386 cat >> confdefs.h <<EOF
21387 #define $ac_tr_func 1
21391 echo "$ac_t""no" 1>&6
21397 for ac_func in drand48
21399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21400 echo "configure:21401: checking for $ac_func" >&5
21401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21402 echo $ac_n "(cached) $ac_c" 1>&6
21404 cat > conftest.$ac_ext <<EOF
21405 #line 21406 "configure"
21406 #include "confdefs.h"
21407 /* System header to define __stub macros and hopefully few prototypes,
21408 which can conflict with char $ac_func(); below. */
21409 #include <assert.h>
21410 /* Override any gcc2 internal prototype to avoid an error. */
21411 /* We use char because int might match the return type of a gcc2
21412 builtin and then its argument prototype would still apply. */
21417 /* The GNU C library defines this for functions which it implements
21418 to always fail with ENOSYS. Some functions are actually named
21419 something starting with __ and the normal name is an alias. */
21420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21428 if { (eval echo configure:21429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21430 eval "ac_cv_func_$ac_func=yes"
21432 echo "configure: failed program was:" >&5
21433 cat conftest.$ac_ext >&5
21435 eval "ac_cv_func_$ac_func=no"
21440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21441 echo "$ac_t""yes" 1>&6
21442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21443 cat >> confdefs.h <<EOF
21444 #define $ac_tr_func 1
21448 echo "$ac_t""no" 1>&6
21453 CXXFLAGS="$ac_save_CXXFLAGS"
21456 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21457 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21458 echo "configure:21459: checking for locale.h" >&5
21459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21460 echo $ac_n "(cached) $ac_c" 1>&6
21462 cat > conftest.$ac_ext <<EOF
21463 #line 21464 "configure"
21464 #include "confdefs.h"
21465 #include <locale.h>
21467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21468 { (eval echo configure:21469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21470 if test -z "$ac_err"; then
21472 eval "ac_cv_header_$ac_safe=yes"
21475 echo "configure: failed program was:" >&5
21476 cat conftest.$ac_ext >&5
21478 eval "ac_cv_header_$ac_safe=no"
21482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21483 echo "$ac_t""yes" 1>&6
21485 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21486 echo "configure:21487: checking for LC_MESSAGES" >&5
21487 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21488 echo $ac_n "(cached) $ac_c" 1>&6
21490 cat > conftest.$ac_ext <<EOF
21491 #line 21492 "configure"
21492 #include "confdefs.h"
21493 #include <locale.h>
21498 if { (eval echo configure:21499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21500 ac_cv_val_LC_MESSAGES=yes
21502 echo "configure: failed program was:" >&5
21503 cat conftest.$ac_ext >&5
21505 ac_cv_val_LC_MESSAGES=no
21510 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21511 if test $ac_cv_val_LC_MESSAGES = yes; then
21512 cat >> confdefs.h <<\EOF
21513 #define HAVE_LC_MESSAGES 1
21519 echo "$ac_t""no" 1>&6
21524 cat > conftest.$ac_ext <<EOF
21525 #line 21526 "configure"
21526 #include "confdefs.h"
21528 #include <setjmp.h>
21531 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21534 if { (eval echo configure:21535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21536 cat >> confdefs.h <<\EOF
21537 #define HAVE_SIGSETJMP 1
21542 echo "configure: failed program was:" >&5
21543 cat conftest.$ac_ext >&5
21547 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21551 echo "configure:21552: checking for $ac_hdr" >&5
21552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21553 echo $ac_n "(cached) $ac_c" 1>&6
21555 cat > conftest.$ac_ext <<EOF
21556 #line 21557 "configure"
21557 #include "confdefs.h"
21560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21561 { (eval echo configure:21562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21563 if test -z "$ac_err"; then
21565 eval "ac_cv_header_$ac_safe=yes"
21568 echo "configure: failed program was:" >&5
21569 cat conftest.$ac_ext >&5
21571 eval "ac_cv_header_$ac_safe=no"
21575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21576 echo "$ac_t""yes" 1>&6
21577 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21578 cat >> confdefs.h <<EOF
21579 #define $ac_tr_hdr 1
21583 echo "$ac_t""no" 1>&6
21587 for ac_func in getpagesize
21589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21590 echo "configure:21591: checking for $ac_func" >&5
21591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21592 echo $ac_n "(cached) $ac_c" 1>&6
21594 cat > conftest.$ac_ext <<EOF
21595 #line 21596 "configure"
21596 #include "confdefs.h"
21597 /* System header to define __stub macros and hopefully few prototypes,
21598 which can conflict with char $ac_func(); below. */
21599 #include <assert.h>
21600 /* Override any gcc2 internal prototype to avoid an error. */
21601 /* We use char because int might match the return type of a gcc2
21602 builtin and then its argument prototype would still apply. */
21607 /* The GNU C library defines this for functions which it implements
21608 to always fail with ENOSYS. Some functions are actually named
21609 something starting with __ and the normal name is an alias. */
21610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21618 if { (eval echo configure:21619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21620 eval "ac_cv_func_$ac_func=yes"
21622 echo "configure: failed program was:" >&5
21623 cat conftest.$ac_ext >&5
21625 eval "ac_cv_func_$ac_func=no"
21630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21631 echo "$ac_t""yes" 1>&6
21632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21633 cat >> confdefs.h <<EOF
21634 #define $ac_tr_func 1
21638 echo "$ac_t""no" 1>&6
21642 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21643 echo "configure:21644: checking for working mmap" >&5
21644 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21645 echo $ac_n "(cached) $ac_c" 1>&6
21647 if test "$cross_compiling" = yes; then
21648 ac_cv_func_mmap_fixed_mapped=no
21650 cat > conftest.$ac_ext <<EOF
21651 #line 21652 "configure"
21652 #include "confdefs.h"
21654 /* Thanks to Mike Haertel and Jim Avera for this test.
21655 Here is a matrix of mmap possibilities:
21656 mmap private not fixed
21657 mmap private fixed at somewhere currently unmapped
21658 mmap private fixed at somewhere already mapped
21659 mmap shared not fixed
21660 mmap shared fixed at somewhere currently unmapped
21661 mmap shared fixed at somewhere already mapped
21662 For private mappings, we should verify that changes cannot be read()
21663 back from the file, nor mmap's back from the file at a different
21664 address. (There have been systems where private was not correctly
21665 implemented like the infamous i386 svr4.0, and systems where the
21666 VM page cache was not coherent with the filesystem buffer cache
21667 like early versions of FreeBSD and possibly contemporary NetBSD.)
21668 For shared mappings, we should conversely verify that changes get
21669 propogated back to all the places they're supposed to be.
21671 Grep wants private fixed already mapped.
21672 The main things grep needs to know about mmap are:
21673 * does it exist and is it safe to write into the mmap'd area
21674 * how to use it (BSD variants) */
21675 #include <sys/types.h>
21677 #include <sys/mman.h>
21679 #if HAVE_SYS_TYPES_H
21680 # include <sys/types.h>
21684 # include <stdlib.h>
21687 #if HAVE_SYS_STAT_H
21688 # include <sys/stat.h>
21692 # include <unistd.h>
21695 /* This mess was copied from the GNU getpagesize.h. */
21696 #ifndef HAVE_GETPAGESIZE
21698 /* Assume that all systems that can run configure have sys/param.h. */
21699 # ifndef HAVE_SYS_PARAM_H
21700 # define HAVE_SYS_PARAM_H 1
21703 # ifdef _SC_PAGESIZE
21704 # define getpagesize() sysconf(_SC_PAGESIZE)
21705 # else /* no _SC_PAGESIZE */
21706 # ifdef HAVE_SYS_PARAM_H
21707 # include <sys/param.h>
21708 # ifdef EXEC_PAGESIZE
21709 # define getpagesize() EXEC_PAGESIZE
21710 # else /* no EXEC_PAGESIZE */
21712 # define getpagesize() NBPG * CLSIZE
21715 # endif /* no CLSIZE */
21716 # else /* no NBPG */
21718 # define getpagesize() NBPC
21719 # else /* no NBPC */
21721 # define getpagesize() PAGESIZE
21722 # endif /* PAGESIZE */
21723 # endif /* no NBPC */
21724 # endif /* no NBPG */
21725 # endif /* no EXEC_PAGESIZE */
21726 # else /* no HAVE_SYS_PARAM_H */
21727 # define getpagesize() 8192 /* punt totally */
21728 # endif /* no HAVE_SYS_PARAM_H */
21729 # endif /* no _SC_PAGESIZE */
21731 #endif /* no HAVE_GETPAGESIZE */
21734 extern "C" { void *malloc(unsigned); }
21742 char *data, *data2, *data3;
21746 pagesize = getpagesize();
21749 * First, make a file with some known garbage in it.
21751 data = malloc(pagesize);
21754 for (i = 0; i < pagesize; ++i)
21755 *(data + i) = rand();
21757 fd = creat("conftestmmap", 0600);
21760 if (write(fd, data, pagesize) != pagesize)
21765 * Next, try to mmap the file at a fixed address which
21766 * already has something else allocated at it. If we can,
21767 * also make sure that we see the same garbage.
21769 fd = open("conftestmmap", O_RDWR);
21772 data2 = malloc(2 * pagesize);
21775 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21776 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21777 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21779 for (i = 0; i < pagesize; ++i)
21780 if (*(data + i) != *(data2 + i))
21784 * Finally, make sure that changes to the mapped area
21785 * do not percolate back to the file as seen by read().
21786 * (This is a bug on some variants of i386 svr4.0.)
21788 for (i = 0; i < pagesize; ++i)
21789 *(data2 + i) = *(data2 + i) + 1;
21790 data3 = malloc(pagesize);
21793 if (read(fd, data3, pagesize) != pagesize)
21795 for (i = 0; i < pagesize; ++i)
21796 if (*(data + i) != *(data3 + i))
21799 unlink("conftestmmap");
21804 if { (eval echo configure:21805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21806 ac_cv_func_mmap_fixed_mapped=yes
21808 echo "configure: failed program was:" >&5
21809 cat conftest.$ac_ext >&5
21811 ac_cv_func_mmap_fixed_mapped=no
21818 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21819 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21820 cat >> confdefs.h <<\EOF
21821 #define HAVE_MMAP 1
21827 # Establish limits on memory usage during 'make check'
21830 setrlimit_have_headers=yes
21831 for ac_hdr in unistd.h sys/time.h sys/resource.h
21833 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21834 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21835 echo "configure:21836: checking for $ac_hdr" >&5
21836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21837 echo $ac_n "(cached) $ac_c" 1>&6
21839 cat > conftest.$ac_ext <<EOF
21840 #line 21841 "configure"
21841 #include "confdefs.h"
21844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21845 { (eval echo configure:21846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21847 if test -z "$ac_err"; then
21849 eval "ac_cv_header_$ac_safe=yes"
21852 echo "configure: failed program was:" >&5
21853 cat conftest.$ac_ext >&5
21855 eval "ac_cv_header_$ac_safe=no"
21859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21860 echo "$ac_t""yes" 1>&6
21861 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21862 cat >> confdefs.h <<EOF
21863 #define $ac_tr_hdr 1
21867 echo "$ac_t""no" 1>&6
21868 setrlimit_have_headers=no
21872 # If don't have the headers, then we can't run the tests now, and we
21873 # won't be seeing any of these during testsuite compilation.
21874 if test $setrlimit_have_headers = yes; then
21875 # Can't do these in a loop, else the resulting syntax is wrong.
21877 cat > conftest.$ac_ext <<EOF
21878 #line 21879 "configure"
21879 #include "confdefs.h"
21880 #include <unistd.h>
21881 #include <sys/time.h>
21882 #include <sys/resource.h>
21885 int f = RLIMIT_DATA ;
21888 if { (eval echo configure:21889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21892 echo "configure: failed program was:" >&5
21893 cat conftest.$ac_ext >&5
21898 cat >> confdefs.h <<EOF
21899 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21904 cat > conftest.$ac_ext <<EOF
21905 #line 21906 "configure"
21906 #include "confdefs.h"
21907 #include <unistd.h>
21908 #include <sys/time.h>
21909 #include <sys/resource.h>
21912 int f = RLIMIT_RSS ;
21915 if { (eval echo configure:21916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21919 echo "configure: failed program was:" >&5
21920 cat conftest.$ac_ext >&5
21925 cat >> confdefs.h <<EOF
21926 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21931 cat > conftest.$ac_ext <<EOF
21932 #line 21933 "configure"
21933 #include "confdefs.h"
21934 #include <unistd.h>
21935 #include <sys/time.h>
21936 #include <sys/resource.h>
21939 int f = RLIMIT_VMEM ;
21942 if { (eval echo configure:21943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21946 echo "configure: failed program was:" >&5
21947 cat conftest.$ac_ext >&5
21952 cat >> confdefs.h <<EOF
21953 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21958 cat > conftest.$ac_ext <<EOF
21959 #line 21960 "configure"
21960 #include "confdefs.h"
21961 #include <unistd.h>
21962 #include <sys/time.h>
21963 #include <sys/resource.h>
21966 int f = RLIMIT_AS ;
21969 if { (eval echo configure:21970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21973 echo "configure: failed program was:" >&5
21974 cat conftest.$ac_ext >&5
21979 cat >> confdefs.h <<EOF
21980 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21985 # Check for rlimit, setrlimit.
21986 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21987 echo $ac_n "(cached) $ac_c" 1>&6
21990 cat > conftest.$ac_ext <<EOF
21991 #line 21992 "configure"
21992 #include "confdefs.h"
21993 #include <unistd.h>
21994 #include <sys/time.h>
21995 #include <sys/resource.h>
21998 struct rlimit r; setrlimit(0, &r);
22001 if { (eval echo configure:22002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22005 echo "configure: failed program was:" >&5
22006 cat conftest.$ac_ext >&5
22016 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
22017 echo "configure:22018: checking for testsuite memory limit support" >&5
22018 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
22020 cat >> confdefs.h <<\EOF
22021 #define _GLIBCPP_MEM_LIMITS 1
22027 echo "$ac_t""$ac_mem_limits" 1>&6
22030 # Look for setenv, so that extended locale tests can be performed.
22032 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
22033 echo "configure:22034: checking for setenv declaration" >&5
22034 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
22035 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
22036 echo $ac_n "(cached) $ac_c" 1>&6
22041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22042 ac_cpp='$CXXCPP $CPPFLAGS'
22043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22045 cross_compiling=$ac_cv_prog_cxx_cross
22047 cat > conftest.$ac_ext <<EOF
22048 #line 22049 "configure"
22049 #include "confdefs.h"
22050 #include <stdlib.h>
22055 if { (eval echo configure:22056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22057 glibcpp_cv_func_setenv_use=yes
22059 echo "configure: failed program was:" >&5
22060 cat conftest.$ac_ext >&5
22062 glibcpp_cv_func_setenv_use=no
22066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22067 ac_cpp='$CPP $CPPFLAGS'
22068 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22069 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22070 cross_compiling=$ac_cv_prog_cc_cross
22076 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22077 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22078 for ac_func in setenv
22080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22081 echo "configure:22082: checking for $ac_func" >&5
22082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22083 echo $ac_n "(cached) $ac_c" 1>&6
22085 cat > conftest.$ac_ext <<EOF
22086 #line 22087 "configure"
22087 #include "confdefs.h"
22088 /* System header to define __stub macros and hopefully few prototypes,
22089 which can conflict with char $ac_func(); below. */
22090 #include <assert.h>
22091 /* Override any gcc2 internal prototype to avoid an error. */
22092 /* We use char because int might match the return type of a gcc2
22093 builtin and then its argument prototype would still apply. */
22098 /* The GNU C library defines this for functions which it implements
22099 to always fail with ENOSYS. Some functions are actually named
22100 something starting with __ and the normal name is an alias. */
22101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22109 if { (eval echo configure:22110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22111 eval "ac_cv_func_$ac_func=yes"
22113 echo "configure: failed program was:" >&5
22114 cat conftest.$ac_ext >&5
22116 eval "ac_cv_func_$ac_func=no"
22121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22122 echo "$ac_t""yes" 1>&6
22123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22124 cat >> confdefs.h <<EOF
22125 #define $ac_tr_func 1
22129 echo "$ac_t""no" 1>&6
22138 # This depends on the possibly-skipped linker test above.
22139 # Check whether --enable-symvers or --disable-symvers was given.
22140 if test "${enable_symvers+set}" = set; then
22141 enableval="$enable_symvers"
22142 case "$enableval" in
22143 yes) enable_symvers=yes ;;
22144 no) enable_symvers=no ;;
22145 # other names here, just as sanity checks
22146 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22147 gnu) enable_symvers=$enableval ;;
22148 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22154 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22155 # don't know enough about $LD to do tricks...
22156 if test x$enable_shared = xno ||
22158 test x$glibcpp_gnu_ld_version = x; then
22162 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22163 if test $enable_symvers != no; then
22164 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22165 echo "configure:22166: checking for shared libgcc" >&5
22166 ac_save_CFLAGS="$CFLAGS"
22168 cat > conftest.$ac_ext <<EOF
22169 #line 22170 "configure"
22170 #include "confdefs.h"
22176 if { (eval echo configure:22177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22178 glibcpp_shared_libgcc=yes
22180 echo "configure: failed program was:" >&5
22181 cat conftest.$ac_ext >&5
22183 glibcpp_shared_libgcc=no
22186 CFLAGS="$ac_save_CFLAGS"
22187 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22190 # For GNU ld, we need at least this version. It's 2.12 in the same format
22191 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22192 glibcpp_min_gnu_ld_version=21200
22194 # Check to see if unspecified "yes" value can win, given results
22196 if test $enable_symvers = yes ; then
22197 if test $with_gnu_ld = yes &&
22198 test $glibcpp_shared_libgcc = yes ;
22200 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22203 ac_test_CFLAGS="${CFLAGS+set}"
22204 ac_save_CFLAGS="$CFLAGS"
22205 CFLAGS='-shared -Wl,--version-script,conftest.map'
22208 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22210 cat > conftest.$ac_ext <<EOF
22211 #line 22212 "configure"
22212 #include "confdefs.h"
22218 if { (eval echo configure:22219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22222 echo "configure: failed program was:" >&5
22223 cat conftest.$ac_ext >&5
22226 if test "$ac_test_CFLAGS" = set; then
22227 CFLAGS="$ac_save_CFLAGS"
22229 # this is the suspicious part
22235 # just fail for now
22240 case $enable_symvers in
22242 LINKER_MAP=config/linker-map.dummy
22245 LINKER_MAP=config/linker-map.gnu
22252 if test $enable_symvers != no; then
22253 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22254 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22256 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22257 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22259 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22260 echo "configure:22261: checking versioning on shared library symbols" >&5
22261 echo "$ac_t""$enable_symvers" 1>&6
22264 # Propagate the target-specific source directories through the build chain.
22265 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22266 # CPULIMITSH [might] use it, and they only get used here.)
22267 OS_INC_SRCDIR=config/${os_include_dir}/bits
22268 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}/bits
22269 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}/bits
22274 # Set up cross-compile flags
22277 if test "$CANADIAN" = yes; then
22285 cat > confcache <<\EOF
22286 # This file is a shell script that caches the results of configure
22287 # tests run on this system so they can be shared between configure
22288 # scripts and configure runs. It is not useful on other systems.
22289 # If it contains results you don't want to keep, you may remove or edit it.
22291 # By default, configure uses ./config.cache as the cache file,
22292 # creating it if it does not exist already. You can give configure
22293 # the --cache-file=FILE option to use a different cache file; that is
22294 # what configure does when it calls configure scripts in
22295 # subdirectories, so they share the cache.
22296 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22297 # config.status only pays attention to the cache file if you give it the
22298 # --recheck option to rerun configure.
22301 # The following way of writing the cache mishandles newlines in values,
22302 # but we know of no workaround that is simple, portable, and efficient.
22303 # So, don't put newlines in cache variables' values.
22304 # Ultrix sh set writes to stderr and can't be redirected directly,
22305 # and sets the high bit in the cache file unless we assign to the vars.
22307 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22309 # `set' does not quote correctly, so add quotes (double-quote substitution
22310 # turns \\\\ into \\, and sed turns \\ into \).
22312 -e "s/'/'\\\\''/g" \
22313 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22316 # `set' quotes correctly as required by POSIX, so do not add quotes.
22317 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22320 if cmp -s $cache_file confcache; then
22323 if test -w $cache_file; then
22324 echo "updating cache $cache_file"
22325 cat confcache > $cache_file
22327 echo "not updating unwritable cache $cache_file"
22333 if test "${multilib}" = "yes"; then
22334 multilib_arg="--enable-multilib"
22339 # Needed so that g++ can find the correct include subdir automatically.
22342 # Export all the install information
22344 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22345 # exported correctly in GLIBCPP_CONFIGURE.
22346 glibcpp_toolexecdir=no
22347 glibcpp_toolexeclibdir=no
22348 glibcpp_prefixdir=${prefix}
22350 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
22351 echo "configure:22352: checking for interface version number" >&5
22352 libstdcxx_interface=$INTERFACE
22353 echo "$ac_t""$libstdcxx_interface" 1>&6
22355 # Process the option --with-gxx-include-dir=<path to include-files directory>
22356 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22357 echo "configure:22358: checking for --with-gxx-include-dir" >&5
22358 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22359 if test "${with_gxx_include_dir+set}" = set; then
22360 withval="$with_gxx_include_dir"
22361 case "${withval}" in
22363 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22370 gxx_include_dir=${withval}
22377 echo "$ac_t""$gxx_include_dir" 1>&6
22379 # Process the option "--enable-version-specific-runtime-libs"
22380 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22381 echo "configure:22382: checking for --enable-version-specific-runtime-libs" >&5
22382 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22383 if test "${enable_version_specific_runtime_libs+set}" = set; then
22384 enableval="$enable_version_specific_runtime_libs"
22385 case "$enableval" in
22386 yes) version_specific_libs=yes ;;
22387 no) version_specific_libs=no ;;
22388 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22391 version_specific_libs=no
22393 # Option set, now we can test it.
22394 echo "$ac_t""$version_specific_libs" 1>&6
22396 if test $version_specific_libs = yes; then
22397 # Need the gcc compiler version to know where to install libraries
22398 # and header files if --enable-version-specific-runtime-libs option
22400 gcc_version_trigger=${srcdir}/../gcc/version.c
22401 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22402 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22403 if test x"$gxx_include_dir" = x"no"; then
22404 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
22406 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22407 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22410 # Default case for install directory for include files.
22411 if test $version_specific_libs = no &&
22412 test $gxx_include_dir = no; then
22413 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
22416 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22417 # Install a library built with a cross compiler in tooldir, not libdir.
22418 if test x"$glibcpp_toolexecdir" = x"no"; then
22419 if test -n "$with_cross_host" &&
22420 test x"$with_cross_host" != x"no"; then
22421 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22422 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22424 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22425 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22429 echo $ac_n "checking for install location""... $ac_c" 1>&6
22430 echo "configure:22431: checking for install location" >&5
22431 echo "$ac_t""$gxx_include_dir" 1>&6
22439 # Export all the include and flag information to makefiles.
22441 # Root level of the build directory include sources.
22442 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22444 # Passed down for canadian crosses.
22445 if test x"$CANADIAN" = xyes; then
22446 TOPLEVEL_INCLUDES='-I$(includedir)'
22449 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22451 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22453 if test x"$need_libio" = xyes; then
22454 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22458 # Now, export this to all the little Makefiles....
22465 # Optimization flags that are probably a good idea for thrill-seekers. Just
22466 # uncomment the lines below and make, everything else is ready to go...
22467 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22471 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22475 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22476 grep "enable shared" > /dev/null; then
22477 LIBSUPCXX_PICFLAGS=-prefer-pic
22479 LIBSUPCXX_PICFLAGS=
22483 # Generate the various Makefiles, include files, and scripts.
22484 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22485 # and libsupc++/Makefile.am so that multilib installs will end up
22486 # installed in the correct place. To work around this not being passed
22487 # down from config-ml.in -> top_srcdir/Makefile.am ->
22488 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22490 cat > confcache <<\EOF
22491 # This file is a shell script that caches the results of configure
22492 # tests run on this system so they can be shared between configure
22493 # scripts and configure runs. It is not useful on other systems.
22494 # If it contains results you don't want to keep, you may remove or edit it.
22496 # By default, configure uses ./config.cache as the cache file,
22497 # creating it if it does not exist already. You can give configure
22498 # the --cache-file=FILE option to use a different cache file; that is
22499 # what configure does when it calls configure scripts in
22500 # subdirectories, so they share the cache.
22501 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22502 # config.status only pays attention to the cache file if you give it the
22503 # --recheck option to rerun configure.
22506 # The following way of writing the cache mishandles newlines in values,
22507 # but we know of no workaround that is simple, portable, and efficient.
22508 # So, don't put newlines in cache variables' values.
22509 # Ultrix sh set writes to stderr and can't be redirected directly,
22510 # and sets the high bit in the cache file unless we assign to the vars.
22512 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22514 # `set' does not quote correctly, so add quotes (double-quote substitution
22515 # turns \\\\ into \\, and sed turns \\ into \).
22517 -e "s/'/'\\\\''/g" \
22518 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22521 # `set' quotes correctly as required by POSIX, so do not add quotes.
22522 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22525 if cmp -s $cache_file confcache; then
22528 if test -w $cache_file; then
22529 echo "updating cache $cache_file"
22530 cat confcache > $cache_file
22532 echo "not updating unwritable cache $cache_file"
22537 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22539 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22540 # Let make expand exec_prefix.
22541 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22543 # Any assignment to VPATH causes Sun make to only execute
22544 # the first set of double-colon rules, so remove it if not needed.
22545 # If there is a colon in the path, we need to keep it.
22546 if test "x$srcdir" = x.; then
22547 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22550 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22552 DEFS=-DHAVE_CONFIG_H
22554 # Without the "./", some shells look in PATH for config.status.
22555 : ${CONFIG_STATUS=./config.status}
22557 echo creating $CONFIG_STATUS
22558 rm -f $CONFIG_STATUS
22559 cat > $CONFIG_STATUS <<EOF
22561 # Generated automatically by configure.
22562 # Run this file to recreate the current configuration.
22563 # This directory was configured as follows,
22564 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22566 # $0 $ac_configure_args
22568 # Compiler output produced by configure, useful for debugging
22569 # configure, is in ./config.log if it exists.
22571 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22574 case "\$ac_option" in
22575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22576 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22577 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22578 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22579 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22581 -help | --help | --hel | --he | --h)
22582 echo "\$ac_cs_usage"; exit 0 ;;
22583 *) echo "\$ac_cs_usage"; exit 1 ;;
22587 ac_given_srcdir=$srcdir
22588 ac_given_INSTALL="$INSTALL"
22590 trap 'rm -fr `echo "Makefile \
22591 include/Makefile src/Makefile \
22592 libmath/Makefile libio/Makefile libsupc++/Makefile \
22593 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22595 cat >> $CONFIG_STATUS <<EOF
22597 # Protect against being on the right side of a sed subst in config.status.
22598 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22599 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22603 s%@CFLAGS@%$CFLAGS%g
22604 s%@CPPFLAGS@%$CPPFLAGS%g
22605 s%@CXXFLAGS@%$CXXFLAGS%g
22606 s%@FFLAGS@%$FFLAGS%g
22608 s%@LDFLAGS@%$LDFLAGS%g
22610 s%@exec_prefix@%$exec_prefix%g
22611 s%@prefix@%$prefix%g
22612 s%@program_transform_name@%$program_transform_name%g
22613 s%@bindir@%$bindir%g
22614 s%@sbindir@%$sbindir%g
22615 s%@libexecdir@%$libexecdir%g
22616 s%@datadir@%$datadir%g
22617 s%@sysconfdir@%$sysconfdir%g
22618 s%@sharedstatedir@%$sharedstatedir%g
22619 s%@localstatedir@%$localstatedir%g
22620 s%@libdir@%$libdir%g
22621 s%@includedir@%$includedir%g
22622 s%@oldincludedir@%$oldincludedir%g
22623 s%@infodir@%$infodir%g
22624 s%@mandir@%$mandir%g
22625 s%@PACKAGE@%$PACKAGE%g
22626 s%@release_VERSION@%$release_VERSION%g
22627 s%@libtool_VERSION@%$libtool_VERSION%g
22629 s%@host_alias@%$host_alias%g
22630 s%@host_cpu@%$host_cpu%g
22631 s%@host_vendor@%$host_vendor%g
22632 s%@host_os@%$host_os%g
22633 s%@target@%$target%g
22634 s%@target_alias@%$target_alias%g
22635 s%@target_cpu@%$target_cpu%g
22636 s%@target_vendor@%$target_vendor%g
22637 s%@target_os@%$target_os%g
22639 s%@build_alias@%$build_alias%g
22640 s%@build_cpu@%$build_cpu%g
22641 s%@build_vendor@%$build_vendor%g
22642 s%@build_os@%$build_os%g
22643 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22644 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22645 s%@INSTALL_DATA@%$INSTALL_DATA%g
22646 s%@VERSION@%$VERSION%g
22647 s%@ACLOCAL@%$ACLOCAL%g
22648 s%@AUTOCONF@%$AUTOCONF%g
22649 s%@AUTOMAKE@%$AUTOMAKE%g
22650 s%@AUTOHEADER@%$AUTOHEADER%g
22651 s%@MAKEINFO@%$MAKEINFO%g
22652 s%@SET_MAKE@%$SET_MAKE%g
22653 s%@toplevel_srcdir@%$toplevel_srcdir%g
22654 s%@glibcpp_builddir@%$glibcpp_builddir%g
22655 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22658 s%@glibcpp_basedir@%$glibcpp_basedir%g
22660 s%@glibcpp_CXX@%$glibcpp_CXX%g
22663 s%@RANLIB@%$RANLIB%g
22664 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22665 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22667 s%@EXEEXT@%$EXEEXT%g
22668 s%@OBJEXT@%$OBJEXT%g
22670 s%@LIBTOOL@%$LIBTOOL%g
22671 s%@CXXCPP@%$CXXCPP%g
22672 s%@enable_shared@%$enable_shared%g
22673 s%@enable_static@%$enable_static%g
22674 s%@ifGNUmake@%$ifGNUmake%g
22675 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22677 s%@CSTDIO_H@%$CSTDIO_H%g
22678 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22679 s%@CCODECVT_C@%$CCODECVT_C%g
22680 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22681 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22682 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22683 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22684 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22685 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22686 s%@libio_la@%$libio_la%g
22687 s%@check_msgfmt@%$check_msgfmt%g
22688 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22689 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22690 s%@glibcpp_localedir@%$glibcpp_localedir%g
22691 s%@USE_NLS@%$USE_NLS%g
22692 s%@CLOCALE_H@%$CLOCALE_H%g
22693 s%@CCODECVT_H@%$CCODECVT_H%g
22694 s%@CMESSAGES_H@%$CMESSAGES_H%g
22695 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22696 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22697 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22698 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22699 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22700 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22701 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22702 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22703 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22704 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22705 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22706 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22707 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22708 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22709 s%@WERROR@%$WERROR%g
22710 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22711 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22712 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22713 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22714 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22715 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22716 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22717 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22718 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22719 s%@gxx_include_dir@%$gxx_include_dir%g
22720 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22721 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22722 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22723 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22724 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22725 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22726 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22727 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22728 s%@WARN_FLAGS@%$WARN_FLAGS%g
22729 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22734 cat >> $CONFIG_STATUS <<\EOF
22736 # Split the substitutions into bite-sized pieces for seds with
22737 # small command number limits, like on Digital OSF/1 and HP-UX.
22738 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22739 ac_file=1 # Number of current file.
22740 ac_beg=1 # First line for current file.
22741 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22744 while $ac_more_lines; do
22745 if test $ac_beg -gt 1; then
22746 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22748 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22750 if test ! -s conftest.s$ac_file; then
22751 ac_more_lines=false
22752 rm -f conftest.s$ac_file
22754 if test -z "$ac_sed_cmds"; then
22755 ac_sed_cmds="sed -f conftest.s$ac_file"
22757 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22759 ac_file=`expr $ac_file + 1`
22761 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22764 if test -z "$ac_sed_cmds"; then
22769 cat >> $CONFIG_STATUS <<EOF
22771 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22772 include/Makefile src/Makefile \
22773 libmath/Makefile libio/Makefile libsupc++/Makefile \
22774 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22776 cat >> $CONFIG_STATUS <<\EOF
22777 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22778 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22780 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22781 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22782 *) ac_file_in="${ac_file}.in" ;;
22785 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22787 # Remove last slash and all that follows it. Not all systems have dirname.
22788 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22789 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22790 # The file is in a subdirectory.
22791 test ! -d "$ac_dir" && mkdir "$ac_dir"
22792 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22793 # A "../" for each directory in $ac_dir_suffix.
22794 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22796 ac_dir_suffix= ac_dots=
22799 case "$ac_given_srcdir" in
22801 if test -z "$ac_dots"; then top_srcdir=.
22802 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22803 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22804 *) # Relative path.
22805 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22806 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22809 case "$ac_given_INSTALL" in
22810 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22811 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22814 echo creating "$ac_file"
22816 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22818 *Makefile*) ac_comsub="1i\\
22819 # $configure_input" ;;
22823 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22825 s%@configure_input@%$configure_input%g
22826 s%@srcdir@%$srcdir%g
22827 s%@top_srcdir@%$top_srcdir%g
22828 s%@INSTALL@%$INSTALL%g
22829 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22833 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22834 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22836 # ac_d sets the value in "#define NAME VALUE" lines.
22837 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22838 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22841 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22842 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22843 ac_uB='\([ ]\)%\1#\2define\3'
22846 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22847 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22848 ac_eB='$%\1#\2define\3'
22852 if test "${CONFIG_HEADERS+set}" != set; then
22854 cat >> $CONFIG_STATUS <<EOF
22855 CONFIG_HEADERS="config.h"
22857 cat >> $CONFIG_STATUS <<\EOF
22859 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22860 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22862 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22863 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22864 *) ac_file_in="${ac_file}.in" ;;
22867 echo creating $ac_file
22869 rm -f conftest.frag conftest.in conftest.out
22870 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22871 cat $ac_file_inputs > conftest.in
22875 # Transform confdefs.h into a sed script conftest.vals that substitutes
22876 # the proper values into config.h.in to produce config.h. And first:
22877 # Protect against being on the right side of a sed subst in config.status.
22878 # Protect against being in an unquoted here document in config.status.
22879 rm -f conftest.vals
22880 cat > conftest.hdr <<\EOF
22883 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22887 sed -n -f conftest.hdr confdefs.h > conftest.vals
22890 # This sed command replaces #undef with comments. This is necessary, for
22891 # example, in the case of _POSIX_SOURCE, which is predefined and required
22892 # on some systems where configure will not decide to define it.
22893 cat >> conftest.vals <<\EOF
22894 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22897 # Break up conftest.vals because some shells have a limit on
22898 # the size of here documents, and old seds have small limits too.
22900 rm -f conftest.tail
22903 ac_lines=`grep -c . conftest.vals`
22904 # grep -c gives empty output for an empty file on some AIX systems.
22905 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22906 # Write a limited-size here document to conftest.frag.
22907 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22908 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22910 sed -f conftest.frag conftest.in > conftest.out
22912 mv conftest.out conftest.in
22913 ' >> $CONFIG_STATUS
22914 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22915 rm -f conftest.vals
22916 mv conftest.tail conftest.vals
22918 rm -f conftest.vals
22920 cat >> $CONFIG_STATUS <<\EOF
22921 rm -f conftest.frag conftest.h
22922 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22923 cat conftest.in >> conftest.h
22925 if cmp -s $ac_file conftest.h 2>/dev/null; then
22926 echo "$ac_file is unchanged"
22929 # Remove last slash and all that follows it. Not all systems have dirname.
22930 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22931 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22932 # The file is in a subdirectory.
22933 test ! -d "$ac_dir" && mkdir "$ac_dir"
22936 mv conftest.h $ac_file
22942 cat >> $CONFIG_STATUS <<EOF
22943 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22944 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"
22947 cat >> $CONFIG_STATUS <<\EOF
22948 srcdir=$ac_given_srcdir
22949 while test -n "$ac_sources"; do
22950 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22951 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22953 echo "linking $srcdir/$ac_source to $ac_dest"
22955 if test ! -r $srcdir/$ac_source; then
22956 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22960 # Make relative symlinks.
22961 # Remove last slash and all that follows it. Not all systems have dirname.
22962 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22963 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22964 # The dest file is in a subdirectory.
22965 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22966 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22967 # A "../" for each directory in $ac_dest_dir_suffix.
22968 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22970 ac_dest_dir_suffix= ac_dots=
22974 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22975 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22978 # Make a symlink if possible; otherwise try a hard link.
22979 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22980 ln $srcdir/$ac_source $ac_dest; then :
22982 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22986 cat >> $CONFIG_STATUS <<EOF
22991 with_multisubdir=${with_multisubdir}
22992 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22993 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22994 glibcpp_basedir=${glibcpp_basedir}
22999 cat >> $CONFIG_STATUS <<\EOF
23000 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
23001 if test -n "$CONFIG_FILES"; then
23002 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
23003 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
23004 grep '^MULTISUBDIR =' Makefile >> src/Makefile
23005 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
23008 chmod +x testsuite_flags
23012 chmod +x $CONFIG_STATUS
23013 rm -fr confdefs* $ac_clean_files
23014 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23018 # Sanity checking & User-visible messages.
23019 # Checks down here, otherwise they get scrolled off before
23020 # the user will notice.
23022 # Trying to get more people to read documentation. Possibly remove
23023 # check and warn all the time. There is no "informational" AC_MSG_
23024 # macro, so these are going to be printed even when --quiet/--silent
23026 if test ! -f stamp-sanity-warned; then
23027 touch stamp-sanity-warned
23029 echo "Please make certain that you read the installation information here:"
23030 echo " faster => ${srcdir}/docs/html/install.html"
23031 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
23033 echo "and the configuration information here:"
23034 echo " faster => ${srcdir}/docs/html/configopts.html"
23035 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
23037 echo "before proceeding with ${_cv_gnu_make_command}."