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,
94 bindir='${exec_prefix}/bin'
95 sbindir='${exec_prefix}/sbin'
96 libexecdir='${exec_prefix}/libexec'
97 datadir='${prefix}/share'
98 sysconfdir='${prefix}/etc'
99 sharedstatedir='${prefix}/com'
100 localstatedir='${prefix}/var'
101 libdir='${exec_prefix}/lib'
102 includedir='${prefix}/include'
103 oldincludedir='/usr/include'
104 infodir='${prefix}/info'
105 mandir='${prefix}/man'
107 # Initialize some other variables.
110 SHELL=${CONFIG_SHELL-/bin/sh}
111 # Maximum number of lines to put in a shell here document.
118 # If the previous option needs an argument, assign it.
119 if test -n "$ac_prev"; then
120 eval "$ac_prev=\$ac_option"
126 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
130 # Accept the important Cygnus configure options, so we can diagnose typos.
134 -bindir | --bindir | --bindi | --bind | --bin | --bi)
136 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
137 bindir="$ac_optarg" ;;
139 -build | --build | --buil | --bui | --bu)
141 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
142 build="$ac_optarg" ;;
144 -cache-file | --cache-file | --cache-fil | --cache-fi \
145 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
146 ac_prev=cache_file ;;
147 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
148 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
149 cache_file="$ac_optarg" ;;
151 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
153 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
155 datadir="$ac_optarg" ;;
157 -disable-* | --disable-*)
158 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
159 # Reject names that are not valid shell variable names.
160 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
161 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
163 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
164 eval "enable_${ac_feature}=no" ;;
166 -enable-* | --enable-*)
167 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
168 # Reject names that are not valid shell variable names.
169 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
170 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
172 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
177 eval "enable_${ac_feature}='$ac_optarg'" ;;
179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
181 | --exec | --exe | --ex)
182 ac_prev=exec_prefix ;;
183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
185 | --exec=* | --exe=* | --ex=*)
186 exec_prefix="$ac_optarg" ;;
188 -gas | --gas | --ga | --g)
189 # Obsolete; use --with-gas.
192 -help | --help | --hel | --he)
193 # Omit some internal or obsolete options to make the list less imposing.
194 # This message is too long to be a string in the A/UX 3.1 sh.
196 Usage: configure [options] [host]
197 Options: [defaults in brackets after descriptions]
199 --cache-file=FILE cache test results in FILE
200 --help print this message
201 --no-create do not create output files
202 --quiet, --silent do not print \`checking...' messages
203 --site-file=FILE use FILE as the site file
204 --version print the version of autoconf that created configure
205 Directory and file names:
206 --prefix=PREFIX install architecture-independent files in PREFIX
208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
210 --bindir=DIR user executables in DIR [EPREFIX/bin]
211 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
212 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
213 --datadir=DIR read-only architecture-independent data in DIR
215 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
216 --sharedstatedir=DIR modifiable architecture-independent data in DIR
218 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
219 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
220 --includedir=DIR C header files in DIR [PREFIX/include]
221 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
222 --infodir=DIR info documentation in DIR [PREFIX/info]
223 --mandir=DIR man documentation in DIR [PREFIX/man]
224 --srcdir=DIR find the sources in DIR [configure dir or ..]
225 --program-prefix=PREFIX prepend PREFIX to installed program names
226 --program-suffix=SUFFIX append SUFFIX to installed program names
227 --program-transform-name=PROGRAM
228 run sed PROGRAM on installed program names
232 --build=BUILD configure for building on BUILD [BUILD=HOST]
233 --host=HOST configure for HOST [guessed]
234 --target=TARGET configure for TARGET [TARGET=HOST]
235 Features and packages:
236 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
237 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
238 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
239 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
240 --x-includes=DIR X include files are in DIR
241 --x-libraries=DIR X library files are in DIR
243 if test -n "$ac_help"; then
244 echo "--enable and --with options recognized:$ac_help"
248 -host | --host | --hos | --ho)
250 -host=* | --host=* | --hos=* | --ho=*)
253 -includedir | --includedir | --includedi | --included | --include \
254 | --includ | --inclu | --incl | --inc)
255 ac_prev=includedir ;;
256 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
257 | --includ=* | --inclu=* | --incl=* | --inc=*)
258 includedir="$ac_optarg" ;;
260 -infodir | --infodir | --infodi | --infod | --info | --inf)
262 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
263 infodir="$ac_optarg" ;;
265 -libdir | --libdir | --libdi | --libd)
267 -libdir=* | --libdir=* | --libdi=* | --libd=*)
268 libdir="$ac_optarg" ;;
270 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
271 | --libexe | --libex | --libe)
272 ac_prev=libexecdir ;;
273 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
274 | --libexe=* | --libex=* | --libe=*)
275 libexecdir="$ac_optarg" ;;
277 -localstatedir | --localstatedir | --localstatedi | --localstated \
278 | --localstate | --localstat | --localsta | --localst \
279 | --locals | --local | --loca | --loc | --lo)
280 ac_prev=localstatedir ;;
281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
282 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
283 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
284 localstatedir="$ac_optarg" ;;
286 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
288 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
289 mandir="$ac_optarg" ;;
292 # Obsolete; use --without-fp.
295 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
299 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
300 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
303 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
304 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
305 | --oldin | --oldi | --old | --ol | --o)
306 ac_prev=oldincludedir ;;
307 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
308 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
309 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
310 oldincludedir="$ac_optarg" ;;
312 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
314 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
315 prefix="$ac_optarg" ;;
317 -program-prefix | --program-prefix | --program-prefi | --program-pref \
318 | --program-pre | --program-pr | --program-p)
319 ac_prev=program_prefix ;;
320 -program-prefix=* | --program-prefix=* | --program-prefi=* \
321 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
322 program_prefix="$ac_optarg" ;;
324 -program-suffix | --program-suffix | --program-suffi | --program-suff \
325 | --program-suf | --program-su | --program-s)
326 ac_prev=program_suffix ;;
327 -program-suffix=* | --program-suffix=* | --program-suffi=* \
328 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
329 program_suffix="$ac_optarg" ;;
331 -program-transform-name | --program-transform-name \
332 | --program-transform-nam | --program-transform-na \
333 | --program-transform-n | --program-transform- \
334 | --program-transform | --program-transfor \
335 | --program-transfo | --program-transf \
336 | --program-trans | --program-tran \
337 | --progr-tra | --program-tr | --program-t)
338 ac_prev=program_transform_name ;;
339 -program-transform-name=* | --program-transform-name=* \
340 | --program-transform-nam=* | --program-transform-na=* \
341 | --program-transform-n=* | --program-transform-=* \
342 | --program-transform=* | --program-transfor=* \
343 | --program-transfo=* | --program-transf=* \
344 | --program-trans=* | --program-tran=* \
345 | --progr-tra=* | --program-tr=* | --program-t=*)
346 program_transform_name="$ac_optarg" ;;
348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
349 | -silent | --silent | --silen | --sile | --sil)
352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
356 sbindir="$ac_optarg" ;;
358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
360 | --sharedst | --shareds | --shared | --share | --shar \
362 ac_prev=sharedstatedir ;;
363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
367 sharedstatedir="$ac_optarg" ;;
369 -site | --site | --sit)
371 -site=* | --site=* | --sit=*)
374 -site-file | --site-file | --site-fil | --site-fi | --site-f)
376 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
377 sitefile="$ac_optarg" ;;
379 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
381 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
382 srcdir="$ac_optarg" ;;
384 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
385 | --syscon | --sysco | --sysc | --sys | --sy)
386 ac_prev=sysconfdir ;;
387 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
388 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
389 sysconfdir="$ac_optarg" ;;
391 -target | --target | --targe | --targ | --tar | --ta | --t)
393 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
394 target="$ac_optarg" ;;
396 -v | -verbose | --verbose | --verbos | --verbo | --verb)
399 -version | --version | --versio | --versi | --vers)
400 echo "configure generated by autoconf version 2.13"
404 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package=`echo $ac_package| sed 's/-/_/g'`
414 eval "with_${ac_package}='$ac_optarg'" ;;
416 -without-* | --without-*)
417 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
418 # Reject names that are not valid shell variable names.
419 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
420 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
422 ac_package=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}=no" ;;
426 # Obsolete; use --with-x.
429 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
430 | --x-incl | --x-inc | --x-in | --x-i)
431 ac_prev=x_includes ;;
432 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
433 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
434 x_includes="$ac_optarg" ;;
436 -x-libraries | --x-libraries | --x-librarie | --x-librari \
437 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
438 ac_prev=x_libraries ;;
439 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
440 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
441 x_libraries="$ac_optarg" ;;
443 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
447 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
448 echo "configure: warning: $ac_option: invalid host type" 1>&2
450 if test "x$nonopt" != xNONE; then
451 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
459 if test -n "$ac_prev"; then
460 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
463 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
465 # File descriptor usage:
468 # 2 errors and warnings
469 # 3 some systems may open it to /dev/tty
470 # 4 used on the Kubota Titan
471 # 6 checking for... messages and results
472 # 5 compiler messages saved in config.log
473 if test "$silent" = yes; then
481 This file contains any messages produced by compilers while
482 running configure, to aid debugging if configure makes a mistake.
485 # Strip out --no-create and --no-recursion so they do not pile up.
486 # Also quote any args containing shell metacharacters.
491 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
492 | --no-cr | --no-c) ;;
493 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
495 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
496 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
497 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
502 # Only set these to C if already set. These must not be set unconditionally
503 # because not all systems understand e.g. LANG=C (notably SCO).
504 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
505 # Non-C LC_CTYPE values break the ctype check.
506 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
507 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
508 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
509 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
511 # confdefs.h avoids OS command line length limits that DEFS can exceed.
512 rm -rf conftest* confdefs.h
513 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
516 # A filename unique to this package, relative to the directory that
517 # configure is in, which we can look for to find out if srcdir is correct.
518 ac_unique_file=src/ios.cc
520 # Find the source files, if location was not specified.
521 if test -z "$srcdir"; then
522 ac_srcdir_defaulted=yes
523 # Try the directory containing this script, then its parent.
525 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
526 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
528 if test ! -r $srcdir/$ac_unique_file; then
532 ac_srcdir_defaulted=no
534 if test ! -r $srcdir/$ac_unique_file; then
535 if test "$ac_srcdir_defaulted" = yes; then
536 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
538 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
541 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
543 # Prefer explicitly selected file to automatically selected ones.
544 if test -z "$sitefile"; then
545 if test -z "$CONFIG_SITE"; then
546 if test "x$prefix" != xNONE; then
547 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
549 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
553 CONFIG_SITE="$sitefile"
555 for ac_site_file in $CONFIG_SITE; do
556 if test -r "$ac_site_file"; then
557 echo "loading site script $ac_site_file"
562 if test -r "$cache_file"; then
563 echo "loading cache $cache_file"
566 echo "creating cache $cache_file"
571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
572 ac_cpp='$CPP $CPPFLAGS'
573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
575 cross_compiling=$ac_cv_prog_cc_cross
579 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
580 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
581 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
588 ac_n= ac_c='\c' ac_t=
593 # This works around the fact that libtool configuration may change LD
594 # for this particular configuration, but some shells, instead of
595 # keeping the changes in LD private, export them just because LD is
597 ORIGINAL_LD_FOR_MULTILIBS=$LD
601 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
602 release_VERSION=3.1.0
604 # For libtool versioning info, format is CURRENT:REVISION:AGE
605 libtool_VERSION=4:0:0
608 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
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.host and configure.target, as well as finds CC, CXX
961 # and assorted other critical bits. Have to run this before the
962 # GLIBCPP_ENABLE_* macros below.
963 if test $host != $build; then
964 ac_tool_prefix=${host_alias}-
969 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
970 echo "configure:971: checking for Cygwin environment" >&5
971 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
972 echo $ac_n "(cached) $ac_c" 1>&6
974 cat > conftest.$ac_ext <<EOF
975 #line 976 "configure"
976 #include "confdefs.h"
981 #define __CYGWIN__ __CYGWIN32__
986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
990 echo "configure: failed program was:" >&5
991 cat conftest.$ac_ext >&5
999 echo "$ac_t""$ac_cv_cygwin" 1>&6
1001 test "$ac_cv_cygwin" = yes && CYGWIN=yes
1002 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1003 echo "configure:1004: checking for mingw32 environment" >&5
1004 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1005 echo $ac_n "(cached) $ac_c" 1>&6
1007 cat > conftest.$ac_ext <<EOF
1008 #line 1009 "configure"
1009 #include "confdefs.h"
1015 if { (eval echo configure:1016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1019 echo "configure: failed program was:" >&5
1020 cat conftest.$ac_ext >&5
1028 echo "$ac_t""$ac_cv_mingw32" 1>&6
1030 test "$ac_cv_mingw32" = yes && MINGW32=yes
1032 # Check whether --enable-multilib or --disable-multilib was given.
1033 if test "${enable_multilib+set}" = set; then
1034 enableval="$enable_multilib"
1035 case "${enableval}" in
1036 yes) multilib=yes ;;
1038 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1044 # When building with srcdir == objdir, links to the source files will
1045 # be created in directories within the target_subdir. We have to
1046 # adjust toplevel_srcdir accordingly, so that configure finds
1047 # install-sh and other auxiliary files that live in the top-level
1049 if test "${srcdir}" = "."; then
1050 if test -z "${with_target_subdir}"; then
1053 if test "${with_target_subdir}" != "."; then
1054 toprel="${with_multisrctop}../.."
1056 toprel="${with_multisrctop}.."
1063 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1064 if test -f $ac_dir/install-sh; then
1066 ac_install_sh="$ac_aux_dir/install-sh -c"
1068 elif test -f $ac_dir/install.sh; then
1070 ac_install_sh="$ac_aux_dir/install.sh -c"
1074 if test -z "$ac_aux_dir"; then
1075 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1077 ac_config_guess=$ac_aux_dir/config.guess
1078 ac_config_sub=$ac_aux_dir/config.sub
1079 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1081 toplevel_srcdir=\${top_srcdir}/$toprel
1084 # Export build and source directories.
1085 # These need to be absolute paths, yet at the same time need to
1086 # canonicalize only relative paths, because then amd will not unmount
1087 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1088 glibcpp_builddir=`pwd`
1090 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1091 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1098 for ac_prog in mawk gawk nawk awk
1100 # Extract the first word of "$ac_prog", so it can be a program name with args.
1101 set dummy $ac_prog; ac_word=$2
1102 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1103 echo "configure:1104: checking for $ac_word" >&5
1104 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1105 echo $ac_n "(cached) $ac_c" 1>&6
1107 if test -n "$AWK"; then
1108 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1112 for ac_dir in $ac_dummy; do
1113 test -z "$ac_dir" && ac_dir=.
1114 if test -f $ac_dir/$ac_word; then
1115 ac_cv_prog_AWK="$ac_prog"
1122 AWK="$ac_cv_prog_AWK"
1123 if test -n "$AWK"; then
1124 echo "$ac_t""$AWK" 1>&6
1126 echo "$ac_t""no" 1>&6
1129 test -n "$AWK" && break
1132 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1133 # be 'cp -p' if linking isn't available.
1134 #ac_cv_prog_LN_S='cp -p'
1135 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1136 echo "configure:1137: checking whether ln -s works" >&5
1137 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1138 echo $ac_n "(cached) $ac_c" 1>&6
1141 if ln -s X conftestdata 2>/dev/null
1144 ac_cv_prog_LN_S="ln -s"
1149 LN_S="$ac_cv_prog_LN_S"
1150 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1151 echo "$ac_t""yes" 1>&6
1153 echo "$ac_t""no" 1>&6
1157 # We use these options to decide which functions to include.
1158 # Check whether --with-target-subdir or --without-target-subdir was given.
1159 if test "${with_target_subdir+set}" = set; then
1160 withval="$with_target_subdir"
1164 # Check whether --with-cross-host or --without-cross-host was given.
1165 if test "${with_cross_host+set}" = set; then
1166 withval="$with_cross_host"
1171 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1174 # Never versions of autoconf add an underscore to these functions.
1175 # Prevent future problems ...
1182 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1183 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1184 # are probably using a cross compiler, which will not be able to fully
1185 # link an executable. This is addressed in later versions of autoconf.
1190 # Extract the first word of "gcc", so it can be a program name with args.
1191 set dummy gcc; ac_word=$2
1192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1193 echo "configure:1194: checking for $ac_word" >&5
1194 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1195 echo $ac_n "(cached) $ac_c" 1>&6
1197 if test -n "$CC"; then
1198 ac_cv_prog_CC="$CC" # Let the user override the test.
1200 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1202 for ac_dir in $ac_dummy; do
1203 test -z "$ac_dir" && ac_dir=.
1204 if test -f $ac_dir/$ac_word; then
1213 if test -n "$CC"; then
1214 echo "$ac_t""$CC" 1>&6
1216 echo "$ac_t""no" 1>&6
1219 if test -z "$CC"; then
1220 # Extract the first word of "cc", so it can be a program name with args.
1221 set dummy cc; ac_word=$2
1222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1223 echo "configure:1224: checking for $ac_word" >&5
1224 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1225 echo $ac_n "(cached) $ac_c" 1>&6
1227 if test -n "$CC"; then
1228 ac_cv_prog_CC="$CC" # Let the user override the test.
1230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1233 for ac_dir in $ac_dummy; do
1234 test -z "$ac_dir" && ac_dir=.
1235 if test -f $ac_dir/$ac_word; then
1236 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1237 ac_prog_rejected=yes
1245 if test $ac_prog_rejected = yes; then
1246 # We found a bogon in the path, so make sure we never use it.
1247 set dummy $ac_cv_prog_CC
1249 if test $# -gt 0; then
1250 # We chose a different compiler from the bogus one.
1251 # However, it has the same basename, so the bogon will be chosen
1252 # first if we set CC to just the basename; use the full file name.
1254 set dummy "$ac_dir/$ac_word" "$@"
1262 if test -n "$CC"; then
1263 echo "$ac_t""$CC" 1>&6
1265 echo "$ac_t""no" 1>&6
1268 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1271 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1272 echo "configure:1273: checking whether we are using GNU C" >&5
1273 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1274 echo $ac_n "(cached) $ac_c" 1>&6
1276 cat > conftest.c <<EOF
1281 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1288 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1290 if test $ac_cv_prog_gcc = yes; then
1292 ac_test_CFLAGS="${CFLAGS+set}"
1293 ac_save_CFLAGS="$CFLAGS"
1295 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1296 echo "configure:1297: checking whether ${CC-cc} accepts -g" >&5
1297 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1298 echo $ac_n "(cached) $ac_c" 1>&6
1300 echo 'void f(){}' > conftest.c
1301 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1310 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1311 if test "$ac_test_CFLAGS" = set; then
1312 CFLAGS="$ac_save_CFLAGS"
1313 elif test $ac_cv_prog_cc_g = yes; then
1320 test "${CFLAGS+set}" = set || CFLAGS="-g"
1324 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1325 # will try to link in libstdc++.
1329 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1330 # flags that come in CXX while configuring libstdc++. They're different
1331 # from those used for all other target libraries. If CXX is set in
1332 # the environment, respect that here.
1334 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1336 # Extract the first word of "$ac_prog", so it can be a program name with args.
1337 set dummy $ac_prog; ac_word=$2
1338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1339 echo "configure:1340: checking for $ac_word" >&5
1340 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1341 echo $ac_n "(cached) $ac_c" 1>&6
1343 if test -n "$glibcpp_CXX"; then
1344 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1346 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1348 for ac_dir in $ac_dummy; do
1349 test -z "$ac_dir" && ac_dir=.
1350 if test -f $ac_dir/$ac_word; then
1351 ac_cv_prog_glibcpp_CXX="$ac_prog"
1358 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1359 if test -n "$glibcpp_CXX"; then
1360 echo "$ac_t""$glibcpp_CXX" 1>&6
1362 echo "$ac_t""no" 1>&6
1365 test -n "$glibcpp_CXX" && break
1367 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1371 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1373 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1374 echo "configure:1375: checking whether we are using GNU C++" >&5
1375 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1376 echo $ac_n "(cached) $ac_c" 1>&6
1378 cat > conftest.C <<EOF
1383 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1390 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1392 if test $ac_cv_prog_gxx = yes; then
1394 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1395 ac_save_CXXFLAGS="$CXXFLAGS"
1397 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1398 echo "configure:1399: checking whether ${CXX-g++} accepts -g" >&5
1399 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1400 echo $ac_n "(cached) $ac_c" 1>&6
1402 echo 'void f(){}' > conftest.cc
1403 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1404 ac_cv_prog_cxx_g=yes
1412 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1413 if test "$ac_test_CXXFLAGS" = set; then
1414 CXXFLAGS="$ac_save_CXXFLAGS"
1415 elif test $ac_cv_prog_cxx_g = yes; then
1422 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1426 # For some reason, gettext needs this.
1428 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1429 echo "configure:1430: checking for strerror in -lcposix" >&5
1430 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1432 echo $ac_n "(cached) $ac_c" 1>&6
1434 ac_save_LIBS="$LIBS"
1435 LIBS="-lcposix $LIBS"
1436 cat > conftest.$ac_ext <<EOF
1437 #line 1438 "configure"
1438 #include "confdefs.h"
1439 /* Override any gcc2 internal prototype to avoid an error. */
1440 /* We use char because int might match the return type of a gcc2
1441 builtin and then its argument prototype would still apply. */
1448 if { (eval echo configure:1449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1450 eval "ac_cv_lib_$ac_lib_var=yes"
1452 echo "configure: failed program was:" >&5
1453 cat conftest.$ac_ext >&5
1455 eval "ac_cv_lib_$ac_lib_var=no"
1458 LIBS="$ac_save_LIBS"
1461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1462 echo "$ac_t""yes" 1>&6
1463 LIBS="$LIBS -lcposix"
1465 echo "$ac_t""no" 1>&6
1471 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1472 set dummy ${ac_tool_prefix}as; ac_word=$2
1473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1474 echo "configure:1475: checking for $ac_word" >&5
1475 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1476 echo $ac_n "(cached) $ac_c" 1>&6
1478 if test -n "$AS"; then
1479 ac_cv_prog_AS="$AS" # Let the user override the test.
1481 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1483 for ac_dir in $ac_dummy; do
1484 test -z "$ac_dir" && ac_dir=.
1485 if test -f $ac_dir/$ac_word; then
1486 ac_cv_prog_AS="${ac_tool_prefix}as"
1491 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1495 if test -n "$AS"; then
1496 echo "$ac_t""$AS" 1>&6
1498 echo "$ac_t""no" 1>&6
1503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1504 set dummy ${ac_tool_prefix}ar; ac_word=$2
1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1506 echo "configure:1507: checking for $ac_word" >&5
1507 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1508 echo $ac_n "(cached) $ac_c" 1>&6
1510 if test -n "$AR"; then
1511 ac_cv_prog_AR="$AR" # Let the user override the test.
1513 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1515 for ac_dir in $ac_dummy; do
1516 test -z "$ac_dir" && ac_dir=.
1517 if test -f $ac_dir/$ac_word; then
1518 ac_cv_prog_AR="${ac_tool_prefix}ar"
1523 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1527 if test -n "$AR"; then
1528 echo "$ac_t""$AR" 1>&6
1530 echo "$ac_t""no" 1>&6
1535 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1538 echo "configure:1539: checking for $ac_word" >&5
1539 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1540 echo $ac_n "(cached) $ac_c" 1>&6
1542 if test -n "$RANLIB"; then
1543 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1545 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1547 for ac_dir in $ac_dummy; do
1548 test -z "$ac_dir" && ac_dir=.
1549 if test -f $ac_dir/$ac_word; then
1550 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1557 RANLIB="$ac_cv_prog_RANLIB"
1558 if test -n "$RANLIB"; then
1559 echo "$ac_t""$RANLIB" 1>&6
1561 echo "$ac_t""no" 1>&6
1565 if test -z "$ac_cv_prog_RANLIB"; then
1566 if test -n "$ac_tool_prefix"; then
1567 # Extract the first word of "ranlib", so it can be a program name with args.
1568 set dummy ranlib; ac_word=$2
1569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1570 echo "configure:1571: checking for $ac_word" >&5
1571 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1572 echo $ac_n "(cached) $ac_c" 1>&6
1574 if test -n "$RANLIB"; then
1575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1579 for ac_dir in $ac_dummy; do
1580 test -z "$ac_dir" && ac_dir=.
1581 if test -f $ac_dir/$ac_word; then
1582 ac_cv_prog_RANLIB="ranlib"
1587 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1590 RANLIB="$ac_cv_prog_RANLIB"
1591 if test -n "$RANLIB"; then
1592 echo "$ac_t""$RANLIB" 1>&6
1594 echo "$ac_t""no" 1>&6
1598 RANLIB="ranlib-not-found-in-path-error"
1602 # Find a good install program. We prefer a C program (faster),
1603 # so one script is as good as another. But avoid the broken or
1604 # incompatible versions:
1605 # SysV /etc/install, /usr/sbin/install
1606 # SunOS /usr/etc/install
1607 # IRIX /sbin/install
1609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1612 # ./install, which can be erroneously created by make from ./install.sh.
1613 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1614 echo "configure:1615: checking for a BSD compatible install" >&5
1615 if test -z "$INSTALL"; then
1616 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1617 echo $ac_n "(cached) $ac_c" 1>&6
1619 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1620 for ac_dir in $PATH; do
1621 # Account for people who put trailing slashes in PATH elements.
1623 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1625 # OSF1 and SCO ODT 3.0 have their own names for install.
1626 # Don't use installbsd from OSF since it installs stuff as root
1628 for ac_prog in ginstall scoinst install; do
1629 if test -f $ac_dir/$ac_prog; then
1630 if test $ac_prog = install &&
1631 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1632 # AIX install. It has an incompatible calling convention.
1635 ac_cv_path_install="$ac_dir/$ac_prog -c"
1646 if test "${ac_cv_path_install+set}" = set; then
1647 INSTALL="$ac_cv_path_install"
1649 # As a last resort, use the slow shell script. We don't cache a
1650 # path for INSTALL within a source directory, because that will
1651 # break other packages using the cache if that directory is
1652 # removed, or if the path is relative.
1653 INSTALL="$ac_install_sh"
1656 echo "$ac_t""$INSTALL" 1>&6
1658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1659 # It thinks the first close brace ends the variable substitution.
1660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1667 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1668 echo "configure:1669: checking whether to enable maintainer-specific portions of Makefiles" >&5
1669 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1670 if test "${enable_maintainer_mode+set}" = set; then
1671 enableval="$enable_maintainer_mode"
1672 USE_MAINTAINER_MODE=$enableval
1674 USE_MAINTAINER_MODE=no
1677 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1680 if test $USE_MAINTAINER_MODE = yes; then
1681 MAINTAINER_MODE_TRUE=
1682 MAINTAINER_MODE_FALSE='#'
1684 MAINTAINER_MODE_TRUE='#'
1685 MAINTAINER_MODE_FALSE=
1687 MAINT=$MAINTAINER_MODE_TRUE
1691 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1692 # at least currently, we never actually build a program, so we never
1693 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1694 # fails, because we are probably configuring with a cross compiler
1695 # which can't create executables. So we include AC_EXEEXT to keep
1696 # automake happy, but we don't execute it, since we don't care about
1699 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1700 # to nothing, so nothing would remain between `then' and `fi' if it
1701 # were not for the `:' below.
1705 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1706 echo "configure:1707: checking for executable suffix" >&5
1707 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1708 echo $ac_n "(cached) $ac_c" 1>&6
1710 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1714 echo 'int main () { return 0; }' > conftest.$ac_ext
1716 if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1717 for file in conftest.*; do
1719 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1720 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1724 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1727 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1732 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1733 echo "$ac_t""${ac_cv_exeext}" 1>&6
1738 . ${glibcpp_basedir}/configure.host
1740 case ${glibcpp_basedir} in
1741 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1742 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1745 # This does for the target what configure.host does for the host. 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
3157 # Export the build objects.
3158 for ling in $ALL_LINGUAS; do \
3159 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3160 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3165 CLOCALE_H=config/locale/gnu/c_locale.h
3166 CLOCALE_CC=config/locale/gnu/c_locale.cc
3167 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3168 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3169 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3170 CMESSAGES_H=config/locale/gnu/messages_members.h
3171 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3172 CMONEY_CC=config/locale/gnu/monetary_members.cc
3173 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3174 CTIME_CC=config/locale/gnu/time_members.cc
3177 echo "$ac_t""generic" 1>&6
3179 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3180 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3181 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3182 CCOLLATE_CC=config/locale/generic/collate_members.cc
3183 CCTYPE_CC=config/locale/generic/ctype_members.cc
3184 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3185 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3186 CMONEY_CC=config/locale/generic/monetary_members.cc
3187 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3188 CTIME_CC=config/locale/generic/time_members.cc
3191 echo "$enable_clocale is an unknown locale package" 1>&2
3196 # This is where the testsuite looks for locale catalogs, using the
3197 # -DLOCALEDIR define during testsuite compilation.
3198 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3213 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3214 if test "${enable_c_mbchar+set}" = set; then
3215 enableval="$enable_c_mbchar"
3216 case "$enableval" in
3217 yes) enable_c_mbchar=yes ;;
3218 no) enable_c_mbchar=no ;;
3219 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3226 # Check whether --enable-c99 or --disable-c99 was given.
3227 if test "${enable_c99+set}" = set; then
3228 enableval="$enable_c99"
3229 case "$enableval" in
3230 yes) enable_c99=yes ;;
3231 no) enable_c99=no ;;
3232 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3241 ac_cpp='$CXXCPP $CPPFLAGS'
3242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3244 cross_compiling=$ac_cv_prog_cxx_cross
3247 # Check for the existence of <math.h> functions used if C99 is enabled.
3249 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3250 echo "configure:3251: checking for ISO C99 support in <math.h>" >&5
3251 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure"
3253 #include "confdefs.h"
3259 if { (eval echo configure:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3262 echo "configure: failed program was:" >&5
3263 cat conftest.$ac_ext >&5
3268 cat > conftest.$ac_ext <<EOF
3269 #line 3270 "configure"
3270 #include "confdefs.h"
3276 if { (eval echo configure:3277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3279 echo "configure: failed program was:" >&5
3280 cat conftest.$ac_ext >&5
3285 cat > conftest.$ac_ext <<EOF
3286 #line 3287 "configure"
3287 #include "confdefs.h"
3293 if { (eval echo configure:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3296 echo "configure: failed program was:" >&5
3297 cat conftest.$ac_ext >&5
3302 cat > conftest.$ac_ext <<EOF
3303 #line 3304 "configure"
3304 #include "confdefs.h"
3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3313 echo "configure: failed program was:" >&5
3314 cat conftest.$ac_ext >&5
3319 cat > conftest.$ac_ext <<EOF
3320 #line 3321 "configure"
3321 #include "confdefs.h"
3327 if { (eval echo configure:3328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3330 echo "configure: failed program was:" >&5
3331 cat conftest.$ac_ext >&5
3336 cat > conftest.$ac_ext <<EOF
3337 #line 3338 "configure"
3338 #include "confdefs.h"
3344 if { (eval echo configure:3345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3347 echo "configure: failed program was:" >&5
3348 cat conftest.$ac_ext >&5
3353 cat > conftest.$ac_ext <<EOF
3354 #line 3355 "configure"
3355 #include "confdefs.h"
3361 if { (eval echo configure:3362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3364 echo "configure: failed program was:" >&5
3365 cat conftest.$ac_ext >&5
3370 cat > conftest.$ac_ext <<EOF
3371 #line 3372 "configure"
3372 #include "confdefs.h"
3375 isgreaterequal(0.0,0.0);
3378 if { (eval echo configure:3379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3381 echo "configure: failed program was:" >&5
3382 cat conftest.$ac_ext >&5
3387 cat > conftest.$ac_ext <<EOF
3388 #line 3389 "configure"
3389 #include "confdefs.h"
3395 if { (eval echo configure:3396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3398 echo "configure: failed program was:" >&5
3399 cat conftest.$ac_ext >&5
3404 cat > conftest.$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3409 islessequal(0.0,0.0);
3412 if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3415 echo "configure: failed program was:" >&5
3416 cat conftest.$ac_ext >&5
3421 cat > conftest.$ac_ext <<EOF
3422 #line 3423 "configure"
3423 #include "confdefs.h"
3426 islessgreater(0.0,0.0);
3429 if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3432 echo "configure: failed program was:" >&5
3433 cat conftest.$ac_ext >&5
3438 cat > conftest.$ac_ext <<EOF
3439 #line 3440 "configure"
3440 #include "confdefs.h"
3443 isunordered(0.0,0.0);
3446 if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3449 echo "configure: failed program was:" >&5
3450 cat conftest.$ac_ext >&5
3455 echo "$ac_t""$ac_c99_math" 1>&6
3457 # Check for the existence in <stdio.h> of vscanf, et. al.
3459 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3460 echo "configure:3461: checking for ISO C99 support in <stdio.h>" >&5
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure"
3463 #include "confdefs.h"
3466 snprintf("12", 0, "%i");
3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3472 echo "configure: failed program was:" >&5
3473 cat conftest.$ac_ext >&5
3478 cat > conftest.$ac_ext <<EOF
3479 #line 3480 "configure"
3480 #include "confdefs.h"
3483 void foo(char* fmt, ...)
3484 {va_list args; va_start(args, fmt);
3485 vfscanf(stderr, "%i", args);}
3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3493 echo "configure: failed program was:" >&5
3494 cat conftest.$ac_ext >&5
3499 cat > conftest.$ac_ext <<EOF
3500 #line 3501 "configure"
3501 #include "confdefs.h"
3504 void foo(char* fmt, ...)
3505 {va_list args; va_start(args, fmt);
3506 vscanf("%i", args);}
3511 if { (eval echo configure:3512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3514 echo "configure: failed program was:" >&5
3515 cat conftest.$ac_ext >&5
3520 cat > conftest.$ac_ext <<EOF
3521 #line 3522 "configure"
3522 #include "confdefs.h"
3525 void foo(char* fmt, ...)
3526 {va_list args; va_start(args, fmt);
3527 vsnprintf(fmt, 0, "%i", args);}
3532 if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3535 echo "configure: failed program was:" >&5
3536 cat conftest.$ac_ext >&5
3541 cat > conftest.$ac_ext <<EOF
3542 #line 3543 "configure"
3543 #include "confdefs.h"
3546 void foo(char* fmt, ...)
3547 {va_list args; va_start(args, fmt);
3548 vsscanf(fmt, "%i", args);}
3553 if { (eval echo configure:3554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3556 echo "configure: failed program was:" >&5
3557 cat conftest.$ac_ext >&5
3562 echo "$ac_t""$ac_c99_stdio" 1>&6
3564 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3566 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3567 echo "configure:3568: checking for lldiv_t declaration" >&5
3568 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3569 echo $ac_n "(cached) $ac_c" 1>&6
3572 cat > conftest.$ac_ext <<EOF
3573 #line 3574 "configure"
3574 #include "confdefs.h"
3580 if { (eval echo configure:3581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3584 echo "configure: failed program was:" >&5
3585 cat conftest.$ac_ext >&5
3593 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3595 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3596 echo "configure:3597: checking for ISO C99 support in <stdlib.h>" >&5
3597 cat > conftest.$ac_ext <<EOF
3598 #line 3599 "configure"
3599 #include "confdefs.h"
3602 char* tmp; strtof("gnu", &tmp);
3605 if { (eval echo configure:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3608 echo "configure: failed program was:" >&5
3609 cat conftest.$ac_ext >&5
3614 cat > conftest.$ac_ext <<EOF
3615 #line 3616 "configure"
3616 #include "confdefs.h"
3619 char* tmp; strtold("gnu", &tmp);
3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3625 echo "configure: failed program was:" >&5
3626 cat conftest.$ac_ext >&5
3631 cat > conftest.$ac_ext <<EOF
3632 #line 3633 "configure"
3633 #include "confdefs.h"
3639 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3642 echo "configure: failed program was:" >&5
3643 cat conftest.$ac_ext >&5
3648 cat > conftest.$ac_ext <<EOF
3649 #line 3650 "configure"
3650 #include "confdefs.h"
3656 if { (eval echo configure:3657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3659 echo "configure: failed program was:" >&5
3660 cat conftest.$ac_ext >&5
3665 cat > conftest.$ac_ext <<EOF
3666 #line 3667 "configure"
3667 #include "confdefs.h"
3673 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3676 echo "configure: failed program was:" >&5
3677 cat conftest.$ac_ext >&5
3682 cat > conftest.$ac_ext <<EOF
3683 #line 3684 "configure"
3684 #include "confdefs.h"
3690 if { (eval echo configure:3691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3693 echo "configure: failed program was:" >&5
3694 cat conftest.$ac_ext >&5
3699 if test x"$ac_c99_lldiv_t" = x"no"; then
3702 echo "$ac_t""$ac_c99_stdlib" 1>&6
3704 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3705 # XXX the wchar.h checks should be rolled into the general C99 bits.
3707 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3708 echo "configure:3709: checking for additional ISO C99 support in <wchar.h>" >&5
3709 cat > conftest.$ac_ext <<EOF
3710 #line 3711 "configure"
3711 #include "confdefs.h"
3714 wcstold(L"10.0", NULL);
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3720 echo "configure: failed program was:" >&5
3721 cat conftest.$ac_ext >&5
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3731 wcstoll(L"10", NULL, 10);
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 echo "configure: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3743 cat > conftest.$ac_ext <<EOF
3744 #line 3745 "configure"
3745 #include "confdefs.h"
3748 wcstoull(L"10", NULL, 10);
3751 if { (eval echo configure:3752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3754 echo "configure: failed program was:" >&5
3755 cat conftest.$ac_ext >&5
3760 echo "$ac_t""$ac_c99_wchar" 1>&6
3762 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3763 echo "configure:3764: checking for enabled ISO C99 support" >&5
3764 if test x"$ac_c99_math" = x"no" ||
3765 test x"$ac_c99_stdio" = x"no" ||
3766 test x"$ac_c99_stdlib" = x"no" ||
3767 test x"$ac_c99_wchar" = x"no"; then
3770 echo "$ac_t""$enable_c99" 1>&6
3772 # Option parsed, now set things appropriately
3773 if test x"$enable_c99" = x"yes"; then
3774 cat >> confdefs.h <<\EOF
3775 #define _GLIBCPP_USE_C99 1
3781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3785 cross_compiling=$ac_cv_prog_cc_cross
3789 # Check whether --enable-long-long or --disable-long-long was given.
3790 if test "${enable_long_long+set}" = set; then
3791 enableval="$enable_long_long"
3792 case "$enableval" in
3793 yes) enable_long_long=yes ;;
3794 no) enable_long_long=no ;;
3795 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3798 enable_long_long=yes
3803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3804 ac_cpp='$CXXCPP $CPPFLAGS'
3805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3807 cross_compiling=$ac_cv_prog_cxx_cross
3810 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3811 echo "configure:3812: checking for enabled long long I/O support" >&5
3812 # iostreams require strtoll, strtoull to compile
3813 cat > conftest.$ac_ext <<EOF
3814 #line 3815 "configure"
3815 #include "confdefs.h"
3818 char* tmp; strtoll("gnu", &tmp, 10);
3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3824 echo "configure: failed program was:" >&5
3825 cat conftest.$ac_ext >&5
3830 cat > conftest.$ac_ext <<EOF
3831 #line 3832 "configure"
3832 #include "confdefs.h"
3835 char* tmp; strtoull("gnu", &tmp, 10);
3838 if { (eval echo configure:3839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3841 echo "configure: failed program was:" >&5
3842 cat conftest.$ac_ext >&5
3848 # Option parsed, now set things appropriately
3849 if test x"$enable_long_long" = xyes; then
3850 cat >> confdefs.h <<\EOF
3851 #define _GLIBCPP_USE_LONG_LONG 1
3855 echo "$ac_t""$enable_long_long" 1>&6
3858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3859 ac_cpp='$CPP $CPPFLAGS'
3860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3862 cross_compiling=$ac_cv_prog_cc_cross
3865 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3866 echo "configure:3867: checking for c header strategy to use" >&5
3867 # Check whether --enable-cheaders or --disable-cheaders was given.
3868 if test "${enable_cheaders+set}" = set; then
3869 enableval="$enable_cheaders"
3871 case "$enableval" in
3876 enable_cheaders=c_std
3879 enable_cheaders=c_shadow
3881 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3885 enable_cheaders=c_std
3888 echo "$ac_t""$enable_cheaders" 1>&6
3890 case "$enable_cheaders" in
3892 CSHADOW_FLAGS="-fno-builtin"
3893 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3897 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3901 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3909 if test "$enable_cheaders" = c; then
3910 GLIBCPP_C_HEADERS_C_TRUE=
3911 GLIBCPP_C_HEADERS_C_FALSE='#'
3913 GLIBCPP_C_HEADERS_C_TRUE='#'
3914 GLIBCPP_C_HEADERS_C_FALSE=
3918 if test "$enable_cheaders" = c_std; then
3919 GLIBCPP_C_HEADERS_C_STD_TRUE=
3920 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3922 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3923 GLIBCPP_C_HEADERS_C_STD_FALSE=
3927 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3928 echo "configure:3929: checking for thread model used by GCC" >&5
3929 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3930 echo "$ac_t""$target_thread_file" 1>&6
3932 if test $target_thread_file != single; then
3933 cat >> confdefs.h <<\EOF
3934 #define HAVE_GTHR_DEFAULT 1
3937 cat >> confdefs.h <<\EOF
3938 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3943 glibcpp_thread_h=gthr-$target_thread_file.h
3946 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3947 if test "${enable_cxx_flags+set}" = set; then
3948 enableval="$enable_cxx_flags"
3949 case "x$enableval" in
3951 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3953 enable_cxx_flags='' ;;
3955 enable_cxx_flags="$enableval" ;;
3958 enable_cxx_flags='none'
3962 if test "$enable_cxx_flags" = "none"; then
3963 enable_cxx_flags='';
3966 if test -n "$enable_cxx_flags"; then
3967 for f in $enable_cxx_flags; do
3971 *) # and we're trying to pass /what/ exactly?
3972 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3976 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3980 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3981 echo "configure:3982: checking for exception model to use" >&5
3984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3985 ac_cpp='$CXXCPP $CPPFLAGS'
3986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3988 cross_compiling=$ac_cv_prog_cxx_cross
3990 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3991 if test "${enable_sjlj_exceptions+set}" = set; then
3992 enableval="$enable_sjlj_exceptions"
3995 cat > conftest.$ac_ext << EOF
3996 #line 3997 "configure"
4005 old_CXXFLAGS="$CXXFLAGS"
4007 if { (eval echo configure:4008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4008 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4009 enable_sjlj_exceptions=yes
4010 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4011 enable_sjlj_exceptions=no
4014 CXXFLAGS="$old_CXXFLAGS"
4018 if test x$enable_sjlj_exceptions = xyes; then
4019 cat >> confdefs.h <<\EOF
4020 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4023 ac_exception_model_name=sjlj
4024 elif test x$enable_sjlj_exceptions = xno; then
4025 ac_exception_model_name="call frame"
4027 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4031 ac_cpp='$CPP $CPPFLAGS'
4032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4034 cross_compiling=$ac_cv_prog_cc_cross
4036 echo "$ac_t""$ac_exception_model_name" 1>&6
4039 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4040 echo "configure:4041: checking for use of libunwind" >&5
4041 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4042 if test "${enable_libunwind_exceptions+set}" = set; then
4043 enableval="$enable_libunwind_exceptions"
4044 use_libunwind_exceptions=$enableval
4046 use_libunwind_exceptions=no
4049 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4050 if test x"$use_libunwind_exceptions" = xyes; then
4051 LIBUNWIND_FLAG="-lunwind"
4057 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4058 if test "${enable_concept_checks+set}" = set; then
4059 enableval="$enable_concept_checks"
4060 case "$enableval" in
4061 yes) enable_concept_checks=yes ;;
4062 no) enable_concept_checks=no ;;
4063 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4066 enable_concept_checks=no
4068 if test x"$enable_concept_checks" = xyes; then
4069 cat >> confdefs.h <<\EOF
4070 #define _GLIBCPP_CONCEPT_CHECKS 1
4076 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4077 for ac_hdr in string.h stdlib.h
4079 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4080 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4081 echo "configure:4082: checking for $ac_hdr" >&5
4082 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4083 echo $ac_n "(cached) $ac_c" 1>&6
4085 cat > conftest.$ac_ext <<EOF
4086 #line 4087 "configure"
4087 #include "confdefs.h"
4090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4091 { (eval echo configure:4092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4093 if test -z "$ac_err"; then
4095 eval "ac_cv_header_$ac_safe=yes"
4098 echo "configure: failed program was:" >&5
4099 cat conftest.$ac_ext >&5
4101 eval "ac_cv_header_$ac_safe=no"
4105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4106 echo "$ac_t""yes" 1>&6
4107 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4108 cat >> confdefs.h <<EOF
4109 #define $ac_tr_hdr 1
4113 echo "$ac_t""no" 1>&6
4118 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4120 # This lets us hard-code the functionality we know
4121 # we'll have in the cross target environment. "Let" is a
4122 # sugar-coated word placed on an especially dull and tedious hack, actually.
4123 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4124 # that involve linking can't be used:
4125 # "cannot open sim-crt0.o"
4126 # "cannot open crt0.o"
4127 # etc. All this is because there currently exists no unified,
4128 # consistent way for top level CC information to be passed down
4129 # to target directories: newlib includes, newlib linking info,
4130 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4131 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4133 # We are being configured with some form of cross compiler.
4134 GLIBCPP_IS_CROSS_COMPILING=1
4136 # If Canadian cross, then don't pick up tools from the build
4138 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4144 # Construct crosses by hand, eliminating bits that need ld...
4145 # GLIBCPP_CHECK_COMPILER_FEATURES
4146 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4147 # GLIBCPP_CHECK_MATH_SUPPORT
4149 case "$target_alias" in
4151 # Check for available headers.
4152 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4153 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4154 fp.h locale.h float.h inttypes.h
4156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4158 echo "configure:4159: checking for $ac_hdr" >&5
4159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4160 echo $ac_n "(cached) $ac_c" 1>&6
4162 cat > conftest.$ac_ext <<EOF
4163 #line 4164 "configure"
4164 #include "confdefs.h"
4167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4168 { (eval echo configure:4169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4170 if test -z "$ac_err"; then
4172 eval "ac_cv_header_$ac_safe=yes"
4175 echo "configure: failed program was:" >&5
4176 cat conftest.$ac_ext >&5
4178 eval "ac_cv_header_$ac_safe=no"
4182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4183 echo "$ac_t""yes" 1>&6
4184 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4185 cat >> confdefs.h <<EOF
4186 #define $ac_tr_hdr 1
4190 echo "$ac_t""no" 1>&6
4194 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4197 # If we're not using GNU ld, then there's no point in even trying these
4198 # tests. Check for that first. We should have already tested for gld
4199 # by now (in libtool), but require it now just to be safe...
4200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4204 # The name set by libtool depends on the version of libtool. Shame on us
4205 # for depending on an impl detail, but c'est la vie. Older versions used
4206 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4207 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4208 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4209 # set (hence we're using an older libtool), then set it.
4210 if test x${with_gnu_ld+set} != xset; then
4211 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4212 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4215 with_gnu_ld=$ac_cv_prog_gnu_ld
4219 # Start by getting the version number. I think the libtool test already
4220 # does some of this, but throws away the result.
4222 ldver=`$LD --version 2>/dev/null | head -1 | \
4223 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4225 glibcpp_gnu_ld_version=`echo $ldver | \
4226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4228 # Set --gc-sections.
4229 if test "$with_gnu_ld" = "notbroken"; then
4230 # GNU ld it is! Joy and bunny rabbits!
4232 # All these tests are for C++; save the language and the compiler flags.
4233 # Need to do this so that g++ won't try to link in libstdc++
4234 ac_test_CFLAGS="${CFLAGS+set}"
4235 ac_save_CFLAGS="$CFLAGS"
4236 CFLAGS='-x c++ -Wl,--gc-sections'
4238 # Check for -Wl,--gc-sections
4239 # XXX This test is broken at the moment, as symbols required for
4240 # linking are now in libsupc++ (not built yet.....). In addition,
4241 # this test has cored on solaris in the past. In addition,
4242 # --gc-sections doesn't really work at the moment (keeps on discarding
4243 # used sections, first .eh_frame and now some of the glibc sections for
4244 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4245 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4246 echo "configure:4247: checking for ld that supports -Wl,--gc-sections" >&5
4247 if test "$cross_compiling" = yes; then
4248 ac_sectionLDflags=yes
4250 cat > conftest.$ac_ext <<EOF
4251 #line 4252 "configure"
4252 #include "confdefs.h"
4262 if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4264 ac_sectionLDflags=yes
4266 echo "configure: failed program was:" >&5
4267 cat conftest.$ac_ext >&5
4269 ac_sectionLDflags=no
4274 if test "$ac_test_CFLAGS" = set; then
4275 CFLAGS="$ac_save_CFLAGS"
4277 # this is the suspicious part
4280 if test "$ac_sectionLDflags" = "yes"; then
4281 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4283 echo "$ac_t""$ac_sectionLDflags" 1>&6
4286 # Set linker optimization flags.
4287 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4295 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4296 echo "configure:4297: checking for main in -lm" >&5
4297 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4299 echo $ac_n "(cached) $ac_c" 1>&6
4301 ac_save_LIBS="$LIBS"
4303 cat > conftest.$ac_ext <<EOF
4304 #line 4305 "configure"
4305 #include "confdefs.h"
4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4313 eval "ac_cv_lib_$ac_lib_var=yes"
4315 echo "configure: failed program was:" >&5
4316 cat conftest.$ac_ext >&5
4318 eval "ac_cv_lib_$ac_lib_var=no"
4321 LIBS="$ac_save_LIBS"
4324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4325 echo "$ac_t""yes" 1>&6
4326 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4327 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4328 cat >> confdefs.h <<EOF
4329 #define $ac_tr_lib 1
4335 echo "$ac_t""no" 1>&6
4338 for ac_func in nan copysignf
4340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4341 echo "configure:4342: checking for $ac_func" >&5
4342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4343 echo $ac_n "(cached) $ac_c" 1>&6
4345 cat > conftest.$ac_ext <<EOF
4346 #line 4347 "configure"
4347 #include "confdefs.h"
4348 /* System header to define __stub macros and hopefully few prototypes,
4349 which can conflict with char $ac_func(); below. */
4351 /* Override any gcc2 internal prototype to avoid an error. */
4352 /* We use char because int might match the return type of a gcc2
4353 builtin and then its argument prototype would still apply. */
4358 /* The GNU C library defines this for functions which it implements
4359 to always fail with ENOSYS. Some functions are actually named
4360 something starting with __ and the normal name is an alias. */
4361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4369 if { (eval echo configure:4370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4371 eval "ac_cv_func_$ac_func=yes"
4373 echo "configure: failed program was:" >&5
4374 cat conftest.$ac_ext >&5
4376 eval "ac_cv_func_$ac_func=no"
4381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4382 echo "$ac_t""yes" 1>&6
4383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4384 cat >> confdefs.h <<EOF
4385 #define $ac_tr_func 1
4389 echo "$ac_t""no" 1>&6
4390 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4395 for ac_func in __signbit
4397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4398 echo "configure:4399: checking for $ac_func" >&5
4399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4400 echo $ac_n "(cached) $ac_c" 1>&6
4402 cat > conftest.$ac_ext <<EOF
4403 #line 4404 "configure"
4404 #include "confdefs.h"
4405 /* System header to define __stub macros and hopefully few prototypes,
4406 which can conflict with char $ac_func(); below. */
4408 /* Override any gcc2 internal prototype to avoid an error. */
4409 /* We use char because int might match the return type of a gcc2
4410 builtin and then its argument prototype would still apply. */
4415 /* The GNU C library defines this for functions which it implements
4416 to always fail with ENOSYS. Some functions are actually named
4417 something starting with __ and the normal name is an alias. */
4418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4426 if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4428 eval "ac_cv_func_$ac_func=yes"
4430 echo "configure: failed program was:" >&5
4431 cat conftest.$ac_ext >&5
4433 eval "ac_cv_func_$ac_func=no"
4438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4439 echo "$ac_t""yes" 1>&6
4440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4441 cat >> confdefs.h <<EOF
4442 #define $ac_tr_func 1
4446 echo "$ac_t""no" 1>&6
4447 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4451 for ac_func in __signbitf
4453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4454 echo "configure:4455: checking for $ac_func" >&5
4455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4456 echo $ac_n "(cached) $ac_c" 1>&6
4458 cat > conftest.$ac_ext <<EOF
4459 #line 4460 "configure"
4460 #include "confdefs.h"
4461 /* System header to define __stub macros and hopefully few prototypes,
4462 which can conflict with char $ac_func(); below. */
4464 /* Override any gcc2 internal prototype to avoid an error. */
4465 /* We use char because int might match the return type of a gcc2
4466 builtin and then its argument prototype would still apply. */
4471 /* The GNU C library defines this for functions which it implements
4472 to always fail with ENOSYS. Some functions are actually named
4473 something starting with __ and the normal name is an alias. */
4474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4482 if { (eval echo configure:4483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4484 eval "ac_cv_func_$ac_func=yes"
4486 echo "configure: failed program was:" >&5
4487 cat conftest.$ac_ext >&5
4489 eval "ac_cv_func_$ac_func=no"
4494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4495 echo "$ac_t""yes" 1>&6
4496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4497 cat >> confdefs.h <<EOF
4498 #define $ac_tr_func 1
4502 echo "$ac_t""no" 1>&6
4503 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4508 if test x$ac_cv_func_copysignl = x"yes"; then
4509 for ac_func in __signbitl
4511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4512 echo "configure:4513: checking for $ac_func" >&5
4513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4514 echo $ac_n "(cached) $ac_c" 1>&6
4516 cat > conftest.$ac_ext <<EOF
4517 #line 4518 "configure"
4518 #include "confdefs.h"
4519 /* System header to define __stub macros and hopefully few prototypes,
4520 which can conflict with char $ac_func(); below. */
4522 /* Override any gcc2 internal prototype to avoid an error. */
4523 /* We use char because int might match the return type of a gcc2
4524 builtin and then its argument prototype would still apply. */
4529 /* The GNU C library defines this for functions which it implements
4530 to always fail with ENOSYS. Some functions are actually named
4531 something starting with __ and the normal name is an alias. */
4532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4540 if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4542 eval "ac_cv_func_$ac_func=yes"
4544 echo "configure: failed program was:" >&5
4545 cat conftest.$ac_ext >&5
4547 eval "ac_cv_func_$ac_func=no"
4552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4553 echo "$ac_t""yes" 1>&6
4554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4555 cat >> confdefs.h <<EOF
4556 #define $ac_tr_func 1
4560 echo "$ac_t""no" 1>&6
4561 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4571 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4572 echo "configure:4573: checking for mbstate_t" >&5
4573 cat > conftest.$ac_ext <<EOF
4574 #line 4575 "configure"
4575 #include "confdefs.h"
4578 mbstate_t teststate;
4581 if { (eval echo configure:4582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4585 echo "configure: failed program was:" >&5
4586 cat conftest.$ac_ext >&5
4591 echo "$ac_t""$have_mbstate_t" 1>&6
4592 if test x"$have_mbstate_t" = xyes; then
4593 cat >> confdefs.h <<\EOF
4594 #define HAVE_MBSTATE_T 1
4599 for ac_hdr in wchar.h
4601 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4603 echo "configure:4604: checking for $ac_hdr" >&5
4604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4605 echo $ac_n "(cached) $ac_c" 1>&6
4607 cat > conftest.$ac_ext <<EOF
4608 #line 4609 "configure"
4609 #include "confdefs.h"
4612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4613 { (eval echo configure:4614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4615 if test -z "$ac_err"; then
4617 eval "ac_cv_header_$ac_safe=yes"
4620 echo "configure: failed program was:" >&5
4621 cat conftest.$ac_ext >&5
4623 eval "ac_cv_header_$ac_safe=no"
4627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4628 echo "$ac_t""yes" 1>&6
4629 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4630 cat >> confdefs.h <<EOF
4631 #define $ac_tr_hdr 1
4635 echo "$ac_t""no" 1>&6
4640 for ac_hdr in wctype.h
4642 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4644 echo "configure:4645: checking for $ac_hdr" >&5
4645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4646 echo $ac_n "(cached) $ac_c" 1>&6
4648 cat > conftest.$ac_ext <<EOF
4649 #line 4650 "configure"
4650 #include "confdefs.h"
4653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4654 { (eval echo configure:4655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4656 if test -z "$ac_err"; then
4658 eval "ac_cv_header_$ac_safe=yes"
4661 echo "configure: failed program was:" >&5
4662 cat conftest.$ac_ext >&5
4664 eval "ac_cv_header_$ac_safe=no"
4668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4669 echo "$ac_t""yes" 1>&6
4670 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4671 cat >> confdefs.h <<EOF
4672 #define $ac_tr_hdr 1
4676 echo "$ac_t""no" 1>&6
4682 if test x"$ac_has_wchar_h" = xyes &&
4683 test x"$ac_has_wctype_h" = xyes &&
4684 test x"$enable_c_mbchar" != xno; then
4686 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4687 echo "configure:4688: checking for WCHAR_MIN and WCHAR_MAX" >&5
4688 cat > conftest.$ac_ext <<EOF
4689 #line 4690 "configure"
4690 #include "confdefs.h"
4693 int i = WCHAR_MIN; int j = WCHAR_MAX;
4696 if { (eval echo configure:4697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4698 has_wchar_minmax=yes
4700 echo "configure: failed program was:" >&5
4701 cat conftest.$ac_ext >&5
4706 echo "$ac_t""$has_wchar_minmax" 1>&6
4708 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4709 echo "configure:4710: checking for WEOF" >&5
4710 cat > conftest.$ac_ext <<EOF
4711 #line 4712 "configure"
4712 #include "confdefs.h"
4720 if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4724 echo "configure: failed program was:" >&5
4725 cat conftest.$ac_ext >&5
4730 echo "$ac_t""$has_weof" 1>&6
4733 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4736 echo "configure:4737: checking for $ac_func" >&5
4737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4738 echo $ac_n "(cached) $ac_c" 1>&6
4740 cat > conftest.$ac_ext <<EOF
4741 #line 4742 "configure"
4742 #include "confdefs.h"
4743 /* System header to define __stub macros and hopefully few prototypes,
4744 which can conflict with char $ac_func(); below. */
4746 /* Override any gcc2 internal prototype to avoid an error. */
4747 /* We use char because int might match the return type of a gcc2
4748 builtin and then its argument prototype would still apply. */
4753 /* The GNU C library defines this for functions which it implements
4754 to always fail with ENOSYS. Some functions are actually named
4755 something starting with __ and the normal name is an alias. */
4756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4766 eval "ac_cv_func_$ac_func=yes"
4768 echo "configure: failed program was:" >&5
4769 cat conftest.$ac_ext >&5
4771 eval "ac_cv_func_$ac_func=no"
4776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4777 echo "$ac_t""yes" 1>&6
4778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4779 cat >> confdefs.h <<EOF
4780 #define $ac_tr_func 1
4784 echo "$ac_t""no" 1>&6
4791 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4792 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4793 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4794 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4795 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4796 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4799 echo "configure:4800: checking for $ac_func" >&5
4800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4801 echo $ac_n "(cached) $ac_c" 1>&6
4803 cat > conftest.$ac_ext <<EOF
4804 #line 4805 "configure"
4805 #include "confdefs.h"
4806 /* System header to define __stub macros and hopefully few prototypes,
4807 which can conflict with char $ac_func(); below. */
4809 /* Override any gcc2 internal prototype to avoid an error. */
4810 /* We use char because int might match the return type of a gcc2
4811 builtin and then its argument prototype would still apply. */
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4827 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4829 eval "ac_cv_func_$ac_func=yes"
4831 echo "configure: failed program was:" >&5
4832 cat conftest.$ac_ext >&5
4834 eval "ac_cv_func_$ac_func=no"
4839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4840 echo "$ac_t""yes" 1>&6
4841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4842 cat >> confdefs.h <<EOF
4843 #define $ac_tr_func 1
4847 echo "$ac_t""no" 1>&6
4854 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4855 echo "configure:4856: checking for ISO C99 wchar_t support" >&5
4856 if test x"$has_weof" = xyes &&
4857 test x"$has_wchar_minmax" = xyes &&
4858 test x"$ac_wfuncs" = xyes; then
4859 ac_isoC99_wchar_t=yes
4861 ac_isoC99_wchar_t=no
4863 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4865 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4866 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4867 echo "configure:4868: checking for iconv.h" >&5
4868 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4869 echo $ac_n "(cached) $ac_c" 1>&6
4871 cat > conftest.$ac_ext <<EOF
4872 #line 4873 "configure"
4873 #include "confdefs.h"
4876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4877 { (eval echo configure:4878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4878 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4879 if test -z "$ac_err"; then
4881 eval "ac_cv_header_$ac_safe=yes"
4884 echo "configure: failed program was:" >&5
4885 cat conftest.$ac_ext >&5
4887 eval "ac_cv_header_$ac_safe=no"
4891 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4892 echo "$ac_t""yes" 1>&6
4895 echo "$ac_t""no" 1>&6
4899 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4900 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4901 echo "configure:4902: checking for langinfo.h" >&5
4902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4903 echo $ac_n "(cached) $ac_c" 1>&6
4905 cat > conftest.$ac_ext <<EOF
4906 #line 4907 "configure"
4907 #include "confdefs.h"
4908 #include <langinfo.h>
4910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4911 { (eval echo configure:4912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4913 if test -z "$ac_err"; then
4915 eval "ac_cv_header_$ac_safe=yes"
4918 echo "configure: failed program was:" >&5
4919 cat conftest.$ac_ext >&5
4921 eval "ac_cv_header_$ac_safe=no"
4925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4926 echo "$ac_t""yes" 1>&6
4927 ac_has_langinfo_h=yes
4929 echo "$ac_t""no" 1>&6
4930 ac_has_langinfo_h=no
4934 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4935 echo "configure:4936: checking for iconv in -liconv" >&5
4936 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4938 echo $ac_n "(cached) $ac_c" 1>&6
4940 ac_save_LIBS="$LIBS"
4941 LIBS="-liconv $LIBS"
4942 cat > conftest.$ac_ext <<EOF
4943 #line 4944 "configure"
4944 #include "confdefs.h"
4945 /* Override any gcc2 internal prototype to avoid an error. */
4946 /* We use char because int might match the return type of a gcc2
4947 builtin and then its argument prototype would still apply. */
4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4956 eval "ac_cv_lib_$ac_lib_var=yes"
4958 echo "configure: failed program was:" >&5
4959 cat conftest.$ac_ext >&5
4961 eval "ac_cv_lib_$ac_lib_var=no"
4964 LIBS="$ac_save_LIBS"
4967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4968 echo "$ac_t""yes" 1>&6
4971 echo "$ac_t""no" 1>&6
4974 ac_save_LIBS="$LIBS"
4975 LIBS="$LIBS $libiconv"
4977 for ac_func in iconv_open iconv_close iconv nl_langinfo
4979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4980 echo "configure:4981: checking for $ac_func" >&5
4981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4982 echo $ac_n "(cached) $ac_c" 1>&6
4984 cat > conftest.$ac_ext <<EOF
4985 #line 4986 "configure"
4986 #include "confdefs.h"
4987 /* System header to define __stub macros and hopefully few prototypes,
4988 which can conflict with char $ac_func(); below. */
4990 /* Override any gcc2 internal prototype to avoid an error. */
4991 /* We use char because int might match the return type of a gcc2
4992 builtin and then its argument prototype would still apply. */
4997 /* The GNU C library defines this for functions which it implements
4998 to always fail with ENOSYS. Some functions are actually named
4999 something starting with __ and the normal name is an alias. */
5000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5008 if { (eval echo configure:5009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5010 eval "ac_cv_func_$ac_func=yes"
5012 echo "configure: failed program was:" >&5
5013 cat conftest.$ac_ext >&5
5015 eval "ac_cv_func_$ac_func=no"
5020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5021 echo "$ac_t""yes" 1>&6
5022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5023 cat >> confdefs.h <<EOF
5024 #define $ac_tr_func 1
5029 echo "$ac_t""no" 1>&6
5035 LIBS="$ac_save_LIBS"
5037 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5038 echo "configure:5039: checking for XPG2 wchar_t support" >&5
5039 if test x"$ac_has_iconv_h" = xyes &&
5040 test x"$ac_has_langinfo_h" = xyes &&
5041 test x"$ac_XPG2funcs" = xyes; then
5046 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5048 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5049 echo "configure:5050: checking for enabled wchar_t specializations" >&5
5050 if test x"$ac_isoC99_wchar_t" = xyes &&
5051 test x"$ac_XPG2_wchar_t" = xyes; then
5052 cat >> confdefs.h <<\EOF
5053 #define _GLIBCPP_USE_WCHAR_T 1
5056 echo "$ac_t"""yes"" 1>&6
5058 echo "$ac_t"""no"" 1>&6
5061 echo "configure: warning: wchar_t support disabled." 1>&2
5064 os_include_dir="config/os/gnu-linux"
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_COPYSIGN 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_COPYSIGNF 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_FINITEF 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_FREXPF 1
5081 cat >> confdefs.h <<\EOF
5082 #define HAVE_HYPOTF 1
5085 cat >> confdefs.h <<\EOF
5086 #define HAVE_SINCOS 1
5089 cat >> confdefs.h <<\EOF
5090 #define HAVE_SINCOSF 1
5093 if test x"long_double_math_on_this_cpu" = x"yes"; then
5094 cat >> confdefs.h <<\EOF
5095 #define HAVE_HYPOTL 1
5101 # Check for available headers.
5102 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5103 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5104 fp.h locale.h float.h inttypes.h
5106 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5108 echo "configure:5109: checking for $ac_hdr" >&5
5109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5110 echo $ac_n "(cached) $ac_c" 1>&6
5112 cat > conftest.$ac_ext <<EOF
5113 #line 5114 "configure"
5114 #include "confdefs.h"
5117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5118 { (eval echo configure:5119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5120 if test -z "$ac_err"; then
5122 eval "ac_cv_header_$ac_safe=yes"
5125 echo "configure: failed program was:" >&5
5126 cat conftest.$ac_ext >&5
5128 eval "ac_cv_header_$ac_safe=no"
5132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5133 echo "$ac_t""yes" 1>&6
5134 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5135 cat >> confdefs.h <<EOF
5136 #define $ac_tr_hdr 1
5140 echo "$ac_t""no" 1>&6
5144 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5147 # If we're not using GNU ld, then there's no point in even trying these
5148 # tests. Check for that first. We should have already tested for gld
5149 # by now (in libtool), but require it now just to be safe...
5150 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5151 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5154 # The name set by libtool depends on the version of libtool. Shame on us
5155 # for depending on an impl detail, but c'est la vie. Older versions used
5156 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5157 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5158 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5159 # set (hence we're using an older libtool), then set it.
5160 if test x${with_gnu_ld+set} != xset; then
5161 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5162 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5165 with_gnu_ld=$ac_cv_prog_gnu_ld
5169 # Start by getting the version number. I think the libtool test already
5170 # does some of this, but throws away the result.
5172 ldver=`$LD --version 2>/dev/null | head -1 | \
5173 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5175 glibcpp_gnu_ld_version=`echo $ldver | \
5176 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5178 # Set --gc-sections.
5179 if test "$with_gnu_ld" = "notbroken"; then
5180 # GNU ld it is! Joy and bunny rabbits!
5182 # All these tests are for C++; save the language and the compiler flags.
5183 # Need to do this so that g++ won't try to link in libstdc++
5184 ac_test_CFLAGS="${CFLAGS+set}"
5185 ac_save_CFLAGS="$CFLAGS"
5186 CFLAGS='-x c++ -Wl,--gc-sections'
5188 # Check for -Wl,--gc-sections
5189 # XXX This test is broken at the moment, as symbols required for
5190 # linking are now in libsupc++ (not built yet.....). In addition,
5191 # this test has cored on solaris in the past. In addition,
5192 # --gc-sections doesn't really work at the moment (keeps on discarding
5193 # used sections, first .eh_frame and now some of the glibc sections for
5194 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5195 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5196 echo "configure:5197: checking for ld that supports -Wl,--gc-sections" >&5
5197 if test "$cross_compiling" = yes; then
5198 ac_sectionLDflags=yes
5200 cat > conftest.$ac_ext <<EOF
5201 #line 5202 "configure"
5202 #include "confdefs.h"
5212 if { (eval echo configure:5213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5214 ac_sectionLDflags=yes
5216 echo "configure: failed program was:" >&5
5217 cat conftest.$ac_ext >&5
5219 ac_sectionLDflags=no
5224 if test "$ac_test_CFLAGS" = set; then
5225 CFLAGS="$ac_save_CFLAGS"
5227 # this is the suspicious part
5230 if test "$ac_sectionLDflags" = "yes"; then
5231 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5233 echo "$ac_t""$ac_sectionLDflags" 1>&6
5236 # Set linker optimization flags.
5237 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5238 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5245 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5246 echo "configure:5247: checking for main in -lm" >&5
5247 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5248 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5249 echo $ac_n "(cached) $ac_c" 1>&6
5251 ac_save_LIBS="$LIBS"
5253 cat > conftest.$ac_ext <<EOF
5254 #line 5255 "configure"
5255 #include "confdefs.h"
5261 if { (eval echo configure:5262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5263 eval "ac_cv_lib_$ac_lib_var=yes"
5265 echo "configure: failed program was:" >&5
5266 cat conftest.$ac_ext >&5
5268 eval "ac_cv_lib_$ac_lib_var=no"
5271 LIBS="$ac_save_LIBS"
5274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5275 echo "$ac_t""yes" 1>&6
5276 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5277 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5278 cat >> confdefs.h <<EOF
5279 #define $ac_tr_lib 1
5285 echo "$ac_t""no" 1>&6
5288 for ac_func in nan copysignf
5290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5291 echo "configure:5292: checking for $ac_func" >&5
5292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5293 echo $ac_n "(cached) $ac_c" 1>&6
5295 cat > conftest.$ac_ext <<EOF
5296 #line 5297 "configure"
5297 #include "confdefs.h"
5298 /* System header to define __stub macros and hopefully few prototypes,
5299 which can conflict with char $ac_func(); below. */
5301 /* Override any gcc2 internal prototype to avoid an error. */
5302 /* We use char because int might match the return type of a gcc2
5303 builtin and then its argument prototype would still apply. */
5308 /* The GNU C library defines this for functions which it implements
5309 to always fail with ENOSYS. Some functions are actually named
5310 something starting with __ and the normal name is an alias. */
5311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5319 if { (eval echo configure:5320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5321 eval "ac_cv_func_$ac_func=yes"
5323 echo "configure: failed program was:" >&5
5324 cat conftest.$ac_ext >&5
5326 eval "ac_cv_func_$ac_func=no"
5331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5332 echo "$ac_t""yes" 1>&6
5333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5334 cat >> confdefs.h <<EOF
5335 #define $ac_tr_func 1
5339 echo "$ac_t""no" 1>&6
5340 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5345 for ac_func in __signbit
5347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5348 echo "configure:5349: checking for $ac_func" >&5
5349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5350 echo $ac_n "(cached) $ac_c" 1>&6
5352 cat > conftest.$ac_ext <<EOF
5353 #line 5354 "configure"
5354 #include "confdefs.h"
5355 /* System header to define __stub macros and hopefully few prototypes,
5356 which can conflict with char $ac_func(); below. */
5358 /* Override any gcc2 internal prototype to avoid an error. */
5359 /* We use char because int might match the return type of a gcc2
5360 builtin and then its argument prototype would still apply. */
5365 /* The GNU C library defines this for functions which it implements
5366 to always fail with ENOSYS. Some functions are actually named
5367 something starting with __ and the normal name is an alias. */
5368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5378 eval "ac_cv_func_$ac_func=yes"
5380 echo "configure: failed program was:" >&5
5381 cat conftest.$ac_ext >&5
5383 eval "ac_cv_func_$ac_func=no"
5388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5389 echo "$ac_t""yes" 1>&6
5390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5391 cat >> confdefs.h <<EOF
5392 #define $ac_tr_func 1
5396 echo "$ac_t""no" 1>&6
5397 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5401 for ac_func in __signbitf
5403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5404 echo "configure:5405: checking for $ac_func" >&5
5405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5406 echo $ac_n "(cached) $ac_c" 1>&6
5408 cat > conftest.$ac_ext <<EOF
5409 #line 5410 "configure"
5410 #include "confdefs.h"
5411 /* System header to define __stub macros and hopefully few prototypes,
5412 which can conflict with char $ac_func(); below. */
5414 /* Override any gcc2 internal prototype to avoid an error. */
5415 /* We use char because int might match the return type of a gcc2
5416 builtin and then its argument prototype would still apply. */
5421 /* The GNU C library defines this for functions which it implements
5422 to always fail with ENOSYS. Some functions are actually named
5423 something starting with __ and the normal name is an alias. */
5424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5434 eval "ac_cv_func_$ac_func=yes"
5436 echo "configure: failed program was:" >&5
5437 cat conftest.$ac_ext >&5
5439 eval "ac_cv_func_$ac_func=no"
5444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5445 echo "$ac_t""yes" 1>&6
5446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5447 cat >> confdefs.h <<EOF
5448 #define $ac_tr_func 1
5452 echo "$ac_t""no" 1>&6
5453 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5458 if test x$ac_cv_func_copysignl = x"yes"; then
5459 for ac_func in __signbitl
5461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5462 echo "configure:5463: checking for $ac_func" >&5
5463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5464 echo $ac_n "(cached) $ac_c" 1>&6
5466 cat > conftest.$ac_ext <<EOF
5467 #line 5468 "configure"
5468 #include "confdefs.h"
5469 /* System header to define __stub macros and hopefully few prototypes,
5470 which can conflict with char $ac_func(); below. */
5472 /* Override any gcc2 internal prototype to avoid an error. */
5473 /* We use char because int might match the return type of a gcc2
5474 builtin and then its argument prototype would still apply. */
5479 /* The GNU C library defines this for functions which it implements
5480 to always fail with ENOSYS. Some functions are actually named
5481 something starting with __ and the normal name is an alias. */
5482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5490 if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5492 eval "ac_cv_func_$ac_func=yes"
5494 echo "configure: failed program was:" >&5
5495 cat conftest.$ac_ext >&5
5497 eval "ac_cv_func_$ac_func=no"
5502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5503 echo "$ac_t""yes" 1>&6
5504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5505 cat >> confdefs.h <<EOF
5506 #define $ac_tr_func 1
5510 echo "$ac_t""no" 1>&6
5511 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5521 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5522 echo "configure:5523: checking for mbstate_t" >&5
5523 cat > conftest.$ac_ext <<EOF
5524 #line 5525 "configure"
5525 #include "confdefs.h"
5528 mbstate_t teststate;
5531 if { (eval echo configure:5532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5535 echo "configure: failed program was:" >&5
5536 cat conftest.$ac_ext >&5
5541 echo "$ac_t""$have_mbstate_t" 1>&6
5542 if test x"$have_mbstate_t" = xyes; then
5543 cat >> confdefs.h <<\EOF
5544 #define HAVE_MBSTATE_T 1
5549 for ac_hdr in wchar.h
5551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5553 echo "configure:5554: checking for $ac_hdr" >&5
5554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5555 echo $ac_n "(cached) $ac_c" 1>&6
5557 cat > conftest.$ac_ext <<EOF
5558 #line 5559 "configure"
5559 #include "confdefs.h"
5562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5563 { (eval echo configure:5564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5565 if test -z "$ac_err"; then
5567 eval "ac_cv_header_$ac_safe=yes"
5570 echo "configure: failed program was:" >&5
5571 cat conftest.$ac_ext >&5
5573 eval "ac_cv_header_$ac_safe=no"
5577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5578 echo "$ac_t""yes" 1>&6
5579 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5580 cat >> confdefs.h <<EOF
5581 #define $ac_tr_hdr 1
5585 echo "$ac_t""no" 1>&6
5590 for ac_hdr in wctype.h
5592 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5593 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5594 echo "configure:5595: checking for $ac_hdr" >&5
5595 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5596 echo $ac_n "(cached) $ac_c" 1>&6
5598 cat > conftest.$ac_ext <<EOF
5599 #line 5600 "configure"
5600 #include "confdefs.h"
5603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5604 { (eval echo configure:5605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5606 if test -z "$ac_err"; then
5608 eval "ac_cv_header_$ac_safe=yes"
5611 echo "configure: failed program was:" >&5
5612 cat conftest.$ac_ext >&5
5614 eval "ac_cv_header_$ac_safe=no"
5618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5619 echo "$ac_t""yes" 1>&6
5620 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5621 cat >> confdefs.h <<EOF
5622 #define $ac_tr_hdr 1
5626 echo "$ac_t""no" 1>&6
5632 if test x"$ac_has_wchar_h" = xyes &&
5633 test x"$ac_has_wctype_h" = xyes &&
5634 test x"$enable_c_mbchar" != xno; then
5636 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5637 echo "configure:5638: checking for WCHAR_MIN and WCHAR_MAX" >&5
5638 cat > conftest.$ac_ext <<EOF
5639 #line 5640 "configure"
5640 #include "confdefs.h"
5643 int i = WCHAR_MIN; int j = WCHAR_MAX;
5646 if { (eval echo configure:5647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5648 has_wchar_minmax=yes
5650 echo "configure: failed program was:" >&5
5651 cat conftest.$ac_ext >&5
5656 echo "$ac_t""$has_wchar_minmax" 1>&6
5658 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5659 echo "configure:5660: checking for WEOF" >&5
5660 cat > conftest.$ac_ext <<EOF
5661 #line 5662 "configure"
5662 #include "confdefs.h"
5670 if { (eval echo configure:5671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5674 echo "configure: failed program was:" >&5
5675 cat conftest.$ac_ext >&5
5680 echo "$ac_t""$has_weof" 1>&6
5683 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5685 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5686 echo "configure:5687: checking for $ac_func" >&5
5687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5688 echo $ac_n "(cached) $ac_c" 1>&6
5690 cat > conftest.$ac_ext <<EOF
5691 #line 5692 "configure"
5692 #include "confdefs.h"
5693 /* System header to define __stub macros and hopefully few prototypes,
5694 which can conflict with char $ac_func(); below. */
5696 /* Override any gcc2 internal prototype to avoid an error. */
5697 /* We use char because int might match the return type of a gcc2
5698 builtin and then its argument prototype would still apply. */
5703 /* The GNU C library defines this for functions which it implements
5704 to always fail with ENOSYS. Some functions are actually named
5705 something starting with __ and the normal name is an alias. */
5706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5714 if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5716 eval "ac_cv_func_$ac_func=yes"
5718 echo "configure: failed program was:" >&5
5719 cat conftest.$ac_ext >&5
5721 eval "ac_cv_func_$ac_func=no"
5726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5727 echo "$ac_t""yes" 1>&6
5728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5729 cat >> confdefs.h <<EOF
5730 #define $ac_tr_func 1
5734 echo "$ac_t""no" 1>&6
5741 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5742 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5743 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5744 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5745 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5746 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5749 echo "configure:5750: checking for $ac_func" >&5
5750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5751 echo $ac_n "(cached) $ac_c" 1>&6
5753 cat > conftest.$ac_ext <<EOF
5754 #line 5755 "configure"
5755 #include "confdefs.h"
5756 /* System header to define __stub macros and hopefully few prototypes,
5757 which can conflict with char $ac_func(); below. */
5759 /* Override any gcc2 internal prototype to avoid an error. */
5760 /* We use char because int might match the return type of a gcc2
5761 builtin and then its argument prototype would still apply. */
5766 /* The GNU C library defines this for functions which it implements
5767 to always fail with ENOSYS. Some functions are actually named
5768 something starting with __ and the normal name is an alias. */
5769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5777 if { (eval echo configure:5778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5779 eval "ac_cv_func_$ac_func=yes"
5781 echo "configure: failed program was:" >&5
5782 cat conftest.$ac_ext >&5
5784 eval "ac_cv_func_$ac_func=no"
5789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5790 echo "$ac_t""yes" 1>&6
5791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5792 cat >> confdefs.h <<EOF
5793 #define $ac_tr_func 1
5797 echo "$ac_t""no" 1>&6
5804 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5805 echo "configure:5806: checking for ISO C99 wchar_t support" >&5
5806 if test x"$has_weof" = xyes &&
5807 test x"$has_wchar_minmax" = xyes &&
5808 test x"$ac_wfuncs" = xyes; then
5809 ac_isoC99_wchar_t=yes
5811 ac_isoC99_wchar_t=no
5813 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5815 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5816 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5817 echo "configure:5818: checking for iconv.h" >&5
5818 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5819 echo $ac_n "(cached) $ac_c" 1>&6
5821 cat > conftest.$ac_ext <<EOF
5822 #line 5823 "configure"
5823 #include "confdefs.h"
5826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5827 { (eval echo configure:5828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5829 if test -z "$ac_err"; then
5831 eval "ac_cv_header_$ac_safe=yes"
5834 echo "configure: failed program was:" >&5
5835 cat conftest.$ac_ext >&5
5837 eval "ac_cv_header_$ac_safe=no"
5841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5842 echo "$ac_t""yes" 1>&6
5845 echo "$ac_t""no" 1>&6
5849 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5850 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5851 echo "configure:5852: checking for langinfo.h" >&5
5852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5853 echo $ac_n "(cached) $ac_c" 1>&6
5855 cat > conftest.$ac_ext <<EOF
5856 #line 5857 "configure"
5857 #include "confdefs.h"
5858 #include <langinfo.h>
5860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5861 { (eval echo configure:5862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5863 if test -z "$ac_err"; then
5865 eval "ac_cv_header_$ac_safe=yes"
5868 echo "configure: failed program was:" >&5
5869 cat conftest.$ac_ext >&5
5871 eval "ac_cv_header_$ac_safe=no"
5875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5876 echo "$ac_t""yes" 1>&6
5877 ac_has_langinfo_h=yes
5879 echo "$ac_t""no" 1>&6
5880 ac_has_langinfo_h=no
5884 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5885 echo "configure:5886: checking for iconv in -liconv" >&5
5886 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5888 echo $ac_n "(cached) $ac_c" 1>&6
5890 ac_save_LIBS="$LIBS"
5891 LIBS="-liconv $LIBS"
5892 cat > conftest.$ac_ext <<EOF
5893 #line 5894 "configure"
5894 #include "confdefs.h"
5895 /* Override any gcc2 internal prototype to avoid an error. */
5896 /* We use char because int might match the return type of a gcc2
5897 builtin and then its argument prototype would still apply. */
5904 if { (eval echo configure:5905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5906 eval "ac_cv_lib_$ac_lib_var=yes"
5908 echo "configure: failed program was:" >&5
5909 cat conftest.$ac_ext >&5
5911 eval "ac_cv_lib_$ac_lib_var=no"
5914 LIBS="$ac_save_LIBS"
5917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5918 echo "$ac_t""yes" 1>&6
5921 echo "$ac_t""no" 1>&6
5924 ac_save_LIBS="$LIBS"
5925 LIBS="$LIBS $libiconv"
5927 for ac_func in iconv_open iconv_close iconv nl_langinfo
5929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5930 echo "configure:5931: checking for $ac_func" >&5
5931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5932 echo $ac_n "(cached) $ac_c" 1>&6
5934 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure"
5936 #include "confdefs.h"
5937 /* System header to define __stub macros and hopefully few prototypes,
5938 which can conflict with char $ac_func(); below. */
5940 /* Override any gcc2 internal prototype to avoid an error. */
5941 /* We use char because int might match the return type of a gcc2
5942 builtin and then its argument prototype would still apply. */
5947 /* The GNU C library defines this for functions which it implements
5948 to always fail with ENOSYS. Some functions are actually named
5949 something starting with __ and the normal name is an alias. */
5950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5958 if { (eval echo configure:5959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5960 eval "ac_cv_func_$ac_func=yes"
5962 echo "configure: failed program was:" >&5
5963 cat conftest.$ac_ext >&5
5965 eval "ac_cv_func_$ac_func=no"
5970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5971 echo "$ac_t""yes" 1>&6
5972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5973 cat >> confdefs.h <<EOF
5974 #define $ac_tr_func 1
5979 echo "$ac_t""no" 1>&6
5985 LIBS="$ac_save_LIBS"
5987 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5988 echo "configure:5989: checking for XPG2 wchar_t support" >&5
5989 if test x"$ac_has_iconv_h" = xyes &&
5990 test x"$ac_has_langinfo_h" = xyes &&
5991 test x"$ac_XPG2funcs" = xyes; then
5996 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5998 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5999 echo "configure:6000: checking for enabled wchar_t specializations" >&5
6000 if test x"$ac_isoC99_wchar_t" = xyes &&
6001 test x"$ac_XPG2_wchar_t" = xyes; then
6002 cat >> confdefs.h <<\EOF
6003 #define _GLIBCPP_USE_WCHAR_T 1
6006 echo "$ac_t"""yes"" 1>&6
6008 echo "$ac_t"""no"" 1>&6
6011 echo "configure: warning: wchar_t support disabled." 1>&2
6014 os_include_dir="config/os/hpux"
6015 cat >> confdefs.h <<\EOF
6016 #define HAVE_COPYSIGN 1
6019 cat >> confdefs.h <<\EOF
6020 #define HAVE_COPYSIGNF 1
6023 cat >> confdefs.h <<\EOF
6024 #define HAVE_FINITEF 1
6027 cat >> confdefs.h <<\EOF
6028 #define HAVE_FREXPF 1
6031 cat >> confdefs.h <<\EOF
6032 #define HAVE_HYPOT 1
6035 cat >> confdefs.h <<\EOF
6036 #define HAVE_SINCOS 1
6039 cat >> confdefs.h <<\EOF
6040 #define HAVE_SINCOSF 1
6045 # Check for available headers.
6046 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6047 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6048 fp.h locale.h float.h inttypes.h
6050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6052 echo "configure:6053: checking for $ac_hdr" >&5
6053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6054 echo $ac_n "(cached) $ac_c" 1>&6
6056 cat > conftest.$ac_ext <<EOF
6057 #line 6058 "configure"
6058 #include "confdefs.h"
6061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6062 { (eval echo configure:6063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6064 if test -z "$ac_err"; then
6066 eval "ac_cv_header_$ac_safe=yes"
6069 echo "configure: failed program was:" >&5
6070 cat conftest.$ac_ext >&5
6072 eval "ac_cv_header_$ac_safe=no"
6076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6077 echo "$ac_t""yes" 1>&6
6078 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6079 cat >> confdefs.h <<EOF
6080 #define $ac_tr_hdr 1
6084 echo "$ac_t""no" 1>&6
6088 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6091 # If we're not using GNU ld, then there's no point in even trying these
6092 # tests. Check for that first. We should have already tested for gld
6093 # by now (in libtool), but require it now just to be safe...
6094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6098 # The name set by libtool depends on the version of libtool. Shame on us
6099 # for depending on an impl detail, but c'est la vie. Older versions used
6100 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6101 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6102 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6103 # set (hence we're using an older libtool), then set it.
6104 if test x${with_gnu_ld+set} != xset; then
6105 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6106 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6109 with_gnu_ld=$ac_cv_prog_gnu_ld
6113 # Start by getting the version number. I think the libtool test already
6114 # does some of this, but throws away the result.
6116 ldver=`$LD --version 2>/dev/null | head -1 | \
6117 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6119 glibcpp_gnu_ld_version=`echo $ldver | \
6120 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6122 # Set --gc-sections.
6123 if test "$with_gnu_ld" = "notbroken"; then
6124 # GNU ld it is! Joy and bunny rabbits!
6126 # All these tests are for C++; save the language and the compiler flags.
6127 # Need to do this so that g++ won't try to link in libstdc++
6128 ac_test_CFLAGS="${CFLAGS+set}"
6129 ac_save_CFLAGS="$CFLAGS"
6130 CFLAGS='-x c++ -Wl,--gc-sections'
6132 # Check for -Wl,--gc-sections
6133 # XXX This test is broken at the moment, as symbols required for
6134 # linking are now in libsupc++ (not built yet.....). In addition,
6135 # this test has cored on solaris in the past. In addition,
6136 # --gc-sections doesn't really work at the moment (keeps on discarding
6137 # used sections, first .eh_frame and now some of the glibc sections for
6138 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6139 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6140 echo "configure:6141: checking for ld that supports -Wl,--gc-sections" >&5
6141 if test "$cross_compiling" = yes; then
6142 ac_sectionLDflags=yes
6144 cat > conftest.$ac_ext <<EOF
6145 #line 6146 "configure"
6146 #include "confdefs.h"
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6158 ac_sectionLDflags=yes
6160 echo "configure: failed program was:" >&5
6161 cat conftest.$ac_ext >&5
6163 ac_sectionLDflags=no
6168 if test "$ac_test_CFLAGS" = set; then
6169 CFLAGS="$ac_save_CFLAGS"
6171 # this is the suspicious part
6174 if test "$ac_sectionLDflags" = "yes"; then
6175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6177 echo "$ac_t""$ac_sectionLDflags" 1>&6
6180 # Set linker optimization flags.
6181 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6182 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6189 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6190 echo "configure:6191: checking for main in -lm" >&5
6191 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6193 echo $ac_n "(cached) $ac_c" 1>&6
6195 ac_save_LIBS="$LIBS"
6197 cat > conftest.$ac_ext <<EOF
6198 #line 6199 "configure"
6199 #include "confdefs.h"
6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6207 eval "ac_cv_lib_$ac_lib_var=yes"
6209 echo "configure: failed program was:" >&5
6210 cat conftest.$ac_ext >&5
6212 eval "ac_cv_lib_$ac_lib_var=no"
6215 LIBS="$ac_save_LIBS"
6218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6219 echo "$ac_t""yes" 1>&6
6220 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6221 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6222 cat >> confdefs.h <<EOF
6223 #define $ac_tr_lib 1
6229 echo "$ac_t""no" 1>&6
6232 for ac_func in nan copysignf
6234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6235 echo "configure:6236: checking for $ac_func" >&5
6236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6237 echo $ac_n "(cached) $ac_c" 1>&6
6239 cat > conftest.$ac_ext <<EOF
6240 #line 6241 "configure"
6241 #include "confdefs.h"
6242 /* System header to define __stub macros and hopefully few prototypes,
6243 which can conflict with char $ac_func(); below. */
6245 /* Override any gcc2 internal prototype to avoid an error. */
6246 /* We use char because int might match the return type of a gcc2
6247 builtin and then its argument prototype would still apply. */
6252 /* The GNU C library defines this for functions which it implements
6253 to always fail with ENOSYS. Some functions are actually named
6254 something starting with __ and the normal name is an alias. */
6255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6263 if { (eval echo configure:6264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6265 eval "ac_cv_func_$ac_func=yes"
6267 echo "configure: failed program was:" >&5
6268 cat conftest.$ac_ext >&5
6270 eval "ac_cv_func_$ac_func=no"
6275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6276 echo "$ac_t""yes" 1>&6
6277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6278 cat >> confdefs.h <<EOF
6279 #define $ac_tr_func 1
6283 echo "$ac_t""no" 1>&6
6284 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6289 for ac_func in __signbit
6291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6292 echo "configure:6293: checking for $ac_func" >&5
6293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6294 echo $ac_n "(cached) $ac_c" 1>&6
6296 cat > conftest.$ac_ext <<EOF
6297 #line 6298 "configure"
6298 #include "confdefs.h"
6299 /* System header to define __stub macros and hopefully few prototypes,
6300 which can conflict with char $ac_func(); below. */
6302 /* Override any gcc2 internal prototype to avoid an error. */
6303 /* We use char because int might match the return type of a gcc2
6304 builtin and then its argument prototype would still apply. */
6309 /* The GNU C library defines this for functions which it implements
6310 to always fail with ENOSYS. Some functions are actually named
6311 something starting with __ and the normal name is an alias. */
6312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6320 if { (eval echo configure:6321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6322 eval "ac_cv_func_$ac_func=yes"
6324 echo "configure: failed program was:" >&5
6325 cat conftest.$ac_ext >&5
6327 eval "ac_cv_func_$ac_func=no"
6332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6333 echo "$ac_t""yes" 1>&6
6334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6335 cat >> confdefs.h <<EOF
6336 #define $ac_tr_func 1
6340 echo "$ac_t""no" 1>&6
6341 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6345 for ac_func in __signbitf
6347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6348 echo "configure:6349: checking for $ac_func" >&5
6349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6350 echo $ac_n "(cached) $ac_c" 1>&6
6352 cat > conftest.$ac_ext <<EOF
6353 #line 6354 "configure"
6354 #include "confdefs.h"
6355 /* System header to define __stub macros and hopefully few prototypes,
6356 which can conflict with char $ac_func(); below. */
6358 /* Override any gcc2 internal prototype to avoid an error. */
6359 /* We use char because int might match the return type of a gcc2
6360 builtin and then its argument prototype would still apply. */
6365 /* The GNU C library defines this for functions which it implements
6366 to always fail with ENOSYS. Some functions are actually named
6367 something starting with __ and the normal name is an alias. */
6368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6376 if { (eval echo configure:6377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6378 eval "ac_cv_func_$ac_func=yes"
6380 echo "configure: failed program was:" >&5
6381 cat conftest.$ac_ext >&5
6383 eval "ac_cv_func_$ac_func=no"
6388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6389 echo "$ac_t""yes" 1>&6
6390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6391 cat >> confdefs.h <<EOF
6392 #define $ac_tr_func 1
6396 echo "$ac_t""no" 1>&6
6397 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6402 if test x$ac_cv_func_copysignl = x"yes"; then
6403 for ac_func in __signbitl
6405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6406 echo "configure:6407: checking for $ac_func" >&5
6407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6408 echo $ac_n "(cached) $ac_c" 1>&6
6410 cat > conftest.$ac_ext <<EOF
6411 #line 6412 "configure"
6412 #include "confdefs.h"
6413 /* System header to define __stub macros and hopefully few prototypes,
6414 which can conflict with char $ac_func(); below. */
6416 /* Override any gcc2 internal prototype to avoid an error. */
6417 /* We use char because int might match the return type of a gcc2
6418 builtin and then its argument prototype would still apply. */
6423 /* The GNU C library defines this for functions which it implements
6424 to always fail with ENOSYS. Some functions are actually named
6425 something starting with __ and the normal name is an alias. */
6426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6436 eval "ac_cv_func_$ac_func=yes"
6438 echo "configure: failed program was:" >&5
6439 cat conftest.$ac_ext >&5
6441 eval "ac_cv_func_$ac_func=no"
6446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6447 echo "$ac_t""yes" 1>&6
6448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6449 cat >> confdefs.h <<EOF
6450 #define $ac_tr_func 1
6454 echo "$ac_t""no" 1>&6
6455 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6465 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6466 echo "configure:6467: checking for mbstate_t" >&5
6467 cat > conftest.$ac_ext <<EOF
6468 #line 6469 "configure"
6469 #include "confdefs.h"
6472 mbstate_t teststate;
6475 if { (eval echo configure:6476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6479 echo "configure: failed program was:" >&5
6480 cat conftest.$ac_ext >&5
6485 echo "$ac_t""$have_mbstate_t" 1>&6
6486 if test x"$have_mbstate_t" = xyes; then
6487 cat >> confdefs.h <<\EOF
6488 #define HAVE_MBSTATE_T 1
6493 for ac_hdr in wchar.h
6495 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6497 echo "configure:6498: checking for $ac_hdr" >&5
6498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6499 echo $ac_n "(cached) $ac_c" 1>&6
6501 cat > conftest.$ac_ext <<EOF
6502 #line 6503 "configure"
6503 #include "confdefs.h"
6506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6507 { (eval echo configure:6508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6509 if test -z "$ac_err"; then
6511 eval "ac_cv_header_$ac_safe=yes"
6514 echo "configure: failed program was:" >&5
6515 cat conftest.$ac_ext >&5
6517 eval "ac_cv_header_$ac_safe=no"
6521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6522 echo "$ac_t""yes" 1>&6
6523 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6524 cat >> confdefs.h <<EOF
6525 #define $ac_tr_hdr 1
6529 echo "$ac_t""no" 1>&6
6534 for ac_hdr in wctype.h
6536 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6538 echo "configure:6539: checking for $ac_hdr" >&5
6539 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6540 echo $ac_n "(cached) $ac_c" 1>&6
6542 cat > conftest.$ac_ext <<EOF
6543 #line 6544 "configure"
6544 #include "confdefs.h"
6547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6548 { (eval echo configure:6549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6549 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6550 if test -z "$ac_err"; then
6552 eval "ac_cv_header_$ac_safe=yes"
6555 echo "configure: failed program was:" >&5
6556 cat conftest.$ac_ext >&5
6558 eval "ac_cv_header_$ac_safe=no"
6562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6563 echo "$ac_t""yes" 1>&6
6564 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6565 cat >> confdefs.h <<EOF
6566 #define $ac_tr_hdr 1
6570 echo "$ac_t""no" 1>&6
6576 if test x"$ac_has_wchar_h" = xyes &&
6577 test x"$ac_has_wctype_h" = xyes &&
6578 test x"$enable_c_mbchar" != xno; then
6580 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6581 echo "configure:6582: checking for WCHAR_MIN and WCHAR_MAX" >&5
6582 cat > conftest.$ac_ext <<EOF
6583 #line 6584 "configure"
6584 #include "confdefs.h"
6587 int i = WCHAR_MIN; int j = WCHAR_MAX;
6590 if { (eval echo configure:6591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6592 has_wchar_minmax=yes
6594 echo "configure: failed program was:" >&5
6595 cat conftest.$ac_ext >&5
6600 echo "$ac_t""$has_wchar_minmax" 1>&6
6602 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6603 echo "configure:6604: checking for WEOF" >&5
6604 cat > conftest.$ac_ext <<EOF
6605 #line 6606 "configure"
6606 #include "confdefs.h"
6614 if { (eval echo configure:6615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6618 echo "configure: failed program was:" >&5
6619 cat conftest.$ac_ext >&5
6624 echo "$ac_t""$has_weof" 1>&6
6627 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6630 echo "configure:6631: checking for $ac_func" >&5
6631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6632 echo $ac_n "(cached) $ac_c" 1>&6
6634 cat > conftest.$ac_ext <<EOF
6635 #line 6636 "configure"
6636 #include "confdefs.h"
6637 /* System header to define __stub macros and hopefully few prototypes,
6638 which can conflict with char $ac_func(); below. */
6640 /* Override any gcc2 internal prototype to avoid an error. */
6641 /* We use char because int might match the return type of a gcc2
6642 builtin and then its argument prototype would still apply. */
6647 /* The GNU C library defines this for functions which it implements
6648 to always fail with ENOSYS. Some functions are actually named
6649 something starting with __ and the normal name is an alias. */
6650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6658 if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6660 eval "ac_cv_func_$ac_func=yes"
6662 echo "configure: failed program was:" >&5
6663 cat conftest.$ac_ext >&5
6665 eval "ac_cv_func_$ac_func=no"
6670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6671 echo "$ac_t""yes" 1>&6
6672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6673 cat >> confdefs.h <<EOF
6674 #define $ac_tr_func 1
6678 echo "$ac_t""no" 1>&6
6685 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6686 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6687 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6688 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6689 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6690 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6693 echo "configure:6694: checking for $ac_func" >&5
6694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6695 echo $ac_n "(cached) $ac_c" 1>&6
6697 cat > conftest.$ac_ext <<EOF
6698 #line 6699 "configure"
6699 #include "confdefs.h"
6700 /* System header to define __stub macros and hopefully few prototypes,
6701 which can conflict with char $ac_func(); below. */
6703 /* Override any gcc2 internal prototype to avoid an error. */
6704 /* We use char because int might match the return type of a gcc2
6705 builtin and then its argument prototype would still apply. */
6710 /* The GNU C library defines this for functions which it implements
6711 to always fail with ENOSYS. Some functions are actually named
6712 something starting with __ and the normal name is an alias. */
6713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6721 if { (eval echo configure:6722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6723 eval "ac_cv_func_$ac_func=yes"
6725 echo "configure: failed program was:" >&5
6726 cat conftest.$ac_ext >&5
6728 eval "ac_cv_func_$ac_func=no"
6733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6734 echo "$ac_t""yes" 1>&6
6735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6736 cat >> confdefs.h <<EOF
6737 #define $ac_tr_func 1
6741 echo "$ac_t""no" 1>&6
6748 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6749 echo "configure:6750: checking for ISO C99 wchar_t support" >&5
6750 if test x"$has_weof" = xyes &&
6751 test x"$has_wchar_minmax" = xyes &&
6752 test x"$ac_wfuncs" = xyes; then
6753 ac_isoC99_wchar_t=yes
6755 ac_isoC99_wchar_t=no
6757 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6759 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6760 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6761 echo "configure:6762: checking for iconv.h" >&5
6762 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6763 echo $ac_n "(cached) $ac_c" 1>&6
6765 cat > conftest.$ac_ext <<EOF
6766 #line 6767 "configure"
6767 #include "confdefs.h"
6770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6771 { (eval echo configure:6772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6773 if test -z "$ac_err"; then
6775 eval "ac_cv_header_$ac_safe=yes"
6778 echo "configure: failed program was:" >&5
6779 cat conftest.$ac_ext >&5
6781 eval "ac_cv_header_$ac_safe=no"
6785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6786 echo "$ac_t""yes" 1>&6
6789 echo "$ac_t""no" 1>&6
6793 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6794 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6795 echo "configure:6796: checking for langinfo.h" >&5
6796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6797 echo $ac_n "(cached) $ac_c" 1>&6
6799 cat > conftest.$ac_ext <<EOF
6800 #line 6801 "configure"
6801 #include "confdefs.h"
6802 #include <langinfo.h>
6804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6805 { (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6807 if test -z "$ac_err"; then
6809 eval "ac_cv_header_$ac_safe=yes"
6812 echo "configure: failed program was:" >&5
6813 cat conftest.$ac_ext >&5
6815 eval "ac_cv_header_$ac_safe=no"
6819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6820 echo "$ac_t""yes" 1>&6
6821 ac_has_langinfo_h=yes
6823 echo "$ac_t""no" 1>&6
6824 ac_has_langinfo_h=no
6828 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6829 echo "configure:6830: checking for iconv in -liconv" >&5
6830 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6832 echo $ac_n "(cached) $ac_c" 1>&6
6834 ac_save_LIBS="$LIBS"
6835 LIBS="-liconv $LIBS"
6836 cat > conftest.$ac_ext <<EOF
6837 #line 6838 "configure"
6838 #include "confdefs.h"
6839 /* Override any gcc2 internal prototype to avoid an error. */
6840 /* We use char because int might match the return type of a gcc2
6841 builtin and then its argument prototype would still apply. */
6848 if { (eval echo configure:6849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6850 eval "ac_cv_lib_$ac_lib_var=yes"
6852 echo "configure: failed program was:" >&5
6853 cat conftest.$ac_ext >&5
6855 eval "ac_cv_lib_$ac_lib_var=no"
6858 LIBS="$ac_save_LIBS"
6861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6862 echo "$ac_t""yes" 1>&6
6865 echo "$ac_t""no" 1>&6
6868 ac_save_LIBS="$LIBS"
6869 LIBS="$LIBS $libiconv"
6871 for ac_func in iconv_open iconv_close iconv nl_langinfo
6873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6874 echo "configure:6875: checking for $ac_func" >&5
6875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6876 echo $ac_n "(cached) $ac_c" 1>&6
6878 cat > conftest.$ac_ext <<EOF
6879 #line 6880 "configure"
6880 #include "confdefs.h"
6881 /* System header to define __stub macros and hopefully few prototypes,
6882 which can conflict with char $ac_func(); below. */
6884 /* Override any gcc2 internal prototype to avoid an error. */
6885 /* We use char because int might match the return type of a gcc2
6886 builtin and then its argument prototype would still apply. */
6891 /* The GNU C library defines this for functions which it implements
6892 to always fail with ENOSYS. Some functions are actually named
6893 something starting with __ and the normal name is an alias. */
6894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6904 eval "ac_cv_func_$ac_func=yes"
6906 echo "configure: failed program was:" >&5
6907 cat conftest.$ac_ext >&5
6909 eval "ac_cv_func_$ac_func=no"
6914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6915 echo "$ac_t""yes" 1>&6
6916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6917 cat >> confdefs.h <<EOF
6918 #define $ac_tr_func 1
6923 echo "$ac_t""no" 1>&6
6929 LIBS="$ac_save_LIBS"
6931 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6932 echo "configure:6933: checking for XPG2 wchar_t support" >&5
6933 if test x"$ac_has_iconv_h" = xyes &&
6934 test x"$ac_has_langinfo_h" = xyes &&
6935 test x"$ac_XPG2funcs" = xyes; then
6940 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6942 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6943 echo "configure:6944: checking for enabled wchar_t specializations" >&5
6944 if test x"$ac_isoC99_wchar_t" = xyes &&
6945 test x"$ac_XPG2_wchar_t" = xyes; then
6946 cat >> confdefs.h <<\EOF
6947 #define _GLIBCPP_USE_WCHAR_T 1
6950 echo "$ac_t"""yes"" 1>&6
6952 echo "$ac_t"""no"" 1>&6
6955 echo "configure: warning: wchar_t support disabled." 1>&2
6958 os_include_dir="config/os/bsd/netbsd"
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_COPYSIGN 1
6963 cat >> confdefs.h <<\EOF
6964 #define HAVE_COPYSIGNF 1
6967 cat >> confdefs.h <<\EOF
6968 #define HAVE_FINITEF 1
6971 cat >> confdefs.h <<\EOF
6972 #define HAVE_FREXPF 1
6975 cat >> confdefs.h <<\EOF
6976 #define HAVE_HYPOTF 1
6981 for ac_hdr in sys/types.h locale.h float.h
6983 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6984 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6985 echo "configure:6986: checking for $ac_hdr" >&5
6986 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6987 echo $ac_n "(cached) $ac_c" 1>&6
6989 cat > conftest.$ac_ext <<EOF
6990 #line 6991 "configure"
6991 #include "confdefs.h"
6994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6995 { (eval echo configure:6996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6997 if test -z "$ac_err"; then
6999 eval "ac_cv_header_$ac_safe=yes"
7002 echo "configure: failed program was:" >&5
7003 cat conftest.$ac_ext >&5
7005 eval "ac_cv_header_$ac_safe=no"
7009 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7010 echo "$ac_t""yes" 1>&6
7011 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7012 cat >> confdefs.h <<EOF
7013 #define $ac_tr_hdr 1
7017 echo "$ac_t""no" 1>&6
7022 # If we're not using GNU ld, then there's no point in even trying these
7023 # tests. Check for that first. We should have already tested for gld
7024 # by now (in libtool), but require it now just to be safe...
7025 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7026 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7029 # The name set by libtool depends on the version of libtool. Shame on us
7030 # for depending on an impl detail, but c'est la vie. Older versions used
7031 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7032 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7033 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7034 # set (hence we're using an older libtool), then set it.
7035 if test x${with_gnu_ld+set} != xset; then
7036 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7037 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7040 with_gnu_ld=$ac_cv_prog_gnu_ld
7044 # Start by getting the version number. I think the libtool test already
7045 # does some of this, but throws away the result.
7047 ldver=`$LD --version 2>/dev/null | head -1 | \
7048 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7050 glibcpp_gnu_ld_version=`echo $ldver | \
7051 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7053 # Set --gc-sections.
7054 if test "$with_gnu_ld" = "notbroken"; then
7055 # GNU ld it is! Joy and bunny rabbits!
7057 # All these tests are for C++; save the language and the compiler flags.
7058 # Need to do this so that g++ won't try to link in libstdc++
7059 ac_test_CFLAGS="${CFLAGS+set}"
7060 ac_save_CFLAGS="$CFLAGS"
7061 CFLAGS='-x c++ -Wl,--gc-sections'
7063 # Check for -Wl,--gc-sections
7064 # XXX This test is broken at the moment, as symbols required for
7065 # linking are now in libsupc++ (not built yet.....). In addition,
7066 # this test has cored on solaris in the past. In addition,
7067 # --gc-sections doesn't really work at the moment (keeps on discarding
7068 # used sections, first .eh_frame and now some of the glibc sections for
7069 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7070 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7071 echo "configure:7072: checking for ld that supports -Wl,--gc-sections" >&5
7072 if test "$cross_compiling" = yes; then
7073 ac_sectionLDflags=yes
7075 cat > conftest.$ac_ext <<EOF
7076 #line 7077 "configure"
7077 #include "confdefs.h"
7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7089 ac_sectionLDflags=yes
7091 echo "configure: failed program was:" >&5
7092 cat conftest.$ac_ext >&5
7094 ac_sectionLDflags=no
7099 if test "$ac_test_CFLAGS" = set; then
7100 CFLAGS="$ac_save_CFLAGS"
7102 # this is the suspicious part
7105 if test "$ac_sectionLDflags" = "yes"; then
7106 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7108 echo "$ac_t""$ac_sectionLDflags" 1>&6
7111 # Set linker optimization flags.
7112 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7113 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7120 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7121 echo "configure:7122: checking for main in -lm" >&5
7122 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7123 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7124 echo $ac_n "(cached) $ac_c" 1>&6
7126 ac_save_LIBS="$LIBS"
7128 cat > conftest.$ac_ext <<EOF
7129 #line 7130 "configure"
7130 #include "confdefs.h"
7136 if { (eval echo configure:7137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7138 eval "ac_cv_lib_$ac_lib_var=yes"
7140 echo "configure: failed program was:" >&5
7141 cat conftest.$ac_ext >&5
7143 eval "ac_cv_lib_$ac_lib_var=no"
7146 LIBS="$ac_save_LIBS"
7149 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7150 echo "$ac_t""yes" 1>&6
7151 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7152 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7153 cat >> confdefs.h <<EOF
7154 #define $ac_tr_lib 1
7160 echo "$ac_t""no" 1>&6
7163 for ac_func in nan copysignf
7165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7166 echo "configure:7167: checking for $ac_func" >&5
7167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7168 echo $ac_n "(cached) $ac_c" 1>&6
7170 cat > conftest.$ac_ext <<EOF
7171 #line 7172 "configure"
7172 #include "confdefs.h"
7173 /* System header to define __stub macros and hopefully few prototypes,
7174 which can conflict with char $ac_func(); below. */
7176 /* Override any gcc2 internal prototype to avoid an error. */
7177 /* We use char because int might match the return type of a gcc2
7178 builtin and then its argument prototype would still apply. */
7183 /* The GNU C library defines this for functions which it implements
7184 to always fail with ENOSYS. Some functions are actually named
7185 something starting with __ and the normal name is an alias. */
7186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7194 if { (eval echo configure:7195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7196 eval "ac_cv_func_$ac_func=yes"
7198 echo "configure: failed program was:" >&5
7199 cat conftest.$ac_ext >&5
7201 eval "ac_cv_func_$ac_func=no"
7206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7207 echo "$ac_t""yes" 1>&6
7208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7209 cat >> confdefs.h <<EOF
7210 #define $ac_tr_func 1
7214 echo "$ac_t""no" 1>&6
7215 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7220 for ac_func in __signbit
7222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7223 echo "configure:7224: checking for $ac_func" >&5
7224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7225 echo $ac_n "(cached) $ac_c" 1>&6
7227 cat > conftest.$ac_ext <<EOF
7228 #line 7229 "configure"
7229 #include "confdefs.h"
7230 /* System header to define __stub macros and hopefully few prototypes,
7231 which can conflict with char $ac_func(); below. */
7233 /* Override any gcc2 internal prototype to avoid an error. */
7234 /* We use char because int might match the return type of a gcc2
7235 builtin and then its argument prototype would still apply. */
7240 /* The GNU C library defines this for functions which it implements
7241 to always fail with ENOSYS. Some functions are actually named
7242 something starting with __ and the normal name is an alias. */
7243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7251 if { (eval echo configure:7252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7253 eval "ac_cv_func_$ac_func=yes"
7255 echo "configure: failed program was:" >&5
7256 cat conftest.$ac_ext >&5
7258 eval "ac_cv_func_$ac_func=no"
7263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7264 echo "$ac_t""yes" 1>&6
7265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7266 cat >> confdefs.h <<EOF
7267 #define $ac_tr_func 1
7271 echo "$ac_t""no" 1>&6
7272 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7276 for ac_func in __signbitf
7278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7279 echo "configure:7280: checking for $ac_func" >&5
7280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7281 echo $ac_n "(cached) $ac_c" 1>&6
7283 cat > conftest.$ac_ext <<EOF
7284 #line 7285 "configure"
7285 #include "confdefs.h"
7286 /* System header to define __stub macros and hopefully few prototypes,
7287 which can conflict with char $ac_func(); below. */
7289 /* Override any gcc2 internal prototype to avoid an error. */
7290 /* We use char because int might match the return type of a gcc2
7291 builtin and then its argument prototype would still apply. */
7296 /* The GNU C library defines this for functions which it implements
7297 to always fail with ENOSYS. Some functions are actually named
7298 something starting with __ and the normal name is an alias. */
7299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7309 eval "ac_cv_func_$ac_func=yes"
7311 echo "configure: failed program was:" >&5
7312 cat conftest.$ac_ext >&5
7314 eval "ac_cv_func_$ac_func=no"
7319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7320 echo "$ac_t""yes" 1>&6
7321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7322 cat >> confdefs.h <<EOF
7323 #define $ac_tr_func 1
7327 echo "$ac_t""no" 1>&6
7328 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7333 if test x$ac_cv_func_copysignl = x"yes"; then
7334 for ac_func in __signbitl
7336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7337 echo "configure:7338: checking for $ac_func" >&5
7338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7339 echo $ac_n "(cached) $ac_c" 1>&6
7341 cat > conftest.$ac_ext <<EOF
7342 #line 7343 "configure"
7343 #include "confdefs.h"
7344 /* System header to define __stub macros and hopefully few prototypes,
7345 which can conflict with char $ac_func(); below. */
7347 /* Override any gcc2 internal prototype to avoid an error. */
7348 /* We use char because int might match the return type of a gcc2
7349 builtin and then its argument prototype would still apply. */
7354 /* The GNU C library defines this for functions which it implements
7355 to always fail with ENOSYS. Some functions are actually named
7356 something starting with __ and the normal name is an alias. */
7357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7365 if { (eval echo configure:7366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7367 eval "ac_cv_func_$ac_func=yes"
7369 echo "configure: failed program was:" >&5
7370 cat conftest.$ac_ext >&5
7372 eval "ac_cv_func_$ac_func=no"
7377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7378 echo "$ac_t""yes" 1>&6
7379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7380 cat >> confdefs.h <<EOF
7381 #define $ac_tr_func 1
7385 echo "$ac_t""no" 1>&6
7386 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7396 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7397 echo "configure:7398: checking for mbstate_t" >&5
7398 cat > conftest.$ac_ext <<EOF
7399 #line 7400 "configure"
7400 #include "confdefs.h"
7403 mbstate_t teststate;
7406 if { (eval echo configure:7407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7410 echo "configure: failed program was:" >&5
7411 cat conftest.$ac_ext >&5
7416 echo "$ac_t""$have_mbstate_t" 1>&6
7417 if test x"$have_mbstate_t" = xyes; then
7418 cat >> confdefs.h <<\EOF
7419 #define HAVE_MBSTATE_T 1
7424 for ac_hdr in wchar.h
7426 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7427 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7428 echo "configure:7429: checking for $ac_hdr" >&5
7429 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7430 echo $ac_n "(cached) $ac_c" 1>&6
7432 cat > conftest.$ac_ext <<EOF
7433 #line 7434 "configure"
7434 #include "confdefs.h"
7437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7438 { (eval echo configure:7439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7440 if test -z "$ac_err"; then
7442 eval "ac_cv_header_$ac_safe=yes"
7445 echo "configure: failed program was:" >&5
7446 cat conftest.$ac_ext >&5
7448 eval "ac_cv_header_$ac_safe=no"
7452 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7453 echo "$ac_t""yes" 1>&6
7454 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7455 cat >> confdefs.h <<EOF
7456 #define $ac_tr_hdr 1
7460 echo "$ac_t""no" 1>&6
7465 for ac_hdr in wctype.h
7467 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7468 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7469 echo "configure:7470: checking for $ac_hdr" >&5
7470 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7471 echo $ac_n "(cached) $ac_c" 1>&6
7473 cat > conftest.$ac_ext <<EOF
7474 #line 7475 "configure"
7475 #include "confdefs.h"
7478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7479 { (eval echo configure:7480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7481 if test -z "$ac_err"; then
7483 eval "ac_cv_header_$ac_safe=yes"
7486 echo "configure: failed program was:" >&5
7487 cat conftest.$ac_ext >&5
7489 eval "ac_cv_header_$ac_safe=no"
7493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7494 echo "$ac_t""yes" 1>&6
7495 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7496 cat >> confdefs.h <<EOF
7497 #define $ac_tr_hdr 1
7501 echo "$ac_t""no" 1>&6
7507 if test x"$ac_has_wchar_h" = xyes &&
7508 test x"$ac_has_wctype_h" = xyes &&
7509 test x"$enable_c_mbchar" != xno; then
7511 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7512 echo "configure:7513: checking for WCHAR_MIN and WCHAR_MAX" >&5
7513 cat > conftest.$ac_ext <<EOF
7514 #line 7515 "configure"
7515 #include "confdefs.h"
7518 int i = WCHAR_MIN; int j = WCHAR_MAX;
7521 if { (eval echo configure:7522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7523 has_wchar_minmax=yes
7525 echo "configure: failed program was:" >&5
7526 cat conftest.$ac_ext >&5
7531 echo "$ac_t""$has_wchar_minmax" 1>&6
7533 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7534 echo "configure:7535: checking for WEOF" >&5
7535 cat > conftest.$ac_ext <<EOF
7536 #line 7537 "configure"
7537 #include "confdefs.h"
7545 if { (eval echo configure:7546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7549 echo "configure: failed program was:" >&5
7550 cat conftest.$ac_ext >&5
7555 echo "$ac_t""$has_weof" 1>&6
7558 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7560 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7561 echo "configure:7562: checking for $ac_func" >&5
7562 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7563 echo $ac_n "(cached) $ac_c" 1>&6
7565 cat > conftest.$ac_ext <<EOF
7566 #line 7567 "configure"
7567 #include "confdefs.h"
7568 /* System header to define __stub macros and hopefully few prototypes,
7569 which can conflict with char $ac_func(); below. */
7571 /* Override any gcc2 internal prototype to avoid an error. */
7572 /* We use char because int might match the return type of a gcc2
7573 builtin and then its argument prototype would still apply. */
7578 /* The GNU C library defines this for functions which it implements
7579 to always fail with ENOSYS. Some functions are actually named
7580 something starting with __ and the normal name is an alias. */
7581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7589 if { (eval echo configure:7590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7591 eval "ac_cv_func_$ac_func=yes"
7593 echo "configure: failed program was:" >&5
7594 cat conftest.$ac_ext >&5
7596 eval "ac_cv_func_$ac_func=no"
7601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7602 echo "$ac_t""yes" 1>&6
7603 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7604 cat >> confdefs.h <<EOF
7605 #define $ac_tr_func 1
7609 echo "$ac_t""no" 1>&6
7616 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7617 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7618 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7619 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7620 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7621 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7624 echo "configure:7625: checking for $ac_func" >&5
7625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7626 echo $ac_n "(cached) $ac_c" 1>&6
7628 cat > conftest.$ac_ext <<EOF
7629 #line 7630 "configure"
7630 #include "confdefs.h"
7631 /* System header to define __stub macros and hopefully few prototypes,
7632 which can conflict with char $ac_func(); below. */
7634 /* Override any gcc2 internal prototype to avoid an error. */
7635 /* We use char because int might match the return type of a gcc2
7636 builtin and then its argument prototype would still apply. */
7641 /* The GNU C library defines this for functions which it implements
7642 to always fail with ENOSYS. Some functions are actually named
7643 something starting with __ and the normal name is an alias. */
7644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7652 if { (eval echo configure:7653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7654 eval "ac_cv_func_$ac_func=yes"
7656 echo "configure: failed program was:" >&5
7657 cat conftest.$ac_ext >&5
7659 eval "ac_cv_func_$ac_func=no"
7664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7665 echo "$ac_t""yes" 1>&6
7666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7667 cat >> confdefs.h <<EOF
7668 #define $ac_tr_func 1
7672 echo "$ac_t""no" 1>&6
7679 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7680 echo "configure:7681: checking for ISO C99 wchar_t support" >&5
7681 if test x"$has_weof" = xyes &&
7682 test x"$has_wchar_minmax" = xyes &&
7683 test x"$ac_wfuncs" = xyes; then
7684 ac_isoC99_wchar_t=yes
7686 ac_isoC99_wchar_t=no
7688 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7690 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7691 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7692 echo "configure:7693: checking for iconv.h" >&5
7693 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7694 echo $ac_n "(cached) $ac_c" 1>&6
7696 cat > conftest.$ac_ext <<EOF
7697 #line 7698 "configure"
7698 #include "confdefs.h"
7701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7702 { (eval echo configure:7703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7704 if test -z "$ac_err"; then
7706 eval "ac_cv_header_$ac_safe=yes"
7709 echo "configure: failed program was:" >&5
7710 cat conftest.$ac_ext >&5
7712 eval "ac_cv_header_$ac_safe=no"
7716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7717 echo "$ac_t""yes" 1>&6
7720 echo "$ac_t""no" 1>&6
7724 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7725 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7726 echo "configure:7727: checking for langinfo.h" >&5
7727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7728 echo $ac_n "(cached) $ac_c" 1>&6
7730 cat > conftest.$ac_ext <<EOF
7731 #line 7732 "configure"
7732 #include "confdefs.h"
7733 #include <langinfo.h>
7735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7736 { (eval echo configure:7737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7738 if test -z "$ac_err"; then
7740 eval "ac_cv_header_$ac_safe=yes"
7743 echo "configure: failed program was:" >&5
7744 cat conftest.$ac_ext >&5
7746 eval "ac_cv_header_$ac_safe=no"
7750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7751 echo "$ac_t""yes" 1>&6
7752 ac_has_langinfo_h=yes
7754 echo "$ac_t""no" 1>&6
7755 ac_has_langinfo_h=no
7759 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7760 echo "configure:7761: checking for iconv in -liconv" >&5
7761 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7763 echo $ac_n "(cached) $ac_c" 1>&6
7765 ac_save_LIBS="$LIBS"
7766 LIBS="-liconv $LIBS"
7767 cat > conftest.$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7770 /* Override any gcc2 internal prototype to avoid an error. */
7771 /* We use char because int might match the return type of a gcc2
7772 builtin and then its argument prototype would still apply. */
7779 if { (eval echo configure:7780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7781 eval "ac_cv_lib_$ac_lib_var=yes"
7783 echo "configure: failed program was:" >&5
7784 cat conftest.$ac_ext >&5
7786 eval "ac_cv_lib_$ac_lib_var=no"
7789 LIBS="$ac_save_LIBS"
7792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7793 echo "$ac_t""yes" 1>&6
7796 echo "$ac_t""no" 1>&6
7799 ac_save_LIBS="$LIBS"
7800 LIBS="$LIBS $libiconv"
7802 for ac_func in iconv_open iconv_close iconv nl_langinfo
7804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7805 echo "configure:7806: checking for $ac_func" >&5
7806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7807 echo $ac_n "(cached) $ac_c" 1>&6
7809 cat > conftest.$ac_ext <<EOF
7810 #line 7811 "configure"
7811 #include "confdefs.h"
7812 /* System header to define __stub macros and hopefully few prototypes,
7813 which can conflict with char $ac_func(); below. */
7815 /* Override any gcc2 internal prototype to avoid an error. */
7816 /* We use char because int might match the return type of a gcc2
7817 builtin and then its argument prototype would still apply. */
7822 /* The GNU C library defines this for functions which it implements
7823 to always fail with ENOSYS. Some functions are actually named
7824 something starting with __ and the normal name is an alias. */
7825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7835 eval "ac_cv_func_$ac_func=yes"
7837 echo "configure: failed program was:" >&5
7838 cat conftest.$ac_ext >&5
7840 eval "ac_cv_func_$ac_func=no"
7845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7846 echo "$ac_t""yes" 1>&6
7847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7848 cat >> confdefs.h <<EOF
7849 #define $ac_tr_func 1
7854 echo "$ac_t""no" 1>&6
7860 LIBS="$ac_save_LIBS"
7862 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7863 echo "configure:7864: checking for XPG2 wchar_t support" >&5
7864 if test x"$ac_has_iconv_h" = xyes &&
7865 test x"$ac_has_langinfo_h" = xyes &&
7866 test x"$ac_XPG2funcs" = xyes; then
7871 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7873 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7874 echo "configure:7875: checking for enabled wchar_t specializations" >&5
7875 if test x"$ac_isoC99_wchar_t" = xyes &&
7876 test x"$ac_XPG2_wchar_t" = xyes; then
7877 cat >> confdefs.h <<\EOF
7878 #define _GLIBCPP_USE_WCHAR_T 1
7881 echo "$ac_t"""yes"" 1>&6
7883 echo "$ac_t"""no"" 1>&6
7886 echo "configure: warning: wchar_t support disabled." 1>&2
7889 os_include_dir="config/os/mingw32"
7892 os_include_dir="config/os/windiss"
7895 os_include_dir="config/os/newlib"
7896 cat >> confdefs.h <<\EOF
7897 #define HAVE_HYPOT 1
7903 case "$target_alias" in
7907 cat >> confdefs.h <<\EOF
7908 #define HAVE_ACOSF 1
7911 cat >> confdefs.h <<\EOF
7912 #define HAVE_ASINF 1
7915 cat >> confdefs.h <<\EOF
7916 #define HAVE_ATAN2F 1
7919 cat >> confdefs.h <<\EOF
7920 #define HAVE_ATANF 1
7923 cat >> confdefs.h <<\EOF
7924 #define HAVE_CEILF 1
7927 cat >> confdefs.h <<\EOF
7928 #define HAVE_COPYSIGN 1
7931 cat >> confdefs.h <<\EOF
7932 #define HAVE_COPYSIGNF 1
7935 cat >> confdefs.h <<\EOF
7939 cat >> confdefs.h <<\EOF
7940 #define HAVE_COSHF 1
7943 cat >> confdefs.h <<\EOF
7947 cat >> confdefs.h <<\EOF
7948 #define HAVE_FABSF 1
7951 cat >> confdefs.h <<\EOF
7952 #define HAVE_FLOORF 1
7955 cat >> confdefs.h <<\EOF
7956 #define HAVE_FMODF 1
7959 cat >> confdefs.h <<\EOF
7960 #define HAVE_FREXPF 1
7963 cat >> confdefs.h <<\EOF
7964 #define HAVE_LDEXPF 1
7967 cat >> confdefs.h <<\EOF
7968 #define HAVE_LOG10F 1
7971 cat >> confdefs.h <<\EOF
7975 cat >> confdefs.h <<\EOF
7976 #define HAVE_MODFF 1
7979 cat >> confdefs.h <<\EOF
7983 cat >> confdefs.h <<\EOF
7987 cat >> confdefs.h <<\EOF
7988 #define HAVE_SINHF 1
7991 cat >> confdefs.h <<\EOF
7992 #define HAVE_SQRTF 1
7995 cat >> confdefs.h <<\EOF
7999 cat >> confdefs.h <<\EOF
8000 #define HAVE_TANHF 1
8005 # GLIBCPP_CHECK_STDLIB_SUPPORT
8006 cat >> confdefs.h <<\EOF
8007 #define HAVE_STRTOF 1
8010 cat >> confdefs.h <<\EOF
8011 #define HAVE_STRTOLD 1
8015 cat >> confdefs.h <<\EOF
8020 cat >> confdefs.h <<\EOF
8021 #define HAVE_ACOSF 1
8024 cat >> confdefs.h <<\EOF
8025 #define HAVE_ASINF 1
8028 cat >> confdefs.h <<\EOF
8029 #define HAVE_ATAN2F 1
8032 cat >> confdefs.h <<\EOF
8033 #define HAVE_ATANF 1
8036 cat >> confdefs.h <<\EOF
8037 #define HAVE_CEILF 1
8040 cat >> confdefs.h <<\EOF
8041 #define HAVE_COPYSIGN 1
8044 cat >> confdefs.h <<\EOF
8045 #define HAVE_COPYSIGNF 1
8048 cat >> confdefs.h <<\EOF
8052 cat >> confdefs.h <<\EOF
8053 #define HAVE_COSHF 1
8056 cat >> confdefs.h <<\EOF
8060 cat >> confdefs.h <<\EOF
8061 #define HAVE_FABSF 1
8064 cat >> confdefs.h <<\EOF
8065 #define HAVE_FINITE 1
8068 cat >> confdefs.h <<\EOF
8069 #define HAVE_FINITEF 1
8072 cat >> confdefs.h <<\EOF
8073 #define HAVE_FLOORF 1
8076 cat >> confdefs.h <<\EOF
8077 #define HAVE_FMODF 1
8080 cat >> confdefs.h <<\EOF
8081 #define HAVE_FREXPF 1
8084 cat >> confdefs.h <<\EOF
8085 #define HAVE_ISINF 1
8088 cat >> confdefs.h <<\EOF
8089 #define HAVE_ISINFF 1
8092 cat >> confdefs.h <<\EOF
8093 #define HAVE_ISNAN 1
8096 cat >> confdefs.h <<\EOF
8097 #define HAVE_ISNANF 1
8100 cat >> confdefs.h <<\EOF
8101 #define HAVE_LDEXPF 1
8104 cat >> confdefs.h <<\EOF
8105 #define HAVE_LOG10F 1
8108 cat >> confdefs.h <<\EOF
8112 cat >> confdefs.h <<\EOF
8113 #define HAVE_MODFF 1
8116 cat >> confdefs.h <<\EOF
8120 cat >> confdefs.h <<\EOF
8124 cat >> confdefs.h <<\EOF
8125 #define HAVE_SINHF 1
8128 cat >> confdefs.h <<\EOF
8129 #define HAVE_SQRTF 1
8132 cat >> confdefs.h <<\EOF
8136 cat >> confdefs.h <<\EOF
8137 #define HAVE_TANHF 1
8143 # At some point, we should differentiate between architectures
8144 # like x86, which have long double versions, and alpha/powerpc/etc.,
8145 # which don't. For the time being, punt.
8146 if test x"long_double_math_on_this_cpu" = x"yes"; then
8147 cat >> confdefs.h <<\EOF
8148 #define HAVE_ACOSL 1
8151 cat >> confdefs.h <<\EOF
8152 #define HAVE_ASINL 1
8155 cat >> confdefs.h <<\EOF
8156 #define HAVE_ATAN2L 1
8159 cat >> confdefs.h <<\EOF
8160 #define HAVE_ATANL 1
8163 cat >> confdefs.h <<\EOF
8164 #define HAVE_CEILL 1
8167 cat >> confdefs.h <<\EOF
8168 #define HAVE_COPYSIGNL 1
8171 cat >> confdefs.h <<\EOF
8175 cat >> confdefs.h <<\EOF
8176 #define HAVE_COSHL 1
8179 cat >> confdefs.h <<\EOF
8183 cat >> confdefs.h <<\EOF
8184 #define HAVE_FABSL 1
8187 cat >> confdefs.h <<\EOF
8188 #define HAVE_FINITEL 1
8191 cat >> confdefs.h <<\EOF
8192 #define HAVE_FLOORL 1
8195 cat >> confdefs.h <<\EOF
8196 #define HAVE_FMODL 1
8199 cat >> confdefs.h <<\EOF
8200 #define HAVE_FREXPL 1
8203 cat >> confdefs.h <<\EOF
8204 #define HAVE_ISINFL 1
8207 cat >> confdefs.h <<\EOF
8208 #define HAVE_ISNANL 1
8211 cat >> confdefs.h <<\EOF
8212 #define HAVE_LDEXPL 1
8215 cat >> confdefs.h <<\EOF
8216 #define HAVE_LOG10L 1
8219 cat >> confdefs.h <<\EOF
8223 cat >> confdefs.h <<\EOF
8224 #define HAVE_MODFL 1
8227 cat >> confdefs.h <<\EOF
8231 cat >> confdefs.h <<\EOF
8232 #define HAVE_SINCOSL 1
8235 cat >> confdefs.h <<\EOF
8239 cat >> confdefs.h <<\EOF
8240 #define HAVE_SINHL 1
8243 cat >> confdefs.h <<\EOF
8244 #define HAVE_SQRTL 1
8247 cat >> confdefs.h <<\EOF
8251 cat >> confdefs.h <<\EOF
8252 #define HAVE_TANHL 1
8258 # We are being configured natively. We can do more elaborate tests
8259 # that include AC_TRY_COMPILE now, as the linker is assumed to be
8261 GLIBCPP_IS_CROSS_COMPILING=0
8264 # Check for available headers.
8265 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8266 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
8268 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8269 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8270 echo "configure:8271: checking for $ac_hdr" >&5
8271 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8272 echo $ac_n "(cached) $ac_c" 1>&6
8274 cat > conftest.$ac_ext <<EOF
8275 #line 8276 "configure"
8276 #include "confdefs.h"
8279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8280 { (eval echo configure:8281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8282 if test -z "$ac_err"; then
8284 eval "ac_cv_header_$ac_safe=yes"
8287 echo "configure: failed program was:" >&5
8288 cat conftest.$ac_ext >&5
8290 eval "ac_cv_header_$ac_safe=no"
8294 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8295 echo "$ac_t""yes" 1>&6
8296 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8297 cat >> confdefs.h <<EOF
8298 #define $ac_tr_hdr 1
8302 echo "$ac_t""no" 1>&6
8308 # All these tests are for C++; save the language and the compiler flags.
8309 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8310 # found in GLIBCPP_CONFIGURE.
8313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8314 ac_cpp='$CXXCPP $CPPFLAGS'
8315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8317 cross_compiling=$ac_cv_prog_cxx_cross
8319 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8320 ac_save_CXXFLAGS="$CXXFLAGS"
8322 # Check for maintainer-mode bits.
8323 if test x"$USE_MAINTAINER_MODE" = xno; then
8329 # Check for -ffunction-sections -fdata-sections
8330 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
8331 echo "configure:8332: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8332 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8333 cat > conftest.$ac_ext <<EOF
8334 #line 8335 "configure"
8335 #include "confdefs.h"
8342 if { (eval echo configure:8343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8346 echo "configure: failed program was:" >&5
8347 cat conftest.$ac_ext >&5
8352 if test "$ac_test_CXXFLAGS" = set; then
8353 CXXFLAGS="$ac_save_CXXFLAGS"
8355 # this is the suspicious part
8358 if test x"$ac_fdsections" = x"yes" &&
8359 test x"$enable_debug" = x"no"; then
8360 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8362 echo "$ac_t""$ac_fdsections" 1>&6
8365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8366 ac_cpp='$CPP $CPPFLAGS'
8367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8369 cross_compiling=$ac_cv_prog_cc_cross
8375 # If we're not using GNU ld, then there's no point in even trying these
8376 # tests. Check for that first. We should have already tested for gld
8377 # by now (in libtool), but require it now just to be safe...
8378 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8379 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8382 # The name set by libtool depends on the version of libtool. Shame on us
8383 # for depending on an impl detail, but c'est la vie. Older versions used
8384 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8385 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8386 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8387 # set (hence we're using an older libtool), then set it.
8388 if test x${with_gnu_ld+set} != xset; then
8389 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8390 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8393 with_gnu_ld=$ac_cv_prog_gnu_ld
8397 # Start by getting the version number. I think the libtool test already
8398 # does some of this, but throws away the result.
8400 ldver=`$LD --version 2>/dev/null | head -1 | \
8401 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8403 glibcpp_gnu_ld_version=`echo $ldver | \
8404 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8406 # Set --gc-sections.
8407 if test "$with_gnu_ld" = "notbroken"; then
8408 # GNU ld it is! Joy and bunny rabbits!
8410 # All these tests are for C++; save the language and the compiler flags.
8411 # Need to do this so that g++ won't try to link in libstdc++
8412 ac_test_CFLAGS="${CFLAGS+set}"
8413 ac_save_CFLAGS="$CFLAGS"
8414 CFLAGS='-x c++ -Wl,--gc-sections'
8416 # Check for -Wl,--gc-sections
8417 # XXX This test is broken at the moment, as symbols required for
8418 # linking are now in libsupc++ (not built yet.....). In addition,
8419 # this test has cored on solaris in the past. In addition,
8420 # --gc-sections doesn't really work at the moment (keeps on discarding
8421 # used sections, first .eh_frame and now some of the glibc sections for
8422 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8423 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8424 echo "configure:8425: checking for ld that supports -Wl,--gc-sections" >&5
8425 if test "$cross_compiling" = yes; then
8426 ac_sectionLDflags=yes
8428 cat > conftest.$ac_ext <<EOF
8429 #line 8430 "configure"
8430 #include "confdefs.h"
8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8442 ac_sectionLDflags=yes
8444 echo "configure: failed program was:" >&5
8445 cat conftest.$ac_ext >&5
8447 ac_sectionLDflags=no
8452 if test "$ac_test_CFLAGS" = set; then
8453 CFLAGS="$ac_save_CFLAGS"
8455 # this is the suspicious part
8458 if test "$ac_sectionLDflags" = "yes"; then
8459 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8461 echo "$ac_t""$ac_sectionLDflags" 1>&6
8464 # Set linker optimization flags.
8465 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8466 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8474 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
8475 echo "configure:8476: checking for __builtin_abs declaration" >&5
8476 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
8477 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
8478 echo $ac_n "(cached) $ac_c" 1>&6
8483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8484 ac_cpp='$CXXCPP $CPPFLAGS'
8485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8487 cross_compiling=$ac_cv_prog_cxx_cross
8489 cat > conftest.$ac_ext <<EOF
8490 #line 8491 "configure"
8491 #include "confdefs.h"
8497 if { (eval echo configure:8498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8499 glibcpp_cv_func___builtin_abs_use=yes
8501 echo "configure: failed program was:" >&5
8502 cat conftest.$ac_ext >&5
8504 glibcpp_cv_func___builtin_abs_use=no
8508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8509 ac_cpp='$CPP $CPPFLAGS'
8510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8512 cross_compiling=$ac_cv_prog_cc_cross
8518 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
8519 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
8520 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
8521 echo "configure:8522: checking for __builtin_abs linkage" >&5
8522 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
8523 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
8524 echo $ac_n "(cached) $ac_c" 1>&6
8527 cat > conftest.$ac_ext <<EOF
8528 #line 8529 "configure"
8529 #include "confdefs.h"
8535 if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8537 glibcpp_cv_func___builtin_abs_link=yes
8539 echo "configure: failed program was:" >&5
8540 cat conftest.$ac_ext >&5
8542 glibcpp_cv_func___builtin_abs_link=no
8549 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
8550 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
8551 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8552 cat >> confdefs.h <<EOF
8553 #define ${ac_tr_func} 1
8560 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
8561 echo "configure:8562: checking for __builtin_fabsf declaration" >&5
8562 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
8563 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
8564 echo $ac_n "(cached) $ac_c" 1>&6
8569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8570 ac_cpp='$CXXCPP $CPPFLAGS'
8571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8573 cross_compiling=$ac_cv_prog_cxx_cross
8575 cat > conftest.$ac_ext <<EOF
8576 #line 8577 "configure"
8577 #include "confdefs.h"
8583 if { (eval echo configure:8584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8585 glibcpp_cv_func___builtin_fabsf_use=yes
8587 echo "configure: failed program was:" >&5
8588 cat conftest.$ac_ext >&5
8590 glibcpp_cv_func___builtin_fabsf_use=no
8594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8595 ac_cpp='$CPP $CPPFLAGS'
8596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8598 cross_compiling=$ac_cv_prog_cc_cross
8604 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
8605 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
8606 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
8607 echo "configure:8608: checking for __builtin_fabsf linkage" >&5
8608 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
8609 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8613 cat > conftest.$ac_ext <<EOF
8614 #line 8615 "configure"
8615 #include "confdefs.h"
8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8623 glibcpp_cv_func___builtin_fabsf_link=yes
8625 echo "configure: failed program was:" >&5
8626 cat conftest.$ac_ext >&5
8628 glibcpp_cv_func___builtin_fabsf_link=no
8635 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
8636 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
8637 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8638 cat >> confdefs.h <<EOF
8639 #define ${ac_tr_func} 1
8646 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
8647 echo "configure:8648: checking for __builtin_fabs declaration" >&5
8648 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
8649 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
8650 echo $ac_n "(cached) $ac_c" 1>&6
8655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8656 ac_cpp='$CXXCPP $CPPFLAGS'
8657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8659 cross_compiling=$ac_cv_prog_cxx_cross
8661 cat > conftest.$ac_ext <<EOF
8662 #line 8663 "configure"
8663 #include "confdefs.h"
8669 if { (eval echo configure:8670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8671 glibcpp_cv_func___builtin_fabs_use=yes
8673 echo "configure: failed program was:" >&5
8674 cat conftest.$ac_ext >&5
8676 glibcpp_cv_func___builtin_fabs_use=no
8680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8681 ac_cpp='$CPP $CPPFLAGS'
8682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8684 cross_compiling=$ac_cv_prog_cc_cross
8690 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8691 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8692 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8693 echo "configure:8694: checking for __builtin_fabs linkage" >&5
8694 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8695 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8696 echo $ac_n "(cached) $ac_c" 1>&6
8699 cat > conftest.$ac_ext <<EOF
8700 #line 8701 "configure"
8701 #include "confdefs.h"
8707 if { (eval echo configure:8708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8709 glibcpp_cv_func___builtin_fabs_link=yes
8711 echo "configure: failed program was:" >&5
8712 cat conftest.$ac_ext >&5
8714 glibcpp_cv_func___builtin_fabs_link=no
8721 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8722 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8723 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8724 cat >> confdefs.h <<EOF
8725 #define ${ac_tr_func} 1
8732 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8733 echo "configure:8734: checking for __builtin_fabsl declaration" >&5
8734 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8735 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8736 echo $ac_n "(cached) $ac_c" 1>&6
8741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8742 ac_cpp='$CXXCPP $CPPFLAGS'
8743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8745 cross_compiling=$ac_cv_prog_cxx_cross
8747 cat > conftest.$ac_ext <<EOF
8748 #line 8749 "configure"
8749 #include "confdefs.h"
8755 if { (eval echo configure:8756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8757 glibcpp_cv_func___builtin_fabsl_use=yes
8759 echo "configure: failed program was:" >&5
8760 cat conftest.$ac_ext >&5
8762 glibcpp_cv_func___builtin_fabsl_use=no
8766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8767 ac_cpp='$CPP $CPPFLAGS'
8768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8770 cross_compiling=$ac_cv_prog_cc_cross
8776 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8777 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8778 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8779 echo "configure:8780: checking for __builtin_fabsl linkage" >&5
8780 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8781 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8782 echo $ac_n "(cached) $ac_c" 1>&6
8785 cat > conftest.$ac_ext <<EOF
8786 #line 8787 "configure"
8787 #include "confdefs.h"
8793 if { (eval echo configure:8794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8795 glibcpp_cv_func___builtin_fabsl_link=yes
8797 echo "configure: failed program was:" >&5
8798 cat conftest.$ac_ext >&5
8800 glibcpp_cv_func___builtin_fabsl_link=no
8807 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8808 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8809 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8810 cat >> confdefs.h <<EOF
8811 #define ${ac_tr_func} 1
8818 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8819 echo "configure:8820: checking for __builtin_labs declaration" >&5
8820 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8821 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8822 echo $ac_n "(cached) $ac_c" 1>&6
8827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8828 ac_cpp='$CXXCPP $CPPFLAGS'
8829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8831 cross_compiling=$ac_cv_prog_cxx_cross
8833 cat > conftest.$ac_ext <<EOF
8834 #line 8835 "configure"
8835 #include "confdefs.h"
8841 if { (eval echo configure:8842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8843 glibcpp_cv_func___builtin_labs_use=yes
8845 echo "configure: failed program was:" >&5
8846 cat conftest.$ac_ext >&5
8848 glibcpp_cv_func___builtin_labs_use=no
8852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8853 ac_cpp='$CPP $CPPFLAGS'
8854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8856 cross_compiling=$ac_cv_prog_cc_cross
8862 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8863 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8864 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8865 echo "configure:8866: checking for __builtin_labs linkage" >&5
8866 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8867 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8868 echo $ac_n "(cached) $ac_c" 1>&6
8871 cat > conftest.$ac_ext <<EOF
8872 #line 8873 "configure"
8873 #include "confdefs.h"
8879 if { (eval echo configure:8880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8881 glibcpp_cv_func___builtin_labs_link=yes
8883 echo "configure: failed program was:" >&5
8884 cat conftest.$ac_ext >&5
8886 glibcpp_cv_func___builtin_labs_link=no
8893 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8894 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8895 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8896 cat >> confdefs.h <<EOF
8897 #define ${ac_tr_func} 1
8905 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8906 echo "configure:8907: checking for __builtin_sqrtf declaration" >&5
8907 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8908 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8909 echo $ac_n "(cached) $ac_c" 1>&6
8914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8915 ac_cpp='$CXXCPP $CPPFLAGS'
8916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8918 cross_compiling=$ac_cv_prog_cxx_cross
8920 cat > conftest.$ac_ext <<EOF
8921 #line 8922 "configure"
8922 #include "confdefs.h"
8928 if { (eval echo configure:8929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8930 glibcpp_cv_func___builtin_sqrtf_use=yes
8932 echo "configure: failed program was:" >&5
8933 cat conftest.$ac_ext >&5
8935 glibcpp_cv_func___builtin_sqrtf_use=no
8939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8940 ac_cpp='$CPP $CPPFLAGS'
8941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8943 cross_compiling=$ac_cv_prog_cc_cross
8949 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8950 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8951 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8952 echo "configure:8953: checking for __builtin_sqrtf linkage" >&5
8953 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8954 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8955 echo $ac_n "(cached) $ac_c" 1>&6
8958 cat > conftest.$ac_ext <<EOF
8959 #line 8960 "configure"
8960 #include "confdefs.h"
8966 if { (eval echo configure:8967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8968 glibcpp_cv_func___builtin_sqrtf_link=yes
8970 echo "configure: failed program was:" >&5
8971 cat conftest.$ac_ext >&5
8973 glibcpp_cv_func___builtin_sqrtf_link=no
8980 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8981 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8982 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8983 cat >> confdefs.h <<EOF
8984 #define ${ac_tr_func} 1
8991 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8992 echo "configure:8993: checking for __builtin_sqrt declaration" >&5
8993 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8994 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
9000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9001 ac_cpp='$CXXCPP $CPPFLAGS'
9002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9004 cross_compiling=$ac_cv_prog_cxx_cross
9006 cat > conftest.$ac_ext <<EOF
9007 #line 9008 "configure"
9008 #include "confdefs.h"
9014 if { (eval echo configure:9015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9016 glibcpp_cv_func___builtin_sqrt_use=yes
9018 echo "configure: failed program was:" >&5
9019 cat conftest.$ac_ext >&5
9021 glibcpp_cv_func___builtin_sqrt_use=no
9025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9026 ac_cpp='$CPP $CPPFLAGS'
9027 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9028 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9029 cross_compiling=$ac_cv_prog_cc_cross
9035 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9036 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9037 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9038 echo "configure:9039: checking for __builtin_sqrt linkage" >&5
9039 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9040 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9041 echo $ac_n "(cached) $ac_c" 1>&6
9044 cat > conftest.$ac_ext <<EOF
9045 #line 9046 "configure"
9046 #include "confdefs.h"
9052 if { (eval echo configure:9053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9054 glibcpp_cv_func___builtin_sqrt_link=yes
9056 echo "configure: failed program was:" >&5
9057 cat conftest.$ac_ext >&5
9059 glibcpp_cv_func___builtin_sqrt_link=no
9066 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9067 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9068 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9069 cat >> confdefs.h <<EOF
9070 #define ${ac_tr_func} 1
9077 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9078 echo "configure:9079: checking for __builtin_sqrtl declaration" >&5
9079 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9080 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9081 echo $ac_n "(cached) $ac_c" 1>&6
9086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9087 ac_cpp='$CXXCPP $CPPFLAGS'
9088 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9089 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9090 cross_compiling=$ac_cv_prog_cxx_cross
9092 cat > conftest.$ac_ext <<EOF
9093 #line 9094 "configure"
9094 #include "confdefs.h"
9100 if { (eval echo configure:9101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9102 glibcpp_cv_func___builtin_sqrtl_use=yes
9104 echo "configure: failed program was:" >&5
9105 cat conftest.$ac_ext >&5
9107 glibcpp_cv_func___builtin_sqrtl_use=no
9111 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9112 ac_cpp='$CPP $CPPFLAGS'
9113 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9114 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9115 cross_compiling=$ac_cv_prog_cc_cross
9121 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
9122 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
9123 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
9124 echo "configure:9125: checking for __builtin_sqrtl linkage" >&5
9125 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
9126 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
9127 echo $ac_n "(cached) $ac_c" 1>&6
9130 cat > conftest.$ac_ext <<EOF
9131 #line 9132 "configure"
9132 #include "confdefs.h"
9138 if { (eval echo configure:9139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9140 glibcpp_cv_func___builtin_sqrtl_link=yes
9142 echo "configure: failed program was:" >&5
9143 cat conftest.$ac_ext >&5
9145 glibcpp_cv_func___builtin_sqrtl_link=no
9152 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
9153 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
9154 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9155 cat >> confdefs.h <<EOF
9156 #define ${ac_tr_func} 1
9164 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
9165 echo "configure:9166: checking for __builtin_sinf declaration" >&5
9166 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
9167 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
9168 echo $ac_n "(cached) $ac_c" 1>&6
9173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9174 ac_cpp='$CXXCPP $CPPFLAGS'
9175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9177 cross_compiling=$ac_cv_prog_cxx_cross
9179 cat > conftest.$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9187 if { (eval echo configure:9188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9189 glibcpp_cv_func___builtin_sinf_use=yes
9191 echo "configure: failed program was:" >&5
9192 cat conftest.$ac_ext >&5
9194 glibcpp_cv_func___builtin_sinf_use=no
9198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9199 ac_cpp='$CPP $CPPFLAGS'
9200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9202 cross_compiling=$ac_cv_prog_cc_cross
9208 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
9209 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
9210 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
9211 echo "configure:9212: checking for __builtin_sinf linkage" >&5
9212 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
9213 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
9214 echo $ac_n "(cached) $ac_c" 1>&6
9217 cat > conftest.$ac_ext <<EOF
9218 #line 9219 "configure"
9219 #include "confdefs.h"
9225 if { (eval echo configure:9226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9227 glibcpp_cv_func___builtin_sinf_link=yes
9229 echo "configure: failed program was:" >&5
9230 cat conftest.$ac_ext >&5
9232 glibcpp_cv_func___builtin_sinf_link=no
9239 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
9240 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
9241 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9242 cat >> confdefs.h <<EOF
9243 #define ${ac_tr_func} 1
9250 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
9251 echo "configure:9252: checking for __builtin_sin declaration" >&5
9252 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
9253 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
9254 echo $ac_n "(cached) $ac_c" 1>&6
9259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9260 ac_cpp='$CXXCPP $CPPFLAGS'
9261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9263 cross_compiling=$ac_cv_prog_cxx_cross
9265 cat > conftest.$ac_ext <<EOF
9266 #line 9267 "configure"
9267 #include "confdefs.h"
9273 if { (eval echo configure:9274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9275 glibcpp_cv_func___builtin_sin_use=yes
9277 echo "configure: failed program was:" >&5
9278 cat conftest.$ac_ext >&5
9280 glibcpp_cv_func___builtin_sin_use=no
9284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9285 ac_cpp='$CPP $CPPFLAGS'
9286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9288 cross_compiling=$ac_cv_prog_cc_cross
9294 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
9295 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
9296 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
9297 echo "configure:9298: checking for __builtin_sin linkage" >&5
9298 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
9299 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
9300 echo $ac_n "(cached) $ac_c" 1>&6
9303 cat > conftest.$ac_ext <<EOF
9304 #line 9305 "configure"
9305 #include "confdefs.h"
9311 if { (eval echo configure:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9313 glibcpp_cv_func___builtin_sin_link=yes
9315 echo "configure: failed program was:" >&5
9316 cat conftest.$ac_ext >&5
9318 glibcpp_cv_func___builtin_sin_link=no
9325 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
9326 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
9327 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9328 cat >> confdefs.h <<EOF
9329 #define ${ac_tr_func} 1
9336 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
9337 echo "configure:9338: checking for __builtin_sinl declaration" >&5
9338 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
9339 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9346 ac_cpp='$CXXCPP $CPPFLAGS'
9347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9349 cross_compiling=$ac_cv_prog_cxx_cross
9351 cat > conftest.$ac_ext <<EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9359 if { (eval echo configure:9360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9361 glibcpp_cv_func___builtin_sinl_use=yes
9363 echo "configure: failed program was:" >&5
9364 cat conftest.$ac_ext >&5
9366 glibcpp_cv_func___builtin_sinl_use=no
9370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9371 ac_cpp='$CPP $CPPFLAGS'
9372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9374 cross_compiling=$ac_cv_prog_cc_cross
9380 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
9381 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
9382 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
9383 echo "configure:9384: checking for __builtin_sinl linkage" >&5
9384 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
9385 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9389 cat > conftest.$ac_ext <<EOF
9390 #line 9391 "configure"
9391 #include "confdefs.h"
9397 if { (eval echo configure:9398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9399 glibcpp_cv_func___builtin_sinl_link=yes
9401 echo "configure: failed program was:" >&5
9402 cat conftest.$ac_ext >&5
9404 glibcpp_cv_func___builtin_sinl_link=no
9411 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
9412 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
9413 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9414 cat >> confdefs.h <<EOF
9415 #define ${ac_tr_func} 1
9423 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
9424 echo "configure:9425: checking for __builtin_cosf declaration" >&5
9425 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
9426 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
9427 echo $ac_n "(cached) $ac_c" 1>&6
9432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9433 ac_cpp='$CXXCPP $CPPFLAGS'
9434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9436 cross_compiling=$ac_cv_prog_cxx_cross
9438 cat > conftest.$ac_ext <<EOF
9439 #line 9440 "configure"
9440 #include "confdefs.h"
9446 if { (eval echo configure:9447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9448 glibcpp_cv_func___builtin_cosf_use=yes
9450 echo "configure: failed program was:" >&5
9451 cat conftest.$ac_ext >&5
9453 glibcpp_cv_func___builtin_cosf_use=no
9457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9458 ac_cpp='$CPP $CPPFLAGS'
9459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9461 cross_compiling=$ac_cv_prog_cc_cross
9467 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
9468 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
9469 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
9470 echo "configure:9471: checking for __builtin_cosf linkage" >&5
9471 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
9472 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
9473 echo $ac_n "(cached) $ac_c" 1>&6
9476 cat > conftest.$ac_ext <<EOF
9477 #line 9478 "configure"
9478 #include "confdefs.h"
9484 if { (eval echo configure:9485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9486 glibcpp_cv_func___builtin_cosf_link=yes
9488 echo "configure: failed program was:" >&5
9489 cat conftest.$ac_ext >&5
9491 glibcpp_cv_func___builtin_cosf_link=no
9498 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
9499 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
9500 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9501 cat >> confdefs.h <<EOF
9502 #define ${ac_tr_func} 1
9509 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
9510 echo "configure:9511: checking for __builtin_cos declaration" >&5
9511 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
9512 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
9513 echo $ac_n "(cached) $ac_c" 1>&6
9518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9519 ac_cpp='$CXXCPP $CPPFLAGS'
9520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9522 cross_compiling=$ac_cv_prog_cxx_cross
9524 cat > conftest.$ac_ext <<EOF
9525 #line 9526 "configure"
9526 #include "confdefs.h"
9532 if { (eval echo configure:9533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9534 glibcpp_cv_func___builtin_cos_use=yes
9536 echo "configure: failed program was:" >&5
9537 cat conftest.$ac_ext >&5
9539 glibcpp_cv_func___builtin_cos_use=no
9543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9544 ac_cpp='$CPP $CPPFLAGS'
9545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9547 cross_compiling=$ac_cv_prog_cc_cross
9553 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
9554 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
9555 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
9556 echo "configure:9557: checking for __builtin_cos linkage" >&5
9557 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
9558 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
9559 echo $ac_n "(cached) $ac_c" 1>&6
9562 cat > conftest.$ac_ext <<EOF
9563 #line 9564 "configure"
9564 #include "confdefs.h"
9570 if { (eval echo configure:9571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9572 glibcpp_cv_func___builtin_cos_link=yes
9574 echo "configure: failed program was:" >&5
9575 cat conftest.$ac_ext >&5
9577 glibcpp_cv_func___builtin_cos_link=no
9584 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
9585 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
9586 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9587 cat >> confdefs.h <<EOF
9588 #define ${ac_tr_func} 1
9595 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
9596 echo "configure:9597: checking for __builtin_cosl declaration" >&5
9597 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
9598 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
9599 echo $ac_n "(cached) $ac_c" 1>&6
9604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9605 ac_cpp='$CXXCPP $CPPFLAGS'
9606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9608 cross_compiling=$ac_cv_prog_cxx_cross
9610 cat > conftest.$ac_ext <<EOF
9611 #line 9612 "configure"
9612 #include "confdefs.h"
9618 if { (eval echo configure:9619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9620 glibcpp_cv_func___builtin_cosl_use=yes
9622 echo "configure: failed program was:" >&5
9623 cat conftest.$ac_ext >&5
9625 glibcpp_cv_func___builtin_cosl_use=no
9629 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9630 ac_cpp='$CPP $CPPFLAGS'
9631 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9632 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9633 cross_compiling=$ac_cv_prog_cc_cross
9639 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
9640 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
9641 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
9642 echo "configure:9643: checking for __builtin_cosl linkage" >&5
9643 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
9644 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9648 cat > conftest.$ac_ext <<EOF
9649 #line 9650 "configure"
9650 #include "confdefs.h"
9656 if { (eval echo configure:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9658 glibcpp_cv_func___builtin_cosl_link=yes
9660 echo "configure: failed program was:" >&5
9661 cat conftest.$ac_ext >&5
9663 glibcpp_cv_func___builtin_cosl_link=no
9670 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9671 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9672 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9673 cat >> confdefs.h <<EOF
9674 #define ${ac_tr_func} 1
9682 if test x$dummyvar = x"yes"; then
9683 cat >> confdefs.h <<\EOF
9684 #define HAVE___BUILTIN_ABS 1
9687 cat >> confdefs.h <<\EOF
9688 #define HAVE___BUILTIN_LABS 1
9691 cat >> confdefs.h <<\EOF
9692 #define HAVE___BUILTIN_COS 1
9695 cat >> confdefs.h <<\EOF
9696 #define HAVE___BUILTIN_COSF 1
9699 cat >> confdefs.h <<\EOF
9700 #define HAVE___BUILTIN_COSL 1
9703 cat >> confdefs.h <<\EOF
9704 #define HAVE___BUILTIN_FABS 1
9707 cat >> confdefs.h <<\EOF
9708 #define HAVE___BUILTIN_FABSF 1
9711 cat >> confdefs.h <<\EOF
9712 #define HAVE___BUILTIN_FABSL 1
9715 cat >> confdefs.h <<\EOF
9716 #define HAVE___BUILTIN_SIN 1
9719 cat >> confdefs.h <<\EOF
9720 #define HAVE___BUILTIN_SINF 1
9723 cat >> confdefs.h <<\EOF
9724 #define HAVE___BUILTIN_SINL 1
9727 cat >> confdefs.h <<\EOF
9728 #define HAVE___BUILTIN_SQRT 1
9731 cat >> confdefs.h <<\EOF
9732 #define HAVE___BUILTIN_SQRTF 1
9735 cat >> confdefs.h <<\EOF
9736 #define HAVE___BUILTIN_SQRTL 1
9742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9743 ac_save_CXXFLAGS="$CXXFLAGS"
9744 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9746 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9747 echo "configure:9748: checking for sin in -lm" >&5
9748 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9750 echo $ac_n "(cached) $ac_c" 1>&6
9752 ac_save_LIBS="$LIBS"
9754 cat > conftest.$ac_ext <<EOF
9755 #line 9756 "configure"
9756 #include "confdefs.h"
9757 /* Override any gcc2 internal prototype to avoid an error. */
9758 /* We use char because int might match the return type of a gcc2
9759 builtin and then its argument prototype would still apply. */
9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9768 eval "ac_cv_lib_$ac_lib_var=yes"
9770 echo "configure: failed program was:" >&5
9771 cat conftest.$ac_ext >&5
9773 eval "ac_cv_lib_$ac_lib_var=no"
9776 LIBS="$ac_save_LIBS"
9779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9780 echo "$ac_t""yes" 1>&6
9783 echo "$ac_t""no" 1>&6
9786 ac_save_LIBS="$LIBS"
9791 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9792 echo "configure:9793: checking for isinf declaration" >&5
9793 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9794 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_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"
9810 #ifdef HAVE_IEEEFP_H
9818 if { (eval echo configure:9819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9820 glibcpp_cv_func_isinf_use=yes
9822 echo "configure: failed program was:" >&5
9823 cat conftest.$ac_ext >&5
9825 glibcpp_cv_func_isinf_use=no
9829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9830 ac_cpp='$CPP $CPPFLAGS'
9831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9833 cross_compiling=$ac_cv_prog_cc_cross
9839 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9841 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9842 for ac_func in isinf
9844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9845 echo "configure:9846: checking for $ac_func" >&5
9846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9847 echo $ac_n "(cached) $ac_c" 1>&6
9849 cat > conftest.$ac_ext <<EOF
9850 #line 9851 "configure"
9851 #include "confdefs.h"
9852 /* System header to define __stub macros and hopefully few prototypes,
9853 which can conflict with char $ac_func(); below. */
9855 /* Override any gcc2 internal prototype to avoid an error. */
9856 /* We use char because int might match the return type of a gcc2
9857 builtin and then its argument prototype would still apply. */
9862 /* The GNU C library defines this for functions which it implements
9863 to always fail with ENOSYS. Some functions are actually named
9864 something starting with __ and the normal name is an alias. */
9865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9875 eval "ac_cv_func_$ac_func=yes"
9877 echo "configure: failed program was:" >&5
9878 cat conftest.$ac_ext >&5
9880 eval "ac_cv_func_$ac_func=no"
9885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9888 cat >> confdefs.h <<EOF
9889 #define $ac_tr_func 1
9893 echo "$ac_t""no" 1>&6
9899 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9900 echo "configure:9901: checking for _isinf declaration" >&5
9901 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9902 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9903 echo $ac_n "(cached) $ac_c" 1>&6
9908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9909 ac_cpp='$CXXCPP $CPPFLAGS'
9910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9912 cross_compiling=$ac_cv_prog_cxx_cross
9914 cat > conftest.$ac_ext <<EOF
9915 #line 9916 "configure"
9916 #include "confdefs.h"
9918 #ifdef HAVE_IEEEFP_H
9926 if { (eval echo configure:9927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9928 glibcpp_cv_func__isinf_use=yes
9930 echo "configure: failed program was:" >&5
9931 cat conftest.$ac_ext >&5
9933 glibcpp_cv_func__isinf_use=no
9937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9938 ac_cpp='$CPP $CPPFLAGS'
9939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9941 cross_compiling=$ac_cv_prog_cc_cross
9947 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9949 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9950 for ac_func in _isinf
9952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9953 echo "configure:9954: checking for $ac_func" >&5
9954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9955 echo $ac_n "(cached) $ac_c" 1>&6
9957 cat > conftest.$ac_ext <<EOF
9958 #line 9959 "configure"
9959 #include "confdefs.h"
9960 /* System header to define __stub macros and hopefully few prototypes,
9961 which can conflict with char $ac_func(); below. */
9963 /* Override any gcc2 internal prototype to avoid an error. */
9964 /* We use char because int might match the return type of a gcc2
9965 builtin and then its argument prototype would still apply. */
9970 /* The GNU C library defines this for functions which it implements
9971 to always fail with ENOSYS. Some functions are actually named
9972 something starting with __ and the normal name is an alias. */
9973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9981 if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9983 eval "ac_cv_func_$ac_func=yes"
9985 echo "configure: failed program was:" >&5
9986 cat conftest.$ac_ext >&5
9988 eval "ac_cv_func_$ac_func=no"
9993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9994 echo "$ac_t""yes" 1>&6
9995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9996 cat >> confdefs.h <<EOF
9997 #define $ac_tr_func 1
10001 echo "$ac_t""no" 1>&6
10010 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10011 echo "configure:10012: checking for isnan declaration" >&5
10012 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10013 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10020 ac_cpp='$CXXCPP $CPPFLAGS'
10021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10023 cross_compiling=$ac_cv_prog_cxx_cross
10025 cat > conftest.$ac_ext <<EOF
10026 #line 10027 "configure"
10027 #include "confdefs.h"
10029 #ifdef HAVE_IEEEFP_H
10030 #include <ieeefp.h>
10037 if { (eval echo configure:10038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10039 glibcpp_cv_func_isnan_use=yes
10041 echo "configure: failed program was:" >&5
10042 cat conftest.$ac_ext >&5
10044 glibcpp_cv_func_isnan_use=no
10048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10049 ac_cpp='$CPP $CPPFLAGS'
10050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10052 cross_compiling=$ac_cv_prog_cc_cross
10058 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10060 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10061 for ac_func in isnan
10063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10064 echo "configure:10065: checking for $ac_func" >&5
10065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10066 echo $ac_n "(cached) $ac_c" 1>&6
10068 cat > conftest.$ac_ext <<EOF
10069 #line 10070 "configure"
10070 #include "confdefs.h"
10071 /* System header to define __stub macros and hopefully few prototypes,
10072 which can conflict with char $ac_func(); below. */
10073 #include <assert.h>
10074 /* Override any gcc2 internal prototype to avoid an error. */
10075 /* We use char because int might match the return type of a gcc2
10076 builtin and then its argument prototype would still apply. */
10081 /* The GNU C library defines this for functions which it implements
10082 to always fail with ENOSYS. Some functions are actually named
10083 something starting with __ and the normal name is an alias. */
10084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10092 if { (eval echo configure:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10094 eval "ac_cv_func_$ac_func=yes"
10096 echo "configure: failed program was:" >&5
10097 cat conftest.$ac_ext >&5
10099 eval "ac_cv_func_$ac_func=no"
10104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10105 echo "$ac_t""yes" 1>&6
10106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10107 cat >> confdefs.h <<EOF
10108 #define $ac_tr_func 1
10112 echo "$ac_t""no" 1>&6
10118 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
10119 echo "configure:10120: checking for _isnan declaration" >&5
10120 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
10121 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
10122 echo $ac_n "(cached) $ac_c" 1>&6
10127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10128 ac_cpp='$CXXCPP $CPPFLAGS'
10129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10131 cross_compiling=$ac_cv_prog_cxx_cross
10133 cat > conftest.$ac_ext <<EOF
10134 #line 10135 "configure"
10135 #include "confdefs.h"
10137 #ifdef HAVE_IEEEFP_H
10138 #include <ieeefp.h>
10145 if { (eval echo configure:10146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10147 glibcpp_cv_func__isnan_use=yes
10149 echo "configure: failed program was:" >&5
10150 cat conftest.$ac_ext >&5
10152 glibcpp_cv_func__isnan_use=no
10156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10157 ac_cpp='$CPP $CPPFLAGS'
10158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10160 cross_compiling=$ac_cv_prog_cc_cross
10166 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
10168 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
10169 for ac_func in _isnan
10171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10172 echo "configure:10173: checking for $ac_func" >&5
10173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10174 echo $ac_n "(cached) $ac_c" 1>&6
10176 cat > conftest.$ac_ext <<EOF
10177 #line 10178 "configure"
10178 #include "confdefs.h"
10179 /* System header to define __stub macros and hopefully few prototypes,
10180 which can conflict with char $ac_func(); below. */
10181 #include <assert.h>
10182 /* Override any gcc2 internal prototype to avoid an error. */
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10189 /* The GNU C library defines this for functions which it implements
10190 to always fail with ENOSYS. Some functions are actually named
10191 something starting with __ and the normal name is an alias. */
10192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10200 if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10202 eval "ac_cv_func_$ac_func=yes"
10204 echo "configure: failed program was:" >&5
10205 cat conftest.$ac_ext >&5
10207 eval "ac_cv_func_$ac_func=no"
10212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10213 echo "$ac_t""yes" 1>&6
10214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10215 cat >> confdefs.h <<EOF
10216 #define $ac_tr_func 1
10220 echo "$ac_t""no" 1>&6
10229 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
10230 echo "configure:10231: checking for finite declaration" >&5
10231 if test x${glibcpp_cv_func_finite_use+set} != xset; then
10232 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
10233 echo $ac_n "(cached) $ac_c" 1>&6
10238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10239 ac_cpp='$CXXCPP $CPPFLAGS'
10240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10242 cross_compiling=$ac_cv_prog_cxx_cross
10244 cat > conftest.$ac_ext <<EOF
10245 #line 10246 "configure"
10246 #include "confdefs.h"
10248 #ifdef HAVE_IEEEFP_H
10249 #include <ieeefp.h>
10256 if { (eval echo configure:10257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10258 glibcpp_cv_func_finite_use=yes
10260 echo "configure: failed program was:" >&5
10261 cat conftest.$ac_ext >&5
10263 glibcpp_cv_func_finite_use=no
10267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10268 ac_cpp='$CPP $CPPFLAGS'
10269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10271 cross_compiling=$ac_cv_prog_cc_cross
10277 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
10279 if test x$glibcpp_cv_func_finite_use = x"yes"; then
10280 for ac_func in finite
10282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10283 echo "configure:10284: checking for $ac_func" >&5
10284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10285 echo $ac_n "(cached) $ac_c" 1>&6
10287 cat > conftest.$ac_ext <<EOF
10288 #line 10289 "configure"
10289 #include "confdefs.h"
10290 /* System header to define __stub macros and hopefully few prototypes,
10291 which can conflict with char $ac_func(); below. */
10292 #include <assert.h>
10293 /* Override any gcc2 internal prototype to avoid an error. */
10294 /* We use char because int might match the return type of a gcc2
10295 builtin and then its argument prototype would still apply. */
10300 /* The GNU C library defines this for functions which it implements
10301 to always fail with ENOSYS. Some functions are actually named
10302 something starting with __ and the normal name is an alias. */
10303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10311 if { (eval echo configure:10312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10313 eval "ac_cv_func_$ac_func=yes"
10315 echo "configure: failed program was:" >&5
10316 cat conftest.$ac_ext >&5
10318 eval "ac_cv_func_$ac_func=no"
10323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10324 echo "$ac_t""yes" 1>&6
10325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10326 cat >> confdefs.h <<EOF
10327 #define $ac_tr_func 1
10331 echo "$ac_t""no" 1>&6
10337 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
10338 echo "configure:10339: checking for _finite declaration" >&5
10339 if test x${glibcpp_cv_func__finite_use+set} != xset; then
10340 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
10341 echo $ac_n "(cached) $ac_c" 1>&6
10346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10347 ac_cpp='$CXXCPP $CPPFLAGS'
10348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10350 cross_compiling=$ac_cv_prog_cxx_cross
10352 cat > conftest.$ac_ext <<EOF
10353 #line 10354 "configure"
10354 #include "confdefs.h"
10356 #ifdef HAVE_IEEEFP_H
10357 #include <ieeefp.h>
10364 if { (eval echo configure:10365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10366 glibcpp_cv_func__finite_use=yes
10368 echo "configure: failed program was:" >&5
10369 cat conftest.$ac_ext >&5
10371 glibcpp_cv_func__finite_use=no
10375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10376 ac_cpp='$CPP $CPPFLAGS'
10377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10379 cross_compiling=$ac_cv_prog_cc_cross
10385 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
10387 if test x$glibcpp_cv_func__finite_use = x"yes"; then
10388 for ac_func in _finite
10390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10391 echo "configure:10392: checking for $ac_func" >&5
10392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10393 echo $ac_n "(cached) $ac_c" 1>&6
10395 cat > conftest.$ac_ext <<EOF
10396 #line 10397 "configure"
10397 #include "confdefs.h"
10398 /* System header to define __stub macros and hopefully few prototypes,
10399 which can conflict with char $ac_func(); below. */
10400 #include <assert.h>
10401 /* Override any gcc2 internal prototype to avoid an error. */
10402 /* We use char because int might match the return type of a gcc2
10403 builtin and then its argument prototype would still apply. */
10408 /* The GNU C library defines this for functions which it implements
10409 to always fail with ENOSYS. Some functions are actually named
10410 something starting with __ and the normal name is an alias. */
10411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10419 if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10421 eval "ac_cv_func_$ac_func=yes"
10423 echo "configure: failed program was:" >&5
10424 cat conftest.$ac_ext >&5
10426 eval "ac_cv_func_$ac_func=no"
10431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10432 echo "$ac_t""yes" 1>&6
10433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10434 cat >> confdefs.h <<EOF
10435 #define $ac_tr_func 1
10439 echo "$ac_t""no" 1>&6
10448 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
10449 echo "configure:10450: checking for copysign declaration" >&5
10450 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
10451 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
10452 echo $ac_n "(cached) $ac_c" 1>&6
10457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10458 ac_cpp='$CXXCPP $CPPFLAGS'
10459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10461 cross_compiling=$ac_cv_prog_cxx_cross
10463 cat > conftest.$ac_ext <<EOF
10464 #line 10465 "configure"
10465 #include "confdefs.h"
10471 if { (eval echo configure:10472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10473 glibcpp_cv_func_copysign_use=yes
10475 echo "configure: failed program was:" >&5
10476 cat conftest.$ac_ext >&5
10478 glibcpp_cv_func_copysign_use=no
10482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10483 ac_cpp='$CPP $CPPFLAGS'
10484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10486 cross_compiling=$ac_cv_prog_cc_cross
10492 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
10494 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
10495 for ac_func in copysign
10497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10498 echo "configure:10499: checking for $ac_func" >&5
10499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10502 cat > conftest.$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10505 /* System header to define __stub macros and hopefully few prototypes,
10506 which can conflict with char $ac_func(); below. */
10507 #include <assert.h>
10508 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10515 /* The GNU C library defines this for functions which it implements
10516 to always fail with ENOSYS. Some functions are actually named
10517 something starting with __ and the normal name is an alias. */
10518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10526 if { (eval echo configure:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10528 eval "ac_cv_func_$ac_func=yes"
10530 echo "configure: failed program was:" >&5
10531 cat conftest.$ac_ext >&5
10533 eval "ac_cv_func_$ac_func=no"
10538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10539 echo "$ac_t""yes" 1>&6
10540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10541 cat >> confdefs.h <<EOF
10542 #define $ac_tr_func 1
10546 echo "$ac_t""no" 1>&6
10552 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
10553 echo "configure:10554: checking for _copysign declaration" >&5
10554 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
10555 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10562 ac_cpp='$CXXCPP $CPPFLAGS'
10563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10565 cross_compiling=$ac_cv_prog_cxx_cross
10567 cat > conftest.$ac_ext <<EOF
10568 #line 10569 "configure"
10569 #include "confdefs.h"
10575 if { (eval echo configure:10576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10577 glibcpp_cv_func__copysign_use=yes
10579 echo "configure: failed program was:" >&5
10580 cat conftest.$ac_ext >&5
10582 glibcpp_cv_func__copysign_use=no
10586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10587 ac_cpp='$CPP $CPPFLAGS'
10588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10590 cross_compiling=$ac_cv_prog_cc_cross
10596 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
10598 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
10599 for ac_func in _copysign
10601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10602 echo "configure:10603: checking for $ac_func" >&5
10603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10604 echo $ac_n "(cached) $ac_c" 1>&6
10606 cat > conftest.$ac_ext <<EOF
10607 #line 10608 "configure"
10608 #include "confdefs.h"
10609 /* System header to define __stub macros and hopefully few prototypes,
10610 which can conflict with char $ac_func(); below. */
10611 #include <assert.h>
10612 /* Override any gcc2 internal prototype to avoid an error. */
10613 /* We use char because int might match the return type of a gcc2
10614 builtin and then its argument prototype would still apply. */
10619 /* The GNU C library defines this for functions which it implements
10620 to always fail with ENOSYS. Some functions are actually named
10621 something starting with __ and the normal name is an alias. */
10622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10632 eval "ac_cv_func_$ac_func=yes"
10634 echo "configure: failed program was:" >&5
10635 cat conftest.$ac_ext >&5
10637 eval "ac_cv_func_$ac_func=no"
10642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10643 echo "$ac_t""yes" 1>&6
10644 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10645 cat >> confdefs.h <<EOF
10646 #define $ac_tr_func 1
10650 echo "$ac_t""no" 1>&6
10659 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
10660 echo "configure:10661: checking for sincos declaration" >&5
10661 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10662 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10669 ac_cpp='$CXXCPP $CPPFLAGS'
10670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10672 cross_compiling=$ac_cv_prog_cxx_cross
10674 cat > conftest.$ac_ext <<EOF
10675 #line 10676 "configure"
10676 #include "confdefs.h"
10682 if { (eval echo configure:10683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10684 glibcpp_cv_func_sincos_use=yes
10686 echo "configure: failed program was:" >&5
10687 cat conftest.$ac_ext >&5
10689 glibcpp_cv_func_sincos_use=no
10693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10694 ac_cpp='$CPP $CPPFLAGS'
10695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10697 cross_compiling=$ac_cv_prog_cc_cross
10703 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10705 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10706 for ac_func in sincos
10708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10709 echo "configure:10710: checking for $ac_func" >&5
10710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10711 echo $ac_n "(cached) $ac_c" 1>&6
10713 cat > conftest.$ac_ext <<EOF
10714 #line 10715 "configure"
10715 #include "confdefs.h"
10716 /* System header to define __stub macros and hopefully few prototypes,
10717 which can conflict with char $ac_func(); below. */
10718 #include <assert.h>
10719 /* Override any gcc2 internal prototype to avoid an error. */
10720 /* We use char because int might match the return type of a gcc2
10721 builtin and then its argument prototype would still apply. */
10726 /* The GNU C library defines this for functions which it implements
10727 to always fail with ENOSYS. Some functions are actually named
10728 something starting with __ and the normal name is an alias. */
10729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10737 if { (eval echo configure:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10739 eval "ac_cv_func_$ac_func=yes"
10741 echo "configure: failed program was:" >&5
10742 cat conftest.$ac_ext >&5
10744 eval "ac_cv_func_$ac_func=no"
10749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10750 echo "$ac_t""yes" 1>&6
10751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10752 cat >> confdefs.h <<EOF
10753 #define $ac_tr_func 1
10757 echo "$ac_t""no" 1>&6
10763 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10764 echo "configure:10765: checking for _sincos declaration" >&5
10765 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10766 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10767 echo $ac_n "(cached) $ac_c" 1>&6
10772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10773 ac_cpp='$CXXCPP $CPPFLAGS'
10774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10776 cross_compiling=$ac_cv_prog_cxx_cross
10778 cat > conftest.$ac_ext <<EOF
10779 #line 10780 "configure"
10780 #include "confdefs.h"
10786 if { (eval echo configure:10787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10788 glibcpp_cv_func__sincos_use=yes
10790 echo "configure: failed program was:" >&5
10791 cat conftest.$ac_ext >&5
10793 glibcpp_cv_func__sincos_use=no
10797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10798 ac_cpp='$CPP $CPPFLAGS'
10799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10801 cross_compiling=$ac_cv_prog_cc_cross
10807 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10809 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10810 for ac_func in _sincos
10812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10813 echo "configure:10814: checking for $ac_func" >&5
10814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10815 echo $ac_n "(cached) $ac_c" 1>&6
10817 cat > conftest.$ac_ext <<EOF
10818 #line 10819 "configure"
10819 #include "confdefs.h"
10820 /* System header to define __stub macros and hopefully few prototypes,
10821 which can conflict with char $ac_func(); below. */
10822 #include <assert.h>
10823 /* Override any gcc2 internal prototype to avoid an error. */
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10830 /* The GNU C library defines this for functions which it implements
10831 to always fail with ENOSYS. Some functions are actually named
10832 something starting with __ and the normal name is an alias. */
10833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10841 if { (eval echo configure:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10843 eval "ac_cv_func_$ac_func=yes"
10845 echo "configure: failed program was:" >&5
10846 cat conftest.$ac_ext >&5
10848 eval "ac_cv_func_$ac_func=no"
10853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10854 echo "$ac_t""yes" 1>&6
10855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10856 cat >> confdefs.h <<EOF
10857 #define $ac_tr_func 1
10861 echo "$ac_t""no" 1>&6
10870 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10871 echo "configure:10872: checking for fpclass declaration" >&5
10872 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10873 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10874 echo $ac_n "(cached) $ac_c" 1>&6
10879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10880 ac_cpp='$CXXCPP $CPPFLAGS'
10881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10883 cross_compiling=$ac_cv_prog_cxx_cross
10885 cat > conftest.$ac_ext <<EOF
10886 #line 10887 "configure"
10887 #include "confdefs.h"
10889 #ifdef HAVE_IEEEFP_H
10890 #include <ieeefp.h>
10897 if { (eval echo configure:10898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10899 glibcpp_cv_func_fpclass_use=yes
10901 echo "configure: failed program was:" >&5
10902 cat conftest.$ac_ext >&5
10904 glibcpp_cv_func_fpclass_use=no
10908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10909 ac_cpp='$CPP $CPPFLAGS'
10910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10912 cross_compiling=$ac_cv_prog_cc_cross
10918 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10920 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10921 for ac_func in fpclass
10923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10924 echo "configure:10925: checking for $ac_func" >&5
10925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10926 echo $ac_n "(cached) $ac_c" 1>&6
10928 cat > conftest.$ac_ext <<EOF
10929 #line 10930 "configure"
10930 #include "confdefs.h"
10931 /* System header to define __stub macros and hopefully few prototypes,
10932 which can conflict with char $ac_func(); below. */
10933 #include <assert.h>
10934 /* Override any gcc2 internal prototype to avoid an error. */
10935 /* We use char because int might match the return type of a gcc2
10936 builtin and then its argument prototype would still apply. */
10941 /* The GNU C library defines this for functions which it implements
10942 to always fail with ENOSYS. Some functions are actually named
10943 something starting with __ and the normal name is an alias. */
10944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10954 eval "ac_cv_func_$ac_func=yes"
10956 echo "configure: failed program was:" >&5
10957 cat conftest.$ac_ext >&5
10959 eval "ac_cv_func_$ac_func=no"
10964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10965 echo "$ac_t""yes" 1>&6
10966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10967 cat >> confdefs.h <<EOF
10968 #define $ac_tr_func 1
10972 echo "$ac_t""no" 1>&6
10978 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10979 echo "configure:10980: checking for _fpclass declaration" >&5
10980 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10981 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10982 echo $ac_n "(cached) $ac_c" 1>&6
10987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10988 ac_cpp='$CXXCPP $CPPFLAGS'
10989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10991 cross_compiling=$ac_cv_prog_cxx_cross
10993 cat > conftest.$ac_ext <<EOF
10994 #line 10995 "configure"
10995 #include "confdefs.h"
10997 #ifdef HAVE_IEEEFP_H
10998 #include <ieeefp.h>
11005 if { (eval echo configure:11006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11007 glibcpp_cv_func__fpclass_use=yes
11009 echo "configure: failed program was:" >&5
11010 cat conftest.$ac_ext >&5
11012 glibcpp_cv_func__fpclass_use=no
11016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11017 ac_cpp='$CPP $CPPFLAGS'
11018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11020 cross_compiling=$ac_cv_prog_cc_cross
11026 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11028 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11029 for ac_func in _fpclass
11031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11032 echo "configure:11033: checking for $ac_func" >&5
11033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11034 echo $ac_n "(cached) $ac_c" 1>&6
11036 cat > conftest.$ac_ext <<EOF
11037 #line 11038 "configure"
11038 #include "confdefs.h"
11039 /* System header to define __stub macros and hopefully few prototypes,
11040 which can conflict with char $ac_func(); below. */
11041 #include <assert.h>
11042 /* Override any gcc2 internal prototype to avoid an error. */
11043 /* We use char because int might match the return type of a gcc2
11044 builtin and then its argument prototype would still apply. */
11049 /* The GNU C library defines this for functions which it implements
11050 to always fail with ENOSYS. Some functions are actually named
11051 something starting with __ and the normal name is an alias. */
11052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11060 if { (eval echo configure:11061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11062 eval "ac_cv_func_$ac_func=yes"
11064 echo "configure: failed program was:" >&5
11065 cat conftest.$ac_ext >&5
11067 eval "ac_cv_func_$ac_func=no"
11072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11073 echo "$ac_t""yes" 1>&6
11074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11075 cat >> confdefs.h <<EOF
11076 #define $ac_tr_func 1
11080 echo "$ac_t""no" 1>&6
11089 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11090 echo "configure:11091: checking for qfpclass declaration" >&5
11091 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11092 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11099 ac_cpp='$CXXCPP $CPPFLAGS'
11100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11102 cross_compiling=$ac_cv_prog_cxx_cross
11104 cat > conftest.$ac_ext <<EOF
11105 #line 11106 "configure"
11106 #include "confdefs.h"
11108 #ifdef HAVE_IEEEFP_H
11109 #include <ieeefp.h>
11116 if { (eval echo configure:11117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11118 glibcpp_cv_func_qfpclass_use=yes
11120 echo "configure: failed program was:" >&5
11121 cat conftest.$ac_ext >&5
11123 glibcpp_cv_func_qfpclass_use=no
11127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11128 ac_cpp='$CPP $CPPFLAGS'
11129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11131 cross_compiling=$ac_cv_prog_cc_cross
11137 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
11139 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
11140 for ac_func in qfpclass
11142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11143 echo "configure:11144: checking for $ac_func" >&5
11144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11145 echo $ac_n "(cached) $ac_c" 1>&6
11147 cat > conftest.$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11150 /* System header to define __stub macros and hopefully few prototypes,
11151 which can conflict with char $ac_func(); below. */
11152 #include <assert.h>
11153 /* Override any gcc2 internal prototype to avoid an error. */
11154 /* We use char because int might match the return type of a gcc2
11155 builtin and then its argument prototype would still apply. */
11160 /* The GNU C library defines this for functions which it implements
11161 to always fail with ENOSYS. Some functions are actually named
11162 something starting with __ and the normal name is an alias. */
11163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11171 if { (eval echo configure:11172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11173 eval "ac_cv_func_$ac_func=yes"
11175 echo "configure: failed program was:" >&5
11176 cat conftest.$ac_ext >&5
11178 eval "ac_cv_func_$ac_func=no"
11183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11184 echo "$ac_t""yes" 1>&6
11185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11186 cat >> confdefs.h <<EOF
11187 #define $ac_tr_func 1
11191 echo "$ac_t""no" 1>&6
11197 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11198 echo "configure:11199: checking for _qfpclass declaration" >&5
11199 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11200 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11201 echo $ac_n "(cached) $ac_c" 1>&6
11206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11207 ac_cpp='$CXXCPP $CPPFLAGS'
11208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11210 cross_compiling=$ac_cv_prog_cxx_cross
11212 cat > conftest.$ac_ext <<EOF
11213 #line 11214 "configure"
11214 #include "confdefs.h"
11216 #ifdef HAVE_IEEEFP_H
11217 #include <ieeefp.h>
11224 if { (eval echo configure:11225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11226 glibcpp_cv_func__qfpclass_use=yes
11228 echo "configure: failed program was:" >&5
11229 cat conftest.$ac_ext >&5
11231 glibcpp_cv_func__qfpclass_use=no
11235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11236 ac_cpp='$CPP $CPPFLAGS'
11237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11239 cross_compiling=$ac_cv_prog_cc_cross
11245 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11247 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11248 for ac_func in _qfpclass
11250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11251 echo "configure:11252: checking for $ac_func" >&5
11252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11253 echo $ac_n "(cached) $ac_c" 1>&6
11255 cat > conftest.$ac_ext <<EOF
11256 #line 11257 "configure"
11257 #include "confdefs.h"
11258 /* System header to define __stub macros and hopefully few prototypes,
11259 which can conflict with char $ac_func(); below. */
11260 #include <assert.h>
11261 /* Override any gcc2 internal prototype to avoid an error. */
11262 /* We use char because int might match the return type of a gcc2
11263 builtin and then its argument prototype would still apply. */
11268 /* The GNU C library defines this for functions which it implements
11269 to always fail with ENOSYS. Some functions are actually named
11270 something starting with __ and the normal name is an alias. */
11271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11279 if { (eval echo configure:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11281 eval "ac_cv_func_$ac_func=yes"
11283 echo "configure: failed program was:" >&5
11284 cat conftest.$ac_ext >&5
11286 eval "ac_cv_func_$ac_func=no"
11291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11292 echo "$ac_t""yes" 1>&6
11293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11294 cat >> confdefs.h <<EOF
11295 #define $ac_tr_func 1
11299 echo "$ac_t""no" 1>&6
11308 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
11309 echo "configure:11310: checking for hypot declaration" >&5
11310 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
11311 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
11312 echo $ac_n "(cached) $ac_c" 1>&6
11317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11318 ac_cpp='$CXXCPP $CPPFLAGS'
11319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11321 cross_compiling=$ac_cv_prog_cxx_cross
11323 cat > conftest.$ac_ext <<EOF
11324 #line 11325 "configure"
11325 #include "confdefs.h"
11331 if { (eval echo configure:11332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11333 glibcpp_cv_func_hypot_use=yes
11335 echo "configure: failed program was:" >&5
11336 cat conftest.$ac_ext >&5
11338 glibcpp_cv_func_hypot_use=no
11342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11343 ac_cpp='$CPP $CPPFLAGS'
11344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11346 cross_compiling=$ac_cv_prog_cc_cross
11352 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
11354 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
11355 for ac_func in hypot
11357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11358 echo "configure:11359: checking for $ac_func" >&5
11359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11360 echo $ac_n "(cached) $ac_c" 1>&6
11362 cat > conftest.$ac_ext <<EOF
11363 #line 11364 "configure"
11364 #include "confdefs.h"
11365 /* System header to define __stub macros and hopefully few prototypes,
11366 which can conflict with char $ac_func(); below. */
11367 #include <assert.h>
11368 /* Override any gcc2 internal prototype to avoid an error. */
11369 /* We use char because int might match the return type of a gcc2
11370 builtin and then its argument prototype would still apply. */
11375 /* The GNU C library defines this for functions which it implements
11376 to always fail with ENOSYS. Some functions are actually named
11377 something starting with __ and the normal name is an alias. */
11378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11386 if { (eval echo configure:11387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11388 eval "ac_cv_func_$ac_func=yes"
11390 echo "configure: failed program was:" >&5
11391 cat conftest.$ac_ext >&5
11393 eval "ac_cv_func_$ac_func=no"
11398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11399 echo "$ac_t""yes" 1>&6
11400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11401 cat >> confdefs.h <<EOF
11402 #define $ac_tr_func 1
11406 echo "$ac_t""no" 1>&6
11412 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
11413 echo "configure:11414: checking for _hypot declaration" >&5
11414 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
11415 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
11416 echo $ac_n "(cached) $ac_c" 1>&6
11421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11422 ac_cpp='$CXXCPP $CPPFLAGS'
11423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11425 cross_compiling=$ac_cv_prog_cxx_cross
11427 cat > conftest.$ac_ext <<EOF
11428 #line 11429 "configure"
11429 #include "confdefs.h"
11435 if { (eval echo configure:11436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11437 glibcpp_cv_func__hypot_use=yes
11439 echo "configure: failed program was:" >&5
11440 cat conftest.$ac_ext >&5
11442 glibcpp_cv_func__hypot_use=no
11446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11447 ac_cpp='$CPP $CPPFLAGS'
11448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11450 cross_compiling=$ac_cv_prog_cc_cross
11456 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
11458 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
11459 for ac_func in _hypot
11461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11462 echo "configure:11463: checking for $ac_func" >&5
11463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11464 echo $ac_n "(cached) $ac_c" 1>&6
11466 cat > conftest.$ac_ext <<EOF
11467 #line 11468 "configure"
11468 #include "confdefs.h"
11469 /* System header to define __stub macros and hopefully few prototypes,
11470 which can conflict with char $ac_func(); below. */
11471 #include <assert.h>
11472 /* Override any gcc2 internal prototype to avoid an error. */
11473 /* We use char because int might match the return type of a gcc2
11474 builtin and then its argument prototype would still apply. */
11479 /* The GNU C library defines this for functions which it implements
11480 to always fail with ENOSYS. Some functions are actually named
11481 something starting with __ and the normal name is an alias. */
11482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11490 if { (eval echo configure:11491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11492 eval "ac_cv_func_$ac_func=yes"
11494 echo "configure: failed program was:" >&5
11495 cat conftest.$ac_ext >&5
11497 eval "ac_cv_func_$ac_func=no"
11502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11503 echo "$ac_t""yes" 1>&6
11504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11505 cat >> confdefs.h <<EOF
11506 #define $ac_tr_func 1
11510 echo "$ac_t""no" 1>&6
11519 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
11520 echo "configure:11521: checking for float trig functions" >&5
11521 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
11522 echo $ac_n "(cached) $ac_c" 1>&6
11527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11528 ac_cpp='$CXXCPP $CPPFLAGS'
11529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11531 cross_compiling=$ac_cv_prog_cxx_cross
11533 cat > conftest.$ac_ext <<EOF
11534 #line 11535 "configure"
11535 #include "confdefs.h"
11538 `for x in acosf asinf atanf \
11540 coshf sinhf tanhf; do echo "$x (0);"; done`
11543 if { (eval echo configure:11544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11545 glibcpp_cv_func_float_trig_use=yes
11547 echo "configure: failed program was:" >&5
11548 cat conftest.$ac_ext >&5
11550 glibcpp_cv_func_float_trig_use=no
11554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11555 ac_cpp='$CPP $CPPFLAGS'
11556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11558 cross_compiling=$ac_cv_prog_cc_cross
11562 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
11563 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
11564 for ac_func in acosf asinf atanf \
11568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11569 echo "configure:11570: checking for $ac_func" >&5
11570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11571 echo $ac_n "(cached) $ac_c" 1>&6
11573 cat > conftest.$ac_ext <<EOF
11574 #line 11575 "configure"
11575 #include "confdefs.h"
11576 /* System header to define __stub macros and hopefully few prototypes,
11577 which can conflict with char $ac_func(); below. */
11578 #include <assert.h>
11579 /* Override any gcc2 internal prototype to avoid an error. */
11580 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */
11586 /* The GNU C library defines this for functions which it implements
11587 to always fail with ENOSYS. Some functions are actually named
11588 something starting with __ and the normal name is an alias. */
11589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11597 if { (eval echo configure:11598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11599 eval "ac_cv_func_$ac_func=yes"
11601 echo "configure: failed program was:" >&5
11602 cat conftest.$ac_ext >&5
11604 eval "ac_cv_func_$ac_func=no"
11609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11610 echo "$ac_t""yes" 1>&6
11611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11612 cat >> confdefs.h <<EOF
11613 #define $ac_tr_func 1
11617 echo "$ac_t""no" 1>&6
11624 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
11625 echo "configure:11626: checking for float round functions" >&5
11626 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
11627 echo $ac_n "(cached) $ac_c" 1>&6
11632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11633 ac_cpp='$CXXCPP $CPPFLAGS'
11634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11636 cross_compiling=$ac_cv_prog_cxx_cross
11638 cat > conftest.$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11643 `for x in ceilf floorf; do echo "$x (0);"; done`
11646 if { (eval echo configure:11647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11648 glibcpp_cv_func_float_round_use=yes
11650 echo "configure: failed program was:" >&5
11651 cat conftest.$ac_ext >&5
11653 glibcpp_cv_func_float_round_use=no
11657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11658 ac_cpp='$CPP $CPPFLAGS'
11659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11661 cross_compiling=$ac_cv_prog_cc_cross
11665 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11666 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11667 for ac_func in ceilf floorf
11669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11670 echo "configure:11671: checking for $ac_func" >&5
11671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11674 cat > conftest.$ac_ext <<EOF
11675 #line 11676 "configure"
11676 #include "confdefs.h"
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char $ac_func(); below. */
11679 #include <assert.h>
11680 /* Override any gcc2 internal prototype to avoid an error. */
11681 /* We use char because int might match the return type of a gcc2
11682 builtin and then its argument prototype would still apply. */
11687 /* The GNU C library defines this for functions which it implements
11688 to always fail with ENOSYS. Some functions are actually named
11689 something starting with __ and the normal name is an alias. */
11690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11698 if { (eval echo configure:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11700 eval "ac_cv_func_$ac_func=yes"
11702 echo "configure: failed program was:" >&5
11703 cat conftest.$ac_ext >&5
11705 eval "ac_cv_func_$ac_func=no"
11710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11711 echo "$ac_t""yes" 1>&6
11712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11713 cat >> confdefs.h <<EOF
11714 #define $ac_tr_func 1
11718 echo "$ac_t""no" 1>&6
11726 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
11727 echo "configure:11728: checking for expf declaration" >&5
11728 if test x${glibcpp_cv_func_expf_use+set} != xset; then
11729 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11736 ac_cpp='$CXXCPP $CPPFLAGS'
11737 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11738 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11739 cross_compiling=$ac_cv_prog_cxx_cross
11741 cat > conftest.$ac_ext <<EOF
11742 #line 11743 "configure"
11743 #include "confdefs.h"
11745 #ifdef HAVE_IEEEFP_H
11746 #include <ieeefp.h>
11753 if { (eval echo configure:11754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11755 glibcpp_cv_func_expf_use=yes
11757 echo "configure: failed program was:" >&5
11758 cat conftest.$ac_ext >&5
11760 glibcpp_cv_func_expf_use=no
11764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11765 ac_cpp='$CPP $CPPFLAGS'
11766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11768 cross_compiling=$ac_cv_prog_cc_cross
11774 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
11776 if test x$glibcpp_cv_func_expf_use = x"yes"; then
11777 for ac_func in expf
11779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11780 echo "configure:11781: checking for $ac_func" >&5
11781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11782 echo $ac_n "(cached) $ac_c" 1>&6
11784 cat > conftest.$ac_ext <<EOF
11785 #line 11786 "configure"
11786 #include "confdefs.h"
11787 /* System header to define __stub macros and hopefully few prototypes,
11788 which can conflict with char $ac_func(); below. */
11789 #include <assert.h>
11790 /* Override any gcc2 internal prototype to avoid an error. */
11791 /* We use char because int might match the return type of a gcc2
11792 builtin and then its argument prototype would still apply. */
11797 /* The GNU C library defines this for functions which it implements
11798 to always fail with ENOSYS. Some functions are actually named
11799 something starting with __ and the normal name is an alias. */
11800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11808 if { (eval echo configure:11809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11810 eval "ac_cv_func_$ac_func=yes"
11812 echo "configure: failed program was:" >&5
11813 cat conftest.$ac_ext >&5
11815 eval "ac_cv_func_$ac_func=no"
11820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11821 echo "$ac_t""yes" 1>&6
11822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11823 cat >> confdefs.h <<EOF
11824 #define $ac_tr_func 1
11828 echo "$ac_t""no" 1>&6
11834 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
11835 echo "configure:11836: checking for _expf declaration" >&5
11836 if test x${glibcpp_cv_func__expf_use+set} != xset; then
11837 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
11838 echo $ac_n "(cached) $ac_c" 1>&6
11843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11844 ac_cpp='$CXXCPP $CPPFLAGS'
11845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11847 cross_compiling=$ac_cv_prog_cxx_cross
11849 cat > conftest.$ac_ext <<EOF
11850 #line 11851 "configure"
11851 #include "confdefs.h"
11853 #ifdef HAVE_IEEEFP_H
11854 #include <ieeefp.h>
11861 if { (eval echo configure:11862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11863 glibcpp_cv_func__expf_use=yes
11865 echo "configure: failed program was:" >&5
11866 cat conftest.$ac_ext >&5
11868 glibcpp_cv_func__expf_use=no
11872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11873 ac_cpp='$CPP $CPPFLAGS'
11874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11876 cross_compiling=$ac_cv_prog_cc_cross
11882 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
11884 if test x$glibcpp_cv_func__expf_use = x"yes"; then
11885 for ac_func in _expf
11887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11888 echo "configure:11889: checking for $ac_func" >&5
11889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11890 echo $ac_n "(cached) $ac_c" 1>&6
11892 cat > conftest.$ac_ext <<EOF
11893 #line 11894 "configure"
11894 #include "confdefs.h"
11895 /* System header to define __stub macros and hopefully few prototypes,
11896 which can conflict with char $ac_func(); below. */
11897 #include <assert.h>
11898 /* Override any gcc2 internal prototype to avoid an error. */
11899 /* We use char because int might match the return type of a gcc2
11900 builtin and then its argument prototype would still apply. */
11905 /* The GNU C library defines this for functions which it implements
11906 to always fail with ENOSYS. Some functions are actually named
11907 something starting with __ and the normal name is an alias. */
11908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11916 if { (eval echo configure:11917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11918 eval "ac_cv_func_$ac_func=yes"
11920 echo "configure: failed program was:" >&5
11921 cat conftest.$ac_ext >&5
11923 eval "ac_cv_func_$ac_func=no"
11928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11929 echo "$ac_t""yes" 1>&6
11930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11931 cat >> confdefs.h <<EOF
11932 #define $ac_tr_func 1
11936 echo "$ac_t""no" 1>&6
11945 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11946 echo "configure:11947: checking for isnanf declaration" >&5
11947 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11948 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11949 echo $ac_n "(cached) $ac_c" 1>&6
11954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11958 cross_compiling=$ac_cv_prog_cxx_cross
11960 cat > conftest.$ac_ext <<EOF
11961 #line 11962 "configure"
11962 #include "confdefs.h"
11964 #ifdef HAVE_IEEEFP_H
11965 #include <ieeefp.h>
11972 if { (eval echo configure:11973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11974 glibcpp_cv_func_isnanf_use=yes
11976 echo "configure: failed program was:" >&5
11977 cat conftest.$ac_ext >&5
11979 glibcpp_cv_func_isnanf_use=no
11983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11984 ac_cpp='$CPP $CPPFLAGS'
11985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11987 cross_compiling=$ac_cv_prog_cc_cross
11993 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11995 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11996 for ac_func in isnanf
11998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11999 echo "configure:12000: checking for $ac_func" >&5
12000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12001 echo $ac_n "(cached) $ac_c" 1>&6
12003 cat > conftest.$ac_ext <<EOF
12004 #line 12005 "configure"
12005 #include "confdefs.h"
12006 /* System header to define __stub macros and hopefully few prototypes,
12007 which can conflict with char $ac_func(); below. */
12008 #include <assert.h>
12009 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12029 eval "ac_cv_func_$ac_func=yes"
12031 echo "configure: failed program was:" >&5
12032 cat conftest.$ac_ext >&5
12034 eval "ac_cv_func_$ac_func=no"
12039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12040 echo "$ac_t""yes" 1>&6
12041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12042 cat >> confdefs.h <<EOF
12043 #define $ac_tr_func 1
12047 echo "$ac_t""no" 1>&6
12053 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12054 echo "configure:12055: checking for _isnanf declaration" >&5
12055 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12056 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12066 cross_compiling=$ac_cv_prog_cxx_cross
12068 cat > conftest.$ac_ext <<EOF
12069 #line 12070 "configure"
12070 #include "confdefs.h"
12072 #ifdef HAVE_IEEEFP_H
12073 #include <ieeefp.h>
12080 if { (eval echo configure:12081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12082 glibcpp_cv_func__isnanf_use=yes
12084 echo "configure: failed program was:" >&5
12085 cat conftest.$ac_ext >&5
12087 glibcpp_cv_func__isnanf_use=no
12091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12092 ac_cpp='$CPP $CPPFLAGS'
12093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12095 cross_compiling=$ac_cv_prog_cc_cross
12101 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12103 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
12104 for ac_func in _isnanf
12106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12107 echo "configure:12108: checking for $ac_func" >&5
12108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12111 cat > conftest.$ac_ext <<EOF
12112 #line 12113 "configure"
12113 #include "confdefs.h"
12114 /* System header to define __stub macros and hopefully few prototypes,
12115 which can conflict with char $ac_func(); below. */
12116 #include <assert.h>
12117 /* Override any gcc2 internal prototype to avoid an error. */
12118 /* We use char because int might match the return type of a gcc2
12119 builtin and then its argument prototype would still apply. */
12124 /* The GNU C library defines this for functions which it implements
12125 to always fail with ENOSYS. Some functions are actually named
12126 something starting with __ and the normal name is an alias. */
12127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12135 if { (eval echo configure:12136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12137 eval "ac_cv_func_$ac_func=yes"
12139 echo "configure: failed program was:" >&5
12140 cat conftest.$ac_ext >&5
12142 eval "ac_cv_func_$ac_func=no"
12147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12148 echo "$ac_t""yes" 1>&6
12149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12150 cat >> confdefs.h <<EOF
12151 #define $ac_tr_func 1
12155 echo "$ac_t""no" 1>&6
12164 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
12165 echo "configure:12166: checking for isinff declaration" >&5
12166 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
12167 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
12168 echo $ac_n "(cached) $ac_c" 1>&6
12173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12174 ac_cpp='$CXXCPP $CPPFLAGS'
12175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12177 cross_compiling=$ac_cv_prog_cxx_cross
12179 cat > conftest.$ac_ext <<EOF
12180 #line 12181 "configure"
12181 #include "confdefs.h"
12183 #ifdef HAVE_IEEEFP_H
12184 #include <ieeefp.h>
12191 if { (eval echo configure:12192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12193 glibcpp_cv_func_isinff_use=yes
12195 echo "configure: failed program was:" >&5
12196 cat conftest.$ac_ext >&5
12198 glibcpp_cv_func_isinff_use=no
12202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12203 ac_cpp='$CPP $CPPFLAGS'
12204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12206 cross_compiling=$ac_cv_prog_cc_cross
12212 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
12214 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
12215 for ac_func in isinff
12217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12218 echo "configure:12219: checking for $ac_func" >&5
12219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12220 echo $ac_n "(cached) $ac_c" 1>&6
12222 cat > conftest.$ac_ext <<EOF
12223 #line 12224 "configure"
12224 #include "confdefs.h"
12225 /* System header to define __stub macros and hopefully few prototypes,
12226 which can conflict with char $ac_func(); below. */
12227 #include <assert.h>
12228 /* Override any gcc2 internal prototype to avoid an error. */
12229 /* We use char because int might match the return type of a gcc2
12230 builtin and then its argument prototype would still apply. */
12235 /* The GNU C library defines this for functions which it implements
12236 to always fail with ENOSYS. Some functions are actually named
12237 something starting with __ and the normal name is an alias. */
12238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12246 if { (eval echo configure:12247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12248 eval "ac_cv_func_$ac_func=yes"
12250 echo "configure: failed program was:" >&5
12251 cat conftest.$ac_ext >&5
12253 eval "ac_cv_func_$ac_func=no"
12258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12259 echo "$ac_t""yes" 1>&6
12260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12261 cat >> confdefs.h <<EOF
12262 #define $ac_tr_func 1
12266 echo "$ac_t""no" 1>&6
12272 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
12273 echo "configure:12274: checking for _isinff declaration" >&5
12274 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
12275 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
12276 echo $ac_n "(cached) $ac_c" 1>&6
12281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12282 ac_cpp='$CXXCPP $CPPFLAGS'
12283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12285 cross_compiling=$ac_cv_prog_cxx_cross
12287 cat > conftest.$ac_ext <<EOF
12288 #line 12289 "configure"
12289 #include "confdefs.h"
12291 #ifdef HAVE_IEEEFP_H
12292 #include <ieeefp.h>
12299 if { (eval echo configure:12300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12301 glibcpp_cv_func__isinff_use=yes
12303 echo "configure: failed program was:" >&5
12304 cat conftest.$ac_ext >&5
12306 glibcpp_cv_func__isinff_use=no
12310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12311 ac_cpp='$CPP $CPPFLAGS'
12312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12314 cross_compiling=$ac_cv_prog_cc_cross
12320 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
12322 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
12323 for ac_func in _isinff
12325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12326 echo "configure:12327: checking for $ac_func" >&5
12327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12328 echo $ac_n "(cached) $ac_c" 1>&6
12330 cat > conftest.$ac_ext <<EOF
12331 #line 12332 "configure"
12332 #include "confdefs.h"
12333 /* System header to define __stub macros and hopefully few prototypes,
12334 which can conflict with char $ac_func(); below. */
12335 #include <assert.h>
12336 /* Override any gcc2 internal prototype to avoid an error. */
12337 /* We use char because int might match the return type of a gcc2
12338 builtin and then its argument prototype would still apply. */
12343 /* The GNU C library defines this for functions which it implements
12344 to always fail with ENOSYS. Some functions are actually named
12345 something starting with __ and the normal name is an alias. */
12346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12354 if { (eval echo configure:12355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12356 eval "ac_cv_func_$ac_func=yes"
12358 echo "configure: failed program was:" >&5
12359 cat conftest.$ac_ext >&5
12361 eval "ac_cv_func_$ac_func=no"
12366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12367 echo "$ac_t""yes" 1>&6
12368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12369 cat >> confdefs.h <<EOF
12370 #define $ac_tr_func 1
12374 echo "$ac_t""no" 1>&6
12383 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
12384 echo "configure:12385: checking for atan2f declaration" >&5
12385 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
12386 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
12387 echo $ac_n "(cached) $ac_c" 1>&6
12392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12393 ac_cpp='$CXXCPP $CPPFLAGS'
12394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12396 cross_compiling=$ac_cv_prog_cxx_cross
12398 cat > conftest.$ac_ext <<EOF
12399 #line 12400 "configure"
12400 #include "confdefs.h"
12406 if { (eval echo configure:12407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12408 glibcpp_cv_func_atan2f_use=yes
12410 echo "configure: failed program was:" >&5
12411 cat conftest.$ac_ext >&5
12413 glibcpp_cv_func_atan2f_use=no
12417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12418 ac_cpp='$CPP $CPPFLAGS'
12419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12421 cross_compiling=$ac_cv_prog_cc_cross
12427 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
12429 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
12430 for ac_func in atan2f
12432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12433 echo "configure:12434: checking for $ac_func" >&5
12434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12435 echo $ac_n "(cached) $ac_c" 1>&6
12437 cat > conftest.$ac_ext <<EOF
12438 #line 12439 "configure"
12439 #include "confdefs.h"
12440 /* System header to define __stub macros and hopefully few prototypes,
12441 which can conflict with char $ac_func(); below. */
12442 #include <assert.h>
12443 /* Override any gcc2 internal prototype to avoid an error. */
12444 /* We use char because int might match the return type of a gcc2
12445 builtin and then its argument prototype would still apply. */
12450 /* The GNU C library defines this for functions which it implements
12451 to always fail with ENOSYS. Some functions are actually named
12452 something starting with __ and the normal name is an alias. */
12453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12461 if { (eval echo configure:12462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12463 eval "ac_cv_func_$ac_func=yes"
12465 echo "configure: failed program was:" >&5
12466 cat conftest.$ac_ext >&5
12468 eval "ac_cv_func_$ac_func=no"
12473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12474 echo "$ac_t""yes" 1>&6
12475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12476 cat >> confdefs.h <<EOF
12477 #define $ac_tr_func 1
12481 echo "$ac_t""no" 1>&6
12487 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12488 echo "configure:12489: checking for _atan2f declaration" >&5
12489 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
12490 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12491 echo $ac_n "(cached) $ac_c" 1>&6
12496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12497 ac_cpp='$CXXCPP $CPPFLAGS'
12498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12500 cross_compiling=$ac_cv_prog_cxx_cross
12502 cat > conftest.$ac_ext <<EOF
12503 #line 12504 "configure"
12504 #include "confdefs.h"
12510 if { (eval echo configure:12511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12512 glibcpp_cv_func__atan2f_use=yes
12514 echo "configure: failed program was:" >&5
12515 cat conftest.$ac_ext >&5
12517 glibcpp_cv_func__atan2f_use=no
12521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12522 ac_cpp='$CPP $CPPFLAGS'
12523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12525 cross_compiling=$ac_cv_prog_cc_cross
12531 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12533 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12534 for ac_func in _atan2f
12536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12537 echo "configure:12538: checking for $ac_func" >&5
12538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12539 echo $ac_n "(cached) $ac_c" 1>&6
12541 cat > conftest.$ac_ext <<EOF
12542 #line 12543 "configure"
12543 #include "confdefs.h"
12544 /* System header to define __stub macros and hopefully few prototypes,
12545 which can conflict with char $ac_func(); below. */
12546 #include <assert.h>
12547 /* Override any gcc2 internal prototype to avoid an error. */
12548 /* We use char because int might match the return type of a gcc2
12549 builtin and then its argument prototype would still apply. */
12554 /* The GNU C library defines this for functions which it implements
12555 to always fail with ENOSYS. Some functions are actually named
12556 something starting with __ and the normal name is an alias. */
12557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12565 if { (eval echo configure:12566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12567 eval "ac_cv_func_$ac_func=yes"
12569 echo "configure: failed program was:" >&5
12570 cat conftest.$ac_ext >&5
12572 eval "ac_cv_func_$ac_func=no"
12577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12578 echo "$ac_t""yes" 1>&6
12579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12580 cat >> confdefs.h <<EOF
12581 #define $ac_tr_func 1
12585 echo "$ac_t""no" 1>&6
12594 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
12595 echo "configure:12596: checking for fabsf declaration" >&5
12596 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
12597 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
12598 echo $ac_n "(cached) $ac_c" 1>&6
12603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12604 ac_cpp='$CXXCPP $CPPFLAGS'
12605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12607 cross_compiling=$ac_cv_prog_cxx_cross
12609 cat > conftest.$ac_ext <<EOF
12610 #line 12611 "configure"
12611 #include "confdefs.h"
12613 #ifdef HAVE_IEEEFP_H
12614 #include <ieeefp.h>
12621 if { (eval echo configure:12622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12623 glibcpp_cv_func_fabsf_use=yes
12625 echo "configure: failed program was:" >&5
12626 cat conftest.$ac_ext >&5
12628 glibcpp_cv_func_fabsf_use=no
12632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12633 ac_cpp='$CPP $CPPFLAGS'
12634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12636 cross_compiling=$ac_cv_prog_cc_cross
12642 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
12644 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
12645 for ac_func in fabsf
12647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12648 echo "configure:12649: checking for $ac_func" >&5
12649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12650 echo $ac_n "(cached) $ac_c" 1>&6
12652 cat > conftest.$ac_ext <<EOF
12653 #line 12654 "configure"
12654 #include "confdefs.h"
12655 /* System header to define __stub macros and hopefully few prototypes,
12656 which can conflict with char $ac_func(); below. */
12657 #include <assert.h>
12658 /* Override any gcc2 internal prototype to avoid an error. */
12659 /* We use char because int might match the return type of a gcc2
12660 builtin and then its argument prototype would still apply. */
12665 /* The GNU C library defines this for functions which it implements
12666 to always fail with ENOSYS. Some functions are actually named
12667 something starting with __ and the normal name is an alias. */
12668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12676 if { (eval echo configure:12677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12678 eval "ac_cv_func_$ac_func=yes"
12680 echo "configure: failed program was:" >&5
12681 cat conftest.$ac_ext >&5
12683 eval "ac_cv_func_$ac_func=no"
12688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12689 echo "$ac_t""yes" 1>&6
12690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12691 cat >> confdefs.h <<EOF
12692 #define $ac_tr_func 1
12696 echo "$ac_t""no" 1>&6
12702 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12703 echo "configure:12704: checking for _fabsf declaration" >&5
12704 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
12705 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12706 echo $ac_n "(cached) $ac_c" 1>&6
12711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12712 ac_cpp='$CXXCPP $CPPFLAGS'
12713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12715 cross_compiling=$ac_cv_prog_cxx_cross
12717 cat > conftest.$ac_ext <<EOF
12718 #line 12719 "configure"
12719 #include "confdefs.h"
12721 #ifdef HAVE_IEEEFP_H
12722 #include <ieeefp.h>
12729 if { (eval echo configure:12730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12731 glibcpp_cv_func__fabsf_use=yes
12733 echo "configure: failed program was:" >&5
12734 cat conftest.$ac_ext >&5
12736 glibcpp_cv_func__fabsf_use=no
12740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12741 ac_cpp='$CPP $CPPFLAGS'
12742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12744 cross_compiling=$ac_cv_prog_cc_cross
12750 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12752 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12753 for ac_func in _fabsf
12755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12756 echo "configure:12757: checking for $ac_func" >&5
12757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12758 echo $ac_n "(cached) $ac_c" 1>&6
12760 cat > conftest.$ac_ext <<EOF
12761 #line 12762 "configure"
12762 #include "confdefs.h"
12763 /* System header to define __stub macros and hopefully few prototypes,
12764 which can conflict with char $ac_func(); below. */
12765 #include <assert.h>
12766 /* Override any gcc2 internal prototype to avoid an error. */
12767 /* We use char because int might match the return type of a gcc2
12768 builtin and then its argument prototype would still apply. */
12773 /* The GNU C library defines this for functions which it implements
12774 to always fail with ENOSYS. Some functions are actually named
12775 something starting with __ and the normal name is an alias. */
12776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12784 if { (eval echo configure:12785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12786 eval "ac_cv_func_$ac_func=yes"
12788 echo "configure: failed program was:" >&5
12789 cat conftest.$ac_ext >&5
12791 eval "ac_cv_func_$ac_func=no"
12796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12797 echo "$ac_t""yes" 1>&6
12798 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12799 cat >> confdefs.h <<EOF
12800 #define $ac_tr_func 1
12804 echo "$ac_t""no" 1>&6
12813 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
12814 echo "configure:12815: checking for fmodf declaration" >&5
12815 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
12816 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
12817 echo $ac_n "(cached) $ac_c" 1>&6
12822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12823 ac_cpp='$CXXCPP $CPPFLAGS'
12824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12826 cross_compiling=$ac_cv_prog_cxx_cross
12828 cat > conftest.$ac_ext <<EOF
12829 #line 12830 "configure"
12830 #include "confdefs.h"
12836 if { (eval echo configure:12837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12838 glibcpp_cv_func_fmodf_use=yes
12840 echo "configure: failed program was:" >&5
12841 cat conftest.$ac_ext >&5
12843 glibcpp_cv_func_fmodf_use=no
12847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12848 ac_cpp='$CPP $CPPFLAGS'
12849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12851 cross_compiling=$ac_cv_prog_cc_cross
12857 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
12859 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
12860 for ac_func in fmodf
12862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12863 echo "configure:12864: checking for $ac_func" >&5
12864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12865 echo $ac_n "(cached) $ac_c" 1>&6
12867 cat > conftest.$ac_ext <<EOF
12868 #line 12869 "configure"
12869 #include "confdefs.h"
12870 /* System header to define __stub macros and hopefully few prototypes,
12871 which can conflict with char $ac_func(); below. */
12872 #include <assert.h>
12873 /* Override any gcc2 internal prototype to avoid an error. */
12874 /* We use char because int might match the return type of a gcc2
12875 builtin and then its argument prototype would still apply. */
12880 /* The GNU C library defines this for functions which it implements
12881 to always fail with ENOSYS. Some functions are actually named
12882 something starting with __ and the normal name is an alias. */
12883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12891 if { (eval echo configure:12892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12893 eval "ac_cv_func_$ac_func=yes"
12895 echo "configure: failed program was:" >&5
12896 cat conftest.$ac_ext >&5
12898 eval "ac_cv_func_$ac_func=no"
12903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12904 echo "$ac_t""yes" 1>&6
12905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12906 cat >> confdefs.h <<EOF
12907 #define $ac_tr_func 1
12911 echo "$ac_t""no" 1>&6
12917 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12918 echo "configure:12919: checking for _fmodf declaration" >&5
12919 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12920 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12921 echo $ac_n "(cached) $ac_c" 1>&6
12926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12927 ac_cpp='$CXXCPP $CPPFLAGS'
12928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12930 cross_compiling=$ac_cv_prog_cxx_cross
12932 cat > conftest.$ac_ext <<EOF
12933 #line 12934 "configure"
12934 #include "confdefs.h"
12940 if { (eval echo configure:12941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12942 glibcpp_cv_func__fmodf_use=yes
12944 echo "configure: failed program was:" >&5
12945 cat conftest.$ac_ext >&5
12947 glibcpp_cv_func__fmodf_use=no
12951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12952 ac_cpp='$CPP $CPPFLAGS'
12953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12955 cross_compiling=$ac_cv_prog_cc_cross
12961 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12963 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12964 for ac_func in _fmodf
12966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12967 echo "configure:12968: checking for $ac_func" >&5
12968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12969 echo $ac_n "(cached) $ac_c" 1>&6
12971 cat > conftest.$ac_ext <<EOF
12972 #line 12973 "configure"
12973 #include "confdefs.h"
12974 /* System header to define __stub macros and hopefully few prototypes,
12975 which can conflict with char $ac_func(); below. */
12976 #include <assert.h>
12977 /* Override any gcc2 internal prototype to avoid an error. */
12978 /* We use char because int might match the return type of a gcc2
12979 builtin and then its argument prototype would still apply. */
12984 /* The GNU C library defines this for functions which it implements
12985 to always fail with ENOSYS. Some functions are actually named
12986 something starting with __ and the normal name is an alias. */
12987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12995 if { (eval echo configure:12996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12997 eval "ac_cv_func_$ac_func=yes"
12999 echo "configure: failed program was:" >&5
13000 cat conftest.$ac_ext >&5
13002 eval "ac_cv_func_$ac_func=no"
13007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13008 echo "$ac_t""yes" 1>&6
13009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13010 cat >> confdefs.h <<EOF
13011 #define $ac_tr_func 1
13015 echo "$ac_t""no" 1>&6
13024 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13025 echo "configure:13026: checking for frexpf declaration" >&5
13026 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13027 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13028 echo $ac_n "(cached) $ac_c" 1>&6
13033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13034 ac_cpp='$CXXCPP $CPPFLAGS'
13035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13037 cross_compiling=$ac_cv_prog_cxx_cross
13039 cat > conftest.$ac_ext <<EOF
13040 #line 13041 "configure"
13041 #include "confdefs.h"
13047 if { (eval echo configure:13048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13049 glibcpp_cv_func_frexpf_use=yes
13051 echo "configure: failed program was:" >&5
13052 cat conftest.$ac_ext >&5
13054 glibcpp_cv_func_frexpf_use=no
13058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13059 ac_cpp='$CPP $CPPFLAGS'
13060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13062 cross_compiling=$ac_cv_prog_cc_cross
13068 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13070 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13071 for ac_func in frexpf
13073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13074 echo "configure:13075: checking for $ac_func" >&5
13075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13076 echo $ac_n "(cached) $ac_c" 1>&6
13078 cat > conftest.$ac_ext <<EOF
13079 #line 13080 "configure"
13080 #include "confdefs.h"
13081 /* System header to define __stub macros and hopefully few prototypes,
13082 which can conflict with char $ac_func(); below. */
13083 #include <assert.h>
13084 /* Override any gcc2 internal prototype to avoid an error. */
13085 /* We use char because int might match the return type of a gcc2
13086 builtin and then its argument prototype would still apply. */
13091 /* The GNU C library defines this for functions which it implements
13092 to always fail with ENOSYS. Some functions are actually named
13093 something starting with __ and the normal name is an alias. */
13094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13102 if { (eval echo configure:13103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13104 eval "ac_cv_func_$ac_func=yes"
13106 echo "configure: failed program was:" >&5
13107 cat conftest.$ac_ext >&5
13109 eval "ac_cv_func_$ac_func=no"
13114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13115 echo "$ac_t""yes" 1>&6
13116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13117 cat >> confdefs.h <<EOF
13118 #define $ac_tr_func 1
13122 echo "$ac_t""no" 1>&6
13128 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13129 echo "configure:13130: checking for _frexpf declaration" >&5
13130 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
13131 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13132 echo $ac_n "(cached) $ac_c" 1>&6
13137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13138 ac_cpp='$CXXCPP $CPPFLAGS'
13139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13141 cross_compiling=$ac_cv_prog_cxx_cross
13143 cat > conftest.$ac_ext <<EOF
13144 #line 13145 "configure"
13145 #include "confdefs.h"
13151 if { (eval echo configure:13152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13153 glibcpp_cv_func__frexpf_use=yes
13155 echo "configure: failed program was:" >&5
13156 cat conftest.$ac_ext >&5
13158 glibcpp_cv_func__frexpf_use=no
13162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13163 ac_cpp='$CPP $CPPFLAGS'
13164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13166 cross_compiling=$ac_cv_prog_cc_cross
13172 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13174 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13175 for ac_func in _frexpf
13177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_func" >&5
13179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13180 echo $ac_n "(cached) $ac_c" 1>&6
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13185 /* System header to define __stub macros and hopefully few prototypes,
13186 which can conflict with char $ac_func(); below. */
13187 #include <assert.h>
13188 /* Override any gcc2 internal prototype to avoid an error. */
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13195 /* The GNU C library defines this for functions which it implements
13196 to always fail with ENOSYS. Some functions are actually named
13197 something starting with __ and the normal name is an alias. */
13198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13206 if { (eval echo configure:13207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13208 eval "ac_cv_func_$ac_func=yes"
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13213 eval "ac_cv_func_$ac_func=no"
13218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13219 echo "$ac_t""yes" 1>&6
13220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13221 cat >> confdefs.h <<EOF
13222 #define $ac_tr_func 1
13226 echo "$ac_t""no" 1>&6
13235 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
13236 echo "configure:13237: checking for hypotf declaration" >&5
13237 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
13238 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
13239 echo $ac_n "(cached) $ac_c" 1>&6
13244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13245 ac_cpp='$CXXCPP $CPPFLAGS'
13246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13248 cross_compiling=$ac_cv_prog_cxx_cross
13250 cat > conftest.$ac_ext <<EOF
13251 #line 13252 "configure"
13252 #include "confdefs.h"
13258 if { (eval echo configure:13259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13260 glibcpp_cv_func_hypotf_use=yes
13262 echo "configure: failed program was:" >&5
13263 cat conftest.$ac_ext >&5
13265 glibcpp_cv_func_hypotf_use=no
13269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13270 ac_cpp='$CPP $CPPFLAGS'
13271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13273 cross_compiling=$ac_cv_prog_cc_cross
13279 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
13281 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
13282 for ac_func in hypotf
13284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13285 echo "configure:13286: checking for $ac_func" >&5
13286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13287 echo $ac_n "(cached) $ac_c" 1>&6
13289 cat > conftest.$ac_ext <<EOF
13290 #line 13291 "configure"
13291 #include "confdefs.h"
13292 /* System header to define __stub macros and hopefully few prototypes,
13293 which can conflict with char $ac_func(); below. */
13294 #include <assert.h>
13295 /* Override any gcc2 internal prototype to avoid an error. */
13296 /* We use char because int might match the return type of a gcc2
13297 builtin and then its argument prototype would still apply. */
13302 /* The GNU C library defines this for functions which it implements
13303 to always fail with ENOSYS. Some functions are actually named
13304 something starting with __ and the normal name is an alias. */
13305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13315 eval "ac_cv_func_$ac_func=yes"
13317 echo "configure: failed program was:" >&5
13318 cat conftest.$ac_ext >&5
13320 eval "ac_cv_func_$ac_func=no"
13325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13326 echo "$ac_t""yes" 1>&6
13327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13328 cat >> confdefs.h <<EOF
13329 #define $ac_tr_func 1
13333 echo "$ac_t""no" 1>&6
13339 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
13340 echo "configure:13341: checking for _hypotf declaration" >&5
13341 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
13342 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
13343 echo $ac_n "(cached) $ac_c" 1>&6
13348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13349 ac_cpp='$CXXCPP $CPPFLAGS'
13350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13352 cross_compiling=$ac_cv_prog_cxx_cross
13354 cat > conftest.$ac_ext <<EOF
13355 #line 13356 "configure"
13356 #include "confdefs.h"
13362 if { (eval echo configure:13363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13364 glibcpp_cv_func__hypotf_use=yes
13366 echo "configure: failed program was:" >&5
13367 cat conftest.$ac_ext >&5
13369 glibcpp_cv_func__hypotf_use=no
13373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13374 ac_cpp='$CPP $CPPFLAGS'
13375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13377 cross_compiling=$ac_cv_prog_cc_cross
13383 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
13385 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
13386 for ac_func in _hypotf
13388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13389 echo "configure:13390: checking for $ac_func" >&5
13390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13391 echo $ac_n "(cached) $ac_c" 1>&6
13393 cat > conftest.$ac_ext <<EOF
13394 #line 13395 "configure"
13395 #include "confdefs.h"
13396 /* System header to define __stub macros and hopefully few prototypes,
13397 which can conflict with char $ac_func(); below. */
13398 #include <assert.h>
13399 /* Override any gcc2 internal prototype to avoid an error. */
13400 /* We use char because int might match the return type of a gcc2
13401 builtin and then its argument prototype would still apply. */
13406 /* The GNU C library defines this for functions which it implements
13407 to always fail with ENOSYS. Some functions are actually named
13408 something starting with __ and the normal name is an alias. */
13409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13417 if { (eval echo configure:13418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13419 eval "ac_cv_func_$ac_func=yes"
13421 echo "configure: failed program was:" >&5
13422 cat conftest.$ac_ext >&5
13424 eval "ac_cv_func_$ac_func=no"
13429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13430 echo "$ac_t""yes" 1>&6
13431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13432 cat >> confdefs.h <<EOF
13433 #define $ac_tr_func 1
13437 echo "$ac_t""no" 1>&6
13446 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
13447 echo "configure:13448: checking for ldexpf declaration" >&5
13448 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
13449 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
13450 echo $ac_n "(cached) $ac_c" 1>&6
13455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13456 ac_cpp='$CXXCPP $CPPFLAGS'
13457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13459 cross_compiling=$ac_cv_prog_cxx_cross
13461 cat > conftest.$ac_ext <<EOF
13462 #line 13463 "configure"
13463 #include "confdefs.h"
13469 if { (eval echo configure:13470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13471 glibcpp_cv_func_ldexpf_use=yes
13473 echo "configure: failed program was:" >&5
13474 cat conftest.$ac_ext >&5
13476 glibcpp_cv_func_ldexpf_use=no
13480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13484 cross_compiling=$ac_cv_prog_cc_cross
13490 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
13492 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
13493 for ac_func in ldexpf
13495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13496 echo "configure:13497: checking for $ac_func" >&5
13497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13498 echo $ac_n "(cached) $ac_c" 1>&6
13500 cat > conftest.$ac_ext <<EOF
13501 #line 13502 "configure"
13502 #include "confdefs.h"
13503 /* System header to define __stub macros and hopefully few prototypes,
13504 which can conflict with char $ac_func(); below. */
13505 #include <assert.h>
13506 /* Override any gcc2 internal prototype to avoid an error. */
13507 /* We use char because int might match the return type of a gcc2
13508 builtin and then its argument prototype would still apply. */
13513 /* The GNU C library defines this for functions which it implements
13514 to always fail with ENOSYS. Some functions are actually named
13515 something starting with __ and the normal name is an alias. */
13516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13526 eval "ac_cv_func_$ac_func=yes"
13528 echo "configure: failed program was:" >&5
13529 cat conftest.$ac_ext >&5
13531 eval "ac_cv_func_$ac_func=no"
13536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13537 echo "$ac_t""yes" 1>&6
13538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13539 cat >> confdefs.h <<EOF
13540 #define $ac_tr_func 1
13544 echo "$ac_t""no" 1>&6
13550 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13551 echo "configure:13552: checking for _ldexpf declaration" >&5
13552 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
13553 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13554 echo $ac_n "(cached) $ac_c" 1>&6
13559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13560 ac_cpp='$CXXCPP $CPPFLAGS'
13561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13563 cross_compiling=$ac_cv_prog_cxx_cross
13565 cat > conftest.$ac_ext <<EOF
13566 #line 13567 "configure"
13567 #include "confdefs.h"
13573 if { (eval echo configure:13574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13575 glibcpp_cv_func__ldexpf_use=yes
13577 echo "configure: failed program was:" >&5
13578 cat conftest.$ac_ext >&5
13580 glibcpp_cv_func__ldexpf_use=no
13584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13585 ac_cpp='$CPP $CPPFLAGS'
13586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13588 cross_compiling=$ac_cv_prog_cc_cross
13594 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13596 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13597 for ac_func in _ldexpf
13599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13600 echo "configure:13601: checking for $ac_func" >&5
13601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13602 echo $ac_n "(cached) $ac_c" 1>&6
13604 cat > conftest.$ac_ext <<EOF
13605 #line 13606 "configure"
13606 #include "confdefs.h"
13607 /* System header to define __stub macros and hopefully few prototypes,
13608 which can conflict with char $ac_func(); below. */
13609 #include <assert.h>
13610 /* Override any gcc2 internal prototype to avoid an error. */
13611 /* We use char because int might match the return type of a gcc2
13612 builtin and then its argument prototype would still apply. */
13617 /* The GNU C library defines this for functions which it implements
13618 to always fail with ENOSYS. Some functions are actually named
13619 something starting with __ and the normal name is an alias. */
13620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13628 if { (eval echo configure:13629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13630 eval "ac_cv_func_$ac_func=yes"
13632 echo "configure: failed program was:" >&5
13633 cat conftest.$ac_ext >&5
13635 eval "ac_cv_func_$ac_func=no"
13640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13641 echo "$ac_t""yes" 1>&6
13642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13643 cat >> confdefs.h <<EOF
13644 #define $ac_tr_func 1
13648 echo "$ac_t""no" 1>&6
13657 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
13658 echo "configure:13659: checking for logf declaration" >&5
13659 if test x${glibcpp_cv_func_logf_use+set} != xset; then
13660 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
13661 echo $ac_n "(cached) $ac_c" 1>&6
13666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13667 ac_cpp='$CXXCPP $CPPFLAGS'
13668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13670 cross_compiling=$ac_cv_prog_cxx_cross
13672 cat > conftest.$ac_ext <<EOF
13673 #line 13674 "configure"
13674 #include "confdefs.h"
13676 #ifdef HAVE_IEEEFP_H
13677 #include <ieeefp.h>
13684 if { (eval echo configure:13685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13686 glibcpp_cv_func_logf_use=yes
13688 echo "configure: failed program was:" >&5
13689 cat conftest.$ac_ext >&5
13691 glibcpp_cv_func_logf_use=no
13695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13696 ac_cpp='$CPP $CPPFLAGS'
13697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13699 cross_compiling=$ac_cv_prog_cc_cross
13705 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
13707 if test x$glibcpp_cv_func_logf_use = x"yes"; then
13708 for ac_func in logf
13710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13711 echo "configure:13712: checking for $ac_func" >&5
13712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13713 echo $ac_n "(cached) $ac_c" 1>&6
13715 cat > conftest.$ac_ext <<EOF
13716 #line 13717 "configure"
13717 #include "confdefs.h"
13718 /* System header to define __stub macros and hopefully few prototypes,
13719 which can conflict with char $ac_func(); below. */
13720 #include <assert.h>
13721 /* Override any gcc2 internal prototype to avoid an error. */
13722 /* We use char because int might match the return type of a gcc2
13723 builtin and then its argument prototype would still apply. */
13728 /* The GNU C library defines this for functions which it implements
13729 to always fail with ENOSYS. Some functions are actually named
13730 something starting with __ and the normal name is an alias. */
13731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13741 eval "ac_cv_func_$ac_func=yes"
13743 echo "configure: failed program was:" >&5
13744 cat conftest.$ac_ext >&5
13746 eval "ac_cv_func_$ac_func=no"
13751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13752 echo "$ac_t""yes" 1>&6
13753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13754 cat >> confdefs.h <<EOF
13755 #define $ac_tr_func 1
13759 echo "$ac_t""no" 1>&6
13765 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13766 echo "configure:13767: checking for _logf declaration" >&5
13767 if test x${glibcpp_cv_func__logf_use+set} != xset; then
13768 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13769 echo $ac_n "(cached) $ac_c" 1>&6
13774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13775 ac_cpp='$CXXCPP $CPPFLAGS'
13776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13778 cross_compiling=$ac_cv_prog_cxx_cross
13780 cat > conftest.$ac_ext <<EOF
13781 #line 13782 "configure"
13782 #include "confdefs.h"
13784 #ifdef HAVE_IEEEFP_H
13785 #include <ieeefp.h>
13792 if { (eval echo configure:13793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13794 glibcpp_cv_func__logf_use=yes
13796 echo "configure: failed program was:" >&5
13797 cat conftest.$ac_ext >&5
13799 glibcpp_cv_func__logf_use=no
13803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13804 ac_cpp='$CPP $CPPFLAGS'
13805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13807 cross_compiling=$ac_cv_prog_cc_cross
13813 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13815 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13816 for ac_func in _logf
13818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13819 echo "configure:13820: checking for $ac_func" >&5
13820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13821 echo $ac_n "(cached) $ac_c" 1>&6
13823 cat > conftest.$ac_ext <<EOF
13824 #line 13825 "configure"
13825 #include "confdefs.h"
13826 /* System header to define __stub macros and hopefully few prototypes,
13827 which can conflict with char $ac_func(); below. */
13828 #include <assert.h>
13829 /* Override any gcc2 internal prototype to avoid an error. */
13830 /* We use char because int might match the return type of a gcc2
13831 builtin and then its argument prototype would still apply. */
13836 /* The GNU C library defines this for functions which it implements
13837 to always fail with ENOSYS. Some functions are actually named
13838 something starting with __ and the normal name is an alias. */
13839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13847 if { (eval echo configure:13848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13849 eval "ac_cv_func_$ac_func=yes"
13851 echo "configure: failed program was:" >&5
13852 cat conftest.$ac_ext >&5
13854 eval "ac_cv_func_$ac_func=no"
13859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13860 echo "$ac_t""yes" 1>&6
13861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13862 cat >> confdefs.h <<EOF
13863 #define $ac_tr_func 1
13867 echo "$ac_t""no" 1>&6
13876 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
13877 echo "configure:13878: checking for log10f declaration" >&5
13878 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13879 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13886 ac_cpp='$CXXCPP $CPPFLAGS'
13887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13889 cross_compiling=$ac_cv_prog_cxx_cross
13891 cat > conftest.$ac_ext <<EOF
13892 #line 13893 "configure"
13893 #include "confdefs.h"
13895 #ifdef HAVE_IEEEFP_H
13896 #include <ieeefp.h>
13903 if { (eval echo configure:13904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13905 glibcpp_cv_func_log10f_use=yes
13907 echo "configure: failed program was:" >&5
13908 cat conftest.$ac_ext >&5
13910 glibcpp_cv_func_log10f_use=no
13914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13915 ac_cpp='$CPP $CPPFLAGS'
13916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13918 cross_compiling=$ac_cv_prog_cc_cross
13924 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13926 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13927 for ac_func in log10f
13929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13930 echo "configure:13931: checking for $ac_func" >&5
13931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13932 echo $ac_n "(cached) $ac_c" 1>&6
13934 cat > conftest.$ac_ext <<EOF
13935 #line 13936 "configure"
13936 #include "confdefs.h"
13937 /* System header to define __stub macros and hopefully few prototypes,
13938 which can conflict with char $ac_func(); below. */
13939 #include <assert.h>
13940 /* Override any gcc2 internal prototype to avoid an error. */
13941 /* We use char because int might match the return type of a gcc2
13942 builtin and then its argument prototype would still apply. */
13947 /* The GNU C library defines this for functions which it implements
13948 to always fail with ENOSYS. Some functions are actually named
13949 something starting with __ and the normal name is an alias. */
13950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13958 if { (eval echo configure:13959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13960 eval "ac_cv_func_$ac_func=yes"
13962 echo "configure: failed program was:" >&5
13963 cat conftest.$ac_ext >&5
13965 eval "ac_cv_func_$ac_func=no"
13970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13971 echo "$ac_t""yes" 1>&6
13972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13973 cat >> confdefs.h <<EOF
13974 #define $ac_tr_func 1
13978 echo "$ac_t""no" 1>&6
13984 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13985 echo "configure:13986: checking for _log10f declaration" >&5
13986 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13987 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13988 echo $ac_n "(cached) $ac_c" 1>&6
13993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13994 ac_cpp='$CXXCPP $CPPFLAGS'
13995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13997 cross_compiling=$ac_cv_prog_cxx_cross
13999 cat > conftest.$ac_ext <<EOF
14000 #line 14001 "configure"
14001 #include "confdefs.h"
14003 #ifdef HAVE_IEEEFP_H
14004 #include <ieeefp.h>
14011 if { (eval echo configure:14012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14013 glibcpp_cv_func__log10f_use=yes
14015 echo "configure: failed program was:" >&5
14016 cat conftest.$ac_ext >&5
14018 glibcpp_cv_func__log10f_use=no
14022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14023 ac_cpp='$CPP $CPPFLAGS'
14024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14026 cross_compiling=$ac_cv_prog_cc_cross
14032 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14034 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14035 for ac_func in _log10f
14037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14038 echo "configure:14039: checking for $ac_func" >&5
14039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14040 echo $ac_n "(cached) $ac_c" 1>&6
14042 cat > conftest.$ac_ext <<EOF
14043 #line 14044 "configure"
14044 #include "confdefs.h"
14045 /* System header to define __stub macros and hopefully few prototypes,
14046 which can conflict with char $ac_func(); below. */
14047 #include <assert.h>
14048 /* Override any gcc2 internal prototype to avoid an error. */
14049 /* We use char because int might match the return type of a gcc2
14050 builtin and then its argument prototype would still apply. */
14055 /* The GNU C library defines this for functions which it implements
14056 to always fail with ENOSYS. Some functions are actually named
14057 something starting with __ and the normal name is an alias. */
14058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14066 if { (eval echo configure:14067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14068 eval "ac_cv_func_$ac_func=yes"
14070 echo "configure: failed program was:" >&5
14071 cat conftest.$ac_ext >&5
14073 eval "ac_cv_func_$ac_func=no"
14078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14079 echo "$ac_t""yes" 1>&6
14080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14081 cat >> confdefs.h <<EOF
14082 #define $ac_tr_func 1
14086 echo "$ac_t""no" 1>&6
14095 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
14096 echo "configure:14097: checking for modff declaration" >&5
14097 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14098 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14099 echo $ac_n "(cached) $ac_c" 1>&6
14104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14105 ac_cpp='$CXXCPP $CPPFLAGS'
14106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14108 cross_compiling=$ac_cv_prog_cxx_cross
14110 cat > conftest.$ac_ext <<EOF
14111 #line 14112 "configure"
14112 #include "confdefs.h"
14118 if { (eval echo configure:14119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14120 glibcpp_cv_func_modff_use=yes
14122 echo "configure: failed program was:" >&5
14123 cat conftest.$ac_ext >&5
14125 glibcpp_cv_func_modff_use=no
14129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14130 ac_cpp='$CPP $CPPFLAGS'
14131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14133 cross_compiling=$ac_cv_prog_cc_cross
14139 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
14141 if test x$glibcpp_cv_func_modff_use = x"yes"; then
14142 for ac_func in modff
14144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14145 echo "configure:14146: checking for $ac_func" >&5
14146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14147 echo $ac_n "(cached) $ac_c" 1>&6
14149 cat > conftest.$ac_ext <<EOF
14150 #line 14151 "configure"
14151 #include "confdefs.h"
14152 /* System header to define __stub macros and hopefully few prototypes,
14153 which can conflict with char $ac_func(); below. */
14154 #include <assert.h>
14155 /* Override any gcc2 internal prototype to avoid an error. */
14156 /* We use char because int might match the return type of a gcc2
14157 builtin and then its argument prototype would still apply. */
14162 /* The GNU C library defines this for functions which it implements
14163 to always fail with ENOSYS. Some functions are actually named
14164 something starting with __ and the normal name is an alias. */
14165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14173 if { (eval echo configure:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14175 eval "ac_cv_func_$ac_func=yes"
14177 echo "configure: failed program was:" >&5
14178 cat conftest.$ac_ext >&5
14180 eval "ac_cv_func_$ac_func=no"
14185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14186 echo "$ac_t""yes" 1>&6
14187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14188 cat >> confdefs.h <<EOF
14189 #define $ac_tr_func 1
14193 echo "$ac_t""no" 1>&6
14199 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
14200 echo "configure:14201: checking for _modff declaration" >&5
14201 if test x${glibcpp_cv_func__modff_use+set} != xset; then
14202 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
14203 echo $ac_n "(cached) $ac_c" 1>&6
14208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14209 ac_cpp='$CXXCPP $CPPFLAGS'
14210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14212 cross_compiling=$ac_cv_prog_cxx_cross
14214 cat > conftest.$ac_ext <<EOF
14215 #line 14216 "configure"
14216 #include "confdefs.h"
14222 if { (eval echo configure:14223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14224 glibcpp_cv_func__modff_use=yes
14226 echo "configure: failed program was:" >&5
14227 cat conftest.$ac_ext >&5
14229 glibcpp_cv_func__modff_use=no
14233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14234 ac_cpp='$CPP $CPPFLAGS'
14235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14237 cross_compiling=$ac_cv_prog_cc_cross
14243 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
14245 if test x$glibcpp_cv_func__modff_use = x"yes"; then
14246 for ac_func in _modff
14248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14249 echo "configure:14250: checking for $ac_func" >&5
14250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14251 echo $ac_n "(cached) $ac_c" 1>&6
14253 cat > conftest.$ac_ext <<EOF
14254 #line 14255 "configure"
14255 #include "confdefs.h"
14256 /* System header to define __stub macros and hopefully few prototypes,
14257 which can conflict with char $ac_func(); below. */
14258 #include <assert.h>
14259 /* Override any gcc2 internal prototype to avoid an error. */
14260 /* We use char because int might match the return type of a gcc2
14261 builtin and then its argument prototype would still apply. */
14266 /* The GNU C library defines this for functions which it implements
14267 to always fail with ENOSYS. Some functions are actually named
14268 something starting with __ and the normal name is an alias. */
14269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14277 if { (eval echo configure:14278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14279 eval "ac_cv_func_$ac_func=yes"
14281 echo "configure: failed program was:" >&5
14282 cat conftest.$ac_ext >&5
14284 eval "ac_cv_func_$ac_func=no"
14289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14290 echo "$ac_t""yes" 1>&6
14291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14292 cat >> confdefs.h <<EOF
14293 #define $ac_tr_func 1
14297 echo "$ac_t""no" 1>&6
14306 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
14307 echo "configure:14308: checking for powf declaration" >&5
14308 if test x${glibcpp_cv_func_powf_use+set} != xset; then
14309 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14316 ac_cpp='$CXXCPP $CPPFLAGS'
14317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14319 cross_compiling=$ac_cv_prog_cxx_cross
14321 cat > conftest.$ac_ext <<EOF
14322 #line 14323 "configure"
14323 #include "confdefs.h"
14329 if { (eval echo configure:14330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14331 glibcpp_cv_func_powf_use=yes
14333 echo "configure: failed program was:" >&5
14334 cat conftest.$ac_ext >&5
14336 glibcpp_cv_func_powf_use=no
14340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14344 cross_compiling=$ac_cv_prog_cc_cross
14350 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
14352 if test x$glibcpp_cv_func_powf_use = x"yes"; then
14353 for ac_func in powf
14355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14356 echo "configure:14357: checking for $ac_func" >&5
14357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14358 echo $ac_n "(cached) $ac_c" 1>&6
14360 cat > conftest.$ac_ext <<EOF
14361 #line 14362 "configure"
14362 #include "confdefs.h"
14363 /* System header to define __stub macros and hopefully few prototypes,
14364 which can conflict with char $ac_func(); below. */
14365 #include <assert.h>
14366 /* Override any gcc2 internal prototype to avoid an error. */
14367 /* We use char because int might match the return type of a gcc2
14368 builtin and then its argument prototype would still apply. */
14373 /* The GNU C library defines this for functions which it implements
14374 to always fail with ENOSYS. Some functions are actually named
14375 something starting with __ and the normal name is an alias. */
14376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14384 if { (eval echo configure:14385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14386 eval "ac_cv_func_$ac_func=yes"
14388 echo "configure: failed program was:" >&5
14389 cat conftest.$ac_ext >&5
14391 eval "ac_cv_func_$ac_func=no"
14396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14397 echo "$ac_t""yes" 1>&6
14398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14399 cat >> confdefs.h <<EOF
14400 #define $ac_tr_func 1
14404 echo "$ac_t""no" 1>&6
14410 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
14411 echo "configure:14412: checking for _powf declaration" >&5
14412 if test x${glibcpp_cv_func__powf_use+set} != xset; then
14413 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
14414 echo $ac_n "(cached) $ac_c" 1>&6
14419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14420 ac_cpp='$CXXCPP $CPPFLAGS'
14421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14423 cross_compiling=$ac_cv_prog_cxx_cross
14425 cat > conftest.$ac_ext <<EOF
14426 #line 14427 "configure"
14427 #include "confdefs.h"
14433 if { (eval echo configure:14434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14435 glibcpp_cv_func__powf_use=yes
14437 echo "configure: failed program was:" >&5
14438 cat conftest.$ac_ext >&5
14440 glibcpp_cv_func__powf_use=no
14444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14445 ac_cpp='$CPP $CPPFLAGS'
14446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14448 cross_compiling=$ac_cv_prog_cc_cross
14454 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
14456 if test x$glibcpp_cv_func__powf_use = x"yes"; then
14457 for ac_func in _powf
14459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14460 echo "configure:14461: checking for $ac_func" >&5
14461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14462 echo $ac_n "(cached) $ac_c" 1>&6
14464 cat > conftest.$ac_ext <<EOF
14465 #line 14466 "configure"
14466 #include "confdefs.h"
14467 /* System header to define __stub macros and hopefully few prototypes,
14468 which can conflict with char $ac_func(); below. */
14469 #include <assert.h>
14470 /* Override any gcc2 internal prototype to avoid an error. */
14471 /* We use char because int might match the return type of a gcc2
14472 builtin and then its argument prototype would still apply. */
14477 /* The GNU C library defines this for functions which it implements
14478 to always fail with ENOSYS. Some functions are actually named
14479 something starting with __ and the normal name is an alias. */
14480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14490 eval "ac_cv_func_$ac_func=yes"
14492 echo "configure: failed program was:" >&5
14493 cat conftest.$ac_ext >&5
14495 eval "ac_cv_func_$ac_func=no"
14500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14501 echo "$ac_t""yes" 1>&6
14502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14503 cat >> confdefs.h <<EOF
14504 #define $ac_tr_func 1
14508 echo "$ac_t""no" 1>&6
14517 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
14518 echo "configure:14519: checking for sqrtf declaration" >&5
14519 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
14520 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
14521 echo $ac_n "(cached) $ac_c" 1>&6
14526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14527 ac_cpp='$CXXCPP $CPPFLAGS'
14528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14530 cross_compiling=$ac_cv_prog_cxx_cross
14532 cat > conftest.$ac_ext <<EOF
14533 #line 14534 "configure"
14534 #include "confdefs.h"
14536 #ifdef HAVE_IEEEFP_H
14537 #include <ieeefp.h>
14544 if { (eval echo configure:14545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14546 glibcpp_cv_func_sqrtf_use=yes
14548 echo "configure: failed program was:" >&5
14549 cat conftest.$ac_ext >&5
14551 glibcpp_cv_func_sqrtf_use=no
14555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14556 ac_cpp='$CPP $CPPFLAGS'
14557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14559 cross_compiling=$ac_cv_prog_cc_cross
14565 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
14567 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
14568 for ac_func in sqrtf
14570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14571 echo "configure:14572: checking for $ac_func" >&5
14572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14573 echo $ac_n "(cached) $ac_c" 1>&6
14575 cat > conftest.$ac_ext <<EOF
14576 #line 14577 "configure"
14577 #include "confdefs.h"
14578 /* System header to define __stub macros and hopefully few prototypes,
14579 which can conflict with char $ac_func(); below. */
14580 #include <assert.h>
14581 /* Override any gcc2 internal prototype to avoid an error. */
14582 /* We use char because int might match the return type of a gcc2
14583 builtin and then its argument prototype would still apply. */
14588 /* The GNU C library defines this for functions which it implements
14589 to always fail with ENOSYS. Some functions are actually named
14590 something starting with __ and the normal name is an alias. */
14591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14599 if { (eval echo configure:14600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14601 eval "ac_cv_func_$ac_func=yes"
14603 echo "configure: failed program was:" >&5
14604 cat conftest.$ac_ext >&5
14606 eval "ac_cv_func_$ac_func=no"
14611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14612 echo "$ac_t""yes" 1>&6
14613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14614 cat >> confdefs.h <<EOF
14615 #define $ac_tr_func 1
14619 echo "$ac_t""no" 1>&6
14625 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
14626 echo "configure:14627: checking for _sqrtf declaration" >&5
14627 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
14628 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14629 echo $ac_n "(cached) $ac_c" 1>&6
14634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14635 ac_cpp='$CXXCPP $CPPFLAGS'
14636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14638 cross_compiling=$ac_cv_prog_cxx_cross
14640 cat > conftest.$ac_ext <<EOF
14641 #line 14642 "configure"
14642 #include "confdefs.h"
14644 #ifdef HAVE_IEEEFP_H
14645 #include <ieeefp.h>
14652 if { (eval echo configure:14653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14654 glibcpp_cv_func__sqrtf_use=yes
14656 echo "configure: failed program was:" >&5
14657 cat conftest.$ac_ext >&5
14659 glibcpp_cv_func__sqrtf_use=no
14663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14664 ac_cpp='$CPP $CPPFLAGS'
14665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14667 cross_compiling=$ac_cv_prog_cc_cross
14673 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14675 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14676 for ac_func in _sqrtf
14678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14679 echo "configure:14680: checking for $ac_func" >&5
14680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14681 echo $ac_n "(cached) $ac_c" 1>&6
14683 cat > conftest.$ac_ext <<EOF
14684 #line 14685 "configure"
14685 #include "confdefs.h"
14686 /* System header to define __stub macros and hopefully few prototypes,
14687 which can conflict with char $ac_func(); below. */
14688 #include <assert.h>
14689 /* Override any gcc2 internal prototype to avoid an error. */
14690 /* We use char because int might match the return type of a gcc2
14691 builtin and then its argument prototype would still apply. */
14696 /* The GNU C library defines this for functions which it implements
14697 to always fail with ENOSYS. Some functions are actually named
14698 something starting with __ and the normal name is an alias. */
14699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14707 if { (eval echo configure:14708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14709 eval "ac_cv_func_$ac_func=yes"
14711 echo "configure: failed program was:" >&5
14712 cat conftest.$ac_ext >&5
14714 eval "ac_cv_func_$ac_func=no"
14719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14720 echo "$ac_t""yes" 1>&6
14721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14722 cat >> confdefs.h <<EOF
14723 #define $ac_tr_func 1
14727 echo "$ac_t""no" 1>&6
14736 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
14737 echo "configure:14738: checking for sincosf declaration" >&5
14738 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
14739 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
14740 echo $ac_n "(cached) $ac_c" 1>&6
14745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14746 ac_cpp='$CXXCPP $CPPFLAGS'
14747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14749 cross_compiling=$ac_cv_prog_cxx_cross
14751 cat > conftest.$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14759 if { (eval echo configure:14760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14761 glibcpp_cv_func_sincosf_use=yes
14763 echo "configure: failed program was:" >&5
14764 cat conftest.$ac_ext >&5
14766 glibcpp_cv_func_sincosf_use=no
14770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14771 ac_cpp='$CPP $CPPFLAGS'
14772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14774 cross_compiling=$ac_cv_prog_cc_cross
14780 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
14782 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
14783 for ac_func in sincosf
14785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14786 echo "configure:14787: checking for $ac_func" >&5
14787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14788 echo $ac_n "(cached) $ac_c" 1>&6
14790 cat > conftest.$ac_ext <<EOF
14791 #line 14792 "configure"
14792 #include "confdefs.h"
14793 /* System header to define __stub macros and hopefully few prototypes,
14794 which can conflict with char $ac_func(); below. */
14795 #include <assert.h>
14796 /* Override any gcc2 internal prototype to avoid an error. */
14797 /* We use char because int might match the return type of a gcc2
14798 builtin and then its argument prototype would still apply. */
14803 /* The GNU C library defines this for functions which it implements
14804 to always fail with ENOSYS. Some functions are actually named
14805 something starting with __ and the normal name is an alias. */
14806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14816 eval "ac_cv_func_$ac_func=yes"
14818 echo "configure: failed program was:" >&5
14819 cat conftest.$ac_ext >&5
14821 eval "ac_cv_func_$ac_func=no"
14826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14827 echo "$ac_t""yes" 1>&6
14828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14829 cat >> confdefs.h <<EOF
14830 #define $ac_tr_func 1
14834 echo "$ac_t""no" 1>&6
14840 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14841 echo "configure:14842: checking for _sincosf declaration" >&5
14842 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
14843 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14844 echo $ac_n "(cached) $ac_c" 1>&6
14849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14850 ac_cpp='$CXXCPP $CPPFLAGS'
14851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14853 cross_compiling=$ac_cv_prog_cxx_cross
14855 cat > conftest.$ac_ext <<EOF
14856 #line 14857 "configure"
14857 #include "confdefs.h"
14863 if { (eval echo configure:14864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14865 glibcpp_cv_func__sincosf_use=yes
14867 echo "configure: failed program was:" >&5
14868 cat conftest.$ac_ext >&5
14870 glibcpp_cv_func__sincosf_use=no
14874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14875 ac_cpp='$CPP $CPPFLAGS'
14876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14878 cross_compiling=$ac_cv_prog_cc_cross
14884 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14886 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14887 for ac_func in _sincosf
14889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14890 echo "configure:14891: checking for $ac_func" >&5
14891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14892 echo $ac_n "(cached) $ac_c" 1>&6
14894 cat > conftest.$ac_ext <<EOF
14895 #line 14896 "configure"
14896 #include "confdefs.h"
14897 /* System header to define __stub macros and hopefully few prototypes,
14898 which can conflict with char $ac_func(); below. */
14899 #include <assert.h>
14900 /* Override any gcc2 internal prototype to avoid an error. */
14901 /* We use char because int might match the return type of a gcc2
14902 builtin and then its argument prototype would still apply. */
14907 /* The GNU C library defines this for functions which it implements
14908 to always fail with ENOSYS. Some functions are actually named
14909 something starting with __ and the normal name is an alias. */
14910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14918 if { (eval echo configure:14919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14920 eval "ac_cv_func_$ac_func=yes"
14922 echo "configure: failed program was:" >&5
14923 cat conftest.$ac_ext >&5
14925 eval "ac_cv_func_$ac_func=no"
14930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14931 echo "$ac_t""yes" 1>&6
14932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14933 cat >> confdefs.h <<EOF
14934 #define $ac_tr_func 1
14938 echo "$ac_t""no" 1>&6
14947 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14948 echo "configure:14949: checking for finitef declaration" >&5
14949 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14950 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14951 echo $ac_n "(cached) $ac_c" 1>&6
14956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14957 ac_cpp='$CXXCPP $CPPFLAGS'
14958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14960 cross_compiling=$ac_cv_prog_cxx_cross
14962 cat > conftest.$ac_ext <<EOF
14963 #line 14964 "configure"
14964 #include "confdefs.h"
14966 #ifdef HAVE_IEEEFP_H
14967 #include <ieeefp.h>
14974 if { (eval echo configure:14975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14976 glibcpp_cv_func_finitef_use=yes
14978 echo "configure: failed program was:" >&5
14979 cat conftest.$ac_ext >&5
14981 glibcpp_cv_func_finitef_use=no
14985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14989 cross_compiling=$ac_cv_prog_cc_cross
14995 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14997 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14998 for ac_func in finitef
15000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15001 echo "configure:15002: checking for $ac_func" >&5
15002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15003 echo $ac_n "(cached) $ac_c" 1>&6
15005 cat > conftest.$ac_ext <<EOF
15006 #line 15007 "configure"
15007 #include "confdefs.h"
15008 /* System header to define __stub macros and hopefully few prototypes,
15009 which can conflict with char $ac_func(); below. */
15010 #include <assert.h>
15011 /* Override any gcc2 internal prototype to avoid an error. */
15012 /* We use char because int might match the return type of a gcc2
15013 builtin and then its argument prototype would still apply. */
15018 /* The GNU C library defines this for functions which it implements
15019 to always fail with ENOSYS. Some functions are actually named
15020 something starting with __ and the normal name is an alias. */
15021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15029 if { (eval echo configure:15030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15031 eval "ac_cv_func_$ac_func=yes"
15033 echo "configure: failed program was:" >&5
15034 cat conftest.$ac_ext >&5
15036 eval "ac_cv_func_$ac_func=no"
15041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15042 echo "$ac_t""yes" 1>&6
15043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15044 cat >> confdefs.h <<EOF
15045 #define $ac_tr_func 1
15049 echo "$ac_t""no" 1>&6
15055 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15056 echo "configure:15057: checking for _finitef declaration" >&5
15057 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15058 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15059 echo $ac_n "(cached) $ac_c" 1>&6
15064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15065 ac_cpp='$CXXCPP $CPPFLAGS'
15066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15068 cross_compiling=$ac_cv_prog_cxx_cross
15070 cat > conftest.$ac_ext <<EOF
15071 #line 15072 "configure"
15072 #include "confdefs.h"
15074 #ifdef HAVE_IEEEFP_H
15075 #include <ieeefp.h>
15082 if { (eval echo configure:15083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15084 glibcpp_cv_func__finitef_use=yes
15086 echo "configure: failed program was:" >&5
15087 cat conftest.$ac_ext >&5
15089 glibcpp_cv_func__finitef_use=no
15093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15094 ac_cpp='$CPP $CPPFLAGS'
15095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15097 cross_compiling=$ac_cv_prog_cc_cross
15103 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
15105 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
15106 for ac_func in _finitef
15108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15109 echo "configure:15110: checking for $ac_func" >&5
15110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15111 echo $ac_n "(cached) $ac_c" 1>&6
15113 cat > conftest.$ac_ext <<EOF
15114 #line 15115 "configure"
15115 #include "confdefs.h"
15116 /* System header to define __stub macros and hopefully few prototypes,
15117 which can conflict with char $ac_func(); below. */
15118 #include <assert.h>
15119 /* Override any gcc2 internal prototype to avoid an error. */
15120 /* We use char because int might match the return type of a gcc2
15121 builtin and then its argument prototype would still apply. */
15126 /* The GNU C library defines this for functions which it implements
15127 to always fail with ENOSYS. Some functions are actually named
15128 something starting with __ and the normal name is an alias. */
15129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15137 if { (eval echo configure:15138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15139 eval "ac_cv_func_$ac_func=yes"
15141 echo "configure: failed program was:" >&5
15142 cat conftest.$ac_ext >&5
15144 eval "ac_cv_func_$ac_func=no"
15149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15150 echo "$ac_t""yes" 1>&6
15151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15152 cat >> confdefs.h <<EOF
15153 #define $ac_tr_func 1
15157 echo "$ac_t""no" 1>&6
15166 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
15167 echo "configure:15168: checking for long double trig functions" >&5
15168 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
15169 echo $ac_n "(cached) $ac_c" 1>&6
15174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15175 ac_cpp='$CXXCPP $CPPFLAGS'
15176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15178 cross_compiling=$ac_cv_prog_cxx_cross
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15185 `for x in acosl asinl atanl \
15187 coshl sinhl tanhl; do echo "$x (0);"; done`
15190 if { (eval echo configure:15191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15192 glibcpp_cv_func_long_double_trig_use=yes
15194 echo "configure: failed program was:" >&5
15195 cat conftest.$ac_ext >&5
15197 glibcpp_cv_func_long_double_trig_use=no
15201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15202 ac_cpp='$CPP $CPPFLAGS'
15203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15205 cross_compiling=$ac_cv_prog_cc_cross
15209 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
15210 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
15211 for ac_func in acosl asinl atanl \
15215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15216 echo "configure:15217: checking for $ac_func" >&5
15217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15218 echo $ac_n "(cached) $ac_c" 1>&6
15220 cat > conftest.$ac_ext <<EOF
15221 #line 15222 "configure"
15222 #include "confdefs.h"
15223 /* System header to define __stub macros and hopefully few prototypes,
15224 which can conflict with char $ac_func(); below. */
15225 #include <assert.h>
15226 /* Override any gcc2 internal prototype to avoid an error. */
15227 /* We use char because int might match the return type of a gcc2
15228 builtin and then its argument prototype would still apply. */
15233 /* The GNU C library defines this for functions which it implements
15234 to always fail with ENOSYS. Some functions are actually named
15235 something starting with __ and the normal name is an alias. */
15236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15244 if { (eval echo configure:15245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15246 eval "ac_cv_func_$ac_func=yes"
15248 echo "configure: failed program was:" >&5
15249 cat conftest.$ac_ext >&5
15251 eval "ac_cv_func_$ac_func=no"
15256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15257 echo "$ac_t""yes" 1>&6
15258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15259 cat >> confdefs.h <<EOF
15260 #define $ac_tr_func 1
15264 echo "$ac_t""no" 1>&6
15271 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
15272 echo "configure:15273: checking for long double round functions" >&5
15273 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
15274 echo $ac_n "(cached) $ac_c" 1>&6
15279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15280 ac_cpp='$CXXCPP $CPPFLAGS'
15281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15283 cross_compiling=$ac_cv_prog_cxx_cross
15285 cat > conftest.$ac_ext <<EOF
15286 #line 15287 "configure"
15287 #include "confdefs.h"
15290 `for x in ceill floorl; do echo "$x (0);"; done`
15293 if { (eval echo configure:15294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15295 glibcpp_cv_func_long_double_round_use=yes
15297 echo "configure: failed program was:" >&5
15298 cat conftest.$ac_ext >&5
15300 glibcpp_cv_func_long_double_round_use=no
15304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15305 ac_cpp='$CPP $CPPFLAGS'
15306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15308 cross_compiling=$ac_cv_prog_cc_cross
15312 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
15313 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
15314 for ac_func in ceill floorl
15316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15317 echo "configure:15318: checking for $ac_func" >&5
15318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15319 echo $ac_n "(cached) $ac_c" 1>&6
15321 cat > conftest.$ac_ext <<EOF
15322 #line 15323 "configure"
15323 #include "confdefs.h"
15324 /* System header to define __stub macros and hopefully few prototypes,
15325 which can conflict with char $ac_func(); below. */
15326 #include <assert.h>
15327 /* Override any gcc2 internal prototype to avoid an error. */
15328 /* We use char because int might match the return type of a gcc2
15329 builtin and then its argument prototype would still apply. */
15334 /* The GNU C library defines this for functions which it implements
15335 to always fail with ENOSYS. Some functions are actually named
15336 something starting with __ and the normal name is an alias. */
15337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15345 if { (eval echo configure:15346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15347 eval "ac_cv_func_$ac_func=yes"
15349 echo "configure: failed program was:" >&5
15350 cat conftest.$ac_ext >&5
15352 eval "ac_cv_func_$ac_func=no"
15357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15358 echo "$ac_t""yes" 1>&6
15359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15360 cat >> confdefs.h <<EOF
15361 #define $ac_tr_func 1
15365 echo "$ac_t""no" 1>&6
15373 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
15374 echo "configure:15375: checking for isnanl declaration" >&5
15375 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
15376 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
15377 echo $ac_n "(cached) $ac_c" 1>&6
15382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15383 ac_cpp='$CXXCPP $CPPFLAGS'
15384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15386 cross_compiling=$ac_cv_prog_cxx_cross
15388 cat > conftest.$ac_ext <<EOF
15389 #line 15390 "configure"
15390 #include "confdefs.h"
15392 #ifdef HAVE_IEEEFP_H
15393 #include <ieeefp.h>
15400 if { (eval echo configure:15401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15402 glibcpp_cv_func_isnanl_use=yes
15404 echo "configure: failed program was:" >&5
15405 cat conftest.$ac_ext >&5
15407 glibcpp_cv_func_isnanl_use=no
15411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15412 ac_cpp='$CPP $CPPFLAGS'
15413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15415 cross_compiling=$ac_cv_prog_cc_cross
15421 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
15423 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
15424 for ac_func in isnanl
15426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15427 echo "configure:15428: checking for $ac_func" >&5
15428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15429 echo $ac_n "(cached) $ac_c" 1>&6
15431 cat > conftest.$ac_ext <<EOF
15432 #line 15433 "configure"
15433 #include "confdefs.h"
15434 /* System header to define __stub macros and hopefully few prototypes,
15435 which can conflict with char $ac_func(); below. */
15436 #include <assert.h>
15437 /* Override any gcc2 internal prototype to avoid an error. */
15438 /* We use char because int might match the return type of a gcc2
15439 builtin and then its argument prototype would still apply. */
15444 /* The GNU C library defines this for functions which it implements
15445 to always fail with ENOSYS. Some functions are actually named
15446 something starting with __ and the normal name is an alias. */
15447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15455 if { (eval echo configure:15456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15457 eval "ac_cv_func_$ac_func=yes"
15459 echo "configure: failed program was:" >&5
15460 cat conftest.$ac_ext >&5
15462 eval "ac_cv_func_$ac_func=no"
15467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15468 echo "$ac_t""yes" 1>&6
15469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15470 cat >> confdefs.h <<EOF
15471 #define $ac_tr_func 1
15475 echo "$ac_t""no" 1>&6
15481 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
15482 echo "configure:15483: checking for _isnanl declaration" >&5
15483 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
15484 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
15485 echo $ac_n "(cached) $ac_c" 1>&6
15490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15491 ac_cpp='$CXXCPP $CPPFLAGS'
15492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15494 cross_compiling=$ac_cv_prog_cxx_cross
15496 cat > conftest.$ac_ext <<EOF
15497 #line 15498 "configure"
15498 #include "confdefs.h"
15500 #ifdef HAVE_IEEEFP_H
15501 #include <ieeefp.h>
15508 if { (eval echo configure:15509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15510 glibcpp_cv_func__isnanl_use=yes
15512 echo "configure: failed program was:" >&5
15513 cat conftest.$ac_ext >&5
15515 glibcpp_cv_func__isnanl_use=no
15519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15520 ac_cpp='$CPP $CPPFLAGS'
15521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15523 cross_compiling=$ac_cv_prog_cc_cross
15529 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
15531 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
15532 for ac_func in _isnanl
15534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15535 echo "configure:15536: checking for $ac_func" >&5
15536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15537 echo $ac_n "(cached) $ac_c" 1>&6
15539 cat > conftest.$ac_ext <<EOF
15540 #line 15541 "configure"
15541 #include "confdefs.h"
15542 /* System header to define __stub macros and hopefully few prototypes,
15543 which can conflict with char $ac_func(); below. */
15544 #include <assert.h>
15545 /* Override any gcc2 internal prototype to avoid an error. */
15546 /* We use char because int might match the return type of a gcc2
15547 builtin and then its argument prototype would still apply. */
15552 /* The GNU C library defines this for functions which it implements
15553 to always fail with ENOSYS. Some functions are actually named
15554 something starting with __ and the normal name is an alias. */
15555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15563 if { (eval echo configure:15564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15565 eval "ac_cv_func_$ac_func=yes"
15567 echo "configure: failed program was:" >&5
15568 cat conftest.$ac_ext >&5
15570 eval "ac_cv_func_$ac_func=no"
15575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15576 echo "$ac_t""yes" 1>&6
15577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15578 cat >> confdefs.h <<EOF
15579 #define $ac_tr_func 1
15583 echo "$ac_t""no" 1>&6
15592 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
15593 echo "configure:15594: checking for isinfl declaration" >&5
15594 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
15595 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
15596 echo $ac_n "(cached) $ac_c" 1>&6
15601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15602 ac_cpp='$CXXCPP $CPPFLAGS'
15603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15605 cross_compiling=$ac_cv_prog_cxx_cross
15607 cat > conftest.$ac_ext <<EOF
15608 #line 15609 "configure"
15609 #include "confdefs.h"
15611 #ifdef HAVE_IEEEFP_H
15612 #include <ieeefp.h>
15619 if { (eval echo configure:15620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15621 glibcpp_cv_func_isinfl_use=yes
15623 echo "configure: failed program was:" >&5
15624 cat conftest.$ac_ext >&5
15626 glibcpp_cv_func_isinfl_use=no
15630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15631 ac_cpp='$CPP $CPPFLAGS'
15632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15634 cross_compiling=$ac_cv_prog_cc_cross
15640 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
15642 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
15643 for ac_func in isinfl
15645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15646 echo "configure:15647: checking for $ac_func" >&5
15647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15648 echo $ac_n "(cached) $ac_c" 1>&6
15650 cat > conftest.$ac_ext <<EOF
15651 #line 15652 "configure"
15652 #include "confdefs.h"
15653 /* System header to define __stub macros and hopefully few prototypes,
15654 which can conflict with char $ac_func(); below. */
15655 #include <assert.h>
15656 /* Override any gcc2 internal prototype to avoid an error. */
15657 /* We use char because int might match the return type of a gcc2
15658 builtin and then its argument prototype would still apply. */
15663 /* The GNU C library defines this for functions which it implements
15664 to always fail with ENOSYS. Some functions are actually named
15665 something starting with __ and the normal name is an alias. */
15666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15674 if { (eval echo configure:15675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15676 eval "ac_cv_func_$ac_func=yes"
15678 echo "configure: failed program was:" >&5
15679 cat conftest.$ac_ext >&5
15681 eval "ac_cv_func_$ac_func=no"
15686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15687 echo "$ac_t""yes" 1>&6
15688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15689 cat >> confdefs.h <<EOF
15690 #define $ac_tr_func 1
15694 echo "$ac_t""no" 1>&6
15700 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
15701 echo "configure:15702: checking for _isinfl declaration" >&5
15702 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
15703 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
15704 echo $ac_n "(cached) $ac_c" 1>&6
15709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15710 ac_cpp='$CXXCPP $CPPFLAGS'
15711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15713 cross_compiling=$ac_cv_prog_cxx_cross
15715 cat > conftest.$ac_ext <<EOF
15716 #line 15717 "configure"
15717 #include "confdefs.h"
15719 #ifdef HAVE_IEEEFP_H
15720 #include <ieeefp.h>
15727 if { (eval echo configure:15728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15729 glibcpp_cv_func__isinfl_use=yes
15731 echo "configure: failed program was:" >&5
15732 cat conftest.$ac_ext >&5
15734 glibcpp_cv_func__isinfl_use=no
15738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15739 ac_cpp='$CPP $CPPFLAGS'
15740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15742 cross_compiling=$ac_cv_prog_cc_cross
15748 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
15750 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
15751 for ac_func in _isinfl
15753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15754 echo "configure:15755: checking for $ac_func" >&5
15755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15756 echo $ac_n "(cached) $ac_c" 1>&6
15758 cat > conftest.$ac_ext <<EOF
15759 #line 15760 "configure"
15760 #include "confdefs.h"
15761 /* System header to define __stub macros and hopefully few prototypes,
15762 which can conflict with char $ac_func(); below. */
15763 #include <assert.h>
15764 /* Override any gcc2 internal prototype to avoid an error. */
15765 /* We use char because int might match the return type of a gcc2
15766 builtin and then its argument prototype would still apply. */
15771 /* The GNU C library defines this for functions which it implements
15772 to always fail with ENOSYS. Some functions are actually named
15773 something starting with __ and the normal name is an alias. */
15774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15782 if { (eval echo configure:15783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15784 eval "ac_cv_func_$ac_func=yes"
15786 echo "configure: failed program was:" >&5
15787 cat conftest.$ac_ext >&5
15789 eval "ac_cv_func_$ac_func=no"
15794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15795 echo "$ac_t""yes" 1>&6
15796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15797 cat >> confdefs.h <<EOF
15798 #define $ac_tr_func 1
15802 echo "$ac_t""no" 1>&6
15811 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
15812 echo "configure:15813: checking for copysignl declaration" >&5
15813 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
15814 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
15815 echo $ac_n "(cached) $ac_c" 1>&6
15820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15821 ac_cpp='$CXXCPP $CPPFLAGS'
15822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15824 cross_compiling=$ac_cv_prog_cxx_cross
15826 cat > conftest.$ac_ext <<EOF
15827 #line 15828 "configure"
15828 #include "confdefs.h"
15834 if { (eval echo configure:15835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15836 glibcpp_cv_func_copysignl_use=yes
15838 echo "configure: failed program was:" >&5
15839 cat conftest.$ac_ext >&5
15841 glibcpp_cv_func_copysignl_use=no
15845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15846 ac_cpp='$CPP $CPPFLAGS'
15847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15849 cross_compiling=$ac_cv_prog_cc_cross
15855 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
15857 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
15858 for ac_func in copysignl
15860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15861 echo "configure:15862: checking for $ac_func" >&5
15862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15863 echo $ac_n "(cached) $ac_c" 1>&6
15865 cat > conftest.$ac_ext <<EOF
15866 #line 15867 "configure"
15867 #include "confdefs.h"
15868 /* System header to define __stub macros and hopefully few prototypes,
15869 which can conflict with char $ac_func(); below. */
15870 #include <assert.h>
15871 /* Override any gcc2 internal prototype to avoid an error. */
15872 /* We use char because int might match the return type of a gcc2
15873 builtin and then its argument prototype would still apply. */
15878 /* The GNU C library defines this for functions which it implements
15879 to always fail with ENOSYS. Some functions are actually named
15880 something starting with __ and the normal name is an alias. */
15881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15889 if { (eval echo configure:15890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15891 eval "ac_cv_func_$ac_func=yes"
15893 echo "configure: failed program was:" >&5
15894 cat conftest.$ac_ext >&5
15896 eval "ac_cv_func_$ac_func=no"
15901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15902 echo "$ac_t""yes" 1>&6
15903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15904 cat >> confdefs.h <<EOF
15905 #define $ac_tr_func 1
15909 echo "$ac_t""no" 1>&6
15915 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15916 echo "configure:15917: checking for _copysignl declaration" >&5
15917 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15918 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15919 echo $ac_n "(cached) $ac_c" 1>&6
15924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15928 cross_compiling=$ac_cv_prog_cxx_cross
15930 cat > conftest.$ac_ext <<EOF
15931 #line 15932 "configure"
15932 #include "confdefs.h"
15938 if { (eval echo configure:15939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15940 glibcpp_cv_func__copysignl_use=yes
15942 echo "configure: failed program was:" >&5
15943 cat conftest.$ac_ext >&5
15945 glibcpp_cv_func__copysignl_use=no
15949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15950 ac_cpp='$CPP $CPPFLAGS'
15951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15953 cross_compiling=$ac_cv_prog_cc_cross
15959 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15961 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15962 for ac_func in _copysignl
15964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15965 echo "configure:15966: checking for $ac_func" >&5
15966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15967 echo $ac_n "(cached) $ac_c" 1>&6
15969 cat > conftest.$ac_ext <<EOF
15970 #line 15971 "configure"
15971 #include "confdefs.h"
15972 /* System header to define __stub macros and hopefully few prototypes,
15973 which can conflict with char $ac_func(); below. */
15974 #include <assert.h>
15975 /* Override any gcc2 internal prototype to avoid an error. */
15976 /* We use char because int might match the return type of a gcc2
15977 builtin and then its argument prototype would still apply. */
15982 /* The GNU C library defines this for functions which it implements
15983 to always fail with ENOSYS. Some functions are actually named
15984 something starting with __ and the normal name is an alias. */
15985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15993 if { (eval echo configure:15994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15995 eval "ac_cv_func_$ac_func=yes"
15997 echo "configure: failed program was:" >&5
15998 cat conftest.$ac_ext >&5
16000 eval "ac_cv_func_$ac_func=no"
16005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16006 echo "$ac_t""yes" 1>&6
16007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16008 cat >> confdefs.h <<EOF
16009 #define $ac_tr_func 1
16013 echo "$ac_t""no" 1>&6
16022 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16023 echo "configure:16024: checking for atan2l declaration" >&5
16024 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16025 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16026 echo $ac_n "(cached) $ac_c" 1>&6
16031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16032 ac_cpp='$CXXCPP $CPPFLAGS'
16033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16035 cross_compiling=$ac_cv_prog_cxx_cross
16037 cat > conftest.$ac_ext <<EOF
16038 #line 16039 "configure"
16039 #include "confdefs.h"
16045 if { (eval echo configure:16046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16047 glibcpp_cv_func_atan2l_use=yes
16049 echo "configure: failed program was:" >&5
16050 cat conftest.$ac_ext >&5
16052 glibcpp_cv_func_atan2l_use=no
16056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16057 ac_cpp='$CPP $CPPFLAGS'
16058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16060 cross_compiling=$ac_cv_prog_cc_cross
16066 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16068 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16069 for ac_func in atan2l
16071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16072 echo "configure:16073: checking for $ac_func" >&5
16073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16074 echo $ac_n "(cached) $ac_c" 1>&6
16076 cat > conftest.$ac_ext <<EOF
16077 #line 16078 "configure"
16078 #include "confdefs.h"
16079 /* System header to define __stub macros and hopefully few prototypes,
16080 which can conflict with char $ac_func(); below. */
16081 #include <assert.h>
16082 /* Override any gcc2 internal prototype to avoid an error. */
16083 /* We use char because int might match the return type of a gcc2
16084 builtin and then its argument prototype would still apply. */
16089 /* The GNU C library defines this for functions which it implements
16090 to always fail with ENOSYS. Some functions are actually named
16091 something starting with __ and the normal name is an alias. */
16092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16100 if { (eval echo configure:16101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16102 eval "ac_cv_func_$ac_func=yes"
16104 echo "configure: failed program was:" >&5
16105 cat conftest.$ac_ext >&5
16107 eval "ac_cv_func_$ac_func=no"
16112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16113 echo "$ac_t""yes" 1>&6
16114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16115 cat >> confdefs.h <<EOF
16116 #define $ac_tr_func 1
16120 echo "$ac_t""no" 1>&6
16126 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
16127 echo "configure:16128: checking for _atan2l declaration" >&5
16128 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
16129 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
16130 echo $ac_n "(cached) $ac_c" 1>&6
16135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16136 ac_cpp='$CXXCPP $CPPFLAGS'
16137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16139 cross_compiling=$ac_cv_prog_cxx_cross
16141 cat > conftest.$ac_ext <<EOF
16142 #line 16143 "configure"
16143 #include "confdefs.h"
16149 if { (eval echo configure:16150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16151 glibcpp_cv_func__atan2l_use=yes
16153 echo "configure: failed program was:" >&5
16154 cat conftest.$ac_ext >&5
16156 glibcpp_cv_func__atan2l_use=no
16160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16161 ac_cpp='$CPP $CPPFLAGS'
16162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16164 cross_compiling=$ac_cv_prog_cc_cross
16170 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
16172 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
16173 for ac_func in _atan2l
16175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16176 echo "configure:16177: checking for $ac_func" >&5
16177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16178 echo $ac_n "(cached) $ac_c" 1>&6
16180 cat > conftest.$ac_ext <<EOF
16181 #line 16182 "configure"
16182 #include "confdefs.h"
16183 /* System header to define __stub macros and hopefully few prototypes,
16184 which can conflict with char $ac_func(); below. */
16185 #include <assert.h>
16186 /* Override any gcc2 internal prototype to avoid an error. */
16187 /* We use char because int might match the return type of a gcc2
16188 builtin and then its argument prototype would still apply. */
16193 /* The GNU C library defines this for functions which it implements
16194 to always fail with ENOSYS. Some functions are actually named
16195 something starting with __ and the normal name is an alias. */
16196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16204 if { (eval echo configure:16205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16206 eval "ac_cv_func_$ac_func=yes"
16208 echo "configure: failed program was:" >&5
16209 cat conftest.$ac_ext >&5
16211 eval "ac_cv_func_$ac_func=no"
16216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16219 cat >> confdefs.h <<EOF
16220 #define $ac_tr_func 1
16224 echo "$ac_t""no" 1>&6
16233 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
16234 echo "configure:16235: checking for expl declaration" >&5
16235 if test x${glibcpp_cv_func_expl_use+set} != xset; then
16236 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
16237 echo $ac_n "(cached) $ac_c" 1>&6
16242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16243 ac_cpp='$CXXCPP $CPPFLAGS'
16244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16246 cross_compiling=$ac_cv_prog_cxx_cross
16248 cat > conftest.$ac_ext <<EOF
16249 #line 16250 "configure"
16250 #include "confdefs.h"
16252 #ifdef HAVE_IEEEFP_H
16253 #include <ieeefp.h>
16260 if { (eval echo configure:16261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16262 glibcpp_cv_func_expl_use=yes
16264 echo "configure: failed program was:" >&5
16265 cat conftest.$ac_ext >&5
16267 glibcpp_cv_func_expl_use=no
16271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16272 ac_cpp='$CPP $CPPFLAGS'
16273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16275 cross_compiling=$ac_cv_prog_cc_cross
16281 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
16283 if test x$glibcpp_cv_func_expl_use = x"yes"; then
16284 for ac_func in expl
16286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16287 echo "configure:16288: checking for $ac_func" >&5
16288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16289 echo $ac_n "(cached) $ac_c" 1>&6
16291 cat > conftest.$ac_ext <<EOF
16292 #line 16293 "configure"
16293 #include "confdefs.h"
16294 /* System header to define __stub macros and hopefully few prototypes,
16295 which can conflict with char $ac_func(); below. */
16296 #include <assert.h>
16297 /* Override any gcc2 internal prototype to avoid an error. */
16298 /* We use char because int might match the return type of a gcc2
16299 builtin and then its argument prototype would still apply. */
16304 /* The GNU C library defines this for functions which it implements
16305 to always fail with ENOSYS. Some functions are actually named
16306 something starting with __ and the normal name is an alias. */
16307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16315 if { (eval echo configure:16316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16317 eval "ac_cv_func_$ac_func=yes"
16319 echo "configure: failed program was:" >&5
16320 cat conftest.$ac_ext >&5
16322 eval "ac_cv_func_$ac_func=no"
16327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16328 echo "$ac_t""yes" 1>&6
16329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16330 cat >> confdefs.h <<EOF
16331 #define $ac_tr_func 1
16335 echo "$ac_t""no" 1>&6
16341 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
16342 echo "configure:16343: checking for _expl declaration" >&5
16343 if test x${glibcpp_cv_func__expl_use+set} != xset; then
16344 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
16345 echo $ac_n "(cached) $ac_c" 1>&6
16350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16351 ac_cpp='$CXXCPP $CPPFLAGS'
16352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16354 cross_compiling=$ac_cv_prog_cxx_cross
16356 cat > conftest.$ac_ext <<EOF
16357 #line 16358 "configure"
16358 #include "confdefs.h"
16360 #ifdef HAVE_IEEEFP_H
16361 #include <ieeefp.h>
16368 if { (eval echo configure:16369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16370 glibcpp_cv_func__expl_use=yes
16372 echo "configure: failed program was:" >&5
16373 cat conftest.$ac_ext >&5
16375 glibcpp_cv_func__expl_use=no
16379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16380 ac_cpp='$CPP $CPPFLAGS'
16381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16383 cross_compiling=$ac_cv_prog_cc_cross
16389 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
16391 if test x$glibcpp_cv_func__expl_use = x"yes"; then
16392 for ac_func in _expl
16394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16395 echo "configure:16396: checking for $ac_func" >&5
16396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16397 echo $ac_n "(cached) $ac_c" 1>&6
16399 cat > conftest.$ac_ext <<EOF
16400 #line 16401 "configure"
16401 #include "confdefs.h"
16402 /* System header to define __stub macros and hopefully few prototypes,
16403 which can conflict with char $ac_func(); below. */
16404 #include <assert.h>
16405 /* Override any gcc2 internal prototype to avoid an error. */
16406 /* We use char because int might match the return type of a gcc2
16407 builtin and then its argument prototype would still apply. */
16412 /* The GNU C library defines this for functions which it implements
16413 to always fail with ENOSYS. Some functions are actually named
16414 something starting with __ and the normal name is an alias. */
16415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16423 if { (eval echo configure:16424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16425 eval "ac_cv_func_$ac_func=yes"
16427 echo "configure: failed program was:" >&5
16428 cat conftest.$ac_ext >&5
16430 eval "ac_cv_func_$ac_func=no"
16435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16436 echo "$ac_t""yes" 1>&6
16437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16438 cat >> confdefs.h <<EOF
16439 #define $ac_tr_func 1
16443 echo "$ac_t""no" 1>&6
16452 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
16453 echo "configure:16454: checking for fabsl declaration" >&5
16454 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
16455 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
16456 echo $ac_n "(cached) $ac_c" 1>&6
16461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16462 ac_cpp='$CXXCPP $CPPFLAGS'
16463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16465 cross_compiling=$ac_cv_prog_cxx_cross
16467 cat > conftest.$ac_ext <<EOF
16468 #line 16469 "configure"
16469 #include "confdefs.h"
16471 #ifdef HAVE_IEEEFP_H
16472 #include <ieeefp.h>
16479 if { (eval echo configure:16480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16481 glibcpp_cv_func_fabsl_use=yes
16483 echo "configure: failed program was:" >&5
16484 cat conftest.$ac_ext >&5
16486 glibcpp_cv_func_fabsl_use=no
16490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16491 ac_cpp='$CPP $CPPFLAGS'
16492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16494 cross_compiling=$ac_cv_prog_cc_cross
16500 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
16502 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
16503 for ac_func in fabsl
16505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16506 echo "configure:16507: checking for $ac_func" >&5
16507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16508 echo $ac_n "(cached) $ac_c" 1>&6
16510 cat > conftest.$ac_ext <<EOF
16511 #line 16512 "configure"
16512 #include "confdefs.h"
16513 /* System header to define __stub macros and hopefully few prototypes,
16514 which can conflict with char $ac_func(); below. */
16515 #include <assert.h>
16516 /* Override any gcc2 internal prototype to avoid an error. */
16517 /* We use char because int might match the return type of a gcc2
16518 builtin and then its argument prototype would still apply. */
16523 /* The GNU C library defines this for functions which it implements
16524 to always fail with ENOSYS. Some functions are actually named
16525 something starting with __ and the normal name is an alias. */
16526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16534 if { (eval echo configure:16535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16536 eval "ac_cv_func_$ac_func=yes"
16538 echo "configure: failed program was:" >&5
16539 cat conftest.$ac_ext >&5
16541 eval "ac_cv_func_$ac_func=no"
16546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16547 echo "$ac_t""yes" 1>&6
16548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16549 cat >> confdefs.h <<EOF
16550 #define $ac_tr_func 1
16554 echo "$ac_t""no" 1>&6
16560 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
16561 echo "configure:16562: checking for _fabsl declaration" >&5
16562 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
16563 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
16564 echo $ac_n "(cached) $ac_c" 1>&6
16569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16570 ac_cpp='$CXXCPP $CPPFLAGS'
16571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16573 cross_compiling=$ac_cv_prog_cxx_cross
16575 cat > conftest.$ac_ext <<EOF
16576 #line 16577 "configure"
16577 #include "confdefs.h"
16579 #ifdef HAVE_IEEEFP_H
16580 #include <ieeefp.h>
16587 if { (eval echo configure:16588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16589 glibcpp_cv_func__fabsl_use=yes
16591 echo "configure: failed program was:" >&5
16592 cat conftest.$ac_ext >&5
16594 glibcpp_cv_func__fabsl_use=no
16598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16599 ac_cpp='$CPP $CPPFLAGS'
16600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16602 cross_compiling=$ac_cv_prog_cc_cross
16608 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
16610 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
16611 for ac_func in _fabsl
16613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16614 echo "configure:16615: checking for $ac_func" >&5
16615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16616 echo $ac_n "(cached) $ac_c" 1>&6
16618 cat > conftest.$ac_ext <<EOF
16619 #line 16620 "configure"
16620 #include "confdefs.h"
16621 /* System header to define __stub macros and hopefully few prototypes,
16622 which can conflict with char $ac_func(); below. */
16623 #include <assert.h>
16624 /* Override any gcc2 internal prototype to avoid an error. */
16625 /* We use char because int might match the return type of a gcc2
16626 builtin and then its argument prototype would still apply. */
16631 /* The GNU C library defines this for functions which it implements
16632 to always fail with ENOSYS. Some functions are actually named
16633 something starting with __ and the normal name is an alias. */
16634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16642 if { (eval echo configure:16643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16644 eval "ac_cv_func_$ac_func=yes"
16646 echo "configure: failed program was:" >&5
16647 cat conftest.$ac_ext >&5
16649 eval "ac_cv_func_$ac_func=no"
16654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16655 echo "$ac_t""yes" 1>&6
16656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16657 cat >> confdefs.h <<EOF
16658 #define $ac_tr_func 1
16662 echo "$ac_t""no" 1>&6
16671 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
16672 echo "configure:16673: checking for fmodl declaration" >&5
16673 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
16674 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
16675 echo $ac_n "(cached) $ac_c" 1>&6
16680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16681 ac_cpp='$CXXCPP $CPPFLAGS'
16682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16684 cross_compiling=$ac_cv_prog_cxx_cross
16686 cat > conftest.$ac_ext <<EOF
16687 #line 16688 "configure"
16688 #include "confdefs.h"
16694 if { (eval echo configure:16695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16696 glibcpp_cv_func_fmodl_use=yes
16698 echo "configure: failed program was:" >&5
16699 cat conftest.$ac_ext >&5
16701 glibcpp_cv_func_fmodl_use=no
16705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16706 ac_cpp='$CPP $CPPFLAGS'
16707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16709 cross_compiling=$ac_cv_prog_cc_cross
16715 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
16717 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
16718 for ac_func in fmodl
16720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16721 echo "configure:16722: checking for $ac_func" >&5
16722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16723 echo $ac_n "(cached) $ac_c" 1>&6
16725 cat > conftest.$ac_ext <<EOF
16726 #line 16727 "configure"
16727 #include "confdefs.h"
16728 /* System header to define __stub macros and hopefully few prototypes,
16729 which can conflict with char $ac_func(); below. */
16730 #include <assert.h>
16731 /* Override any gcc2 internal prototype to avoid an error. */
16732 /* We use char because int might match the return type of a gcc2
16733 builtin and then its argument prototype would still apply. */
16738 /* The GNU C library defines this for functions which it implements
16739 to always fail with ENOSYS. Some functions are actually named
16740 something starting with __ and the normal name is an alias. */
16741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16749 if { (eval echo configure:16750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16751 eval "ac_cv_func_$ac_func=yes"
16753 echo "configure: failed program was:" >&5
16754 cat conftest.$ac_ext >&5
16756 eval "ac_cv_func_$ac_func=no"
16761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16762 echo "$ac_t""yes" 1>&6
16763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16764 cat >> confdefs.h <<EOF
16765 #define $ac_tr_func 1
16769 echo "$ac_t""no" 1>&6
16775 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
16776 echo "configure:16777: checking for _fmodl declaration" >&5
16777 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
16778 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
16779 echo $ac_n "(cached) $ac_c" 1>&6
16784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16785 ac_cpp='$CXXCPP $CPPFLAGS'
16786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16788 cross_compiling=$ac_cv_prog_cxx_cross
16790 cat > conftest.$ac_ext <<EOF
16791 #line 16792 "configure"
16792 #include "confdefs.h"
16798 if { (eval echo configure:16799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16800 glibcpp_cv_func__fmodl_use=yes
16802 echo "configure: failed program was:" >&5
16803 cat conftest.$ac_ext >&5
16805 glibcpp_cv_func__fmodl_use=no
16809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16810 ac_cpp='$CPP $CPPFLAGS'
16811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16813 cross_compiling=$ac_cv_prog_cc_cross
16819 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
16821 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
16822 for ac_func in _fmodl
16824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16825 echo "configure:16826: checking for $ac_func" >&5
16826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16827 echo $ac_n "(cached) $ac_c" 1>&6
16829 cat > conftest.$ac_ext <<EOF
16830 #line 16831 "configure"
16831 #include "confdefs.h"
16832 /* System header to define __stub macros and hopefully few prototypes,
16833 which can conflict with char $ac_func(); below. */
16834 #include <assert.h>
16835 /* Override any gcc2 internal prototype to avoid an error. */
16836 /* We use char because int might match the return type of a gcc2
16837 builtin and then its argument prototype would still apply. */
16842 /* The GNU C library defines this for functions which it implements
16843 to always fail with ENOSYS. Some functions are actually named
16844 something starting with __ and the normal name is an alias. */
16845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16853 if { (eval echo configure:16854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16855 eval "ac_cv_func_$ac_func=yes"
16857 echo "configure: failed program was:" >&5
16858 cat conftest.$ac_ext >&5
16860 eval "ac_cv_func_$ac_func=no"
16865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16866 echo "$ac_t""yes" 1>&6
16867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16868 cat >> confdefs.h <<EOF
16869 #define $ac_tr_func 1
16873 echo "$ac_t""no" 1>&6
16882 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
16883 echo "configure:16884: checking for frexpl declaration" >&5
16884 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16885 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16886 echo $ac_n "(cached) $ac_c" 1>&6
16891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16892 ac_cpp='$CXXCPP $CPPFLAGS'
16893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16895 cross_compiling=$ac_cv_prog_cxx_cross
16897 cat > conftest.$ac_ext <<EOF
16898 #line 16899 "configure"
16899 #include "confdefs.h"
16905 if { (eval echo configure:16906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16907 glibcpp_cv_func_frexpl_use=yes
16909 echo "configure: failed program was:" >&5
16910 cat conftest.$ac_ext >&5
16912 glibcpp_cv_func_frexpl_use=no
16916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16917 ac_cpp='$CPP $CPPFLAGS'
16918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16920 cross_compiling=$ac_cv_prog_cc_cross
16926 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16928 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16929 for ac_func in frexpl
16931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16932 echo "configure:16933: checking for $ac_func" >&5
16933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16934 echo $ac_n "(cached) $ac_c" 1>&6
16936 cat > conftest.$ac_ext <<EOF
16937 #line 16938 "configure"
16938 #include "confdefs.h"
16939 /* System header to define __stub macros and hopefully few prototypes,
16940 which can conflict with char $ac_func(); below. */
16941 #include <assert.h>
16942 /* Override any gcc2 internal prototype to avoid an error. */
16943 /* We use char because int might match the return type of a gcc2
16944 builtin and then its argument prototype would still apply. */
16949 /* The GNU C library defines this for functions which it implements
16950 to always fail with ENOSYS. Some functions are actually named
16951 something starting with __ and the normal name is an alias. */
16952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16960 if { (eval echo configure:16961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16962 eval "ac_cv_func_$ac_func=yes"
16964 echo "configure: failed program was:" >&5
16965 cat conftest.$ac_ext >&5
16967 eval "ac_cv_func_$ac_func=no"
16972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16973 echo "$ac_t""yes" 1>&6
16974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16975 cat >> confdefs.h <<EOF
16976 #define $ac_tr_func 1
16980 echo "$ac_t""no" 1>&6
16986 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16987 echo "configure:16988: checking for _frexpl declaration" >&5
16988 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16989 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16990 echo $ac_n "(cached) $ac_c" 1>&6
16995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16996 ac_cpp='$CXXCPP $CPPFLAGS'
16997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16999 cross_compiling=$ac_cv_prog_cxx_cross
17001 cat > conftest.$ac_ext <<EOF
17002 #line 17003 "configure"
17003 #include "confdefs.h"
17009 if { (eval echo configure:17010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17011 glibcpp_cv_func__frexpl_use=yes
17013 echo "configure: failed program was:" >&5
17014 cat conftest.$ac_ext >&5
17016 glibcpp_cv_func__frexpl_use=no
17020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17021 ac_cpp='$CPP $CPPFLAGS'
17022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17024 cross_compiling=$ac_cv_prog_cc_cross
17030 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17032 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17033 for ac_func in _frexpl
17035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17036 echo "configure:17037: checking for $ac_func" >&5
17037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17038 echo $ac_n "(cached) $ac_c" 1>&6
17040 cat > conftest.$ac_ext <<EOF
17041 #line 17042 "configure"
17042 #include "confdefs.h"
17043 /* System header to define __stub macros and hopefully few prototypes,
17044 which can conflict with char $ac_func(); below. */
17045 #include <assert.h>
17046 /* Override any gcc2 internal prototype to avoid an error. */
17047 /* We use char because int might match the return type of a gcc2
17048 builtin and then its argument prototype would still apply. */
17053 /* The GNU C library defines this for functions which it implements
17054 to always fail with ENOSYS. Some functions are actually named
17055 something starting with __ and the normal name is an alias. */
17056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17064 if { (eval echo configure:17065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17066 eval "ac_cv_func_$ac_func=yes"
17068 echo "configure: failed program was:" >&5
17069 cat conftest.$ac_ext >&5
17071 eval "ac_cv_func_$ac_func=no"
17076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17077 echo "$ac_t""yes" 1>&6
17078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17079 cat >> confdefs.h <<EOF
17080 #define $ac_tr_func 1
17084 echo "$ac_t""no" 1>&6
17093 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
17094 echo "configure:17095: checking for hypotl declaration" >&5
17095 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17096 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17097 echo $ac_n "(cached) $ac_c" 1>&6
17102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17103 ac_cpp='$CXXCPP $CPPFLAGS'
17104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17106 cross_compiling=$ac_cv_prog_cxx_cross
17108 cat > conftest.$ac_ext <<EOF
17109 #line 17110 "configure"
17110 #include "confdefs.h"
17116 if { (eval echo configure:17117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17118 glibcpp_cv_func_hypotl_use=yes
17120 echo "configure: failed program was:" >&5
17121 cat conftest.$ac_ext >&5
17123 glibcpp_cv_func_hypotl_use=no
17127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17131 cross_compiling=$ac_cv_prog_cc_cross
17137 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
17139 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
17140 for ac_func in hypotl
17142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17143 echo "configure:17144: checking for $ac_func" >&5
17144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17145 echo $ac_n "(cached) $ac_c" 1>&6
17147 cat > conftest.$ac_ext <<EOF
17148 #line 17149 "configure"
17149 #include "confdefs.h"
17150 /* System header to define __stub macros and hopefully few prototypes,
17151 which can conflict with char $ac_func(); below. */
17152 #include <assert.h>
17153 /* Override any gcc2 internal prototype to avoid an error. */
17154 /* We use char because int might match the return type of a gcc2
17155 builtin and then its argument prototype would still apply. */
17160 /* The GNU C library defines this for functions which it implements
17161 to always fail with ENOSYS. Some functions are actually named
17162 something starting with __ and the normal name is an alias. */
17163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 if { (eval echo configure:17172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17173 eval "ac_cv_func_$ac_func=yes"
17175 echo "configure: failed program was:" >&5
17176 cat conftest.$ac_ext >&5
17178 eval "ac_cv_func_$ac_func=no"
17183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17184 echo "$ac_t""yes" 1>&6
17185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17186 cat >> confdefs.h <<EOF
17187 #define $ac_tr_func 1
17191 echo "$ac_t""no" 1>&6
17197 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
17198 echo "configure:17199: checking for _hypotl declaration" >&5
17199 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
17200 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
17201 echo $ac_n "(cached) $ac_c" 1>&6
17206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17207 ac_cpp='$CXXCPP $CPPFLAGS'
17208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17210 cross_compiling=$ac_cv_prog_cxx_cross
17212 cat > conftest.$ac_ext <<EOF
17213 #line 17214 "configure"
17214 #include "confdefs.h"
17220 if { (eval echo configure:17221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17222 glibcpp_cv_func__hypotl_use=yes
17224 echo "configure: failed program was:" >&5
17225 cat conftest.$ac_ext >&5
17227 glibcpp_cv_func__hypotl_use=no
17231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17232 ac_cpp='$CPP $CPPFLAGS'
17233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17235 cross_compiling=$ac_cv_prog_cc_cross
17241 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
17243 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
17244 for ac_func in _hypotl
17246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17247 echo "configure:17248: checking for $ac_func" >&5
17248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17249 echo $ac_n "(cached) $ac_c" 1>&6
17251 cat > conftest.$ac_ext <<EOF
17252 #line 17253 "configure"
17253 #include "confdefs.h"
17254 /* System header to define __stub macros and hopefully few prototypes,
17255 which can conflict with char $ac_func(); below. */
17256 #include <assert.h>
17257 /* Override any gcc2 internal prototype to avoid an error. */
17258 /* We use char because int might match the return type of a gcc2
17259 builtin and then its argument prototype would still apply. */
17264 /* The GNU C library defines this for functions which it implements
17265 to always fail with ENOSYS. Some functions are actually named
17266 something starting with __ and the normal name is an alias. */
17267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17275 if { (eval echo configure:17276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17277 eval "ac_cv_func_$ac_func=yes"
17279 echo "configure: failed program was:" >&5
17280 cat conftest.$ac_ext >&5
17282 eval "ac_cv_func_$ac_func=no"
17287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17288 echo "$ac_t""yes" 1>&6
17289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17290 cat >> confdefs.h <<EOF
17291 #define $ac_tr_func 1
17295 echo "$ac_t""no" 1>&6
17304 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
17305 echo "configure:17306: checking for ldexpl declaration" >&5
17306 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
17307 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
17308 echo $ac_n "(cached) $ac_c" 1>&6
17313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17314 ac_cpp='$CXXCPP $CPPFLAGS'
17315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17317 cross_compiling=$ac_cv_prog_cxx_cross
17319 cat > conftest.$ac_ext <<EOF
17320 #line 17321 "configure"
17321 #include "confdefs.h"
17327 if { (eval echo configure:17328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17329 glibcpp_cv_func_ldexpl_use=yes
17331 echo "configure: failed program was:" >&5
17332 cat conftest.$ac_ext >&5
17334 glibcpp_cv_func_ldexpl_use=no
17338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17339 ac_cpp='$CPP $CPPFLAGS'
17340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17342 cross_compiling=$ac_cv_prog_cc_cross
17348 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
17350 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
17351 for ac_func in ldexpl
17353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17354 echo "configure:17355: checking for $ac_func" >&5
17355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17356 echo $ac_n "(cached) $ac_c" 1>&6
17358 cat > conftest.$ac_ext <<EOF
17359 #line 17360 "configure"
17360 #include "confdefs.h"
17361 /* System header to define __stub macros and hopefully few prototypes,
17362 which can conflict with char $ac_func(); below. */
17363 #include <assert.h>
17364 /* Override any gcc2 internal prototype to avoid an error. */
17365 /* We use char because int might match the return type of a gcc2
17366 builtin and then its argument prototype would still apply. */
17371 /* The GNU C library defines this for functions which it implements
17372 to always fail with ENOSYS. Some functions are actually named
17373 something starting with __ and the normal name is an alias. */
17374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17382 if { (eval echo configure:17383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17384 eval "ac_cv_func_$ac_func=yes"
17386 echo "configure: failed program was:" >&5
17387 cat conftest.$ac_ext >&5
17389 eval "ac_cv_func_$ac_func=no"
17394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17395 echo "$ac_t""yes" 1>&6
17396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17397 cat >> confdefs.h <<EOF
17398 #define $ac_tr_func 1
17402 echo "$ac_t""no" 1>&6
17408 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
17409 echo "configure:17410: checking for _ldexpl declaration" >&5
17410 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
17411 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
17412 echo $ac_n "(cached) $ac_c" 1>&6
17417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17418 ac_cpp='$CXXCPP $CPPFLAGS'
17419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17421 cross_compiling=$ac_cv_prog_cxx_cross
17423 cat > conftest.$ac_ext <<EOF
17424 #line 17425 "configure"
17425 #include "confdefs.h"
17431 if { (eval echo configure:17432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17433 glibcpp_cv_func__ldexpl_use=yes
17435 echo "configure: failed program was:" >&5
17436 cat conftest.$ac_ext >&5
17438 glibcpp_cv_func__ldexpl_use=no
17442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17443 ac_cpp='$CPP $CPPFLAGS'
17444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17446 cross_compiling=$ac_cv_prog_cc_cross
17452 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
17454 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
17455 for ac_func in _ldexpl
17457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17458 echo "configure:17459: checking for $ac_func" >&5
17459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17460 echo $ac_n "(cached) $ac_c" 1>&6
17462 cat > conftest.$ac_ext <<EOF
17463 #line 17464 "configure"
17464 #include "confdefs.h"
17465 /* System header to define __stub macros and hopefully few prototypes,
17466 which can conflict with char $ac_func(); below. */
17467 #include <assert.h>
17468 /* Override any gcc2 internal prototype to avoid an error. */
17469 /* We use char because int might match the return type of a gcc2
17470 builtin and then its argument prototype would still apply. */
17475 /* The GNU C library defines this for functions which it implements
17476 to always fail with ENOSYS. Some functions are actually named
17477 something starting with __ and the normal name is an alias. */
17478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17486 if { (eval echo configure:17487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17488 eval "ac_cv_func_$ac_func=yes"
17490 echo "configure: failed program was:" >&5
17491 cat conftest.$ac_ext >&5
17493 eval "ac_cv_func_$ac_func=no"
17498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17499 echo "$ac_t""yes" 1>&6
17500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17501 cat >> confdefs.h <<EOF
17502 #define $ac_tr_func 1
17506 echo "$ac_t""no" 1>&6
17515 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
17516 echo "configure:17517: checking for logl declaration" >&5
17517 if test x${glibcpp_cv_func_logl_use+set} != xset; then
17518 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
17519 echo $ac_n "(cached) $ac_c" 1>&6
17524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17525 ac_cpp='$CXXCPP $CPPFLAGS'
17526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17528 cross_compiling=$ac_cv_prog_cxx_cross
17530 cat > conftest.$ac_ext <<EOF
17531 #line 17532 "configure"
17532 #include "confdefs.h"
17534 #ifdef HAVE_IEEEFP_H
17535 #include <ieeefp.h>
17542 if { (eval echo configure:17543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17544 glibcpp_cv_func_logl_use=yes
17546 echo "configure: failed program was:" >&5
17547 cat conftest.$ac_ext >&5
17549 glibcpp_cv_func_logl_use=no
17553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17554 ac_cpp='$CPP $CPPFLAGS'
17555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17557 cross_compiling=$ac_cv_prog_cc_cross
17563 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
17565 if test x$glibcpp_cv_func_logl_use = x"yes"; then
17566 for ac_func in logl
17568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17569 echo "configure:17570: checking for $ac_func" >&5
17570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17571 echo $ac_n "(cached) $ac_c" 1>&6
17573 cat > conftest.$ac_ext <<EOF
17574 #line 17575 "configure"
17575 #include "confdefs.h"
17576 /* System header to define __stub macros and hopefully few prototypes,
17577 which can conflict with char $ac_func(); below. */
17578 #include <assert.h>
17579 /* Override any gcc2 internal prototype to avoid an error. */
17580 /* We use char because int might match the return type of a gcc2
17581 builtin and then its argument prototype would still apply. */
17586 /* The GNU C library defines this for functions which it implements
17587 to always fail with ENOSYS. Some functions are actually named
17588 something starting with __ and the normal name is an alias. */
17589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17597 if { (eval echo configure:17598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17599 eval "ac_cv_func_$ac_func=yes"
17601 echo "configure: failed program was:" >&5
17602 cat conftest.$ac_ext >&5
17604 eval "ac_cv_func_$ac_func=no"
17609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17610 echo "$ac_t""yes" 1>&6
17611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17612 cat >> confdefs.h <<EOF
17613 #define $ac_tr_func 1
17617 echo "$ac_t""no" 1>&6
17623 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
17624 echo "configure:17625: checking for _logl declaration" >&5
17625 if test x${glibcpp_cv_func__logl_use+set} != xset; then
17626 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
17627 echo $ac_n "(cached) $ac_c" 1>&6
17632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17633 ac_cpp='$CXXCPP $CPPFLAGS'
17634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17636 cross_compiling=$ac_cv_prog_cxx_cross
17638 cat > conftest.$ac_ext <<EOF
17639 #line 17640 "configure"
17640 #include "confdefs.h"
17642 #ifdef HAVE_IEEEFP_H
17643 #include <ieeefp.h>
17650 if { (eval echo configure:17651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17652 glibcpp_cv_func__logl_use=yes
17654 echo "configure: failed program was:" >&5
17655 cat conftest.$ac_ext >&5
17657 glibcpp_cv_func__logl_use=no
17661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17662 ac_cpp='$CPP $CPPFLAGS'
17663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17665 cross_compiling=$ac_cv_prog_cc_cross
17671 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
17673 if test x$glibcpp_cv_func__logl_use = x"yes"; then
17674 for ac_func in _logl
17676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17677 echo "configure:17678: checking for $ac_func" >&5
17678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17679 echo $ac_n "(cached) $ac_c" 1>&6
17681 cat > conftest.$ac_ext <<EOF
17682 #line 17683 "configure"
17683 #include "confdefs.h"
17684 /* System header to define __stub macros and hopefully few prototypes,
17685 which can conflict with char $ac_func(); below. */
17686 #include <assert.h>
17687 /* Override any gcc2 internal prototype to avoid an error. */
17688 /* We use char because int might match the return type of a gcc2
17689 builtin and then its argument prototype would still apply. */
17694 /* The GNU C library defines this for functions which it implements
17695 to always fail with ENOSYS. Some functions are actually named
17696 something starting with __ and the normal name is an alias. */
17697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17705 if { (eval echo configure:17706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17707 eval "ac_cv_func_$ac_func=yes"
17709 echo "configure: failed program was:" >&5
17710 cat conftest.$ac_ext >&5
17712 eval "ac_cv_func_$ac_func=no"
17717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17718 echo "$ac_t""yes" 1>&6
17719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17720 cat >> confdefs.h <<EOF
17721 #define $ac_tr_func 1
17725 echo "$ac_t""no" 1>&6
17734 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
17735 echo "configure:17736: checking for log10l declaration" >&5
17736 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
17737 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
17738 echo $ac_n "(cached) $ac_c" 1>&6
17743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17744 ac_cpp='$CXXCPP $CPPFLAGS'
17745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17747 cross_compiling=$ac_cv_prog_cxx_cross
17749 cat > conftest.$ac_ext <<EOF
17750 #line 17751 "configure"
17751 #include "confdefs.h"
17753 #ifdef HAVE_IEEEFP_H
17754 #include <ieeefp.h>
17761 if { (eval echo configure:17762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17763 glibcpp_cv_func_log10l_use=yes
17765 echo "configure: failed program was:" >&5
17766 cat conftest.$ac_ext >&5
17768 glibcpp_cv_func_log10l_use=no
17772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17773 ac_cpp='$CPP $CPPFLAGS'
17774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17776 cross_compiling=$ac_cv_prog_cc_cross
17782 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
17784 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
17785 for ac_func in log10l
17787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17788 echo "configure:17789: checking for $ac_func" >&5
17789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17790 echo $ac_n "(cached) $ac_c" 1>&6
17792 cat > conftest.$ac_ext <<EOF
17793 #line 17794 "configure"
17794 #include "confdefs.h"
17795 /* System header to define __stub macros and hopefully few prototypes,
17796 which can conflict with char $ac_func(); below. */
17797 #include <assert.h>
17798 /* Override any gcc2 internal prototype to avoid an error. */
17799 /* We use char because int might match the return type of a gcc2
17800 builtin and then its argument prototype would still apply. */
17805 /* The GNU C library defines this for functions which it implements
17806 to always fail with ENOSYS. Some functions are actually named
17807 something starting with __ and the normal name is an alias. */
17808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17816 if { (eval echo configure:17817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17818 eval "ac_cv_func_$ac_func=yes"
17820 echo "configure: failed program was:" >&5
17821 cat conftest.$ac_ext >&5
17823 eval "ac_cv_func_$ac_func=no"
17828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17829 echo "$ac_t""yes" 1>&6
17830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17831 cat >> confdefs.h <<EOF
17832 #define $ac_tr_func 1
17836 echo "$ac_t""no" 1>&6
17842 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
17843 echo "configure:17844: checking for _log10l declaration" >&5
17844 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
17845 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
17846 echo $ac_n "(cached) $ac_c" 1>&6
17851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17852 ac_cpp='$CXXCPP $CPPFLAGS'
17853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17855 cross_compiling=$ac_cv_prog_cxx_cross
17857 cat > conftest.$ac_ext <<EOF
17858 #line 17859 "configure"
17859 #include "confdefs.h"
17861 #ifdef HAVE_IEEEFP_H
17862 #include <ieeefp.h>
17869 if { (eval echo configure:17870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17871 glibcpp_cv_func__log10l_use=yes
17873 echo "configure: failed program was:" >&5
17874 cat conftest.$ac_ext >&5
17876 glibcpp_cv_func__log10l_use=no
17880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17884 cross_compiling=$ac_cv_prog_cc_cross
17890 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17892 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17893 for ac_func in _log10l
17895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17896 echo "configure:17897: checking for $ac_func" >&5
17897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17898 echo $ac_n "(cached) $ac_c" 1>&6
17900 cat > conftest.$ac_ext <<EOF
17901 #line 17902 "configure"
17902 #include "confdefs.h"
17903 /* System header to define __stub macros and hopefully few prototypes,
17904 which can conflict with char $ac_func(); below. */
17905 #include <assert.h>
17906 /* Override any gcc2 internal prototype to avoid an error. */
17907 /* We use char because int might match the return type of a gcc2
17908 builtin and then its argument prototype would still apply. */
17913 /* The GNU C library defines this for functions which it implements
17914 to always fail with ENOSYS. Some functions are actually named
17915 something starting with __ and the normal name is an alias. */
17916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17924 if { (eval echo configure:17925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17926 eval "ac_cv_func_$ac_func=yes"
17928 echo "configure: failed program was:" >&5
17929 cat conftest.$ac_ext >&5
17931 eval "ac_cv_func_$ac_func=no"
17936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17937 echo "$ac_t""yes" 1>&6
17938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17939 cat >> confdefs.h <<EOF
17940 #define $ac_tr_func 1
17944 echo "$ac_t""no" 1>&6
17953 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17954 echo "configure:17955: checking for modfl declaration" >&5
17955 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17956 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17957 echo $ac_n "(cached) $ac_c" 1>&6
17962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17963 ac_cpp='$CXXCPP $CPPFLAGS'
17964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17966 cross_compiling=$ac_cv_prog_cxx_cross
17968 cat > conftest.$ac_ext <<EOF
17969 #line 17970 "configure"
17970 #include "confdefs.h"
17976 if { (eval echo configure:17977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17978 glibcpp_cv_func_modfl_use=yes
17980 echo "configure: failed program was:" >&5
17981 cat conftest.$ac_ext >&5
17983 glibcpp_cv_func_modfl_use=no
17987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17988 ac_cpp='$CPP $CPPFLAGS'
17989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17991 cross_compiling=$ac_cv_prog_cc_cross
17997 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17999 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18000 for ac_func in modfl
18002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18003 echo "configure:18004: checking for $ac_func" >&5
18004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18005 echo $ac_n "(cached) $ac_c" 1>&6
18007 cat > conftest.$ac_ext <<EOF
18008 #line 18009 "configure"
18009 #include "confdefs.h"
18010 /* System header to define __stub macros and hopefully few prototypes,
18011 which can conflict with char $ac_func(); below. */
18012 #include <assert.h>
18013 /* Override any gcc2 internal prototype to avoid an error. */
18014 /* We use char because int might match the return type of a gcc2
18015 builtin and then its argument prototype would still apply. */
18020 /* The GNU C library defines this for functions which it implements
18021 to always fail with ENOSYS. Some functions are actually named
18022 something starting with __ and the normal name is an alias. */
18023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18031 if { (eval echo configure:18032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18033 eval "ac_cv_func_$ac_func=yes"
18035 echo "configure: failed program was:" >&5
18036 cat conftest.$ac_ext >&5
18038 eval "ac_cv_func_$ac_func=no"
18043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18044 echo "$ac_t""yes" 1>&6
18045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18046 cat >> confdefs.h <<EOF
18047 #define $ac_tr_func 1
18051 echo "$ac_t""no" 1>&6
18057 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18058 echo "configure:18059: checking for _modfl declaration" >&5
18059 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18060 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18061 echo $ac_n "(cached) $ac_c" 1>&6
18066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18067 ac_cpp='$CXXCPP $CPPFLAGS'
18068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18070 cross_compiling=$ac_cv_prog_cxx_cross
18072 cat > conftest.$ac_ext <<EOF
18073 #line 18074 "configure"
18074 #include "confdefs.h"
18080 if { (eval echo configure:18081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18082 glibcpp_cv_func__modfl_use=yes
18084 echo "configure: failed program was:" >&5
18085 cat conftest.$ac_ext >&5
18087 glibcpp_cv_func__modfl_use=no
18091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18092 ac_cpp='$CPP $CPPFLAGS'
18093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18095 cross_compiling=$ac_cv_prog_cc_cross
18101 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18103 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
18104 for ac_func in _modfl
18106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18107 echo "configure:18108: checking for $ac_func" >&5
18108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18109 echo $ac_n "(cached) $ac_c" 1>&6
18111 cat > conftest.$ac_ext <<EOF
18112 #line 18113 "configure"
18113 #include "confdefs.h"
18114 /* System header to define __stub macros and hopefully few prototypes,
18115 which can conflict with char $ac_func(); below. */
18116 #include <assert.h>
18117 /* Override any gcc2 internal prototype to avoid an error. */
18118 /* We use char because int might match the return type of a gcc2
18119 builtin and then its argument prototype would still apply. */
18124 /* The GNU C library defines this for functions which it implements
18125 to always fail with ENOSYS. Some functions are actually named
18126 something starting with __ and the normal name is an alias. */
18127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18135 if { (eval echo configure:18136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18137 eval "ac_cv_func_$ac_func=yes"
18139 echo "configure: failed program was:" >&5
18140 cat conftest.$ac_ext >&5
18142 eval "ac_cv_func_$ac_func=no"
18147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18148 echo "$ac_t""yes" 1>&6
18149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18150 cat >> confdefs.h <<EOF
18151 #define $ac_tr_func 1
18155 echo "$ac_t""no" 1>&6
18164 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
18165 echo "configure:18166: checking for powl declaration" >&5
18166 if test x${glibcpp_cv_func_powl_use+set} != xset; then
18167 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
18168 echo $ac_n "(cached) $ac_c" 1>&6
18173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18177 cross_compiling=$ac_cv_prog_cxx_cross
18179 cat > conftest.$ac_ext <<EOF
18180 #line 18181 "configure"
18181 #include "confdefs.h"
18187 if { (eval echo configure:18188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18189 glibcpp_cv_func_powl_use=yes
18191 echo "configure: failed program was:" >&5
18192 cat conftest.$ac_ext >&5
18194 glibcpp_cv_func_powl_use=no
18198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18199 ac_cpp='$CPP $CPPFLAGS'
18200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18202 cross_compiling=$ac_cv_prog_cc_cross
18208 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
18210 if test x$glibcpp_cv_func_powl_use = x"yes"; then
18211 for ac_func in powl
18213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18214 echo "configure:18215: checking for $ac_func" >&5
18215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18216 echo $ac_n "(cached) $ac_c" 1>&6
18218 cat > conftest.$ac_ext <<EOF
18219 #line 18220 "configure"
18220 #include "confdefs.h"
18221 /* System header to define __stub macros and hopefully few prototypes,
18222 which can conflict with char $ac_func(); below. */
18223 #include <assert.h>
18224 /* Override any gcc2 internal prototype to avoid an error. */
18225 /* We use char because int might match the return type of a gcc2
18226 builtin and then its argument prototype would still apply. */
18231 /* The GNU C library defines this for functions which it implements
18232 to always fail with ENOSYS. Some functions are actually named
18233 something starting with __ and the normal name is an alias. */
18234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18242 if { (eval echo configure:18243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18244 eval "ac_cv_func_$ac_func=yes"
18246 echo "configure: failed program was:" >&5
18247 cat conftest.$ac_ext >&5
18249 eval "ac_cv_func_$ac_func=no"
18254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18255 echo "$ac_t""yes" 1>&6
18256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18257 cat >> confdefs.h <<EOF
18258 #define $ac_tr_func 1
18262 echo "$ac_t""no" 1>&6
18268 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
18269 echo "configure:18270: checking for _powl declaration" >&5
18270 if test x${glibcpp_cv_func__powl_use+set} != xset; then
18271 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
18272 echo $ac_n "(cached) $ac_c" 1>&6
18277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18278 ac_cpp='$CXXCPP $CPPFLAGS'
18279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18281 cross_compiling=$ac_cv_prog_cxx_cross
18283 cat > conftest.$ac_ext <<EOF
18284 #line 18285 "configure"
18285 #include "confdefs.h"
18291 if { (eval echo configure:18292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18293 glibcpp_cv_func__powl_use=yes
18295 echo "configure: failed program was:" >&5
18296 cat conftest.$ac_ext >&5
18298 glibcpp_cv_func__powl_use=no
18302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18303 ac_cpp='$CPP $CPPFLAGS'
18304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18306 cross_compiling=$ac_cv_prog_cc_cross
18312 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
18314 if test x$glibcpp_cv_func__powl_use = x"yes"; then
18315 for ac_func in _powl
18317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18318 echo "configure:18319: checking for $ac_func" >&5
18319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18320 echo $ac_n "(cached) $ac_c" 1>&6
18322 cat > conftest.$ac_ext <<EOF
18323 #line 18324 "configure"
18324 #include "confdefs.h"
18325 /* System header to define __stub macros and hopefully few prototypes,
18326 which can conflict with char $ac_func(); below. */
18327 #include <assert.h>
18328 /* Override any gcc2 internal prototype to avoid an error. */
18329 /* We use char because int might match the return type of a gcc2
18330 builtin and then its argument prototype would still apply. */
18335 /* The GNU C library defines this for functions which it implements
18336 to always fail with ENOSYS. Some functions are actually named
18337 something starting with __ and the normal name is an alias. */
18338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18346 if { (eval echo configure:18347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18348 eval "ac_cv_func_$ac_func=yes"
18350 echo "configure: failed program was:" >&5
18351 cat conftest.$ac_ext >&5
18353 eval "ac_cv_func_$ac_func=no"
18358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18359 echo "$ac_t""yes" 1>&6
18360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18361 cat >> confdefs.h <<EOF
18362 #define $ac_tr_func 1
18366 echo "$ac_t""no" 1>&6
18375 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
18376 echo "configure:18377: checking for sqrtl declaration" >&5
18377 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
18378 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
18379 echo $ac_n "(cached) $ac_c" 1>&6
18384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18385 ac_cpp='$CXXCPP $CPPFLAGS'
18386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18388 cross_compiling=$ac_cv_prog_cxx_cross
18390 cat > conftest.$ac_ext <<EOF
18391 #line 18392 "configure"
18392 #include "confdefs.h"
18394 #ifdef HAVE_IEEEFP_H
18395 #include <ieeefp.h>
18402 if { (eval echo configure:18403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18404 glibcpp_cv_func_sqrtl_use=yes
18406 echo "configure: failed program was:" >&5
18407 cat conftest.$ac_ext >&5
18409 glibcpp_cv_func_sqrtl_use=no
18413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18414 ac_cpp='$CPP $CPPFLAGS'
18415 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18416 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18417 cross_compiling=$ac_cv_prog_cc_cross
18423 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
18425 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
18426 for ac_func in sqrtl
18428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18429 echo "configure:18430: checking for $ac_func" >&5
18430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18431 echo $ac_n "(cached) $ac_c" 1>&6
18433 cat > conftest.$ac_ext <<EOF
18434 #line 18435 "configure"
18435 #include "confdefs.h"
18436 /* System header to define __stub macros and hopefully few prototypes,
18437 which can conflict with char $ac_func(); below. */
18438 #include <assert.h>
18439 /* Override any gcc2 internal prototype to avoid an error. */
18440 /* We use char because int might match the return type of a gcc2
18441 builtin and then its argument prototype would still apply. */
18446 /* The GNU C library defines this for functions which it implements
18447 to always fail with ENOSYS. Some functions are actually named
18448 something starting with __ and the normal name is an alias. */
18449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18457 if { (eval echo configure:18458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18459 eval "ac_cv_func_$ac_func=yes"
18461 echo "configure: failed program was:" >&5
18462 cat conftest.$ac_ext >&5
18464 eval "ac_cv_func_$ac_func=no"
18469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18470 echo "$ac_t""yes" 1>&6
18471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18472 cat >> confdefs.h <<EOF
18473 #define $ac_tr_func 1
18477 echo "$ac_t""no" 1>&6
18483 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
18484 echo "configure:18485: checking for _sqrtl declaration" >&5
18485 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
18486 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
18487 echo $ac_n "(cached) $ac_c" 1>&6
18492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18493 ac_cpp='$CXXCPP $CPPFLAGS'
18494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18496 cross_compiling=$ac_cv_prog_cxx_cross
18498 cat > conftest.$ac_ext <<EOF
18499 #line 18500 "configure"
18500 #include "confdefs.h"
18502 #ifdef HAVE_IEEEFP_H
18503 #include <ieeefp.h>
18510 if { (eval echo configure:18511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18512 glibcpp_cv_func__sqrtl_use=yes
18514 echo "configure: failed program was:" >&5
18515 cat conftest.$ac_ext >&5
18517 glibcpp_cv_func__sqrtl_use=no
18521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18525 cross_compiling=$ac_cv_prog_cc_cross
18531 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
18533 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
18534 for ac_func in _sqrtl
18536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18537 echo "configure:18538: checking for $ac_func" >&5
18538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18539 echo $ac_n "(cached) $ac_c" 1>&6
18541 cat > conftest.$ac_ext <<EOF
18542 #line 18543 "configure"
18543 #include "confdefs.h"
18544 /* System header to define __stub macros and hopefully few prototypes,
18545 which can conflict with char $ac_func(); below. */
18546 #include <assert.h>
18547 /* Override any gcc2 internal prototype to avoid an error. */
18548 /* We use char because int might match the return type of a gcc2
18549 builtin and then its argument prototype would still apply. */
18554 /* The GNU C library defines this for functions which it implements
18555 to always fail with ENOSYS. Some functions are actually named
18556 something starting with __ and the normal name is an alias. */
18557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18565 if { (eval echo configure:18566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18567 eval "ac_cv_func_$ac_func=yes"
18569 echo "configure: failed program was:" >&5
18570 cat conftest.$ac_ext >&5
18572 eval "ac_cv_func_$ac_func=no"
18577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18578 echo "$ac_t""yes" 1>&6
18579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18580 cat >> confdefs.h <<EOF
18581 #define $ac_tr_func 1
18585 echo "$ac_t""no" 1>&6
18594 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
18595 echo "configure:18596: checking for sincosl declaration" >&5
18596 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
18597 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
18598 echo $ac_n "(cached) $ac_c" 1>&6
18603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18604 ac_cpp='$CXXCPP $CPPFLAGS'
18605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18607 cross_compiling=$ac_cv_prog_cxx_cross
18609 cat > conftest.$ac_ext <<EOF
18610 #line 18611 "configure"
18611 #include "confdefs.h"
18617 if { (eval echo configure:18618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18619 glibcpp_cv_func_sincosl_use=yes
18621 echo "configure: failed program was:" >&5
18622 cat conftest.$ac_ext >&5
18624 glibcpp_cv_func_sincosl_use=no
18628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18629 ac_cpp='$CPP $CPPFLAGS'
18630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18632 cross_compiling=$ac_cv_prog_cc_cross
18638 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
18640 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
18641 for ac_func in sincosl
18643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18644 echo "configure:18645: checking for $ac_func" >&5
18645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18646 echo $ac_n "(cached) $ac_c" 1>&6
18648 cat > conftest.$ac_ext <<EOF
18649 #line 18650 "configure"
18650 #include "confdefs.h"
18651 /* System header to define __stub macros and hopefully few prototypes,
18652 which can conflict with char $ac_func(); below. */
18653 #include <assert.h>
18654 /* Override any gcc2 internal prototype to avoid an error. */
18655 /* We use char because int might match the return type of a gcc2
18656 builtin and then its argument prototype would still apply. */
18661 /* The GNU C library defines this for functions which it implements
18662 to always fail with ENOSYS. Some functions are actually named
18663 something starting with __ and the normal name is an alias. */
18664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18672 if { (eval echo configure:18673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18674 eval "ac_cv_func_$ac_func=yes"
18676 echo "configure: failed program was:" >&5
18677 cat conftest.$ac_ext >&5
18679 eval "ac_cv_func_$ac_func=no"
18684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18685 echo "$ac_t""yes" 1>&6
18686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18687 cat >> confdefs.h <<EOF
18688 #define $ac_tr_func 1
18692 echo "$ac_t""no" 1>&6
18698 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
18699 echo "configure:18700: checking for _sincosl declaration" >&5
18700 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
18701 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
18702 echo $ac_n "(cached) $ac_c" 1>&6
18707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18708 ac_cpp='$CXXCPP $CPPFLAGS'
18709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18711 cross_compiling=$ac_cv_prog_cxx_cross
18713 cat > conftest.$ac_ext <<EOF
18714 #line 18715 "configure"
18715 #include "confdefs.h"
18721 if { (eval echo configure:18722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18723 glibcpp_cv_func__sincosl_use=yes
18725 echo "configure: failed program was:" >&5
18726 cat conftest.$ac_ext >&5
18728 glibcpp_cv_func__sincosl_use=no
18732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18733 ac_cpp='$CPP $CPPFLAGS'
18734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18736 cross_compiling=$ac_cv_prog_cc_cross
18742 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
18744 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
18745 for ac_func in _sincosl
18747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18748 echo "configure:18749: checking for $ac_func" >&5
18749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18750 echo $ac_n "(cached) $ac_c" 1>&6
18752 cat > conftest.$ac_ext <<EOF
18753 #line 18754 "configure"
18754 #include "confdefs.h"
18755 /* System header to define __stub macros and hopefully few prototypes,
18756 which can conflict with char $ac_func(); below. */
18757 #include <assert.h>
18758 /* Override any gcc2 internal prototype to avoid an error. */
18759 /* We use char because int might match the return type of a gcc2
18760 builtin and then its argument prototype would still apply. */
18765 /* The GNU C library defines this for functions which it implements
18766 to always fail with ENOSYS. Some functions are actually named
18767 something starting with __ and the normal name is an alias. */
18768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18776 if { (eval echo configure:18777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18778 eval "ac_cv_func_$ac_func=yes"
18780 echo "configure: failed program was:" >&5
18781 cat conftest.$ac_ext >&5
18783 eval "ac_cv_func_$ac_func=no"
18788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18789 echo "$ac_t""yes" 1>&6
18790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18791 cat >> confdefs.h <<EOF
18792 #define $ac_tr_func 1
18796 echo "$ac_t""no" 1>&6
18805 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
18806 echo "configure:18807: checking for finitel declaration" >&5
18807 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
18808 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
18809 echo $ac_n "(cached) $ac_c" 1>&6
18814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18815 ac_cpp='$CXXCPP $CPPFLAGS'
18816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18818 cross_compiling=$ac_cv_prog_cxx_cross
18820 cat > conftest.$ac_ext <<EOF
18821 #line 18822 "configure"
18822 #include "confdefs.h"
18824 #ifdef HAVE_IEEEFP_H
18825 #include <ieeefp.h>
18832 if { (eval echo configure:18833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18834 glibcpp_cv_func_finitel_use=yes
18836 echo "configure: failed program was:" >&5
18837 cat conftest.$ac_ext >&5
18839 glibcpp_cv_func_finitel_use=no
18843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18844 ac_cpp='$CPP $CPPFLAGS'
18845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18847 cross_compiling=$ac_cv_prog_cc_cross
18853 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
18855 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
18856 for ac_func in finitel
18858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18859 echo "configure:18860: checking for $ac_func" >&5
18860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18861 echo $ac_n "(cached) $ac_c" 1>&6
18863 cat > conftest.$ac_ext <<EOF
18864 #line 18865 "configure"
18865 #include "confdefs.h"
18866 /* System header to define __stub macros and hopefully few prototypes,
18867 which can conflict with char $ac_func(); below. */
18868 #include <assert.h>
18869 /* Override any gcc2 internal prototype to avoid an error. */
18870 /* We use char because int might match the return type of a gcc2
18871 builtin and then its argument prototype would still apply. */
18876 /* The GNU C library defines this for functions which it implements
18877 to always fail with ENOSYS. Some functions are actually named
18878 something starting with __ and the normal name is an alias. */
18879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18887 if { (eval echo configure:18888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18889 eval "ac_cv_func_$ac_func=yes"
18891 echo "configure: failed program was:" >&5
18892 cat conftest.$ac_ext >&5
18894 eval "ac_cv_func_$ac_func=no"
18899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18900 echo "$ac_t""yes" 1>&6
18901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18902 cat >> confdefs.h <<EOF
18903 #define $ac_tr_func 1
18907 echo "$ac_t""no" 1>&6
18913 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18914 echo "configure:18915: checking for _finitel declaration" >&5
18915 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18916 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18917 echo $ac_n "(cached) $ac_c" 1>&6
18922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18923 ac_cpp='$CXXCPP $CPPFLAGS'
18924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18926 cross_compiling=$ac_cv_prog_cxx_cross
18928 cat > conftest.$ac_ext <<EOF
18929 #line 18930 "configure"
18930 #include "confdefs.h"
18932 #ifdef HAVE_IEEEFP_H
18933 #include <ieeefp.h>
18940 if { (eval echo configure:18941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18942 glibcpp_cv_func__finitel_use=yes
18944 echo "configure: failed program was:" >&5
18945 cat conftest.$ac_ext >&5
18947 glibcpp_cv_func__finitel_use=no
18951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18952 ac_cpp='$CPP $CPPFLAGS'
18953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18955 cross_compiling=$ac_cv_prog_cc_cross
18961 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18963 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18964 for ac_func in _finitel
18966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18967 echo "configure:18968: checking for $ac_func" >&5
18968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18969 echo $ac_n "(cached) $ac_c" 1>&6
18971 cat > conftest.$ac_ext <<EOF
18972 #line 18973 "configure"
18973 #include "confdefs.h"
18974 /* System header to define __stub macros and hopefully few prototypes,
18975 which can conflict with char $ac_func(); below. */
18976 #include <assert.h>
18977 /* Override any gcc2 internal prototype to avoid an error. */
18978 /* We use char because int might match the return type of a gcc2
18979 builtin and then its argument prototype would still apply. */
18984 /* The GNU C library defines this for functions which it implements
18985 to always fail with ENOSYS. Some functions are actually named
18986 something starting with __ and the normal name is an alias. */
18987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18995 if { (eval echo configure:18996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18997 eval "ac_cv_func_$ac_func=yes"
18999 echo "configure: failed program was:" >&5
19000 cat conftest.$ac_ext >&5
19002 eval "ac_cv_func_$ac_func=no"
19007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19008 echo "$ac_t""yes" 1>&6
19009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19010 cat >> confdefs.h <<EOF
19011 #define $ac_tr_func 1
19015 echo "$ac_t""no" 1>&6
19025 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19026 echo "configure:19027: checking for _float trig functions" >&5
19027 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19028 echo $ac_n "(cached) $ac_c" 1>&6
19033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19034 ac_cpp='$CXXCPP $CPPFLAGS'
19035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19037 cross_compiling=$ac_cv_prog_cxx_cross
19039 cat > conftest.$ac_ext <<EOF
19040 #line 19041 "configure"
19041 #include "confdefs.h"
19044 `for x in _acosf _asinf _atanf \
19045 _cosf _sinf _tanf \
19046 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19049 if { (eval echo configure:19050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19051 glibcpp_cv_func__float_trig_use=yes
19053 echo "configure: failed program was:" >&5
19054 cat conftest.$ac_ext >&5
19056 glibcpp_cv_func__float_trig_use=no
19060 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19061 ac_cpp='$CPP $CPPFLAGS'
19062 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19063 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19064 cross_compiling=$ac_cv_prog_cc_cross
19068 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19069 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19070 for ac_func in _acosf _asinf _atanf \
19071 _cosf _sinf _tanf \
19072 _coshf _sinhf _tanhf
19074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19075 echo "configure:19076: checking for $ac_func" >&5
19076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19077 echo $ac_n "(cached) $ac_c" 1>&6
19079 cat > conftest.$ac_ext <<EOF
19080 #line 19081 "configure"
19081 #include "confdefs.h"
19082 /* System header to define __stub macros and hopefully few prototypes,
19083 which can conflict with char $ac_func(); below. */
19084 #include <assert.h>
19085 /* Override any gcc2 internal prototype to avoid an error. */
19086 /* We use char because int might match the return type of a gcc2
19087 builtin and then its argument prototype would still apply. */
19092 /* The GNU C library defines this for functions which it implements
19093 to always fail with ENOSYS. Some functions are actually named
19094 something starting with __ and the normal name is an alias. */
19095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19103 if { (eval echo configure:19104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19105 eval "ac_cv_func_$ac_func=yes"
19107 echo "configure: failed program was:" >&5
19108 cat conftest.$ac_ext >&5
19110 eval "ac_cv_func_$ac_func=no"
19115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19116 echo "$ac_t""yes" 1>&6
19117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19118 cat >> confdefs.h <<EOF
19119 #define $ac_tr_func 1
19123 echo "$ac_t""no" 1>&6
19130 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
19131 echo "configure:19132: checking for _float round functions" >&5
19132 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
19133 echo $ac_n "(cached) $ac_c" 1>&6
19138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19139 ac_cpp='$CXXCPP $CPPFLAGS'
19140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19142 cross_compiling=$ac_cv_prog_cxx_cross
19144 cat > conftest.$ac_ext <<EOF
19145 #line 19146 "configure"
19146 #include "confdefs.h"
19149 `for x in _ceilf _floorf; do echo "$x (0);"; done`
19152 if { (eval echo configure:19153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19154 glibcpp_cv_func__float_round_use=yes
19156 echo "configure: failed program was:" >&5
19157 cat conftest.$ac_ext >&5
19159 glibcpp_cv_func__float_round_use=no
19163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19164 ac_cpp='$CPP $CPPFLAGS'
19165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19167 cross_compiling=$ac_cv_prog_cc_cross
19171 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
19172 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
19173 for ac_func in _ceilf _floorf
19175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19176 echo "configure:19177: checking for $ac_func" >&5
19177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19178 echo $ac_n "(cached) $ac_c" 1>&6
19180 cat > conftest.$ac_ext <<EOF
19181 #line 19182 "configure"
19182 #include "confdefs.h"
19183 /* System header to define __stub macros and hopefully few prototypes,
19184 which can conflict with char $ac_func(); below. */
19185 #include <assert.h>
19186 /* Override any gcc2 internal prototype to avoid an error. */
19187 /* We use char because int might match the return type of a gcc2
19188 builtin and then its argument prototype would still apply. */
19193 /* The GNU C library defines this for functions which it implements
19194 to always fail with ENOSYS. Some functions are actually named
19195 something starting with __ and the normal name is an alias. */
19196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19204 if { (eval echo configure:19205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19206 eval "ac_cv_func_$ac_func=yes"
19208 echo "configure: failed program was:" >&5
19209 cat conftest.$ac_ext >&5
19211 eval "ac_cv_func_$ac_func=no"
19216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19217 echo "$ac_t""yes" 1>&6
19218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19219 cat >> confdefs.h <<EOF
19220 #define $ac_tr_func 1
19224 echo "$ac_t""no" 1>&6
19232 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
19233 echo "configure:19234: checking for _long double trig functions" >&5
19234 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
19235 echo $ac_n "(cached) $ac_c" 1>&6
19240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19241 ac_cpp='$CXXCPP $CPPFLAGS'
19242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19244 cross_compiling=$ac_cv_prog_cxx_cross
19246 cat > conftest.$ac_ext <<EOF
19247 #line 19248 "configure"
19248 #include "confdefs.h"
19251 `for x in _acosl _asinl _atanl \
19252 _cosl _sinl _tanl \
19253 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
19256 if { (eval echo configure:19257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19258 glibcpp_cv_func__long_double_trig_use=yes
19260 echo "configure: failed program was:" >&5
19261 cat conftest.$ac_ext >&5
19263 glibcpp_cv_func__long_double_trig_use=no
19267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19268 ac_cpp='$CPP $CPPFLAGS'
19269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19271 cross_compiling=$ac_cv_prog_cc_cross
19275 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
19276 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
19277 for ac_func in _acosl _asinl _atanl \
19278 _cosl _sinl _tanl \
19279 _coshl _sinhl _tanhl
19281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19282 echo "configure:19283: checking for $ac_func" >&5
19283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19284 echo $ac_n "(cached) $ac_c" 1>&6
19286 cat > conftest.$ac_ext <<EOF
19287 #line 19288 "configure"
19288 #include "confdefs.h"
19289 /* System header to define __stub macros and hopefully few prototypes,
19290 which can conflict with char $ac_func(); below. */
19291 #include <assert.h>
19292 /* Override any gcc2 internal prototype to avoid an error. */
19293 /* We use char because int might match the return type of a gcc2
19294 builtin and then its argument prototype would still apply. */
19299 /* The GNU C library defines this for functions which it implements
19300 to always fail with ENOSYS. Some functions are actually named
19301 something starting with __ and the normal name is an alias. */
19302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19310 if { (eval echo configure:19311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19312 eval "ac_cv_func_$ac_func=yes"
19314 echo "configure: failed program was:" >&5
19315 cat conftest.$ac_ext >&5
19317 eval "ac_cv_func_$ac_func=no"
19322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19323 echo "$ac_t""yes" 1>&6
19324 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19325 cat >> confdefs.h <<EOF
19326 #define $ac_tr_func 1
19330 echo "$ac_t""no" 1>&6
19337 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
19338 echo "configure:19339: checking for _long double round functions" >&5
19339 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
19340 echo $ac_n "(cached) $ac_c" 1>&6
19345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19346 ac_cpp='$CXXCPP $CPPFLAGS'
19347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19349 cross_compiling=$ac_cv_prog_cxx_cross
19351 cat > conftest.$ac_ext <<EOF
19352 #line 19353 "configure"
19353 #include "confdefs.h"
19356 `for x in _ceill _floorl; do echo "$x (0);"; done`
19359 if { (eval echo configure:19360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19361 glibcpp_cv_func__long_double_round_use=yes
19363 echo "configure: failed program was:" >&5
19364 cat conftest.$ac_ext >&5
19366 glibcpp_cv_func__long_double_round_use=no
19370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19371 ac_cpp='$CPP $CPPFLAGS'
19372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19374 cross_compiling=$ac_cv_prog_cc_cross
19378 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
19379 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
19380 for ac_func in _ceill _floorl
19382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19383 echo "configure:19384: checking for $ac_func" >&5
19384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19385 echo $ac_n "(cached) $ac_c" 1>&6
19387 cat > conftest.$ac_ext <<EOF
19388 #line 19389 "configure"
19389 #include "confdefs.h"
19390 /* System header to define __stub macros and hopefully few prototypes,
19391 which can conflict with char $ac_func(); below. */
19392 #include <assert.h>
19393 /* Override any gcc2 internal prototype to avoid an error. */
19394 /* We use char because int might match the return type of a gcc2
19395 builtin and then its argument prototype would still apply. */
19400 /* The GNU C library defines this for functions which it implements
19401 to always fail with ENOSYS. Some functions are actually named
19402 something starting with __ and the normal name is an alias. */
19403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19411 if { (eval echo configure:19412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19413 eval "ac_cv_func_$ac_func=yes"
19415 echo "configure: failed program was:" >&5
19416 cat conftest.$ac_ext >&5
19418 eval "ac_cv_func_$ac_func=no"
19423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19424 echo "$ac_t""yes" 1>&6
19425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19426 cat >> confdefs.h <<EOF
19427 #define $ac_tr_func 1
19431 echo "$ac_t""no" 1>&6
19438 LIBS="$ac_save_LIBS"
19439 CXXFLAGS="$ac_save_CXXFLAGS"
19442 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
19443 echo "configure:19444: checking for main in -lm" >&5
19444 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
19445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19446 echo $ac_n "(cached) $ac_c" 1>&6
19448 ac_save_LIBS="$LIBS"
19450 cat > conftest.$ac_ext <<EOF
19451 #line 19452 "configure"
19452 #include "confdefs.h"
19458 if { (eval echo configure:19459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19460 eval "ac_cv_lib_$ac_lib_var=yes"
19462 echo "configure: failed program was:" >&5
19463 cat conftest.$ac_ext >&5
19465 eval "ac_cv_lib_$ac_lib_var=no"
19468 LIBS="$ac_save_LIBS"
19471 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19472 echo "$ac_t""yes" 1>&6
19473 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19474 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19475 cat >> confdefs.h <<EOF
19476 #define $ac_tr_lib 1
19482 echo "$ac_t""no" 1>&6
19485 for ac_func in nan copysignf
19487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19488 echo "configure:19489: checking for $ac_func" >&5
19489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19490 echo $ac_n "(cached) $ac_c" 1>&6
19492 cat > conftest.$ac_ext <<EOF
19493 #line 19494 "configure"
19494 #include "confdefs.h"
19495 /* System header to define __stub macros and hopefully few prototypes,
19496 which can conflict with char $ac_func(); below. */
19497 #include <assert.h>
19498 /* Override any gcc2 internal prototype to avoid an error. */
19499 /* We use char because int might match the return type of a gcc2
19500 builtin and then its argument prototype would still apply. */
19505 /* The GNU C library defines this for functions which it implements
19506 to always fail with ENOSYS. Some functions are actually named
19507 something starting with __ and the normal name is an alias. */
19508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19516 if { (eval echo configure:19517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19518 eval "ac_cv_func_$ac_func=yes"
19520 echo "configure: failed program was:" >&5
19521 cat conftest.$ac_ext >&5
19523 eval "ac_cv_func_$ac_func=no"
19528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19529 echo "$ac_t""yes" 1>&6
19530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19531 cat >> confdefs.h <<EOF
19532 #define $ac_tr_func 1
19536 echo "$ac_t""no" 1>&6
19537 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
19542 for ac_func in __signbit
19544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19545 echo "configure:19546: checking for $ac_func" >&5
19546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19547 echo $ac_n "(cached) $ac_c" 1>&6
19549 cat > conftest.$ac_ext <<EOF
19550 #line 19551 "configure"
19551 #include "confdefs.h"
19552 /* System header to define __stub macros and hopefully few prototypes,
19553 which can conflict with char $ac_func(); below. */
19554 #include <assert.h>
19555 /* Override any gcc2 internal prototype to avoid an error. */
19556 /* We use char because int might match the return type of a gcc2
19557 builtin and then its argument prototype would still apply. */
19562 /* The GNU C library defines this for functions which it implements
19563 to always fail with ENOSYS. Some functions are actually named
19564 something starting with __ and the normal name is an alias. */
19565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19573 if { (eval echo configure:19574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19575 eval "ac_cv_func_$ac_func=yes"
19577 echo "configure: failed program was:" >&5
19578 cat conftest.$ac_ext >&5
19580 eval "ac_cv_func_$ac_func=no"
19585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19586 echo "$ac_t""yes" 1>&6
19587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19588 cat >> confdefs.h <<EOF
19589 #define $ac_tr_func 1
19593 echo "$ac_t""no" 1>&6
19594 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
19598 for ac_func in __signbitf
19600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19601 echo "configure:19602: checking for $ac_func" >&5
19602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19603 echo $ac_n "(cached) $ac_c" 1>&6
19605 cat > conftest.$ac_ext <<EOF
19606 #line 19607 "configure"
19607 #include "confdefs.h"
19608 /* System header to define __stub macros and hopefully few prototypes,
19609 which can conflict with char $ac_func(); below. */
19610 #include <assert.h>
19611 /* Override any gcc2 internal prototype to avoid an error. */
19612 /* We use char because int might match the return type of a gcc2
19613 builtin and then its argument prototype would still apply. */
19618 /* The GNU C library defines this for functions which it implements
19619 to always fail with ENOSYS. Some functions are actually named
19620 something starting with __ and the normal name is an alias. */
19621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19629 if { (eval echo configure:19630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19631 eval "ac_cv_func_$ac_func=yes"
19633 echo "configure: failed program was:" >&5
19634 cat conftest.$ac_ext >&5
19636 eval "ac_cv_func_$ac_func=no"
19641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19642 echo "$ac_t""yes" 1>&6
19643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19644 cat >> confdefs.h <<EOF
19645 #define $ac_tr_func 1
19649 echo "$ac_t""no" 1>&6
19650 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
19655 if test x$ac_cv_func_copysignl = x"yes"; then
19656 for ac_func in __signbitl
19658 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19659 echo "configure:19660: checking for $ac_func" >&5
19660 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19661 echo $ac_n "(cached) $ac_c" 1>&6
19663 cat > conftest.$ac_ext <<EOF
19664 #line 19665 "configure"
19665 #include "confdefs.h"
19666 /* System header to define __stub macros and hopefully few prototypes,
19667 which can conflict with char $ac_func(); below. */
19668 #include <assert.h>
19669 /* Override any gcc2 internal prototype to avoid an error. */
19670 /* We use char because int might match the return type of a gcc2
19671 builtin and then its argument prototype would still apply. */
19676 /* The GNU C library defines this for functions which it implements
19677 to always fail with ENOSYS. Some functions are actually named
19678 something starting with __ and the normal name is an alias. */
19679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19687 if { (eval echo configure:19688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19689 eval "ac_cv_func_$ac_func=yes"
19691 echo "configure: failed program was:" >&5
19692 cat conftest.$ac_ext >&5
19694 eval "ac_cv_func_$ac_func=no"
19699 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19700 echo "$ac_t""yes" 1>&6
19701 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19702 cat >> confdefs.h <<EOF
19703 #define $ac_tr_func 1
19707 echo "$ac_t""no" 1>&6
19708 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
19718 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
19719 echo "configure:19720: checking for mbstate_t" >&5
19720 cat > conftest.$ac_ext <<EOF
19721 #line 19722 "configure"
19722 #include "confdefs.h"
19725 mbstate_t teststate;
19728 if { (eval echo configure:19729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19732 echo "configure: failed program was:" >&5
19733 cat conftest.$ac_ext >&5
19738 echo "$ac_t""$have_mbstate_t" 1>&6
19739 if test x"$have_mbstate_t" = xyes; then
19740 cat >> confdefs.h <<\EOF
19741 #define HAVE_MBSTATE_T 1
19746 for ac_hdr in wchar.h
19748 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19749 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19750 echo "configure:19751: checking for $ac_hdr" >&5
19751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19752 echo $ac_n "(cached) $ac_c" 1>&6
19754 cat > conftest.$ac_ext <<EOF
19755 #line 19756 "configure"
19756 #include "confdefs.h"
19759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19760 { (eval echo configure:19761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19762 if test -z "$ac_err"; then
19764 eval "ac_cv_header_$ac_safe=yes"
19767 echo "configure: failed program was:" >&5
19768 cat conftest.$ac_ext >&5
19770 eval "ac_cv_header_$ac_safe=no"
19774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19775 echo "$ac_t""yes" 1>&6
19776 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19777 cat >> confdefs.h <<EOF
19778 #define $ac_tr_hdr 1
19782 echo "$ac_t""no" 1>&6
19787 for ac_hdr in wctype.h
19789 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19790 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19791 echo "configure:19792: checking for $ac_hdr" >&5
19792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19793 echo $ac_n "(cached) $ac_c" 1>&6
19795 cat > conftest.$ac_ext <<EOF
19796 #line 19797 "configure"
19797 #include "confdefs.h"
19800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19801 { (eval echo configure:19802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19803 if test -z "$ac_err"; then
19805 eval "ac_cv_header_$ac_safe=yes"
19808 echo "configure: failed program was:" >&5
19809 cat conftest.$ac_ext >&5
19811 eval "ac_cv_header_$ac_safe=no"
19815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19816 echo "$ac_t""yes" 1>&6
19817 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19818 cat >> confdefs.h <<EOF
19819 #define $ac_tr_hdr 1
19821 ac_has_wctype_h=yes
19823 echo "$ac_t""no" 1>&6
19829 if test x"$ac_has_wchar_h" = xyes &&
19830 test x"$ac_has_wctype_h" = xyes &&
19831 test x"$enable_c_mbchar" != xno; then
19833 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
19834 echo "configure:19835: checking for WCHAR_MIN and WCHAR_MAX" >&5
19835 cat > conftest.$ac_ext <<EOF
19836 #line 19837 "configure"
19837 #include "confdefs.h"
19840 int i = WCHAR_MIN; int j = WCHAR_MAX;
19843 if { (eval echo configure:19844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19845 has_wchar_minmax=yes
19847 echo "configure: failed program was:" >&5
19848 cat conftest.$ac_ext >&5
19850 has_wchar_minmax=no
19853 echo "$ac_t""$has_wchar_minmax" 1>&6
19855 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
19856 echo "configure:19857: checking for WEOF" >&5
19857 cat > conftest.$ac_ext <<EOF
19858 #line 19859 "configure"
19859 #include "confdefs.h"
19862 #include <stddef.h>
19867 if { (eval echo configure:19868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19871 echo "configure: failed program was:" >&5
19872 cat conftest.$ac_ext >&5
19877 echo "$ac_t""$has_weof" 1>&6
19880 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
19882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19883 echo "configure:19884: checking for $ac_func" >&5
19884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19885 echo $ac_n "(cached) $ac_c" 1>&6
19887 cat > conftest.$ac_ext <<EOF
19888 #line 19889 "configure"
19889 #include "confdefs.h"
19890 /* System header to define __stub macros and hopefully few prototypes,
19891 which can conflict with char $ac_func(); below. */
19892 #include <assert.h>
19893 /* Override any gcc2 internal prototype to avoid an error. */
19894 /* We use char because int might match the return type of a gcc2
19895 builtin and then its argument prototype would still apply. */
19900 /* The GNU C library defines this for functions which it implements
19901 to always fail with ENOSYS. Some functions are actually named
19902 something starting with __ and the normal name is an alias. */
19903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19911 if { (eval echo configure:19912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19913 eval "ac_cv_func_$ac_func=yes"
19915 echo "configure: failed program was:" >&5
19916 cat conftest.$ac_ext >&5
19918 eval "ac_cv_func_$ac_func=no"
19923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19924 echo "$ac_t""yes" 1>&6
19925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19926 cat >> confdefs.h <<EOF
19927 #define $ac_tr_func 1
19931 echo "$ac_t""no" 1>&6
19938 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
19939 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
19940 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
19941 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
19942 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
19943 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
19945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19946 echo "configure:19947: checking for $ac_func" >&5
19947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19948 echo $ac_n "(cached) $ac_c" 1>&6
19950 cat > conftest.$ac_ext <<EOF
19951 #line 19952 "configure"
19952 #include "confdefs.h"
19953 /* System header to define __stub macros and hopefully few prototypes,
19954 which can conflict with char $ac_func(); below. */
19955 #include <assert.h>
19956 /* Override any gcc2 internal prototype to avoid an error. */
19957 /* We use char because int might match the return type of a gcc2
19958 builtin and then its argument prototype would still apply. */
19963 /* The GNU C library defines this for functions which it implements
19964 to always fail with ENOSYS. Some functions are actually named
19965 something starting with __ and the normal name is an alias. */
19966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19974 if { (eval echo configure:19975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19976 eval "ac_cv_func_$ac_func=yes"
19978 echo "configure: failed program was:" >&5
19979 cat conftest.$ac_ext >&5
19981 eval "ac_cv_func_$ac_func=no"
19986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19987 echo "$ac_t""yes" 1>&6
19988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19989 cat >> confdefs.h <<EOF
19990 #define $ac_tr_func 1
19994 echo "$ac_t""no" 1>&6
20001 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20002 echo "configure:20003: checking for ISO C99 wchar_t support" >&5
20003 if test x"$has_weof" = xyes &&
20004 test x"$has_wchar_minmax" = xyes &&
20005 test x"$ac_wfuncs" = xyes; then
20006 ac_isoC99_wchar_t=yes
20008 ac_isoC99_wchar_t=no
20010 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20012 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20013 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20014 echo "configure:20015: checking for iconv.h" >&5
20015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20016 echo $ac_n "(cached) $ac_c" 1>&6
20018 cat > conftest.$ac_ext <<EOF
20019 #line 20020 "configure"
20020 #include "confdefs.h"
20023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20024 { (eval echo configure:20025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20026 if test -z "$ac_err"; then
20028 eval "ac_cv_header_$ac_safe=yes"
20031 echo "configure: failed program was:" >&5
20032 cat conftest.$ac_ext >&5
20034 eval "ac_cv_header_$ac_safe=no"
20038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20039 echo "$ac_t""yes" 1>&6
20042 echo "$ac_t""no" 1>&6
20046 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20047 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20048 echo "configure:20049: checking for langinfo.h" >&5
20049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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 #include <langinfo.h>
20057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20058 { (eval echo configure:20059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20060 if test -z "$ac_err"; then
20062 eval "ac_cv_header_$ac_safe=yes"
20065 echo "configure: failed program was:" >&5
20066 cat conftest.$ac_ext >&5
20068 eval "ac_cv_header_$ac_safe=no"
20072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20073 echo "$ac_t""yes" 1>&6
20074 ac_has_langinfo_h=yes
20076 echo "$ac_t""no" 1>&6
20077 ac_has_langinfo_h=no
20081 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20082 echo "configure:20083: checking for iconv in -liconv" >&5
20083 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20084 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20085 echo $ac_n "(cached) $ac_c" 1>&6
20087 ac_save_LIBS="$LIBS"
20088 LIBS="-liconv $LIBS"
20089 cat > conftest.$ac_ext <<EOF
20090 #line 20091 "configure"
20091 #include "confdefs.h"
20092 /* Override any gcc2 internal prototype to avoid an error. */
20093 /* We use char because int might match the return type of a gcc2
20094 builtin and then its argument prototype would still apply. */
20101 if { (eval echo configure:20102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20103 eval "ac_cv_lib_$ac_lib_var=yes"
20105 echo "configure: failed program was:" >&5
20106 cat conftest.$ac_ext >&5
20108 eval "ac_cv_lib_$ac_lib_var=no"
20111 LIBS="$ac_save_LIBS"
20114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20115 echo "$ac_t""yes" 1>&6
20118 echo "$ac_t""no" 1>&6
20121 ac_save_LIBS="$LIBS"
20122 LIBS="$LIBS $libiconv"
20124 for ac_func in iconv_open iconv_close iconv nl_langinfo
20126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20127 echo "configure:20128: checking for $ac_func" >&5
20128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20129 echo $ac_n "(cached) $ac_c" 1>&6
20131 cat > conftest.$ac_ext <<EOF
20132 #line 20133 "configure"
20133 #include "confdefs.h"
20134 /* System header to define __stub macros and hopefully few prototypes,
20135 which can conflict with char $ac_func(); below. */
20136 #include <assert.h>
20137 /* Override any gcc2 internal prototype to avoid an error. */
20138 /* We use char because int might match the return type of a gcc2
20139 builtin and then its argument prototype would still apply. */
20144 /* The GNU C library defines this for functions which it implements
20145 to always fail with ENOSYS. Some functions are actually named
20146 something starting with __ and the normal name is an alias. */
20147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20155 if { (eval echo configure:20156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20157 eval "ac_cv_func_$ac_func=yes"
20159 echo "configure: failed program was:" >&5
20160 cat conftest.$ac_ext >&5
20162 eval "ac_cv_func_$ac_func=no"
20167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20168 echo "$ac_t""yes" 1>&6
20169 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20170 cat >> confdefs.h <<EOF
20171 #define $ac_tr_func 1
20176 echo "$ac_t""no" 1>&6
20182 LIBS="$ac_save_LIBS"
20184 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
20185 echo "configure:20186: checking for XPG2 wchar_t support" >&5
20186 if test x"$ac_has_iconv_h" = xyes &&
20187 test x"$ac_has_langinfo_h" = xyes &&
20188 test x"$ac_XPG2funcs" = xyes; then
20189 ac_XPG2_wchar_t=yes
20193 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
20195 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
20196 echo "configure:20197: checking for enabled wchar_t specializations" >&5
20197 if test x"$ac_isoC99_wchar_t" = xyes &&
20198 test x"$ac_XPG2_wchar_t" = xyes; then
20199 cat >> confdefs.h <<\EOF
20200 #define _GLIBCPP_USE_WCHAR_T 1
20203 echo "$ac_t"""yes"" 1>&6
20205 echo "$ac_t"""no"" 1>&6
20208 echo "configure: warning: wchar_t support disabled." 1>&2
20212 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20213 ac_save_CXXFLAGS="$CXXFLAGS"
20214 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
20217 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
20218 echo "configure:20219: checking for strtold declaration" >&5
20219 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
20220 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
20221 echo $ac_n "(cached) $ac_c" 1>&6
20226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20227 ac_cpp='$CXXCPP $CPPFLAGS'
20228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20230 cross_compiling=$ac_cv_prog_cxx_cross
20232 cat > conftest.$ac_ext <<EOF
20233 #line 20234 "configure"
20234 #include "confdefs.h"
20235 #include <stdlib.h>
20240 if { (eval echo configure:20241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20242 glibcpp_cv_func_strtold_use=yes
20244 echo "configure: failed program was:" >&5
20245 cat conftest.$ac_ext >&5
20247 glibcpp_cv_func_strtold_use=no
20251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20252 ac_cpp='$CPP $CPPFLAGS'
20253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20255 cross_compiling=$ac_cv_prog_cc_cross
20261 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
20262 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
20263 for ac_func in strtold
20265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20266 echo "configure:20267: checking for $ac_func" >&5
20267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20268 echo $ac_n "(cached) $ac_c" 1>&6
20270 cat > conftest.$ac_ext <<EOF
20271 #line 20272 "configure"
20272 #include "confdefs.h"
20273 /* System header to define __stub macros and hopefully few prototypes,
20274 which can conflict with char $ac_func(); below. */
20275 #include <assert.h>
20276 /* Override any gcc2 internal prototype to avoid an error. */
20277 /* We use char because int might match the return type of a gcc2
20278 builtin and then its argument prototype would still apply. */
20283 /* The GNU C library defines this for functions which it implements
20284 to always fail with ENOSYS. Some functions are actually named
20285 something starting with __ and the normal name is an alias. */
20286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20294 if { (eval echo configure:20295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20296 eval "ac_cv_func_$ac_func=yes"
20298 echo "configure: failed program was:" >&5
20299 cat conftest.$ac_ext >&5
20301 eval "ac_cv_func_$ac_func=no"
20306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20307 echo "$ac_t""yes" 1>&6
20308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20309 cat >> confdefs.h <<EOF
20310 #define $ac_tr_func 1
20314 echo "$ac_t""no" 1>&6
20321 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
20322 echo "configure:20323: checking for strtof declaration" >&5
20323 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
20324 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
20325 echo $ac_n "(cached) $ac_c" 1>&6
20330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20331 ac_cpp='$CXXCPP $CPPFLAGS'
20332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20334 cross_compiling=$ac_cv_prog_cxx_cross
20336 cat > conftest.$ac_ext <<EOF
20337 #line 20338 "configure"
20338 #include "confdefs.h"
20339 #include <stdlib.h>
20344 if { (eval echo configure:20345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20346 glibcpp_cv_func_strtof_use=yes
20348 echo "configure: failed program was:" >&5
20349 cat conftest.$ac_ext >&5
20351 glibcpp_cv_func_strtof_use=no
20355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20356 ac_cpp='$CPP $CPPFLAGS'
20357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20359 cross_compiling=$ac_cv_prog_cc_cross
20365 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
20366 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
20367 for ac_func in strtof
20369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20370 echo "configure:20371: checking for $ac_func" >&5
20371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20372 echo $ac_n "(cached) $ac_c" 1>&6
20374 cat > conftest.$ac_ext <<EOF
20375 #line 20376 "configure"
20376 #include "confdefs.h"
20377 /* System header to define __stub macros and hopefully few prototypes,
20378 which can conflict with char $ac_func(); below. */
20379 #include <assert.h>
20380 /* Override any gcc2 internal prototype to avoid an error. */
20381 /* We use char because int might match the return type of a gcc2
20382 builtin and then its argument prototype would still apply. */
20387 /* The GNU C library defines this for functions which it implements
20388 to always fail with ENOSYS. Some functions are actually named
20389 something starting with __ and the normal name is an alias. */
20390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20398 if { (eval echo configure:20399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20400 eval "ac_cv_func_$ac_func=yes"
20402 echo "configure: failed program was:" >&5
20403 cat conftest.$ac_ext >&5
20405 eval "ac_cv_func_$ac_func=no"
20410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20411 echo "$ac_t""yes" 1>&6
20412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20413 cat >> confdefs.h <<EOF
20414 #define $ac_tr_func 1
20418 echo "$ac_t""no" 1>&6
20424 for ac_func in drand48
20426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20427 echo "configure:20428: checking for $ac_func" >&5
20428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20429 echo $ac_n "(cached) $ac_c" 1>&6
20431 cat > conftest.$ac_ext <<EOF
20432 #line 20433 "configure"
20433 #include "confdefs.h"
20434 /* System header to define __stub macros and hopefully few prototypes,
20435 which can conflict with char $ac_func(); below. */
20436 #include <assert.h>
20437 /* Override any gcc2 internal prototype to avoid an error. */
20438 /* We use char because int might match the return type of a gcc2
20439 builtin and then its argument prototype would still apply. */
20444 /* The GNU C library defines this for functions which it implements
20445 to always fail with ENOSYS. Some functions are actually named
20446 something starting with __ and the normal name is an alias. */
20447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20455 if { (eval echo configure:20456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20457 eval "ac_cv_func_$ac_func=yes"
20459 echo "configure: failed program was:" >&5
20460 cat conftest.$ac_ext >&5
20462 eval "ac_cv_func_$ac_func=no"
20467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20468 echo "$ac_t""yes" 1>&6
20469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20470 cat >> confdefs.h <<EOF
20471 #define $ac_tr_func 1
20475 echo "$ac_t""no" 1>&6
20480 CXXFLAGS="$ac_save_CXXFLAGS"
20483 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
20484 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
20485 echo "configure:20486: checking for locale.h" >&5
20486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20487 echo $ac_n "(cached) $ac_c" 1>&6
20489 cat > conftest.$ac_ext <<EOF
20490 #line 20491 "configure"
20491 #include "confdefs.h"
20492 #include <locale.h>
20494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20495 { (eval echo configure:20496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20497 if test -z "$ac_err"; then
20499 eval "ac_cv_header_$ac_safe=yes"
20502 echo "configure: failed program was:" >&5
20503 cat conftest.$ac_ext >&5
20505 eval "ac_cv_header_$ac_safe=no"
20509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20510 echo "$ac_t""yes" 1>&6
20512 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
20513 echo "configure:20514: checking for LC_MESSAGES" >&5
20514 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
20515 echo $ac_n "(cached) $ac_c" 1>&6
20517 cat > conftest.$ac_ext <<EOF
20518 #line 20519 "configure"
20519 #include "confdefs.h"
20520 #include <locale.h>
20525 if { (eval echo configure:20526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20527 ac_cv_val_LC_MESSAGES=yes
20529 echo "configure: failed program was:" >&5
20530 cat conftest.$ac_ext >&5
20532 ac_cv_val_LC_MESSAGES=no
20537 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
20538 if test $ac_cv_val_LC_MESSAGES = yes; then
20539 cat >> confdefs.h <<\EOF
20540 #define HAVE_LC_MESSAGES 1
20546 echo "$ac_t""no" 1>&6
20551 cat > conftest.$ac_ext <<EOF
20552 #line 20553 "configure"
20553 #include "confdefs.h"
20555 #include <setjmp.h>
20558 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20561 if { (eval echo configure:20562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20563 cat >> confdefs.h <<\EOF
20564 #define HAVE_SIGSETJMP 1
20569 echo "configure: failed program was:" >&5
20570 cat conftest.$ac_ext >&5
20574 for ac_hdr in unistd.h
20576 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20577 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20578 echo "configure:20579: checking for $ac_hdr" >&5
20579 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20580 echo $ac_n "(cached) $ac_c" 1>&6
20582 cat > conftest.$ac_ext <<EOF
20583 #line 20584 "configure"
20584 #include "confdefs.h"
20587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20588 { (eval echo configure:20589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20590 if test -z "$ac_err"; then
20592 eval "ac_cv_header_$ac_safe=yes"
20595 echo "configure: failed program was:" >&5
20596 cat conftest.$ac_ext >&5
20598 eval "ac_cv_header_$ac_safe=no"
20602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20603 echo "$ac_t""yes" 1>&6
20604 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20605 cat >> confdefs.h <<EOF
20606 #define $ac_tr_hdr 1
20610 echo "$ac_t""no" 1>&6
20614 for ac_func in getpagesize
20616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20617 echo "configure:20618: checking for $ac_func" >&5
20618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20619 echo $ac_n "(cached) $ac_c" 1>&6
20621 cat > conftest.$ac_ext <<EOF
20622 #line 20623 "configure"
20623 #include "confdefs.h"
20624 /* System header to define __stub macros and hopefully few prototypes,
20625 which can conflict with char $ac_func(); below. */
20626 #include <assert.h>
20627 /* Override any gcc2 internal prototype to avoid an error. */
20628 /* We use char because int might match the return type of a gcc2
20629 builtin and then its argument prototype would still apply. */
20634 /* The GNU C library defines this for functions which it implements
20635 to always fail with ENOSYS. Some functions are actually named
20636 something starting with __ and the normal name is an alias. */
20637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20645 if { (eval echo configure:20646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20647 eval "ac_cv_func_$ac_func=yes"
20649 echo "configure: failed program was:" >&5
20650 cat conftest.$ac_ext >&5
20652 eval "ac_cv_func_$ac_func=no"
20657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20658 echo "$ac_t""yes" 1>&6
20659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20660 cat >> confdefs.h <<EOF
20661 #define $ac_tr_func 1
20665 echo "$ac_t""no" 1>&6
20669 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
20670 echo "configure:20671: checking for working mmap" >&5
20671 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
20672 echo $ac_n "(cached) $ac_c" 1>&6
20674 if test "$cross_compiling" = yes; then
20675 ac_cv_func_mmap_fixed_mapped=no
20677 cat > conftest.$ac_ext <<EOF
20678 #line 20679 "configure"
20679 #include "confdefs.h"
20681 /* Thanks to Mike Haertel and Jim Avera for this test.
20682 Here is a matrix of mmap possibilities:
20683 mmap private not fixed
20684 mmap private fixed at somewhere currently unmapped
20685 mmap private fixed at somewhere already mapped
20686 mmap shared not fixed
20687 mmap shared fixed at somewhere currently unmapped
20688 mmap shared fixed at somewhere already mapped
20689 For private mappings, we should verify that changes cannot be read()
20690 back from the file, nor mmap's back from the file at a different
20691 address. (There have been systems where private was not correctly
20692 implemented like the infamous i386 svr4.0, and systems where the
20693 VM page cache was not coherent with the filesystem buffer cache
20694 like early versions of FreeBSD and possibly contemporary NetBSD.)
20695 For shared mappings, we should conversely verify that changes get
20696 propogated back to all the places they're supposed to be.
20698 Grep wants private fixed already mapped.
20699 The main things grep needs to know about mmap are:
20700 * does it exist and is it safe to write into the mmap'd area
20701 * how to use it (BSD variants) */
20702 #include <sys/types.h>
20704 #include <sys/mman.h>
20706 /* This mess was copied from the GNU getpagesize.h. */
20707 #ifndef HAVE_GETPAGESIZE
20708 # ifdef HAVE_UNISTD_H
20709 # include <unistd.h>
20712 /* Assume that all systems that can run configure have sys/param.h. */
20713 # ifndef HAVE_SYS_PARAM_H
20714 # define HAVE_SYS_PARAM_H 1
20717 # ifdef _SC_PAGESIZE
20718 # define getpagesize() sysconf(_SC_PAGESIZE)
20719 # else /* no _SC_PAGESIZE */
20720 # ifdef HAVE_SYS_PARAM_H
20721 # include <sys/param.h>
20722 # ifdef EXEC_PAGESIZE
20723 # define getpagesize() EXEC_PAGESIZE
20724 # else /* no EXEC_PAGESIZE */
20726 # define getpagesize() NBPG * CLSIZE
20729 # endif /* no CLSIZE */
20730 # else /* no NBPG */
20732 # define getpagesize() NBPC
20733 # else /* no NBPC */
20735 # define getpagesize() PAGESIZE
20736 # endif /* PAGESIZE */
20737 # endif /* no NBPC */
20738 # endif /* no NBPG */
20739 # endif /* no EXEC_PAGESIZE */
20740 # else /* no HAVE_SYS_PARAM_H */
20741 # define getpagesize() 8192 /* punt totally */
20742 # endif /* no HAVE_SYS_PARAM_H */
20743 # endif /* no _SC_PAGESIZE */
20745 #endif /* no HAVE_GETPAGESIZE */
20748 extern "C" { void *malloc(unsigned); }
20756 char *data, *data2, *data3;
20760 pagesize = getpagesize();
20763 * First, make a file with some known garbage in it.
20765 data = malloc(pagesize);
20768 for (i = 0; i < pagesize; ++i)
20769 *(data + i) = rand();
20771 fd = creat("conftestmmap", 0600);
20774 if (write(fd, data, pagesize) != pagesize)
20779 * Next, try to mmap the file at a fixed address which
20780 * already has something else allocated at it. If we can,
20781 * also make sure that we see the same garbage.
20783 fd = open("conftestmmap", O_RDWR);
20786 data2 = malloc(2 * pagesize);
20789 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
20790 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
20791 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20793 for (i = 0; i < pagesize; ++i)
20794 if (*(data + i) != *(data2 + i))
20798 * Finally, make sure that changes to the mapped area
20799 * do not percolate back to the file as seen by read().
20800 * (This is a bug on some variants of i386 svr4.0.)
20802 for (i = 0; i < pagesize; ++i)
20803 *(data2 + i) = *(data2 + i) + 1;
20804 data3 = malloc(pagesize);
20807 if (read(fd, data3, pagesize) != pagesize)
20809 for (i = 0; i < pagesize; ++i)
20810 if (*(data + i) != *(data3 + i))
20813 unlink("conftestmmap");
20818 if { (eval echo configure:20819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
20820 ac_cv_func_mmap_fixed_mapped=yes
20822 echo "configure: failed program was:" >&5
20823 cat conftest.$ac_ext >&5
20825 ac_cv_func_mmap_fixed_mapped=no
20832 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
20833 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20834 cat >> confdefs.h <<\EOF
20835 #define HAVE_MMAP 1
20841 # Establish limits on memory usage during 'make check'
20844 setrlimit_have_headers=yes
20845 for ac_hdr in sys/resource.h unistd.h
20847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20849 echo "configure:20850: checking for $ac_hdr" >&5
20850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20851 echo $ac_n "(cached) $ac_c" 1>&6
20853 cat > conftest.$ac_ext <<EOF
20854 #line 20855 "configure"
20855 #include "confdefs.h"
20858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20859 { (eval echo configure:20860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20861 if test -z "$ac_err"; then
20863 eval "ac_cv_header_$ac_safe=yes"
20866 echo "configure: failed program was:" >&5
20867 cat conftest.$ac_ext >&5
20869 eval "ac_cv_header_$ac_safe=no"
20873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20874 echo "$ac_t""yes" 1>&6
20875 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20876 cat >> confdefs.h <<EOF
20877 #define $ac_tr_hdr 1
20881 echo "$ac_t""no" 1>&6
20882 setrlimit_have_headers=no
20886 # If don't have the headers, then we can't run the tests now, and we
20887 # won't be seeing any of these during testsuite compilation.
20888 if test $setrlimit_have_headers = yes; then
20889 # Can't do these in a loop, else the resulting syntax is wrong.
20891 cat > conftest.$ac_ext <<EOF
20892 #line 20893 "configure"
20893 #include "confdefs.h"
20894 #include <sys/resource.h>
20895 #include <unistd.h>
20898 int f = RLIMIT_DATA ;
20901 if { (eval echo configure:20902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20905 echo "configure: failed program was:" >&5
20906 cat conftest.$ac_ext >&5
20911 cat >> confdefs.h <<EOF
20912 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
20917 cat > conftest.$ac_ext <<EOF
20918 #line 20919 "configure"
20919 #include "confdefs.h"
20920 #include <sys/resource.h>
20921 #include <unistd.h>
20924 int f = RLIMIT_RSS ;
20927 if { (eval echo configure:20928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20931 echo "configure: failed program was:" >&5
20932 cat conftest.$ac_ext >&5
20937 cat >> confdefs.h <<EOF
20938 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
20943 cat > conftest.$ac_ext <<EOF
20944 #line 20945 "configure"
20945 #include "confdefs.h"
20946 #include <sys/resource.h>
20947 #include <unistd.h>
20950 int f = RLIMIT_VMEM ;
20953 if { (eval echo configure:20954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20957 echo "configure: failed program was:" >&5
20958 cat conftest.$ac_ext >&5
20963 cat >> confdefs.h <<EOF
20964 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20969 cat > conftest.$ac_ext <<EOF
20970 #line 20971 "configure"
20971 #include "confdefs.h"
20972 #include <sys/resource.h>
20973 #include <unistd.h>
20976 int f = RLIMIT_AS ;
20979 if { (eval echo configure:20980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20983 echo "configure: failed program was:" >&5
20984 cat conftest.$ac_ext >&5
20989 cat >> confdefs.h <<EOF
20990 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20995 # Check for rlimit, setrlimit.
20996 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20997 echo $ac_n "(cached) $ac_c" 1>&6
21000 cat > conftest.$ac_ext <<EOF
21001 #line 21002 "configure"
21002 #include "confdefs.h"
21003 #include <sys/resource.h>
21004 #include <unistd.h>
21007 struct rlimit r; setrlimit(0, &r);
21010 if { (eval echo configure:21011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21014 echo "configure: failed program was:" >&5
21015 cat conftest.$ac_ext >&5
21025 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21026 echo "configure:21027: checking for testsuite memory limit support" >&5
21027 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21029 cat >> confdefs.h <<\EOF
21030 #define _GLIBCPP_MEM_LIMITS 1
21036 echo "$ac_t""$ac_mem_limits" 1>&6
21039 # Look for setenv, so that extended locale tests can be performed.
21041 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21042 echo "configure:21043: checking for setenv declaration" >&5
21043 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21044 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21045 echo $ac_n "(cached) $ac_c" 1>&6
21050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21051 ac_cpp='$CXXCPP $CPPFLAGS'
21052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21054 cross_compiling=$ac_cv_prog_cxx_cross
21056 cat > conftest.$ac_ext <<EOF
21057 #line 21058 "configure"
21058 #include "confdefs.h"
21059 #include <stdlib.h>
21064 if { (eval echo configure:21065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21066 glibcpp_cv_func_setenv_use=yes
21068 echo "configure: failed program was:" >&5
21069 cat conftest.$ac_ext >&5
21071 glibcpp_cv_func_setenv_use=no
21075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21076 ac_cpp='$CPP $CPPFLAGS'
21077 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21078 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21079 cross_compiling=$ac_cv_prog_cc_cross
21085 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21086 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21087 for ac_func in setenv
21089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21090 echo "configure:21091: checking for $ac_func" >&5
21091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21092 echo $ac_n "(cached) $ac_c" 1>&6
21094 cat > conftest.$ac_ext <<EOF
21095 #line 21096 "configure"
21096 #include "confdefs.h"
21097 /* System header to define __stub macros and hopefully few prototypes,
21098 which can conflict with char $ac_func(); below. */
21099 #include <assert.h>
21100 /* Override any gcc2 internal prototype to avoid an error. */
21101 /* We use char because int might match the return type of a gcc2
21102 builtin and then its argument prototype would still apply. */
21107 /* The GNU C library defines this for functions which it implements
21108 to always fail with ENOSYS. Some functions are actually named
21109 something starting with __ and the normal name is an alias. */
21110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21118 if { (eval echo configure:21119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21120 eval "ac_cv_func_$ac_func=yes"
21122 echo "configure: failed program was:" >&5
21123 cat conftest.$ac_ext >&5
21125 eval "ac_cv_func_$ac_func=no"
21130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21131 echo "$ac_t""yes" 1>&6
21132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21133 cat >> confdefs.h <<EOF
21134 #define $ac_tr_func 1
21138 echo "$ac_t""no" 1>&6
21147 # This depends on the possibly-skipped linker test above.
21148 # Check whether --enable-symvers or --disable-symvers was given.
21149 if test "${enable_symvers+set}" = set; then
21150 enableval="$enable_symvers"
21151 case "$enableval" in
21152 yes) enable_symvers=yes ;;
21153 no) enable_symvers=no ;;
21154 # other names here, just as sanity checks
21155 #gnu|sun|etcetera) enable_symvers=$enableval ;;
21156 gnu) enable_symvers=$enableval ;;
21157 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
21163 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
21164 # don't know enough about $LD to do tricks...
21165 if test x$enable_shared = xno ||
21167 test x$glibcpp_gnu_ld_version = x; then
21171 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
21172 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
21173 echo "configure:21174: checking for shared libgcc" >&5
21174 ac_save_CFLAGS="$CFLAGS"
21176 cat > conftest.$ac_ext <<EOF
21177 #line 21178 "configure"
21178 #include "confdefs.h"
21184 if { (eval echo configure:21185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21186 glibcpp_shared_libgcc=yes
21188 echo "configure: failed program was:" >&5
21189 cat conftest.$ac_ext >&5
21191 glibcpp_shared_libgcc=no
21194 CFLAGS="$ac_save_CFLAGS"
21195 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
21197 # For GNU ld, we need at least this version. It's 2.12 in the same format
21198 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
21199 glibcpp_min_gnu_ld_version=21200
21201 # Check to see if unspecified "yes" value can win, given results
21203 if test $enable_symvers = yes ; then
21204 if test $with_gnu_ld = yes &&
21205 test $glibcpp_shared_libgcc = yes ;
21207 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
21210 ac_test_CFLAGS="${CFLAGS+set}"
21211 ac_save_CFLAGS="$CFLAGS"
21212 CFLAGS='-shared -Wl,--version-script,conftest.map'
21215 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
21217 cat > conftest.$ac_ext <<EOF
21218 #line 21219 "configure"
21219 #include "confdefs.h"
21225 if { (eval echo configure:21226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21229 echo "configure: failed program was:" >&5
21230 cat conftest.$ac_ext >&5
21233 if test "$ac_test_CFLAGS" = set; then
21234 CFLAGS="$ac_save_CFLAGS"
21236 # this is the suspicious part
21242 # just fail for now
21247 case $enable_symvers in
21249 LINKER_MAP=config/linker-map.dummy
21252 LINKER_MAP=config/linker-map.gnu
21259 if test $enable_symvers != no; then
21260 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
21261 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
21263 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
21264 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
21266 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
21267 echo "configure:21268: checking versioning on shared library symbols" >&5
21268 echo "$ac_t""$enable_symvers" 1>&6
21271 # Propagate the target-specific source directories through the build chain.
21272 OS_INC_SRCDIR=$os_include_dir/bits
21273 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
21274 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
21279 # Set up cross-compile flags
21283 if test "$CANADIAN" = yes; then
21291 cat > confcache <<\EOF
21292 # This file is a shell script that caches the results of configure
21293 # tests run on this system so they can be shared between configure
21294 # scripts and configure runs. It is not useful on other systems.
21295 # If it contains results you don't want to keep, you may remove or edit it.
21297 # By default, configure uses ./config.cache as the cache file,
21298 # creating it if it does not exist already. You can give configure
21299 # the --cache-file=FILE option to use a different cache file; that is
21300 # what configure does when it calls configure scripts in
21301 # subdirectories, so they share the cache.
21302 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21303 # config.status only pays attention to the cache file if you give it the
21304 # --recheck option to rerun configure.
21307 # The following way of writing the cache mishandles newlines in values,
21308 # but we know of no workaround that is simple, portable, and efficient.
21309 # So, don't put newlines in cache variables' values.
21310 # Ultrix sh set writes to stderr and can't be redirected directly,
21311 # and sets the high bit in the cache file unless we assign to the vars.
21313 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21315 # `set' does not quote correctly, so add quotes (double-quote substitution
21316 # turns \\\\ into \\, and sed turns \\ into \).
21318 -e "s/'/'\\\\''/g" \
21319 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21322 # `set' quotes correctly as required by POSIX, so do not add quotes.
21323 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21326 if cmp -s $cache_file confcache; then
21329 if test -w $cache_file; then
21330 echo "updating cache $cache_file"
21331 cat confcache > $cache_file
21333 echo "not updating unwritable cache $cache_file"
21339 if test "${multilib}" = "yes"; then
21340 multilib_arg="--enable-multilib"
21345 # Needed so that g++ can find the correct include subdir automatically.
21348 # Export all the install information
21350 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
21351 # exported correctly in GLIBCPP_CONFIGURE.
21352 glibcpp_toolexecdir=no
21353 glibcpp_toolexeclibdir=no
21354 glibcpp_prefixdir=${prefix}
21356 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
21357 echo "configure:21358: checking for interface version number" >&5
21358 libstdcxx_interface=$INTERFACE
21359 echo "$ac_t""$libstdcxx_interface" 1>&6
21361 # Process the option --with-gxx-include-dir=<path to include-files directory>
21362 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
21363 echo "configure:21364: checking for --with-gxx-include-dir" >&5
21364 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
21365 if test "${with_gxx_include_dir+set}" = set; then
21366 withval="$with_gxx_include_dir"
21367 case "${withval}" in
21369 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
21376 gxx_include_dir=${withval}
21383 echo "$ac_t""$gxx_include_dir" 1>&6
21385 # Process the option "--enable-version-specific-runtime-libs"
21386 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
21387 echo "configure:21388: checking for --enable-version-specific-runtime-libs" >&5
21388 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
21389 if test "${enable_version_specific_runtime_libs+set}" = set; then
21390 enableval="$enable_version_specific_runtime_libs"
21391 case "$enableval" in
21392 yes) version_specific_libs=yes ;;
21393 no) version_specific_libs=no ;;
21394 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
21397 version_specific_libs=no
21399 # Option set, now we can test it.
21400 echo "$ac_t""$version_specific_libs" 1>&6
21402 if test $version_specific_libs = yes; then
21403 # Need the gcc compiler version to know where to install libraries
21404 # and header files if --enable-version-specific-runtime-libs option
21406 gcc_version_trigger=${srcdir}/../gcc/version.c
21407 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
21408 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
21409 if test x"$gxx_include_dir" = x"no"; then
21410 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
21412 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21413 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
21416 # Default case for install directory for include files.
21417 if test $version_specific_libs = no &&
21418 test $gxx_include_dir = no; then
21419 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
21422 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
21423 # Install a library built with a cross compiler in tooldir, not libdir.
21424 if test x"$glibcpp_toolexecdir" = x"no"; then
21425 if test -n "$with_cross_host" &&
21426 test x"$with_cross_host" != x"no"; then
21427 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
21428 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
21430 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21431 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
21435 echo $ac_n "checking for install location""... $ac_c" 1>&6
21436 echo "configure:21437: checking for install location" >&5
21437 echo "$ac_t""$gxx_include_dir" 1>&6
21445 # Export all the include and flag information to makefiles.
21447 # Root level of the build directory include sources.
21448 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
21450 # Passed down for canadian crosses.
21451 if test x"$CANADIAN" = xyes; then
21452 TOPLEVEL_INCLUDES='-I$(includedir)'
21455 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
21457 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
21459 if test x"$need_libio" = xyes; then
21460 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
21464 # Now, export this to all the little Makefiles....
21471 # Optimization flags that are probably a good idea for thrill-seekers. Just
21472 # uncomment the lines below and make, everything else is ready to go...
21473 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
21477 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
21481 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
21482 grep "enable shared" > /dev/null; then
21483 LIBSUPCXX_PICFLAGS=-prefer-pic
21485 LIBSUPCXX_PICFLAGS=
21489 # Generate the various Makefiles, include files, and scripts.
21490 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
21491 # and libsupc++/Makefile.am so that multilib installs will end up
21492 # installed in the correct place. To work around this not being passed
21493 # down from config-ml.in -> top_srcdir/Makefile.am ->
21494 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
21496 cat > confcache <<\EOF
21497 # This file is a shell script that caches the results of configure
21498 # tests run on this system so they can be shared between configure
21499 # scripts and configure runs. It is not useful on other systems.
21500 # If it contains results you don't want to keep, you may remove or edit it.
21502 # By default, configure uses ./config.cache as the cache file,
21503 # creating it if it does not exist already. You can give configure
21504 # the --cache-file=FILE option to use a different cache file; that is
21505 # what configure does when it calls configure scripts in
21506 # subdirectories, so they share the cache.
21507 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21508 # config.status only pays attention to the cache file if you give it the
21509 # --recheck option to rerun configure.
21512 # The following way of writing the cache mishandles newlines in values,
21513 # but we know of no workaround that is simple, portable, and efficient.
21514 # So, don't put newlines in cache variables' values.
21515 # Ultrix sh set writes to stderr and can't be redirected directly,
21516 # and sets the high bit in the cache file unless we assign to the vars.
21518 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21520 # `set' does not quote correctly, so add quotes (double-quote substitution
21521 # turns \\\\ into \\, and sed turns \\ into \).
21523 -e "s/'/'\\\\''/g" \
21524 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21527 # `set' quotes correctly as required by POSIX, so do not add quotes.
21528 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21531 if cmp -s $cache_file confcache; then
21534 if test -w $cache_file; then
21535 echo "updating cache $cache_file"
21536 cat confcache > $cache_file
21538 echo "not updating unwritable cache $cache_file"
21543 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21545 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21546 # Let make expand exec_prefix.
21547 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21549 # Any assignment to VPATH causes Sun make to only execute
21550 # the first set of double-colon rules, so remove it if not needed.
21551 # If there is a colon in the path, we need to keep it.
21552 if test "x$srcdir" = x.; then
21553 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
21556 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21558 DEFS=-DHAVE_CONFIG_H
21560 # Without the "./", some shells look in PATH for config.status.
21561 : ${CONFIG_STATUS=./config.status}
21563 echo creating $CONFIG_STATUS
21564 rm -f $CONFIG_STATUS
21565 cat > $CONFIG_STATUS <<EOF
21567 # Generated automatically by configure.
21568 # Run this file to recreate the current configuration.
21569 # This directory was configured as follows,
21570 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21572 # $0 $ac_configure_args
21574 # Compiler output produced by configure, useful for debugging
21575 # configure, is in ./config.log if it exists.
21577 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21580 case "\$ac_option" in
21581 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21582 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21583 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21584 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21585 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21587 -help | --help | --hel | --he | --h)
21588 echo "\$ac_cs_usage"; exit 0 ;;
21589 *) echo "\$ac_cs_usage"; exit 1 ;;
21593 ac_given_srcdir=$srcdir
21594 ac_given_INSTALL="$INSTALL"
21596 trap 'rm -fr `echo "Makefile \
21597 include/Makefile src/Makefile \
21598 libmath/Makefile libio/Makefile libsupc++/Makefile \
21599 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21601 cat >> $CONFIG_STATUS <<EOF
21603 # Protect against being on the right side of a sed subst in config.status.
21604 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21605 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21609 s%@CFLAGS@%$CFLAGS%g
21610 s%@CPPFLAGS@%$CPPFLAGS%g
21611 s%@CXXFLAGS@%$CXXFLAGS%g
21612 s%@FFLAGS@%$FFLAGS%g
21614 s%@LDFLAGS@%$LDFLAGS%g
21616 s%@exec_prefix@%$exec_prefix%g
21617 s%@prefix@%$prefix%g
21618 s%@program_transform_name@%$program_transform_name%g
21619 s%@bindir@%$bindir%g
21620 s%@sbindir@%$sbindir%g
21621 s%@libexecdir@%$libexecdir%g
21622 s%@datadir@%$datadir%g
21623 s%@sysconfdir@%$sysconfdir%g
21624 s%@sharedstatedir@%$sharedstatedir%g
21625 s%@localstatedir@%$localstatedir%g
21626 s%@libdir@%$libdir%g
21627 s%@includedir@%$includedir%g
21628 s%@oldincludedir@%$oldincludedir%g
21629 s%@infodir@%$infodir%g
21630 s%@mandir@%$mandir%g
21631 s%@PACKAGE@%$PACKAGE%g
21632 s%@release_VERSION@%$release_VERSION%g
21633 s%@libtool_VERSION@%$libtool_VERSION%g
21635 s%@host_alias@%$host_alias%g
21636 s%@host_cpu@%$host_cpu%g
21637 s%@host_vendor@%$host_vendor%g
21638 s%@host_os@%$host_os%g
21639 s%@target@%$target%g
21640 s%@target_alias@%$target_alias%g
21641 s%@target_cpu@%$target_cpu%g
21642 s%@target_vendor@%$target_vendor%g
21643 s%@target_os@%$target_os%g
21645 s%@build_alias@%$build_alias%g
21646 s%@build_cpu@%$build_cpu%g
21647 s%@build_vendor@%$build_vendor%g
21648 s%@build_os@%$build_os%g
21649 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21650 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21651 s%@INSTALL_DATA@%$INSTALL_DATA%g
21652 s%@VERSION@%$VERSION%g
21653 s%@ACLOCAL@%$ACLOCAL%g
21654 s%@AUTOCONF@%$AUTOCONF%g
21655 s%@AUTOMAKE@%$AUTOMAKE%g
21656 s%@AUTOHEADER@%$AUTOHEADER%g
21657 s%@MAKEINFO@%$MAKEINFO%g
21658 s%@SET_MAKE@%$SET_MAKE%g
21659 s%@toplevel_srcdir@%$toplevel_srcdir%g
21660 s%@glibcpp_builddir@%$glibcpp_builddir%g
21661 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
21664 s%@glibcpp_basedir@%$glibcpp_basedir%g
21666 s%@glibcpp_CXX@%$glibcpp_CXX%g
21669 s%@RANLIB@%$RANLIB%g
21670 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
21671 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
21673 s%@EXEEXT@%$EXEEXT%g
21674 s%@OBJEXT@%$OBJEXT%g
21676 s%@LIBTOOL@%$LIBTOOL%g
21677 s%@CXXCPP@%$CXXCPP%g
21678 s%@enable_shared@%$enable_shared%g
21679 s%@enable_static@%$enable_static%g
21680 s%@ifGNUmake@%$ifGNUmake%g
21681 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
21683 s%@CSTDIO_H@%$CSTDIO_H%g
21684 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
21685 s%@CCODECVT_C@%$CCODECVT_C%g
21686 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
21687 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
21688 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
21689 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
21690 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
21691 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
21692 s%@libio_la@%$libio_la%g
21693 s%@check_msgfmt@%$check_msgfmt%g
21694 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
21695 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
21696 s%@glibcpp_localedir@%$glibcpp_localedir%g
21697 s%@USE_NLS@%$USE_NLS%g
21698 s%@CLOCALE_H@%$CLOCALE_H%g
21699 s%@CCODECVT_H@%$CCODECVT_H%g
21700 s%@CMESSAGES_H@%$CMESSAGES_H%g
21701 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
21702 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
21703 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
21704 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
21705 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
21706 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
21707 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
21708 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
21709 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
21710 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
21711 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
21712 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
21713 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
21714 s%@WERROR@%$WERROR%g
21715 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
21716 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
21717 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
21718 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
21719 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
21720 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
21721 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
21722 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
21723 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
21724 s%@gxx_include_dir@%$gxx_include_dir%g
21725 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
21726 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
21727 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
21728 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
21729 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
21730 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
21731 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
21732 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
21733 s%@WARN_FLAGS@%$WARN_FLAGS%g
21734 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
21739 cat >> $CONFIG_STATUS <<\EOF
21741 # Split the substitutions into bite-sized pieces for seds with
21742 # small command number limits, like on Digital OSF/1 and HP-UX.
21743 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
21744 ac_file=1 # Number of current file.
21745 ac_beg=1 # First line for current file.
21746 ac_end=$ac_max_sed_cmds # Line after last line for current file.
21749 while $ac_more_lines; do
21750 if test $ac_beg -gt 1; then
21751 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
21753 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
21755 if test ! -s conftest.s$ac_file; then
21756 ac_more_lines=false
21757 rm -f conftest.s$ac_file
21759 if test -z "$ac_sed_cmds"; then
21760 ac_sed_cmds="sed -f conftest.s$ac_file"
21762 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
21764 ac_file=`expr $ac_file + 1`
21766 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21769 if test -z "$ac_sed_cmds"; then
21774 cat >> $CONFIG_STATUS <<EOF
21776 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
21777 include/Makefile src/Makefile \
21778 libmath/Makefile libio/Makefile libsupc++/Makefile \
21779 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
21781 cat >> $CONFIG_STATUS <<\EOF
21782 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
21783 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21785 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21786 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21787 *) ac_file_in="${ac_file}.in" ;;
21790 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21792 # Remove last slash and all that follows it. Not all systems have dirname.
21793 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21794 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21795 # The file is in a subdirectory.
21796 test ! -d "$ac_dir" && mkdir "$ac_dir"
21797 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21798 # A "../" for each directory in $ac_dir_suffix.
21799 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21801 ac_dir_suffix= ac_dots=
21804 case "$ac_given_srcdir" in
21806 if test -z "$ac_dots"; then top_srcdir=.
21807 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21808 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21809 *) # Relative path.
21810 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21811 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21814 case "$ac_given_INSTALL" in
21815 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21816 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21819 echo creating "$ac_file"
21821 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21823 *Makefile*) ac_comsub="1i\\
21824 # $configure_input" ;;
21828 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21830 s%@configure_input@%$configure_input%g
21831 s%@srcdir@%$srcdir%g
21832 s%@top_srcdir@%$top_srcdir%g
21833 s%@INSTALL@%$INSTALL%g
21834 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21838 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21839 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21841 # ac_d sets the value in "#define NAME VALUE" lines.
21842 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21843 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
21846 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21847 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21848 ac_uB='\([ ]\)%\1#\2define\3'
21851 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21852 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21853 ac_eB='$%\1#\2define\3'
21857 if test "${CONFIG_HEADERS+set}" != set; then
21859 cat >> $CONFIG_STATUS <<EOF
21860 CONFIG_HEADERS="config.h"
21862 cat >> $CONFIG_STATUS <<\EOF
21864 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
21865 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21867 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21868 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21869 *) ac_file_in="${ac_file}.in" ;;
21872 echo creating $ac_file
21874 rm -f conftest.frag conftest.in conftest.out
21875 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21876 cat $ac_file_inputs > conftest.in
21880 # Transform confdefs.h into a sed script conftest.vals that substitutes
21881 # the proper values into config.h.in to produce config.h. And first:
21882 # Protect against being on the right side of a sed subst in config.status.
21883 # Protect against being in an unquoted here document in config.status.
21884 rm -f conftest.vals
21885 cat > conftest.hdr <<\EOF
21888 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21892 sed -n -f conftest.hdr confdefs.h > conftest.vals
21895 # This sed command replaces #undef with comments. This is necessary, for
21896 # example, in the case of _POSIX_SOURCE, which is predefined and required
21897 # on some systems where configure will not decide to define it.
21898 cat >> conftest.vals <<\EOF
21899 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21902 # Break up conftest.vals because some shells have a limit on
21903 # the size of here documents, and old seds have small limits too.
21905 rm -f conftest.tail
21908 ac_lines=`grep -c . conftest.vals`
21909 # grep -c gives empty output for an empty file on some AIX systems.
21910 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21911 # Write a limited-size here document to conftest.frag.
21912 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21913 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21915 sed -f conftest.frag conftest.in > conftest.out
21917 mv conftest.out conftest.in
21918 ' >> $CONFIG_STATUS
21919 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21920 rm -f conftest.vals
21921 mv conftest.tail conftest.vals
21923 rm -f conftest.vals
21925 cat >> $CONFIG_STATUS <<\EOF
21926 rm -f conftest.frag conftest.h
21927 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21928 cat conftest.in >> conftest.h
21930 if cmp -s $ac_file conftest.h 2>/dev/null; then
21931 echo "$ac_file is unchanged"
21934 # Remove last slash and all that follows it. Not all systems have dirname.
21935 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21936 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21937 # The file is in a subdirectory.
21938 test ! -d "$ac_dir" && mkdir "$ac_dir"
21941 mv conftest.h $ac_file
21947 cat >> $CONFIG_STATUS <<EOF
21948 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
21949 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"
21952 cat >> $CONFIG_STATUS <<\EOF
21953 srcdir=$ac_given_srcdir
21954 while test -n "$ac_sources"; do
21955 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
21956 set $ac_sources; ac_source=$1; shift; ac_sources=$*
21958 echo "linking $srcdir/$ac_source to $ac_dest"
21960 if test ! -r $srcdir/$ac_source; then
21961 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
21965 # Make relative symlinks.
21966 # Remove last slash and all that follows it. Not all systems have dirname.
21967 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
21968 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
21969 # The dest file is in a subdirectory.
21970 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
21971 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
21972 # A "../" for each directory in $ac_dest_dir_suffix.
21973 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
21975 ac_dest_dir_suffix= ac_dots=
21979 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
21980 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
21983 # Make a symlink if possible; otherwise try a hard link.
21984 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21985 ln $srcdir/$ac_source $ac_dest; then :
21987 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
21991 cat >> $CONFIG_STATUS <<EOF
21996 with_multisubdir=${with_multisubdir}
21997 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21998 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21999 glibcpp_basedir=${glibcpp_basedir}
22004 cat >> $CONFIG_STATUS <<\EOF
22005 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22006 if test -n "$CONFIG_FILES"; then
22007 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22008 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22009 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22010 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22013 chmod +x testsuite_flags
22017 chmod +x $CONFIG_STATUS
22018 rm -fr confdefs* $ac_clean_files
22019 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22023 # Sanity checking & User-visible messages.
22024 # Checks down here, otherwise they get scrolled off before
22025 # the user will notice.
22027 # Trying to get more people to read documentation. Possibly remove
22028 # check and warn all the time. There is no "informational" AC_MSG_
22029 # macro, so these are going to be printed even when --quiet/--silent
22031 if test ! -f stamp-sanity-warned; then
22032 touch stamp-sanity-warned
22034 echo "Please make certain that you read the installation information here:"
22035 echo " faster => ${srcdir}/docs/html/install.html"
22036 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22038 echo "and the configuration information here:"
22039 echo " faster => ${srcdir}/docs/html/configopts.html"
22040 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22042 echo "before proceeding with ${_cv_gnu_make_command}."