3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --enable-concept-checks use Boost-derived template checks [default=no]"
62 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
64 --with-gxx-include-dir the installation directory for include files"
66 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
68 # Initialize some variables set by options.
69 # The variables have the same names as the options, with
70 # dashes changed to underlines.
72 cache_file=./config.cache
81 program_transform_name=s,x,x,
89 bindir='${exec_prefix}/bin'
90 sbindir='${exec_prefix}/sbin'
91 libexecdir='${exec_prefix}/libexec'
92 datadir='${prefix}/share'
93 sysconfdir='${prefix}/etc'
94 sharedstatedir='${prefix}/com'
95 localstatedir='${prefix}/var'
96 libdir='${exec_prefix}/lib'
97 includedir='${prefix}/include'
98 oldincludedir='/usr/include'
99 infodir='${prefix}/info'
100 mandir='${prefix}/man'
102 # Initialize some other variables.
105 SHELL=${CONFIG_SHELL-/bin/sh}
106 # Maximum number of lines to put in a shell here document.
113 # If the previous option needs an argument, assign it.
114 if test -n "$ac_prev"; then
115 eval "$ac_prev=\$ac_option"
121 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
125 # Accept the important Cygnus configure options, so we can diagnose typos.
129 -bindir | --bindir | --bindi | --bind | --bin | --bi)
131 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
132 bindir="$ac_optarg" ;;
134 -build | --build | --buil | --bui | --bu)
136 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
137 build="$ac_optarg" ;;
139 -cache-file | --cache-file | --cache-fil | --cache-fi \
140 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
141 ac_prev=cache_file ;;
142 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
143 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
144 cache_file="$ac_optarg" ;;
146 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
148 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
150 datadir="$ac_optarg" ;;
152 -disable-* | --disable-*)
153 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
154 # Reject names that are not valid shell variable names.
155 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
156 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
159 eval "enable_${ac_feature}=no" ;;
161 -enable-* | --enable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
172 eval "enable_${ac_feature}='$ac_optarg'" ;;
174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
176 | --exec | --exe | --ex)
177 ac_prev=exec_prefix ;;
178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
180 | --exec=* | --exe=* | --ex=*)
181 exec_prefix="$ac_optarg" ;;
183 -gas | --gas | --ga | --g)
184 # Obsolete; use --with-gas.
187 -help | --help | --hel | --he)
188 # Omit some internal or obsolete options to make the list less imposing.
189 # This message is too long to be a string in the A/UX 3.1 sh.
191 Usage: configure [options] [host]
192 Options: [defaults in brackets after descriptions]
194 --cache-file=FILE cache test results in FILE
195 --help print this message
196 --no-create do not create output files
197 --quiet, --silent do not print \`checking...' messages
198 --version print the version of autoconf that created configure
199 Directory and file names:
200 --prefix=PREFIX install architecture-independent files in PREFIX
202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
204 --bindir=DIR user executables in DIR [EPREFIX/bin]
205 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
206 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
207 --datadir=DIR read-only architecture-independent data in DIR
209 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
210 --sharedstatedir=DIR modifiable architecture-independent data in DIR
212 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
213 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
214 --includedir=DIR C header files in DIR [PREFIX/include]
215 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
216 --infodir=DIR info documentation in DIR [PREFIX/info]
217 --mandir=DIR man documentation in DIR [PREFIX/man]
218 --srcdir=DIR find the sources in DIR [configure dir or ..]
219 --program-prefix=PREFIX prepend PREFIX to installed program names
220 --program-suffix=SUFFIX append SUFFIX to installed program names
221 --program-transform-name=PROGRAM
222 run sed PROGRAM on installed program names
226 --build=BUILD configure for building on BUILD [BUILD=HOST]
227 --host=HOST configure for HOST [guessed]
228 --target=TARGET configure for TARGET [TARGET=HOST]
229 Features and packages:
230 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
231 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
232 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
233 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
234 --x-includes=DIR X include files are in DIR
235 --x-libraries=DIR X library files are in DIR
237 if test -n "$ac_help"; then
238 echo "--enable and --with options recognized:$ac_help"
242 -host | --host | --hos | --ho)
244 -host=* | --host=* | --hos=* | --ho=*)
247 -includedir | --includedir | --includedi | --included | --include \
248 | --includ | --inclu | --incl | --inc)
249 ac_prev=includedir ;;
250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
251 | --includ=* | --inclu=* | --incl=* | --inc=*)
252 includedir="$ac_optarg" ;;
254 -infodir | --infodir | --infodi | --infod | --info | --inf)
256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
257 infodir="$ac_optarg" ;;
259 -libdir | --libdir | --libdi | --libd)
261 -libdir=* | --libdir=* | --libdi=* | --libd=*)
262 libdir="$ac_optarg" ;;
264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
265 | --libexe | --libex | --libe)
266 ac_prev=libexecdir ;;
267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
268 | --libexe=* | --libex=* | --libe=*)
269 libexecdir="$ac_optarg" ;;
271 -localstatedir | --localstatedir | --localstatedi | --localstated \
272 | --localstate | --localstat | --localsta | --localst \
273 | --locals | --local | --loca | --loc | --lo)
274 ac_prev=localstatedir ;;
275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
276 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
277 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
278 localstatedir="$ac_optarg" ;;
280 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
282 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
283 mandir="$ac_optarg" ;;
286 # Obsolete; use --without-fp.
289 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
293 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
294 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
297 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
298 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
299 | --oldin | --oldi | --old | --ol | --o)
300 ac_prev=oldincludedir ;;
301 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
302 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
303 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
304 oldincludedir="$ac_optarg" ;;
306 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
308 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
309 prefix="$ac_optarg" ;;
311 -program-prefix | --program-prefix | --program-prefi | --program-pref \
312 | --program-pre | --program-pr | --program-p)
313 ac_prev=program_prefix ;;
314 -program-prefix=* | --program-prefix=* | --program-prefi=* \
315 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
316 program_prefix="$ac_optarg" ;;
318 -program-suffix | --program-suffix | --program-suffi | --program-suff \
319 | --program-suf | --program-su | --program-s)
320 ac_prev=program_suffix ;;
321 -program-suffix=* | --program-suffix=* | --program-suffi=* \
322 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
323 program_suffix="$ac_optarg" ;;
325 -program-transform-name | --program-transform-name \
326 | --program-transform-nam | --program-transform-na \
327 | --program-transform-n | --program-transform- \
328 | --program-transform | --program-transfor \
329 | --program-transfo | --program-transf \
330 | --program-trans | --program-tran \
331 | --progr-tra | --program-tr | --program-t)
332 ac_prev=program_transform_name ;;
333 -program-transform-name=* | --program-transform-name=* \
334 | --program-transform-nam=* | --program-transform-na=* \
335 | --program-transform-n=* | --program-transform-=* \
336 | --program-transform=* | --program-transfor=* \
337 | --program-transfo=* | --program-transf=* \
338 | --program-trans=* | --program-tran=* \
339 | --progr-tra=* | --program-tr=* | --program-t=*)
340 program_transform_name="$ac_optarg" ;;
342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
343 | -silent | --silent | --silen | --sile | --sil)
346 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
348 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
350 sbindir="$ac_optarg" ;;
352 -sharedstatedir | --sharedstatedir | --sharedstatedi \
353 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
354 | --sharedst | --shareds | --shared | --share | --shar \
356 ac_prev=sharedstatedir ;;
357 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
358 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
359 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
361 sharedstatedir="$ac_optarg" ;;
363 -site | --site | --sit)
365 -site=* | --site=* | --sit=*)
368 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
370 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
371 srcdir="$ac_optarg" ;;
373 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
374 | --syscon | --sysco | --sysc | --sys | --sy)
375 ac_prev=sysconfdir ;;
376 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
377 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
378 sysconfdir="$ac_optarg" ;;
380 -target | --target | --targe | --targ | --tar | --ta | --t)
382 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
383 target="$ac_optarg" ;;
385 -v | -verbose | --verbose | --verbos | --verbo | --verb)
388 -version | --version | --versio | --versi | --vers)
389 echo "configure generated by autoconf version 2.13"
393 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
394 # Reject names that are not valid shell variable names.
395 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
396 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
398 ac_package=`echo $ac_package| sed 's/-/_/g'`
403 eval "with_${ac_package}='$ac_optarg'" ;;
405 -without-* | --without-*)
406 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
407 # Reject names that are not valid shell variable names.
408 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
409 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
411 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}=no" ;;
415 # Obsolete; use --with-x.
418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
419 | --x-incl | --x-inc | --x-in | --x-i)
420 ac_prev=x_includes ;;
421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
423 x_includes="$ac_optarg" ;;
425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
427 ac_prev=x_libraries ;;
428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
430 x_libraries="$ac_optarg" ;;
432 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
436 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
437 echo "configure: warning: $ac_option: invalid host type" 1>&2
439 if test "x$nonopt" != xNONE; then
440 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
448 if test -n "$ac_prev"; then
449 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
452 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
454 # File descriptor usage:
457 # 2 errors and warnings
458 # 3 some systems may open it to /dev/tty
459 # 4 used on the Kubota Titan
460 # 6 checking for... messages and results
461 # 5 compiler messages saved in config.log
462 if test "$silent" = yes; then
470 This file contains any messages produced by compilers while
471 running configure, to aid debugging if configure makes a mistake.
474 # Strip out --no-create and --no-recursion so they do not pile up.
475 # Also quote any args containing shell metacharacters.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c) ;;
482 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
483 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
484 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
485 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
486 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
491 # Only set these to C if already set. These must not be set unconditionally
492 # because not all systems understand e.g. LANG=C (notably SCO).
493 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
494 # Non-C LC_CTYPE values break the ctype check.
495 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
496 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
497 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
498 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
500 # confdefs.h avoids OS command line length limits that DEFS can exceed.
501 rm -rf conftest* confdefs.h
502 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
505 # A filename unique to this package, relative to the directory that
506 # configure is in, which we can look for to find out if srcdir is correct.
507 ac_unique_file=src/ios.cc
509 # Find the source files, if location was not specified.
510 if test -z "$srcdir"; then
511 ac_srcdir_defaulted=yes
512 # Try the directory containing this script, then its parent.
514 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
515 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
517 if test ! -r $srcdir/$ac_unique_file; then
521 ac_srcdir_defaulted=no
523 if test ! -r $srcdir/$ac_unique_file; then
524 if test "$ac_srcdir_defaulted" = yes; then
525 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
527 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
530 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
532 # Prefer explicitly selected file to automatically selected ones.
533 if test -z "$CONFIG_SITE"; then
534 if test "x$prefix" != xNONE; then
535 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
537 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
540 for ac_site_file in $CONFIG_SITE; do
541 if test -r "$ac_site_file"; then
542 echo "loading site script $ac_site_file"
547 if test -r "$cache_file"; then
548 echo "loading cache $cache_file"
551 echo "creating cache $cache_file"
556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
557 ac_cpp='$CPP $CPPFLAGS'
558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
560 cross_compiling=$ac_cv_prog_cc_cross
564 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
565 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
566 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
573 ac_n= ac_c='\c' ac_t=
580 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
581 release_VERSION=3.1.0
583 # For libtool versioning info, format is CURRENT:REVISION:AGE
584 libtool_VERSION=4:0:0
587 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
588 # AC 2.50 sets target_alias iff the user specified --target, but we use it
589 # everywhere, so we set it here just to be sure.
591 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
592 if test -f $ac_dir/install-sh; then
594 ac_install_sh="$ac_aux_dir/install-sh -c"
596 elif test -f $ac_dir/install.sh; then
598 ac_install_sh="$ac_aux_dir/install.sh -c"
602 if test -z "$ac_aux_dir"; then
603 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
605 ac_config_guess=$ac_aux_dir/config.guess
606 ac_config_sub=$ac_aux_dir/config.sub
607 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
610 # Do some error checking and defaulting for the host and target type.
612 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
615 # 1. You are not allowed to specify --host, --target, and nonopt at the
617 # 2. Host defaults to nonopt.
618 # 3. If nonopt is not specified, then host defaults to the current host,
619 # as determined by config.guess.
620 # 4. Target and build default to nonopt.
621 # 5. If nonopt is not specified, then target and build default to host.
623 # The aliases save the names the user supplied, while $host etc.
624 # will get canonicalized.
625 case $host---$target---$nonopt in
626 NONE---*---* | *---NONE---* | *---*---NONE) ;;
627 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
631 # Make sure we can run config.sub.
632 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
633 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
636 echo $ac_n "checking host system type""... $ac_c" 1>&6
637 echo "configure:638: checking host system type" >&5
640 case "$host_alias" in
644 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
645 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
647 *) host_alias=$nonopt ;;
651 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
652 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
653 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
654 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
655 echo "$ac_t""$host" 1>&6
657 echo $ac_n "checking target system type""... $ac_c" 1>&6
658 echo "configure:659: checking target system type" >&5
661 case "$target_alias" in
664 NONE) target_alias=$host_alias ;;
665 *) target_alias=$nonopt ;;
669 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
670 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
671 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
672 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
673 echo "$ac_t""$target" 1>&6
675 echo $ac_n "checking build system type""... $ac_c" 1>&6
676 echo "configure:677: checking build system type" >&5
679 case "$build_alias" in
682 NONE) build_alias=$host_alias ;;
683 *) build_alias=$nonopt ;;
687 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
688 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
689 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
690 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
691 echo "$ac_t""$build" 1>&6
693 test "$host_alias" != "$target_alias" &&
694 test "$program_prefix$program_suffix$program_transform_name" = \
696 program_prefix=${target_alias}-
698 target_alias=${target_alias-$target}
701 # Find a good install program. We prefer a C program (faster),
702 # so one script is as good as another. But avoid the broken or
703 # incompatible versions:
704 # SysV /etc/install, /usr/sbin/install
705 # SunOS /usr/etc/install
708 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
709 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
710 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
711 # ./install, which can be erroneously created by make from ./install.sh.
712 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
713 echo "configure:714: checking for a BSD compatible install" >&5
714 if test -z "$INSTALL"; then
715 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
716 echo $ac_n "(cached) $ac_c" 1>&6
718 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
719 for ac_dir in $PATH; do
720 # Account for people who put trailing slashes in PATH elements.
722 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
724 # OSF1 and SCO ODT 3.0 have their own names for install.
725 # Don't use installbsd from OSF since it installs stuff as root
727 for ac_prog in ginstall scoinst install; do
728 if test -f $ac_dir/$ac_prog; then
729 if test $ac_prog = install &&
730 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
731 # AIX install. It has an incompatible calling convention.
734 ac_cv_path_install="$ac_dir/$ac_prog -c"
745 if test "${ac_cv_path_install+set}" = set; then
746 INSTALL="$ac_cv_path_install"
748 # As a last resort, use the slow shell script. We don't cache a
749 # path for INSTALL within a source directory, because that will
750 # break other packages using the cache if that directory is
751 # removed, or if the path is relative.
752 INSTALL="$ac_install_sh"
755 echo "$ac_t""$INSTALL" 1>&6
757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
758 # It thinks the first close brace ends the variable substitution.
759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
765 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
766 echo "configure:767: checking whether build environment is sane" >&5
769 echo timestamp > conftestfile
770 # Do `set' in a subshell so we don't clobber the current shell's
771 # arguments. Must try -L first in case configure is actually a
772 # symlink; some systems play weird games with the mod time of symlinks
773 # (eg FreeBSD returns the mod time of the symlink's containing
776 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
777 if test "$*" = "X"; then
779 set X `ls -t $srcdir/configure conftestfile`
781 if test "$*" != "X $srcdir/configure conftestfile" \
782 && test "$*" != "X conftestfile $srcdir/configure"; then
784 # If neither matched, then we have a broken ls. This can happen
785 # if, for instance, CONFIG_SHELL is bash and it inherits a
786 # broken ls alias from the environment. This has actually
787 # happened. Such a system could not be considered "sane".
788 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
789 alias in your environment" 1>&2; exit 1; }
792 test "$2" = conftestfile
798 { echo "configure: error: newly created file is older than distributed files!
799 Check your system clock" 1>&2; exit 1; }
802 echo "$ac_t""yes" 1>&6
803 if test "$program_transform_name" = s,x,x,; then
804 program_transform_name=
806 # Double any \ or $. echo might interpret backslashes.
807 cat <<\EOF_SED > conftestsed
808 s,\\,\\\\,g; s,\$,$$,g
810 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
813 test "$program_prefix" != NONE &&
814 program_transform_name="s,^,${program_prefix},; $program_transform_name"
815 # Use a double $ so make ignores it.
816 test "$program_suffix" != NONE &&
817 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
819 # sed with no file args requires a program.
820 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
822 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
823 echo "configure:824: checking whether ${MAKE-make} sets \${MAKE}" >&5
824 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
825 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
826 echo $ac_n "(cached) $ac_c" 1>&6
828 cat > conftestmake <<\EOF
830 @echo 'ac_maketemp="${MAKE}"'
832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
833 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
834 if test -n "$ac_maketemp"; then
835 eval ac_cv_prog_make_${ac_make}_set=yes
837 eval ac_cv_prog_make_${ac_make}_set=no
841 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
842 echo "$ac_t""yes" 1>&6
845 echo "$ac_t""no" 1>&6
846 SET_MAKE="MAKE=${MAKE-make}"
852 VERSION=$release_VERSION
854 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
855 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
857 cat >> confdefs.h <<EOF
858 #define PACKAGE "$PACKAGE"
861 cat >> confdefs.h <<EOF
862 #define VERSION "$VERSION"
867 missing_dir=`cd $ac_aux_dir && pwd`
868 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
869 echo "configure:870: checking for working aclocal" >&5
870 # Run test in a subshell; some versions of sh will print an error if
871 # an executable is not found, even if stderr is redirected.
872 # Redirect stdin to placate older versions of autoconf. Sigh.
873 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
875 echo "$ac_t""found" 1>&6
877 ACLOCAL="$missing_dir/missing aclocal"
878 echo "$ac_t""missing" 1>&6
881 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
882 echo "configure:883: checking for working autoconf" >&5
883 # Run test in a subshell; some versions of sh will print an error if
884 # an executable is not found, even if stderr is redirected.
885 # Redirect stdin to placate older versions of autoconf. Sigh.
886 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
888 echo "$ac_t""found" 1>&6
890 AUTOCONF="$missing_dir/missing autoconf"
891 echo "$ac_t""missing" 1>&6
894 echo $ac_n "checking for working automake""... $ac_c" 1>&6
895 echo "configure:896: checking for working automake" >&5
896 # Run test in a subshell; some versions of sh will print an error if
897 # an executable is not found, even if stderr is redirected.
898 # Redirect stdin to placate older versions of autoconf. Sigh.
899 if (automake --version) < /dev/null > /dev/null 2>&1; then
901 echo "$ac_t""found" 1>&6
903 AUTOMAKE="$missing_dir/missing automake"
904 echo "$ac_t""missing" 1>&6
907 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
908 echo "configure:909: checking for working autoheader" >&5
909 # Run test in a subshell; some versions of sh will print an error if
910 # an executable is not found, even if stderr is redirected.
911 # Redirect stdin to placate older versions of autoconf. Sigh.
912 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
913 AUTOHEADER=autoheader
914 echo "$ac_t""found" 1>&6
916 AUTOHEADER="$missing_dir/missing autoheader"
917 echo "$ac_t""missing" 1>&6
920 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
921 echo "configure:922: checking for working makeinfo" >&5
922 # Run test in a subshell; some versions of sh will print an error if
923 # an executable is not found, even if stderr is redirected.
924 # Redirect stdin to placate older versions of autoconf. Sigh.
925 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
927 echo "$ac_t""found" 1>&6
929 MAKEINFO="$missing_dir/missing makeinfo"
930 echo "$ac_t""missing" 1>&6
938 # Runs configure.host and configure.target, as well as finds CC, CXX
939 # and assorted other critical bits. Have to run this before the
940 # GLIBCPP_ENABLE_* macros below.
941 if test $host != $build; then
942 ac_tool_prefix=${host_alias}-
947 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
948 echo "configure:949: checking for Cygwin environment" >&5
949 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
950 echo $ac_n "(cached) $ac_c" 1>&6
952 cat > conftest.$ac_ext <<EOF
953 #line 954 "configure"
954 #include "confdefs.h"
959 #define __CYGWIN__ __CYGWIN32__
964 if { (eval echo configure:965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
968 echo "configure: failed program was:" >&5
969 cat conftest.$ac_ext >&5
977 echo "$ac_t""$ac_cv_cygwin" 1>&6
979 test "$ac_cv_cygwin" = yes && CYGWIN=yes
980 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
981 echo "configure:982: checking for mingw32 environment" >&5
982 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
983 echo $ac_n "(cached) $ac_c" 1>&6
985 cat > conftest.$ac_ext <<EOF
986 #line 987 "configure"
987 #include "confdefs.h"
993 if { (eval echo configure:994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
997 echo "configure: failed program was:" >&5
998 cat conftest.$ac_ext >&5
1006 echo "$ac_t""$ac_cv_mingw32" 1>&6
1008 test "$ac_cv_mingw32" = yes && MINGW32=yes
1010 # Check whether --enable-multilib or --disable-multilib was given.
1011 if test "${enable_multilib+set}" = set; then
1012 enableval="$enable_multilib"
1013 case "${enableval}" in
1014 yes) multilib=yes ;;
1016 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1022 # When building with srcdir == objdir, links to the source files will
1023 # be created in directories within the target_subdir. We have to
1024 # adjust toplevel_srcdir accordingly, so that configure finds
1025 # install-sh and other auxiliary files that live in the top-level
1027 if test "${srcdir}" = "."; then
1028 if test -z "${with_target_subdir}"; then
1031 if test "${with_target_subdir}" != "."; then
1032 toprel="${with_multisrctop}../.."
1034 toprel="${with_multisrctop}.."
1041 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1042 if test -f $ac_dir/install-sh; then
1044 ac_install_sh="$ac_aux_dir/install-sh -c"
1046 elif test -f $ac_dir/install.sh; then
1048 ac_install_sh="$ac_aux_dir/install.sh -c"
1052 if test -z "$ac_aux_dir"; then
1053 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1055 ac_config_guess=$ac_aux_dir/config.guess
1056 ac_config_sub=$ac_aux_dir/config.sub
1057 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1059 toplevel_srcdir=\${top_srcdir}/$toprel
1062 # Export build and source directories.
1063 # These need to be absolute paths, yet at the same time need to
1064 # canonicalize only relative paths, because then amd will not unmount
1065 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1066 glibcpp_builddir=`pwd`
1068 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1069 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1076 for ac_prog in gawk mawk nawk awk
1078 # Extract the first word of "$ac_prog", so it can be a program name with args.
1079 set dummy $ac_prog; ac_word=$2
1080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1081 echo "configure:1082: checking for $ac_word" >&5
1082 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1083 echo $ac_n "(cached) $ac_c" 1>&6
1085 if test -n "$AWK"; then
1086 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1090 for ac_dir in $ac_dummy; do
1091 test -z "$ac_dir" && ac_dir=.
1092 if test -f $ac_dir/$ac_word; then
1093 ac_cv_prog_AWK="$ac_prog"
1100 AWK="$ac_cv_prog_AWK"
1101 if test -n "$AWK"; then
1102 echo "$ac_t""$AWK" 1>&6
1104 echo "$ac_t""no" 1>&6
1107 test -n "$AWK" && break
1110 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1111 # be 'cp -p' if linking isn't available.
1112 #ac_cv_prog_LN_S='cp -p'
1113 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1114 echo "configure:1115: checking whether ln -s works" >&5
1115 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1116 echo $ac_n "(cached) $ac_c" 1>&6
1119 if ln -s X conftestdata 2>/dev/null
1122 ac_cv_prog_LN_S="ln -s"
1127 LN_S="$ac_cv_prog_LN_S"
1128 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1129 echo "$ac_t""yes" 1>&6
1131 echo "$ac_t""no" 1>&6
1135 # We use these options to decide which functions to include.
1136 # Check whether --with-target-subdir or --without-target-subdir was given.
1137 if test "${with_target_subdir+set}" = set; then
1138 withval="$with_target_subdir"
1142 # Check whether --with-cross-host or --without-cross-host was given.
1143 if test "${with_cross_host+set}" = set; then
1144 withval="$with_cross_host"
1149 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1152 # Never versions of autoconf add an underscore to these functions.
1153 # Prevent future problems ...
1161 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1162 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1163 # are probably using a cross compiler, which will not be able to fully
1164 # link an executable. This should really be fixed in autoconf
1170 # Extract the first word of "gcc", so it can be a program name with args.
1171 set dummy gcc; ac_word=$2
1172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1173 echo "configure:1174: checking for $ac_word" >&5
1174 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1175 echo $ac_n "(cached) $ac_c" 1>&6
1177 if test -n "$CC"; then
1178 ac_cv_prog_CC="$CC" # Let the user override the test.
1180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1182 for ac_dir in $ac_dummy; do
1183 test -z "$ac_dir" && ac_dir=.
1184 if test -f $ac_dir/$ac_word; then
1193 if test -n "$CC"; then
1194 echo "$ac_t""$CC" 1>&6
1196 echo "$ac_t""no" 1>&6
1199 if test -z "$CC"; then
1200 # Extract the first word of "cc", so it can be a program name with args.
1201 set dummy cc; ac_word=$2
1202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1203 echo "configure:1204: checking for $ac_word" >&5
1204 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1205 echo $ac_n "(cached) $ac_c" 1>&6
1207 if test -n "$CC"; then
1208 ac_cv_prog_CC="$CC" # Let the user override the test.
1210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1213 for ac_dir in $ac_dummy; do
1214 test -z "$ac_dir" && ac_dir=.
1215 if test -f $ac_dir/$ac_word; then
1216 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1217 ac_prog_rejected=yes
1225 if test $ac_prog_rejected = yes; then
1226 # We found a bogon in the path, so make sure we never use it.
1227 set dummy $ac_cv_prog_CC
1229 if test $# -gt 0; then
1230 # We chose a different compiler from the bogus one.
1231 # However, it has the same basename, so the bogon will be chosen
1232 # first if we set CC to just the basename; use the full file name.
1234 set dummy "$ac_dir/$ac_word" "$@"
1242 if test -n "$CC"; then
1243 echo "$ac_t""$CC" 1>&6
1245 echo "$ac_t""no" 1>&6
1248 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1251 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1252 echo "configure:1253: checking whether we are using GNU C" >&5
1253 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1254 echo $ac_n "(cached) $ac_c" 1>&6
1256 cat > conftest.c <<EOF
1261 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1268 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1270 if test $ac_cv_prog_gcc = yes; then
1272 ac_test_CFLAGS="${CFLAGS+set}"
1273 ac_save_CFLAGS="$CFLAGS"
1275 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1276 echo "configure:1277: checking whether ${CC-cc} accepts -g" >&5
1277 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 echo 'void f(){}' > conftest.c
1281 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1290 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1291 if test "$ac_test_CFLAGS" = set; then
1292 CFLAGS="$ac_save_CFLAGS"
1293 elif test $ac_cv_prog_cc_g = yes; then
1300 test "${CFLAGS+set}" = set || CFLAGS="-g"
1304 # Can't just call these here as g++ requires libstc++ to be built....
1307 # Likewise for AC_PROG_CXX.
1311 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1312 # flags that come in CXX while configuring libstdc++. They're different
1313 # from those used for all other target libraries. If CXX is set in
1314 # the environment, respect that here.
1316 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1318 # Extract the first word of "$ac_prog", so it can be a program name with args.
1319 set dummy $ac_prog; ac_word=$2
1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1321 echo "configure:1322: checking for $ac_word" >&5
1322 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1323 echo $ac_n "(cached) $ac_c" 1>&6
1325 if test -n "$glibcpp_CXX"; then
1326 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1330 for ac_dir in $ac_dummy; do
1331 test -z "$ac_dir" && ac_dir=.
1332 if test -f $ac_dir/$ac_word; then
1333 ac_cv_prog_glibcpp_CXX="$ac_prog"
1340 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1341 if test -n "$glibcpp_CXX"; then
1342 echo "$ac_t""$glibcpp_CXX" 1>&6
1344 echo "$ac_t""no" 1>&6
1347 test -n "$glibcpp_CXX" && break
1349 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1353 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1355 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1356 echo "configure:1357: checking whether we are using GNU C++" >&5
1357 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1358 echo $ac_n "(cached) $ac_c" 1>&6
1360 cat > conftest.C <<EOF
1365 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1372 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1374 if test $ac_cv_prog_gxx = yes; then
1376 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1377 ac_save_CXXFLAGS="$CXXFLAGS"
1379 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1380 echo "configure:1381: checking whether ${CXX-g++} accepts -g" >&5
1381 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1382 echo $ac_n "(cached) $ac_c" 1>&6
1384 echo 'void f(){}' > conftest.cc
1385 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1386 ac_cv_prog_cxx_g=yes
1394 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1395 if test "$ac_test_CXXFLAGS" = set; then
1396 CXXFLAGS="$ac_save_CXXFLAGS"
1397 elif test $ac_cv_prog_cxx_g = yes; then
1404 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1408 # For some reason, gettext needs this.
1410 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1411 echo "configure:1412: checking for strerror in -lcposix" >&5
1412 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1414 echo $ac_n "(cached) $ac_c" 1>&6
1416 ac_save_LIBS="$LIBS"
1417 LIBS="-lcposix $LIBS"
1418 cat > conftest.$ac_ext <<EOF
1419 #line 1420 "configure"
1420 #include "confdefs.h"
1421 /* Override any gcc2 internal prototype to avoid an error. */
1422 /* We use char because int might match the return type of a gcc2
1423 builtin and then its argument prototype would still apply. */
1430 if { (eval echo configure:1431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1432 eval "ac_cv_lib_$ac_lib_var=yes"
1434 echo "configure: failed program was:" >&5
1435 cat conftest.$ac_ext >&5
1437 eval "ac_cv_lib_$ac_lib_var=no"
1440 LIBS="$ac_save_LIBS"
1443 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1444 echo "$ac_t""yes" 1>&6
1445 LIBS="$LIBS -lcposix"
1447 echo "$ac_t""no" 1>&6
1453 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1454 set dummy ${ac_tool_prefix}as; ac_word=$2
1455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1456 echo "configure:1457: checking for $ac_word" >&5
1457 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1458 echo $ac_n "(cached) $ac_c" 1>&6
1460 if test -n "$AS"; then
1461 ac_cv_prog_AS="$AS" # Let the user override the test.
1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1465 for ac_dir in $ac_dummy; do
1466 test -z "$ac_dir" && ac_dir=.
1467 if test -f $ac_dir/$ac_word; then
1468 ac_cv_prog_AS="${ac_tool_prefix}as"
1473 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1477 if test -n "$AS"; then
1478 echo "$ac_t""$AS" 1>&6
1480 echo "$ac_t""no" 1>&6
1485 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1486 set dummy ${ac_tool_prefix}ar; ac_word=$2
1487 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1488 echo "configure:1489: checking for $ac_word" >&5
1489 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1490 echo $ac_n "(cached) $ac_c" 1>&6
1492 if test -n "$AR"; then
1493 ac_cv_prog_AR="$AR" # Let the user override the test.
1495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1497 for ac_dir in $ac_dummy; do
1498 test -z "$ac_dir" && ac_dir=.
1499 if test -f $ac_dir/$ac_word; then
1500 ac_cv_prog_AR="${ac_tool_prefix}ar"
1505 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1509 if test -n "$AR"; then
1510 echo "$ac_t""$AR" 1>&6
1512 echo "$ac_t""no" 1>&6
1517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1519 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1520 echo "configure:1521: checking for $ac_word" >&5
1521 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1522 echo $ac_n "(cached) $ac_c" 1>&6
1524 if test -n "$RANLIB"; then
1525 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1527 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1529 for ac_dir in $ac_dummy; do
1530 test -z "$ac_dir" && ac_dir=.
1531 if test -f $ac_dir/$ac_word; then
1532 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1539 RANLIB="$ac_cv_prog_RANLIB"
1540 if test -n "$RANLIB"; then
1541 echo "$ac_t""$RANLIB" 1>&6
1543 echo "$ac_t""no" 1>&6
1547 if test -z "$ac_cv_prog_RANLIB"; then
1548 if test -n "$ac_tool_prefix"; then
1549 # Extract the first word of "ranlib", so it can be a program name with args.
1550 set dummy ranlib; ac_word=$2
1551 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1552 echo "configure:1553: checking for $ac_word" >&5
1553 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1554 echo $ac_n "(cached) $ac_c" 1>&6
1556 if test -n "$RANLIB"; then
1557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1561 for ac_dir in $ac_dummy; do
1562 test -z "$ac_dir" && ac_dir=.
1563 if test -f $ac_dir/$ac_word; then
1564 ac_cv_prog_RANLIB="ranlib"
1569 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1572 RANLIB="$ac_cv_prog_RANLIB"
1573 if test -n "$RANLIB"; then
1574 echo "$ac_t""$RANLIB" 1>&6
1576 echo "$ac_t""no" 1>&6
1580 RANLIB="ranlib-not-found-in-path-error"
1584 # Find a good install program. We prefer a C program (faster),
1585 # so one script is as good as another. But avoid the broken or
1586 # incompatible versions:
1587 # SysV /etc/install, /usr/sbin/install
1588 # SunOS /usr/etc/install
1589 # IRIX /sbin/install
1591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1594 # ./install, which can be erroneously created by make from ./install.sh.
1595 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1596 echo "configure:1597: checking for a BSD compatible install" >&5
1597 if test -z "$INSTALL"; then
1598 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1599 echo $ac_n "(cached) $ac_c" 1>&6
1601 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1602 for ac_dir in $PATH; do
1603 # Account for people who put trailing slashes in PATH elements.
1605 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1607 # OSF1 and SCO ODT 3.0 have their own names for install.
1608 # Don't use installbsd from OSF since it installs stuff as root
1610 for ac_prog in ginstall scoinst install; do
1611 if test -f $ac_dir/$ac_prog; then
1612 if test $ac_prog = install &&
1613 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1614 # AIX install. It has an incompatible calling convention.
1617 ac_cv_path_install="$ac_dir/$ac_prog -c"
1628 if test "${ac_cv_path_install+set}" = set; then
1629 INSTALL="$ac_cv_path_install"
1631 # As a last resort, use the slow shell script. We don't cache a
1632 # path for INSTALL within a source directory, because that will
1633 # break other packages using the cache if that directory is
1634 # removed, or if the path is relative.
1635 INSTALL="$ac_install_sh"
1638 echo "$ac_t""$INSTALL" 1>&6
1640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1641 # It thinks the first close brace ends the variable substitution.
1642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1649 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1650 echo "configure:1651: checking whether to enable maintainer-specific portions of Makefiles" >&5
1651 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1652 if test "${enable_maintainer_mode+set}" = set; then
1653 enableval="$enable_maintainer_mode"
1654 USE_MAINTAINER_MODE=$enableval
1656 USE_MAINTAINER_MODE=no
1659 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1662 if test $USE_MAINTAINER_MODE = yes; then
1663 MAINTAINER_MODE_TRUE=
1664 MAINTAINER_MODE_FALSE='#'
1666 MAINTAINER_MODE_TRUE='#'
1667 MAINTAINER_MODE_FALSE=
1669 MAINT=$MAINTAINER_MODE_TRUE
1673 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1674 # at least currently, we never actually build a program, so we never
1675 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1676 # fails, because we are probably configuring with a cross compiler
1677 # which can't create executables. So we include AC_EXEEXT to keep
1678 # automake happy, but we don't execute it, since we don't care about
1681 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1682 # to nothing, so nothing would remain between `then' and `fi' if it
1683 # were not for the `:' below.
1687 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1688 echo "configure:1689: checking for executable suffix" >&5
1689 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1690 echo $ac_n "(cached) $ac_c" 1>&6
1692 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1696 echo 'int main () { return 0; }' > conftest.$ac_ext
1698 if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1699 for file in conftest.*; do
1701 *.c | *.o | *.obj) ;;
1702 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1706 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1709 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1714 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1715 echo "$ac_t""${ac_cv_exeext}" 1>&6
1720 . ${glibcpp_basedir}/configure.host
1722 case ${glibcpp_basedir} in
1723 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1724 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1727 # This does for the target what configure.host does for the host. In
1728 # addition to possibly modifying the same flags, it also sets up symlinks.
1730 . ${glibcpp_basedir}/configure.target
1731 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1732 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1739 # Check whether --enable-shared or --disable-shared was given.
1740 if test "${enable_shared+set}" = set; then
1741 enableval="$enable_shared"
1742 p=${PACKAGE-default}
1744 yes) enable_shared=yes ;;
1745 no) enable_shared=no ;;
1748 # Look at the argument we got. We use all the common list separators.
1749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1750 for pkg in $enableval; do
1751 if test "X$pkg" = "X$p"; then
1762 # Check whether --enable-static or --disable-static was given.
1763 if test "${enable_static+set}" = set; then
1764 enableval="$enable_static"
1765 p=${PACKAGE-default}
1767 yes) enable_static=yes ;;
1768 no) enable_static=no ;;
1771 # Look at the argument we got. We use all the common list separators.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1773 for pkg in $enableval; do
1774 if test "X$pkg" = "X$p"; then
1785 # Check whether --enable-fast-install or --disable-fast-install was given.
1786 if test "${enable_fast_install+set}" = set; then
1787 enableval="$enable_fast_install"
1788 p=${PACKAGE-default}
1790 yes) enable_fast_install=yes ;;
1791 no) enable_fast_install=no ;;
1793 enable_fast_install=no
1794 # Look at the argument we got. We use all the common list separators.
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1796 for pkg in $enableval; do
1797 if test "X$pkg" = "X$p"; then
1798 enable_fast_install=yes
1805 enable_fast_install=yes
1808 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1809 if test "${with_gnu_ld+set}" = set; then
1810 withval="$with_gnu_ld"
1811 test "$withval" = no || with_gnu_ld=yes
1817 if test "$GCC" = yes; then
1818 # Check if gcc -print-prog-name=ld gives a path.
1819 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1820 echo "configure:1821: checking for ld used by GCC" >&5
1823 # gcc leaves a trailing carriage return which upsets mingw
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1829 # Accept absolute paths.
1830 [\\/]* | [A-Za-z]:[\\/]*)
1831 re_direlt='/[^/][^/]*/\.\./'
1832 # Canonicalize the path of ld
1833 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1834 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1835 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1837 test -z "$LD" && LD="$ac_prog"
1840 # If it fails, then pretend we aren't using GCC.
1844 # If it is relative, then search for the first ld in PATH.
1848 elif test "$with_gnu_ld" = yes; then
1849 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1850 echo "configure:1851: checking for GNU ld" >&5
1852 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1853 echo "configure:1854: checking for non-GNU ld" >&5
1855 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1856 echo $ac_n "(cached) $ac_c" 1>&6
1858 if test -z "$LD"; then
1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1860 for ac_dir in $PATH; do
1861 test -z "$ac_dir" && ac_dir=.
1862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1863 lt_cv_path_LD="$ac_dir/$ac_prog"
1864 # Check to see if the program is GNU ld. I'd rather use --version,
1865 # but apparently some GNU ld's only accept -v.
1866 # Break only if it was the GNU/non-GNU ld that we prefer.
1867 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1868 test "$with_gnu_ld" != no && break
1870 test "$with_gnu_ld" != yes && break
1876 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1881 if test -n "$LD"; then
1882 echo "$ac_t""$LD" 1>&6
1884 echo "$ac_t""no" 1>&6
1886 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1887 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1888 echo "configure:1889: checking if the linker ($LD) is GNU ld" >&5
1889 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1893 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1894 lt_cv_prog_gnu_ld=yes
1896 lt_cv_prog_gnu_ld=no
1900 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1901 with_gnu_ld=$lt_cv_prog_gnu_ld
1904 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1905 echo "configure:1906: checking for $LD option to reload object files" >&5
1906 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 lt_cv_ld_reload_flag='-r'
1912 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1913 reload_flag=$lt_cv_ld_reload_flag
1914 test -n "$reload_flag" && reload_flag=" $reload_flag"
1916 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1917 echo "configure:1918: checking for BSD-compatible nm" >&5
1918 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1919 echo $ac_n "(cached) $ac_c" 1>&6
1921 if test -n "$NM"; then
1922 # Let the user override the test.
1925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1926 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1927 test -z "$ac_dir" && ac_dir=.
1928 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1929 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1930 # Check to see if the nm accepts a BSD-compat flag.
1931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1932 # nm: unknown option "B" ignored
1933 # Tru64's nm complains that /dev/null is an invalid object file
1934 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1935 lt_cv_path_NM="$tmp_nm -B"
1937 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1938 lt_cv_path_NM="$tmp_nm -p"
1941 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1942 continue # so that we can try to find one that supports BSD flags
1947 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1952 echo "$ac_t""$NM" 1>&6
1954 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1955 echo "configure:1956: checking how to recognise dependant libraries" >&5
1956 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1957 echo $ac_n "(cached) $ac_c" 1>&6
1959 lt_cv_file_magic_cmd='$MAGIC_CMD'
1960 lt_cv_file_magic_test_file=
1961 lt_cv_deplibs_check_method='unknown'
1962 # Need to set the preceding variable on all platforms that support
1963 # interlibrary dependencies.
1964 # 'none' -- dependencies not supported.
1965 # `unknown' -- same as none, but documents that we really don't know.
1966 # 'pass_all' -- all dependencies passed with no checks.
1967 # 'test_compile' -- check by making test program.
1968 # 'file_magic [regex]' -- check by looking for files in library path
1969 # which responds to the $file_magic_cmd with a given egrep regex.
1970 # If you have `file' or equivalent on your system and you're not sure
1971 # whether `pass_all' will *always* work, you probably want this one.
1975 lt_cv_deplibs_check_method=pass_all
1979 lt_cv_deplibs_check_method=pass_all
1983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1984 lt_cv_file_magic_cmd='/usr/bin/file -L'
1985 lt_cv_file_magic_test_file=/shlib/libc.so
1988 cygwin* | mingw* |pw32*)
1989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1990 lt_cv_file_magic_cmd='$OBJDUMP -f'
1993 darwin* | rhapsody*)
1994 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1995 lt_cv_file_magic_cmd='/usr/bin/file -L'
1997 rhapsody* | darwin1.012)
1998 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2001 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2010 # Not sure whether the presence of OpenBSD here was a mistake.
2011 # Let's accept both of them until this is cleared up.
2012 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2013 lt_cv_file_magic_cmd=/usr/bin/file
2014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2018 lt_cv_deplibs_check_method=pass_all
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2028 lt_cv_file_magic_cmd=/usr/bin/file
2029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2035 # this will be overridden with pass_all, but let us keep it just in case
2036 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2040 *-32|*"-32 ") libmagic=32-bit;;
2041 *-n32|*"-n32 ") libmagic=N32;;
2042 *-64|*"-64 ") libmagic=64-bit;;
2043 *) libmagic=never-match;;
2045 # this will be overridden with pass_all, but let us keep it just in case
2046 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2049 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2050 lt_cv_deplibs_check_method=pass_all
2053 # This must be Linux ELF.
2056 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2057 lt_cv_deplibs_check_method=pass_all ;;
2059 # glibc up to 2.1.1 does not perform some relocations on ARM
2060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2062 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2066 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2069 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2075 lt_cv_file_magic_cmd=/usr/bin/file
2076 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2079 osf3* | osf4* | osf5*)
2080 # this will be overridden with pass_all, but let us keep it just in case
2081 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2082 lt_cv_file_magic_test_file=/shlib/libc.so
2083 lt_cv_deplibs_check_method=pass_all
2087 lt_cv_deplibs_check_method=pass_all
2091 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_file_magic_test_file=/lib/libc.so
2095 sysv5uw[78]* | sysv4*uw2*)
2096 lt_cv_deplibs_check_method=pass_all
2099 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2100 case $host_vendor in
2102 lt_cv_deplibs_check_method=pass_all
2105 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]'
2106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2114 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2115 file_magic_cmd=$lt_cv_file_magic_cmd
2116 deplibs_check_method=$lt_cv_deplibs_check_method
2118 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2119 echo "configure:2120: checking for object suffix" >&5
2120 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2121 echo $ac_n "(cached) $ac_c" 1>&6
2124 echo 'int i = 1;' > conftest.$ac_ext
2125 if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2126 for ac_file in conftest.*; do
2129 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2133 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2138 echo "$ac_t""$ac_cv_objext" 1>&6
2139 OBJEXT=$ac_cv_objext
2140 ac_objext=$ac_cv_objext
2142 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2144 # Only perform the check for file, if the check method requires it
2145 case $deplibs_check_method in
2147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2148 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2149 echo "configure:2150: checking for ${ac_tool_prefix}file" >&5
2150 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2151 echo $ac_n "(cached) $ac_c" 1>&6
2155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2161 ac_save_MAGIC_CMD="$MAGIC_CMD"
2162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2163 ac_dummy="/usr/bin:$PATH"
2164 for ac_dir in $ac_dummy; do
2165 test -z "$ac_dir" && ac_dir=.
2166 if test -f $ac_dir/${ac_tool_prefix}file; then
2167 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2168 if test -n "$file_magic_test_file"; then
2169 case $deplibs_check_method in
2171 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2172 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2174 egrep "$file_magic_regex" > /dev/null; then
2179 *** Warning: the command libtool uses to detect shared libraries,
2180 *** $file_magic_cmd, produces output that libtool cannot recognize.
2181 *** The result is that libtool may fail to recognize shared libraries
2182 *** as such. This will affect the creation of libtool libraries that
2183 *** depend on shared libraries, but programs linked with such libtool
2184 *** libraries will work regardless of this problem. Nevertheless, you
2185 *** may want to report the problem to your system manager and/or to
2186 *** bug-libtool@gnu.org
2196 MAGIC_CMD="$ac_save_MAGIC_CMD"
2201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2202 if test -n "$MAGIC_CMD"; then
2203 echo "$ac_t""$MAGIC_CMD" 1>&6
2205 echo "$ac_t""no" 1>&6
2208 if test -z "$lt_cv_path_MAGIC_CMD"; then
2209 if test -n "$ac_tool_prefix"; then
2210 echo $ac_n "checking for file""... $ac_c" 1>&6
2211 echo "configure:2212: checking for file" >&5
2212 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2213 echo $ac_n "(cached) $ac_c" 1>&6
2217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2223 ac_save_MAGIC_CMD="$MAGIC_CMD"
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2225 ac_dummy="/usr/bin:$PATH"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/file; then
2229 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2230 if test -n "$file_magic_test_file"; then
2231 case $deplibs_check_method in
2233 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2235 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2236 egrep "$file_magic_regex" > /dev/null; then
2241 *** Warning: the command libtool uses to detect shared libraries,
2242 *** $file_magic_cmd, produces output that libtool cannot recognize.
2243 *** The result is that libtool may fail to recognize shared libraries
2244 *** as such. This will affect the creation of libtool libraries that
2245 *** depend on shared libraries, but programs linked with such libtool
2246 *** libraries will work regardless of this problem. Nevertheless, you
2247 *** may want to report the problem to your system manager and/or to
2248 *** bug-libtool@gnu.org
2258 MAGIC_CMD="$ac_save_MAGIC_CMD"
2263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2264 if test -n "$MAGIC_CMD"; then
2265 echo "$ac_t""$MAGIC_CMD" 1>&6
2267 echo "$ac_t""no" 1>&6
2279 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2282 echo "configure:2283: checking for $ac_word" >&5
2283 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2284 echo $ac_n "(cached) $ac_c" 1>&6
2286 if test -n "$RANLIB"; then
2287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2289 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2291 for ac_dir in $ac_dummy; do
2292 test -z "$ac_dir" && ac_dir=.
2293 if test -f $ac_dir/$ac_word; then
2294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2301 RANLIB="$ac_cv_prog_RANLIB"
2302 if test -n "$RANLIB"; then
2303 echo "$ac_t""$RANLIB" 1>&6
2305 echo "$ac_t""no" 1>&6
2309 if test -z "$ac_cv_prog_RANLIB"; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "ranlib", so it can be a program name with args.
2312 set dummy ranlib; ac_word=$2
2313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2314 echo "configure:2315: checking for $ac_word" >&5
2315 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2316 echo $ac_n "(cached) $ac_c" 1>&6
2318 if test -n "$RANLIB"; then
2319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2323 for ac_dir in $ac_dummy; do
2324 test -z "$ac_dir" && ac_dir=.
2325 if test -f $ac_dir/$ac_word; then
2326 ac_cv_prog_RANLIB="ranlib"
2331 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2334 RANLIB="$ac_cv_prog_RANLIB"
2335 if test -n "$RANLIB"; then
2336 echo "$ac_t""$RANLIB" 1>&6
2338 echo "$ac_t""no" 1>&6
2346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
2348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2349 echo "configure:2350: checking for $ac_word" >&5
2350 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2358 for ac_dir in $ac_dummy; do
2359 test -z "$ac_dir" && ac_dir=.
2360 if test -f $ac_dir/$ac_word; then
2361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2368 STRIP="$ac_cv_prog_STRIP"
2369 if test -n "$STRIP"; then
2370 echo "$ac_t""$STRIP" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 if test -z "$ac_cv_prog_STRIP"; then
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "strip", so it can be a program name with args.
2379 set dummy strip; ac_word=$2
2380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2381 echo "configure:2382: checking for $ac_word" >&5
2382 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2383 echo $ac_n "(cached) $ac_c" 1>&6
2385 if test -n "$STRIP"; then
2386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2390 for ac_dir in $ac_dummy; do
2391 test -z "$ac_dir" && ac_dir=.
2392 if test -f $ac_dir/$ac_word; then
2393 ac_cv_prog_STRIP="strip"
2398 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2401 STRIP="$ac_cv_prog_STRIP"
2402 if test -n "$STRIP"; then
2403 echo "$ac_t""$STRIP" 1>&6
2405 echo "$ac_t""no" 1>&6
2414 # Check for any special flags to pass to ltconfig.
2415 libtool_flags="--cache-file=$cache_file"
2416 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2417 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2418 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2419 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2420 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2421 libtool_flags="$libtool_flags --enable-dlopen"
2423 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2424 if test "${enable_libtool_lock+set}" = set; then
2425 enableval="$enable_libtool_lock"
2429 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2430 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2432 # Check whether --with-pic or --without-pic was given.
2433 if test "${with_pic+set}" = set; then
2440 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2441 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2443 # Some flags need to be propagated to the compiler or linker for good
2447 # Find out which ABI we are using.
2448 echo '#line 2449 "configure"' > conftest.$ac_ext
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 case `/usr/bin/file conftest.$ac_objext` in
2466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2467 SAVE_CFLAGS="$CFLAGS"
2468 CFLAGS="$CFLAGS -belf"
2469 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2470 echo "configure:2471: checking whether the C compiler needs -belf" >&5
2471 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2472 echo $ac_n "(cached) $ac_c" 1>&6
2476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2480 cross_compiling=$ac_cv_prog_cc_cross
2482 cat > conftest.$ac_ext <<EOF
2483 #line 2484 "configure"
2484 #include "confdefs.h"
2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2492 lt_cv_cc_needs_belf=yes
2494 echo "configure: failed program was:" >&5
2495 cat conftest.$ac_ext >&5
2497 lt_cv_cc_needs_belf=no
2501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2502 ac_cpp='$CPP $CPPFLAGS'
2503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2505 cross_compiling=$ac_cv_prog_cc_cross
2509 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2510 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2511 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2512 CFLAGS="$SAVE_CFLAGS"
2519 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2520 echo "configure:2521: checking how to run the C++ preprocessor" >&5
2521 if test -z "$CXXCPP"; then
2522 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2523 echo $ac_n "(cached) $ac_c" 1>&6
2526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2527 ac_cpp='$CXXCPP $CPPFLAGS'
2528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2530 cross_compiling=$ac_cv_prog_cxx_cross
2531 CXXCPP="${CXX-g++} -E"
2532 cat > conftest.$ac_ext <<EOF
2533 #line 2534 "configure"
2534 #include "confdefs.h"
2537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2538 { (eval echo configure:2539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2540 if test -z "$ac_err"; then
2544 echo "configure: failed program was:" >&5
2545 cat conftest.$ac_ext >&5
2550 ac_cv_prog_CXXCPP="$CXXCPP"
2552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2556 cross_compiling=$ac_cv_prog_cc_cross
2559 CXXCPP="$ac_cv_prog_CXXCPP"
2560 echo "$ac_t""$CXXCPP" 1>&6
2563 # Save cache, so that ltconfig can load it
2564 cat > confcache <<\EOF
2565 # This file is a shell script that caches the results of configure
2566 # tests run on this system so they can be shared between configure
2567 # scripts and configure runs. It is not useful on other systems.
2568 # If it contains results you don't want to keep, you may remove or edit it.
2570 # By default, configure uses ./config.cache as the cache file,
2571 # creating it if it does not exist already. You can give configure
2572 # the --cache-file=FILE option to use a different cache file; that is
2573 # what configure does when it calls configure scripts in
2574 # subdirectories, so they share the cache.
2575 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2576 # config.status only pays attention to the cache file if you give it the
2577 # --recheck option to rerun configure.
2580 # The following way of writing the cache mishandles newlines in values,
2581 # but we know of no workaround that is simple, portable, and efficient.
2582 # So, don't put newlines in cache variables' values.
2583 # Ultrix sh set writes to stderr and can't be redirected directly,
2584 # and sets the high bit in the cache file unless we assign to the vars.
2586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2588 # `set' does not quote correctly, so add quotes (double-quote substitution
2589 # turns \\\\ into \\, and sed turns \\ into \).
2591 -e "s/'/'\\\\''/g" \
2592 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2595 # `set' quotes correctly as required by POSIX, so do not add quotes.
2596 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2599 if cmp -s $cache_file confcache; then
2602 if test -w $cache_file; then
2603 echo "updating cache $cache_file"
2604 cat confcache > $cache_file
2606 echo "not updating unwritable cache $cache_file"
2612 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2613 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2614 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2615 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2616 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2617 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2618 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2620 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2621 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2623 # Reload cache, that may have been modified by ltconfig
2624 if test -r "$cache_file"; then
2625 echo "loading cache $cache_file"
2628 echo "creating cache $cache_file"
2633 # This can be used to rebuild libtool when needed
2634 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2636 # Always use our own libtool.
2637 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2639 # Redirect the config.log output again, so that the ltconfig log is not
2640 # clobbered by the next message.
2641 exec 5>>./config.log
2645 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2647 lt_save_CFLAGS="$CFLAGS"
2648 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2649 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2650 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2651 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2652 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2653 deplibs_check_method="$deplibs_check_method" \
2654 file_magic_cmd="$file_magic_cmd" \
2655 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2656 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2657 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2659 CFLAGS="$lt_save_CFLAGS"
2661 # Redirect the config.log output again, so that the ltconfig log is not
2662 # clobbered by the next message.
2663 exec 5>>./config.log
2673 # Check for c++ or library specific bits that don't require linking.
2674 #GLIBCPP_CHECK_COMPILER_VERSION
2675 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2676 echo "configure:2677: checking for GNU make" >&5
2677 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2678 echo $ac_n "(cached) $ac_c" 1>&6
2680 _cv_gnu_make_command='' ;
2681 for a in "${MAKE-make}" make gmake gnumake ; do
2682 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2684 _cv_gnu_make_command=$a ;
2691 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2692 if test "x$_cv_gnu_make_command" != "x" ; then
2700 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2701 # Check whether --enable-debug or --disable-debug was given.
2702 if test "${enable_debug+set}" = set; then
2703 enableval="$enable_debug"
2704 case "${enableval}" in
2705 yes) enable_debug=yes ;;
2706 no) enable_debug=no ;;
2707 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2713 case "${enable_debug}" in
2715 DEBUG_FLAGS='-O0 -ggdb3'
2723 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2724 echo "configure:2725: checking how to run the C preprocessor" >&5
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2731 echo $ac_n "(cached) $ac_c" 1>&6
2733 # This must be in double quotes, not single quotes, because CPP may get
2734 # substituted into the Makefile and "${CC-cc}" will confuse make.
2736 # On the NeXT, cc -E runs the code through the compiler's parser,
2737 # not just through cpp.
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure"
2740 #include "confdefs.h"
2744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2747 if test -z "$ac_err"; then
2751 echo "configure: failed program was:" >&5
2752 cat conftest.$ac_ext >&5
2754 CPP="${CC-cc} -E -traditional-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} -nologo -E"
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
2795 ac_cv_prog_CPP="$CPP"
2797 CPP="$ac_cv_prog_CPP"
2799 ac_cv_prog_CPP="$CPP"
2801 echo "$ac_t""$CPP" 1>&6
2804 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2805 echo "configure:2806: checking for cstdio to use" >&5
2806 # Check whether --enable-cstdio or --disable-cstdio was given.
2807 if test "${enable_cstdio+set}" = set; then
2808 enableval="$enable_cstdio"
2809 if test x$enable_cstdio = xno; then
2817 enable_cstdio_flag=$enable_cstdio
2819 case x${enable_cstdio_flag} in
2821 CSTDIO_H=config/io/c_io_libio.h
2822 BASIC_FILE_H=config/io/basic_file_libio.h
2823 BASIC_FILE_CC=config/io/basic_file_libio.cc
2824 echo "$ac_t""libio" 1>&6
2826 # see if we are on a system with libio native (ie, linux)
2827 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2828 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2829 echo "configure:2830: checking for libio.h" >&5
2830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2831 echo $ac_n "(cached) $ac_c" 1>&6
2833 cat > conftest.$ac_ext <<EOF
2834 #line 2835 "configure"
2835 #include "confdefs.h"
2838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2839 { (eval echo configure:2840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2841 if test -z "$ac_err"; then
2843 eval "ac_cv_header_$ac_safe=yes"
2846 echo "configure: failed program was:" >&5
2847 cat conftest.$ac_ext >&5
2849 eval "ac_cv_header_$ac_safe=no"
2853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2854 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2862 # Need to check and see what version of glibc is being used. If
2863 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2864 # compile most of libio for linux systems.
2865 if test x$has_libio = x"yes"; then
2868 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2869 echo "configure:2870: checking for glibc version >= 2.2" >&5
2870 cat > conftest.$ac_ext <<EOF
2871 #line 2872 "configure"
2872 #include "confdefs.h"
2874 #include <features.h>
2875 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2881 egrep "ok" >/dev/null 2>&1; then
2883 glibc_satisfactory=yes
2886 glibc_satisfactory=no
2890 echo "$ac_t""$glibc_satisfactory" 1>&6
2894 # XXX at the moment, admit defeat and force the recompilation
2895 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2896 glibc_satisfactory=no
2898 if test x$glibc_satisfactory = x"yes"; then
2903 # bkoz XXX need to add checks to enable this
2904 # pme XXX here's a first pass at such a check
2905 if test x$enable_c_mbchar != xno; then
2913 # Using libio, but <libio.h> doesn't exist on the target system. . .
2915 # bkoz XXX need to add checks to enable this
2916 # pme XXX here's a first pass at such a check
2917 if test x$enable_c_mbchar != xno; then
2924 xstdio | x | xno | xnone | xyes)
2926 CSTDIO_H=config/io/c_io_stdio.h
2927 BASIC_FILE_H=config/io/basic_file_stdio.h
2928 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2929 echo "$ac_t""stdio" 1>&6
2931 # We're not using stdio.
2936 echo "$enable_cstdio is an unknown io package" 1>&2
2944 # 2000-08-04 bkoz hack
2945 CCODECVT_C=config/io/c_io_libio_codecvt.c
2947 # 2000-08-04 bkoz hack
2951 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2952 GLIBCPP_BUILD_LIBIO_TRUE=
2953 GLIBCPP_BUILD_LIBIO_FALSE='#'
2955 GLIBCPP_BUILD_LIBIO_TRUE='#'
2956 GLIBCPP_BUILD_LIBIO_FALSE=
2960 if test "$need_libio" = yes; then
2961 GLIBCPP_NEED_LIBIO_TRUE=
2962 GLIBCPP_NEED_LIBIO_FALSE='#'
2964 GLIBCPP_NEED_LIBIO_TRUE='#'
2965 GLIBCPP_NEED_LIBIO_FALSE=
2969 if test "$need_wlibio" = yes; then
2970 GLIBCPP_NEED_WLIBIO_TRUE=
2971 GLIBCPP_NEED_WLIBIO_FALSE='#'
2973 GLIBCPP_NEED_WLIBIO_TRUE='#'
2974 GLIBCPP_NEED_WLIBIO_FALSE=
2976 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2977 libio_la=../libio/libio.la
2984 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2985 echo "configure:2986: checking for clocale to use" >&5
2986 # Check whether --enable-clocale or --disable-clocale was given.
2987 if test "${enable_clocale+set}" = set; then
2988 enableval="$enable_clocale"
2989 if test x$enable_clocale = xno; then
2997 enable_clocale_flag=$enable_clocale
2999 if test x$enable_clocale_flag = xno; then
3000 case x${target_os} in
3002 cat > conftest.$ac_ext <<EOF
3003 #line 3004 "configure"
3004 #include "confdefs.h"
3006 #include <features.h>
3007 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3013 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3015 enable_clocale_flag=gnu
3018 enable_clocale_flag=generic
3023 # Test for bugs early in glibc-2.2.x series
3024 if test x$enable_clocale_flag = xgnu; then
3025 if test "$cross_compiling" = yes; then
3026 enable_clocale_flag=generic
3028 cat > conftest.$ac_ext <<EOF
3029 #line 3030 "configure"
3030 #include "confdefs.h"
3032 #define _GNU_SOURCE 1
3036 const char __one[] = "Äuglein Augmen";
3037 const char __two[] = "Äuglein";
3042 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3043 loc_dup = __duplocale(loc);
3044 i = __strcoll_l(__one, __two, loc);
3045 j = __strcoll_l(__one, __two, loc_dup);
3050 if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3052 enable_clocale_flag=gnu
3054 echo "configure: failed program was:" >&5
3055 cat conftest.$ac_ext >&5
3057 enable_clocale_flag=generic
3064 # ... at some point put __strxfrm_l tests in as well.
3067 enable_clocale_flag=generic
3072 case x${enable_clocale_flag} in
3074 echo "$ac_t""generic" 1>&6
3076 # Don't use gettext.
3079 CLOCALE_H=config/locale/generic/c_locale.h
3080 CLOCALE_CC=config/locale/generic/c_locale.cc
3081 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3082 CCOLLATE_CC=config/locale/generic/collate_members.cc
3083 CCTYPE_CC=config/locale/generic/ctype_members.cc
3084 CMESSAGES_H=config/locale/generic/messages_members.h
3085 CMESSAGES_CC=config/locale/generic/messages_members.cc
3086 CMONEY_CC=config/locale/generic/monetary_members.cc
3087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3088 CTIME_CC=config/locale/generic/time_members.cc
3091 echo "$ac_t""gnu" 1>&6
3093 # Declare intention to use gettext, and add support for specific
3095 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3097 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3098 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3101 # Export the build objects.
3102 for ling in $ALL_LINGUAS; do \
3103 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3104 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3109 CLOCALE_H=config/locale/gnu/c_locale.h
3110 CLOCALE_CC=config/locale/gnu/c_locale.cc
3111 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3112 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3113 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3114 CMESSAGES_H=config/locale/gnu/messages_members.h
3115 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3116 CMONEY_CC=config/locale/gnu/monetary_members.cc
3117 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3118 CTIME_CC=config/locale/gnu/time_members.cc
3121 echo "$ac_t""generic" 1>&6
3123 # Don't use gettext.
3126 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3127 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3128 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3129 CCOLLATE_CC=config/locale/generic/collate_members.cc
3130 CCTYPE_CC=config/locale/generic/ctype_members.cc
3131 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3132 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3133 CMONEY_CC=config/locale/generic/monetary_members.cc
3134 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3135 CTIME_CC=config/locale/generic/time_members.cc
3138 echo "$enable_clocale is an unknown locale package" 1>&2
3143 # This is where the testsuite looks for locale catalogs, using the
3144 # -DLOCALEDIR define during testsuite compilation.
3145 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3160 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3161 if test "${enable_c_mbchar+set}" = set; then
3162 enableval="$enable_c_mbchar"
3163 case "$enableval" in
3164 yes) enable_c_mbchar=yes ;;
3165 no) enable_c_mbchar=no ;;
3166 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3173 # Check whether --enable-c99 or --disable-c99 was given.
3174 if test "${enable_c99+set}" = set; then
3175 enableval="$enable_c99"
3176 case "$enableval" in
3177 yes) enable_c99=yes ;;
3178 no) enable_c99=no ;;
3179 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3188 ac_cpp='$CXXCPP $CPPFLAGS'
3189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3191 cross_compiling=$ac_cv_prog_cxx_cross
3194 # Check for the existence of <math.h> functions used if C99 is enabled.
3196 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3197 echo "configure:3198: checking for ISO C99 support in <math.h>" >&5
3198 cat > conftest.$ac_ext <<EOF
3199 #line 3200 "configure"
3200 #include "confdefs.h"
3206 if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3209 echo "configure: failed program was:" >&5
3210 cat conftest.$ac_ext >&5
3215 cat > conftest.$ac_ext <<EOF
3216 #line 3217 "configure"
3217 #include "confdefs.h"
3223 if { (eval echo configure:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3226 echo "configure: failed program was:" >&5
3227 cat conftest.$ac_ext >&5
3232 cat > conftest.$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3240 if { (eval echo configure:3241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3243 echo "configure: failed program was:" >&5
3244 cat conftest.$ac_ext >&5
3249 cat > conftest.$ac_ext <<EOF
3250 #line 3251 "configure"
3251 #include "confdefs.h"
3257 if { (eval echo configure:3258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3260 echo "configure: failed program was:" >&5
3261 cat conftest.$ac_ext >&5
3266 cat > conftest.$ac_ext <<EOF
3267 #line 3268 "configure"
3268 #include "confdefs.h"
3274 if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 echo "configure: failed program was:" >&5
3278 cat conftest.$ac_ext >&5
3283 cat > conftest.$ac_ext <<EOF
3284 #line 3285 "configure"
3285 #include "confdefs.h"
3291 if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3294 echo "configure: failed program was:" >&5
3295 cat conftest.$ac_ext >&5
3300 cat > conftest.$ac_ext <<EOF
3301 #line 3302 "configure"
3302 #include "confdefs.h"
3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3311 echo "configure: failed program was:" >&5
3312 cat conftest.$ac_ext >&5
3317 cat > conftest.$ac_ext <<EOF
3318 #line 3319 "configure"
3319 #include "confdefs.h"
3322 isgreaterequal(0.0,0.0);
3325 if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3328 echo "configure: failed program was:" >&5
3329 cat conftest.$ac_ext >&5
3334 cat > conftest.$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3345 echo "configure: failed program was:" >&5
3346 cat conftest.$ac_ext >&5
3351 cat > conftest.$ac_ext <<EOF
3352 #line 3353 "configure"
3353 #include "confdefs.h"
3356 islessequal(0.0,0.0);
3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3362 echo "configure: failed program was:" >&5
3363 cat conftest.$ac_ext >&5
3368 cat > conftest.$ac_ext <<EOF
3369 #line 3370 "configure"
3370 #include "confdefs.h"
3373 islessgreater(0.0,0.0);
3376 if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3379 echo "configure: failed program was:" >&5
3380 cat conftest.$ac_ext >&5
3385 cat > conftest.$ac_ext <<EOF
3386 #line 3387 "configure"
3387 #include "confdefs.h"
3390 isunordered(0.0,0.0);
3393 if { (eval echo configure:3394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3396 echo "configure: failed program was:" >&5
3397 cat conftest.$ac_ext >&5
3402 echo "$ac_t""$ac_c99_math" 1>&6
3404 # Check for the existence in <stdio.h> of vscanf, et. al.
3406 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3407 echo "configure:3408: checking for ISO C99 support in <stdio.h>" >&5
3408 cat > conftest.$ac_ext <<EOF
3409 #line 3410 "configure"
3410 #include "confdefs.h"
3413 snprintf("12", 0, "%i");
3416 if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3419 echo "configure: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3425 cat > conftest.$ac_ext <<EOF
3426 #line 3427 "configure"
3427 #include "confdefs.h"
3430 void foo(char* fmt, ...)
3431 {va_list args; va_start(args, fmt);
3432 vfscanf(stderr, "%i", args);}
3437 if { (eval echo configure:3438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440 echo "configure: failed program was:" >&5
3441 cat conftest.$ac_ext >&5
3446 cat > conftest.$ac_ext <<EOF
3447 #line 3448 "configure"
3448 #include "confdefs.h"
3451 void foo(char* fmt, ...)
3452 {va_list args; va_start(args, fmt);
3453 vscanf("%i", args);}
3458 if { (eval echo configure:3459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3461 echo "configure: failed program was:" >&5
3462 cat conftest.$ac_ext >&5
3467 cat > conftest.$ac_ext <<EOF
3468 #line 3469 "configure"
3469 #include "confdefs.h"
3472 void foo(char* fmt, ...)
3473 {va_list args; va_start(args, fmt);
3474 vsnprintf(fmt, 0, "%i", args);}
3479 if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3482 echo "configure: failed program was:" >&5
3483 cat conftest.$ac_ext >&5
3488 cat > conftest.$ac_ext <<EOF
3489 #line 3490 "configure"
3490 #include "confdefs.h"
3493 void foo(char* fmt, ...)
3494 {va_list args; va_start(args, fmt);
3495 vsscanf(fmt, "%i", args);}
3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3503 echo "configure: failed program was:" >&5
3504 cat conftest.$ac_ext >&5
3509 echo "$ac_t""$ac_c99_stdio" 1>&6
3511 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3513 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3514 echo "configure:3515: checking for lldiv_t declaration" >&5
3515 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3516 echo $ac_n "(cached) $ac_c" 1>&6
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3531 echo "configure: failed program was:" >&5
3532 cat conftest.$ac_ext >&5
3540 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3542 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3543 echo "configure:3544: checking for ISO C99 support in <stdlib.h>" >&5
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3549 char* tmp; strtof("gnu", &tmp);
3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3555 echo "configure: failed program was:" >&5
3556 cat conftest.$ac_ext >&5
3561 cat > conftest.$ac_ext <<EOF
3562 #line 3563 "configure"
3563 #include "confdefs.h"
3566 char* tmp; strtold("gnu", &tmp);
3569 if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3578 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure"
3580 #include "confdefs.h"
3586 if { (eval echo configure:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3589 echo "configure: failed program was:" >&5
3590 cat conftest.$ac_ext >&5
3595 cat > conftest.$ac_ext <<EOF
3596 #line 3597 "configure"
3597 #include "confdefs.h"
3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3606 echo "configure: failed program was:" >&5
3607 cat conftest.$ac_ext >&5
3612 cat > conftest.$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3620 if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3623 echo "configure: failed program was:" >&5
3624 cat conftest.$ac_ext >&5
3629 cat > conftest.$ac_ext <<EOF
3630 #line 3631 "configure"
3631 #include "confdefs.h"
3637 if { (eval echo configure:3638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3640 echo "configure: failed program was:" >&5
3641 cat conftest.$ac_ext >&5
3646 if test x"$ac_c99_lldiv_t" = x"no"; then
3649 echo "$ac_t""$ac_c99_stdlib" 1>&6
3651 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3652 # XXX the wchar.h checks should be rolled into the general C99 bits.
3654 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3655 echo "configure:3656: checking for additional ISO C99 support in <wchar.h>" >&5
3656 cat > conftest.$ac_ext <<EOF
3657 #line 3658 "configure"
3658 #include "confdefs.h"
3661 wcstold(L"10.0", NULL);
3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3667 echo "configure: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3673 cat > conftest.$ac_ext <<EOF
3674 #line 3675 "configure"
3675 #include "confdefs.h"
3678 wcstoll(L"10", NULL, 10);
3681 if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3684 echo "configure: failed program was:" >&5
3685 cat conftest.$ac_ext >&5
3690 cat > conftest.$ac_ext <<EOF
3691 #line 3692 "configure"
3692 #include "confdefs.h"
3695 wcstoull(L"10", NULL, 10);
3698 if { (eval echo configure:3699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3701 echo "configure: failed program was:" >&5
3702 cat conftest.$ac_ext >&5
3707 echo "$ac_t""$ac_c99_wchar" 1>&6
3709 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3710 echo "configure:3711: checking for enabled ISO C99 support" >&5
3711 if test x"$ac_c99_math" = x"no" ||
3712 test x"$ac_c99_stdio" = x"no" ||
3713 test x"$ac_c99_stdlib" = x"no" ||
3714 test x"$ac_c99_wchar" = x"no"; then
3717 echo "$ac_t""$enable_c99" 1>&6
3719 # Option parsed, now set things appropriately
3720 if test x"$enable_c99" = x"yes"; then
3721 cat >> confdefs.h <<\EOF
3722 #define _GLIBCPP_USE_C99 1
3728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3732 cross_compiling=$ac_cv_prog_cc_cross
3736 # Check whether --enable-long-long or --disable-long-long was given.
3737 if test "${enable_long_long+set}" = set; then
3738 enableval="$enable_long_long"
3739 case "$enableval" in
3740 yes) enable_long_long=yes ;;
3741 no) enable_long_long=no ;;
3742 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3745 enable_long_long=yes
3750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3751 ac_cpp='$CXXCPP $CPPFLAGS'
3752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3754 cross_compiling=$ac_cv_prog_cxx_cross
3757 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3758 echo "configure:3759: checking for enabled long long I/O support" >&5
3759 # iostreams require strtoll, strtoull to compile
3760 cat > conftest.$ac_ext <<EOF
3761 #line 3762 "configure"
3762 #include "confdefs.h"
3765 char* tmp; strtoll("gnu", &tmp, 10);
3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3771 echo "configure: failed program was:" >&5
3772 cat conftest.$ac_ext >&5
3777 cat > conftest.$ac_ext <<EOF
3778 #line 3779 "configure"
3779 #include "confdefs.h"
3782 char* tmp; strtoull("gnu", &tmp, 10);
3785 if { (eval echo configure:3786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3788 echo "configure: failed program was:" >&5
3789 cat conftest.$ac_ext >&5
3795 # Option parsed, now set things appropriately
3796 if test x"$enable_long_long" = xyes; then
3797 cat >> confdefs.h <<\EOF
3798 #define _GLIBCPP_USE_LONG_LONG 1
3802 echo "$ac_t""$enable_long_long" 1>&6
3805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3809 cross_compiling=$ac_cv_prog_cc_cross
3812 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3813 echo "configure:3814: checking for c header strategy to use" >&5
3814 # Check whether --enable-cheaders or --disable-cheaders was given.
3815 if test "${enable_cheaders+set}" = set; then
3816 enableval="$enable_cheaders"
3818 case "$enableval" in
3823 enable_cheaders=c_std
3826 enable_cheaders=c_shadow
3828 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3832 enable_cheaders=c_std
3835 echo "$ac_t""$enable_cheaders" 1>&6
3837 case "$enable_cheaders" in
3839 CSHADOW_FLAGS="-fno-builtin"
3840 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3841 cat >> confdefs.h <<\EOF
3842 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3848 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3852 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3860 if test "$enable_cheaders" = c_shadow; then
3861 GLIBCPP_USE_CSHADOW_TRUE=
3862 GLIBCPP_USE_CSHADOW_FALSE='#'
3864 GLIBCPP_USE_CSHADOW_TRUE='#'
3865 GLIBCPP_USE_CSHADOW_FALSE=
3869 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3870 echo "configure:3871: checking for thread model used by GCC" >&5
3871 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3872 echo "$ac_t""$target_thread_file" 1>&6
3874 if test $target_thread_file != single; then
3875 cat >> confdefs.h <<\EOF
3876 #define HAVE_GTHR_DEFAULT 1
3879 cat >> confdefs.h <<\EOF
3880 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3885 glibcpp_thread_h=gthr-$target_thread_file.h
3888 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3889 if test "${enable_cxx_flags+set}" = set; then
3890 enableval="$enable_cxx_flags"
3891 case "x$enableval" in
3893 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3895 enable_cxx_flags='' ;;
3897 enable_cxx_flags="$enableval" ;;
3900 enable_cxx_flags='none'
3904 if test "$enable_cxx_flags" = "none"; then
3905 enable_cxx_flags='';
3908 if test -n "$enable_cxx_flags"; then
3909 for f in $enable_cxx_flags; do
3913 *) # and we're trying to pass /what/ exactly?
3914 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3918 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3922 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3923 echo "configure:3924: checking for exception model to use" >&5
3926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3927 ac_cpp='$CXXCPP $CPPFLAGS'
3928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3930 cross_compiling=$ac_cv_prog_cxx_cross
3932 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3933 if test "${enable_sjlj_exceptions+set}" = set; then
3934 enableval="$enable_sjlj_exceptions"
3937 cat > conftest.$ac_ext << EOF
3938 #line 3939 "configure"
3947 old_CXXFLAGS="$CXXFLAGS"
3949 if { (eval echo configure:3950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3950 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3951 enable_sjlj_exceptions=yes
3952 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3953 enable_sjlj_exceptions=no
3956 CXXFLAGS="$old_CXXFLAGS"
3960 if test x$enable_sjlj_exceptions = xyes; then
3961 cat >> confdefs.h <<\EOF
3962 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3965 ac_exception_model_name=sjlj
3966 elif test x$enable_sjlj_exceptions = xno; then
3967 ac_exception_model_name="call frame"
3969 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3973 ac_cpp='$CPP $CPPFLAGS'
3974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3976 cross_compiling=$ac_cv_prog_cc_cross
3978 echo "$ac_t""$ac_exception_model_name" 1>&6
3980 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3981 if test "${enable_concept_checks+set}" = set; then
3982 enableval="$enable_concept_checks"
3983 case "$enableval" in
3984 yes) enable_concept_checks=yes ;;
3985 no) enable_concept_checks=no ;;
3986 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3989 enable_concept_checks=no
3991 if test x"$enable_concept_checks" = xyes; then
3992 cat >> confdefs.h <<\EOF
3993 #define _GLIBCPP_CONCEPT_CHECKS 1
4000 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4002 # This lets us hard-code the functionality we know
4003 # we'll have in the cross target environment. "Let" is a
4004 # sugar-coated word placed on an especially dull and tedious hack, actually.
4005 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4006 # that involve linking can't be used:
4007 # "cannot open sim-crt0.o"
4008 # "cannot open crt0.o"
4009 # etc. All this is because there currently exists no unified,
4010 # consistent way for top level CC information to be passed down
4011 # to target directories: newlib includes, newlib linking info,
4012 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4013 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4015 # We are being configured with some form of cross compiler.
4016 GLIBCPP_IS_CROSS_COMPILING=1
4018 # If Canadian cross, then don't pick up tools from the build
4020 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4026 # Construct crosses by hand, eliminating bits that need ld...
4027 # GLIBCPP_CHECK_COMPILER_FEATURES
4028 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4029 # GLIBCPP_CHECK_MATH_SUPPORT
4031 case "$target_alias" in
4033 # Check for available headers.
4034 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4035 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4036 fp.h locale.h float.h inttypes.h
4038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4040 echo "configure:4041: checking for $ac_hdr" >&5
4041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4042 echo $ac_n "(cached) $ac_c" 1>&6
4044 cat > conftest.$ac_ext <<EOF
4045 #line 4046 "configure"
4046 #include "confdefs.h"
4049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4050 { (eval echo configure:4051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4052 if test -z "$ac_err"; then
4054 eval "ac_cv_header_$ac_safe=yes"
4057 echo "configure: failed program was:" >&5
4058 cat conftest.$ac_ext >&5
4060 eval "ac_cv_header_$ac_safe=no"
4064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4065 echo "$ac_t""yes" 1>&6
4066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4067 cat >> confdefs.h <<EOF
4068 #define $ac_tr_hdr 1
4072 echo "$ac_t""no" 1>&6
4076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4079 # If we're not using GNU ld, then there's no point in even trying these
4080 # tests. Check for that first. We should have already tested for gld
4081 # by now (in libtool), but require it now just to be safe...
4082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4086 # The name set by libtool depends on the version of libtool. Shame on us
4087 # for depending on an impl detail, but c'est la vie. Older versions used
4088 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4089 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4090 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4091 # set (hence we're using an older libtool), then set it.
4092 if test x${with_gnu_ld+set} != xset; then
4093 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4094 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4097 with_gnu_ld=$ac_cv_prog_gnu_ld
4101 # Start by getting the version number. I think the libtool test already
4102 # does some of this, but throws away the result.
4104 ldver=`$LD --version 2>/dev/null | head -1 | \
4105 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4107 glibcpp_gnu_ld_version=`echo $ldver | \
4108 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4110 # Set --gc-sections.
4111 if test "$with_gnu_ld" = "notbroken"; then
4112 # GNU ld it is! Joy and bunny rabbits!
4114 # All these tests are for C++; save the language and the compiler flags.
4115 # Need to do this so that g++ won't try to link in libstdc++
4116 ac_test_CFLAGS="${CFLAGS+set}"
4117 ac_save_CFLAGS="$CFLAGS"
4118 CFLAGS='-x c++ -Wl,--gc-sections'
4120 # Check for -Wl,--gc-sections
4121 # XXX This test is broken at the moment, as symbols required for
4122 # linking are now in libsupc++ (not built yet.....). In addition,
4123 # this test has cored on solaris in the past. In addition,
4124 # --gc-sections doesn't really work at the moment (keeps on discarding
4125 # used sections, first .eh_frame and now some of the glibc sections for
4126 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4127 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4128 echo "configure:4129: checking for ld that supports -Wl,--gc-sections" >&5
4129 if test "$cross_compiling" = yes; then
4130 ac_sectionLDflags=yes
4132 cat > conftest.$ac_ext <<EOF
4133 #line 4134 "configure"
4134 #include "confdefs.h"
4144 if { (eval echo configure:4145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4146 ac_sectionLDflags=yes
4148 echo "configure: failed program was:" >&5
4149 cat conftest.$ac_ext >&5
4151 ac_sectionLDflags=no
4156 if test "$ac_test_CFLAGS" = set; then
4157 CFLAGS="$ac_save_CFLAGS"
4159 # this is the suspicious part
4162 if test "$ac_sectionLDflags" = "yes"; then
4163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4165 echo "$ac_t""$ac_sectionLDflags" 1>&6
4168 # Set linker optimization flags.
4169 if test x"$with_gnu_ld" = x"yes" &&
4170 test x"$enable_debug" = x"no"; then
4171 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4178 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4179 echo "configure:4180: checking for main in -lm" >&5
4180 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4182 echo $ac_n "(cached) $ac_c" 1>&6
4184 ac_save_LIBS="$LIBS"
4186 cat > conftest.$ac_ext <<EOF
4187 #line 4188 "configure"
4188 #include "confdefs.h"
4194 if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4196 eval "ac_cv_lib_$ac_lib_var=yes"
4198 echo "configure: failed program was:" >&5
4199 cat conftest.$ac_ext >&5
4201 eval "ac_cv_lib_$ac_lib_var=no"
4204 LIBS="$ac_save_LIBS"
4207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4208 echo "$ac_t""yes" 1>&6
4209 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4210 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4211 cat >> confdefs.h <<EOF
4212 #define $ac_tr_lib 1
4218 echo "$ac_t""no" 1>&6
4221 for ac_func in nan copysignf
4223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4224 echo "configure:4225: checking for $ac_func" >&5
4225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4226 echo $ac_n "(cached) $ac_c" 1>&6
4228 cat > conftest.$ac_ext <<EOF
4229 #line 4230 "configure"
4230 #include "confdefs.h"
4231 /* System header to define __stub macros and hopefully few prototypes,
4232 which can conflict with char $ac_func(); below. */
4234 /* Override any gcc2 internal prototype to avoid an error. */
4235 /* We use char because int might match the return type of a gcc2
4236 builtin and then its argument prototype would still apply. */
4241 /* The GNU C library defines this for functions which it implements
4242 to always fail with ENOSYS. Some functions are actually named
4243 something starting with __ and the normal name is an alias. */
4244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4252 if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4254 eval "ac_cv_func_$ac_func=yes"
4256 echo "configure: failed program was:" >&5
4257 cat conftest.$ac_ext >&5
4259 eval "ac_cv_func_$ac_func=no"
4264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4265 echo "$ac_t""yes" 1>&6
4266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4267 cat >> confdefs.h <<EOF
4268 #define $ac_tr_func 1
4272 echo "$ac_t""no" 1>&6
4273 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4279 USE_COMPLEX_LONG_DOUBLE=no
4280 if test x$ac_cv_func_copysignl = x"yes"; then
4281 USE_COMPLEX_LONG_DOUBLE=yes
4282 for ac_func in signbitl
4284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4285 echo "configure:4286: checking for $ac_func" >&5
4286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4289 cat > conftest.$ac_ext <<EOF
4290 #line 4291 "configure"
4291 #include "confdefs.h"
4292 /* System header to define __stub macros and hopefully few prototypes,
4293 which can conflict with char $ac_func(); below. */
4295 /* Override any gcc2 internal prototype to avoid an error. */
4296 /* We use char because int might match the return type of a gcc2
4297 builtin and then its argument prototype would still apply. */
4302 /* The GNU C library defines this for functions which it implements
4303 to always fail with ENOSYS. Some functions are actually named
4304 something starting with __ and the normal name is an alias. */
4305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4313 if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4315 eval "ac_cv_func_$ac_func=yes"
4317 echo "configure: failed program was:" >&5
4318 cat conftest.$ac_ext >&5
4320 eval "ac_cv_func_$ac_func=no"
4325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4326 echo "$ac_t""yes" 1>&6
4327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4328 cat >> confdefs.h <<EOF
4329 #define $ac_tr_func 1
4333 echo "$ac_t""no" 1>&6
4334 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4345 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4346 echo "configure:4347: checking for mbstate_t" >&5
4347 cat > conftest.$ac_ext <<EOF
4348 #line 4349 "configure"
4349 #include "confdefs.h"
4352 mbstate_t teststate;
4355 if { (eval echo configure:4356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4359 echo "configure: failed program was:" >&5
4360 cat conftest.$ac_ext >&5
4365 echo "$ac_t""$have_mbstate_t" 1>&6
4366 if test x"$have_mbstate_t" = xyes; then
4367 cat >> confdefs.h <<\EOF
4368 #define HAVE_MBSTATE_T 1
4373 for ac_hdr in wchar.h
4375 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4376 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4377 echo "configure:4378: checking for $ac_hdr" >&5
4378 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4379 echo $ac_n "(cached) $ac_c" 1>&6
4381 cat > conftest.$ac_ext <<EOF
4382 #line 4383 "configure"
4383 #include "confdefs.h"
4386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4387 { (eval echo configure:4388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4389 if test -z "$ac_err"; then
4391 eval "ac_cv_header_$ac_safe=yes"
4394 echo "configure: failed program was:" >&5
4395 cat conftest.$ac_ext >&5
4397 eval "ac_cv_header_$ac_safe=no"
4401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4402 echo "$ac_t""yes" 1>&6
4403 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4404 cat >> confdefs.h <<EOF
4405 #define $ac_tr_hdr 1
4409 echo "$ac_t""no" 1>&6
4414 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4415 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4416 echo "configure:4417: checking for wctype.h" >&5
4417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4418 echo $ac_n "(cached) $ac_c" 1>&6
4420 cat > conftest.$ac_ext <<EOF
4421 #line 4422 "configure"
4422 #include "confdefs.h"
4425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4426 { (eval echo configure:4427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4428 if test -z "$ac_err"; then
4430 eval "ac_cv_header_$ac_safe=yes"
4433 echo "configure: failed program was:" >&5
4434 cat conftest.$ac_ext >&5
4436 eval "ac_cv_header_$ac_safe=no"
4440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4441 echo "$ac_t""yes" 1>&6
4444 echo "$ac_t""no" 1>&6
4449 if test x"$ac_has_wchar_h" = xyes &&
4450 test x"$ac_has_wctype_h" = xyes &&
4451 test x"$enable_c_mbchar" != xno; then
4453 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4454 echo "configure:4455: checking for WCHAR_MIN and WCHAR_MAX" >&5
4455 cat > conftest.$ac_ext <<EOF
4456 #line 4457 "configure"
4457 #include "confdefs.h"
4460 int i = WCHAR_MIN; int j = WCHAR_MAX;
4463 if { (eval echo configure:4464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4465 has_wchar_minmax=yes
4467 echo "configure: failed program was:" >&5
4468 cat conftest.$ac_ext >&5
4473 echo "$ac_t""$has_wchar_minmax" 1>&6
4475 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4476 echo "configure:4477: checking for WEOF" >&5
4477 cat > conftest.$ac_ext <<EOF
4478 #line 4479 "configure"
4479 #include "confdefs.h"
4487 if { (eval echo configure:4488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4491 echo "configure: failed program was:" >&5
4492 cat conftest.$ac_ext >&5
4497 echo "$ac_t""$has_weof" 1>&6
4500 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4503 echo "configure:4504: checking for $ac_func" >&5
4504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4505 echo $ac_n "(cached) $ac_c" 1>&6
4507 cat > conftest.$ac_ext <<EOF
4508 #line 4509 "configure"
4509 #include "confdefs.h"
4510 /* System header to define __stub macros and hopefully few prototypes,
4511 which can conflict with char $ac_func(); below. */
4513 /* Override any gcc2 internal prototype to avoid an error. */
4514 /* We use char because int might match the return type of a gcc2
4515 builtin and then its argument prototype would still apply. */
4520 /* The GNU C library defines this for functions which it implements
4521 to always fail with ENOSYS. Some functions are actually named
4522 something starting with __ and the normal name is an alias. */
4523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4531 if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4533 eval "ac_cv_func_$ac_func=yes"
4535 echo "configure: failed program was:" >&5
4536 cat conftest.$ac_ext >&5
4538 eval "ac_cv_func_$ac_func=no"
4543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4544 echo "$ac_t""yes" 1>&6
4545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4546 cat >> confdefs.h <<EOF
4547 #define $ac_tr_func 1
4551 echo "$ac_t""no" 1>&6
4558 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4559 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4560 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4561 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4562 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4563 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4566 echo "configure:4567: checking for $ac_func" >&5
4567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 cat > conftest.$ac_ext <<EOF
4571 #line 4572 "configure"
4572 #include "confdefs.h"
4573 /* System header to define __stub macros and hopefully few prototypes,
4574 which can conflict with char $ac_func(); below. */
4576 /* Override any gcc2 internal prototype to avoid an error. */
4577 /* We use char because int might match the return type of a gcc2
4578 builtin and then its argument prototype would still apply. */
4583 /* The GNU C library defines this for functions which it implements
4584 to always fail with ENOSYS. Some functions are actually named
4585 something starting with __ and the normal name is an alias. */
4586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4596 eval "ac_cv_func_$ac_func=yes"
4598 echo "configure: failed program was:" >&5
4599 cat conftest.$ac_ext >&5
4601 eval "ac_cv_func_$ac_func=no"
4606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4607 echo "$ac_t""yes" 1>&6
4608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4609 cat >> confdefs.h <<EOF
4610 #define $ac_tr_func 1
4614 echo "$ac_t""no" 1>&6
4621 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4622 echo "configure:4623: checking for ISO C99 wchar_t support" >&5
4623 if test x"$has_weof" = xyes &&
4624 test x"$has_wchar_minmax" = xyes &&
4625 test x"$ac_wfuncs" = xyes; then
4626 ac_isoC99_wchar_t=yes
4628 ac_isoC99_wchar_t=no
4630 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4632 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4633 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4634 echo "configure:4635: checking for iconv.h" >&5
4635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4636 echo $ac_n "(cached) $ac_c" 1>&6
4638 cat > conftest.$ac_ext <<EOF
4639 #line 4640 "configure"
4640 #include "confdefs.h"
4643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4644 { (eval echo configure:4645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4646 if test -z "$ac_err"; then
4648 eval "ac_cv_header_$ac_safe=yes"
4651 echo "configure: failed program was:" >&5
4652 cat conftest.$ac_ext >&5
4654 eval "ac_cv_header_$ac_safe=no"
4658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4659 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4666 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4667 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4668 echo "configure:4669: checking for langinfo.h" >&5
4669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4670 echo $ac_n "(cached) $ac_c" 1>&6
4672 cat > conftest.$ac_ext <<EOF
4673 #line 4674 "configure"
4674 #include "confdefs.h"
4675 #include <langinfo.h>
4677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4678 { (eval echo configure:4679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4680 if test -z "$ac_err"; then
4682 eval "ac_cv_header_$ac_safe=yes"
4685 echo "configure: failed program was:" >&5
4686 cat conftest.$ac_ext >&5
4688 eval "ac_cv_header_$ac_safe=no"
4692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4693 echo "$ac_t""yes" 1>&6
4694 ac_has_langinfo_h=yes
4696 echo "$ac_t""no" 1>&6
4697 ac_has_langinfo_h=no
4701 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4702 echo "configure:4703: checking for iconv in -liconv" >&5
4703 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6
4707 ac_save_LIBS="$LIBS"
4708 LIBS="-liconv $LIBS"
4709 cat > conftest.$ac_ext <<EOF
4710 #line 4711 "configure"
4711 #include "confdefs.h"
4712 /* Override any gcc2 internal prototype to avoid an error. */
4713 /* We use char because int might match the return type of a gcc2
4714 builtin and then its argument prototype would still apply. */
4721 if { (eval echo configure:4722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4723 eval "ac_cv_lib_$ac_lib_var=yes"
4725 echo "configure: failed program was:" >&5
4726 cat conftest.$ac_ext >&5
4728 eval "ac_cv_lib_$ac_lib_var=no"
4731 LIBS="$ac_save_LIBS"
4734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4735 echo "$ac_t""yes" 1>&6
4738 echo "$ac_t""no" 1>&6
4741 ac_save_LIBS="$LIBS"
4742 LIBS="$LIBS $libiconv"
4744 for ac_func in iconv_open iconv_close iconv nl_langinfo
4746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4747 echo "configure:4748: checking for $ac_func" >&5
4748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4749 echo $ac_n "(cached) $ac_c" 1>&6
4751 cat > conftest.$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4754 /* System header to define __stub macros and hopefully few prototypes,
4755 which can conflict with char $ac_func(); below. */
4757 /* Override any gcc2 internal prototype to avoid an error. */
4758 /* We use char because int might match the return type of a gcc2
4759 builtin and then its argument prototype would still apply. */
4764 /* The GNU C library defines this for functions which it implements
4765 to always fail with ENOSYS. Some functions are actually named
4766 something starting with __ and the normal name is an alias. */
4767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4777 eval "ac_cv_func_$ac_func=yes"
4779 echo "configure: failed program was:" >&5
4780 cat conftest.$ac_ext >&5
4782 eval "ac_cv_func_$ac_func=no"
4787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4788 echo "$ac_t""yes" 1>&6
4789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4790 cat >> confdefs.h <<EOF
4791 #define $ac_tr_func 1
4796 echo "$ac_t""no" 1>&6
4802 LIBS="$ac_save_LIBS"
4804 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4805 echo "configure:4806: checking for XPG2 wchar_t support" >&5
4806 if test x"$ac_has_iconv_h" = xyes &&
4807 test x"$ac_has_langinfo_h" = xyes &&
4808 test x"$ac_XPG2funcs" = xyes; then
4813 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4815 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4816 echo "configure:4817: checking for enabled wchar_t specializations" >&5
4817 if test x"$ac_isoC99_wchar_t" = xyes &&
4818 test x"$ac_XPG2_wchar_t" = xyes; then
4819 cat >> confdefs.h <<\EOF
4820 #define _GLIBCPP_USE_WCHAR_T 1
4823 echo "$ac_t"""yes"" 1>&6
4825 echo "$ac_t"""no"" 1>&6
4828 echo "configure: warning: wchar_t support disabled." 1>&2
4831 os_include_dir="config/os/gnu-linux"
4832 cat >> confdefs.h <<\EOF
4833 #define HAVE_COPYSIGN 1
4836 cat >> confdefs.h <<\EOF
4837 #define HAVE_COPYSIGNF 1
4840 cat >> confdefs.h <<\EOF
4841 #define HAVE_FINITEF 1
4844 cat >> confdefs.h <<\EOF
4845 #define HAVE_FREXPF 1
4848 cat >> confdefs.h <<\EOF
4849 #define HAVE_HYPOTF 1
4852 cat >> confdefs.h <<\EOF
4853 #define HAVE_SINCOS 1
4856 cat >> confdefs.h <<\EOF
4857 #define HAVE_SINCOSF 1
4860 if test x"long_double_math_on_this_cpu" = x"yes"; then
4861 cat >> confdefs.h <<\EOF
4862 #define HAVE_HYPOTL 1
4868 # Check for available headers.
4869 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4870 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4871 fp.h locale.h float.h inttypes.h
4873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4875 echo "configure:4876: checking for $ac_hdr" >&5
4876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4877 echo $ac_n "(cached) $ac_c" 1>&6
4879 cat > conftest.$ac_ext <<EOF
4880 #line 4881 "configure"
4881 #include "confdefs.h"
4884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4885 { (eval echo configure:4886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4887 if test -z "$ac_err"; then
4889 eval "ac_cv_header_$ac_safe=yes"
4892 echo "configure: failed program was:" >&5
4893 cat conftest.$ac_ext >&5
4895 eval "ac_cv_header_$ac_safe=no"
4899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4900 echo "$ac_t""yes" 1>&6
4901 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4902 cat >> confdefs.h <<EOF
4903 #define $ac_tr_hdr 1
4907 echo "$ac_t""no" 1>&6
4911 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4914 # If we're not using GNU ld, then there's no point in even trying these
4915 # tests. Check for that first. We should have already tested for gld
4916 # by now (in libtool), but require it now just to be safe...
4917 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4918 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4921 # The name set by libtool depends on the version of libtool. Shame on us
4922 # for depending on an impl detail, but c'est la vie. Older versions used
4923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4926 # set (hence we're using an older libtool), then set it.
4927 if test x${with_gnu_ld+set} != xset; then
4928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4932 with_gnu_ld=$ac_cv_prog_gnu_ld
4936 # Start by getting the version number. I think the libtool test already
4937 # does some of this, but throws away the result.
4939 ldver=`$LD --version 2>/dev/null | head -1 | \
4940 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4942 glibcpp_gnu_ld_version=`echo $ldver | \
4943 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4945 # Set --gc-sections.
4946 if test "$with_gnu_ld" = "notbroken"; then
4947 # GNU ld it is! Joy and bunny rabbits!
4949 # All these tests are for C++; save the language and the compiler flags.
4950 # Need to do this so that g++ won't try to link in libstdc++
4951 ac_test_CFLAGS="${CFLAGS+set}"
4952 ac_save_CFLAGS="$CFLAGS"
4953 CFLAGS='-x c++ -Wl,--gc-sections'
4955 # Check for -Wl,--gc-sections
4956 # XXX This test is broken at the moment, as symbols required for
4957 # linking are now in libsupc++ (not built yet.....). In addition,
4958 # this test has cored on solaris in the past. In addition,
4959 # --gc-sections doesn't really work at the moment (keeps on discarding
4960 # used sections, first .eh_frame and now some of the glibc sections for
4961 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4962 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4963 echo "configure:4964: checking for ld that supports -Wl,--gc-sections" >&5
4964 if test "$cross_compiling" = yes; then
4965 ac_sectionLDflags=yes
4967 cat > conftest.$ac_ext <<EOF
4968 #line 4969 "configure"
4969 #include "confdefs.h"
4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4981 ac_sectionLDflags=yes
4983 echo "configure: failed program was:" >&5
4984 cat conftest.$ac_ext >&5
4986 ac_sectionLDflags=no
4991 if test "$ac_test_CFLAGS" = set; then
4992 CFLAGS="$ac_save_CFLAGS"
4994 # this is the suspicious part
4997 if test "$ac_sectionLDflags" = "yes"; then
4998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5000 echo "$ac_t""$ac_sectionLDflags" 1>&6
5003 # Set linker optimization flags.
5004 if test x"$with_gnu_ld" = x"yes" &&
5005 test x"$enable_debug" = x"no"; then
5006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5013 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5014 echo "configure:5015: checking for main in -lm" >&5
5015 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5017 echo $ac_n "(cached) $ac_c" 1>&6
5019 ac_save_LIBS="$LIBS"
5021 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5031 eval "ac_cv_lib_$ac_lib_var=yes"
5033 echo "configure: failed program was:" >&5
5034 cat conftest.$ac_ext >&5
5036 eval "ac_cv_lib_$ac_lib_var=no"
5039 LIBS="$ac_save_LIBS"
5042 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5043 echo "$ac_t""yes" 1>&6
5044 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5045 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5046 cat >> confdefs.h <<EOF
5047 #define $ac_tr_lib 1
5053 echo "$ac_t""no" 1>&6
5056 for ac_func in nan copysignf
5058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5059 echo "configure:5060: checking for $ac_func" >&5
5060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5061 echo $ac_n "(cached) $ac_c" 1>&6
5063 cat > conftest.$ac_ext <<EOF
5064 #line 5065 "configure"
5065 #include "confdefs.h"
5066 /* System header to define __stub macros and hopefully few prototypes,
5067 which can conflict with char $ac_func(); below. */
5069 /* Override any gcc2 internal prototype to avoid an error. */
5070 /* We use char because int might match the return type of a gcc2
5071 builtin and then its argument prototype would still apply. */
5076 /* The GNU C library defines this for functions which it implements
5077 to always fail with ENOSYS. Some functions are actually named
5078 something starting with __ and the normal name is an alias. */
5079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5089 eval "ac_cv_func_$ac_func=yes"
5091 echo "configure: failed program was:" >&5
5092 cat conftest.$ac_ext >&5
5094 eval "ac_cv_func_$ac_func=no"
5099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5100 echo "$ac_t""yes" 1>&6
5101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5102 cat >> confdefs.h <<EOF
5103 #define $ac_tr_func 1
5107 echo "$ac_t""no" 1>&6
5108 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5114 USE_COMPLEX_LONG_DOUBLE=no
5115 if test x$ac_cv_func_copysignl = x"yes"; then
5116 USE_COMPLEX_LONG_DOUBLE=yes
5117 for ac_func in signbitl
5119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5120 echo "configure:5121: checking for $ac_func" >&5
5121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5122 echo $ac_n "(cached) $ac_c" 1>&6
5124 cat > conftest.$ac_ext <<EOF
5125 #line 5126 "configure"
5126 #include "confdefs.h"
5127 /* System header to define __stub macros and hopefully few prototypes,
5128 which can conflict with char $ac_func(); below. */
5130 /* Override any gcc2 internal prototype to avoid an error. */
5131 /* We use char because int might match the return type of a gcc2
5132 builtin and then its argument prototype would still apply. */
5137 /* The GNU C library defines this for functions which it implements
5138 to always fail with ENOSYS. Some functions are actually named
5139 something starting with __ and the normal name is an alias. */
5140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5148 if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5150 eval "ac_cv_func_$ac_func=yes"
5152 echo "configure: failed program was:" >&5
5153 cat conftest.$ac_ext >&5
5155 eval "ac_cv_func_$ac_func=no"
5160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5161 echo "$ac_t""yes" 1>&6
5162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5163 cat >> confdefs.h <<EOF
5164 #define $ac_tr_func 1
5168 echo "$ac_t""no" 1>&6
5169 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5180 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5181 echo "configure:5182: checking for mbstate_t" >&5
5182 cat > conftest.$ac_ext <<EOF
5183 #line 5184 "configure"
5184 #include "confdefs.h"
5187 mbstate_t teststate;
5190 if { (eval echo configure:5191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5194 echo "configure: failed program was:" >&5
5195 cat conftest.$ac_ext >&5
5200 echo "$ac_t""$have_mbstate_t" 1>&6
5201 if test x"$have_mbstate_t" = xyes; then
5202 cat >> confdefs.h <<\EOF
5203 #define HAVE_MBSTATE_T 1
5208 for ac_hdr in wchar.h
5210 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5212 echo "configure:5213: checking for $ac_hdr" >&5
5213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5214 echo $ac_n "(cached) $ac_c" 1>&6
5216 cat > conftest.$ac_ext <<EOF
5217 #line 5218 "configure"
5218 #include "confdefs.h"
5221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5222 { (eval echo configure:5223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5224 if test -z "$ac_err"; then
5226 eval "ac_cv_header_$ac_safe=yes"
5229 echo "configure: failed program was:" >&5
5230 cat conftest.$ac_ext >&5
5232 eval "ac_cv_header_$ac_safe=no"
5236 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5237 echo "$ac_t""yes" 1>&6
5238 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5239 cat >> confdefs.h <<EOF
5240 #define $ac_tr_hdr 1
5244 echo "$ac_t""no" 1>&6
5249 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
5250 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
5251 echo "configure:5252: checking for wctype.h" >&5
5252 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5253 echo $ac_n "(cached) $ac_c" 1>&6
5255 cat > conftest.$ac_ext <<EOF
5256 #line 5257 "configure"
5257 #include "confdefs.h"
5260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5261 { (eval echo configure:5262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5263 if test -z "$ac_err"; then
5265 eval "ac_cv_header_$ac_safe=yes"
5268 echo "configure: failed program was:" >&5
5269 cat conftest.$ac_ext >&5
5271 eval "ac_cv_header_$ac_safe=no"
5275 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5276 echo "$ac_t""yes" 1>&6
5279 echo "$ac_t""no" 1>&6
5284 if test x"$ac_has_wchar_h" = xyes &&
5285 test x"$ac_has_wctype_h" = xyes &&
5286 test x"$enable_c_mbchar" != xno; then
5288 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5289 echo "configure:5290: checking for WCHAR_MIN and WCHAR_MAX" >&5
5290 cat > conftest.$ac_ext <<EOF
5291 #line 5292 "configure"
5292 #include "confdefs.h"
5295 int i = WCHAR_MIN; int j = WCHAR_MAX;
5298 if { (eval echo configure:5299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5300 has_wchar_minmax=yes
5302 echo "configure: failed program was:" >&5
5303 cat conftest.$ac_ext >&5
5308 echo "$ac_t""$has_wchar_minmax" 1>&6
5310 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5311 echo "configure:5312: checking for WEOF" >&5
5312 cat > conftest.$ac_ext <<EOF
5313 #line 5314 "configure"
5314 #include "confdefs.h"
5322 if { (eval echo configure:5323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5326 echo "configure: failed program was:" >&5
5327 cat conftest.$ac_ext >&5
5332 echo "$ac_t""$has_weof" 1>&6
5335 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5338 echo "configure:5339: checking for $ac_func" >&5
5339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5340 echo $ac_n "(cached) $ac_c" 1>&6
5342 cat > conftest.$ac_ext <<EOF
5343 #line 5344 "configure"
5344 #include "confdefs.h"
5345 /* System header to define __stub macros and hopefully few prototypes,
5346 which can conflict with char $ac_func(); below. */
5348 /* Override any gcc2 internal prototype to avoid an error. */
5349 /* We use char because int might match the return type of a gcc2
5350 builtin and then its argument prototype would still apply. */
5355 /* The GNU C library defines this for functions which it implements
5356 to always fail with ENOSYS. Some functions are actually named
5357 something starting with __ and the normal name is an alias. */
5358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5366 if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5368 eval "ac_cv_func_$ac_func=yes"
5370 echo "configure: failed program was:" >&5
5371 cat conftest.$ac_ext >&5
5373 eval "ac_cv_func_$ac_func=no"
5378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5379 echo "$ac_t""yes" 1>&6
5380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5381 cat >> confdefs.h <<EOF
5382 #define $ac_tr_func 1
5386 echo "$ac_t""no" 1>&6
5393 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5394 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5395 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5396 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5397 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5398 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5401 echo "configure:5402: checking for $ac_func" >&5
5402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5403 echo $ac_n "(cached) $ac_c" 1>&6
5405 cat > conftest.$ac_ext <<EOF
5406 #line 5407 "configure"
5407 #include "confdefs.h"
5408 /* System header to define __stub macros and hopefully few prototypes,
5409 which can conflict with char $ac_func(); below. */
5411 /* Override any gcc2 internal prototype to avoid an error. */
5412 /* We use char because int might match the return type of a gcc2
5413 builtin and then its argument prototype would still apply. */
5418 /* The GNU C library defines this for functions which it implements
5419 to always fail with ENOSYS. Some functions are actually named
5420 something starting with __ and the normal name is an alias. */
5421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5431 eval "ac_cv_func_$ac_func=yes"
5433 echo "configure: failed program was:" >&5
5434 cat conftest.$ac_ext >&5
5436 eval "ac_cv_func_$ac_func=no"
5441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5442 echo "$ac_t""yes" 1>&6
5443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5444 cat >> confdefs.h <<EOF
5445 #define $ac_tr_func 1
5449 echo "$ac_t""no" 1>&6
5456 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5457 echo "configure:5458: checking for ISO C99 wchar_t support" >&5
5458 if test x"$has_weof" = xyes &&
5459 test x"$has_wchar_minmax" = xyes &&
5460 test x"$ac_wfuncs" = xyes; then
5461 ac_isoC99_wchar_t=yes
5463 ac_isoC99_wchar_t=no
5465 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5467 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5468 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5469 echo "configure:5470: checking for iconv.h" >&5
5470 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5471 echo $ac_n "(cached) $ac_c" 1>&6
5473 cat > conftest.$ac_ext <<EOF
5474 #line 5475 "configure"
5475 #include "confdefs.h"
5478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5479 { (eval echo configure:5480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5481 if test -z "$ac_err"; then
5483 eval "ac_cv_header_$ac_safe=yes"
5486 echo "configure: failed program was:" >&5
5487 cat conftest.$ac_ext >&5
5489 eval "ac_cv_header_$ac_safe=no"
5493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5494 echo "$ac_t""yes" 1>&6
5497 echo "$ac_t""no" 1>&6
5501 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5502 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5503 echo "configure:5504: checking for langinfo.h" >&5
5504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5505 echo $ac_n "(cached) $ac_c" 1>&6
5507 cat > conftest.$ac_ext <<EOF
5508 #line 5509 "configure"
5509 #include "confdefs.h"
5510 #include <langinfo.h>
5512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5513 { (eval echo configure:5514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5515 if test -z "$ac_err"; then
5517 eval "ac_cv_header_$ac_safe=yes"
5520 echo "configure: failed program was:" >&5
5521 cat conftest.$ac_ext >&5
5523 eval "ac_cv_header_$ac_safe=no"
5527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5528 echo "$ac_t""yes" 1>&6
5529 ac_has_langinfo_h=yes
5531 echo "$ac_t""no" 1>&6
5532 ac_has_langinfo_h=no
5536 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5537 echo "configure:5538: checking for iconv in -liconv" >&5
5538 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5539 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5540 echo $ac_n "(cached) $ac_c" 1>&6
5542 ac_save_LIBS="$LIBS"
5543 LIBS="-liconv $LIBS"
5544 cat > conftest.$ac_ext <<EOF
5545 #line 5546 "configure"
5546 #include "confdefs.h"
5547 /* Override any gcc2 internal prototype to avoid an error. */
5548 /* We use char because int might match the return type of a gcc2
5549 builtin and then its argument prototype would still apply. */
5556 if { (eval echo configure:5557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5558 eval "ac_cv_lib_$ac_lib_var=yes"
5560 echo "configure: failed program was:" >&5
5561 cat conftest.$ac_ext >&5
5563 eval "ac_cv_lib_$ac_lib_var=no"
5566 LIBS="$ac_save_LIBS"
5569 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5570 echo "$ac_t""yes" 1>&6
5573 echo "$ac_t""no" 1>&6
5576 ac_save_LIBS="$LIBS"
5577 LIBS="$LIBS $libiconv"
5579 for ac_func in iconv_open iconv_close iconv nl_langinfo
5581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5582 echo "configure:5583: checking for $ac_func" >&5
5583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5584 echo $ac_n "(cached) $ac_c" 1>&6
5586 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure"
5588 #include "confdefs.h"
5589 /* System header to define __stub macros and hopefully few prototypes,
5590 which can conflict with char $ac_func(); below. */
5592 /* Override any gcc2 internal prototype to avoid an error. */
5593 /* We use char because int might match the return type of a gcc2
5594 builtin and then its argument prototype would still apply. */
5599 /* The GNU C library defines this for functions which it implements
5600 to always fail with ENOSYS. Some functions are actually named
5601 something starting with __ and the normal name is an alias. */
5602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5610 if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5612 eval "ac_cv_func_$ac_func=yes"
5614 echo "configure: failed program was:" >&5
5615 cat conftest.$ac_ext >&5
5617 eval "ac_cv_func_$ac_func=no"
5622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5623 echo "$ac_t""yes" 1>&6
5624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5625 cat >> confdefs.h <<EOF
5626 #define $ac_tr_func 1
5631 echo "$ac_t""no" 1>&6
5637 LIBS="$ac_save_LIBS"
5639 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5640 echo "configure:5641: checking for XPG2 wchar_t support" >&5
5641 if test x"$ac_has_iconv_h" = xyes &&
5642 test x"$ac_has_langinfo_h" = xyes &&
5643 test x"$ac_XPG2funcs" = xyes; then
5648 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5650 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5651 echo "configure:5652: checking for enabled wchar_t specializations" >&5
5652 if test x"$ac_isoC99_wchar_t" = xyes &&
5653 test x"$ac_XPG2_wchar_t" = xyes; then
5654 cat >> confdefs.h <<\EOF
5655 #define _GLIBCPP_USE_WCHAR_T 1
5658 echo "$ac_t"""yes"" 1>&6
5660 echo "$ac_t"""no"" 1>&6
5663 echo "configure: warning: wchar_t support disabled." 1>&2
5666 os_include_dir="config/os/hpux"
5667 cat >> confdefs.h <<\EOF
5668 #define HAVE_COPYSIGN 1
5671 cat >> confdefs.h <<\EOF
5672 #define HAVE_COPYSIGNF 1
5675 cat >> confdefs.h <<\EOF
5676 #define HAVE_FINITEF 1
5679 cat >> confdefs.h <<\EOF
5680 #define HAVE_FREXPF 1
5683 cat >> confdefs.h <<\EOF
5684 #define HAVE_HYPOT 1
5687 cat >> confdefs.h <<\EOF
5688 #define HAVE_SINCOS 1
5691 cat >> confdefs.h <<\EOF
5692 #define HAVE_SINCOSF 1
5697 # Check for available headers.
5698 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5699 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5700 fp.h locale.h float.h inttypes.h
5702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5704 echo "configure:5705: checking for $ac_hdr" >&5
5705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5706 echo $ac_n "(cached) $ac_c" 1>&6
5708 cat > conftest.$ac_ext <<EOF
5709 #line 5710 "configure"
5710 #include "confdefs.h"
5713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5714 { (eval echo configure:5715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5716 if test -z "$ac_err"; then
5718 eval "ac_cv_header_$ac_safe=yes"
5721 echo "configure: failed program was:" >&5
5722 cat conftest.$ac_ext >&5
5724 eval "ac_cv_header_$ac_safe=no"
5728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5729 echo "$ac_t""yes" 1>&6
5730 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5731 cat >> confdefs.h <<EOF
5732 #define $ac_tr_hdr 1
5736 echo "$ac_t""no" 1>&6
5740 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5743 # If we're not using GNU ld, then there's no point in even trying these
5744 # tests. Check for that first. We should have already tested for gld
5745 # by now (in libtool), but require it now just to be safe...
5746 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5747 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5750 # The name set by libtool depends on the version of libtool. Shame on us
5751 # for depending on an impl detail, but c'est la vie. Older versions used
5752 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5753 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5754 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5755 # set (hence we're using an older libtool), then set it.
5756 if test x${with_gnu_ld+set} != xset; then
5757 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5758 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5761 with_gnu_ld=$ac_cv_prog_gnu_ld
5765 # Start by getting the version number. I think the libtool test already
5766 # does some of this, but throws away the result.
5768 ldver=`$LD --version 2>/dev/null | head -1 | \
5769 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5771 glibcpp_gnu_ld_version=`echo $ldver | \
5772 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5774 # Set --gc-sections.
5775 if test "$with_gnu_ld" = "notbroken"; then
5776 # GNU ld it is! Joy and bunny rabbits!
5778 # All these tests are for C++; save the language and the compiler flags.
5779 # Need to do this so that g++ won't try to link in libstdc++
5780 ac_test_CFLAGS="${CFLAGS+set}"
5781 ac_save_CFLAGS="$CFLAGS"
5782 CFLAGS='-x c++ -Wl,--gc-sections'
5784 # Check for -Wl,--gc-sections
5785 # XXX This test is broken at the moment, as symbols required for
5786 # linking are now in libsupc++ (not built yet.....). In addition,
5787 # this test has cored on solaris in the past. In addition,
5788 # --gc-sections doesn't really work at the moment (keeps on discarding
5789 # used sections, first .eh_frame and now some of the glibc sections for
5790 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5791 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5792 echo "configure:5793: checking for ld that supports -Wl,--gc-sections" >&5
5793 if test "$cross_compiling" = yes; then
5794 ac_sectionLDflags=yes
5796 cat > conftest.$ac_ext <<EOF
5797 #line 5798 "configure"
5798 #include "confdefs.h"
5808 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5810 ac_sectionLDflags=yes
5812 echo "configure: failed program was:" >&5
5813 cat conftest.$ac_ext >&5
5815 ac_sectionLDflags=no
5820 if test "$ac_test_CFLAGS" = set; then
5821 CFLAGS="$ac_save_CFLAGS"
5823 # this is the suspicious part
5826 if test "$ac_sectionLDflags" = "yes"; then
5827 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5829 echo "$ac_t""$ac_sectionLDflags" 1>&6
5832 # Set linker optimization flags.
5833 if test x"$with_gnu_ld" = x"yes" &&
5834 test x"$enable_debug" = x"no"; then
5835 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5842 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5843 echo "configure:5844: checking for main in -lm" >&5
5844 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5846 echo $ac_n "(cached) $ac_c" 1>&6
5848 ac_save_LIBS="$LIBS"
5850 cat > conftest.$ac_ext <<EOF
5851 #line 5852 "configure"
5852 #include "confdefs.h"
5858 if { (eval echo configure:5859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5860 eval "ac_cv_lib_$ac_lib_var=yes"
5862 echo "configure: failed program was:" >&5
5863 cat conftest.$ac_ext >&5
5865 eval "ac_cv_lib_$ac_lib_var=no"
5868 LIBS="$ac_save_LIBS"
5871 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5872 echo "$ac_t""yes" 1>&6
5873 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5874 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5875 cat >> confdefs.h <<EOF
5876 #define $ac_tr_lib 1
5882 echo "$ac_t""no" 1>&6
5885 for ac_func in nan copysignf
5887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5888 echo "configure:5889: checking for $ac_func" >&5
5889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5890 echo $ac_n "(cached) $ac_c" 1>&6
5892 cat > conftest.$ac_ext <<EOF
5893 #line 5894 "configure"
5894 #include "confdefs.h"
5895 /* System header to define __stub macros and hopefully few prototypes,
5896 which can conflict with char $ac_func(); below. */
5898 /* Override any gcc2 internal prototype to avoid an error. */
5899 /* We use char because int might match the return type of a gcc2
5900 builtin and then its argument prototype would still apply. */
5905 /* The GNU C library defines this for functions which it implements
5906 to always fail with ENOSYS. Some functions are actually named
5907 something starting with __ and the normal name is an alias. */
5908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5916 if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5918 eval "ac_cv_func_$ac_func=yes"
5920 echo "configure: failed program was:" >&5
5921 cat conftest.$ac_ext >&5
5923 eval "ac_cv_func_$ac_func=no"
5928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5929 echo "$ac_t""yes" 1>&6
5930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5931 cat >> confdefs.h <<EOF
5932 #define $ac_tr_func 1
5936 echo "$ac_t""no" 1>&6
5937 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5943 USE_COMPLEX_LONG_DOUBLE=no
5944 if test x$ac_cv_func_copysignl = x"yes"; then
5945 USE_COMPLEX_LONG_DOUBLE=yes
5946 for ac_func in signbitl
5948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5949 echo "configure:5950: checking for $ac_func" >&5
5950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5951 echo $ac_n "(cached) $ac_c" 1>&6
5953 cat > conftest.$ac_ext <<EOF
5954 #line 5955 "configure"
5955 #include "confdefs.h"
5956 /* System header to define __stub macros and hopefully few prototypes,
5957 which can conflict with char $ac_func(); below. */
5959 /* Override any gcc2 internal prototype to avoid an error. */
5960 /* We use char because int might match the return type of a gcc2
5961 builtin and then its argument prototype would still apply. */
5966 /* The GNU C library defines this for functions which it implements
5967 to always fail with ENOSYS. Some functions are actually named
5968 something starting with __ and the normal name is an alias. */
5969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5977 if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5979 eval "ac_cv_func_$ac_func=yes"
5981 echo "configure: failed program was:" >&5
5982 cat conftest.$ac_ext >&5
5984 eval "ac_cv_func_$ac_func=no"
5989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5990 echo "$ac_t""yes" 1>&6
5991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5992 cat >> confdefs.h <<EOF
5993 #define $ac_tr_func 1
5997 echo "$ac_t""no" 1>&6
5998 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6009 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6010 echo "configure:6011: checking for mbstate_t" >&5
6011 cat > conftest.$ac_ext <<EOF
6012 #line 6013 "configure"
6013 #include "confdefs.h"
6016 mbstate_t teststate;
6019 if { (eval echo configure:6020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6023 echo "configure: failed program was:" >&5
6024 cat conftest.$ac_ext >&5
6029 echo "$ac_t""$have_mbstate_t" 1>&6
6030 if test x"$have_mbstate_t" = xyes; then
6031 cat >> confdefs.h <<\EOF
6032 #define HAVE_MBSTATE_T 1
6037 for ac_hdr in wchar.h
6039 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6040 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6041 echo "configure:6042: checking for $ac_hdr" >&5
6042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6043 echo $ac_n "(cached) $ac_c" 1>&6
6045 cat > conftest.$ac_ext <<EOF
6046 #line 6047 "configure"
6047 #include "confdefs.h"
6050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6051 { (eval echo configure:6052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6053 if test -z "$ac_err"; then
6055 eval "ac_cv_header_$ac_safe=yes"
6058 echo "configure: failed program was:" >&5
6059 cat conftest.$ac_ext >&5
6061 eval "ac_cv_header_$ac_safe=no"
6065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6066 echo "$ac_t""yes" 1>&6
6067 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6068 cat >> confdefs.h <<EOF
6069 #define $ac_tr_hdr 1
6073 echo "$ac_t""no" 1>&6
6078 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
6079 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
6080 echo "configure:6081: checking for wctype.h" >&5
6081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6082 echo $ac_n "(cached) $ac_c" 1>&6
6084 cat > conftest.$ac_ext <<EOF
6085 #line 6086 "configure"
6086 #include "confdefs.h"
6089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6090 { (eval echo configure:6091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6092 if test -z "$ac_err"; then
6094 eval "ac_cv_header_$ac_safe=yes"
6097 echo "configure: failed program was:" >&5
6098 cat conftest.$ac_ext >&5
6100 eval "ac_cv_header_$ac_safe=no"
6104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6105 echo "$ac_t""yes" 1>&6
6108 echo "$ac_t""no" 1>&6
6113 if test x"$ac_has_wchar_h" = xyes &&
6114 test x"$ac_has_wctype_h" = xyes &&
6115 test x"$enable_c_mbchar" != xno; then
6117 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6118 echo "configure:6119: checking for WCHAR_MIN and WCHAR_MAX" >&5
6119 cat > conftest.$ac_ext <<EOF
6120 #line 6121 "configure"
6121 #include "confdefs.h"
6124 int i = WCHAR_MIN; int j = WCHAR_MAX;
6127 if { (eval echo configure:6128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6129 has_wchar_minmax=yes
6131 echo "configure: failed program was:" >&5
6132 cat conftest.$ac_ext >&5
6137 echo "$ac_t""$has_wchar_minmax" 1>&6
6139 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6140 echo "configure:6141: checking for WEOF" >&5
6141 cat > conftest.$ac_ext <<EOF
6142 #line 6143 "configure"
6143 #include "confdefs.h"
6151 if { (eval echo configure:6152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6155 echo "configure: failed program was:" >&5
6156 cat conftest.$ac_ext >&5
6161 echo "$ac_t""$has_weof" 1>&6
6164 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6167 echo "configure:6168: checking for $ac_func" >&5
6168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6169 echo $ac_n "(cached) $ac_c" 1>&6
6171 cat > conftest.$ac_ext <<EOF
6172 #line 6173 "configure"
6173 #include "confdefs.h"
6174 /* System header to define __stub macros and hopefully few prototypes,
6175 which can conflict with char $ac_func(); below. */
6177 /* Override any gcc2 internal prototype to avoid an error. */
6178 /* We use char because int might match the return type of a gcc2
6179 builtin and then its argument prototype would still apply. */
6184 /* The GNU C library defines this for functions which it implements
6185 to always fail with ENOSYS. Some functions are actually named
6186 something starting with __ and the normal name is an alias. */
6187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6195 if { (eval echo configure:6196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6197 eval "ac_cv_func_$ac_func=yes"
6199 echo "configure: failed program was:" >&5
6200 cat conftest.$ac_ext >&5
6202 eval "ac_cv_func_$ac_func=no"
6207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6208 echo "$ac_t""yes" 1>&6
6209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6210 cat >> confdefs.h <<EOF
6211 #define $ac_tr_func 1
6215 echo "$ac_t""no" 1>&6
6222 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6223 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6224 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6225 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6226 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6227 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6230 echo "configure:6231: checking for $ac_func" >&5
6231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 cat > conftest.$ac_ext <<EOF
6235 #line 6236 "configure"
6236 #include "confdefs.h"
6237 /* System header to define __stub macros and hopefully few prototypes,
6238 which can conflict with char $ac_func(); below. */
6240 /* Override any gcc2 internal prototype to avoid an error. */
6241 /* We use char because int might match the return type of a gcc2
6242 builtin and then its argument prototype would still apply. */
6247 /* The GNU C library defines this for functions which it implements
6248 to always fail with ENOSYS. Some functions are actually named
6249 something starting with __ and the normal name is an alias. */
6250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6260 eval "ac_cv_func_$ac_func=yes"
6262 echo "configure: failed program was:" >&5
6263 cat conftest.$ac_ext >&5
6265 eval "ac_cv_func_$ac_func=no"
6270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6271 echo "$ac_t""yes" 1>&6
6272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6273 cat >> confdefs.h <<EOF
6274 #define $ac_tr_func 1
6278 echo "$ac_t""no" 1>&6
6285 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6286 echo "configure:6287: checking for ISO C99 wchar_t support" >&5
6287 if test x"$has_weof" = xyes &&
6288 test x"$has_wchar_minmax" = xyes &&
6289 test x"$ac_wfuncs" = xyes; then
6290 ac_isoC99_wchar_t=yes
6292 ac_isoC99_wchar_t=no
6294 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6296 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6297 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6298 echo "configure:6299: checking for iconv.h" >&5
6299 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6300 echo $ac_n "(cached) $ac_c" 1>&6
6302 cat > conftest.$ac_ext <<EOF
6303 #line 6304 "configure"
6304 #include "confdefs.h"
6307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6308 { (eval echo configure:6309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6310 if test -z "$ac_err"; then
6312 eval "ac_cv_header_$ac_safe=yes"
6315 echo "configure: failed program was:" >&5
6316 cat conftest.$ac_ext >&5
6318 eval "ac_cv_header_$ac_safe=no"
6322 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6323 echo "$ac_t""yes" 1>&6
6326 echo "$ac_t""no" 1>&6
6330 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6331 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6332 echo "configure:6333: checking for langinfo.h" >&5
6333 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6334 echo $ac_n "(cached) $ac_c" 1>&6
6336 cat > conftest.$ac_ext <<EOF
6337 #line 6338 "configure"
6338 #include "confdefs.h"
6339 #include <langinfo.h>
6341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6342 { (eval echo configure:6343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6344 if test -z "$ac_err"; then
6346 eval "ac_cv_header_$ac_safe=yes"
6349 echo "configure: failed program was:" >&5
6350 cat conftest.$ac_ext >&5
6352 eval "ac_cv_header_$ac_safe=no"
6356 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6357 echo "$ac_t""yes" 1>&6
6358 ac_has_langinfo_h=yes
6360 echo "$ac_t""no" 1>&6
6361 ac_has_langinfo_h=no
6365 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6366 echo "configure:6367: checking for iconv in -liconv" >&5
6367 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6369 echo $ac_n "(cached) $ac_c" 1>&6
6371 ac_save_LIBS="$LIBS"
6372 LIBS="-liconv $LIBS"
6373 cat > conftest.$ac_ext <<EOF
6374 #line 6375 "configure"
6375 #include "confdefs.h"
6376 /* Override any gcc2 internal prototype to avoid an error. */
6377 /* We use char because int might match the return type of a gcc2
6378 builtin and then its argument prototype would still apply. */
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6387 eval "ac_cv_lib_$ac_lib_var=yes"
6389 echo "configure: failed program was:" >&5
6390 cat conftest.$ac_ext >&5
6392 eval "ac_cv_lib_$ac_lib_var=no"
6395 LIBS="$ac_save_LIBS"
6398 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6399 echo "$ac_t""yes" 1>&6
6402 echo "$ac_t""no" 1>&6
6405 ac_save_LIBS="$LIBS"
6406 LIBS="$LIBS $libiconv"
6408 for ac_func in iconv_open iconv_close iconv nl_langinfo
6410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6411 echo "configure:6412: checking for $ac_func" >&5
6412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6413 echo $ac_n "(cached) $ac_c" 1>&6
6415 cat > conftest.$ac_ext <<EOF
6416 #line 6417 "configure"
6417 #include "confdefs.h"
6418 /* System header to define __stub macros and hopefully few prototypes,
6419 which can conflict with char $ac_func(); below. */
6421 /* Override any gcc2 internal prototype to avoid an error. */
6422 /* We use char because int might match the return type of a gcc2
6423 builtin and then its argument prototype would still apply. */
6428 /* The GNU C library defines this for functions which it implements
6429 to always fail with ENOSYS. Some functions are actually named
6430 something starting with __ and the normal name is an alias. */
6431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6439 if { (eval echo configure:6440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6441 eval "ac_cv_func_$ac_func=yes"
6443 echo "configure: failed program was:" >&5
6444 cat conftest.$ac_ext >&5
6446 eval "ac_cv_func_$ac_func=no"
6451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6452 echo "$ac_t""yes" 1>&6
6453 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6454 cat >> confdefs.h <<EOF
6455 #define $ac_tr_func 1
6460 echo "$ac_t""no" 1>&6
6466 LIBS="$ac_save_LIBS"
6468 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6469 echo "configure:6470: checking for XPG2 wchar_t support" >&5
6470 if test x"$ac_has_iconv_h" = xyes &&
6471 test x"$ac_has_langinfo_h" = xyes &&
6472 test x"$ac_XPG2funcs" = xyes; then
6477 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6479 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6480 echo "configure:6481: checking for enabled wchar_t specializations" >&5
6481 if test x"$ac_isoC99_wchar_t" = xyes &&
6482 test x"$ac_XPG2_wchar_t" = xyes; then
6483 cat >> confdefs.h <<\EOF
6484 #define _GLIBCPP_USE_WCHAR_T 1
6487 echo "$ac_t"""yes"" 1>&6
6489 echo "$ac_t"""no"" 1>&6
6492 echo "configure: warning: wchar_t support disabled." 1>&2
6495 os_include_dir="config/os/bsd/netbsd"
6496 cat >> confdefs.h <<\EOF
6497 #define HAVE_COPYSIGN 1
6500 cat >> confdefs.h <<\EOF
6501 #define HAVE_COPYSIGNF 1
6504 cat >> confdefs.h <<\EOF
6505 #define HAVE_FINITEF 1
6508 cat >> confdefs.h <<\EOF
6509 #define HAVE_FREXPF 1
6512 cat >> confdefs.h <<\EOF
6513 #define HAVE_HYPOTF 1
6518 for ac_hdr in sys/types.h locale.h float.h
6520 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6521 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6522 echo "configure:6523: checking for $ac_hdr" >&5
6523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6524 echo $ac_n "(cached) $ac_c" 1>&6
6526 cat > conftest.$ac_ext <<EOF
6527 #line 6528 "configure"
6528 #include "confdefs.h"
6531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6532 { (eval echo configure:6533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6534 if test -z "$ac_err"; then
6536 eval "ac_cv_header_$ac_safe=yes"
6539 echo "configure: failed program was:" >&5
6540 cat conftest.$ac_ext >&5
6542 eval "ac_cv_header_$ac_safe=no"
6546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6547 echo "$ac_t""yes" 1>&6
6548 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6549 cat >> confdefs.h <<EOF
6550 #define $ac_tr_hdr 1
6554 echo "$ac_t""no" 1>&6
6559 # If we're not using GNU ld, then there's no point in even trying these
6560 # tests. Check for that first. We should have already tested for gld
6561 # by now (in libtool), but require it now just to be safe...
6562 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6563 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6566 # The name set by libtool depends on the version of libtool. Shame on us
6567 # for depending on an impl detail, but c'est la vie. Older versions used
6568 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6569 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6570 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6571 # set (hence we're using an older libtool), then set it.
6572 if test x${with_gnu_ld+set} != xset; then
6573 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6574 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6577 with_gnu_ld=$ac_cv_prog_gnu_ld
6581 # Start by getting the version number. I think the libtool test already
6582 # does some of this, but throws away the result.
6584 ldver=`$LD --version 2>/dev/null | head -1 | \
6585 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6587 glibcpp_gnu_ld_version=`echo $ldver | \
6588 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6590 # Set --gc-sections.
6591 if test "$with_gnu_ld" = "notbroken"; then
6592 # GNU ld it is! Joy and bunny rabbits!
6594 # All these tests are for C++; save the language and the compiler flags.
6595 # Need to do this so that g++ won't try to link in libstdc++
6596 ac_test_CFLAGS="${CFLAGS+set}"
6597 ac_save_CFLAGS="$CFLAGS"
6598 CFLAGS='-x c++ -Wl,--gc-sections'
6600 # Check for -Wl,--gc-sections
6601 # XXX This test is broken at the moment, as symbols required for
6602 # linking are now in libsupc++ (not built yet.....). In addition,
6603 # this test has cored on solaris in the past. In addition,
6604 # --gc-sections doesn't really work at the moment (keeps on discarding
6605 # used sections, first .eh_frame and now some of the glibc sections for
6606 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6607 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6608 echo "configure:6609: checking for ld that supports -Wl,--gc-sections" >&5
6609 if test "$cross_compiling" = yes; then
6610 ac_sectionLDflags=yes
6612 cat > conftest.$ac_ext <<EOF
6613 #line 6614 "configure"
6614 #include "confdefs.h"
6624 if { (eval echo configure:6625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6626 ac_sectionLDflags=yes
6628 echo "configure: failed program was:" >&5
6629 cat conftest.$ac_ext >&5
6631 ac_sectionLDflags=no
6636 if test "$ac_test_CFLAGS" = set; then
6637 CFLAGS="$ac_save_CFLAGS"
6639 # this is the suspicious part
6642 if test "$ac_sectionLDflags" = "yes"; then
6643 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6645 echo "$ac_t""$ac_sectionLDflags" 1>&6
6648 # Set linker optimization flags.
6649 if test x"$with_gnu_ld" = x"yes" &&
6650 test x"$enable_debug" = x"no"; then
6651 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6658 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6659 echo "configure:6660: checking for main in -lm" >&5
6660 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6662 echo $ac_n "(cached) $ac_c" 1>&6
6664 ac_save_LIBS="$LIBS"
6666 cat > conftest.$ac_ext <<EOF
6667 #line 6668 "configure"
6668 #include "confdefs.h"
6674 if { (eval echo configure:6675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6676 eval "ac_cv_lib_$ac_lib_var=yes"
6678 echo "configure: failed program was:" >&5
6679 cat conftest.$ac_ext >&5
6681 eval "ac_cv_lib_$ac_lib_var=no"
6684 LIBS="$ac_save_LIBS"
6687 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6688 echo "$ac_t""yes" 1>&6
6689 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6690 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6691 cat >> confdefs.h <<EOF
6692 #define $ac_tr_lib 1
6698 echo "$ac_t""no" 1>&6
6701 for ac_func in nan copysignf
6703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6704 echo "configure:6705: checking for $ac_func" >&5
6705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6706 echo $ac_n "(cached) $ac_c" 1>&6
6708 cat > conftest.$ac_ext <<EOF
6709 #line 6710 "configure"
6710 #include "confdefs.h"
6711 /* System header to define __stub macros and hopefully few prototypes,
6712 which can conflict with char $ac_func(); below. */
6714 /* Override any gcc2 internal prototype to avoid an error. */
6715 /* We use char because int might match the return type of a gcc2
6716 builtin and then its argument prototype would still apply. */
6721 /* The GNU C library defines this for functions which it implements
6722 to always fail with ENOSYS. Some functions are actually named
6723 something starting with __ and the normal name is an alias. */
6724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6732 if { (eval echo configure:6733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6734 eval "ac_cv_func_$ac_func=yes"
6736 echo "configure: failed program was:" >&5
6737 cat conftest.$ac_ext >&5
6739 eval "ac_cv_func_$ac_func=no"
6744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6745 echo "$ac_t""yes" 1>&6
6746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6747 cat >> confdefs.h <<EOF
6748 #define $ac_tr_func 1
6752 echo "$ac_t""no" 1>&6
6753 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6759 USE_COMPLEX_LONG_DOUBLE=no
6760 if test x$ac_cv_func_copysignl = x"yes"; then
6761 USE_COMPLEX_LONG_DOUBLE=yes
6762 for ac_func in signbitl
6764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6765 echo "configure:6766: checking for $ac_func" >&5
6766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6767 echo $ac_n "(cached) $ac_c" 1>&6
6769 cat > conftest.$ac_ext <<EOF
6770 #line 6771 "configure"
6771 #include "confdefs.h"
6772 /* System header to define __stub macros and hopefully few prototypes,
6773 which can conflict with char $ac_func(); below. */
6775 /* Override any gcc2 internal prototype to avoid an error. */
6776 /* We use char because int might match the return type of a gcc2
6777 builtin and then its argument prototype would still apply. */
6782 /* The GNU C library defines this for functions which it implements
6783 to always fail with ENOSYS. Some functions are actually named
6784 something starting with __ and the normal name is an alias. */
6785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6793 if { (eval echo configure:6794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6795 eval "ac_cv_func_$ac_func=yes"
6797 echo "configure: failed program was:" >&5
6798 cat conftest.$ac_ext >&5
6800 eval "ac_cv_func_$ac_func=no"
6805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6806 echo "$ac_t""yes" 1>&6
6807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6808 cat >> confdefs.h <<EOF
6809 #define $ac_tr_func 1
6813 echo "$ac_t""no" 1>&6
6814 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6825 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6826 echo "configure:6827: checking for mbstate_t" >&5
6827 cat > conftest.$ac_ext <<EOF
6828 #line 6829 "configure"
6829 #include "confdefs.h"
6832 mbstate_t teststate;
6835 if { (eval echo configure:6836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6839 echo "configure: failed program was:" >&5
6840 cat conftest.$ac_ext >&5
6845 echo "$ac_t""$have_mbstate_t" 1>&6
6846 if test x"$have_mbstate_t" = xyes; then
6847 cat >> confdefs.h <<\EOF
6848 #define HAVE_MBSTATE_T 1
6853 for ac_hdr in wchar.h
6855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6856 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6857 echo "configure:6858: checking for $ac_hdr" >&5
6858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6859 echo $ac_n "(cached) $ac_c" 1>&6
6861 cat > conftest.$ac_ext <<EOF
6862 #line 6863 "configure"
6863 #include "confdefs.h"
6866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6867 { (eval echo configure:6868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6869 if test -z "$ac_err"; then
6871 eval "ac_cv_header_$ac_safe=yes"
6874 echo "configure: failed program was:" >&5
6875 cat conftest.$ac_ext >&5
6877 eval "ac_cv_header_$ac_safe=no"
6881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6882 echo "$ac_t""yes" 1>&6
6883 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6884 cat >> confdefs.h <<EOF
6885 #define $ac_tr_hdr 1
6889 echo "$ac_t""no" 1>&6
6894 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
6895 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
6896 echo "configure:6897: checking for wctype.h" >&5
6897 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6898 echo $ac_n "(cached) $ac_c" 1>&6
6900 cat > conftest.$ac_ext <<EOF
6901 #line 6902 "configure"
6902 #include "confdefs.h"
6905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6906 { (eval echo configure:6907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6908 if test -z "$ac_err"; then
6910 eval "ac_cv_header_$ac_safe=yes"
6913 echo "configure: failed program was:" >&5
6914 cat conftest.$ac_ext >&5
6916 eval "ac_cv_header_$ac_safe=no"
6920 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6921 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6929 if test x"$ac_has_wchar_h" = xyes &&
6930 test x"$ac_has_wctype_h" = xyes &&
6931 test x"$enable_c_mbchar" != xno; then
6933 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6934 echo "configure:6935: checking for WCHAR_MIN and WCHAR_MAX" >&5
6935 cat > conftest.$ac_ext <<EOF
6936 #line 6937 "configure"
6937 #include "confdefs.h"
6940 int i = WCHAR_MIN; int j = WCHAR_MAX;
6943 if { (eval echo configure:6944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6945 has_wchar_minmax=yes
6947 echo "configure: failed program was:" >&5
6948 cat conftest.$ac_ext >&5
6953 echo "$ac_t""$has_wchar_minmax" 1>&6
6955 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6956 echo "configure:6957: checking for WEOF" >&5
6957 cat > conftest.$ac_ext <<EOF
6958 #line 6959 "configure"
6959 #include "confdefs.h"
6967 if { (eval echo configure:6968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6971 echo "configure: failed program was:" >&5
6972 cat conftest.$ac_ext >&5
6977 echo "$ac_t""$has_weof" 1>&6
6980 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6983 echo "configure:6984: checking for $ac_func" >&5
6984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6985 echo $ac_n "(cached) $ac_c" 1>&6
6987 cat > conftest.$ac_ext <<EOF
6988 #line 6989 "configure"
6989 #include "confdefs.h"
6990 /* System header to define __stub macros and hopefully few prototypes,
6991 which can conflict with char $ac_func(); below. */
6993 /* Override any gcc2 internal prototype to avoid an error. */
6994 /* We use char because int might match the return type of a gcc2
6995 builtin and then its argument prototype would still apply. */
7000 /* The GNU C library defines this for functions which it implements
7001 to always fail with ENOSYS. Some functions are actually named
7002 something starting with __ and the normal name is an alias. */
7003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7011 if { (eval echo configure:7012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7013 eval "ac_cv_func_$ac_func=yes"
7015 echo "configure: failed program was:" >&5
7016 cat conftest.$ac_ext >&5
7018 eval "ac_cv_func_$ac_func=no"
7023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7024 echo "$ac_t""yes" 1>&6
7025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7026 cat >> confdefs.h <<EOF
7027 #define $ac_tr_func 1
7031 echo "$ac_t""no" 1>&6
7038 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7039 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7040 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7041 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7042 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7043 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7046 echo "configure:7047: checking for $ac_func" >&5
7047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7048 echo $ac_n "(cached) $ac_c" 1>&6
7050 cat > conftest.$ac_ext <<EOF
7051 #line 7052 "configure"
7052 #include "confdefs.h"
7053 /* System header to define __stub macros and hopefully few prototypes,
7054 which can conflict with char $ac_func(); below. */
7056 /* Override any gcc2 internal prototype to avoid an error. */
7057 /* We use char because int might match the return type of a gcc2
7058 builtin and then its argument prototype would still apply. */
7063 /* The GNU C library defines this for functions which it implements
7064 to always fail with ENOSYS. Some functions are actually named
7065 something starting with __ and the normal name is an alias. */
7066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7074 if { (eval echo configure:7075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7076 eval "ac_cv_func_$ac_func=yes"
7078 echo "configure: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 eval "ac_cv_func_$ac_func=no"
7086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7087 echo "$ac_t""yes" 1>&6
7088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7089 cat >> confdefs.h <<EOF
7090 #define $ac_tr_func 1
7094 echo "$ac_t""no" 1>&6
7101 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7102 echo "configure:7103: checking for ISO C99 wchar_t support" >&5
7103 if test x"$has_weof" = xyes &&
7104 test x"$has_wchar_minmax" = xyes &&
7105 test x"$ac_wfuncs" = xyes; then
7106 ac_isoC99_wchar_t=yes
7108 ac_isoC99_wchar_t=no
7110 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7112 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7113 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7114 echo "configure:7115: checking for iconv.h" >&5
7115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7116 echo $ac_n "(cached) $ac_c" 1>&6
7118 cat > conftest.$ac_ext <<EOF
7119 #line 7120 "configure"
7120 #include "confdefs.h"
7123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7124 { (eval echo configure:7125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7126 if test -z "$ac_err"; then
7128 eval "ac_cv_header_$ac_safe=yes"
7131 echo "configure: failed program was:" >&5
7132 cat conftest.$ac_ext >&5
7134 eval "ac_cv_header_$ac_safe=no"
7138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7139 echo "$ac_t""yes" 1>&6
7142 echo "$ac_t""no" 1>&6
7146 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7147 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7148 echo "configure:7149: checking for langinfo.h" >&5
7149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7150 echo $ac_n "(cached) $ac_c" 1>&6
7152 cat > conftest.$ac_ext <<EOF
7153 #line 7154 "configure"
7154 #include "confdefs.h"
7155 #include <langinfo.h>
7157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7158 { (eval echo configure:7159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7160 if test -z "$ac_err"; then
7162 eval "ac_cv_header_$ac_safe=yes"
7165 echo "configure: failed program was:" >&5
7166 cat conftest.$ac_ext >&5
7168 eval "ac_cv_header_$ac_safe=no"
7172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7173 echo "$ac_t""yes" 1>&6
7174 ac_has_langinfo_h=yes
7176 echo "$ac_t""no" 1>&6
7177 ac_has_langinfo_h=no
7181 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7182 echo "configure:7183: checking for iconv in -liconv" >&5
7183 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7185 echo $ac_n "(cached) $ac_c" 1>&6
7187 ac_save_LIBS="$LIBS"
7188 LIBS="-liconv $LIBS"
7189 cat > conftest.$ac_ext <<EOF
7190 #line 7191 "configure"
7191 #include "confdefs.h"
7192 /* Override any gcc2 internal prototype to avoid an error. */
7193 /* We use char because int might match the return type of a gcc2
7194 builtin and then its argument prototype would still apply. */
7201 if { (eval echo configure:7202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7203 eval "ac_cv_lib_$ac_lib_var=yes"
7205 echo "configure: failed program was:" >&5
7206 cat conftest.$ac_ext >&5
7208 eval "ac_cv_lib_$ac_lib_var=no"
7211 LIBS="$ac_save_LIBS"
7214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7215 echo "$ac_t""yes" 1>&6
7218 echo "$ac_t""no" 1>&6
7221 ac_save_LIBS="$LIBS"
7222 LIBS="$LIBS $libiconv"
7224 for ac_func in iconv_open iconv_close iconv nl_langinfo
7226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7227 echo "configure:7228: checking for $ac_func" >&5
7228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7229 echo $ac_n "(cached) $ac_c" 1>&6
7231 cat > conftest.$ac_ext <<EOF
7232 #line 7233 "configure"
7233 #include "confdefs.h"
7234 /* System header to define __stub macros and hopefully few prototypes,
7235 which can conflict with char $ac_func(); below. */
7237 /* Override any gcc2 internal prototype to avoid an error. */
7238 /* We use char because int might match the return type of a gcc2
7239 builtin and then its argument prototype would still apply. */
7244 /* The GNU C library defines this for functions which it implements
7245 to always fail with ENOSYS. Some functions are actually named
7246 something starting with __ and the normal name is an alias. */
7247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7257 eval "ac_cv_func_$ac_func=yes"
7259 echo "configure: failed program was:" >&5
7260 cat conftest.$ac_ext >&5
7262 eval "ac_cv_func_$ac_func=no"
7267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7268 echo "$ac_t""yes" 1>&6
7269 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7270 cat >> confdefs.h <<EOF
7271 #define $ac_tr_func 1
7276 echo "$ac_t""no" 1>&6
7282 LIBS="$ac_save_LIBS"
7284 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7285 echo "configure:7286: checking for XPG2 wchar_t support" >&5
7286 if test x"$ac_has_iconv_h" = xyes &&
7287 test x"$ac_has_langinfo_h" = xyes &&
7288 test x"$ac_XPG2funcs" = xyes; then
7293 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7295 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7296 echo "configure:7297: checking for enabled wchar_t specializations" >&5
7297 if test x"$ac_isoC99_wchar_t" = xyes &&
7298 test x"$ac_XPG2_wchar_t" = xyes; then
7299 cat >> confdefs.h <<\EOF
7300 #define _GLIBCPP_USE_WCHAR_T 1
7303 echo "$ac_t"""yes"" 1>&6
7305 echo "$ac_t"""no"" 1>&6
7308 echo "configure: warning: wchar_t support disabled." 1>&2
7311 os_include_dir="config/os/mingw32"
7315 os_include_dir="config/os/newlib"
7316 cat >> confdefs.h <<\EOF
7317 #define HAVE_HYPOT 1
7323 case "$target_alias" in
7327 # GLIBCPP_CHECK_STDLIB_SUPPORT
7328 cat >> confdefs.h <<\EOF
7329 #define HAVE_STRTOF 1
7332 cat >> confdefs.h <<\EOF
7333 #define HAVE_STRTOLD 1
7337 cat >> confdefs.h <<\EOF
7342 cat >> confdefs.h <<\EOF
7343 #define HAVE_ACOSF 1
7346 cat >> confdefs.h <<\EOF
7347 #define HAVE_ASINF 1
7350 cat >> confdefs.h <<\EOF
7351 #define HAVE_ATAN2F 1
7354 cat >> confdefs.h <<\EOF
7355 #define HAVE_ATANF 1
7358 cat >> confdefs.h <<\EOF
7359 #define HAVE_CEILF 1
7362 cat >> confdefs.h <<\EOF
7363 #define HAVE_COPYSIGN 1
7366 cat >> confdefs.h <<\EOF
7367 #define HAVE_COPYSIGNF 1
7370 cat >> confdefs.h <<\EOF
7374 cat >> confdefs.h <<\EOF
7375 #define HAVE_COSHF 1
7378 cat >> confdefs.h <<\EOF
7382 cat >> confdefs.h <<\EOF
7383 #define HAVE_FABSF 1
7386 cat >> confdefs.h <<\EOF
7387 #define HAVE_FINITE 1
7390 cat >> confdefs.h <<\EOF
7391 #define HAVE_FINITEF 1
7394 cat >> confdefs.h <<\EOF
7395 #define HAVE_FLOORF 1
7398 cat >> confdefs.h <<\EOF
7399 #define HAVE_FMODF 1
7402 cat >> confdefs.h <<\EOF
7403 #define HAVE_FREXPF 1
7406 cat >> confdefs.h <<\EOF
7407 #define HAVE_ISINF 1
7410 cat >> confdefs.h <<\EOF
7411 #define HAVE_ISINFF 1
7414 cat >> confdefs.h <<\EOF
7415 #define HAVE_ISNAN 1
7418 cat >> confdefs.h <<\EOF
7419 #define HAVE_ISNANF 1
7422 cat >> confdefs.h <<\EOF
7423 #define HAVE_LDEXPF 1
7426 cat >> confdefs.h <<\EOF
7427 #define HAVE_LOG10F 1
7430 cat >> confdefs.h <<\EOF
7434 cat >> confdefs.h <<\EOF
7435 #define HAVE_MODFF 1
7438 cat >> confdefs.h <<\EOF
7442 cat >> confdefs.h <<\EOF
7446 cat >> confdefs.h <<\EOF
7447 #define HAVE_SINHF 1
7450 cat >> confdefs.h <<\EOF
7451 #define HAVE_SQRTF 1
7454 cat >> confdefs.h <<\EOF
7458 cat >> confdefs.h <<\EOF
7459 #define HAVE_TANHF 1
7465 # At some point, we should differentiate between architectures
7466 # like x86, which have long double versions, and alpha/powerpc/etc.,
7467 # which don't. For the time being, punt.
7468 if test x"long_double_math_on_this_cpu" = x"yes"; then
7469 cat >> confdefs.h <<\EOF
7470 #define HAVE_ACOSL 1
7473 cat >> confdefs.h <<\EOF
7474 #define HAVE_ASINL 1
7477 cat >> confdefs.h <<\EOF
7478 #define HAVE_ATAN2L 1
7481 cat >> confdefs.h <<\EOF
7482 #define HAVE_ATANL 1
7485 cat >> confdefs.h <<\EOF
7486 #define HAVE_CEILL 1
7489 cat >> confdefs.h <<\EOF
7490 #define HAVE_COPYSIGNL 1
7493 cat >> confdefs.h <<\EOF
7497 cat >> confdefs.h <<\EOF
7498 #define HAVE_COSHL 1
7501 cat >> confdefs.h <<\EOF
7505 cat >> confdefs.h <<\EOF
7506 #define HAVE_FABSL 1
7509 cat >> confdefs.h <<\EOF
7510 #define HAVE_FINITEL 1
7513 cat >> confdefs.h <<\EOF
7514 #define HAVE_FLOORL 1
7517 cat >> confdefs.h <<\EOF
7518 #define HAVE_FMODL 1
7521 cat >> confdefs.h <<\EOF
7522 #define HAVE_FREXPL 1
7525 cat >> confdefs.h <<\EOF
7526 #define HAVE_ISINFL 1
7529 cat >> confdefs.h <<\EOF
7530 #define HAVE_ISNANL 1
7533 cat >> confdefs.h <<\EOF
7534 #define HAVE_LDEXPL 1
7537 cat >> confdefs.h <<\EOF
7538 #define HAVE_LOG10L 1
7541 cat >> confdefs.h <<\EOF
7545 cat >> confdefs.h <<\EOF
7546 #define HAVE_MODFL 1
7549 cat >> confdefs.h <<\EOF
7553 cat >> confdefs.h <<\EOF
7554 #define HAVE_SINCOSL 1
7557 cat >> confdefs.h <<\EOF
7561 cat >> confdefs.h <<\EOF
7562 #define HAVE_SINHL 1
7565 cat >> confdefs.h <<\EOF
7566 #define HAVE_SQRTL 1
7569 cat >> confdefs.h <<\EOF
7573 cat >> confdefs.h <<\EOF
7574 #define HAVE_TANHL 1
7580 # We are being configured natively. We can do more elaborate tests
7581 # that include AC_TRY_COMPILE now, as the linker is assumed to be
7583 GLIBCPP_IS_CROSS_COMPILING=0
7586 # Check for available headers.
7587 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7588 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
7590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7592 echo "configure:7593: checking for $ac_hdr" >&5
7593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7594 echo $ac_n "(cached) $ac_c" 1>&6
7596 cat > conftest.$ac_ext <<EOF
7597 #line 7598 "configure"
7598 #include "confdefs.h"
7601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7602 { (eval echo configure:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7604 if test -z "$ac_err"; then
7606 eval "ac_cv_header_$ac_safe=yes"
7609 echo "configure: failed program was:" >&5
7610 cat conftest.$ac_ext >&5
7612 eval "ac_cv_header_$ac_safe=no"
7616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7617 echo "$ac_t""yes" 1>&6
7618 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7619 cat >> confdefs.h <<EOF
7620 #define $ac_tr_hdr 1
7624 echo "$ac_t""no" 1>&6
7630 # All these tests are for C++; save the language and the compiler flags.
7631 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7632 # found in GLIBCPP_CONFIGURE.
7635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7636 ac_cpp='$CXXCPP $CPPFLAGS'
7637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7639 cross_compiling=$ac_cv_prog_cxx_cross
7641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7642 ac_save_CXXFLAGS="$CXXFLAGS"
7644 # Check for maintainer-mode bits.
7645 if test x"$USE_MAINTAINER_MODE" = xno; then
7651 # Check for -ffunction-sections -fdata-sections
7652 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
7653 echo "configure:7654: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7654 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7655 cat > conftest.$ac_ext <<EOF
7656 #line 7657 "configure"
7657 #include "confdefs.h"
7664 if { (eval echo configure:7665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7668 echo "configure: failed program was:" >&5
7669 cat conftest.$ac_ext >&5
7674 if test "$ac_test_CXXFLAGS" = set; then
7675 CXXFLAGS="$ac_save_CXXFLAGS"
7677 # this is the suspicious part
7680 if test x"$ac_fdsections" = x"yes" &&
7681 test x"$enable_debug" = x"no"; then
7682 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7684 echo "$ac_t""$ac_fdsections" 1>&6
7687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7688 ac_cpp='$CPP $CPPFLAGS'
7689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7691 cross_compiling=$ac_cv_prog_cc_cross
7697 # If we're not using GNU ld, then there's no point in even trying these
7698 # tests. Check for that first. We should have already tested for gld
7699 # by now (in libtool), but require it now just to be safe...
7700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7704 # The name set by libtool depends on the version of libtool. Shame on us
7705 # for depending on an impl detail, but c'est la vie. Older versions used
7706 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7707 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7708 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7709 # set (hence we're using an older libtool), then set it.
7710 if test x${with_gnu_ld+set} != xset; then
7711 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7712 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7715 with_gnu_ld=$ac_cv_prog_gnu_ld
7719 # Start by getting the version number. I think the libtool test already
7720 # does some of this, but throws away the result.
7722 ldver=`$LD --version 2>/dev/null | head -1 | \
7723 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7725 glibcpp_gnu_ld_version=`echo $ldver | \
7726 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7728 # Set --gc-sections.
7729 if test "$with_gnu_ld" = "notbroken"; then
7730 # GNU ld it is! Joy and bunny rabbits!
7732 # All these tests are for C++; save the language and the compiler flags.
7733 # Need to do this so that g++ won't try to link in libstdc++
7734 ac_test_CFLAGS="${CFLAGS+set}"
7735 ac_save_CFLAGS="$CFLAGS"
7736 CFLAGS='-x c++ -Wl,--gc-sections'
7738 # Check for -Wl,--gc-sections
7739 # XXX This test is broken at the moment, as symbols required for
7740 # linking are now in libsupc++ (not built yet.....). In addition,
7741 # this test has cored on solaris in the past. In addition,
7742 # --gc-sections doesn't really work at the moment (keeps on discarding
7743 # used sections, first .eh_frame and now some of the glibc sections for
7744 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7745 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7746 echo "configure:7747: checking for ld that supports -Wl,--gc-sections" >&5
7747 if test "$cross_compiling" = yes; then
7748 ac_sectionLDflags=yes
7750 cat > conftest.$ac_ext <<EOF
7751 #line 7752 "configure"
7752 #include "confdefs.h"
7762 if { (eval echo configure:7763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7764 ac_sectionLDflags=yes
7766 echo "configure: failed program was:" >&5
7767 cat conftest.$ac_ext >&5
7769 ac_sectionLDflags=no
7774 if test "$ac_test_CFLAGS" = set; then
7775 CFLAGS="$ac_save_CFLAGS"
7777 # this is the suspicious part
7780 if test "$ac_sectionLDflags" = "yes"; then
7781 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7783 echo "$ac_t""$ac_sectionLDflags" 1>&6
7786 # Set linker optimization flags.
7787 if test x"$with_gnu_ld" = x"yes" &&
7788 test x"$enable_debug" = x"no"; then
7789 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7797 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
7798 echo "configure:7799: checking for __builtin_abs declaration" >&5
7799 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
7800 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
7801 echo $ac_n "(cached) $ac_c" 1>&6
7806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7807 ac_cpp='$CXXCPP $CPPFLAGS'
7808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7810 cross_compiling=$ac_cv_prog_cxx_cross
7812 cat > conftest.$ac_ext <<EOF
7813 #line 7814 "configure"
7814 #include "confdefs.h"
7820 if { (eval echo configure:7821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7822 glibcpp_cv_func___builtin_abs_use=yes
7824 echo "configure: failed program was:" >&5
7825 cat conftest.$ac_ext >&5
7827 glibcpp_cv_func___builtin_abs_use=no
7831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7832 ac_cpp='$CPP $CPPFLAGS'
7833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7835 cross_compiling=$ac_cv_prog_cc_cross
7841 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
7842 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
7843 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
7844 echo "configure:7845: checking for __builtin_abs linkage" >&5
7845 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
7846 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
7847 echo $ac_n "(cached) $ac_c" 1>&6
7850 cat > conftest.$ac_ext <<EOF
7851 #line 7852 "configure"
7852 #include "confdefs.h"
7858 if { (eval echo configure:7859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7860 glibcpp_cv_func___builtin_abs_link=yes
7862 echo "configure: failed program was:" >&5
7863 cat conftest.$ac_ext >&5
7865 glibcpp_cv_func___builtin_abs_link=no
7872 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
7873 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
7874 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7875 cat >> confdefs.h <<EOF
7876 #define ${ac_tr_func} 1
7883 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
7884 echo "configure:7885: checking for __builtin_fabsf declaration" >&5
7885 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
7886 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
7887 echo $ac_n "(cached) $ac_c" 1>&6
7892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7893 ac_cpp='$CXXCPP $CPPFLAGS'
7894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7896 cross_compiling=$ac_cv_prog_cxx_cross
7898 cat > conftest.$ac_ext <<EOF
7899 #line 7900 "configure"
7900 #include "confdefs.h"
7906 if { (eval echo configure:7907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7908 glibcpp_cv_func___builtin_fabsf_use=yes
7910 echo "configure: failed program was:" >&5
7911 cat conftest.$ac_ext >&5
7913 glibcpp_cv_func___builtin_fabsf_use=no
7917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7918 ac_cpp='$CPP $CPPFLAGS'
7919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7921 cross_compiling=$ac_cv_prog_cc_cross
7927 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
7928 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
7929 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
7930 echo "configure:7931: checking for __builtin_fabsf linkage" >&5
7931 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
7932 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
7933 echo $ac_n "(cached) $ac_c" 1>&6
7936 cat > conftest.$ac_ext <<EOF
7937 #line 7938 "configure"
7938 #include "confdefs.h"
7944 if { (eval echo configure:7945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7946 glibcpp_cv_func___builtin_fabsf_link=yes
7948 echo "configure: failed program was:" >&5
7949 cat conftest.$ac_ext >&5
7951 glibcpp_cv_func___builtin_fabsf_link=no
7958 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7959 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7960 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7961 cat >> confdefs.h <<EOF
7962 #define ${ac_tr_func} 1
7969 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
7970 echo "configure:7971: checking for __builtin_fabs declaration" >&5
7971 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7972 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7979 ac_cpp='$CXXCPP $CPPFLAGS'
7980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7982 cross_compiling=$ac_cv_prog_cxx_cross
7984 cat > conftest.$ac_ext <<EOF
7985 #line 7986 "configure"
7986 #include "confdefs.h"
7992 if { (eval echo configure:7993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7994 glibcpp_cv_func___builtin_fabs_use=yes
7996 echo "configure: failed program was:" >&5
7997 cat conftest.$ac_ext >&5
7999 glibcpp_cv_func___builtin_fabs_use=no
8003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8004 ac_cpp='$CPP $CPPFLAGS'
8005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8007 cross_compiling=$ac_cv_prog_cc_cross
8013 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8014 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8015 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
8016 echo "configure:8017: checking for __builtin_fabs linkage" >&5
8017 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8018 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8019 echo $ac_n "(cached) $ac_c" 1>&6
8022 cat > conftest.$ac_ext <<EOF
8023 #line 8024 "configure"
8024 #include "confdefs.h"
8030 if { (eval echo configure:8031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8032 glibcpp_cv_func___builtin_fabs_link=yes
8034 echo "configure: failed program was:" >&5
8035 cat conftest.$ac_ext >&5
8037 glibcpp_cv_func___builtin_fabs_link=no
8044 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8045 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8046 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8047 cat >> confdefs.h <<EOF
8048 #define ${ac_tr_func} 1
8055 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
8056 echo "configure:8057: checking for __builtin_fabsl declaration" >&5
8057 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8058 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8059 echo $ac_n "(cached) $ac_c" 1>&6
8064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8065 ac_cpp='$CXXCPP $CPPFLAGS'
8066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8068 cross_compiling=$ac_cv_prog_cxx_cross
8070 cat > conftest.$ac_ext <<EOF
8071 #line 8072 "configure"
8072 #include "confdefs.h"
8078 if { (eval echo configure:8079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8080 glibcpp_cv_func___builtin_fabsl_use=yes
8082 echo "configure: failed program was:" >&5
8083 cat conftest.$ac_ext >&5
8085 glibcpp_cv_func___builtin_fabsl_use=no
8089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8090 ac_cpp='$CPP $CPPFLAGS'
8091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8093 cross_compiling=$ac_cv_prog_cc_cross
8099 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8100 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8101 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
8102 echo "configure:8103: checking for __builtin_fabsl linkage" >&5
8103 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8104 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8105 echo $ac_n "(cached) $ac_c" 1>&6
8108 cat > conftest.$ac_ext <<EOF
8109 #line 8110 "configure"
8110 #include "confdefs.h"
8116 if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8118 glibcpp_cv_func___builtin_fabsl_link=yes
8120 echo "configure: failed program was:" >&5
8121 cat conftest.$ac_ext >&5
8123 glibcpp_cv_func___builtin_fabsl_link=no
8130 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8131 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8132 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8133 cat >> confdefs.h <<EOF
8134 #define ${ac_tr_func} 1
8141 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
8142 echo "configure:8143: checking for __builtin_labs declaration" >&5
8143 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8144 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8145 echo $ac_n "(cached) $ac_c" 1>&6
8150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8151 ac_cpp='$CXXCPP $CPPFLAGS'
8152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8154 cross_compiling=$ac_cv_prog_cxx_cross
8156 cat > conftest.$ac_ext <<EOF
8157 #line 8158 "configure"
8158 #include "confdefs.h"
8164 if { (eval echo configure:8165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8166 glibcpp_cv_func___builtin_labs_use=yes
8168 echo "configure: failed program was:" >&5
8169 cat conftest.$ac_ext >&5
8171 glibcpp_cv_func___builtin_labs_use=no
8175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8176 ac_cpp='$CPP $CPPFLAGS'
8177 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8178 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8179 cross_compiling=$ac_cv_prog_cc_cross
8185 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8186 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8187 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
8188 echo "configure:8189: checking for __builtin_labs linkage" >&5
8189 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8190 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8191 echo $ac_n "(cached) $ac_c" 1>&6
8194 cat > conftest.$ac_ext <<EOF
8195 #line 8196 "configure"
8196 #include "confdefs.h"
8202 if { (eval echo configure:8203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8204 glibcpp_cv_func___builtin_labs_link=yes
8206 echo "configure: failed program was:" >&5
8207 cat conftest.$ac_ext >&5
8209 glibcpp_cv_func___builtin_labs_link=no
8216 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8217 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8218 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8219 cat >> confdefs.h <<EOF
8220 #define ${ac_tr_func} 1
8228 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
8229 echo "configure:8230: checking for __builtin_sqrtf declaration" >&5
8230 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8231 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8232 echo $ac_n "(cached) $ac_c" 1>&6
8237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8238 ac_cpp='$CXXCPP $CPPFLAGS'
8239 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8240 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8241 cross_compiling=$ac_cv_prog_cxx_cross
8243 cat > conftest.$ac_ext <<EOF
8244 #line 8245 "configure"
8245 #include "confdefs.h"
8251 if { (eval echo configure:8252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8253 glibcpp_cv_func___builtin_sqrtf_use=yes
8255 echo "configure: failed program was:" >&5
8256 cat conftest.$ac_ext >&5
8258 glibcpp_cv_func___builtin_sqrtf_use=no
8262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8263 ac_cpp='$CPP $CPPFLAGS'
8264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8266 cross_compiling=$ac_cv_prog_cc_cross
8272 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8273 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8274 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
8275 echo "configure:8276: checking for __builtin_sqrtf linkage" >&5
8276 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8277 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8278 echo $ac_n "(cached) $ac_c" 1>&6
8281 cat > conftest.$ac_ext <<EOF
8282 #line 8283 "configure"
8283 #include "confdefs.h"
8289 if { (eval echo configure:8290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8291 glibcpp_cv_func___builtin_sqrtf_link=yes
8293 echo "configure: failed program was:" >&5
8294 cat conftest.$ac_ext >&5
8296 glibcpp_cv_func___builtin_sqrtf_link=no
8303 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8304 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8305 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8306 cat >> confdefs.h <<EOF
8307 #define ${ac_tr_func} 1
8314 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
8315 echo "configure:8316: checking for __builtin_sqrt declaration" >&5
8316 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8317 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8318 echo $ac_n "(cached) $ac_c" 1>&6
8323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8324 ac_cpp='$CXXCPP $CPPFLAGS'
8325 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8326 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8327 cross_compiling=$ac_cv_prog_cxx_cross
8329 cat > conftest.$ac_ext <<EOF
8330 #line 8331 "configure"
8331 #include "confdefs.h"
8337 if { (eval echo configure:8338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8339 glibcpp_cv_func___builtin_sqrt_use=yes
8341 echo "configure: failed program was:" >&5
8342 cat conftest.$ac_ext >&5
8344 glibcpp_cv_func___builtin_sqrt_use=no
8348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8349 ac_cpp='$CPP $CPPFLAGS'
8350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8352 cross_compiling=$ac_cv_prog_cc_cross
8358 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
8359 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
8360 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
8361 echo "configure:8362: checking for __builtin_sqrt linkage" >&5
8362 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
8363 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
8364 echo $ac_n "(cached) $ac_c" 1>&6
8367 cat > conftest.$ac_ext <<EOF
8368 #line 8369 "configure"
8369 #include "confdefs.h"
8375 if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8377 glibcpp_cv_func___builtin_sqrt_link=yes
8379 echo "configure: failed program was:" >&5
8380 cat conftest.$ac_ext >&5
8382 glibcpp_cv_func___builtin_sqrt_link=no
8389 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
8390 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
8391 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8392 cat >> confdefs.h <<EOF
8393 #define ${ac_tr_func} 1
8400 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
8401 echo "configure:8402: checking for __builtin_sqrtl declaration" >&5
8402 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
8403 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
8404 echo $ac_n "(cached) $ac_c" 1>&6
8409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8410 ac_cpp='$CXXCPP $CPPFLAGS'
8411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8413 cross_compiling=$ac_cv_prog_cxx_cross
8415 cat > conftest.$ac_ext <<EOF
8416 #line 8417 "configure"
8417 #include "confdefs.h"
8423 if { (eval echo configure:8424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8425 glibcpp_cv_func___builtin_sqrtl_use=yes
8427 echo "configure: failed program was:" >&5
8428 cat conftest.$ac_ext >&5
8430 glibcpp_cv_func___builtin_sqrtl_use=no
8434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8435 ac_cpp='$CPP $CPPFLAGS'
8436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8438 cross_compiling=$ac_cv_prog_cc_cross
8444 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
8445 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
8446 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
8447 echo "configure:8448: checking for __builtin_sqrtl linkage" >&5
8448 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
8449 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
8450 echo $ac_n "(cached) $ac_c" 1>&6
8453 cat > conftest.$ac_ext <<EOF
8454 #line 8455 "configure"
8455 #include "confdefs.h"
8461 if { (eval echo configure:8462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8463 glibcpp_cv_func___builtin_sqrtl_link=yes
8465 echo "configure: failed program was:" >&5
8466 cat conftest.$ac_ext >&5
8468 glibcpp_cv_func___builtin_sqrtl_link=no
8475 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
8476 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
8477 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8478 cat >> confdefs.h <<EOF
8479 #define ${ac_tr_func} 1
8487 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
8488 echo "configure:8489: checking for __builtin_sinf declaration" >&5
8489 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
8490 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
8491 echo $ac_n "(cached) $ac_c" 1>&6
8496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8497 ac_cpp='$CXXCPP $CPPFLAGS'
8498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8500 cross_compiling=$ac_cv_prog_cxx_cross
8502 cat > conftest.$ac_ext <<EOF
8503 #line 8504 "configure"
8504 #include "confdefs.h"
8510 if { (eval echo configure:8511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8512 glibcpp_cv_func___builtin_sinf_use=yes
8514 echo "configure: failed program was:" >&5
8515 cat conftest.$ac_ext >&5
8517 glibcpp_cv_func___builtin_sinf_use=no
8521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8522 ac_cpp='$CPP $CPPFLAGS'
8523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8525 cross_compiling=$ac_cv_prog_cc_cross
8531 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
8532 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
8533 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
8534 echo "configure:8535: checking for __builtin_sinf linkage" >&5
8535 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
8536 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
8537 echo $ac_n "(cached) $ac_c" 1>&6
8540 cat > conftest.$ac_ext <<EOF
8541 #line 8542 "configure"
8542 #include "confdefs.h"
8548 if { (eval echo configure:8549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8550 glibcpp_cv_func___builtin_sinf_link=yes
8552 echo "configure: failed program was:" >&5
8553 cat conftest.$ac_ext >&5
8555 glibcpp_cv_func___builtin_sinf_link=no
8562 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
8563 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
8564 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8565 cat >> confdefs.h <<EOF
8566 #define ${ac_tr_func} 1
8573 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
8574 echo "configure:8575: checking for __builtin_sin declaration" >&5
8575 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
8576 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
8577 echo $ac_n "(cached) $ac_c" 1>&6
8582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8583 ac_cpp='$CXXCPP $CPPFLAGS'
8584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8586 cross_compiling=$ac_cv_prog_cxx_cross
8588 cat > conftest.$ac_ext <<EOF
8589 #line 8590 "configure"
8590 #include "confdefs.h"
8596 if { (eval echo configure:8597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8598 glibcpp_cv_func___builtin_sin_use=yes
8600 echo "configure: failed program was:" >&5
8601 cat conftest.$ac_ext >&5
8603 glibcpp_cv_func___builtin_sin_use=no
8607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8608 ac_cpp='$CPP $CPPFLAGS'
8609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8611 cross_compiling=$ac_cv_prog_cc_cross
8617 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
8618 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
8619 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
8620 echo "configure:8621: checking for __builtin_sin linkage" >&5
8621 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
8622 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
8623 echo $ac_n "(cached) $ac_c" 1>&6
8626 cat > conftest.$ac_ext <<EOF
8627 #line 8628 "configure"
8628 #include "confdefs.h"
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8636 glibcpp_cv_func___builtin_sin_link=yes
8638 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5
8641 glibcpp_cv_func___builtin_sin_link=no
8648 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
8649 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
8650 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8651 cat >> confdefs.h <<EOF
8652 #define ${ac_tr_func} 1
8659 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
8660 echo "configure:8661: checking for __builtin_sinl declaration" >&5
8661 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
8662 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
8663 echo $ac_n "(cached) $ac_c" 1>&6
8668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8669 ac_cpp='$CXXCPP $CPPFLAGS'
8670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8672 cross_compiling=$ac_cv_prog_cxx_cross
8674 cat > conftest.$ac_ext <<EOF
8675 #line 8676 "configure"
8676 #include "confdefs.h"
8682 if { (eval echo configure:8683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8684 glibcpp_cv_func___builtin_sinl_use=yes
8686 echo "configure: failed program was:" >&5
8687 cat conftest.$ac_ext >&5
8689 glibcpp_cv_func___builtin_sinl_use=no
8693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8694 ac_cpp='$CPP $CPPFLAGS'
8695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8697 cross_compiling=$ac_cv_prog_cc_cross
8703 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
8704 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
8705 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
8706 echo "configure:8707: checking for __builtin_sinl linkage" >&5
8707 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
8708 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
8709 echo $ac_n "(cached) $ac_c" 1>&6
8712 cat > conftest.$ac_ext <<EOF
8713 #line 8714 "configure"
8714 #include "confdefs.h"
8720 if { (eval echo configure:8721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8722 glibcpp_cv_func___builtin_sinl_link=yes
8724 echo "configure: failed program was:" >&5
8725 cat conftest.$ac_ext >&5
8727 glibcpp_cv_func___builtin_sinl_link=no
8734 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
8735 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
8736 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8737 cat >> confdefs.h <<EOF
8738 #define ${ac_tr_func} 1
8746 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
8747 echo "configure:8748: checking for __builtin_cosf declaration" >&5
8748 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
8749 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
8750 echo $ac_n "(cached) $ac_c" 1>&6
8755 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8756 ac_cpp='$CXXCPP $CPPFLAGS'
8757 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8758 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8759 cross_compiling=$ac_cv_prog_cxx_cross
8761 cat > conftest.$ac_ext <<EOF
8762 #line 8763 "configure"
8763 #include "confdefs.h"
8769 if { (eval echo configure:8770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8771 glibcpp_cv_func___builtin_cosf_use=yes
8773 echo "configure: failed program was:" >&5
8774 cat conftest.$ac_ext >&5
8776 glibcpp_cv_func___builtin_cosf_use=no
8780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8781 ac_cpp='$CPP $CPPFLAGS'
8782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8784 cross_compiling=$ac_cv_prog_cc_cross
8790 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
8791 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
8792 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
8793 echo "configure:8794: checking for __builtin_cosf linkage" >&5
8794 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
8795 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
8796 echo $ac_n "(cached) $ac_c" 1>&6
8799 cat > conftest.$ac_ext <<EOF
8800 #line 8801 "configure"
8801 #include "confdefs.h"
8807 if { (eval echo configure:8808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809 glibcpp_cv_func___builtin_cosf_link=yes
8811 echo "configure: failed program was:" >&5
8812 cat conftest.$ac_ext >&5
8814 glibcpp_cv_func___builtin_cosf_link=no
8821 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
8822 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
8823 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8824 cat >> confdefs.h <<EOF
8825 #define ${ac_tr_func} 1
8832 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
8833 echo "configure:8834: checking for __builtin_cos declaration" >&5
8834 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
8835 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
8836 echo $ac_n "(cached) $ac_c" 1>&6
8841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8842 ac_cpp='$CXXCPP $CPPFLAGS'
8843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8845 cross_compiling=$ac_cv_prog_cxx_cross
8847 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8855 if { (eval echo configure:8856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8857 glibcpp_cv_func___builtin_cos_use=yes
8859 echo "configure: failed program was:" >&5
8860 cat conftest.$ac_ext >&5
8862 glibcpp_cv_func___builtin_cos_use=no
8866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8867 ac_cpp='$CPP $CPPFLAGS'
8868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8870 cross_compiling=$ac_cv_prog_cc_cross
8876 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
8877 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
8878 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
8879 echo "configure:8880: checking for __builtin_cos linkage" >&5
8880 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
8881 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8895 glibcpp_cv_func___builtin_cos_link=yes
8897 echo "configure: failed program was:" >&5
8898 cat conftest.$ac_ext >&5
8900 glibcpp_cv_func___builtin_cos_link=no
8907 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
8908 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
8909 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8910 cat >> confdefs.h <<EOF
8911 #define ${ac_tr_func} 1
8918 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
8919 echo "configure:8920: checking for __builtin_cosl declaration" >&5
8920 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
8921 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
8922 echo $ac_n "(cached) $ac_c" 1>&6
8927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8928 ac_cpp='$CXXCPP $CPPFLAGS'
8929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8931 cross_compiling=$ac_cv_prog_cxx_cross
8933 cat > conftest.$ac_ext <<EOF
8934 #line 8935 "configure"
8935 #include "confdefs.h"
8941 if { (eval echo configure:8942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8943 glibcpp_cv_func___builtin_cosl_use=yes
8945 echo "configure: failed program was:" >&5
8946 cat conftest.$ac_ext >&5
8948 glibcpp_cv_func___builtin_cosl_use=no
8952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8953 ac_cpp='$CPP $CPPFLAGS'
8954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8956 cross_compiling=$ac_cv_prog_cc_cross
8962 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8963 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8964 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
8965 echo "configure:8966: checking for __builtin_cosl linkage" >&5
8966 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8967 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8968 echo $ac_n "(cached) $ac_c" 1>&6
8971 cat > conftest.$ac_ext <<EOF
8972 #line 8973 "configure"
8973 #include "confdefs.h"
8979 if { (eval echo configure:8980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8981 glibcpp_cv_func___builtin_cosl_link=yes
8983 echo "configure: failed program was:" >&5
8984 cat conftest.$ac_ext >&5
8986 glibcpp_cv_func___builtin_cosl_link=no
8993 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
8994 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
8995 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8996 cat >> confdefs.h <<EOF
8997 #define ${ac_tr_func} 1
9005 if test x$dummyvar = x"yes"; then
9006 cat >> confdefs.h <<\EOF
9007 #define HAVE___BUILTIN_ABS 1
9010 cat >> confdefs.h <<\EOF
9011 #define HAVE___BUILTIN_LABS 1
9014 cat >> confdefs.h <<\EOF
9015 #define HAVE___BUILTIN_COS 1
9018 cat >> confdefs.h <<\EOF
9019 #define HAVE___BUILTIN_COSF 1
9022 cat >> confdefs.h <<\EOF
9023 #define HAVE___BUILTIN_COSL 1
9026 cat >> confdefs.h <<\EOF
9027 #define HAVE___BUILTIN_FABS 1
9030 cat >> confdefs.h <<\EOF
9031 #define HAVE___BUILTIN_FABSF 1
9034 cat >> confdefs.h <<\EOF
9035 #define HAVE___BUILTIN_FABSL 1
9038 cat >> confdefs.h <<\EOF
9039 #define HAVE___BUILTIN_SIN 1
9042 cat >> confdefs.h <<\EOF
9043 #define HAVE___BUILTIN_SINF 1
9046 cat >> confdefs.h <<\EOF
9047 #define HAVE___BUILTIN_SINL 1
9050 cat >> confdefs.h <<\EOF
9051 #define HAVE___BUILTIN_SQRT 1
9054 cat >> confdefs.h <<\EOF
9055 #define HAVE___BUILTIN_SQRTF 1
9058 cat >> confdefs.h <<\EOF
9059 #define HAVE___BUILTIN_SQRTL 1
9065 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9066 ac_save_CXXFLAGS="$CXXFLAGS"
9067 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9069 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
9070 echo "configure:9071: checking for sin in -lm" >&5
9071 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9073 echo $ac_n "(cached) $ac_c" 1>&6
9075 ac_save_LIBS="$LIBS"
9077 cat > conftest.$ac_ext <<EOF
9078 #line 9079 "configure"
9079 #include "confdefs.h"
9080 /* Override any gcc2 internal prototype to avoid an error. */
9081 /* We use char because int might match the return type of a gcc2
9082 builtin and then its argument prototype would still apply. */
9089 if { (eval echo configure:9090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9091 eval "ac_cv_lib_$ac_lib_var=yes"
9093 echo "configure: failed program was:" >&5
9094 cat conftest.$ac_ext >&5
9096 eval "ac_cv_lib_$ac_lib_var=no"
9099 LIBS="$ac_save_LIBS"
9102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9103 echo "$ac_t""yes" 1>&6
9106 echo "$ac_t""no" 1>&6
9109 ac_save_LIBS="$LIBS"
9114 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
9115 echo "configure:9116: checking for isinf declaration" >&5
9116 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9117 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9118 echo $ac_n "(cached) $ac_c" 1>&6
9123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9124 ac_cpp='$CXXCPP $CPPFLAGS'
9125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9127 cross_compiling=$ac_cv_prog_cxx_cross
9129 cat > conftest.$ac_ext <<EOF
9130 #line 9131 "configure"
9131 #include "confdefs.h"
9133 #ifdef HAVE_IEEEFP_H
9141 if { (eval echo configure:9142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9143 glibcpp_cv_func_isinf_use=yes
9145 echo "configure: failed program was:" >&5
9146 cat conftest.$ac_ext >&5
9148 glibcpp_cv_func_isinf_use=no
9152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9153 ac_cpp='$CPP $CPPFLAGS'
9154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9156 cross_compiling=$ac_cv_prog_cc_cross
9162 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9164 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9165 for ac_func in isinf
9167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9168 echo "configure:9169: checking for $ac_func" >&5
9169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9170 echo $ac_n "(cached) $ac_c" 1>&6
9172 cat > conftest.$ac_ext <<EOF
9173 #line 9174 "configure"
9174 #include "confdefs.h"
9175 /* System header to define __stub macros and hopefully few prototypes,
9176 which can conflict with char $ac_func(); below. */
9178 /* Override any gcc2 internal prototype to avoid an error. */
9179 /* We use char because int might match the return type of a gcc2
9180 builtin and then its argument prototype would still apply. */
9185 /* The GNU C library defines this for functions which it implements
9186 to always fail with ENOSYS. Some functions are actually named
9187 something starting with __ and the normal name is an alias. */
9188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9198 eval "ac_cv_func_$ac_func=yes"
9200 echo "configure: failed program was:" >&5
9201 cat conftest.$ac_ext >&5
9203 eval "ac_cv_func_$ac_func=no"
9208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9209 echo "$ac_t""yes" 1>&6
9210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9211 cat >> confdefs.h <<EOF
9212 #define $ac_tr_func 1
9216 echo "$ac_t""no" 1>&6
9222 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
9223 echo "configure:9224: checking for _isinf declaration" >&5
9224 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9225 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9226 echo $ac_n "(cached) $ac_c" 1>&6
9231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9232 ac_cpp='$CXXCPP $CPPFLAGS'
9233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9235 cross_compiling=$ac_cv_prog_cxx_cross
9237 cat > conftest.$ac_ext <<EOF
9238 #line 9239 "configure"
9239 #include "confdefs.h"
9241 #ifdef HAVE_IEEEFP_H
9249 if { (eval echo configure:9250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9251 glibcpp_cv_func__isinf_use=yes
9253 echo "configure: failed program was:" >&5
9254 cat conftest.$ac_ext >&5
9256 glibcpp_cv_func__isinf_use=no
9260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9261 ac_cpp='$CPP $CPPFLAGS'
9262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9264 cross_compiling=$ac_cv_prog_cc_cross
9270 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9272 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9273 for ac_func in _isinf
9275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9276 echo "configure:9277: checking for $ac_func" >&5
9277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9278 echo $ac_n "(cached) $ac_c" 1>&6
9280 cat > conftest.$ac_ext <<EOF
9281 #line 9282 "configure"
9282 #include "confdefs.h"
9283 /* System header to define __stub macros and hopefully few prototypes,
9284 which can conflict with char $ac_func(); below. */
9286 /* Override any gcc2 internal prototype to avoid an error. */
9287 /* We use char because int might match the return type of a gcc2
9288 builtin and then its argument prototype would still apply. */
9293 /* The GNU C library defines this for functions which it implements
9294 to always fail with ENOSYS. Some functions are actually named
9295 something starting with __ and the normal name is an alias. */
9296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9304 if { (eval echo configure:9305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9306 eval "ac_cv_func_$ac_func=yes"
9308 echo "configure: failed program was:" >&5
9309 cat conftest.$ac_ext >&5
9311 eval "ac_cv_func_$ac_func=no"
9316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9317 echo "$ac_t""yes" 1>&6
9318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9319 cat >> confdefs.h <<EOF
9320 #define $ac_tr_func 1
9324 echo "$ac_t""no" 1>&6
9333 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
9334 echo "configure:9335: checking for isnan declaration" >&5
9335 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
9336 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
9337 echo $ac_n "(cached) $ac_c" 1>&6
9342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9343 ac_cpp='$CXXCPP $CPPFLAGS'
9344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9346 cross_compiling=$ac_cv_prog_cxx_cross
9348 cat > conftest.$ac_ext <<EOF
9349 #line 9350 "configure"
9350 #include "confdefs.h"
9352 #ifdef HAVE_IEEEFP_H
9360 if { (eval echo configure:9361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9362 glibcpp_cv_func_isnan_use=yes
9364 echo "configure: failed program was:" >&5
9365 cat conftest.$ac_ext >&5
9367 glibcpp_cv_func_isnan_use=no
9371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9372 ac_cpp='$CPP $CPPFLAGS'
9373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9375 cross_compiling=$ac_cv_prog_cc_cross
9381 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
9383 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
9384 for ac_func in isnan
9386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9387 echo "configure:9388: checking for $ac_func" >&5
9388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9389 echo $ac_n "(cached) $ac_c" 1>&6
9391 cat > conftest.$ac_ext <<EOF
9392 #line 9393 "configure"
9393 #include "confdefs.h"
9394 /* System header to define __stub macros and hopefully few prototypes,
9395 which can conflict with char $ac_func(); below. */
9397 /* Override any gcc2 internal prototype to avoid an error. */
9398 /* We use char because int might match the return type of a gcc2
9399 builtin and then its argument prototype would still apply. */
9404 /* The GNU C library defines this for functions which it implements
9405 to always fail with ENOSYS. Some functions are actually named
9406 something starting with __ and the normal name is an alias. */
9407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9415 if { (eval echo configure:9416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9417 eval "ac_cv_func_$ac_func=yes"
9419 echo "configure: failed program was:" >&5
9420 cat conftest.$ac_ext >&5
9422 eval "ac_cv_func_$ac_func=no"
9427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9428 echo "$ac_t""yes" 1>&6
9429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9430 cat >> confdefs.h <<EOF
9431 #define $ac_tr_func 1
9435 echo "$ac_t""no" 1>&6
9441 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
9442 echo "configure:9443: checking for _isnan declaration" >&5
9443 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
9444 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
9445 echo $ac_n "(cached) $ac_c" 1>&6
9450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9451 ac_cpp='$CXXCPP $CPPFLAGS'
9452 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9453 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9454 cross_compiling=$ac_cv_prog_cxx_cross
9456 cat > conftest.$ac_ext <<EOF
9457 #line 9458 "configure"
9458 #include "confdefs.h"
9460 #ifdef HAVE_IEEEFP_H
9468 if { (eval echo configure:9469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9470 glibcpp_cv_func__isnan_use=yes
9472 echo "configure: failed program was:" >&5
9473 cat conftest.$ac_ext >&5
9475 glibcpp_cv_func__isnan_use=no
9479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9480 ac_cpp='$CPP $CPPFLAGS'
9481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9483 cross_compiling=$ac_cv_prog_cc_cross
9489 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
9491 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
9492 for ac_func in _isnan
9494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9495 echo "configure:9496: checking for $ac_func" >&5
9496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9497 echo $ac_n "(cached) $ac_c" 1>&6
9499 cat > conftest.$ac_ext <<EOF
9500 #line 9501 "configure"
9501 #include "confdefs.h"
9502 /* System header to define __stub macros and hopefully few prototypes,
9503 which can conflict with char $ac_func(); below. */
9505 /* Override any gcc2 internal prototype to avoid an error. */
9506 /* We use char because int might match the return type of a gcc2
9507 builtin and then its argument prototype would still apply. */
9512 /* The GNU C library defines this for functions which it implements
9513 to always fail with ENOSYS. Some functions are actually named
9514 something starting with __ and the normal name is an alias. */
9515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9523 if { (eval echo configure:9524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9525 eval "ac_cv_func_$ac_func=yes"
9527 echo "configure: failed program was:" >&5
9528 cat conftest.$ac_ext >&5
9530 eval "ac_cv_func_$ac_func=no"
9535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9536 echo "$ac_t""yes" 1>&6
9537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9538 cat >> confdefs.h <<EOF
9539 #define $ac_tr_func 1
9543 echo "$ac_t""no" 1>&6
9552 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
9553 echo "configure:9554: checking for finite declaration" >&5
9554 if test x${glibcpp_cv_func_finite_use+set} != xset; then
9555 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
9556 echo $ac_n "(cached) $ac_c" 1>&6
9561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9562 ac_cpp='$CXXCPP $CPPFLAGS'
9563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9565 cross_compiling=$ac_cv_prog_cxx_cross
9567 cat > conftest.$ac_ext <<EOF
9568 #line 9569 "configure"
9569 #include "confdefs.h"
9571 #ifdef HAVE_IEEEFP_H
9579 if { (eval echo configure:9580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9581 glibcpp_cv_func_finite_use=yes
9583 echo "configure: failed program was:" >&5
9584 cat conftest.$ac_ext >&5
9586 glibcpp_cv_func_finite_use=no
9590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9591 ac_cpp='$CPP $CPPFLAGS'
9592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9594 cross_compiling=$ac_cv_prog_cc_cross
9600 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
9602 if test x$glibcpp_cv_func_finite_use = x"yes"; then
9603 for ac_func in finite
9605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9606 echo "configure:9607: checking for $ac_func" >&5
9607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9608 echo $ac_n "(cached) $ac_c" 1>&6
9610 cat > conftest.$ac_ext <<EOF
9611 #line 9612 "configure"
9612 #include "confdefs.h"
9613 /* System header to define __stub macros and hopefully few prototypes,
9614 which can conflict with char $ac_func(); below. */
9616 /* Override any gcc2 internal prototype to avoid an error. */
9617 /* We use char because int might match the return type of a gcc2
9618 builtin and then its argument prototype would still apply. */
9623 /* The GNU C library defines this for functions which it implements
9624 to always fail with ENOSYS. Some functions are actually named
9625 something starting with __ and the normal name is an alias. */
9626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9634 if { (eval echo configure:9635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9636 eval "ac_cv_func_$ac_func=yes"
9638 echo "configure: failed program was:" >&5
9639 cat conftest.$ac_ext >&5
9641 eval "ac_cv_func_$ac_func=no"
9646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9647 echo "$ac_t""yes" 1>&6
9648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9649 cat >> confdefs.h <<EOF
9650 #define $ac_tr_func 1
9654 echo "$ac_t""no" 1>&6
9660 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
9661 echo "configure:9662: checking for _finite declaration" >&5
9662 if test x${glibcpp_cv_func__finite_use+set} != xset; then
9663 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
9664 echo $ac_n "(cached) $ac_c" 1>&6
9669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9670 ac_cpp='$CXXCPP $CPPFLAGS'
9671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9673 cross_compiling=$ac_cv_prog_cxx_cross
9675 cat > conftest.$ac_ext <<EOF
9676 #line 9677 "configure"
9677 #include "confdefs.h"
9679 #ifdef HAVE_IEEEFP_H
9687 if { (eval echo configure:9688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9689 glibcpp_cv_func__finite_use=yes
9691 echo "configure: failed program was:" >&5
9692 cat conftest.$ac_ext >&5
9694 glibcpp_cv_func__finite_use=no
9698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9699 ac_cpp='$CPP $CPPFLAGS'
9700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9702 cross_compiling=$ac_cv_prog_cc_cross
9708 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
9710 if test x$glibcpp_cv_func__finite_use = x"yes"; then
9711 for ac_func in _finite
9713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9714 echo "configure:9715: checking for $ac_func" >&5
9715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9716 echo $ac_n "(cached) $ac_c" 1>&6
9718 cat > conftest.$ac_ext <<EOF
9719 #line 9720 "configure"
9720 #include "confdefs.h"
9721 /* System header to define __stub macros and hopefully few prototypes,
9722 which can conflict with char $ac_func(); below. */
9724 /* Override any gcc2 internal prototype to avoid an error. */
9725 /* We use char because int might match the return type of a gcc2
9726 builtin and then its argument prototype would still apply. */
9731 /* The GNU C library defines this for functions which it implements
9732 to always fail with ENOSYS. Some functions are actually named
9733 something starting with __ and the normal name is an alias. */
9734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9742 if { (eval echo configure:9743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9744 eval "ac_cv_func_$ac_func=yes"
9746 echo "configure: failed program was:" >&5
9747 cat conftest.$ac_ext >&5
9749 eval "ac_cv_func_$ac_func=no"
9754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9755 echo "$ac_t""yes" 1>&6
9756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9757 cat >> confdefs.h <<EOF
9758 #define $ac_tr_func 1
9762 echo "$ac_t""no" 1>&6
9771 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
9772 echo "configure:9773: checking for copysign declaration" >&5
9773 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
9774 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
9775 echo $ac_n "(cached) $ac_c" 1>&6
9780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9781 ac_cpp='$CXXCPP $CPPFLAGS'
9782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9784 cross_compiling=$ac_cv_prog_cxx_cross
9786 cat > conftest.$ac_ext <<EOF
9787 #line 9788 "configure"
9788 #include "confdefs.h"
9794 if { (eval echo configure:9795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9796 glibcpp_cv_func_copysign_use=yes
9798 echo "configure: failed program was:" >&5
9799 cat conftest.$ac_ext >&5
9801 glibcpp_cv_func_copysign_use=no
9805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9806 ac_cpp='$CPP $CPPFLAGS'
9807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9809 cross_compiling=$ac_cv_prog_cc_cross
9815 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
9817 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
9818 for ac_func in copysign
9820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9821 echo "configure:9822: checking for $ac_func" >&5
9822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9825 cat > conftest.$ac_ext <<EOF
9826 #line 9827 "configure"
9827 #include "confdefs.h"
9828 /* System header to define __stub macros and hopefully few prototypes,
9829 which can conflict with char $ac_func(); below. */
9831 /* Override any gcc2 internal prototype to avoid an error. */
9832 /* We use char because int might match the return type of a gcc2
9833 builtin and then its argument prototype would still apply. */
9838 /* The GNU C library defines this for functions which it implements
9839 to always fail with ENOSYS. Some functions are actually named
9840 something starting with __ and the normal name is an alias. */
9841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9849 if { (eval echo configure:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9851 eval "ac_cv_func_$ac_func=yes"
9853 echo "configure: failed program was:" >&5
9854 cat conftest.$ac_ext >&5
9856 eval "ac_cv_func_$ac_func=no"
9861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9862 echo "$ac_t""yes" 1>&6
9863 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9864 cat >> confdefs.h <<EOF
9865 #define $ac_tr_func 1
9869 echo "$ac_t""no" 1>&6
9875 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
9876 echo "configure:9877: checking for _copysign declaration" >&5
9877 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
9878 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
9879 echo $ac_n "(cached) $ac_c" 1>&6
9884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9885 ac_cpp='$CXXCPP $CPPFLAGS'
9886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9888 cross_compiling=$ac_cv_prog_cxx_cross
9890 cat > conftest.$ac_ext <<EOF
9891 #line 9892 "configure"
9892 #include "confdefs.h"
9898 if { (eval echo configure:9899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9900 glibcpp_cv_func__copysign_use=yes
9902 echo "configure: failed program was:" >&5
9903 cat conftest.$ac_ext >&5
9905 glibcpp_cv_func__copysign_use=no
9909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9910 ac_cpp='$CPP $CPPFLAGS'
9911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9913 cross_compiling=$ac_cv_prog_cc_cross
9919 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
9921 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
9922 for ac_func in _copysign
9924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9925 echo "configure:9926: checking for $ac_func" >&5
9926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9927 echo $ac_n "(cached) $ac_c" 1>&6
9929 cat > conftest.$ac_ext <<EOF
9930 #line 9931 "configure"
9931 #include "confdefs.h"
9932 /* System header to define __stub macros and hopefully few prototypes,
9933 which can conflict with char $ac_func(); below. */
9935 /* Override any gcc2 internal prototype to avoid an error. */
9936 /* We use char because int might match the return type of a gcc2
9937 builtin and then its argument prototype would still apply. */
9942 /* The GNU C library defines this for functions which it implements
9943 to always fail with ENOSYS. Some functions are actually named
9944 something starting with __ and the normal name is an alias. */
9945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9953 if { (eval echo configure:9954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9955 eval "ac_cv_func_$ac_func=yes"
9957 echo "configure: failed program was:" >&5
9958 cat conftest.$ac_ext >&5
9960 eval "ac_cv_func_$ac_func=no"
9965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9966 echo "$ac_t""yes" 1>&6
9967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9968 cat >> confdefs.h <<EOF
9969 #define $ac_tr_func 1
9973 echo "$ac_t""no" 1>&6
9982 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
9983 echo "configure:9984: checking for sincos declaration" >&5
9984 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
9985 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
9986 echo $ac_n "(cached) $ac_c" 1>&6
9991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9992 ac_cpp='$CXXCPP $CPPFLAGS'
9993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9995 cross_compiling=$ac_cv_prog_cxx_cross
9997 cat > conftest.$ac_ext <<EOF
9998 #line 9999 "configure"
9999 #include "confdefs.h"
10005 if { (eval echo configure:10006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10007 glibcpp_cv_func_sincos_use=yes
10009 echo "configure: failed program was:" >&5
10010 cat conftest.$ac_ext >&5
10012 glibcpp_cv_func_sincos_use=no
10016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10017 ac_cpp='$CPP $CPPFLAGS'
10018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10020 cross_compiling=$ac_cv_prog_cc_cross
10026 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10028 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10029 for ac_func in sincos
10031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10032 echo "configure:10033: checking for $ac_func" >&5
10033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10034 echo $ac_n "(cached) $ac_c" 1>&6
10036 cat > conftest.$ac_ext <<EOF
10037 #line 10038 "configure"
10038 #include "confdefs.h"
10039 /* System header to define __stub macros and hopefully few prototypes,
10040 which can conflict with char $ac_func(); below. */
10041 #include <assert.h>
10042 /* Override any gcc2 internal prototype to avoid an error. */
10043 /* We use char because int might match the return type of a gcc2
10044 builtin and then its argument prototype would still apply. */
10049 /* The GNU C library defines this for functions which it implements
10050 to always fail with ENOSYS. Some functions are actually named
10051 something starting with __ and the normal name is an alias. */
10052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10060 if { (eval echo configure:10061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10062 eval "ac_cv_func_$ac_func=yes"
10064 echo "configure: failed program was:" >&5
10065 cat conftest.$ac_ext >&5
10067 eval "ac_cv_func_$ac_func=no"
10072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10073 echo "$ac_t""yes" 1>&6
10074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10075 cat >> confdefs.h <<EOF
10076 #define $ac_tr_func 1
10080 echo "$ac_t""no" 1>&6
10086 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
10087 echo "configure:10088: checking for _sincos declaration" >&5
10088 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10089 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10090 echo $ac_n "(cached) $ac_c" 1>&6
10095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10096 ac_cpp='$CXXCPP $CPPFLAGS'
10097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10099 cross_compiling=$ac_cv_prog_cxx_cross
10101 cat > conftest.$ac_ext <<EOF
10102 #line 10103 "configure"
10103 #include "confdefs.h"
10109 if { (eval echo configure:10110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10111 glibcpp_cv_func__sincos_use=yes
10113 echo "configure: failed program was:" >&5
10114 cat conftest.$ac_ext >&5
10116 glibcpp_cv_func__sincos_use=no
10120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10121 ac_cpp='$CPP $CPPFLAGS'
10122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10124 cross_compiling=$ac_cv_prog_cc_cross
10130 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10132 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10133 for ac_func in _sincos
10135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10136 echo "configure:10137: checking for $ac_func" >&5
10137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10138 echo $ac_n "(cached) $ac_c" 1>&6
10140 cat > conftest.$ac_ext <<EOF
10141 #line 10142 "configure"
10142 #include "confdefs.h"
10143 /* System header to define __stub macros and hopefully few prototypes,
10144 which can conflict with char $ac_func(); below. */
10145 #include <assert.h>
10146 /* Override any gcc2 internal prototype to avoid an error. */
10147 /* We use char because int might match the return type of a gcc2
10148 builtin and then its argument prototype would still apply. */
10153 /* The GNU C library defines this for functions which it implements
10154 to always fail with ENOSYS. Some functions are actually named
10155 something starting with __ and the normal name is an alias. */
10156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10164 if { (eval echo configure:10165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10166 eval "ac_cv_func_$ac_func=yes"
10168 echo "configure: failed program was:" >&5
10169 cat conftest.$ac_ext >&5
10171 eval "ac_cv_func_$ac_func=no"
10176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10177 echo "$ac_t""yes" 1>&6
10178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10179 cat >> confdefs.h <<EOF
10180 #define $ac_tr_func 1
10184 echo "$ac_t""no" 1>&6
10193 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
10194 echo "configure:10195: checking for fpclass declaration" >&5
10195 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10196 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10197 echo $ac_n "(cached) $ac_c" 1>&6
10202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10203 ac_cpp='$CXXCPP $CPPFLAGS'
10204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10206 cross_compiling=$ac_cv_prog_cxx_cross
10208 cat > conftest.$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10212 #ifdef HAVE_IEEEFP_H
10213 #include <ieeefp.h>
10220 if { (eval echo configure:10221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10222 glibcpp_cv_func_fpclass_use=yes
10224 echo "configure: failed program was:" >&5
10225 cat conftest.$ac_ext >&5
10227 glibcpp_cv_func_fpclass_use=no
10231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10232 ac_cpp='$CPP $CPPFLAGS'
10233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10235 cross_compiling=$ac_cv_prog_cc_cross
10241 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10243 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10244 for ac_func in fpclass
10246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10247 echo "configure:10248: checking for $ac_func" >&5
10248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10249 echo $ac_n "(cached) $ac_c" 1>&6
10251 cat > conftest.$ac_ext <<EOF
10252 #line 10253 "configure"
10253 #include "confdefs.h"
10254 /* System header to define __stub macros and hopefully few prototypes,
10255 which can conflict with char $ac_func(); below. */
10256 #include <assert.h>
10257 /* Override any gcc2 internal prototype to avoid an error. */
10258 /* We use char because int might match the return type of a gcc2
10259 builtin and then its argument prototype would still apply. */
10264 /* The GNU C library defines this for functions which it implements
10265 to always fail with ENOSYS. Some functions are actually named
10266 something starting with __ and the normal name is an alias. */
10267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10275 if { (eval echo configure:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10277 eval "ac_cv_func_$ac_func=yes"
10279 echo "configure: failed program was:" >&5
10280 cat conftest.$ac_ext >&5
10282 eval "ac_cv_func_$ac_func=no"
10287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10288 echo "$ac_t""yes" 1>&6
10289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10290 cat >> confdefs.h <<EOF
10291 #define $ac_tr_func 1
10295 echo "$ac_t""no" 1>&6
10301 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
10302 echo "configure:10303: checking for _fpclass declaration" >&5
10303 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10304 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10305 echo $ac_n "(cached) $ac_c" 1>&6
10310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10311 ac_cpp='$CXXCPP $CPPFLAGS'
10312 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10313 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10314 cross_compiling=$ac_cv_prog_cxx_cross
10316 cat > conftest.$ac_ext <<EOF
10317 #line 10318 "configure"
10318 #include "confdefs.h"
10320 #ifdef HAVE_IEEEFP_H
10321 #include <ieeefp.h>
10328 if { (eval echo configure:10329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10330 glibcpp_cv_func__fpclass_use=yes
10332 echo "configure: failed program was:" >&5
10333 cat conftest.$ac_ext >&5
10335 glibcpp_cv_func__fpclass_use=no
10339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10340 ac_cpp='$CPP $CPPFLAGS'
10341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10343 cross_compiling=$ac_cv_prog_cc_cross
10349 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
10351 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
10352 for ac_func in _fpclass
10354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10355 echo "configure:10356: checking for $ac_func" >&5
10356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10357 echo $ac_n "(cached) $ac_c" 1>&6
10359 cat > conftest.$ac_ext <<EOF
10360 #line 10361 "configure"
10361 #include "confdefs.h"
10362 /* System header to define __stub macros and hopefully few prototypes,
10363 which can conflict with char $ac_func(); below. */
10364 #include <assert.h>
10365 /* Override any gcc2 internal prototype to avoid an error. */
10366 /* We use char because int might match the return type of a gcc2
10367 builtin and then its argument prototype would still apply. */
10372 /* The GNU C library defines this for functions which it implements
10373 to always fail with ENOSYS. Some functions are actually named
10374 something starting with __ and the normal name is an alias. */
10375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10383 if { (eval echo configure:10384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10385 eval "ac_cv_func_$ac_func=yes"
10387 echo "configure: failed program was:" >&5
10388 cat conftest.$ac_ext >&5
10390 eval "ac_cv_func_$ac_func=no"
10395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10396 echo "$ac_t""yes" 1>&6
10397 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10398 cat >> confdefs.h <<EOF
10399 #define $ac_tr_func 1
10403 echo "$ac_t""no" 1>&6
10412 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
10413 echo "configure:10414: checking for qfpclass declaration" >&5
10414 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
10415 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
10416 echo $ac_n "(cached) $ac_c" 1>&6
10421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10422 ac_cpp='$CXXCPP $CPPFLAGS'
10423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10425 cross_compiling=$ac_cv_prog_cxx_cross
10427 cat > conftest.$ac_ext <<EOF
10428 #line 10429 "configure"
10429 #include "confdefs.h"
10431 #ifdef HAVE_IEEEFP_H
10432 #include <ieeefp.h>
10439 if { (eval echo configure:10440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10441 glibcpp_cv_func_qfpclass_use=yes
10443 echo "configure: failed program was:" >&5
10444 cat conftest.$ac_ext >&5
10446 glibcpp_cv_func_qfpclass_use=no
10450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10451 ac_cpp='$CPP $CPPFLAGS'
10452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10454 cross_compiling=$ac_cv_prog_cc_cross
10460 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
10462 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
10463 for ac_func in qfpclass
10465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10466 echo "configure:10467: checking for $ac_func" >&5
10467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10468 echo $ac_n "(cached) $ac_c" 1>&6
10470 cat > conftest.$ac_ext <<EOF
10471 #line 10472 "configure"
10472 #include "confdefs.h"
10473 /* System header to define __stub macros and hopefully few prototypes,
10474 which can conflict with char $ac_func(); below. */
10475 #include <assert.h>
10476 /* Override any gcc2 internal prototype to avoid an error. */
10477 /* We use char because int might match the return type of a gcc2
10478 builtin and then its argument prototype would still apply. */
10483 /* The GNU C library defines this for functions which it implements
10484 to always fail with ENOSYS. Some functions are actually named
10485 something starting with __ and the normal name is an alias. */
10486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10494 if { (eval echo configure:10495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10496 eval "ac_cv_func_$ac_func=yes"
10498 echo "configure: failed program was:" >&5
10499 cat conftest.$ac_ext >&5
10501 eval "ac_cv_func_$ac_func=no"
10506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10507 echo "$ac_t""yes" 1>&6
10508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10509 cat >> confdefs.h <<EOF
10510 #define $ac_tr_func 1
10514 echo "$ac_t""no" 1>&6
10520 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
10521 echo "configure:10522: checking for _qfpclass declaration" >&5
10522 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
10523 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
10524 echo $ac_n "(cached) $ac_c" 1>&6
10529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10530 ac_cpp='$CXXCPP $CPPFLAGS'
10531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10533 cross_compiling=$ac_cv_prog_cxx_cross
10535 cat > conftest.$ac_ext <<EOF
10536 #line 10537 "configure"
10537 #include "confdefs.h"
10539 #ifdef HAVE_IEEEFP_H
10540 #include <ieeefp.h>
10547 if { (eval echo configure:10548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10549 glibcpp_cv_func__qfpclass_use=yes
10551 echo "configure: failed program was:" >&5
10552 cat conftest.$ac_ext >&5
10554 glibcpp_cv_func__qfpclass_use=no
10558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10559 ac_cpp='$CPP $CPPFLAGS'
10560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10562 cross_compiling=$ac_cv_prog_cc_cross
10568 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
10570 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
10571 for ac_func in _qfpclass
10573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10574 echo "configure:10575: checking for $ac_func" >&5
10575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10576 echo $ac_n "(cached) $ac_c" 1>&6
10578 cat > conftest.$ac_ext <<EOF
10579 #line 10580 "configure"
10580 #include "confdefs.h"
10581 /* System header to define __stub macros and hopefully few prototypes,
10582 which can conflict with char $ac_func(); below. */
10583 #include <assert.h>
10584 /* Override any gcc2 internal prototype to avoid an error. */
10585 /* We use char because int might match the return type of a gcc2
10586 builtin and then its argument prototype would still apply. */
10591 /* The GNU C library defines this for functions which it implements
10592 to always fail with ENOSYS. Some functions are actually named
10593 something starting with __ and the normal name is an alias. */
10594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10602 if { (eval echo configure:10603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10604 eval "ac_cv_func_$ac_func=yes"
10606 echo "configure: failed program was:" >&5
10607 cat conftest.$ac_ext >&5
10609 eval "ac_cv_func_$ac_func=no"
10614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10615 echo "$ac_t""yes" 1>&6
10616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10617 cat >> confdefs.h <<EOF
10618 #define $ac_tr_func 1
10622 echo "$ac_t""no" 1>&6
10631 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
10632 echo "configure:10633: checking for hypot declaration" >&5
10633 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
10634 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
10635 echo $ac_n "(cached) $ac_c" 1>&6
10640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10641 ac_cpp='$CXXCPP $CPPFLAGS'
10642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10644 cross_compiling=$ac_cv_prog_cxx_cross
10646 cat > conftest.$ac_ext <<EOF
10647 #line 10648 "configure"
10648 #include "confdefs.h"
10654 if { (eval echo configure:10655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10656 glibcpp_cv_func_hypot_use=yes
10658 echo "configure: failed program was:" >&5
10659 cat conftest.$ac_ext >&5
10661 glibcpp_cv_func_hypot_use=no
10665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10666 ac_cpp='$CPP $CPPFLAGS'
10667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10669 cross_compiling=$ac_cv_prog_cc_cross
10675 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
10677 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
10678 for ac_func in hypot
10680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10681 echo "configure:10682: checking for $ac_func" >&5
10682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10683 echo $ac_n "(cached) $ac_c" 1>&6
10685 cat > conftest.$ac_ext <<EOF
10686 #line 10687 "configure"
10687 #include "confdefs.h"
10688 /* System header to define __stub macros and hopefully few prototypes,
10689 which can conflict with char $ac_func(); below. */
10690 #include <assert.h>
10691 /* Override any gcc2 internal prototype to avoid an error. */
10692 /* We use char because int might match the return type of a gcc2
10693 builtin and then its argument prototype would still apply. */
10698 /* The GNU C library defines this for functions which it implements
10699 to always fail with ENOSYS. Some functions are actually named
10700 something starting with __ and the normal name is an alias. */
10701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10709 if { (eval echo configure:10710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10711 eval "ac_cv_func_$ac_func=yes"
10713 echo "configure: failed program was:" >&5
10714 cat conftest.$ac_ext >&5
10716 eval "ac_cv_func_$ac_func=no"
10721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10722 echo "$ac_t""yes" 1>&6
10723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10724 cat >> confdefs.h <<EOF
10725 #define $ac_tr_func 1
10729 echo "$ac_t""no" 1>&6
10735 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
10736 echo "configure:10737: checking for _hypot declaration" >&5
10737 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
10738 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
10739 echo $ac_n "(cached) $ac_c" 1>&6
10744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10745 ac_cpp='$CXXCPP $CPPFLAGS'
10746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10748 cross_compiling=$ac_cv_prog_cxx_cross
10750 cat > conftest.$ac_ext <<EOF
10751 #line 10752 "configure"
10752 #include "confdefs.h"
10758 if { (eval echo configure:10759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10760 glibcpp_cv_func__hypot_use=yes
10762 echo "configure: failed program was:" >&5
10763 cat conftest.$ac_ext >&5
10765 glibcpp_cv_func__hypot_use=no
10769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10770 ac_cpp='$CPP $CPPFLAGS'
10771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10773 cross_compiling=$ac_cv_prog_cc_cross
10779 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
10781 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
10782 for ac_func in _hypot
10784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10785 echo "configure:10786: checking for $ac_func" >&5
10786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10789 cat > conftest.$ac_ext <<EOF
10790 #line 10791 "configure"
10791 #include "confdefs.h"
10792 /* System header to define __stub macros and hopefully few prototypes,
10793 which can conflict with char $ac_func(); below. */
10794 #include <assert.h>
10795 /* Override any gcc2 internal prototype to avoid an error. */
10796 /* We use char because int might match the return type of a gcc2
10797 builtin and then its argument prototype would still apply. */
10802 /* The GNU C library defines this for functions which it implements
10803 to always fail with ENOSYS. Some functions are actually named
10804 something starting with __ and the normal name is an alias. */
10805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10813 if { (eval echo configure:10814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10815 eval "ac_cv_func_$ac_func=yes"
10817 echo "configure: failed program was:" >&5
10818 cat conftest.$ac_ext >&5
10820 eval "ac_cv_func_$ac_func=no"
10825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10826 echo "$ac_t""yes" 1>&6
10827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10828 cat >> confdefs.h <<EOF
10829 #define $ac_tr_func 1
10833 echo "$ac_t""no" 1>&6
10842 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
10843 echo "configure:10844: checking for float trig functions" >&5
10844 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
10845 echo $ac_n "(cached) $ac_c" 1>&6
10850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10851 ac_cpp='$CXXCPP $CPPFLAGS'
10852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10854 cross_compiling=$ac_cv_prog_cxx_cross
10856 cat > conftest.$ac_ext <<EOF
10857 #line 10858 "configure"
10858 #include "confdefs.h"
10861 `for x in acosf asinf atanf \
10863 coshf sinhf tanhf; do echo "$x (0);"; done`
10866 if { (eval echo configure:10867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10868 glibcpp_cv_func_float_trig_use=yes
10870 echo "configure: failed program was:" >&5
10871 cat conftest.$ac_ext >&5
10873 glibcpp_cv_func_float_trig_use=no
10877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10878 ac_cpp='$CPP $CPPFLAGS'
10879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10881 cross_compiling=$ac_cv_prog_cc_cross
10885 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
10886 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
10887 for ac_func in acosf asinf atanf \
10891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10892 echo "configure:10893: checking for $ac_func" >&5
10893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10894 echo $ac_n "(cached) $ac_c" 1>&6
10896 cat > conftest.$ac_ext <<EOF
10897 #line 10898 "configure"
10898 #include "confdefs.h"
10899 /* System header to define __stub macros and hopefully few prototypes,
10900 which can conflict with char $ac_func(); below. */
10901 #include <assert.h>
10902 /* Override any gcc2 internal prototype to avoid an error. */
10903 /* We use char because int might match the return type of a gcc2
10904 builtin and then its argument prototype would still apply. */
10909 /* The GNU C library defines this for functions which it implements
10910 to always fail with ENOSYS. Some functions are actually named
10911 something starting with __ and the normal name is an alias. */
10912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10920 if { (eval echo configure:10921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10922 eval "ac_cv_func_$ac_func=yes"
10924 echo "configure: failed program was:" >&5
10925 cat conftest.$ac_ext >&5
10927 eval "ac_cv_func_$ac_func=no"
10932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10933 echo "$ac_t""yes" 1>&6
10934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10935 cat >> confdefs.h <<EOF
10936 #define $ac_tr_func 1
10940 echo "$ac_t""no" 1>&6
10947 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
10948 echo "configure:10949: checking for float round functions" >&5
10949 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10956 ac_cpp='$CXXCPP $CPPFLAGS'
10957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10959 cross_compiling=$ac_cv_prog_cxx_cross
10961 cat > conftest.$ac_ext <<EOF
10962 #line 10963 "configure"
10963 #include "confdefs.h"
10966 `for x in ceilf floorf; do echo "$x (0);"; done`
10969 if { (eval echo configure:10970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10971 glibcpp_cv_func_float_round_use=yes
10973 echo "configure: failed program was:" >&5
10974 cat conftest.$ac_ext >&5
10976 glibcpp_cv_func_float_round_use=no
10980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10981 ac_cpp='$CPP $CPPFLAGS'
10982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10984 cross_compiling=$ac_cv_prog_cc_cross
10988 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
10989 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
10990 for ac_func in ceilf floorf
10992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10993 echo "configure:10994: checking for $ac_func" >&5
10994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10995 echo $ac_n "(cached) $ac_c" 1>&6
10997 cat > conftest.$ac_ext <<EOF
10998 #line 10999 "configure"
10999 #include "confdefs.h"
11000 /* System header to define __stub macros and hopefully few prototypes,
11001 which can conflict with char $ac_func(); below. */
11002 #include <assert.h>
11003 /* Override any gcc2 internal prototype to avoid an error. */
11004 /* We use char because int might match the return type of a gcc2
11005 builtin and then its argument prototype would still apply. */
11010 /* The GNU C library defines this for functions which it implements
11011 to always fail with ENOSYS. Some functions are actually named
11012 something starting with __ and the normal name is an alias. */
11013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11023 eval "ac_cv_func_$ac_func=yes"
11025 echo "configure: failed program was:" >&5
11026 cat conftest.$ac_ext >&5
11028 eval "ac_cv_func_$ac_func=no"
11033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11034 echo "$ac_t""yes" 1>&6
11035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11036 cat >> confdefs.h <<EOF
11037 #define $ac_tr_func 1
11041 echo "$ac_t""no" 1>&6
11049 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
11050 echo "configure:11051: checking for isnanf declaration" >&5
11051 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11052 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11059 ac_cpp='$CXXCPP $CPPFLAGS'
11060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11062 cross_compiling=$ac_cv_prog_cxx_cross
11064 cat > conftest.$ac_ext <<EOF
11065 #line 11066 "configure"
11066 #include "confdefs.h"
11068 #ifdef HAVE_IEEEFP_H
11069 #include <ieeefp.h>
11076 if { (eval echo configure:11077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11078 glibcpp_cv_func_isnanf_use=yes
11080 echo "configure: failed program was:" >&5
11081 cat conftest.$ac_ext >&5
11083 glibcpp_cv_func_isnanf_use=no
11087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11088 ac_cpp='$CPP $CPPFLAGS'
11089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11091 cross_compiling=$ac_cv_prog_cc_cross
11097 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11099 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11100 for ac_func in isnanf
11102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11103 echo "configure:11104: checking for $ac_func" >&5
11104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11105 echo $ac_n "(cached) $ac_c" 1>&6
11107 cat > conftest.$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11110 /* System header to define __stub macros and hopefully few prototypes,
11111 which can conflict with char $ac_func(); below. */
11112 #include <assert.h>
11113 /* Override any gcc2 internal prototype to avoid an error. */
11114 /* We use char because int might match the return type of a gcc2
11115 builtin and then its argument prototype would still apply. */
11120 /* The GNU C library defines this for functions which it implements
11121 to always fail with ENOSYS. Some functions are actually named
11122 something starting with __ and the normal name is an alias. */
11123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11133 eval "ac_cv_func_$ac_func=yes"
11135 echo "configure: failed program was:" >&5
11136 cat conftest.$ac_ext >&5
11138 eval "ac_cv_func_$ac_func=no"
11143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11144 echo "$ac_t""yes" 1>&6
11145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11146 cat >> confdefs.h <<EOF
11147 #define $ac_tr_func 1
11151 echo "$ac_t""no" 1>&6
11157 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11158 echo "configure:11159: checking for _isnanf declaration" >&5
11159 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11160 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11161 echo $ac_n "(cached) $ac_c" 1>&6
11166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11167 ac_cpp='$CXXCPP $CPPFLAGS'
11168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11170 cross_compiling=$ac_cv_prog_cxx_cross
11172 cat > conftest.$ac_ext <<EOF
11173 #line 11174 "configure"
11174 #include "confdefs.h"
11176 #ifdef HAVE_IEEEFP_H
11177 #include <ieeefp.h>
11184 if { (eval echo configure:11185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11186 glibcpp_cv_func__isnanf_use=yes
11188 echo "configure: failed program was:" >&5
11189 cat conftest.$ac_ext >&5
11191 glibcpp_cv_func__isnanf_use=no
11195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11196 ac_cpp='$CPP $CPPFLAGS'
11197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11199 cross_compiling=$ac_cv_prog_cc_cross
11205 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11207 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11208 for ac_func in _isnanf
11210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11211 echo "configure:11212: checking for $ac_func" >&5
11212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11213 echo $ac_n "(cached) $ac_c" 1>&6
11215 cat > conftest.$ac_ext <<EOF
11216 #line 11217 "configure"
11217 #include "confdefs.h"
11218 /* System header to define __stub macros and hopefully few prototypes,
11219 which can conflict with char $ac_func(); below. */
11220 #include <assert.h>
11221 /* Override any gcc2 internal prototype to avoid an error. */
11222 /* We use char because int might match the return type of a gcc2
11223 builtin and then its argument prototype would still apply. */
11228 /* The GNU C library defines this for functions which it implements
11229 to always fail with ENOSYS. Some functions are actually named
11230 something starting with __ and the normal name is an alias. */
11231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11239 if { (eval echo configure:11240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11241 eval "ac_cv_func_$ac_func=yes"
11243 echo "configure: failed program was:" >&5
11244 cat conftest.$ac_ext >&5
11246 eval "ac_cv_func_$ac_func=no"
11251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11252 echo "$ac_t""yes" 1>&6
11253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11254 cat >> confdefs.h <<EOF
11255 #define $ac_tr_func 1
11259 echo "$ac_t""no" 1>&6
11268 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
11269 echo "configure:11270: checking for isinff declaration" >&5
11270 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
11271 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
11272 echo $ac_n "(cached) $ac_c" 1>&6
11277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11278 ac_cpp='$CXXCPP $CPPFLAGS'
11279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11281 cross_compiling=$ac_cv_prog_cxx_cross
11283 cat > conftest.$ac_ext <<EOF
11284 #line 11285 "configure"
11285 #include "confdefs.h"
11287 #ifdef HAVE_IEEEFP_H
11288 #include <ieeefp.h>
11295 if { (eval echo configure:11296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11297 glibcpp_cv_func_isinff_use=yes
11299 echo "configure: failed program was:" >&5
11300 cat conftest.$ac_ext >&5
11302 glibcpp_cv_func_isinff_use=no
11306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp='$CPP $CPPFLAGS'
11308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling=$ac_cv_prog_cc_cross
11316 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
11318 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
11319 for ac_func in isinff
11321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11322 echo "configure:11323: checking for $ac_func" >&5
11323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11324 echo $ac_n "(cached) $ac_c" 1>&6
11326 cat > conftest.$ac_ext <<EOF
11327 #line 11328 "configure"
11328 #include "confdefs.h"
11329 /* System header to define __stub macros and hopefully few prototypes,
11330 which can conflict with char $ac_func(); below. */
11331 #include <assert.h>
11332 /* Override any gcc2 internal prototype to avoid an error. */
11333 /* We use char because int might match the return type of a gcc2
11334 builtin and then its argument prototype would still apply. */
11339 /* The GNU C library defines this for functions which it implements
11340 to always fail with ENOSYS. Some functions are actually named
11341 something starting with __ and the normal name is an alias. */
11342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11350 if { (eval echo configure:11351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11352 eval "ac_cv_func_$ac_func=yes"
11354 echo "configure: failed program was:" >&5
11355 cat conftest.$ac_ext >&5
11357 eval "ac_cv_func_$ac_func=no"
11362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11363 echo "$ac_t""yes" 1>&6
11364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11365 cat >> confdefs.h <<EOF
11366 #define $ac_tr_func 1
11370 echo "$ac_t""no" 1>&6
11376 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11377 echo "configure:11378: checking for _isinff declaration" >&5
11378 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
11379 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11380 echo $ac_n "(cached) $ac_c" 1>&6
11385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11386 ac_cpp='$CXXCPP $CPPFLAGS'
11387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11389 cross_compiling=$ac_cv_prog_cxx_cross
11391 cat > conftest.$ac_ext <<EOF
11392 #line 11393 "configure"
11393 #include "confdefs.h"
11395 #ifdef HAVE_IEEEFP_H
11396 #include <ieeefp.h>
11403 if { (eval echo configure:11404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11405 glibcpp_cv_func__isinff_use=yes
11407 echo "configure: failed program was:" >&5
11408 cat conftest.$ac_ext >&5
11410 glibcpp_cv_func__isinff_use=no
11414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11415 ac_cpp='$CPP $CPPFLAGS'
11416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11418 cross_compiling=$ac_cv_prog_cc_cross
11424 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11426 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11427 for ac_func in _isinff
11429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11430 echo "configure:11431: checking for $ac_func" >&5
11431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11432 echo $ac_n "(cached) $ac_c" 1>&6
11434 cat > conftest.$ac_ext <<EOF
11435 #line 11436 "configure"
11436 #include "confdefs.h"
11437 /* System header to define __stub macros and hopefully few prototypes,
11438 which can conflict with char $ac_func(); below. */
11439 #include <assert.h>
11440 /* Override any gcc2 internal prototype to avoid an error. */
11441 /* We use char because int might match the return type of a gcc2
11442 builtin and then its argument prototype would still apply. */
11447 /* The GNU C library defines this for functions which it implements
11448 to always fail with ENOSYS. Some functions are actually named
11449 something starting with __ and the normal name is an alias. */
11450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11460 eval "ac_cv_func_$ac_func=yes"
11462 echo "configure: failed program was:" >&5
11463 cat conftest.$ac_ext >&5
11465 eval "ac_cv_func_$ac_func=no"
11470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11471 echo "$ac_t""yes" 1>&6
11472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11473 cat >> confdefs.h <<EOF
11474 #define $ac_tr_func 1
11478 echo "$ac_t""no" 1>&6
11487 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
11488 echo "configure:11489: checking for atan2f declaration" >&5
11489 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
11490 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
11491 echo $ac_n "(cached) $ac_c" 1>&6
11496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11497 ac_cpp='$CXXCPP $CPPFLAGS'
11498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11500 cross_compiling=$ac_cv_prog_cxx_cross
11502 cat > conftest.$ac_ext <<EOF
11503 #line 11504 "configure"
11504 #include "confdefs.h"
11510 if { (eval echo configure:11511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11512 glibcpp_cv_func_atan2f_use=yes
11514 echo "configure: failed program was:" >&5
11515 cat conftest.$ac_ext >&5
11517 glibcpp_cv_func_atan2f_use=no
11521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11522 ac_cpp='$CPP $CPPFLAGS'
11523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11525 cross_compiling=$ac_cv_prog_cc_cross
11531 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
11533 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
11534 for ac_func in atan2f
11536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11537 echo "configure:11538: checking for $ac_func" >&5
11538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11539 echo $ac_n "(cached) $ac_c" 1>&6
11541 cat > conftest.$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11544 /* System header to define __stub macros and hopefully few prototypes,
11545 which can conflict with char $ac_func(); below. */
11546 #include <assert.h>
11547 /* Override any gcc2 internal prototype to avoid an error. */
11548 /* We use char because int might match the return type of a gcc2
11549 builtin and then its argument prototype would still apply. */
11554 /* The GNU C library defines this for functions which it implements
11555 to always fail with ENOSYS. Some functions are actually named
11556 something starting with __ and the normal name is an alias. */
11557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11565 if { (eval echo configure:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11567 eval "ac_cv_func_$ac_func=yes"
11569 echo "configure: failed program was:" >&5
11570 cat conftest.$ac_ext >&5
11572 eval "ac_cv_func_$ac_func=no"
11577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11578 echo "$ac_t""yes" 1>&6
11579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11580 cat >> confdefs.h <<EOF
11581 #define $ac_tr_func 1
11585 echo "$ac_t""no" 1>&6
11591 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
11592 echo "configure:11593: checking for _atan2f declaration" >&5
11593 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
11594 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
11595 echo $ac_n "(cached) $ac_c" 1>&6
11600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11601 ac_cpp='$CXXCPP $CPPFLAGS'
11602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11604 cross_compiling=$ac_cv_prog_cxx_cross
11606 cat > conftest.$ac_ext <<EOF
11607 #line 11608 "configure"
11608 #include "confdefs.h"
11614 if { (eval echo configure:11615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11616 glibcpp_cv_func__atan2f_use=yes
11618 echo "configure: failed program was:" >&5
11619 cat conftest.$ac_ext >&5
11621 glibcpp_cv_func__atan2f_use=no
11625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11626 ac_cpp='$CPP $CPPFLAGS'
11627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11629 cross_compiling=$ac_cv_prog_cc_cross
11635 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
11637 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
11638 for ac_func in _atan2f
11640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11641 echo "configure:11642: checking for $ac_func" >&5
11642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11643 echo $ac_n "(cached) $ac_c" 1>&6
11645 cat > conftest.$ac_ext <<EOF
11646 #line 11647 "configure"
11647 #include "confdefs.h"
11648 /* System header to define __stub macros and hopefully few prototypes,
11649 which can conflict with char $ac_func(); below. */
11650 #include <assert.h>
11651 /* Override any gcc2 internal prototype to avoid an error. */
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11658 /* The GNU C library defines this for functions which it implements
11659 to always fail with ENOSYS. Some functions are actually named
11660 something starting with __ and the normal name is an alias. */
11661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11669 if { (eval echo configure:11670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11671 eval "ac_cv_func_$ac_func=yes"
11673 echo "configure: failed program was:" >&5
11674 cat conftest.$ac_ext >&5
11676 eval "ac_cv_func_$ac_func=no"
11681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11682 echo "$ac_t""yes" 1>&6
11683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11684 cat >> confdefs.h <<EOF
11685 #define $ac_tr_func 1
11689 echo "$ac_t""no" 1>&6
11698 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
11699 echo "configure:11700: checking for fabsf declaration" >&5
11700 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
11701 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
11702 echo $ac_n "(cached) $ac_c" 1>&6
11707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11708 ac_cpp='$CXXCPP $CPPFLAGS'
11709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11711 cross_compiling=$ac_cv_prog_cxx_cross
11713 cat > conftest.$ac_ext <<EOF
11714 #line 11715 "configure"
11715 #include "confdefs.h"
11717 #ifdef HAVE_IEEEFP_H
11718 #include <ieeefp.h>
11725 if { (eval echo configure:11726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11727 glibcpp_cv_func_fabsf_use=yes
11729 echo "configure: failed program was:" >&5
11730 cat conftest.$ac_ext >&5
11732 glibcpp_cv_func_fabsf_use=no
11736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11737 ac_cpp='$CPP $CPPFLAGS'
11738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11740 cross_compiling=$ac_cv_prog_cc_cross
11746 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
11748 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
11749 for ac_func in fabsf
11751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11752 echo "configure:11753: checking for $ac_func" >&5
11753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11754 echo $ac_n "(cached) $ac_c" 1>&6
11756 cat > conftest.$ac_ext <<EOF
11757 #line 11758 "configure"
11758 #include "confdefs.h"
11759 /* System header to define __stub macros and hopefully few prototypes,
11760 which can conflict with char $ac_func(); below. */
11761 #include <assert.h>
11762 /* Override any gcc2 internal prototype to avoid an error. */
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11769 /* The GNU C library defines this for functions which it implements
11770 to always fail with ENOSYS. Some functions are actually named
11771 something starting with __ and the normal name is an alias. */
11772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11780 if { (eval echo configure:11781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11782 eval "ac_cv_func_$ac_func=yes"
11784 echo "configure: failed program was:" >&5
11785 cat conftest.$ac_ext >&5
11787 eval "ac_cv_func_$ac_func=no"
11792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11793 echo "$ac_t""yes" 1>&6
11794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11795 cat >> confdefs.h <<EOF
11796 #define $ac_tr_func 1
11800 echo "$ac_t""no" 1>&6
11806 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
11807 echo "configure:11808: checking for _fabsf declaration" >&5
11808 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
11809 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
11810 echo $ac_n "(cached) $ac_c" 1>&6
11815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11816 ac_cpp='$CXXCPP $CPPFLAGS'
11817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11819 cross_compiling=$ac_cv_prog_cxx_cross
11821 cat > conftest.$ac_ext <<EOF
11822 #line 11823 "configure"
11823 #include "confdefs.h"
11825 #ifdef HAVE_IEEEFP_H
11826 #include <ieeefp.h>
11833 if { (eval echo configure:11834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11835 glibcpp_cv_func__fabsf_use=yes
11837 echo "configure: failed program was:" >&5
11838 cat conftest.$ac_ext >&5
11840 glibcpp_cv_func__fabsf_use=no
11844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11848 cross_compiling=$ac_cv_prog_cc_cross
11854 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
11856 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
11857 for ac_func in _fabsf
11859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11860 echo "configure:11861: checking for $ac_func" >&5
11861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11862 echo $ac_n "(cached) $ac_c" 1>&6
11864 cat > conftest.$ac_ext <<EOF
11865 #line 11866 "configure"
11866 #include "confdefs.h"
11867 /* System header to define __stub macros and hopefully few prototypes,
11868 which can conflict with char $ac_func(); below. */
11869 #include <assert.h>
11870 /* Override any gcc2 internal prototype to avoid an error. */
11871 /* We use char because int might match the return type of a gcc2
11872 builtin and then its argument prototype would still apply. */
11877 /* The GNU C library defines this for functions which it implements
11878 to always fail with ENOSYS. Some functions are actually named
11879 something starting with __ and the normal name is an alias. */
11880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11888 if { (eval echo configure:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11890 eval "ac_cv_func_$ac_func=yes"
11892 echo "configure: failed program was:" >&5
11893 cat conftest.$ac_ext >&5
11895 eval "ac_cv_func_$ac_func=no"
11900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11901 echo "$ac_t""yes" 1>&6
11902 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11903 cat >> confdefs.h <<EOF
11904 #define $ac_tr_func 1
11908 echo "$ac_t""no" 1>&6
11917 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
11918 echo "configure:11919: checking for fmodf declaration" >&5
11919 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
11920 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
11921 echo $ac_n "(cached) $ac_c" 1>&6
11926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11930 cross_compiling=$ac_cv_prog_cxx_cross
11932 cat > conftest.$ac_ext <<EOF
11933 #line 11934 "configure"
11934 #include "confdefs.h"
11940 if { (eval echo configure:11941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11942 glibcpp_cv_func_fmodf_use=yes
11944 echo "configure: failed program was:" >&5
11945 cat conftest.$ac_ext >&5
11947 glibcpp_cv_func_fmodf_use=no
11951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11952 ac_cpp='$CPP $CPPFLAGS'
11953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11955 cross_compiling=$ac_cv_prog_cc_cross
11961 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
11963 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11964 for ac_func in fmodf
11966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11967 echo "configure:11968: checking for $ac_func" >&5
11968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11969 echo $ac_n "(cached) $ac_c" 1>&6
11971 cat > conftest.$ac_ext <<EOF
11972 #line 11973 "configure"
11973 #include "confdefs.h"
11974 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char $ac_func(); below. */
11976 #include <assert.h>
11977 /* Override any gcc2 internal prototype to avoid an error. */
11978 /* We use char because int might match the return type of a gcc2
11979 builtin and then its argument prototype would still apply. */
11984 /* The GNU C library defines this for functions which it implements
11985 to always fail with ENOSYS. Some functions are actually named
11986 something starting with __ and the normal name is an alias. */
11987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11995 if { (eval echo configure:11996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11997 eval "ac_cv_func_$ac_func=yes"
11999 echo "configure: failed program was:" >&5
12000 cat conftest.$ac_ext >&5
12002 eval "ac_cv_func_$ac_func=no"
12007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12008 echo "$ac_t""yes" 1>&6
12009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12010 cat >> confdefs.h <<EOF
12011 #define $ac_tr_func 1
12015 echo "$ac_t""no" 1>&6
12021 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12022 echo "configure:12023: checking for _fmodf declaration" >&5
12023 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12024 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12025 echo $ac_n "(cached) $ac_c" 1>&6
12030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12031 ac_cpp='$CXXCPP $CPPFLAGS'
12032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12034 cross_compiling=$ac_cv_prog_cxx_cross
12036 cat > conftest.$ac_ext <<EOF
12037 #line 12038 "configure"
12038 #include "confdefs.h"
12044 if { (eval echo configure:12045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12046 glibcpp_cv_func__fmodf_use=yes
12048 echo "configure: failed program was:" >&5
12049 cat conftest.$ac_ext >&5
12051 glibcpp_cv_func__fmodf_use=no
12055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12056 ac_cpp='$CPP $CPPFLAGS'
12057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12059 cross_compiling=$ac_cv_prog_cc_cross
12065 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12067 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12068 for ac_func in _fmodf
12070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12071 echo "configure:12072: checking for $ac_func" >&5
12072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12073 echo $ac_n "(cached) $ac_c" 1>&6
12075 cat > conftest.$ac_ext <<EOF
12076 #line 12077 "configure"
12077 #include "confdefs.h"
12078 /* System header to define __stub macros and hopefully few prototypes,
12079 which can conflict with char $ac_func(); below. */
12080 #include <assert.h>
12081 /* Override any gcc2 internal prototype to avoid an error. */
12082 /* We use char because int might match the return type of a gcc2
12083 builtin and then its argument prototype would still apply. */
12088 /* The GNU C library defines this for functions which it implements
12089 to always fail with ENOSYS. Some functions are actually named
12090 something starting with __ and the normal name is an alias. */
12091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12099 if { (eval echo configure:12100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12101 eval "ac_cv_func_$ac_func=yes"
12103 echo "configure: failed program was:" >&5
12104 cat conftest.$ac_ext >&5
12106 eval "ac_cv_func_$ac_func=no"
12111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12112 echo "$ac_t""yes" 1>&6
12113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12114 cat >> confdefs.h <<EOF
12115 #define $ac_tr_func 1
12119 echo "$ac_t""no" 1>&6
12128 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
12129 echo "configure:12130: checking for frexpf declaration" >&5
12130 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
12131 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
12132 echo $ac_n "(cached) $ac_c" 1>&6
12137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12138 ac_cpp='$CXXCPP $CPPFLAGS'
12139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12141 cross_compiling=$ac_cv_prog_cxx_cross
12143 cat > conftest.$ac_ext <<EOF
12144 #line 12145 "configure"
12145 #include "confdefs.h"
12151 if { (eval echo configure:12152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12153 glibcpp_cv_func_frexpf_use=yes
12155 echo "configure: failed program was:" >&5
12156 cat conftest.$ac_ext >&5
12158 glibcpp_cv_func_frexpf_use=no
12162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12166 cross_compiling=$ac_cv_prog_cc_cross
12172 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
12174 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
12175 for ac_func in frexpf
12177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12178 echo "configure:12179: checking for $ac_func" >&5
12179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12180 echo $ac_n "(cached) $ac_c" 1>&6
12182 cat > conftest.$ac_ext <<EOF
12183 #line 12184 "configure"
12184 #include "confdefs.h"
12185 /* System header to define __stub macros and hopefully few prototypes,
12186 which can conflict with char $ac_func(); below. */
12187 #include <assert.h>
12188 /* Override any gcc2 internal prototype to avoid an error. */
12189 /* We use char because int might match the return type of a gcc2
12190 builtin and then its argument prototype would still apply. */
12195 /* The GNU C library defines this for functions which it implements
12196 to always fail with ENOSYS. Some functions are actually named
12197 something starting with __ and the normal name is an alias. */
12198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12206 if { (eval echo configure:12207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12208 eval "ac_cv_func_$ac_func=yes"
12210 echo "configure: failed program was:" >&5
12211 cat conftest.$ac_ext >&5
12213 eval "ac_cv_func_$ac_func=no"
12218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12219 echo "$ac_t""yes" 1>&6
12220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12221 cat >> confdefs.h <<EOF
12222 #define $ac_tr_func 1
12226 echo "$ac_t""no" 1>&6
12232 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12233 echo "configure:12234: checking for _frexpf declaration" >&5
12234 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
12235 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12236 echo $ac_n "(cached) $ac_c" 1>&6
12241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12242 ac_cpp='$CXXCPP $CPPFLAGS'
12243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12245 cross_compiling=$ac_cv_prog_cxx_cross
12247 cat > conftest.$ac_ext <<EOF
12248 #line 12249 "configure"
12249 #include "confdefs.h"
12255 if { (eval echo configure:12256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12257 glibcpp_cv_func__frexpf_use=yes
12259 echo "configure: failed program was:" >&5
12260 cat conftest.$ac_ext >&5
12262 glibcpp_cv_func__frexpf_use=no
12266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12267 ac_cpp='$CPP $CPPFLAGS'
12268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12270 cross_compiling=$ac_cv_prog_cc_cross
12276 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12278 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12279 for ac_func in _frexpf
12281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12282 echo "configure:12283: checking for $ac_func" >&5
12283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12284 echo $ac_n "(cached) $ac_c" 1>&6
12286 cat > conftest.$ac_ext <<EOF
12287 #line 12288 "configure"
12288 #include "confdefs.h"
12289 /* System header to define __stub macros and hopefully few prototypes,
12290 which can conflict with char $ac_func(); below. */
12291 #include <assert.h>
12292 /* Override any gcc2 internal prototype to avoid an error. */
12293 /* We use char because int might match the return type of a gcc2
12294 builtin and then its argument prototype would still apply. */
12299 /* The GNU C library defines this for functions which it implements
12300 to always fail with ENOSYS. Some functions are actually named
12301 something starting with __ and the normal name is an alias. */
12302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12310 if { (eval echo configure:12311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12312 eval "ac_cv_func_$ac_func=yes"
12314 echo "configure: failed program was:" >&5
12315 cat conftest.$ac_ext >&5
12317 eval "ac_cv_func_$ac_func=no"
12322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12323 echo "$ac_t""yes" 1>&6
12324 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12325 cat >> confdefs.h <<EOF
12326 #define $ac_tr_func 1
12330 echo "$ac_t""no" 1>&6
12339 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
12340 echo "configure:12341: checking for hypotf declaration" >&5
12341 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
12342 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
12343 echo $ac_n "(cached) $ac_c" 1>&6
12348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12349 ac_cpp='$CXXCPP $CPPFLAGS'
12350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12352 cross_compiling=$ac_cv_prog_cxx_cross
12354 cat > conftest.$ac_ext <<EOF
12355 #line 12356 "configure"
12356 #include "confdefs.h"
12362 if { (eval echo configure:12363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12364 glibcpp_cv_func_hypotf_use=yes
12366 echo "configure: failed program was:" >&5
12367 cat conftest.$ac_ext >&5
12369 glibcpp_cv_func_hypotf_use=no
12373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12374 ac_cpp='$CPP $CPPFLAGS'
12375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12377 cross_compiling=$ac_cv_prog_cc_cross
12383 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
12385 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
12386 for ac_func in hypotf
12388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12389 echo "configure:12390: checking for $ac_func" >&5
12390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12391 echo $ac_n "(cached) $ac_c" 1>&6
12393 cat > conftest.$ac_ext <<EOF
12394 #line 12395 "configure"
12395 #include "confdefs.h"
12396 /* System header to define __stub macros and hopefully few prototypes,
12397 which can conflict with char $ac_func(); below. */
12398 #include <assert.h>
12399 /* Override any gcc2 internal prototype to avoid an error. */
12400 /* We use char because int might match the return type of a gcc2
12401 builtin and then its argument prototype would still apply. */
12406 /* The GNU C library defines this for functions which it implements
12407 to always fail with ENOSYS. Some functions are actually named
12408 something starting with __ and the normal name is an alias. */
12409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12417 if { (eval echo configure:12418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12419 eval "ac_cv_func_$ac_func=yes"
12421 echo "configure: failed program was:" >&5
12422 cat conftest.$ac_ext >&5
12424 eval "ac_cv_func_$ac_func=no"
12429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12430 echo "$ac_t""yes" 1>&6
12431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12432 cat >> confdefs.h <<EOF
12433 #define $ac_tr_func 1
12437 echo "$ac_t""no" 1>&6
12443 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
12444 echo "configure:12445: checking for _hypotf declaration" >&5
12445 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
12446 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
12447 echo $ac_n "(cached) $ac_c" 1>&6
12452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12453 ac_cpp='$CXXCPP $CPPFLAGS'
12454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12456 cross_compiling=$ac_cv_prog_cxx_cross
12458 cat > conftest.$ac_ext <<EOF
12459 #line 12460 "configure"
12460 #include "confdefs.h"
12466 if { (eval echo configure:12467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12468 glibcpp_cv_func__hypotf_use=yes
12470 echo "configure: failed program was:" >&5
12471 cat conftest.$ac_ext >&5
12473 glibcpp_cv_func__hypotf_use=no
12477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12478 ac_cpp='$CPP $CPPFLAGS'
12479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12481 cross_compiling=$ac_cv_prog_cc_cross
12487 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
12489 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
12490 for ac_func in _hypotf
12492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12493 echo "configure:12494: checking for $ac_func" >&5
12494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12495 echo $ac_n "(cached) $ac_c" 1>&6
12497 cat > conftest.$ac_ext <<EOF
12498 #line 12499 "configure"
12499 #include "confdefs.h"
12500 /* System header to define __stub macros and hopefully few prototypes,
12501 which can conflict with char $ac_func(); below. */
12502 #include <assert.h>
12503 /* Override any gcc2 internal prototype to avoid an error. */
12504 /* We use char because int might match the return type of a gcc2
12505 builtin and then its argument prototype would still apply. */
12510 /* The GNU C library defines this for functions which it implements
12511 to always fail with ENOSYS. Some functions are actually named
12512 something starting with __ and the normal name is an alias. */
12513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12521 if { (eval echo configure:12522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12523 eval "ac_cv_func_$ac_func=yes"
12525 echo "configure: failed program was:" >&5
12526 cat conftest.$ac_ext >&5
12528 eval "ac_cv_func_$ac_func=no"
12533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12534 echo "$ac_t""yes" 1>&6
12535 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12536 cat >> confdefs.h <<EOF
12537 #define $ac_tr_func 1
12541 echo "$ac_t""no" 1>&6
12550 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
12551 echo "configure:12552: checking for ldexpf declaration" >&5
12552 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
12553 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
12554 echo $ac_n "(cached) $ac_c" 1>&6
12559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12560 ac_cpp='$CXXCPP $CPPFLAGS'
12561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12563 cross_compiling=$ac_cv_prog_cxx_cross
12565 cat > conftest.$ac_ext <<EOF
12566 #line 12567 "configure"
12567 #include "confdefs.h"
12573 if { (eval echo configure:12574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12575 glibcpp_cv_func_ldexpf_use=yes
12577 echo "configure: failed program was:" >&5
12578 cat conftest.$ac_ext >&5
12580 glibcpp_cv_func_ldexpf_use=no
12584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12585 ac_cpp='$CPP $CPPFLAGS'
12586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12588 cross_compiling=$ac_cv_prog_cc_cross
12594 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
12596 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
12597 for ac_func in ldexpf
12599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12600 echo "configure:12601: checking for $ac_func" >&5
12601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12602 echo $ac_n "(cached) $ac_c" 1>&6
12604 cat > conftest.$ac_ext <<EOF
12605 #line 12606 "configure"
12606 #include "confdefs.h"
12607 /* System header to define __stub macros and hopefully few prototypes,
12608 which can conflict with char $ac_func(); below. */
12609 #include <assert.h>
12610 /* Override any gcc2 internal prototype to avoid an error. */
12611 /* We use char because int might match the return type of a gcc2
12612 builtin and then its argument prototype would still apply. */
12617 /* The GNU C library defines this for functions which it implements
12618 to always fail with ENOSYS. Some functions are actually named
12619 something starting with __ and the normal name is an alias. */
12620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12628 if { (eval echo configure:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12630 eval "ac_cv_func_$ac_func=yes"
12632 echo "configure: failed program was:" >&5
12633 cat conftest.$ac_ext >&5
12635 eval "ac_cv_func_$ac_func=no"
12640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12641 echo "$ac_t""yes" 1>&6
12642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12643 cat >> confdefs.h <<EOF
12644 #define $ac_tr_func 1
12648 echo "$ac_t""no" 1>&6
12654 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
12655 echo "configure:12656: checking for _ldexpf declaration" >&5
12656 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
12657 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
12658 echo $ac_n "(cached) $ac_c" 1>&6
12663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12664 ac_cpp='$CXXCPP $CPPFLAGS'
12665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12667 cross_compiling=$ac_cv_prog_cxx_cross
12669 cat > conftest.$ac_ext <<EOF
12670 #line 12671 "configure"
12671 #include "confdefs.h"
12677 if { (eval echo configure:12678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12679 glibcpp_cv_func__ldexpf_use=yes
12681 echo "configure: failed program was:" >&5
12682 cat conftest.$ac_ext >&5
12684 glibcpp_cv_func__ldexpf_use=no
12688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12689 ac_cpp='$CPP $CPPFLAGS'
12690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12692 cross_compiling=$ac_cv_prog_cc_cross
12698 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
12700 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
12701 for ac_func in _ldexpf
12703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12704 echo "configure:12705: checking for $ac_func" >&5
12705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12706 echo $ac_n "(cached) $ac_c" 1>&6
12708 cat > conftest.$ac_ext <<EOF
12709 #line 12710 "configure"
12710 #include "confdefs.h"
12711 /* System header to define __stub macros and hopefully few prototypes,
12712 which can conflict with char $ac_func(); below. */
12713 #include <assert.h>
12714 /* Override any gcc2 internal prototype to avoid an error. */
12715 /* We use char because int might match the return type of a gcc2
12716 builtin and then its argument prototype would still apply. */
12721 /* The GNU C library defines this for functions which it implements
12722 to always fail with ENOSYS. Some functions are actually named
12723 something starting with __ and the normal name is an alias. */
12724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12732 if { (eval echo configure:12733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12734 eval "ac_cv_func_$ac_func=yes"
12736 echo "configure: failed program was:" >&5
12737 cat conftest.$ac_ext >&5
12739 eval "ac_cv_func_$ac_func=no"
12744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12745 echo "$ac_t""yes" 1>&6
12746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12747 cat >> confdefs.h <<EOF
12748 #define $ac_tr_func 1
12752 echo "$ac_t""no" 1>&6
12761 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
12762 echo "configure:12763: checking for logf declaration" >&5
12763 if test x${glibcpp_cv_func_logf_use+set} != xset; then
12764 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12771 ac_cpp='$CXXCPP $CPPFLAGS'
12772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12774 cross_compiling=$ac_cv_prog_cxx_cross
12776 cat > conftest.$ac_ext <<EOF
12777 #line 12778 "configure"
12778 #include "confdefs.h"
12780 #ifdef HAVE_IEEEFP_H
12781 #include <ieeefp.h>
12788 if { (eval echo configure:12789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12790 glibcpp_cv_func_logf_use=yes
12792 echo "configure: failed program was:" >&5
12793 cat conftest.$ac_ext >&5
12795 glibcpp_cv_func_logf_use=no
12799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12800 ac_cpp='$CPP $CPPFLAGS'
12801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12803 cross_compiling=$ac_cv_prog_cc_cross
12809 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
12811 if test x$glibcpp_cv_func_logf_use = x"yes"; then
12812 for ac_func in logf
12814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12815 echo "configure:12816: checking for $ac_func" >&5
12816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12817 echo $ac_n "(cached) $ac_c" 1>&6
12819 cat > conftest.$ac_ext <<EOF
12820 #line 12821 "configure"
12821 #include "confdefs.h"
12822 /* System header to define __stub macros and hopefully few prototypes,
12823 which can conflict with char $ac_func(); below. */
12824 #include <assert.h>
12825 /* Override any gcc2 internal prototype to avoid an error. */
12826 /* We use char because int might match the return type of a gcc2
12827 builtin and then its argument prototype would still apply. */
12832 /* The GNU C library defines this for functions which it implements
12833 to always fail with ENOSYS. Some functions are actually named
12834 something starting with __ and the normal name is an alias. */
12835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12843 if { (eval echo configure:12844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12845 eval "ac_cv_func_$ac_func=yes"
12847 echo "configure: failed program was:" >&5
12848 cat conftest.$ac_ext >&5
12850 eval "ac_cv_func_$ac_func=no"
12855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12856 echo "$ac_t""yes" 1>&6
12857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12858 cat >> confdefs.h <<EOF
12859 #define $ac_tr_func 1
12863 echo "$ac_t""no" 1>&6
12869 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
12870 echo "configure:12871: checking for _logf declaration" >&5
12871 if test x${glibcpp_cv_func__logf_use+set} != xset; then
12872 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
12873 echo $ac_n "(cached) $ac_c" 1>&6
12878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12879 ac_cpp='$CXXCPP $CPPFLAGS'
12880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12882 cross_compiling=$ac_cv_prog_cxx_cross
12884 cat > conftest.$ac_ext <<EOF
12885 #line 12886 "configure"
12886 #include "confdefs.h"
12888 #ifdef HAVE_IEEEFP_H
12889 #include <ieeefp.h>
12896 if { (eval echo configure:12897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12898 glibcpp_cv_func__logf_use=yes
12900 echo "configure: failed program was:" >&5
12901 cat conftest.$ac_ext >&5
12903 glibcpp_cv_func__logf_use=no
12907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12908 ac_cpp='$CPP $CPPFLAGS'
12909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12911 cross_compiling=$ac_cv_prog_cc_cross
12917 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
12919 if test x$glibcpp_cv_func__logf_use = x"yes"; then
12920 for ac_func in _logf
12922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12923 echo "configure:12924: checking for $ac_func" >&5
12924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12925 echo $ac_n "(cached) $ac_c" 1>&6
12927 cat > conftest.$ac_ext <<EOF
12928 #line 12929 "configure"
12929 #include "confdefs.h"
12930 /* System header to define __stub macros and hopefully few prototypes,
12931 which can conflict with char $ac_func(); below. */
12932 #include <assert.h>
12933 /* Override any gcc2 internal prototype to avoid an error. */
12934 /* We use char because int might match the return type of a gcc2
12935 builtin and then its argument prototype would still apply. */
12940 /* The GNU C library defines this for functions which it implements
12941 to always fail with ENOSYS. Some functions are actually named
12942 something starting with __ and the normal name is an alias. */
12943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12951 if { (eval echo configure:12952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12953 eval "ac_cv_func_$ac_func=yes"
12955 echo "configure: failed program was:" >&5
12956 cat conftest.$ac_ext >&5
12958 eval "ac_cv_func_$ac_func=no"
12963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12964 echo "$ac_t""yes" 1>&6
12965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12966 cat >> confdefs.h <<EOF
12967 #define $ac_tr_func 1
12971 echo "$ac_t""no" 1>&6
12980 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
12981 echo "configure:12982: checking for log10f declaration" >&5
12982 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
12983 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
12984 echo $ac_n "(cached) $ac_c" 1>&6
12989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12990 ac_cpp='$CXXCPP $CPPFLAGS'
12991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12993 cross_compiling=$ac_cv_prog_cxx_cross
12995 cat > conftest.$ac_ext <<EOF
12996 #line 12997 "configure"
12997 #include "confdefs.h"
12999 #ifdef HAVE_IEEEFP_H
13000 #include <ieeefp.h>
13007 if { (eval echo configure:13008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13009 glibcpp_cv_func_log10f_use=yes
13011 echo "configure: failed program was:" >&5
13012 cat conftest.$ac_ext >&5
13014 glibcpp_cv_func_log10f_use=no
13018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13019 ac_cpp='$CPP $CPPFLAGS'
13020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13022 cross_compiling=$ac_cv_prog_cc_cross
13028 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13030 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13031 for ac_func in log10f
13033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13034 echo "configure:13035: checking for $ac_func" >&5
13035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13036 echo $ac_n "(cached) $ac_c" 1>&6
13038 cat > conftest.$ac_ext <<EOF
13039 #line 13040 "configure"
13040 #include "confdefs.h"
13041 /* System header to define __stub macros and hopefully few prototypes,
13042 which can conflict with char $ac_func(); below. */
13043 #include <assert.h>
13044 /* Override any gcc2 internal prototype to avoid an error. */
13045 /* We use char because int might match the return type of a gcc2
13046 builtin and then its argument prototype would still apply. */
13051 /* The GNU C library defines this for functions which it implements
13052 to always fail with ENOSYS. Some functions are actually named
13053 something starting with __ and the normal name is an alias. */
13054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13062 if { (eval echo configure:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13064 eval "ac_cv_func_$ac_func=yes"
13066 echo "configure: failed program was:" >&5
13067 cat conftest.$ac_ext >&5
13069 eval "ac_cv_func_$ac_func=no"
13074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13075 echo "$ac_t""yes" 1>&6
13076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13077 cat >> confdefs.h <<EOF
13078 #define $ac_tr_func 1
13082 echo "$ac_t""no" 1>&6
13088 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13089 echo "configure:13090: checking for _log10f declaration" >&5
13090 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13091 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13092 echo $ac_n "(cached) $ac_c" 1>&6
13097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13098 ac_cpp='$CXXCPP $CPPFLAGS'
13099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13101 cross_compiling=$ac_cv_prog_cxx_cross
13103 cat > conftest.$ac_ext <<EOF
13104 #line 13105 "configure"
13105 #include "confdefs.h"
13107 #ifdef HAVE_IEEEFP_H
13108 #include <ieeefp.h>
13115 if { (eval echo configure:13116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13117 glibcpp_cv_func__log10f_use=yes
13119 echo "configure: failed program was:" >&5
13120 cat conftest.$ac_ext >&5
13122 glibcpp_cv_func__log10f_use=no
13126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13127 ac_cpp='$CPP $CPPFLAGS'
13128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13130 cross_compiling=$ac_cv_prog_cc_cross
13136 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13138 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13139 for ac_func in _log10f
13141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13142 echo "configure:13143: checking for $ac_func" >&5
13143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13144 echo $ac_n "(cached) $ac_c" 1>&6
13146 cat > conftest.$ac_ext <<EOF
13147 #line 13148 "configure"
13148 #include "confdefs.h"
13149 /* System header to define __stub macros and hopefully few prototypes,
13150 which can conflict with char $ac_func(); below. */
13151 #include <assert.h>
13152 /* Override any gcc2 internal prototype to avoid an error. */
13153 /* We use char because int might match the return type of a gcc2
13154 builtin and then its argument prototype would still apply. */
13159 /* The GNU C library defines this for functions which it implements
13160 to always fail with ENOSYS. Some functions are actually named
13161 something starting with __ and the normal name is an alias. */
13162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13170 if { (eval echo configure:13171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13172 eval "ac_cv_func_$ac_func=yes"
13174 echo "configure: failed program was:" >&5
13175 cat conftest.$ac_ext >&5
13177 eval "ac_cv_func_$ac_func=no"
13182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13183 echo "$ac_t""yes" 1>&6
13184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13185 cat >> confdefs.h <<EOF
13186 #define $ac_tr_func 1
13190 echo "$ac_t""no" 1>&6
13199 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
13200 echo "configure:13201: checking for modff declaration" >&5
13201 if test x${glibcpp_cv_func_modff_use+set} != xset; then
13202 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
13203 echo $ac_n "(cached) $ac_c" 1>&6
13208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13209 ac_cpp='$CXXCPP $CPPFLAGS'
13210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13212 cross_compiling=$ac_cv_prog_cxx_cross
13214 cat > conftest.$ac_ext <<EOF
13215 #line 13216 "configure"
13216 #include "confdefs.h"
13222 if { (eval echo configure:13223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13224 glibcpp_cv_func_modff_use=yes
13226 echo "configure: failed program was:" >&5
13227 cat conftest.$ac_ext >&5
13229 glibcpp_cv_func_modff_use=no
13233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13234 ac_cpp='$CPP $CPPFLAGS'
13235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13237 cross_compiling=$ac_cv_prog_cc_cross
13243 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
13245 if test x$glibcpp_cv_func_modff_use = x"yes"; then
13246 for ac_func in modff
13248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13249 echo "configure:13250: checking for $ac_func" >&5
13250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13251 echo $ac_n "(cached) $ac_c" 1>&6
13253 cat > conftest.$ac_ext <<EOF
13254 #line 13255 "configure"
13255 #include "confdefs.h"
13256 /* System header to define __stub macros and hopefully few prototypes,
13257 which can conflict with char $ac_func(); below. */
13258 #include <assert.h>
13259 /* Override any gcc2 internal prototype to avoid an error. */
13260 /* We use char because int might match the return type of a gcc2
13261 builtin and then its argument prototype would still apply. */
13266 /* The GNU C library defines this for functions which it implements
13267 to always fail with ENOSYS. Some functions are actually named
13268 something starting with __ and the normal name is an alias. */
13269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13277 if { (eval echo configure:13278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13279 eval "ac_cv_func_$ac_func=yes"
13281 echo "configure: failed program was:" >&5
13282 cat conftest.$ac_ext >&5
13284 eval "ac_cv_func_$ac_func=no"
13289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13290 echo "$ac_t""yes" 1>&6
13291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13292 cat >> confdefs.h <<EOF
13293 #define $ac_tr_func 1
13297 echo "$ac_t""no" 1>&6
13303 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13304 echo "configure:13305: checking for _modff declaration" >&5
13305 if test x${glibcpp_cv_func__modff_use+set} != xset; then
13306 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13307 echo $ac_n "(cached) $ac_c" 1>&6
13312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13313 ac_cpp='$CXXCPP $CPPFLAGS'
13314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13316 cross_compiling=$ac_cv_prog_cxx_cross
13318 cat > conftest.$ac_ext <<EOF
13319 #line 13320 "configure"
13320 #include "confdefs.h"
13326 if { (eval echo configure:13327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13328 glibcpp_cv_func__modff_use=yes
13330 echo "configure: failed program was:" >&5
13331 cat conftest.$ac_ext >&5
13333 glibcpp_cv_func__modff_use=no
13337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13338 ac_cpp='$CPP $CPPFLAGS'
13339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13341 cross_compiling=$ac_cv_prog_cc_cross
13347 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13349 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13350 for ac_func in _modff
13352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13353 echo "configure:13354: checking for $ac_func" >&5
13354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13355 echo $ac_n "(cached) $ac_c" 1>&6
13357 cat > conftest.$ac_ext <<EOF
13358 #line 13359 "configure"
13359 #include "confdefs.h"
13360 /* System header to define __stub macros and hopefully few prototypes,
13361 which can conflict with char $ac_func(); below. */
13362 #include <assert.h>
13363 /* Override any gcc2 internal prototype to avoid an error. */
13364 /* We use char because int might match the return type of a gcc2
13365 builtin and then its argument prototype would still apply. */
13370 /* The GNU C library defines this for functions which it implements
13371 to always fail with ENOSYS. Some functions are actually named
13372 something starting with __ and the normal name is an alias. */
13373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13381 if { (eval echo configure:13382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13383 eval "ac_cv_func_$ac_func=yes"
13385 echo "configure: failed program was:" >&5
13386 cat conftest.$ac_ext >&5
13388 eval "ac_cv_func_$ac_func=no"
13393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13394 echo "$ac_t""yes" 1>&6
13395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13396 cat >> confdefs.h <<EOF
13397 #define $ac_tr_func 1
13401 echo "$ac_t""no" 1>&6
13410 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
13411 echo "configure:13412: checking for powf declaration" >&5
13412 if test x${glibcpp_cv_func_powf_use+set} != xset; then
13413 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
13414 echo $ac_n "(cached) $ac_c" 1>&6
13419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13420 ac_cpp='$CXXCPP $CPPFLAGS'
13421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13423 cross_compiling=$ac_cv_prog_cxx_cross
13425 cat > conftest.$ac_ext <<EOF
13426 #line 13427 "configure"
13427 #include "confdefs.h"
13433 if { (eval echo configure:13434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13435 glibcpp_cv_func_powf_use=yes
13437 echo "configure: failed program was:" >&5
13438 cat conftest.$ac_ext >&5
13440 glibcpp_cv_func_powf_use=no
13444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13445 ac_cpp='$CPP $CPPFLAGS'
13446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13448 cross_compiling=$ac_cv_prog_cc_cross
13454 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
13456 if test x$glibcpp_cv_func_powf_use = x"yes"; then
13457 for ac_func in powf
13459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13460 echo "configure:13461: checking for $ac_func" >&5
13461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13462 echo $ac_n "(cached) $ac_c" 1>&6
13464 cat > conftest.$ac_ext <<EOF
13465 #line 13466 "configure"
13466 #include "confdefs.h"
13467 /* System header to define __stub macros and hopefully few prototypes,
13468 which can conflict with char $ac_func(); below. */
13469 #include <assert.h>
13470 /* Override any gcc2 internal prototype to avoid an error. */
13471 /* We use char because int might match the return type of a gcc2
13472 builtin and then its argument prototype would still apply. */
13477 /* The GNU C library defines this for functions which it implements
13478 to always fail with ENOSYS. Some functions are actually named
13479 something starting with __ and the normal name is an alias. */
13480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13488 if { (eval echo configure:13489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13490 eval "ac_cv_func_$ac_func=yes"
13492 echo "configure: failed program was:" >&5
13493 cat conftest.$ac_ext >&5
13495 eval "ac_cv_func_$ac_func=no"
13500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13501 echo "$ac_t""yes" 1>&6
13502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13503 cat >> confdefs.h <<EOF
13504 #define $ac_tr_func 1
13508 echo "$ac_t""no" 1>&6
13514 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13515 echo "configure:13516: checking for _powf declaration" >&5
13516 if test x${glibcpp_cv_func__powf_use+set} != xset; then
13517 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13518 echo $ac_n "(cached) $ac_c" 1>&6
13523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13524 ac_cpp='$CXXCPP $CPPFLAGS'
13525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13527 cross_compiling=$ac_cv_prog_cxx_cross
13529 cat > conftest.$ac_ext <<EOF
13530 #line 13531 "configure"
13531 #include "confdefs.h"
13537 if { (eval echo configure:13538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13539 glibcpp_cv_func__powf_use=yes
13541 echo "configure: failed program was:" >&5
13542 cat conftest.$ac_ext >&5
13544 glibcpp_cv_func__powf_use=no
13548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13549 ac_cpp='$CPP $CPPFLAGS'
13550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13552 cross_compiling=$ac_cv_prog_cc_cross
13558 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13560 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13561 for ac_func in _powf
13563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13564 echo "configure:13565: checking for $ac_func" >&5
13565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13566 echo $ac_n "(cached) $ac_c" 1>&6
13568 cat > conftest.$ac_ext <<EOF
13569 #line 13570 "configure"
13570 #include "confdefs.h"
13571 /* System header to define __stub macros and hopefully few prototypes,
13572 which can conflict with char $ac_func(); below. */
13573 #include <assert.h>
13574 /* Override any gcc2 internal prototype to avoid an error. */
13575 /* We use char because int might match the return type of a gcc2
13576 builtin and then its argument prototype would still apply. */
13581 /* The GNU C library defines this for functions which it implements
13582 to always fail with ENOSYS. Some functions are actually named
13583 something starting with __ and the normal name is an alias. */
13584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13592 if { (eval echo configure:13593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13594 eval "ac_cv_func_$ac_func=yes"
13596 echo "configure: failed program was:" >&5
13597 cat conftest.$ac_ext >&5
13599 eval "ac_cv_func_$ac_func=no"
13604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13605 echo "$ac_t""yes" 1>&6
13606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13607 cat >> confdefs.h <<EOF
13608 #define $ac_tr_func 1
13612 echo "$ac_t""no" 1>&6
13621 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
13622 echo "configure:13623: checking for sqrtf declaration" >&5
13623 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
13624 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
13625 echo $ac_n "(cached) $ac_c" 1>&6
13630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13631 ac_cpp='$CXXCPP $CPPFLAGS'
13632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13634 cross_compiling=$ac_cv_prog_cxx_cross
13636 cat > conftest.$ac_ext <<EOF
13637 #line 13638 "configure"
13638 #include "confdefs.h"
13640 #ifdef HAVE_IEEEFP_H
13641 #include <ieeefp.h>
13648 if { (eval echo configure:13649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13650 glibcpp_cv_func_sqrtf_use=yes
13652 echo "configure: failed program was:" >&5
13653 cat conftest.$ac_ext >&5
13655 glibcpp_cv_func_sqrtf_use=no
13659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13660 ac_cpp='$CPP $CPPFLAGS'
13661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13663 cross_compiling=$ac_cv_prog_cc_cross
13669 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
13671 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
13672 for ac_func in sqrtf
13674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13675 echo "configure:13676: checking for $ac_func" >&5
13676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13677 echo $ac_n "(cached) $ac_c" 1>&6
13679 cat > conftest.$ac_ext <<EOF
13680 #line 13681 "configure"
13681 #include "confdefs.h"
13682 /* System header to define __stub macros and hopefully few prototypes,
13683 which can conflict with char $ac_func(); below. */
13684 #include <assert.h>
13685 /* Override any gcc2 internal prototype to avoid an error. */
13686 /* We use char because int might match the return type of a gcc2
13687 builtin and then its argument prototype would still apply. */
13692 /* The GNU C library defines this for functions which it implements
13693 to always fail with ENOSYS. Some functions are actually named
13694 something starting with __ and the normal name is an alias. */
13695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13703 if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13705 eval "ac_cv_func_$ac_func=yes"
13707 echo "configure: failed program was:" >&5
13708 cat conftest.$ac_ext >&5
13710 eval "ac_cv_func_$ac_func=no"
13715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13716 echo "$ac_t""yes" 1>&6
13717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13718 cat >> confdefs.h <<EOF
13719 #define $ac_tr_func 1
13723 echo "$ac_t""no" 1>&6
13729 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13730 echo "configure:13731: checking for _sqrtf declaration" >&5
13731 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
13732 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13733 echo $ac_n "(cached) $ac_c" 1>&6
13738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13739 ac_cpp='$CXXCPP $CPPFLAGS'
13740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13742 cross_compiling=$ac_cv_prog_cxx_cross
13744 cat > conftest.$ac_ext <<EOF
13745 #line 13746 "configure"
13746 #include "confdefs.h"
13748 #ifdef HAVE_IEEEFP_H
13749 #include <ieeefp.h>
13756 if { (eval echo configure:13757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13758 glibcpp_cv_func__sqrtf_use=yes
13760 echo "configure: failed program was:" >&5
13761 cat conftest.$ac_ext >&5
13763 glibcpp_cv_func__sqrtf_use=no
13767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13768 ac_cpp='$CPP $CPPFLAGS'
13769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13771 cross_compiling=$ac_cv_prog_cc_cross
13777 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13779 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13780 for ac_func in _sqrtf
13782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13783 echo "configure:13784: checking for $ac_func" >&5
13784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13785 echo $ac_n "(cached) $ac_c" 1>&6
13787 cat > conftest.$ac_ext <<EOF
13788 #line 13789 "configure"
13789 #include "confdefs.h"
13790 /* System header to define __stub macros and hopefully few prototypes,
13791 which can conflict with char $ac_func(); below. */
13792 #include <assert.h>
13793 /* Override any gcc2 internal prototype to avoid an error. */
13794 /* We use char because int might match the return type of a gcc2
13795 builtin and then its argument prototype would still apply. */
13800 /* The GNU C library defines this for functions which it implements
13801 to always fail with ENOSYS. Some functions are actually named
13802 something starting with __ and the normal name is an alias. */
13803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13811 if { (eval echo configure:13812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13813 eval "ac_cv_func_$ac_func=yes"
13815 echo "configure: failed program was:" >&5
13816 cat conftest.$ac_ext >&5
13818 eval "ac_cv_func_$ac_func=no"
13823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13824 echo "$ac_t""yes" 1>&6
13825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13826 cat >> confdefs.h <<EOF
13827 #define $ac_tr_func 1
13831 echo "$ac_t""no" 1>&6
13840 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
13841 echo "configure:13842: checking for sincosf declaration" >&5
13842 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
13843 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
13844 echo $ac_n "(cached) $ac_c" 1>&6
13849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13850 ac_cpp='$CXXCPP $CPPFLAGS'
13851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13853 cross_compiling=$ac_cv_prog_cxx_cross
13855 cat > conftest.$ac_ext <<EOF
13856 #line 13857 "configure"
13857 #include "confdefs.h"
13863 if { (eval echo configure:13864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13865 glibcpp_cv_func_sincosf_use=yes
13867 echo "configure: failed program was:" >&5
13868 cat conftest.$ac_ext >&5
13870 glibcpp_cv_func_sincosf_use=no
13874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13875 ac_cpp='$CPP $CPPFLAGS'
13876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13878 cross_compiling=$ac_cv_prog_cc_cross
13884 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
13886 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
13887 for ac_func in sincosf
13889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13890 echo "configure:13891: checking for $ac_func" >&5
13891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13892 echo $ac_n "(cached) $ac_c" 1>&6
13894 cat > conftest.$ac_ext <<EOF
13895 #line 13896 "configure"
13896 #include "confdefs.h"
13897 /* System header to define __stub macros and hopefully few prototypes,
13898 which can conflict with char $ac_func(); below. */
13899 #include <assert.h>
13900 /* Override any gcc2 internal prototype to avoid an error. */
13901 /* We use char because int might match the return type of a gcc2
13902 builtin and then its argument prototype would still apply. */
13907 /* The GNU C library defines this for functions which it implements
13908 to always fail with ENOSYS. Some functions are actually named
13909 something starting with __ and the normal name is an alias. */
13910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13918 if { (eval echo configure:13919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13920 eval "ac_cv_func_$ac_func=yes"
13922 echo "configure: failed program was:" >&5
13923 cat conftest.$ac_ext >&5
13925 eval "ac_cv_func_$ac_func=no"
13930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13931 echo "$ac_t""yes" 1>&6
13932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13933 cat >> confdefs.h <<EOF
13934 #define $ac_tr_func 1
13938 echo "$ac_t""no" 1>&6
13944 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
13945 echo "configure:13946: checking for _sincosf declaration" >&5
13946 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13947 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13948 echo $ac_n "(cached) $ac_c" 1>&6
13953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13954 ac_cpp='$CXXCPP $CPPFLAGS'
13955 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13956 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13957 cross_compiling=$ac_cv_prog_cxx_cross
13959 cat > conftest.$ac_ext <<EOF
13960 #line 13961 "configure"
13961 #include "confdefs.h"
13967 if { (eval echo configure:13968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13969 glibcpp_cv_func__sincosf_use=yes
13971 echo "configure: failed program was:" >&5
13972 cat conftest.$ac_ext >&5
13974 glibcpp_cv_func__sincosf_use=no
13978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13979 ac_cpp='$CPP $CPPFLAGS'
13980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13982 cross_compiling=$ac_cv_prog_cc_cross
13988 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
13990 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
13991 for ac_func in _sincosf
13993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13994 echo "configure:13995: checking for $ac_func" >&5
13995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13996 echo $ac_n "(cached) $ac_c" 1>&6
13998 cat > conftest.$ac_ext <<EOF
13999 #line 14000 "configure"
14000 #include "confdefs.h"
14001 /* System header to define __stub macros and hopefully few prototypes,
14002 which can conflict with char $ac_func(); below. */
14003 #include <assert.h>
14004 /* Override any gcc2 internal prototype to avoid an error. */
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14011 /* The GNU C library defines this for functions which it implements
14012 to always fail with ENOSYS. Some functions are actually named
14013 something starting with __ and the normal name is an alias. */
14014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14022 if { (eval echo configure:14023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14024 eval "ac_cv_func_$ac_func=yes"
14026 echo "configure: failed program was:" >&5
14027 cat conftest.$ac_ext >&5
14029 eval "ac_cv_func_$ac_func=no"
14034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14035 echo "$ac_t""yes" 1>&6
14036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14037 cat >> confdefs.h <<EOF
14038 #define $ac_tr_func 1
14042 echo "$ac_t""no" 1>&6
14051 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
14052 echo "configure:14053: checking for finitef declaration" >&5
14053 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14054 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14055 echo $ac_n "(cached) $ac_c" 1>&6
14060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14061 ac_cpp='$CXXCPP $CPPFLAGS'
14062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14064 cross_compiling=$ac_cv_prog_cxx_cross
14066 cat > conftest.$ac_ext <<EOF
14067 #line 14068 "configure"
14068 #include "confdefs.h"
14070 #ifdef HAVE_IEEEFP_H
14071 #include <ieeefp.h>
14078 if { (eval echo configure:14079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14080 glibcpp_cv_func_finitef_use=yes
14082 echo "configure: failed program was:" >&5
14083 cat conftest.$ac_ext >&5
14085 glibcpp_cv_func_finitef_use=no
14089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14090 ac_cpp='$CPP $CPPFLAGS'
14091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14093 cross_compiling=$ac_cv_prog_cc_cross
14099 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14101 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14102 for ac_func in finitef
14104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14105 echo "configure:14106: checking for $ac_func" >&5
14106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14107 echo $ac_n "(cached) $ac_c" 1>&6
14109 cat > conftest.$ac_ext <<EOF
14110 #line 14111 "configure"
14111 #include "confdefs.h"
14112 /* System header to define __stub macros and hopefully few prototypes,
14113 which can conflict with char $ac_func(); below. */
14114 #include <assert.h>
14115 /* Override any gcc2 internal prototype to avoid an error. */
14116 /* We use char because int might match the return type of a gcc2
14117 builtin and then its argument prototype would still apply. */
14122 /* The GNU C library defines this for functions which it implements
14123 to always fail with ENOSYS. Some functions are actually named
14124 something starting with __ and the normal name is an alias. */
14125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14133 if { (eval echo configure:14134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14135 eval "ac_cv_func_$ac_func=yes"
14137 echo "configure: failed program was:" >&5
14138 cat conftest.$ac_ext >&5
14140 eval "ac_cv_func_$ac_func=no"
14145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14146 echo "$ac_t""yes" 1>&6
14147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14148 cat >> confdefs.h <<EOF
14149 #define $ac_tr_func 1
14153 echo "$ac_t""no" 1>&6
14159 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14160 echo "configure:14161: checking for _finitef declaration" >&5
14161 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
14162 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14163 echo $ac_n "(cached) $ac_c" 1>&6
14168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14169 ac_cpp='$CXXCPP $CPPFLAGS'
14170 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14171 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14172 cross_compiling=$ac_cv_prog_cxx_cross
14174 cat > conftest.$ac_ext <<EOF
14175 #line 14176 "configure"
14176 #include "confdefs.h"
14178 #ifdef HAVE_IEEEFP_H
14179 #include <ieeefp.h>
14186 if { (eval echo configure:14187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14188 glibcpp_cv_func__finitef_use=yes
14190 echo "configure: failed program was:" >&5
14191 cat conftest.$ac_ext >&5
14193 glibcpp_cv_func__finitef_use=no
14197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14198 ac_cpp='$CPP $CPPFLAGS'
14199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14201 cross_compiling=$ac_cv_prog_cc_cross
14207 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14209 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14210 for ac_func in _finitef
14212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14213 echo "configure:14214: checking for $ac_func" >&5
14214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14215 echo $ac_n "(cached) $ac_c" 1>&6
14217 cat > conftest.$ac_ext <<EOF
14218 #line 14219 "configure"
14219 #include "confdefs.h"
14220 /* System header to define __stub macros and hopefully few prototypes,
14221 which can conflict with char $ac_func(); below. */
14222 #include <assert.h>
14223 /* Override any gcc2 internal prototype to avoid an error. */
14224 /* We use char because int might match the return type of a gcc2
14225 builtin and then its argument prototype would still apply. */
14230 /* The GNU C library defines this for functions which it implements
14231 to always fail with ENOSYS. Some functions are actually named
14232 something starting with __ and the normal name is an alias. */
14233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14241 if { (eval echo configure:14242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14243 eval "ac_cv_func_$ac_func=yes"
14245 echo "configure: failed program was:" >&5
14246 cat conftest.$ac_ext >&5
14248 eval "ac_cv_func_$ac_func=no"
14253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14254 echo "$ac_t""yes" 1>&6
14255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14256 cat >> confdefs.h <<EOF
14257 #define $ac_tr_func 1
14261 echo "$ac_t""no" 1>&6
14270 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
14271 echo "configure:14272: checking for long double trig functions" >&5
14272 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
14273 echo $ac_n "(cached) $ac_c" 1>&6
14278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14279 ac_cpp='$CXXCPP $CPPFLAGS'
14280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14282 cross_compiling=$ac_cv_prog_cxx_cross
14284 cat > conftest.$ac_ext <<EOF
14285 #line 14286 "configure"
14286 #include "confdefs.h"
14289 `for x in acosl asinl atanl \
14291 coshl sinhl tanhl; do echo "$x (0);"; done`
14294 if { (eval echo configure:14295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14296 glibcpp_cv_func_long_double_trig_use=yes
14298 echo "configure: failed program was:" >&5
14299 cat conftest.$ac_ext >&5
14301 glibcpp_cv_func_long_double_trig_use=no
14305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14306 ac_cpp='$CPP $CPPFLAGS'
14307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14309 cross_compiling=$ac_cv_prog_cc_cross
14313 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
14314 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
14315 for ac_func in acosl asinl atanl \
14319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14320 echo "configure:14321: checking for $ac_func" >&5
14321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14322 echo $ac_n "(cached) $ac_c" 1>&6
14324 cat > conftest.$ac_ext <<EOF
14325 #line 14326 "configure"
14326 #include "confdefs.h"
14327 /* System header to define __stub macros and hopefully few prototypes,
14328 which can conflict with char $ac_func(); below. */
14329 #include <assert.h>
14330 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14337 /* The GNU C library defines this for functions which it implements
14338 to always fail with ENOSYS. Some functions are actually named
14339 something starting with __ and the normal name is an alias. */
14340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14348 if { (eval echo configure:14349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14350 eval "ac_cv_func_$ac_func=yes"
14352 echo "configure: failed program was:" >&5
14353 cat conftest.$ac_ext >&5
14355 eval "ac_cv_func_$ac_func=no"
14360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14361 echo "$ac_t""yes" 1>&6
14362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14363 cat >> confdefs.h <<EOF
14364 #define $ac_tr_func 1
14368 echo "$ac_t""no" 1>&6
14375 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
14376 echo "configure:14377: checking for long double round functions" >&5
14377 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
14378 echo $ac_n "(cached) $ac_c" 1>&6
14383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14384 ac_cpp='$CXXCPP $CPPFLAGS'
14385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14387 cross_compiling=$ac_cv_prog_cxx_cross
14389 cat > conftest.$ac_ext <<EOF
14390 #line 14391 "configure"
14391 #include "confdefs.h"
14394 `for x in ceill floorl; do echo "$x (0);"; done`
14397 if { (eval echo configure:14398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14399 glibcpp_cv_func_long_double_round_use=yes
14401 echo "configure: failed program was:" >&5
14402 cat conftest.$ac_ext >&5
14404 glibcpp_cv_func_long_double_round_use=no
14408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14409 ac_cpp='$CPP $CPPFLAGS'
14410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14412 cross_compiling=$ac_cv_prog_cc_cross
14416 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
14417 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
14418 for ac_func in ceill floorl
14420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14421 echo "configure:14422: checking for $ac_func" >&5
14422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14423 echo $ac_n "(cached) $ac_c" 1>&6
14425 cat > conftest.$ac_ext <<EOF
14426 #line 14427 "configure"
14427 #include "confdefs.h"
14428 /* System header to define __stub macros and hopefully few prototypes,
14429 which can conflict with char $ac_func(); below. */
14430 #include <assert.h>
14431 /* Override any gcc2 internal prototype to avoid an error. */
14432 /* We use char because int might match the return type of a gcc2
14433 builtin and then its argument prototype would still apply. */
14438 /* The GNU C library defines this for functions which it implements
14439 to always fail with ENOSYS. Some functions are actually named
14440 something starting with __ and the normal name is an alias. */
14441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14449 if { (eval echo configure:14450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14451 eval "ac_cv_func_$ac_func=yes"
14453 echo "configure: failed program was:" >&5
14454 cat conftest.$ac_ext >&5
14456 eval "ac_cv_func_$ac_func=no"
14461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14462 echo "$ac_t""yes" 1>&6
14463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14464 cat >> confdefs.h <<EOF
14465 #define $ac_tr_func 1
14469 echo "$ac_t""no" 1>&6
14477 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
14478 echo "configure:14479: checking for isnanl declaration" >&5
14479 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
14480 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
14481 echo $ac_n "(cached) $ac_c" 1>&6
14486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14487 ac_cpp='$CXXCPP $CPPFLAGS'
14488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14490 cross_compiling=$ac_cv_prog_cxx_cross
14492 cat > conftest.$ac_ext <<EOF
14493 #line 14494 "configure"
14494 #include "confdefs.h"
14496 #ifdef HAVE_IEEEFP_H
14497 #include <ieeefp.h>
14504 if { (eval echo configure:14505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14506 glibcpp_cv_func_isnanl_use=yes
14508 echo "configure: failed program was:" >&5
14509 cat conftest.$ac_ext >&5
14511 glibcpp_cv_func_isnanl_use=no
14515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14516 ac_cpp='$CPP $CPPFLAGS'
14517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14519 cross_compiling=$ac_cv_prog_cc_cross
14525 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
14527 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
14528 for ac_func in isnanl
14530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14531 echo "configure:14532: checking for $ac_func" >&5
14532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14533 echo $ac_n "(cached) $ac_c" 1>&6
14535 cat > conftest.$ac_ext <<EOF
14536 #line 14537 "configure"
14537 #include "confdefs.h"
14538 /* System header to define __stub macros and hopefully few prototypes,
14539 which can conflict with char $ac_func(); below. */
14540 #include <assert.h>
14541 /* Override any gcc2 internal prototype to avoid an error. */
14542 /* We use char because int might match the return type of a gcc2
14543 builtin and then its argument prototype would still apply. */
14548 /* The GNU C library defines this for functions which it implements
14549 to always fail with ENOSYS. Some functions are actually named
14550 something starting with __ and the normal name is an alias. */
14551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14559 if { (eval echo configure:14560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14561 eval "ac_cv_func_$ac_func=yes"
14563 echo "configure: failed program was:" >&5
14564 cat conftest.$ac_ext >&5
14566 eval "ac_cv_func_$ac_func=no"
14571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14572 echo "$ac_t""yes" 1>&6
14573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14574 cat >> confdefs.h <<EOF
14575 #define $ac_tr_func 1
14579 echo "$ac_t""no" 1>&6
14585 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14586 echo "configure:14587: checking for _isnanl declaration" >&5
14587 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
14588 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14589 echo $ac_n "(cached) $ac_c" 1>&6
14594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14595 ac_cpp='$CXXCPP $CPPFLAGS'
14596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14598 cross_compiling=$ac_cv_prog_cxx_cross
14600 cat > conftest.$ac_ext <<EOF
14601 #line 14602 "configure"
14602 #include "confdefs.h"
14604 #ifdef HAVE_IEEEFP_H
14605 #include <ieeefp.h>
14612 if { (eval echo configure:14613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14614 glibcpp_cv_func__isnanl_use=yes
14616 echo "configure: failed program was:" >&5
14617 cat conftest.$ac_ext >&5
14619 glibcpp_cv_func__isnanl_use=no
14623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14624 ac_cpp='$CPP $CPPFLAGS'
14625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14627 cross_compiling=$ac_cv_prog_cc_cross
14633 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14635 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14636 for ac_func in _isnanl
14638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14639 echo "configure:14640: checking for $ac_func" >&5
14640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14641 echo $ac_n "(cached) $ac_c" 1>&6
14643 cat > conftest.$ac_ext <<EOF
14644 #line 14645 "configure"
14645 #include "confdefs.h"
14646 /* System header to define __stub macros and hopefully few prototypes,
14647 which can conflict with char $ac_func(); below. */
14648 #include <assert.h>
14649 /* Override any gcc2 internal prototype to avoid an error. */
14650 /* We use char because int might match the return type of a gcc2
14651 builtin and then its argument prototype would still apply. */
14656 /* The GNU C library defines this for functions which it implements
14657 to always fail with ENOSYS. Some functions are actually named
14658 something starting with __ and the normal name is an alias. */
14659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14667 if { (eval echo configure:14668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14669 eval "ac_cv_func_$ac_func=yes"
14671 echo "configure: failed program was:" >&5
14672 cat conftest.$ac_ext >&5
14674 eval "ac_cv_func_$ac_func=no"
14679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14680 echo "$ac_t""yes" 1>&6
14681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14682 cat >> confdefs.h <<EOF
14683 #define $ac_tr_func 1
14687 echo "$ac_t""no" 1>&6
14696 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
14697 echo "configure:14698: checking for isinfl declaration" >&5
14698 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
14699 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
14700 echo $ac_n "(cached) $ac_c" 1>&6
14705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14706 ac_cpp='$CXXCPP $CPPFLAGS'
14707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14709 cross_compiling=$ac_cv_prog_cxx_cross
14711 cat > conftest.$ac_ext <<EOF
14712 #line 14713 "configure"
14713 #include "confdefs.h"
14715 #ifdef HAVE_IEEEFP_H
14716 #include <ieeefp.h>
14723 if { (eval echo configure:14724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14725 glibcpp_cv_func_isinfl_use=yes
14727 echo "configure: failed program was:" >&5
14728 cat conftest.$ac_ext >&5
14730 glibcpp_cv_func_isinfl_use=no
14734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14735 ac_cpp='$CPP $CPPFLAGS'
14736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14738 cross_compiling=$ac_cv_prog_cc_cross
14744 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
14746 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
14747 for ac_func in isinfl
14749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14750 echo "configure:14751: checking for $ac_func" >&5
14751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14752 echo $ac_n "(cached) $ac_c" 1>&6
14754 cat > conftest.$ac_ext <<EOF
14755 #line 14756 "configure"
14756 #include "confdefs.h"
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func(); below. */
14759 #include <assert.h>
14760 /* Override any gcc2 internal prototype to avoid an error. */
14761 /* We use char because int might match the return type of a gcc2
14762 builtin and then its argument prototype would still apply. */
14767 /* The GNU C library defines this for functions which it implements
14768 to always fail with ENOSYS. Some functions are actually named
14769 something starting with __ and the normal name is an alias. */
14770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14778 if { (eval echo configure:14779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14780 eval "ac_cv_func_$ac_func=yes"
14782 echo "configure: failed program was:" >&5
14783 cat conftest.$ac_ext >&5
14785 eval "ac_cv_func_$ac_func=no"
14790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14791 echo "$ac_t""yes" 1>&6
14792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14793 cat >> confdefs.h <<EOF
14794 #define $ac_tr_func 1
14798 echo "$ac_t""no" 1>&6
14804 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14805 echo "configure:14806: checking for _isinfl declaration" >&5
14806 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
14807 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14808 echo $ac_n "(cached) $ac_c" 1>&6
14813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14814 ac_cpp='$CXXCPP $CPPFLAGS'
14815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14817 cross_compiling=$ac_cv_prog_cxx_cross
14819 cat > conftest.$ac_ext <<EOF
14820 #line 14821 "configure"
14821 #include "confdefs.h"
14823 #ifdef HAVE_IEEEFP_H
14824 #include <ieeefp.h>
14831 if { (eval echo configure:14832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14833 glibcpp_cv_func__isinfl_use=yes
14835 echo "configure: failed program was:" >&5
14836 cat conftest.$ac_ext >&5
14838 glibcpp_cv_func__isinfl_use=no
14842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14846 cross_compiling=$ac_cv_prog_cc_cross
14852 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14854 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14855 for ac_func in _isinfl
14857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14858 echo "configure:14859: checking for $ac_func" >&5
14859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14860 echo $ac_n "(cached) $ac_c" 1>&6
14862 cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure"
14864 #include "confdefs.h"
14865 /* System header to define __stub macros and hopefully few prototypes,
14866 which can conflict with char $ac_func(); below. */
14867 #include <assert.h>
14868 /* Override any gcc2 internal prototype to avoid an error. */
14869 /* We use char because int might match the return type of a gcc2
14870 builtin and then its argument prototype would still apply. */
14875 /* The GNU C library defines this for functions which it implements
14876 to always fail with ENOSYS. Some functions are actually named
14877 something starting with __ and the normal name is an alias. */
14878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14886 if { (eval echo configure:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14888 eval "ac_cv_func_$ac_func=yes"
14890 echo "configure: failed program was:" >&5
14891 cat conftest.$ac_ext >&5
14893 eval "ac_cv_func_$ac_func=no"
14898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14899 echo "$ac_t""yes" 1>&6
14900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14901 cat >> confdefs.h <<EOF
14902 #define $ac_tr_func 1
14906 echo "$ac_t""no" 1>&6
14915 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
14916 echo "configure:14917: checking for copysignl declaration" >&5
14917 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
14918 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
14919 echo $ac_n "(cached) $ac_c" 1>&6
14924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14925 ac_cpp='$CXXCPP $CPPFLAGS'
14926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14928 cross_compiling=$ac_cv_prog_cxx_cross
14930 cat > conftest.$ac_ext <<EOF
14931 #line 14932 "configure"
14932 #include "confdefs.h"
14938 if { (eval echo configure:14939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14940 glibcpp_cv_func_copysignl_use=yes
14942 echo "configure: failed program was:" >&5
14943 cat conftest.$ac_ext >&5
14945 glibcpp_cv_func_copysignl_use=no
14949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14950 ac_cpp='$CPP $CPPFLAGS'
14951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14953 cross_compiling=$ac_cv_prog_cc_cross
14959 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14961 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14962 for ac_func in copysignl
14964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14965 echo "configure:14966: checking for $ac_func" >&5
14966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14967 echo $ac_n "(cached) $ac_c" 1>&6
14969 cat > conftest.$ac_ext <<EOF
14970 #line 14971 "configure"
14971 #include "confdefs.h"
14972 /* System header to define __stub macros and hopefully few prototypes,
14973 which can conflict with char $ac_func(); below. */
14974 #include <assert.h>
14975 /* Override any gcc2 internal prototype to avoid an error. */
14976 /* We use char because int might match the return type of a gcc2
14977 builtin and then its argument prototype would still apply. */
14982 /* The GNU C library defines this for functions which it implements
14983 to always fail with ENOSYS. Some functions are actually named
14984 something starting with __ and the normal name is an alias. */
14985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14993 if { (eval echo configure:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14995 eval "ac_cv_func_$ac_func=yes"
14997 echo "configure: failed program was:" >&5
14998 cat conftest.$ac_ext >&5
15000 eval "ac_cv_func_$ac_func=no"
15005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15006 echo "$ac_t""yes" 1>&6
15007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15008 cat >> confdefs.h <<EOF
15009 #define $ac_tr_func 1
15013 echo "$ac_t""no" 1>&6
15019 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
15020 echo "configure:15021: checking for _copysignl declaration" >&5
15021 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15022 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15023 echo $ac_n "(cached) $ac_c" 1>&6
15028 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15031 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15032 cross_compiling=$ac_cv_prog_cxx_cross
15034 cat > conftest.$ac_ext <<EOF
15035 #line 15036 "configure"
15036 #include "confdefs.h"
15042 if { (eval echo configure:15043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15044 glibcpp_cv_func__copysignl_use=yes
15046 echo "configure: failed program was:" >&5
15047 cat conftest.$ac_ext >&5
15049 glibcpp_cv_func__copysignl_use=no
15053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15054 ac_cpp='$CPP $CPPFLAGS'
15055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15057 cross_compiling=$ac_cv_prog_cc_cross
15063 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15065 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15066 for ac_func in _copysignl
15068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15069 echo "configure:15070: checking for $ac_func" >&5
15070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15071 echo $ac_n "(cached) $ac_c" 1>&6
15073 cat > conftest.$ac_ext <<EOF
15074 #line 15075 "configure"
15075 #include "confdefs.h"
15076 /* System header to define __stub macros and hopefully few prototypes,
15077 which can conflict with char $ac_func(); below. */
15078 #include <assert.h>
15079 /* Override any gcc2 internal prototype to avoid an error. */
15080 /* We use char because int might match the return type of a gcc2
15081 builtin and then its argument prototype would still apply. */
15086 /* The GNU C library defines this for functions which it implements
15087 to always fail with ENOSYS. Some functions are actually named
15088 something starting with __ and the normal name is an alias. */
15089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15097 if { (eval echo configure:15098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15099 eval "ac_cv_func_$ac_func=yes"
15101 echo "configure: failed program was:" >&5
15102 cat conftest.$ac_ext >&5
15104 eval "ac_cv_func_$ac_func=no"
15109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15110 echo "$ac_t""yes" 1>&6
15111 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15112 cat >> confdefs.h <<EOF
15113 #define $ac_tr_func 1
15117 echo "$ac_t""no" 1>&6
15126 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
15127 echo "configure:15128: checking for atan2l declaration" >&5
15128 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
15129 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
15130 echo $ac_n "(cached) $ac_c" 1>&6
15135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15136 ac_cpp='$CXXCPP $CPPFLAGS'
15137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15139 cross_compiling=$ac_cv_prog_cxx_cross
15141 cat > conftest.$ac_ext <<EOF
15142 #line 15143 "configure"
15143 #include "confdefs.h"
15149 if { (eval echo configure:15150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15151 glibcpp_cv_func_atan2l_use=yes
15153 echo "configure: failed program was:" >&5
15154 cat conftest.$ac_ext >&5
15156 glibcpp_cv_func_atan2l_use=no
15160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15161 ac_cpp='$CPP $CPPFLAGS'
15162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15164 cross_compiling=$ac_cv_prog_cc_cross
15170 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
15172 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
15173 for ac_func in atan2l
15175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15176 echo "configure:15177: checking for $ac_func" >&5
15177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15178 echo $ac_n "(cached) $ac_c" 1>&6
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15183 /* System header to define __stub macros and hopefully few prototypes,
15184 which can conflict with char $ac_func(); below. */
15185 #include <assert.h>
15186 /* Override any gcc2 internal prototype to avoid an error. */
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15193 /* The GNU C library defines this for functions which it implements
15194 to always fail with ENOSYS. Some functions are actually named
15195 something starting with __ and the normal name is an alias. */
15196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15204 if { (eval echo configure:15205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15206 eval "ac_cv_func_$ac_func=yes"
15208 echo "configure: failed program was:" >&5
15209 cat conftest.$ac_ext >&5
15211 eval "ac_cv_func_$ac_func=no"
15216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15217 echo "$ac_t""yes" 1>&6
15218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15219 cat >> confdefs.h <<EOF
15220 #define $ac_tr_func 1
15224 echo "$ac_t""no" 1>&6
15230 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
15231 echo "configure:15232: checking for _atan2l declaration" >&5
15232 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
15233 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15234 echo $ac_n "(cached) $ac_c" 1>&6
15239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15240 ac_cpp='$CXXCPP $CPPFLAGS'
15241 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15242 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15243 cross_compiling=$ac_cv_prog_cxx_cross
15245 cat > conftest.$ac_ext <<EOF
15246 #line 15247 "configure"
15247 #include "confdefs.h"
15253 if { (eval echo configure:15254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15255 glibcpp_cv_func__atan2l_use=yes
15257 echo "configure: failed program was:" >&5
15258 cat conftest.$ac_ext >&5
15260 glibcpp_cv_func__atan2l_use=no
15264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15265 ac_cpp='$CPP $CPPFLAGS'
15266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15268 cross_compiling=$ac_cv_prog_cc_cross
15274 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15276 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15277 for ac_func in _atan2l
15279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15280 echo "configure:15281: checking for $ac_func" >&5
15281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15282 echo $ac_n "(cached) $ac_c" 1>&6
15284 cat > conftest.$ac_ext <<EOF
15285 #line 15286 "configure"
15286 #include "confdefs.h"
15287 /* System header to define __stub macros and hopefully few prototypes,
15288 which can conflict with char $ac_func(); below. */
15289 #include <assert.h>
15290 /* Override any gcc2 internal prototype to avoid an error. */
15291 /* We use char because int might match the return type of a gcc2
15292 builtin and then its argument prototype would still apply. */
15297 /* The GNU C library defines this for functions which it implements
15298 to always fail with ENOSYS. Some functions are actually named
15299 something starting with __ and the normal name is an alias. */
15300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15308 if { (eval echo configure:15309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15310 eval "ac_cv_func_$ac_func=yes"
15312 echo "configure: failed program was:" >&5
15313 cat conftest.$ac_ext >&5
15315 eval "ac_cv_func_$ac_func=no"
15320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15321 echo "$ac_t""yes" 1>&6
15322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15323 cat >> confdefs.h <<EOF
15324 #define $ac_tr_func 1
15328 echo "$ac_t""no" 1>&6
15337 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
15338 echo "configure:15339: checking for expl declaration" >&5
15339 if test x${glibcpp_cv_func_expl_use+set} != xset; then
15340 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
15341 echo $ac_n "(cached) $ac_c" 1>&6
15346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15347 ac_cpp='$CXXCPP $CPPFLAGS'
15348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15350 cross_compiling=$ac_cv_prog_cxx_cross
15352 cat > conftest.$ac_ext <<EOF
15353 #line 15354 "configure"
15354 #include "confdefs.h"
15356 #ifdef HAVE_IEEEFP_H
15357 #include <ieeefp.h>
15364 if { (eval echo configure:15365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15366 glibcpp_cv_func_expl_use=yes
15368 echo "configure: failed program was:" >&5
15369 cat conftest.$ac_ext >&5
15371 glibcpp_cv_func_expl_use=no
15375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15379 cross_compiling=$ac_cv_prog_cc_cross
15385 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
15387 if test x$glibcpp_cv_func_expl_use = x"yes"; then
15388 for ac_func in expl
15390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15391 echo "configure:15392: checking for $ac_func" >&5
15392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15393 echo $ac_n "(cached) $ac_c" 1>&6
15395 cat > conftest.$ac_ext <<EOF
15396 #line 15397 "configure"
15397 #include "confdefs.h"
15398 /* System header to define __stub macros and hopefully few prototypes,
15399 which can conflict with char $ac_func(); below. */
15400 #include <assert.h>
15401 /* Override any gcc2 internal prototype to avoid an error. */
15402 /* We use char because int might match the return type of a gcc2
15403 builtin and then its argument prototype would still apply. */
15408 /* The GNU C library defines this for functions which it implements
15409 to always fail with ENOSYS. Some functions are actually named
15410 something starting with __ and the normal name is an alias. */
15411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15419 if { (eval echo configure:15420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15421 eval "ac_cv_func_$ac_func=yes"
15423 echo "configure: failed program was:" >&5
15424 cat conftest.$ac_ext >&5
15426 eval "ac_cv_func_$ac_func=no"
15431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15432 echo "$ac_t""yes" 1>&6
15433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15434 cat >> confdefs.h <<EOF
15435 #define $ac_tr_func 1
15439 echo "$ac_t""no" 1>&6
15445 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15446 echo "configure:15447: checking for _expl declaration" >&5
15447 if test x${glibcpp_cv_func__expl_use+set} != xset; then
15448 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15449 echo $ac_n "(cached) $ac_c" 1>&6
15454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15455 ac_cpp='$CXXCPP $CPPFLAGS'
15456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15458 cross_compiling=$ac_cv_prog_cxx_cross
15460 cat > conftest.$ac_ext <<EOF
15461 #line 15462 "configure"
15462 #include "confdefs.h"
15464 #ifdef HAVE_IEEEFP_H
15465 #include <ieeefp.h>
15472 if { (eval echo configure:15473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15474 glibcpp_cv_func__expl_use=yes
15476 echo "configure: failed program was:" >&5
15477 cat conftest.$ac_ext >&5
15479 glibcpp_cv_func__expl_use=no
15483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15484 ac_cpp='$CPP $CPPFLAGS'
15485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15487 cross_compiling=$ac_cv_prog_cc_cross
15493 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15495 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15496 for ac_func in _expl
15498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15499 echo "configure:15500: checking for $ac_func" >&5
15500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15501 echo $ac_n "(cached) $ac_c" 1>&6
15503 cat > conftest.$ac_ext <<EOF
15504 #line 15505 "configure"
15505 #include "confdefs.h"
15506 /* System header to define __stub macros and hopefully few prototypes,
15507 which can conflict with char $ac_func(); below. */
15508 #include <assert.h>
15509 /* Override any gcc2 internal prototype to avoid an error. */
15510 /* We use char because int might match the return type of a gcc2
15511 builtin and then its argument prototype would still apply. */
15516 /* The GNU C library defines this for functions which it implements
15517 to always fail with ENOSYS. Some functions are actually named
15518 something starting with __ and the normal name is an alias. */
15519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15527 if { (eval echo configure:15528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15529 eval "ac_cv_func_$ac_func=yes"
15531 echo "configure: failed program was:" >&5
15532 cat conftest.$ac_ext >&5
15534 eval "ac_cv_func_$ac_func=no"
15539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15540 echo "$ac_t""yes" 1>&6
15541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15542 cat >> confdefs.h <<EOF
15543 #define $ac_tr_func 1
15547 echo "$ac_t""no" 1>&6
15556 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
15557 echo "configure:15558: checking for fabsl declaration" >&5
15558 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
15559 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
15560 echo $ac_n "(cached) $ac_c" 1>&6
15565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15566 ac_cpp='$CXXCPP $CPPFLAGS'
15567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15569 cross_compiling=$ac_cv_prog_cxx_cross
15571 cat > conftest.$ac_ext <<EOF
15572 #line 15573 "configure"
15573 #include "confdefs.h"
15575 #ifdef HAVE_IEEEFP_H
15576 #include <ieeefp.h>
15583 if { (eval echo configure:15584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15585 glibcpp_cv_func_fabsl_use=yes
15587 echo "configure: failed program was:" >&5
15588 cat conftest.$ac_ext >&5
15590 glibcpp_cv_func_fabsl_use=no
15594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15598 cross_compiling=$ac_cv_prog_cc_cross
15604 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
15606 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
15607 for ac_func in fabsl
15609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15610 echo "configure:15611: checking for $ac_func" >&5
15611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15612 echo $ac_n "(cached) $ac_c" 1>&6
15614 cat > conftest.$ac_ext <<EOF
15615 #line 15616 "configure"
15616 #include "confdefs.h"
15617 /* System header to define __stub macros and hopefully few prototypes,
15618 which can conflict with char $ac_func(); below. */
15619 #include <assert.h>
15620 /* Override any gcc2 internal prototype to avoid an error. */
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15627 /* The GNU C library defines this for functions which it implements
15628 to always fail with ENOSYS. Some functions are actually named
15629 something starting with __ and the normal name is an alias. */
15630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15638 if { (eval echo configure:15639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15640 eval "ac_cv_func_$ac_func=yes"
15642 echo "configure: failed program was:" >&5
15643 cat conftest.$ac_ext >&5
15645 eval "ac_cv_func_$ac_func=no"
15650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15651 echo "$ac_t""yes" 1>&6
15652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15653 cat >> confdefs.h <<EOF
15654 #define $ac_tr_func 1
15658 echo "$ac_t""no" 1>&6
15664 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15665 echo "configure:15666: checking for _fabsl declaration" >&5
15666 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
15667 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15668 echo $ac_n "(cached) $ac_c" 1>&6
15673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15674 ac_cpp='$CXXCPP $CPPFLAGS'
15675 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15676 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15677 cross_compiling=$ac_cv_prog_cxx_cross
15679 cat > conftest.$ac_ext <<EOF
15680 #line 15681 "configure"
15681 #include "confdefs.h"
15683 #ifdef HAVE_IEEEFP_H
15684 #include <ieeefp.h>
15691 if { (eval echo configure:15692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15693 glibcpp_cv_func__fabsl_use=yes
15695 echo "configure: failed program was:" >&5
15696 cat conftest.$ac_ext >&5
15698 glibcpp_cv_func__fabsl_use=no
15702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15703 ac_cpp='$CPP $CPPFLAGS'
15704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15706 cross_compiling=$ac_cv_prog_cc_cross
15712 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15714 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15715 for ac_func in _fabsl
15717 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15718 echo "configure:15719: checking for $ac_func" >&5
15719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15720 echo $ac_n "(cached) $ac_c" 1>&6
15722 cat > conftest.$ac_ext <<EOF
15723 #line 15724 "configure"
15724 #include "confdefs.h"
15725 /* System header to define __stub macros and hopefully few prototypes,
15726 which can conflict with char $ac_func(); below. */
15727 #include <assert.h>
15728 /* Override any gcc2 internal prototype to avoid an error. */
15729 /* We use char because int might match the return type of a gcc2
15730 builtin and then its argument prototype would still apply. */
15735 /* The GNU C library defines this for functions which it implements
15736 to always fail with ENOSYS. Some functions are actually named
15737 something starting with __ and the normal name is an alias. */
15738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15746 if { (eval echo configure:15747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15748 eval "ac_cv_func_$ac_func=yes"
15750 echo "configure: failed program was:" >&5
15751 cat conftest.$ac_ext >&5
15753 eval "ac_cv_func_$ac_func=no"
15758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15759 echo "$ac_t""yes" 1>&6
15760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15761 cat >> confdefs.h <<EOF
15762 #define $ac_tr_func 1
15766 echo "$ac_t""no" 1>&6
15775 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
15776 echo "configure:15777: checking for fmodl declaration" >&5
15777 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
15778 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
15779 echo $ac_n "(cached) $ac_c" 1>&6
15784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15785 ac_cpp='$CXXCPP $CPPFLAGS'
15786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15788 cross_compiling=$ac_cv_prog_cxx_cross
15790 cat > conftest.$ac_ext <<EOF
15791 #line 15792 "configure"
15792 #include "confdefs.h"
15798 if { (eval echo configure:15799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15800 glibcpp_cv_func_fmodl_use=yes
15802 echo "configure: failed program was:" >&5
15803 cat conftest.$ac_ext >&5
15805 glibcpp_cv_func_fmodl_use=no
15809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15810 ac_cpp='$CPP $CPPFLAGS'
15811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15813 cross_compiling=$ac_cv_prog_cc_cross
15819 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
15821 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
15822 for ac_func in fmodl
15824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15825 echo "configure:15826: checking for $ac_func" >&5
15826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15827 echo $ac_n "(cached) $ac_c" 1>&6
15829 cat > conftest.$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15832 /* System header to define __stub macros and hopefully few prototypes,
15833 which can conflict with char $ac_func(); below. */
15834 #include <assert.h>
15835 /* Override any gcc2 internal prototype to avoid an error. */
15836 /* We use char because int might match the return type of a gcc2
15837 builtin and then its argument prototype would still apply. */
15842 /* The GNU C library defines this for functions which it implements
15843 to always fail with ENOSYS. Some functions are actually named
15844 something starting with __ and the normal name is an alias. */
15845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15853 if { (eval echo configure:15854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15855 eval "ac_cv_func_$ac_func=yes"
15857 echo "configure: failed program was:" >&5
15858 cat conftest.$ac_ext >&5
15860 eval "ac_cv_func_$ac_func=no"
15865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15866 echo "$ac_t""yes" 1>&6
15867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15868 cat >> confdefs.h <<EOF
15869 #define $ac_tr_func 1
15873 echo "$ac_t""no" 1>&6
15879 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15880 echo "configure:15881: checking for _fmodl declaration" >&5
15881 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
15882 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15883 echo $ac_n "(cached) $ac_c" 1>&6
15888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15889 ac_cpp='$CXXCPP $CPPFLAGS'
15890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15892 cross_compiling=$ac_cv_prog_cxx_cross
15894 cat > conftest.$ac_ext <<EOF
15895 #line 15896 "configure"
15896 #include "confdefs.h"
15902 if { (eval echo configure:15903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15904 glibcpp_cv_func__fmodl_use=yes
15906 echo "configure: failed program was:" >&5
15907 cat conftest.$ac_ext >&5
15909 glibcpp_cv_func__fmodl_use=no
15913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15917 cross_compiling=$ac_cv_prog_cc_cross
15923 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15925 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15926 for ac_func in _fmodl
15928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15929 echo "configure:15930: checking for $ac_func" >&5
15930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15931 echo $ac_n "(cached) $ac_c" 1>&6
15933 cat > conftest.$ac_ext <<EOF
15934 #line 15935 "configure"
15935 #include "confdefs.h"
15936 /* System header to define __stub macros and hopefully few prototypes,
15937 which can conflict with char $ac_func(); below. */
15938 #include <assert.h>
15939 /* Override any gcc2 internal prototype to avoid an error. */
15940 /* We use char because int might match the return type of a gcc2
15941 builtin and then its argument prototype would still apply. */
15946 /* The GNU C library defines this for functions which it implements
15947 to always fail with ENOSYS. Some functions are actually named
15948 something starting with __ and the normal name is an alias. */
15949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15957 if { (eval echo configure:15958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15959 eval "ac_cv_func_$ac_func=yes"
15961 echo "configure: failed program was:" >&5
15962 cat conftest.$ac_ext >&5
15964 eval "ac_cv_func_$ac_func=no"
15969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15970 echo "$ac_t""yes" 1>&6
15971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15972 cat >> confdefs.h <<EOF
15973 #define $ac_tr_func 1
15977 echo "$ac_t""no" 1>&6
15986 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
15987 echo "configure:15988: checking for frexpl declaration" >&5
15988 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
15989 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
15990 echo $ac_n "(cached) $ac_c" 1>&6
15995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15996 ac_cpp='$CXXCPP $CPPFLAGS'
15997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15999 cross_compiling=$ac_cv_prog_cxx_cross
16001 cat > conftest.$ac_ext <<EOF
16002 #line 16003 "configure"
16003 #include "confdefs.h"
16009 if { (eval echo configure:16010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16011 glibcpp_cv_func_frexpl_use=yes
16013 echo "configure: failed program was:" >&5
16014 cat conftest.$ac_ext >&5
16016 glibcpp_cv_func_frexpl_use=no
16020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16021 ac_cpp='$CPP $CPPFLAGS'
16022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16024 cross_compiling=$ac_cv_prog_cc_cross
16030 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16032 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16033 for ac_func in frexpl
16035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16036 echo "configure:16037: checking for $ac_func" >&5
16037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16038 echo $ac_n "(cached) $ac_c" 1>&6
16040 cat > conftest.$ac_ext <<EOF
16041 #line 16042 "configure"
16042 #include "confdefs.h"
16043 /* System header to define __stub macros and hopefully few prototypes,
16044 which can conflict with char $ac_func(); below. */
16045 #include <assert.h>
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 /* We use char because int might match the return type of a gcc2
16048 builtin and then its argument prototype would still apply. */
16053 /* The GNU C library defines this for functions which it implements
16054 to always fail with ENOSYS. Some functions are actually named
16055 something starting with __ and the normal name is an alias. */
16056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16064 if { (eval echo configure:16065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16066 eval "ac_cv_func_$ac_func=yes"
16068 echo "configure: failed program was:" >&5
16069 cat conftest.$ac_ext >&5
16071 eval "ac_cv_func_$ac_func=no"
16076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16077 echo "$ac_t""yes" 1>&6
16078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16079 cat >> confdefs.h <<EOF
16080 #define $ac_tr_func 1
16084 echo "$ac_t""no" 1>&6
16090 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
16091 echo "configure:16092: checking for _frexpl declaration" >&5
16092 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16093 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16094 echo $ac_n "(cached) $ac_c" 1>&6
16099 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16100 ac_cpp='$CXXCPP $CPPFLAGS'
16101 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16102 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16103 cross_compiling=$ac_cv_prog_cxx_cross
16105 cat > conftest.$ac_ext <<EOF
16106 #line 16107 "configure"
16107 #include "confdefs.h"
16113 if { (eval echo configure:16114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16115 glibcpp_cv_func__frexpl_use=yes
16117 echo "configure: failed program was:" >&5
16118 cat conftest.$ac_ext >&5
16120 glibcpp_cv_func__frexpl_use=no
16124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16125 ac_cpp='$CPP $CPPFLAGS'
16126 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16127 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16128 cross_compiling=$ac_cv_prog_cc_cross
16134 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
16136 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
16137 for ac_func in _frexpl
16139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16140 echo "configure:16141: checking for $ac_func" >&5
16141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16142 echo $ac_n "(cached) $ac_c" 1>&6
16144 cat > conftest.$ac_ext <<EOF
16145 #line 16146 "configure"
16146 #include "confdefs.h"
16147 /* System header to define __stub macros and hopefully few prototypes,
16148 which can conflict with char $ac_func(); below. */
16149 #include <assert.h>
16150 /* Override any gcc2 internal prototype to avoid an error. */
16151 /* We use char because int might match the return type of a gcc2
16152 builtin and then its argument prototype would still apply. */
16157 /* The GNU C library defines this for functions which it implements
16158 to always fail with ENOSYS. Some functions are actually named
16159 something starting with __ and the normal name is an alias. */
16160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16168 if { (eval echo configure:16169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16170 eval "ac_cv_func_$ac_func=yes"
16172 echo "configure: failed program was:" >&5
16173 cat conftest.$ac_ext >&5
16175 eval "ac_cv_func_$ac_func=no"
16180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16181 echo "$ac_t""yes" 1>&6
16182 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16183 cat >> confdefs.h <<EOF
16184 #define $ac_tr_func 1
16188 echo "$ac_t""no" 1>&6
16197 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
16198 echo "configure:16199: checking for hypotl declaration" >&5
16199 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
16200 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
16201 echo $ac_n "(cached) $ac_c" 1>&6
16206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16207 ac_cpp='$CXXCPP $CPPFLAGS'
16208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16210 cross_compiling=$ac_cv_prog_cxx_cross
16212 cat > conftest.$ac_ext <<EOF
16213 #line 16214 "configure"
16214 #include "confdefs.h"
16220 if { (eval echo configure:16221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16222 glibcpp_cv_func_hypotl_use=yes
16224 echo "configure: failed program was:" >&5
16225 cat conftest.$ac_ext >&5
16227 glibcpp_cv_func_hypotl_use=no
16231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16232 ac_cpp='$CPP $CPPFLAGS'
16233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16235 cross_compiling=$ac_cv_prog_cc_cross
16241 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
16243 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
16244 for ac_func in hypotl
16246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16247 echo "configure:16248: checking for $ac_func" >&5
16248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16249 echo $ac_n "(cached) $ac_c" 1>&6
16251 cat > conftest.$ac_ext <<EOF
16252 #line 16253 "configure"
16253 #include "confdefs.h"
16254 /* System header to define __stub macros and hopefully few prototypes,
16255 which can conflict with char $ac_func(); below. */
16256 #include <assert.h>
16257 /* Override any gcc2 internal prototype to avoid an error. */
16258 /* We use char because int might match the return type of a gcc2
16259 builtin and then its argument prototype would still apply. */
16264 /* The GNU C library defines this for functions which it implements
16265 to always fail with ENOSYS. Some functions are actually named
16266 something starting with __ and the normal name is an alias. */
16267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16275 if { (eval echo configure:16276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16277 eval "ac_cv_func_$ac_func=yes"
16279 echo "configure: failed program was:" >&5
16280 cat conftest.$ac_ext >&5
16282 eval "ac_cv_func_$ac_func=no"
16287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16288 echo "$ac_t""yes" 1>&6
16289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16290 cat >> confdefs.h <<EOF
16291 #define $ac_tr_func 1
16295 echo "$ac_t""no" 1>&6
16301 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
16302 echo "configure:16303: checking for _hypotl declaration" >&5
16303 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
16304 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
16305 echo $ac_n "(cached) $ac_c" 1>&6
16310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16311 ac_cpp='$CXXCPP $CPPFLAGS'
16312 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16313 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16314 cross_compiling=$ac_cv_prog_cxx_cross
16316 cat > conftest.$ac_ext <<EOF
16317 #line 16318 "configure"
16318 #include "confdefs.h"
16324 if { (eval echo configure:16325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16326 glibcpp_cv_func__hypotl_use=yes
16328 echo "configure: failed program was:" >&5
16329 cat conftest.$ac_ext >&5
16331 glibcpp_cv_func__hypotl_use=no
16335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16336 ac_cpp='$CPP $CPPFLAGS'
16337 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16338 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16339 cross_compiling=$ac_cv_prog_cc_cross
16345 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
16347 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
16348 for ac_func in _hypotl
16350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16351 echo "configure:16352: checking for $ac_func" >&5
16352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16353 echo $ac_n "(cached) $ac_c" 1>&6
16355 cat > conftest.$ac_ext <<EOF
16356 #line 16357 "configure"
16357 #include "confdefs.h"
16358 /* System header to define __stub macros and hopefully few prototypes,
16359 which can conflict with char $ac_func(); below. */
16360 #include <assert.h>
16361 /* Override any gcc2 internal prototype to avoid an error. */
16362 /* We use char because int might match the return type of a gcc2
16363 builtin and then its argument prototype would still apply. */
16368 /* The GNU C library defines this for functions which it implements
16369 to always fail with ENOSYS. Some functions are actually named
16370 something starting with __ and the normal name is an alias. */
16371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16379 if { (eval echo configure:16380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16381 eval "ac_cv_func_$ac_func=yes"
16383 echo "configure: failed program was:" >&5
16384 cat conftest.$ac_ext >&5
16386 eval "ac_cv_func_$ac_func=no"
16391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16392 echo "$ac_t""yes" 1>&6
16393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16394 cat >> confdefs.h <<EOF
16395 #define $ac_tr_func 1
16399 echo "$ac_t""no" 1>&6
16408 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
16409 echo "configure:16410: checking for ldexpl declaration" >&5
16410 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
16411 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
16412 echo $ac_n "(cached) $ac_c" 1>&6
16417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16421 cross_compiling=$ac_cv_prog_cxx_cross
16423 cat > conftest.$ac_ext <<EOF
16424 #line 16425 "configure"
16425 #include "confdefs.h"
16431 if { (eval echo configure:16432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16433 glibcpp_cv_func_ldexpl_use=yes
16435 echo "configure: failed program was:" >&5
16436 cat conftest.$ac_ext >&5
16438 glibcpp_cv_func_ldexpl_use=no
16442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16443 ac_cpp='$CPP $CPPFLAGS'
16444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16446 cross_compiling=$ac_cv_prog_cc_cross
16452 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
16454 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
16455 for ac_func in ldexpl
16457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16458 echo "configure:16459: checking for $ac_func" >&5
16459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16460 echo $ac_n "(cached) $ac_c" 1>&6
16462 cat > conftest.$ac_ext <<EOF
16463 #line 16464 "configure"
16464 #include "confdefs.h"
16465 /* System header to define __stub macros and hopefully few prototypes,
16466 which can conflict with char $ac_func(); below. */
16467 #include <assert.h>
16468 /* Override any gcc2 internal prototype to avoid an error. */
16469 /* We use char because int might match the return type of a gcc2
16470 builtin and then its argument prototype would still apply. */
16475 /* The GNU C library defines this for functions which it implements
16476 to always fail with ENOSYS. Some functions are actually named
16477 something starting with __ and the normal name is an alias. */
16478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16486 if { (eval echo configure:16487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16488 eval "ac_cv_func_$ac_func=yes"
16490 echo "configure: failed program was:" >&5
16491 cat conftest.$ac_ext >&5
16493 eval "ac_cv_func_$ac_func=no"
16498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16499 echo "$ac_t""yes" 1>&6
16500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16501 cat >> confdefs.h <<EOF
16502 #define $ac_tr_func 1
16506 echo "$ac_t""no" 1>&6
16512 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
16513 echo "configure:16514: checking for _ldexpl declaration" >&5
16514 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
16515 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
16516 echo $ac_n "(cached) $ac_c" 1>&6
16521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16522 ac_cpp='$CXXCPP $CPPFLAGS'
16523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16525 cross_compiling=$ac_cv_prog_cxx_cross
16527 cat > conftest.$ac_ext <<EOF
16528 #line 16529 "configure"
16529 #include "confdefs.h"
16535 if { (eval echo configure:16536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16537 glibcpp_cv_func__ldexpl_use=yes
16539 echo "configure: failed program was:" >&5
16540 cat conftest.$ac_ext >&5
16542 glibcpp_cv_func__ldexpl_use=no
16546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16547 ac_cpp='$CPP $CPPFLAGS'
16548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16550 cross_compiling=$ac_cv_prog_cc_cross
16556 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
16558 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
16559 for ac_func in _ldexpl
16561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16562 echo "configure:16563: checking for $ac_func" >&5
16563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16564 echo $ac_n "(cached) $ac_c" 1>&6
16566 cat > conftest.$ac_ext <<EOF
16567 #line 16568 "configure"
16568 #include "confdefs.h"
16569 /* System header to define __stub macros and hopefully few prototypes,
16570 which can conflict with char $ac_func(); below. */
16571 #include <assert.h>
16572 /* Override any gcc2 internal prototype to avoid an error. */
16573 /* We use char because int might match the return type of a gcc2
16574 builtin and then its argument prototype would still apply. */
16579 /* The GNU C library defines this for functions which it implements
16580 to always fail with ENOSYS. Some functions are actually named
16581 something starting with __ and the normal name is an alias. */
16582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16590 if { (eval echo configure:16591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16592 eval "ac_cv_func_$ac_func=yes"
16594 echo "configure: failed program was:" >&5
16595 cat conftest.$ac_ext >&5
16597 eval "ac_cv_func_$ac_func=no"
16602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16603 echo "$ac_t""yes" 1>&6
16604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16605 cat >> confdefs.h <<EOF
16606 #define $ac_tr_func 1
16610 echo "$ac_t""no" 1>&6
16619 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
16620 echo "configure:16621: checking for logl declaration" >&5
16621 if test x${glibcpp_cv_func_logl_use+set} != xset; then
16622 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
16623 echo $ac_n "(cached) $ac_c" 1>&6
16628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16629 ac_cpp='$CXXCPP $CPPFLAGS'
16630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16632 cross_compiling=$ac_cv_prog_cxx_cross
16634 cat > conftest.$ac_ext <<EOF
16635 #line 16636 "configure"
16636 #include "confdefs.h"
16638 #ifdef HAVE_IEEEFP_H
16639 #include <ieeefp.h>
16646 if { (eval echo configure:16647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16648 glibcpp_cv_func_logl_use=yes
16650 echo "configure: failed program was:" >&5
16651 cat conftest.$ac_ext >&5
16653 glibcpp_cv_func_logl_use=no
16657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16658 ac_cpp='$CPP $CPPFLAGS'
16659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16661 cross_compiling=$ac_cv_prog_cc_cross
16667 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
16669 if test x$glibcpp_cv_func_logl_use = x"yes"; then
16670 for ac_func in logl
16672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16673 echo "configure:16674: checking for $ac_func" >&5
16674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16675 echo $ac_n "(cached) $ac_c" 1>&6
16677 cat > conftest.$ac_ext <<EOF
16678 #line 16679 "configure"
16679 #include "confdefs.h"
16680 /* System header to define __stub macros and hopefully few prototypes,
16681 which can conflict with char $ac_func(); below. */
16682 #include <assert.h>
16683 /* Override any gcc2 internal prototype to avoid an error. */
16684 /* We use char because int might match the return type of a gcc2
16685 builtin and then its argument prototype would still apply. */
16690 /* The GNU C library defines this for functions which it implements
16691 to always fail with ENOSYS. Some functions are actually named
16692 something starting with __ and the normal name is an alias. */
16693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16701 if { (eval echo configure:16702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16703 eval "ac_cv_func_$ac_func=yes"
16705 echo "configure: failed program was:" >&5
16706 cat conftest.$ac_ext >&5
16708 eval "ac_cv_func_$ac_func=no"
16713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16714 echo "$ac_t""yes" 1>&6
16715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16716 cat >> confdefs.h <<EOF
16717 #define $ac_tr_func 1
16721 echo "$ac_t""no" 1>&6
16727 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
16728 echo "configure:16729: checking for _logl declaration" >&5
16729 if test x${glibcpp_cv_func__logl_use+set} != xset; then
16730 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
16731 echo $ac_n "(cached) $ac_c" 1>&6
16736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16737 ac_cpp='$CXXCPP $CPPFLAGS'
16738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16740 cross_compiling=$ac_cv_prog_cxx_cross
16742 cat > conftest.$ac_ext <<EOF
16743 #line 16744 "configure"
16744 #include "confdefs.h"
16746 #ifdef HAVE_IEEEFP_H
16747 #include <ieeefp.h>
16754 if { (eval echo configure:16755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16756 glibcpp_cv_func__logl_use=yes
16758 echo "configure: failed program was:" >&5
16759 cat conftest.$ac_ext >&5
16761 glibcpp_cv_func__logl_use=no
16765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16766 ac_cpp='$CPP $CPPFLAGS'
16767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16769 cross_compiling=$ac_cv_prog_cc_cross
16775 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16777 if test x$glibcpp_cv_func__logl_use = x"yes"; then
16778 for ac_func in _logl
16780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16781 echo "configure:16782: checking for $ac_func" >&5
16782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16783 echo $ac_n "(cached) $ac_c" 1>&6
16785 cat > conftest.$ac_ext <<EOF
16786 #line 16787 "configure"
16787 #include "confdefs.h"
16788 /* System header to define __stub macros and hopefully few prototypes,
16789 which can conflict with char $ac_func(); below. */
16790 #include <assert.h>
16791 /* Override any gcc2 internal prototype to avoid an error. */
16792 /* We use char because int might match the return type of a gcc2
16793 builtin and then its argument prototype would still apply. */
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16809 if { (eval echo configure:16810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16811 eval "ac_cv_func_$ac_func=yes"
16813 echo "configure: failed program was:" >&5
16814 cat conftest.$ac_ext >&5
16816 eval "ac_cv_func_$ac_func=no"
16821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16822 echo "$ac_t""yes" 1>&6
16823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16824 cat >> confdefs.h <<EOF
16825 #define $ac_tr_func 1
16829 echo "$ac_t""no" 1>&6
16838 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
16839 echo "configure:16840: checking for log10l declaration" >&5
16840 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
16841 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
16842 echo $ac_n "(cached) $ac_c" 1>&6
16847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16848 ac_cpp='$CXXCPP $CPPFLAGS'
16849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16851 cross_compiling=$ac_cv_prog_cxx_cross
16853 cat > conftest.$ac_ext <<EOF
16854 #line 16855 "configure"
16855 #include "confdefs.h"
16857 #ifdef HAVE_IEEEFP_H
16858 #include <ieeefp.h>
16865 if { (eval echo configure:16866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16867 glibcpp_cv_func_log10l_use=yes
16869 echo "configure: failed program was:" >&5
16870 cat conftest.$ac_ext >&5
16872 glibcpp_cv_func_log10l_use=no
16876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16877 ac_cpp='$CPP $CPPFLAGS'
16878 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16879 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16880 cross_compiling=$ac_cv_prog_cc_cross
16886 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
16888 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
16889 for ac_func in log10l
16891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16892 echo "configure:16893: checking for $ac_func" >&5
16893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16894 echo $ac_n "(cached) $ac_c" 1>&6
16896 cat > conftest.$ac_ext <<EOF
16897 #line 16898 "configure"
16898 #include "confdefs.h"
16899 /* System header to define __stub macros and hopefully few prototypes,
16900 which can conflict with char $ac_func(); below. */
16901 #include <assert.h>
16902 /* Override any gcc2 internal prototype to avoid an error. */
16903 /* We use char because int might match the return type of a gcc2
16904 builtin and then its argument prototype would still apply. */
16909 /* The GNU C library defines this for functions which it implements
16910 to always fail with ENOSYS. Some functions are actually named
16911 something starting with __ and the normal name is an alias. */
16912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16920 if { (eval echo configure:16921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16922 eval "ac_cv_func_$ac_func=yes"
16924 echo "configure: failed program was:" >&5
16925 cat conftest.$ac_ext >&5
16927 eval "ac_cv_func_$ac_func=no"
16932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16933 echo "$ac_t""yes" 1>&6
16934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16935 cat >> confdefs.h <<EOF
16936 #define $ac_tr_func 1
16940 echo "$ac_t""no" 1>&6
16946 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16947 echo "configure:16948: checking for _log10l declaration" >&5
16948 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16949 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16950 echo $ac_n "(cached) $ac_c" 1>&6
16955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16956 ac_cpp='$CXXCPP $CPPFLAGS'
16957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16959 cross_compiling=$ac_cv_prog_cxx_cross
16961 cat > conftest.$ac_ext <<EOF
16962 #line 16963 "configure"
16963 #include "confdefs.h"
16965 #ifdef HAVE_IEEEFP_H
16966 #include <ieeefp.h>
16973 if { (eval echo configure:16974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16975 glibcpp_cv_func__log10l_use=yes
16977 echo "configure: failed program was:" >&5
16978 cat conftest.$ac_ext >&5
16980 glibcpp_cv_func__log10l_use=no
16984 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16985 ac_cpp='$CPP $CPPFLAGS'
16986 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16987 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16988 cross_compiling=$ac_cv_prog_cc_cross
16994 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16996 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16997 for ac_func in _log10l
16999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17000 echo "configure:17001: checking for $ac_func" >&5
17001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17002 echo $ac_n "(cached) $ac_c" 1>&6
17004 cat > conftest.$ac_ext <<EOF
17005 #line 17006 "configure"
17006 #include "confdefs.h"
17007 /* System header to define __stub macros and hopefully few prototypes,
17008 which can conflict with char $ac_func(); below. */
17009 #include <assert.h>
17010 /* Override any gcc2 internal prototype to avoid an error. */
17011 /* We use char because int might match the return type of a gcc2
17012 builtin and then its argument prototype would still apply. */
17017 /* The GNU C library defines this for functions which it implements
17018 to always fail with ENOSYS. Some functions are actually named
17019 something starting with __ and the normal name is an alias. */
17020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17028 if { (eval echo configure:17029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17030 eval "ac_cv_func_$ac_func=yes"
17032 echo "configure: failed program was:" >&5
17033 cat conftest.$ac_ext >&5
17035 eval "ac_cv_func_$ac_func=no"
17040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17041 echo "$ac_t""yes" 1>&6
17042 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17043 cat >> confdefs.h <<EOF
17044 #define $ac_tr_func 1
17048 echo "$ac_t""no" 1>&6
17057 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
17058 echo "configure:17059: checking for modfl declaration" >&5
17059 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17060 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17061 echo $ac_n "(cached) $ac_c" 1>&6
17066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17067 ac_cpp='$CXXCPP $CPPFLAGS'
17068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17070 cross_compiling=$ac_cv_prog_cxx_cross
17072 cat > conftest.$ac_ext <<EOF
17073 #line 17074 "configure"
17074 #include "confdefs.h"
17080 if { (eval echo configure:17081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17082 glibcpp_cv_func_modfl_use=yes
17084 echo "configure: failed program was:" >&5
17085 cat conftest.$ac_ext >&5
17087 glibcpp_cv_func_modfl_use=no
17091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17092 ac_cpp='$CPP $CPPFLAGS'
17093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17095 cross_compiling=$ac_cv_prog_cc_cross
17101 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17103 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17104 for ac_func in modfl
17106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17107 echo "configure:17108: checking for $ac_func" >&5
17108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17109 echo $ac_n "(cached) $ac_c" 1>&6
17111 cat > conftest.$ac_ext <<EOF
17112 #line 17113 "configure"
17113 #include "confdefs.h"
17114 /* System header to define __stub macros and hopefully few prototypes,
17115 which can conflict with char $ac_func(); below. */
17116 #include <assert.h>
17117 /* Override any gcc2 internal prototype to avoid an error. */
17118 /* We use char because int might match the return type of a gcc2
17119 builtin and then its argument prototype would still apply. */
17124 /* The GNU C library defines this for functions which it implements
17125 to always fail with ENOSYS. Some functions are actually named
17126 something starting with __ and the normal name is an alias. */
17127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17135 if { (eval echo configure:17136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17137 eval "ac_cv_func_$ac_func=yes"
17139 echo "configure: failed program was:" >&5
17140 cat conftest.$ac_ext >&5
17142 eval "ac_cv_func_$ac_func=no"
17147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17148 echo "$ac_t""yes" 1>&6
17149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17150 cat >> confdefs.h <<EOF
17151 #define $ac_tr_func 1
17155 echo "$ac_t""no" 1>&6
17161 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
17162 echo "configure:17163: checking for _modfl declaration" >&5
17163 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
17164 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
17165 echo $ac_n "(cached) $ac_c" 1>&6
17170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17171 ac_cpp='$CXXCPP $CPPFLAGS'
17172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17174 cross_compiling=$ac_cv_prog_cxx_cross
17176 cat > conftest.$ac_ext <<EOF
17177 #line 17178 "configure"
17178 #include "confdefs.h"
17184 if { (eval echo configure:17185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17186 glibcpp_cv_func__modfl_use=yes
17188 echo "configure: failed program was:" >&5
17189 cat conftest.$ac_ext >&5
17191 glibcpp_cv_func__modfl_use=no
17195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17196 ac_cpp='$CPP $CPPFLAGS'
17197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17199 cross_compiling=$ac_cv_prog_cc_cross
17205 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
17207 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
17208 for ac_func in _modfl
17210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17211 echo "configure:17212: checking for $ac_func" >&5
17212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17213 echo $ac_n "(cached) $ac_c" 1>&6
17215 cat > conftest.$ac_ext <<EOF
17216 #line 17217 "configure"
17217 #include "confdefs.h"
17218 /* System header to define __stub macros and hopefully few prototypes,
17219 which can conflict with char $ac_func(); below. */
17220 #include <assert.h>
17221 /* Override any gcc2 internal prototype to avoid an error. */
17222 /* We use char because int might match the return type of a gcc2
17223 builtin and then its argument prototype would still apply. */
17228 /* The GNU C library defines this for functions which it implements
17229 to always fail with ENOSYS. Some functions are actually named
17230 something starting with __ and the normal name is an alias. */
17231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17239 if { (eval echo configure:17240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17241 eval "ac_cv_func_$ac_func=yes"
17243 echo "configure: failed program was:" >&5
17244 cat conftest.$ac_ext >&5
17246 eval "ac_cv_func_$ac_func=no"
17251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17252 echo "$ac_t""yes" 1>&6
17253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17254 cat >> confdefs.h <<EOF
17255 #define $ac_tr_func 1
17259 echo "$ac_t""no" 1>&6
17268 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
17269 echo "configure:17270: checking for powl declaration" >&5
17270 if test x${glibcpp_cv_func_powl_use+set} != xset; then
17271 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
17272 echo $ac_n "(cached) $ac_c" 1>&6
17277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17278 ac_cpp='$CXXCPP $CPPFLAGS'
17279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17281 cross_compiling=$ac_cv_prog_cxx_cross
17283 cat > conftest.$ac_ext <<EOF
17284 #line 17285 "configure"
17285 #include "confdefs.h"
17291 if { (eval echo configure:17292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17293 glibcpp_cv_func_powl_use=yes
17295 echo "configure: failed program was:" >&5
17296 cat conftest.$ac_ext >&5
17298 glibcpp_cv_func_powl_use=no
17302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17303 ac_cpp='$CPP $CPPFLAGS'
17304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17306 cross_compiling=$ac_cv_prog_cc_cross
17312 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
17314 if test x$glibcpp_cv_func_powl_use = x"yes"; then
17315 for ac_func in powl
17317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17318 echo "configure:17319: checking for $ac_func" >&5
17319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17320 echo $ac_n "(cached) $ac_c" 1>&6
17322 cat > conftest.$ac_ext <<EOF
17323 #line 17324 "configure"
17324 #include "confdefs.h"
17325 /* System header to define __stub macros and hopefully few prototypes,
17326 which can conflict with char $ac_func(); below. */
17327 #include <assert.h>
17328 /* Override any gcc2 internal prototype to avoid an error. */
17329 /* We use char because int might match the return type of a gcc2
17330 builtin and then its argument prototype would still apply. */
17335 /* The GNU C library defines this for functions which it implements
17336 to always fail with ENOSYS. Some functions are actually named
17337 something starting with __ and the normal name is an alias. */
17338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17346 if { (eval echo configure:17347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17348 eval "ac_cv_func_$ac_func=yes"
17350 echo "configure: failed program was:" >&5
17351 cat conftest.$ac_ext >&5
17353 eval "ac_cv_func_$ac_func=no"
17358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17359 echo "$ac_t""yes" 1>&6
17360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17361 cat >> confdefs.h <<EOF
17362 #define $ac_tr_func 1
17366 echo "$ac_t""no" 1>&6
17372 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
17373 echo "configure:17374: checking for _powl declaration" >&5
17374 if test x${glibcpp_cv_func__powl_use+set} != xset; then
17375 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
17376 echo $ac_n "(cached) $ac_c" 1>&6
17381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17382 ac_cpp='$CXXCPP $CPPFLAGS'
17383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17385 cross_compiling=$ac_cv_prog_cxx_cross
17387 cat > conftest.$ac_ext <<EOF
17388 #line 17389 "configure"
17389 #include "confdefs.h"
17395 if { (eval echo configure:17396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17397 glibcpp_cv_func__powl_use=yes
17399 echo "configure: failed program was:" >&5
17400 cat conftest.$ac_ext >&5
17402 glibcpp_cv_func__powl_use=no
17406 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17409 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17410 cross_compiling=$ac_cv_prog_cc_cross
17416 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
17418 if test x$glibcpp_cv_func__powl_use = x"yes"; then
17419 for ac_func in _powl
17421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17422 echo "configure:17423: checking for $ac_func" >&5
17423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17424 echo $ac_n "(cached) $ac_c" 1>&6
17426 cat > conftest.$ac_ext <<EOF
17427 #line 17428 "configure"
17428 #include "confdefs.h"
17429 /* System header to define __stub macros and hopefully few prototypes,
17430 which can conflict with char $ac_func(); below. */
17431 #include <assert.h>
17432 /* Override any gcc2 internal prototype to avoid an error. */
17433 /* We use char because int might match the return type of a gcc2
17434 builtin and then its argument prototype would still apply. */
17439 /* The GNU C library defines this for functions which it implements
17440 to always fail with ENOSYS. Some functions are actually named
17441 something starting with __ and the normal name is an alias. */
17442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17450 if { (eval echo configure:17451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17452 eval "ac_cv_func_$ac_func=yes"
17454 echo "configure: failed program was:" >&5
17455 cat conftest.$ac_ext >&5
17457 eval "ac_cv_func_$ac_func=no"
17462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17463 echo "$ac_t""yes" 1>&6
17464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17465 cat >> confdefs.h <<EOF
17466 #define $ac_tr_func 1
17470 echo "$ac_t""no" 1>&6
17479 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
17480 echo "configure:17481: checking for sqrtl declaration" >&5
17481 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
17482 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
17483 echo $ac_n "(cached) $ac_c" 1>&6
17488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17489 ac_cpp='$CXXCPP $CPPFLAGS'
17490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17492 cross_compiling=$ac_cv_prog_cxx_cross
17494 cat > conftest.$ac_ext <<EOF
17495 #line 17496 "configure"
17496 #include "confdefs.h"
17498 #ifdef HAVE_IEEEFP_H
17499 #include <ieeefp.h>
17506 if { (eval echo configure:17507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17508 glibcpp_cv_func_sqrtl_use=yes
17510 echo "configure: failed program was:" >&5
17511 cat conftest.$ac_ext >&5
17513 glibcpp_cv_func_sqrtl_use=no
17517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17518 ac_cpp='$CPP $CPPFLAGS'
17519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17521 cross_compiling=$ac_cv_prog_cc_cross
17527 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
17529 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
17530 for ac_func in sqrtl
17532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17533 echo "configure:17534: checking for $ac_func" >&5
17534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17535 echo $ac_n "(cached) $ac_c" 1>&6
17537 cat > conftest.$ac_ext <<EOF
17538 #line 17539 "configure"
17539 #include "confdefs.h"
17540 /* System header to define __stub macros and hopefully few prototypes,
17541 which can conflict with char $ac_func(); below. */
17542 #include <assert.h>
17543 /* Override any gcc2 internal prototype to avoid an error. */
17544 /* We use char because int might match the return type of a gcc2
17545 builtin and then its argument prototype would still apply. */
17550 /* The GNU C library defines this for functions which it implements
17551 to always fail with ENOSYS. Some functions are actually named
17552 something starting with __ and the normal name is an alias. */
17553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17561 if { (eval echo configure:17562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17563 eval "ac_cv_func_$ac_func=yes"
17565 echo "configure: failed program was:" >&5
17566 cat conftest.$ac_ext >&5
17568 eval "ac_cv_func_$ac_func=no"
17573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17574 echo "$ac_t""yes" 1>&6
17575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17576 cat >> confdefs.h <<EOF
17577 #define $ac_tr_func 1
17581 echo "$ac_t""no" 1>&6
17587 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
17588 echo "configure:17589: checking for _sqrtl declaration" >&5
17589 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
17590 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
17591 echo $ac_n "(cached) $ac_c" 1>&6
17596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17597 ac_cpp='$CXXCPP $CPPFLAGS'
17598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17600 cross_compiling=$ac_cv_prog_cxx_cross
17602 cat > conftest.$ac_ext <<EOF
17603 #line 17604 "configure"
17604 #include "confdefs.h"
17606 #ifdef HAVE_IEEEFP_H
17607 #include <ieeefp.h>
17614 if { (eval echo configure:17615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17616 glibcpp_cv_func__sqrtl_use=yes
17618 echo "configure: failed program was:" >&5
17619 cat conftest.$ac_ext >&5
17621 glibcpp_cv_func__sqrtl_use=no
17625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17626 ac_cpp='$CPP $CPPFLAGS'
17627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17629 cross_compiling=$ac_cv_prog_cc_cross
17635 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
17637 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
17638 for ac_func in _sqrtl
17640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17641 echo "configure:17642: checking for $ac_func" >&5
17642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17643 echo $ac_n "(cached) $ac_c" 1>&6
17645 cat > conftest.$ac_ext <<EOF
17646 #line 17647 "configure"
17647 #include "confdefs.h"
17648 /* System header to define __stub macros and hopefully few prototypes,
17649 which can conflict with char $ac_func(); below. */
17650 #include <assert.h>
17651 /* Override any gcc2 internal prototype to avoid an error. */
17652 /* We use char because int might match the return type of a gcc2
17653 builtin and then its argument prototype would still apply. */
17658 /* The GNU C library defines this for functions which it implements
17659 to always fail with ENOSYS. Some functions are actually named
17660 something starting with __ and the normal name is an alias. */
17661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17669 if { (eval echo configure:17670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17671 eval "ac_cv_func_$ac_func=yes"
17673 echo "configure: failed program was:" >&5
17674 cat conftest.$ac_ext >&5
17676 eval "ac_cv_func_$ac_func=no"
17681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17682 echo "$ac_t""yes" 1>&6
17683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17684 cat >> confdefs.h <<EOF
17685 #define $ac_tr_func 1
17689 echo "$ac_t""no" 1>&6
17698 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
17699 echo "configure:17700: checking for sincosl declaration" >&5
17700 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
17701 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
17702 echo $ac_n "(cached) $ac_c" 1>&6
17707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17708 ac_cpp='$CXXCPP $CPPFLAGS'
17709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17711 cross_compiling=$ac_cv_prog_cxx_cross
17713 cat > conftest.$ac_ext <<EOF
17714 #line 17715 "configure"
17715 #include "confdefs.h"
17721 if { (eval echo configure:17722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17723 glibcpp_cv_func_sincosl_use=yes
17725 echo "configure: failed program was:" >&5
17726 cat conftest.$ac_ext >&5
17728 glibcpp_cv_func_sincosl_use=no
17732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17733 ac_cpp='$CPP $CPPFLAGS'
17734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17736 cross_compiling=$ac_cv_prog_cc_cross
17742 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
17744 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
17745 for ac_func in sincosl
17747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17748 echo "configure:17749: checking for $ac_func" >&5
17749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17750 echo $ac_n "(cached) $ac_c" 1>&6
17752 cat > conftest.$ac_ext <<EOF
17753 #line 17754 "configure"
17754 #include "confdefs.h"
17755 /* System header to define __stub macros and hopefully few prototypes,
17756 which can conflict with char $ac_func(); below. */
17757 #include <assert.h>
17758 /* Override any gcc2 internal prototype to avoid an error. */
17759 /* We use char because int might match the return type of a gcc2
17760 builtin and then its argument prototype would still apply. */
17765 /* The GNU C library defines this for functions which it implements
17766 to always fail with ENOSYS. Some functions are actually named
17767 something starting with __ and the normal name is an alias. */
17768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17776 if { (eval echo configure:17777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17778 eval "ac_cv_func_$ac_func=yes"
17780 echo "configure: failed program was:" >&5
17781 cat conftest.$ac_ext >&5
17783 eval "ac_cv_func_$ac_func=no"
17788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17789 echo "$ac_t""yes" 1>&6
17790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17791 cat >> confdefs.h <<EOF
17792 #define $ac_tr_func 1
17796 echo "$ac_t""no" 1>&6
17802 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
17803 echo "configure:17804: checking for _sincosl declaration" >&5
17804 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
17805 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
17806 echo $ac_n "(cached) $ac_c" 1>&6
17811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17815 cross_compiling=$ac_cv_prog_cxx_cross
17817 cat > conftest.$ac_ext <<EOF
17818 #line 17819 "configure"
17819 #include "confdefs.h"
17825 if { (eval echo configure:17826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17827 glibcpp_cv_func__sincosl_use=yes
17829 echo "configure: failed program was:" >&5
17830 cat conftest.$ac_ext >&5
17832 glibcpp_cv_func__sincosl_use=no
17836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17837 ac_cpp='$CPP $CPPFLAGS'
17838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17840 cross_compiling=$ac_cv_prog_cc_cross
17846 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17848 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17849 for ac_func in _sincosl
17851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17852 echo "configure:17853: checking for $ac_func" >&5
17853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17854 echo $ac_n "(cached) $ac_c" 1>&6
17856 cat > conftest.$ac_ext <<EOF
17857 #line 17858 "configure"
17858 #include "confdefs.h"
17859 /* System header to define __stub macros and hopefully few prototypes,
17860 which can conflict with char $ac_func(); below. */
17861 #include <assert.h>
17862 /* Override any gcc2 internal prototype to avoid an error. */
17863 /* We use char because int might match the return type of a gcc2
17864 builtin and then its argument prototype would still apply. */
17869 /* The GNU C library defines this for functions which it implements
17870 to always fail with ENOSYS. Some functions are actually named
17871 something starting with __ and the normal name is an alias. */
17872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17880 if { (eval echo configure:17881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17882 eval "ac_cv_func_$ac_func=yes"
17884 echo "configure: failed program was:" >&5
17885 cat conftest.$ac_ext >&5
17887 eval "ac_cv_func_$ac_func=no"
17892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17893 echo "$ac_t""yes" 1>&6
17894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17895 cat >> confdefs.h <<EOF
17896 #define $ac_tr_func 1
17900 echo "$ac_t""no" 1>&6
17909 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
17910 echo "configure:17911: checking for finitel declaration" >&5
17911 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
17912 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
17913 echo $ac_n "(cached) $ac_c" 1>&6
17918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17919 ac_cpp='$CXXCPP $CPPFLAGS'
17920 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17921 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17922 cross_compiling=$ac_cv_prog_cxx_cross
17924 cat > conftest.$ac_ext <<EOF
17925 #line 17926 "configure"
17926 #include "confdefs.h"
17928 #ifdef HAVE_IEEEFP_H
17929 #include <ieeefp.h>
17936 if { (eval echo configure:17937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17938 glibcpp_cv_func_finitel_use=yes
17940 echo "configure: failed program was:" >&5
17941 cat conftest.$ac_ext >&5
17943 glibcpp_cv_func_finitel_use=no
17947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17951 cross_compiling=$ac_cv_prog_cc_cross
17957 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17959 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17960 for ac_func in finitel
17962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17963 echo "configure:17964: checking for $ac_func" >&5
17964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17965 echo $ac_n "(cached) $ac_c" 1>&6
17967 cat > conftest.$ac_ext <<EOF
17968 #line 17969 "configure"
17969 #include "confdefs.h"
17970 /* System header to define __stub macros and hopefully few prototypes,
17971 which can conflict with char $ac_func(); below. */
17972 #include <assert.h>
17973 /* Override any gcc2 internal prototype to avoid an error. */
17974 /* We use char because int might match the return type of a gcc2
17975 builtin and then its argument prototype would still apply. */
17980 /* The GNU C library defines this for functions which it implements
17981 to always fail with ENOSYS. Some functions are actually named
17982 something starting with __ and the normal name is an alias. */
17983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17991 if { (eval echo configure:17992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17993 eval "ac_cv_func_$ac_func=yes"
17995 echo "configure: failed program was:" >&5
17996 cat conftest.$ac_ext >&5
17998 eval "ac_cv_func_$ac_func=no"
18003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18004 echo "$ac_t""yes" 1>&6
18005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18006 cat >> confdefs.h <<EOF
18007 #define $ac_tr_func 1
18011 echo "$ac_t""no" 1>&6
18017 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
18018 echo "configure:18019: checking for _finitel declaration" >&5
18019 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18020 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18021 echo $ac_n "(cached) $ac_c" 1>&6
18026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18027 ac_cpp='$CXXCPP $CPPFLAGS'
18028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18030 cross_compiling=$ac_cv_prog_cxx_cross
18032 cat > conftest.$ac_ext <<EOF
18033 #line 18034 "configure"
18034 #include "confdefs.h"
18036 #ifdef HAVE_IEEEFP_H
18037 #include <ieeefp.h>
18044 if { (eval echo configure:18045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18046 glibcpp_cv_func__finitel_use=yes
18048 echo "configure: failed program was:" >&5
18049 cat conftest.$ac_ext >&5
18051 glibcpp_cv_func__finitel_use=no
18055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18056 ac_cpp='$CPP $CPPFLAGS'
18057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18059 cross_compiling=$ac_cv_prog_cc_cross
18065 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18067 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18068 for ac_func in _finitel
18070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18071 echo "configure:18072: checking for $ac_func" >&5
18072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18073 echo $ac_n "(cached) $ac_c" 1>&6
18075 cat > conftest.$ac_ext <<EOF
18076 #line 18077 "configure"
18077 #include "confdefs.h"
18078 /* System header to define __stub macros and hopefully few prototypes,
18079 which can conflict with char $ac_func(); below. */
18080 #include <assert.h>
18081 /* Override any gcc2 internal prototype to avoid an error. */
18082 /* We use char because int might match the return type of a gcc2
18083 builtin and then its argument prototype would still apply. */
18088 /* The GNU C library defines this for functions which it implements
18089 to always fail with ENOSYS. Some functions are actually named
18090 something starting with __ and the normal name is an alias. */
18091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18099 if { (eval echo configure:18100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18101 eval "ac_cv_func_$ac_func=yes"
18103 echo "configure: failed program was:" >&5
18104 cat conftest.$ac_ext >&5
18106 eval "ac_cv_func_$ac_func=no"
18111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18112 echo "$ac_t""yes" 1>&6
18113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18114 cat >> confdefs.h <<EOF
18115 #define $ac_tr_func 1
18119 echo "$ac_t""no" 1>&6
18129 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
18130 echo "configure:18131: checking for _float trig functions" >&5
18131 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
18132 echo $ac_n "(cached) $ac_c" 1>&6
18137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18138 ac_cpp='$CXXCPP $CPPFLAGS'
18139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18141 cross_compiling=$ac_cv_prog_cxx_cross
18143 cat > conftest.$ac_ext <<EOF
18144 #line 18145 "configure"
18145 #include "confdefs.h"
18148 `for x in _acosf _asinf _atanf \
18149 _cosf _sinf _tanf \
18150 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
18153 if { (eval echo configure:18154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18155 glibcpp_cv_func__float_trig_use=yes
18157 echo "configure: failed program was:" >&5
18158 cat conftest.$ac_ext >&5
18160 glibcpp_cv_func__float_trig_use=no
18164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18165 ac_cpp='$CPP $CPPFLAGS'
18166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18168 cross_compiling=$ac_cv_prog_cc_cross
18172 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
18173 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
18174 for ac_func in _acosf _asinf _atanf \
18175 _cosf _sinf _tanf \
18176 _coshf _sinhf _tanhf
18178 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18179 echo "configure:18180: checking for $ac_func" >&5
18180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18181 echo $ac_n "(cached) $ac_c" 1>&6
18183 cat > conftest.$ac_ext <<EOF
18184 #line 18185 "configure"
18185 #include "confdefs.h"
18186 /* System header to define __stub macros and hopefully few prototypes,
18187 which can conflict with char $ac_func(); below. */
18188 #include <assert.h>
18189 /* Override any gcc2 internal prototype to avoid an error. */
18190 /* We use char because int might match the return type of a gcc2
18191 builtin and then its argument prototype would still apply. */
18196 /* The GNU C library defines this for functions which it implements
18197 to always fail with ENOSYS. Some functions are actually named
18198 something starting with __ and the normal name is an alias. */
18199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18207 if { (eval echo configure:18208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18209 eval "ac_cv_func_$ac_func=yes"
18211 echo "configure: failed program was:" >&5
18212 cat conftest.$ac_ext >&5
18214 eval "ac_cv_func_$ac_func=no"
18219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18220 echo "$ac_t""yes" 1>&6
18221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18222 cat >> confdefs.h <<EOF
18223 #define $ac_tr_func 1
18227 echo "$ac_t""no" 1>&6
18234 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
18235 echo "configure:18236: checking for _float round functions" >&5
18236 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
18237 echo $ac_n "(cached) $ac_c" 1>&6
18242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18243 ac_cpp='$CXXCPP $CPPFLAGS'
18244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18246 cross_compiling=$ac_cv_prog_cxx_cross
18248 cat > conftest.$ac_ext <<EOF
18249 #line 18250 "configure"
18250 #include "confdefs.h"
18253 `for x in _ceilf _floorf; do echo "$x (0);"; done`
18256 if { (eval echo configure:18257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18258 glibcpp_cv_func__float_round_use=yes
18260 echo "configure: failed program was:" >&5
18261 cat conftest.$ac_ext >&5
18263 glibcpp_cv_func__float_round_use=no
18267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18268 ac_cpp='$CPP $CPPFLAGS'
18269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18271 cross_compiling=$ac_cv_prog_cc_cross
18275 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
18276 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
18277 for ac_func in _ceilf _floorf
18279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18280 echo "configure:18281: checking for $ac_func" >&5
18281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18282 echo $ac_n "(cached) $ac_c" 1>&6
18284 cat > conftest.$ac_ext <<EOF
18285 #line 18286 "configure"
18286 #include "confdefs.h"
18287 /* System header to define __stub macros and hopefully few prototypes,
18288 which can conflict with char $ac_func(); below. */
18289 #include <assert.h>
18290 /* Override any gcc2 internal prototype to avoid an error. */
18291 /* We use char because int might match the return type of a gcc2
18292 builtin and then its argument prototype would still apply. */
18297 /* The GNU C library defines this for functions which it implements
18298 to always fail with ENOSYS. Some functions are actually named
18299 something starting with __ and the normal name is an alias. */
18300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18308 if { (eval echo configure:18309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18310 eval "ac_cv_func_$ac_func=yes"
18312 echo "configure: failed program was:" >&5
18313 cat conftest.$ac_ext >&5
18315 eval "ac_cv_func_$ac_func=no"
18320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18321 echo "$ac_t""yes" 1>&6
18322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18323 cat >> confdefs.h <<EOF
18324 #define $ac_tr_func 1
18328 echo "$ac_t""no" 1>&6
18336 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
18337 echo "configure:18338: checking for _long double trig functions" >&5
18338 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
18339 echo $ac_n "(cached) $ac_c" 1>&6
18344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18345 ac_cpp='$CXXCPP $CPPFLAGS'
18346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18348 cross_compiling=$ac_cv_prog_cxx_cross
18350 cat > conftest.$ac_ext <<EOF
18351 #line 18352 "configure"
18352 #include "confdefs.h"
18355 `for x in _acosl _asinl _atanl \
18356 _cosl _sinl _tanl \
18357 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
18360 if { (eval echo configure:18361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18362 glibcpp_cv_func__long_double_trig_use=yes
18364 echo "configure: failed program was:" >&5
18365 cat conftest.$ac_ext >&5
18367 glibcpp_cv_func__long_double_trig_use=no
18371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18372 ac_cpp='$CPP $CPPFLAGS'
18373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18375 cross_compiling=$ac_cv_prog_cc_cross
18379 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
18380 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
18381 for ac_func in _acosl _asinl _atanl \
18382 _cosl _sinl _tanl \
18383 _coshl _sinhl _tanhl
18385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18386 echo "configure:18387: checking for $ac_func" >&5
18387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18388 echo $ac_n "(cached) $ac_c" 1>&6
18390 cat > conftest.$ac_ext <<EOF
18391 #line 18392 "configure"
18392 #include "confdefs.h"
18393 /* System header to define __stub macros and hopefully few prototypes,
18394 which can conflict with char $ac_func(); below. */
18395 #include <assert.h>
18396 /* Override any gcc2 internal prototype to avoid an error. */
18397 /* We use char because int might match the return type of a gcc2
18398 builtin and then its argument prototype would still apply. */
18403 /* The GNU C library defines this for functions which it implements
18404 to always fail with ENOSYS. Some functions are actually named
18405 something starting with __ and the normal name is an alias. */
18406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18414 if { (eval echo configure:18415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18416 eval "ac_cv_func_$ac_func=yes"
18418 echo "configure: failed program was:" >&5
18419 cat conftest.$ac_ext >&5
18421 eval "ac_cv_func_$ac_func=no"
18426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18427 echo "$ac_t""yes" 1>&6
18428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18429 cat >> confdefs.h <<EOF
18430 #define $ac_tr_func 1
18434 echo "$ac_t""no" 1>&6
18441 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
18442 echo "configure:18443: checking for _long double round functions" >&5
18443 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
18444 echo $ac_n "(cached) $ac_c" 1>&6
18449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18450 ac_cpp='$CXXCPP $CPPFLAGS'
18451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18453 cross_compiling=$ac_cv_prog_cxx_cross
18455 cat > conftest.$ac_ext <<EOF
18456 #line 18457 "configure"
18457 #include "confdefs.h"
18460 `for x in _ceill _floorl; do echo "$x (0);"; done`
18463 if { (eval echo configure:18464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18465 glibcpp_cv_func__long_double_round_use=yes
18467 echo "configure: failed program was:" >&5
18468 cat conftest.$ac_ext >&5
18470 glibcpp_cv_func__long_double_round_use=no
18474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18475 ac_cpp='$CPP $CPPFLAGS'
18476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18478 cross_compiling=$ac_cv_prog_cc_cross
18482 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
18483 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
18484 for ac_func in _ceill _floorl
18486 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18487 echo "configure:18488: checking for $ac_func" >&5
18488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18489 echo $ac_n "(cached) $ac_c" 1>&6
18491 cat > conftest.$ac_ext <<EOF
18492 #line 18493 "configure"
18493 #include "confdefs.h"
18494 /* System header to define __stub macros and hopefully few prototypes,
18495 which can conflict with char $ac_func(); below. */
18496 #include <assert.h>
18497 /* Override any gcc2 internal prototype to avoid an error. */
18498 /* We use char because int might match the return type of a gcc2
18499 builtin and then its argument prototype would still apply. */
18504 /* The GNU C library defines this for functions which it implements
18505 to always fail with ENOSYS. Some functions are actually named
18506 something starting with __ and the normal name is an alias. */
18507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18515 if { (eval echo configure:18516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18517 eval "ac_cv_func_$ac_func=yes"
18519 echo "configure: failed program was:" >&5
18520 cat conftest.$ac_ext >&5
18522 eval "ac_cv_func_$ac_func=no"
18527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18528 echo "$ac_t""yes" 1>&6
18529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18530 cat >> confdefs.h <<EOF
18531 #define $ac_tr_func 1
18535 echo "$ac_t""no" 1>&6
18542 LIBS="$ac_save_LIBS"
18543 CXXFLAGS="$ac_save_CXXFLAGS"
18546 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
18547 echo "configure:18548: checking for main in -lm" >&5
18548 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
18549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18550 echo $ac_n "(cached) $ac_c" 1>&6
18552 ac_save_LIBS="$LIBS"
18554 cat > conftest.$ac_ext <<EOF
18555 #line 18556 "configure"
18556 #include "confdefs.h"
18562 if { (eval echo configure:18563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18564 eval "ac_cv_lib_$ac_lib_var=yes"
18566 echo "configure: failed program was:" >&5
18567 cat conftest.$ac_ext >&5
18569 eval "ac_cv_lib_$ac_lib_var=no"
18572 LIBS="$ac_save_LIBS"
18575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18576 echo "$ac_t""yes" 1>&6
18577 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
18578 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
18579 cat >> confdefs.h <<EOF
18580 #define $ac_tr_lib 1
18586 echo "$ac_t""no" 1>&6
18589 for ac_func in nan copysignf
18591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18592 echo "configure:18593: checking for $ac_func" >&5
18593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18594 echo $ac_n "(cached) $ac_c" 1>&6
18596 cat > conftest.$ac_ext <<EOF
18597 #line 18598 "configure"
18598 #include "confdefs.h"
18599 /* System header to define __stub macros and hopefully few prototypes,
18600 which can conflict with char $ac_func(); below. */
18601 #include <assert.h>
18602 /* Override any gcc2 internal prototype to avoid an error. */
18603 /* We use char because int might match the return type of a gcc2
18604 builtin and then its argument prototype would still apply. */
18609 /* The GNU C library defines this for functions which it implements
18610 to always fail with ENOSYS. Some functions are actually named
18611 something starting with __ and the normal name is an alias. */
18612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18620 if { (eval echo configure:18621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18622 eval "ac_cv_func_$ac_func=yes"
18624 echo "configure: failed program was:" >&5
18625 cat conftest.$ac_ext >&5
18627 eval "ac_cv_func_$ac_func=no"
18632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18633 echo "$ac_t""yes" 1>&6
18634 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18635 cat >> confdefs.h <<EOF
18636 #define $ac_tr_func 1
18640 echo "$ac_t""no" 1>&6
18641 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
18647 USE_COMPLEX_LONG_DOUBLE=no
18648 if test x$ac_cv_func_copysignl = x"yes"; then
18649 USE_COMPLEX_LONG_DOUBLE=yes
18650 for ac_func in signbitl
18652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18653 echo "configure:18654: checking for $ac_func" >&5
18654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18655 echo $ac_n "(cached) $ac_c" 1>&6
18657 cat > conftest.$ac_ext <<EOF
18658 #line 18659 "configure"
18659 #include "confdefs.h"
18660 /* System header to define __stub macros and hopefully few prototypes,
18661 which can conflict with char $ac_func(); below. */
18662 #include <assert.h>
18663 /* Override any gcc2 internal prototype to avoid an error. */
18664 /* We use char because int might match the return type of a gcc2
18665 builtin and then its argument prototype would still apply. */
18670 /* The GNU C library defines this for functions which it implements
18671 to always fail with ENOSYS. Some functions are actually named
18672 something starting with __ and the normal name is an alias. */
18673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18681 if { (eval echo configure:18682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18683 eval "ac_cv_func_$ac_func=yes"
18685 echo "configure: failed program was:" >&5
18686 cat conftest.$ac_ext >&5
18688 eval "ac_cv_func_$ac_func=no"
18693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18694 echo "$ac_t""yes" 1>&6
18695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18696 cat >> confdefs.h <<EOF
18697 #define $ac_tr_func 1
18701 echo "$ac_t""no" 1>&6
18702 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
18713 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
18714 echo "configure:18715: checking for mbstate_t" >&5
18715 cat > conftest.$ac_ext <<EOF
18716 #line 18717 "configure"
18717 #include "confdefs.h"
18720 mbstate_t teststate;
18723 if { (eval echo configure:18724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18727 echo "configure: failed program was:" >&5
18728 cat conftest.$ac_ext >&5
18733 echo "$ac_t""$have_mbstate_t" 1>&6
18734 if test x"$have_mbstate_t" = xyes; then
18735 cat >> confdefs.h <<\EOF
18736 #define HAVE_MBSTATE_T 1
18741 for ac_hdr in wchar.h
18743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18745 echo "configure:18746: checking for $ac_hdr" >&5
18746 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18747 echo $ac_n "(cached) $ac_c" 1>&6
18749 cat > conftest.$ac_ext <<EOF
18750 #line 18751 "configure"
18751 #include "confdefs.h"
18754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18755 { (eval echo configure:18756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18757 if test -z "$ac_err"; then
18759 eval "ac_cv_header_$ac_safe=yes"
18762 echo "configure: failed program was:" >&5
18763 cat conftest.$ac_ext >&5
18765 eval "ac_cv_header_$ac_safe=no"
18769 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18770 echo "$ac_t""yes" 1>&6
18771 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18772 cat >> confdefs.h <<EOF
18773 #define $ac_tr_hdr 1
18777 echo "$ac_t""no" 1>&6
18782 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
18783 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
18784 echo "configure:18785: checking for wctype.h" >&5
18785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18786 echo $ac_n "(cached) $ac_c" 1>&6
18788 cat > conftest.$ac_ext <<EOF
18789 #line 18790 "configure"
18790 #include "confdefs.h"
18791 #include <wctype.h>
18793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18794 { (eval echo configure:18795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18796 if test -z "$ac_err"; then
18798 eval "ac_cv_header_$ac_safe=yes"
18801 echo "configure: failed program was:" >&5
18802 cat conftest.$ac_ext >&5
18804 eval "ac_cv_header_$ac_safe=no"
18808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18809 echo "$ac_t""yes" 1>&6
18810 ac_has_wctype_h=yes
18812 echo "$ac_t""no" 1>&6
18817 if test x"$ac_has_wchar_h" = xyes &&
18818 test x"$ac_has_wctype_h" = xyes &&
18819 test x"$enable_c_mbchar" != xno; then
18821 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
18822 echo "configure:18823: checking for WCHAR_MIN and WCHAR_MAX" >&5
18823 cat > conftest.$ac_ext <<EOF
18824 #line 18825 "configure"
18825 #include "confdefs.h"
18828 int i = WCHAR_MIN; int j = WCHAR_MAX;
18831 if { (eval echo configure:18832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18833 has_wchar_minmax=yes
18835 echo "configure: failed program was:" >&5
18836 cat conftest.$ac_ext >&5
18838 has_wchar_minmax=no
18841 echo "$ac_t""$has_wchar_minmax" 1>&6
18843 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
18844 echo "configure:18845: checking for WEOF" >&5
18845 cat > conftest.$ac_ext <<EOF
18846 #line 18847 "configure"
18847 #include "confdefs.h"
18850 #include <stddef.h>
18855 if { (eval echo configure:18856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18859 echo "configure: failed program was:" >&5
18860 cat conftest.$ac_ext >&5
18865 echo "$ac_t""$has_weof" 1>&6
18868 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
18870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18871 echo "configure:18872: checking for $ac_func" >&5
18872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18873 echo $ac_n "(cached) $ac_c" 1>&6
18875 cat > conftest.$ac_ext <<EOF
18876 #line 18877 "configure"
18877 #include "confdefs.h"
18878 /* System header to define __stub macros and hopefully few prototypes,
18879 which can conflict with char $ac_func(); below. */
18880 #include <assert.h>
18881 /* Override any gcc2 internal prototype to avoid an error. */
18882 /* We use char because int might match the return type of a gcc2
18883 builtin and then its argument prototype would still apply. */
18888 /* The GNU C library defines this for functions which it implements
18889 to always fail with ENOSYS. Some functions are actually named
18890 something starting with __ and the normal name is an alias. */
18891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18899 if { (eval echo configure:18900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18901 eval "ac_cv_func_$ac_func=yes"
18903 echo "configure: failed program was:" >&5
18904 cat conftest.$ac_ext >&5
18906 eval "ac_cv_func_$ac_func=no"
18911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18912 echo "$ac_t""yes" 1>&6
18913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18914 cat >> confdefs.h <<EOF
18915 #define $ac_tr_func 1
18919 echo "$ac_t""no" 1>&6
18926 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
18927 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18928 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18929 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18930 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18931 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18934 echo "configure:18935: checking for $ac_func" >&5
18935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18936 echo $ac_n "(cached) $ac_c" 1>&6
18938 cat > conftest.$ac_ext <<EOF
18939 #line 18940 "configure"
18940 #include "confdefs.h"
18941 /* System header to define __stub macros and hopefully few prototypes,
18942 which can conflict with char $ac_func(); below. */
18943 #include <assert.h>
18944 /* Override any gcc2 internal prototype to avoid an error. */
18945 /* We use char because int might match the return type of a gcc2
18946 builtin and then its argument prototype would still apply. */
18951 /* The GNU C library defines this for functions which it implements
18952 to always fail with ENOSYS. Some functions are actually named
18953 something starting with __ and the normal name is an alias. */
18954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18962 if { (eval echo configure:18963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18964 eval "ac_cv_func_$ac_func=yes"
18966 echo "configure: failed program was:" >&5
18967 cat conftest.$ac_ext >&5
18969 eval "ac_cv_func_$ac_func=no"
18974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18975 echo "$ac_t""yes" 1>&6
18976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18977 cat >> confdefs.h <<EOF
18978 #define $ac_tr_func 1
18982 echo "$ac_t""no" 1>&6
18989 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
18990 echo "configure:18991: checking for ISO C99 wchar_t support" >&5
18991 if test x"$has_weof" = xyes &&
18992 test x"$has_wchar_minmax" = xyes &&
18993 test x"$ac_wfuncs" = xyes; then
18994 ac_isoC99_wchar_t=yes
18996 ac_isoC99_wchar_t=no
18998 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
19000 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
19001 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
19002 echo "configure:19003: checking for iconv.h" >&5
19003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19004 echo $ac_n "(cached) $ac_c" 1>&6
19006 cat > conftest.$ac_ext <<EOF
19007 #line 19008 "configure"
19008 #include "confdefs.h"
19011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19012 { (eval echo configure:19013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19014 if test -z "$ac_err"; then
19016 eval "ac_cv_header_$ac_safe=yes"
19019 echo "configure: failed program was:" >&5
19020 cat conftest.$ac_ext >&5
19022 eval "ac_cv_header_$ac_safe=no"
19026 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19027 echo "$ac_t""yes" 1>&6
19030 echo "$ac_t""no" 1>&6
19034 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
19035 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
19036 echo "configure:19037: checking for langinfo.h" >&5
19037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19038 echo $ac_n "(cached) $ac_c" 1>&6
19040 cat > conftest.$ac_ext <<EOF
19041 #line 19042 "configure"
19042 #include "confdefs.h"
19043 #include <langinfo.h>
19045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19046 { (eval echo configure:19047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19048 if test -z "$ac_err"; then
19050 eval "ac_cv_header_$ac_safe=yes"
19053 echo "configure: failed program was:" >&5
19054 cat conftest.$ac_ext >&5
19056 eval "ac_cv_header_$ac_safe=no"
19060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19061 echo "$ac_t""yes" 1>&6
19062 ac_has_langinfo_h=yes
19064 echo "$ac_t""no" 1>&6
19065 ac_has_langinfo_h=no
19069 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
19070 echo "configure:19071: checking for iconv in -liconv" >&5
19071 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
19072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19073 echo $ac_n "(cached) $ac_c" 1>&6
19075 ac_save_LIBS="$LIBS"
19076 LIBS="-liconv $LIBS"
19077 cat > conftest.$ac_ext <<EOF
19078 #line 19079 "configure"
19079 #include "confdefs.h"
19080 /* Override any gcc2 internal prototype to avoid an error. */
19081 /* We use char because int might match the return type of a gcc2
19082 builtin and then its argument prototype would still apply. */
19089 if { (eval echo configure:19090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19091 eval "ac_cv_lib_$ac_lib_var=yes"
19093 echo "configure: failed program was:" >&5
19094 cat conftest.$ac_ext >&5
19096 eval "ac_cv_lib_$ac_lib_var=no"
19099 LIBS="$ac_save_LIBS"
19102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19103 echo "$ac_t""yes" 1>&6
19106 echo "$ac_t""no" 1>&6
19109 ac_save_LIBS="$LIBS"
19110 LIBS="$LIBS $libiconv"
19112 for ac_func in iconv_open iconv_close iconv nl_langinfo
19114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19115 echo "configure:19116: checking for $ac_func" >&5
19116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19117 echo $ac_n "(cached) $ac_c" 1>&6
19119 cat > conftest.$ac_ext <<EOF
19120 #line 19121 "configure"
19121 #include "confdefs.h"
19122 /* System header to define __stub macros and hopefully few prototypes,
19123 which can conflict with char $ac_func(); below. */
19124 #include <assert.h>
19125 /* Override any gcc2 internal prototype to avoid an error. */
19126 /* We use char because int might match the return type of a gcc2
19127 builtin and then its argument prototype would still apply. */
19132 /* The GNU C library defines this for functions which it implements
19133 to always fail with ENOSYS. Some functions are actually named
19134 something starting with __ and the normal name is an alias. */
19135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19143 if { (eval echo configure:19144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19145 eval "ac_cv_func_$ac_func=yes"
19147 echo "configure: failed program was:" >&5
19148 cat conftest.$ac_ext >&5
19150 eval "ac_cv_func_$ac_func=no"
19155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19156 echo "$ac_t""yes" 1>&6
19157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19158 cat >> confdefs.h <<EOF
19159 #define $ac_tr_func 1
19164 echo "$ac_t""no" 1>&6
19170 LIBS="$ac_save_LIBS"
19172 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
19173 echo "configure:19174: checking for XPG2 wchar_t support" >&5
19174 if test x"$ac_has_iconv_h" = xyes &&
19175 test x"$ac_has_langinfo_h" = xyes &&
19176 test x"$ac_XPG2funcs" = xyes; then
19177 ac_XPG2_wchar_t=yes
19181 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
19183 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
19184 echo "configure:19185: checking for enabled wchar_t specializations" >&5
19185 if test x"$ac_isoC99_wchar_t" = xyes &&
19186 test x"$ac_XPG2_wchar_t" = xyes; then
19187 cat >> confdefs.h <<\EOF
19188 #define _GLIBCPP_USE_WCHAR_T 1
19191 echo "$ac_t"""yes"" 1>&6
19193 echo "$ac_t"""no"" 1>&6
19196 echo "configure: warning: wchar_t support disabled." 1>&2
19200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19201 ac_save_CXXFLAGS="$CXXFLAGS"
19202 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
19205 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
19206 echo "configure:19207: checking for strtold declaration" >&5
19207 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
19208 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
19209 echo $ac_n "(cached) $ac_c" 1>&6
19214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19215 ac_cpp='$CXXCPP $CPPFLAGS'
19216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19218 cross_compiling=$ac_cv_prog_cxx_cross
19220 cat > conftest.$ac_ext <<EOF
19221 #line 19222 "configure"
19222 #include "confdefs.h"
19223 #include <stdlib.h>
19228 if { (eval echo configure:19229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19230 glibcpp_cv_func_strtold_use=yes
19232 echo "configure: failed program was:" >&5
19233 cat conftest.$ac_ext >&5
19235 glibcpp_cv_func_strtold_use=no
19239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19240 ac_cpp='$CPP $CPPFLAGS'
19241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19243 cross_compiling=$ac_cv_prog_cc_cross
19249 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
19250 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
19251 for ac_func in strtold
19253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19254 echo "configure:19255: checking for $ac_func" >&5
19255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19256 echo $ac_n "(cached) $ac_c" 1>&6
19258 cat > conftest.$ac_ext <<EOF
19259 #line 19260 "configure"
19260 #include "confdefs.h"
19261 /* System header to define __stub macros and hopefully few prototypes,
19262 which can conflict with char $ac_func(); below. */
19263 #include <assert.h>
19264 /* Override any gcc2 internal prototype to avoid an error. */
19265 /* We use char because int might match the return type of a gcc2
19266 builtin and then its argument prototype would still apply. */
19271 /* The GNU C library defines this for functions which it implements
19272 to always fail with ENOSYS. Some functions are actually named
19273 something starting with __ and the normal name is an alias. */
19274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19282 if { (eval echo configure:19283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19284 eval "ac_cv_func_$ac_func=yes"
19286 echo "configure: failed program was:" >&5
19287 cat conftest.$ac_ext >&5
19289 eval "ac_cv_func_$ac_func=no"
19294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19295 echo "$ac_t""yes" 1>&6
19296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19297 cat >> confdefs.h <<EOF
19298 #define $ac_tr_func 1
19302 echo "$ac_t""no" 1>&6
19309 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
19310 echo "configure:19311: checking for strtof declaration" >&5
19311 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
19312 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
19313 echo $ac_n "(cached) $ac_c" 1>&6
19318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19322 cross_compiling=$ac_cv_prog_cxx_cross
19324 cat > conftest.$ac_ext <<EOF
19325 #line 19326 "configure"
19326 #include "confdefs.h"
19327 #include <stdlib.h>
19332 if { (eval echo configure:19333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19334 glibcpp_cv_func_strtof_use=yes
19336 echo "configure: failed program was:" >&5
19337 cat conftest.$ac_ext >&5
19339 glibcpp_cv_func_strtof_use=no
19343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19344 ac_cpp='$CPP $CPPFLAGS'
19345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19347 cross_compiling=$ac_cv_prog_cc_cross
19353 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
19354 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
19355 for ac_func in strtof
19357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19358 echo "configure:19359: checking for $ac_func" >&5
19359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19360 echo $ac_n "(cached) $ac_c" 1>&6
19362 cat > conftest.$ac_ext <<EOF
19363 #line 19364 "configure"
19364 #include "confdefs.h"
19365 /* System header to define __stub macros and hopefully few prototypes,
19366 which can conflict with char $ac_func(); below. */
19367 #include <assert.h>
19368 /* Override any gcc2 internal prototype to avoid an error. */
19369 /* We use char because int might match the return type of a gcc2
19370 builtin and then its argument prototype would still apply. */
19375 /* The GNU C library defines this for functions which it implements
19376 to always fail with ENOSYS. Some functions are actually named
19377 something starting with __ and the normal name is an alias. */
19378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19386 if { (eval echo configure:19387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19388 eval "ac_cv_func_$ac_func=yes"
19390 echo "configure: failed program was:" >&5
19391 cat conftest.$ac_ext >&5
19393 eval "ac_cv_func_$ac_func=no"
19398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19399 echo "$ac_t""yes" 1>&6
19400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19401 cat >> confdefs.h <<EOF
19402 #define $ac_tr_func 1
19406 echo "$ac_t""no" 1>&6
19412 for ac_func in drand48
19414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19415 echo "configure:19416: checking for $ac_func" >&5
19416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19417 echo $ac_n "(cached) $ac_c" 1>&6
19419 cat > conftest.$ac_ext <<EOF
19420 #line 19421 "configure"
19421 #include "confdefs.h"
19422 /* System header to define __stub macros and hopefully few prototypes,
19423 which can conflict with char $ac_func(); below. */
19424 #include <assert.h>
19425 /* Override any gcc2 internal prototype to avoid an error. */
19426 /* We use char because int might match the return type of a gcc2
19427 builtin and then its argument prototype would still apply. */
19432 /* The GNU C library defines this for functions which it implements
19433 to always fail with ENOSYS. Some functions are actually named
19434 something starting with __ and the normal name is an alias. */
19435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19443 if { (eval echo configure:19444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19445 eval "ac_cv_func_$ac_func=yes"
19447 echo "configure: failed program was:" >&5
19448 cat conftest.$ac_ext >&5
19450 eval "ac_cv_func_$ac_func=no"
19455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19456 echo "$ac_t""yes" 1>&6
19457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19458 cat >> confdefs.h <<EOF
19459 #define $ac_tr_func 1
19463 echo "$ac_t""no" 1>&6
19468 CXXFLAGS="$ac_save_CXXFLAGS"
19471 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
19472 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
19473 echo "configure:19474: checking for locale.h" >&5
19474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19475 echo $ac_n "(cached) $ac_c" 1>&6
19477 cat > conftest.$ac_ext <<EOF
19478 #line 19479 "configure"
19479 #include "confdefs.h"
19480 #include <locale.h>
19482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19483 { (eval echo configure:19484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19485 if test -z "$ac_err"; then
19487 eval "ac_cv_header_$ac_safe=yes"
19490 echo "configure: failed program was:" >&5
19491 cat conftest.$ac_ext >&5
19493 eval "ac_cv_header_$ac_safe=no"
19497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19498 echo "$ac_t""yes" 1>&6
19500 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
19501 echo "configure:19502: checking for LC_MESSAGES" >&5
19502 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
19503 echo $ac_n "(cached) $ac_c" 1>&6
19505 cat > conftest.$ac_ext <<EOF
19506 #line 19507 "configure"
19507 #include "confdefs.h"
19508 #include <locale.h>
19513 if { (eval echo configure:19514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19515 ac_cv_val_LC_MESSAGES=yes
19517 echo "configure: failed program was:" >&5
19518 cat conftest.$ac_ext >&5
19520 ac_cv_val_LC_MESSAGES=no
19525 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
19526 if test $ac_cv_val_LC_MESSAGES = yes; then
19527 cat >> confdefs.h <<\EOF
19528 #define HAVE_LC_MESSAGES 1
19534 echo "$ac_t""no" 1>&6
19539 cat > conftest.$ac_ext <<EOF
19540 #line 19541 "configure"
19541 #include "confdefs.h"
19543 #include <setjmp.h>
19546 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
19549 if { (eval echo configure:19550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19551 cat >> confdefs.h <<\EOF
19552 #define HAVE_SIGSETJMP 1
19557 echo "configure: failed program was:" >&5
19558 cat conftest.$ac_ext >&5
19562 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
19564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19566 echo "configure:19567: checking for $ac_hdr" >&5
19567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19568 echo $ac_n "(cached) $ac_c" 1>&6
19570 cat > conftest.$ac_ext <<EOF
19571 #line 19572 "configure"
19572 #include "confdefs.h"
19575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19576 { (eval echo configure:19577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19578 if test -z "$ac_err"; then
19580 eval "ac_cv_header_$ac_safe=yes"
19583 echo "configure: failed program was:" >&5
19584 cat conftest.$ac_ext >&5
19586 eval "ac_cv_header_$ac_safe=no"
19590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19591 echo "$ac_t""yes" 1>&6
19592 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19593 cat >> confdefs.h <<EOF
19594 #define $ac_tr_hdr 1
19598 echo "$ac_t""no" 1>&6
19602 for ac_func in getpagesize
19604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19605 echo "configure:19606: checking for $ac_func" >&5
19606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19607 echo $ac_n "(cached) $ac_c" 1>&6
19609 cat > conftest.$ac_ext <<EOF
19610 #line 19611 "configure"
19611 #include "confdefs.h"
19612 /* System header to define __stub macros and hopefully few prototypes,
19613 which can conflict with char $ac_func(); below. */
19614 #include <assert.h>
19615 /* Override any gcc2 internal prototype to avoid an error. */
19616 /* We use char because int might match the return type of a gcc2
19617 builtin and then its argument prototype would still apply. */
19622 /* The GNU C library defines this for functions which it implements
19623 to always fail with ENOSYS. Some functions are actually named
19624 something starting with __ and the normal name is an alias. */
19625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19633 if { (eval echo configure:19634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19635 eval "ac_cv_func_$ac_func=yes"
19637 echo "configure: failed program was:" >&5
19638 cat conftest.$ac_ext >&5
19640 eval "ac_cv_func_$ac_func=no"
19645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19646 echo "$ac_t""yes" 1>&6
19647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19648 cat >> confdefs.h <<EOF
19649 #define $ac_tr_func 1
19653 echo "$ac_t""no" 1>&6
19657 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
19658 echo "configure:19659: checking for working mmap" >&5
19659 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
19660 echo $ac_n "(cached) $ac_c" 1>&6
19662 if test "$cross_compiling" = yes; then
19663 ac_cv_func_mmap_fixed_mapped=no
19665 cat > conftest.$ac_ext <<EOF
19666 #line 19667 "configure"
19667 #include "confdefs.h"
19669 /* Thanks to Mike Haertel and Jim Avera for this test.
19670 Here is a matrix of mmap possibilities:
19671 mmap private not fixed
19672 mmap private fixed at somewhere currently unmapped
19673 mmap private fixed at somewhere already mapped
19674 mmap shared not fixed
19675 mmap shared fixed at somewhere currently unmapped
19676 mmap shared fixed at somewhere already mapped
19677 For private mappings, we should verify that changes cannot be read()
19678 back from the file, nor mmap's back from the file at a different
19679 address. (There have been systems where private was not correctly
19680 implemented like the infamous i386 svr4.0, and systems where the
19681 VM page cache was not coherent with the filesystem buffer cache
19682 like early versions of FreeBSD and possibly contemporary NetBSD.)
19683 For shared mappings, we should conversely verify that changes get
19684 propogated back to all the places they're supposed to be.
19686 Grep wants private fixed already mapped.
19687 The main things grep needs to know about mmap are:
19688 * does it exist and is it safe to write into the mmap'd area
19689 * how to use it (BSD variants) */
19690 #include <sys/types.h>
19692 #include <sys/mman.h>
19694 #if HAVE_SYS_TYPES_H
19695 # include <sys/types.h>
19699 # include <stdlib.h>
19702 #if HAVE_SYS_STAT_H
19703 # include <sys/stat.h>
19707 # include <unistd.h>
19710 /* This mess was copied from the GNU getpagesize.h. */
19711 #ifndef HAVE_GETPAGESIZE
19713 /* Assume that all systems that can run configure have sys/param.h. */
19714 # ifndef HAVE_SYS_PARAM_H
19715 # define HAVE_SYS_PARAM_H 1
19718 # ifdef _SC_PAGESIZE
19719 # define getpagesize() sysconf(_SC_PAGESIZE)
19720 # else /* no _SC_PAGESIZE */
19721 # ifdef HAVE_SYS_PARAM_H
19722 # include <sys/param.h>
19723 # ifdef EXEC_PAGESIZE
19724 # define getpagesize() EXEC_PAGESIZE
19725 # else /* no EXEC_PAGESIZE */
19727 # define getpagesize() NBPG * CLSIZE
19730 # endif /* no CLSIZE */
19731 # else /* no NBPG */
19733 # define getpagesize() NBPC
19734 # else /* no NBPC */
19736 # define getpagesize() PAGESIZE
19737 # endif /* PAGESIZE */
19738 # endif /* no NBPC */
19739 # endif /* no NBPG */
19740 # endif /* no EXEC_PAGESIZE */
19741 # else /* no HAVE_SYS_PARAM_H */
19742 # define getpagesize() 8192 /* punt totally */
19743 # endif /* no HAVE_SYS_PARAM_H */
19744 # endif /* no _SC_PAGESIZE */
19746 #endif /* no HAVE_GETPAGESIZE */
19749 extern "C" { void *malloc(unsigned); }
19757 char *data, *data2, *data3;
19761 pagesize = getpagesize();
19764 * First, make a file with some known garbage in it.
19766 data = malloc(pagesize);
19769 for (i = 0; i < pagesize; ++i)
19770 *(data + i) = rand();
19772 fd = creat("conftestmmap", 0600);
19775 if (write(fd, data, pagesize) != pagesize)
19780 * Next, try to mmap the file at a fixed address which
19781 * already has something else allocated at it. If we can,
19782 * also make sure that we see the same garbage.
19784 fd = open("conftestmmap", O_RDWR);
19787 data2 = malloc(2 * pagesize);
19790 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
19791 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
19792 MAP_PRIVATE | MAP_FIXED, fd, 0L))
19794 for (i = 0; i < pagesize; ++i)
19795 if (*(data + i) != *(data2 + i))
19799 * Finally, make sure that changes to the mapped area
19800 * do not percolate back to the file as seen by read().
19801 * (This is a bug on some variants of i386 svr4.0.)
19803 for (i = 0; i < pagesize; ++i)
19804 *(data2 + i) = *(data2 + i) + 1;
19805 data3 = malloc(pagesize);
19808 if (read(fd, data3, pagesize) != pagesize)
19810 for (i = 0; i < pagesize; ++i)
19811 if (*(data + i) != *(data3 + i))
19814 unlink("conftestmmap");
19819 if { (eval echo configure:19820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
19821 ac_cv_func_mmap_fixed_mapped=yes
19823 echo "configure: failed program was:" >&5
19824 cat conftest.$ac_ext >&5
19826 ac_cv_func_mmap_fixed_mapped=no
19833 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
19834 if test $ac_cv_func_mmap_fixed_mapped = yes; then
19835 cat >> confdefs.h <<\EOF
19836 #define HAVE_MMAP 1
19842 # Establish limits on memory usage during 'make check'
19845 setrlimit_have_headers=yes
19846 for ac_hdr in sys/resource.h unistd.h
19848 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19849 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19850 echo "configure:19851: checking for $ac_hdr" >&5
19851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19852 echo $ac_n "(cached) $ac_c" 1>&6
19854 cat > conftest.$ac_ext <<EOF
19855 #line 19856 "configure"
19856 #include "confdefs.h"
19859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19860 { (eval echo configure:19861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19862 if test -z "$ac_err"; then
19864 eval "ac_cv_header_$ac_safe=yes"
19867 echo "configure: failed program was:" >&5
19868 cat conftest.$ac_ext >&5
19870 eval "ac_cv_header_$ac_safe=no"
19874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19875 echo "$ac_t""yes" 1>&6
19876 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19877 cat >> confdefs.h <<EOF
19878 #define $ac_tr_hdr 1
19882 echo "$ac_t""no" 1>&6
19883 setrlimit_have_headers=no
19887 # If don't have the headers, then we can't run the tests now, and we
19888 # won't be seeing any of these during testsuite compilation.
19889 if test $setrlimit_have_headers = yes; then
19890 # Can't do these in a loop, else the resulting syntax is wrong.
19892 cat > conftest.$ac_ext <<EOF
19893 #line 19894 "configure"
19894 #include "confdefs.h"
19895 #include <sys/resource.h>
19896 #include <unistd.h>
19899 int f = RLIMIT_DATA ;
19902 if { (eval echo configure:19903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19906 echo "configure: failed program was:" >&5
19907 cat conftest.$ac_ext >&5
19912 cat >> confdefs.h <<EOF
19913 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
19918 cat > conftest.$ac_ext <<EOF
19919 #line 19920 "configure"
19920 #include "confdefs.h"
19921 #include <sys/resource.h>
19922 #include <unistd.h>
19925 int f = RLIMIT_RSS ;
19928 if { (eval echo configure:19929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19932 echo "configure: failed program was:" >&5
19933 cat conftest.$ac_ext >&5
19938 cat >> confdefs.h <<EOF
19939 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
19944 cat > conftest.$ac_ext <<EOF
19945 #line 19946 "configure"
19946 #include "confdefs.h"
19947 #include <sys/resource.h>
19948 #include <unistd.h>
19951 int f = RLIMIT_VMEM ;
19954 if { (eval echo configure:19955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19958 echo "configure: failed program was:" >&5
19959 cat conftest.$ac_ext >&5
19964 cat >> confdefs.h <<EOF
19965 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
19970 cat > conftest.$ac_ext <<EOF
19971 #line 19972 "configure"
19972 #include "confdefs.h"
19973 #include <sys/resource.h>
19974 #include <unistd.h>
19977 int f = RLIMIT_AS ;
19980 if { (eval echo configure:19981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19984 echo "configure: failed program was:" >&5
19985 cat conftest.$ac_ext >&5
19990 cat >> confdefs.h <<EOF
19991 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
19996 # Check for rlimit, setrlimit.
19997 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
19998 echo $ac_n "(cached) $ac_c" 1>&6
20001 cat > conftest.$ac_ext <<EOF
20002 #line 20003 "configure"
20003 #include "confdefs.h"
20004 #include <sys/resource.h>
20005 #include <unistd.h>
20008 struct rlimit r; setrlimit(0, &r);
20011 if { (eval echo configure:20012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20015 echo "configure: failed program was:" >&5
20016 cat conftest.$ac_ext >&5
20026 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
20027 echo "configure:20028: checking for testsuite memory limit support" >&5
20028 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
20030 cat >> confdefs.h <<\EOF
20031 #define _GLIBCPP_MEM_LIMITS 1
20037 echo "$ac_t""$ac_mem_limits" 1>&6
20040 # Look for setenv, so that extended locale tests can be performed.
20041 for ac_func in setenv
20043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20044 echo "configure:20045: checking for $ac_func" >&5
20045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20046 echo $ac_n "(cached) $ac_c" 1>&6
20048 cat > conftest.$ac_ext <<EOF
20049 #line 20050 "configure"
20050 #include "confdefs.h"
20051 /* System header to define __stub macros and hopefully few prototypes,
20052 which can conflict with char $ac_func(); below. */
20053 #include <assert.h>
20054 /* Override any gcc2 internal prototype to avoid an error. */
20055 /* We use char because int might match the return type of a gcc2
20056 builtin and then its argument prototype would still apply. */
20061 /* The GNU C library defines this for functions which it implements
20062 to always fail with ENOSYS. Some functions are actually named
20063 something starting with __ and the normal name is an alias. */
20064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20072 if { (eval echo configure:20073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20074 eval "ac_cv_func_$ac_func=yes"
20076 echo "configure: failed program was:" >&5
20077 cat conftest.$ac_ext >&5
20079 eval "ac_cv_func_$ac_func=no"
20084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20085 echo "$ac_t""yes" 1>&6
20086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20087 cat >> confdefs.h <<EOF
20088 #define $ac_tr_func 1
20092 echo "$ac_t""no" 1>&6
20099 # This depends on the possibly-skipped linker test above.
20100 # Check whether --enable-symvers or --disable-symvers was given.
20101 if test "${enable_symvers+set}" = set; then
20102 enableval="$enable_symvers"
20103 case "$enableval" in
20104 yes) enable_symvers=yes ;;
20105 no) enable_symvers=no ;;
20106 # other names here, just as sanity checks
20107 #gnu|sun|etcetera) enable_symvers=$enableval ;;
20108 gnu) enable_symvers=$enableval ;;
20109 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
20115 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
20116 # don't know enough about $LD to do tricks...
20117 if test $enable_shared = no || test x$LD = x ; then
20121 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
20122 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
20123 echo "configure:20124: checking for shared libgcc" >&5
20124 ac_save_CFLAGS="$CFLAGS"
20126 cat > conftest.$ac_ext <<EOF
20127 #line 20128 "configure"
20128 #include "confdefs.h"
20134 if { (eval echo configure:20135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20136 glibcpp_shared_libgcc=yes
20138 echo "configure: failed program was:" >&5
20139 cat conftest.$ac_ext >&5
20141 glibcpp_shared_libgcc=no
20144 CFLAGS="$ac_save_CFLAGS"
20145 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
20147 # For GNU ld, we need at least this version. It's 2.12 in the same format
20148 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
20149 glibcpp_min_gnu_ld_version=21200
20151 # Check to see if unspecified "yes" value can win, given results
20153 if test $enable_symvers = yes ; then
20154 if test $with_gnu_ld = yes &&
20155 test $glibcpp_shared_libgcc = yes ;
20157 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
20160 ac_test_CFLAGS="${CFLAGS+set}"
20161 ac_save_CFLAGS="$CFLAGS"
20162 CFLAGS='-shared -Wl,--version-script,conftest.map'
20165 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
20167 cat > conftest.$ac_ext <<EOF
20168 #line 20169 "configure"
20169 #include "confdefs.h"
20175 if { (eval echo configure:20176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20179 echo "configure: failed program was:" >&5
20180 cat conftest.$ac_ext >&5
20183 if test "$ac_test_CFLAGS" = set; then
20184 CFLAGS="$ac_save_CFLAGS"
20186 # this is the suspicious part
20192 # just fail for now
20197 case $enable_symvers in
20199 LINKER_MAP=config/linker-map.dummy
20202 LINKER_MAP=config/linker-map.gnu
20209 if test $enable_symvers != no; then
20210 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
20211 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
20213 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
20214 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
20216 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
20217 echo "configure:20218: checking versioning on shared library symbols" >&5
20218 echo "$ac_t""$enable_symvers" 1>&6
20221 # Propagate the target-specific source directories through the build chain.
20222 OS_INC_SRCDIR=$os_include_dir/bits
20223 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
20224 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
20229 # Set up cross-compile flags
20233 if test "$CANADIAN" = yes; then
20241 cat > confcache <<\EOF
20242 # This file is a shell script that caches the results of configure
20243 # tests run on this system so they can be shared between configure
20244 # scripts and configure runs. It is not useful on other systems.
20245 # If it contains results you don't want to keep, you may remove or edit it.
20247 # By default, configure uses ./config.cache as the cache file,
20248 # creating it if it does not exist already. You can give configure
20249 # the --cache-file=FILE option to use a different cache file; that is
20250 # what configure does when it calls configure scripts in
20251 # subdirectories, so they share the cache.
20252 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20253 # config.status only pays attention to the cache file if you give it the
20254 # --recheck option to rerun configure.
20257 # The following way of writing the cache mishandles newlines in values,
20258 # but we know of no workaround that is simple, portable, and efficient.
20259 # So, don't put newlines in cache variables' values.
20260 # Ultrix sh set writes to stderr and can't be redirected directly,
20261 # and sets the high bit in the cache file unless we assign to the vars.
20263 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20265 # `set' does not quote correctly, so add quotes (double-quote substitution
20266 # turns \\\\ into \\, and sed turns \\ into \).
20268 -e "s/'/'\\\\''/g" \
20269 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20272 # `set' quotes correctly as required by POSIX, so do not add quotes.
20273 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20276 if cmp -s $cache_file confcache; then
20279 if test -w $cache_file; then
20280 echo "updating cache $cache_file"
20281 cat confcache > $cache_file
20283 echo "not updating unwritable cache $cache_file"
20289 if test "${multilib}" = "yes"; then
20290 multilib_arg="--enable-multilib"
20295 # Needed so that g++ can find the correct include subdir automatically.
20298 # Export all the install information
20300 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
20301 # exported correctly in GLIBCPP_CONFIGURE.
20302 glibcpp_toolexecdir=no
20303 glibcpp_toolexeclibdir=no
20304 glibcpp_prefixdir=${prefix}
20306 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
20307 echo "configure:20308: checking for interface version number" >&5
20308 libstdcxx_interface=$INTERFACE
20309 echo "$ac_t""$libstdcxx_interface" 1>&6
20311 # Process the option --with-gxx-include-dir=<path to include-files directory>
20312 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
20313 echo "configure:20314: checking for --with-gxx-include-dir" >&5
20314 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
20315 if test "${with_gxx_include_dir+set}" = set; then
20316 withval="$with_gxx_include_dir"
20317 case "${withval}" in
20319 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
20326 gxx_include_dir=${withval}
20333 echo "$ac_t""$gxx_include_dir" 1>&6
20335 # Process the option "--enable-version-specific-runtime-libs"
20336 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
20337 echo "configure:20338: checking for --enable-version-specific-runtime-libs" >&5
20338 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
20339 if test "${enable_version_specific_runtime_libs+set}" = set; then
20340 enableval="$enable_version_specific_runtime_libs"
20341 case "$enableval" in
20342 yes) version_specific_libs=yes ;;
20343 no) version_specific_libs=no ;;
20344 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
20347 version_specific_libs=no
20349 # Option set, now we can test it.
20350 echo "$ac_t""$version_specific_libs" 1>&6
20352 if test $version_specific_libs = yes; then
20353 # Need the gcc compiler version to know where to install libraries
20354 # and header files if --enable-version-specific-runtime-libs option
20356 gcc_version_trigger=${srcdir}/../gcc/version.c
20357 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
20358 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
20359 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
20360 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
20361 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
20364 # Default case for install directory for include files.
20365 if test $version_specific_libs = no &&
20366 test $gxx_include_dir = no; then
20367 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
20370 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
20371 # Install a library built with a cross compiler in tooldir, not libdir.
20372 if test x"$glibcpp_toolexecdir" = x"no"; then
20373 if test -n "$with_cross_host" &&
20374 test x"$with_cross_host" != x"no"; then
20375 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
20376 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
20378 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
20379 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
20383 echo $ac_n "checking for install location""... $ac_c" 1>&6
20384 echo "configure:20385: checking for install location" >&5
20385 echo "$ac_t""$gxx_include_dir" 1>&6
20393 # Export all the include and flag information to makefiles.
20395 # Root level of the build directory include sources.
20396 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
20398 # Passed down for canadian crosses.
20399 if test x"$CANADIAN" = xyes; then
20400 TOPLEVEL_INCLUDES='-I$(includedir)'
20403 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
20405 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
20407 if test x"$need_libio" = xyes; then
20408 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
20412 # Now, export this to all the little Makefiles....
20419 # Optimization flags that are probably a good idea for thrill-seekers. Just
20420 # uncomment the lines below and make, everything else is ready to go...
20421 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
20425 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
20429 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
20430 grep "enable shared" > /dev/null; then
20431 LIBSUPCXX_PICFLAGS=-prefer-pic
20433 LIBSUPCXX_PICFLAGS=
20437 # Generate the various Makefiles, include files, and scripts.
20438 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
20439 # and libsupc++/Makefile.am so that multilib installs will end up
20440 # installed in the correct place. To work around this not being passed
20441 # down from config-ml.in -> top_srcdir/Makefile.am ->
20442 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
20444 cat > confcache <<\EOF
20445 # This file is a shell script that caches the results of configure
20446 # tests run on this system so they can be shared between configure
20447 # scripts and configure runs. It is not useful on other systems.
20448 # If it contains results you don't want to keep, you may remove or edit it.
20450 # By default, configure uses ./config.cache as the cache file,
20451 # creating it if it does not exist already. You can give configure
20452 # the --cache-file=FILE option to use a different cache file; that is
20453 # what configure does when it calls configure scripts in
20454 # subdirectories, so they share the cache.
20455 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20456 # config.status only pays attention to the cache file if you give it the
20457 # --recheck option to rerun configure.
20460 # The following way of writing the cache mishandles newlines in values,
20461 # but we know of no workaround that is simple, portable, and efficient.
20462 # So, don't put newlines in cache variables' values.
20463 # Ultrix sh set writes to stderr and can't be redirected directly,
20464 # and sets the high bit in the cache file unless we assign to the vars.
20466 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20468 # `set' does not quote correctly, so add quotes (double-quote substitution
20469 # turns \\\\ into \\, and sed turns \\ into \).
20471 -e "s/'/'\\\\''/g" \
20472 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20475 # `set' quotes correctly as required by POSIX, so do not add quotes.
20476 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20479 if cmp -s $cache_file confcache; then
20482 if test -w $cache_file; then
20483 echo "updating cache $cache_file"
20484 cat confcache > $cache_file
20486 echo "not updating unwritable cache $cache_file"
20491 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20493 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20494 # Let make expand exec_prefix.
20495 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20497 # Any assignment to VPATH causes Sun make to only execute
20498 # the first set of double-colon rules, so remove it if not needed.
20499 # If there is a colon in the path, we need to keep it.
20500 if test "x$srcdir" = x.; then
20501 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
20504 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20506 DEFS=-DHAVE_CONFIG_H
20508 # Without the "./", some shells look in PATH for config.status.
20509 : ${CONFIG_STATUS=./config.status}
20511 echo creating $CONFIG_STATUS
20512 rm -f $CONFIG_STATUS
20513 cat > $CONFIG_STATUS <<EOF
20515 # Generated automatically by configure.
20516 # Run this file to recreate the current configuration.
20517 # This directory was configured as follows,
20518 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20520 # $0 $ac_configure_args
20522 # Compiler output produced by configure, useful for debugging
20523 # configure, is in ./config.log if it exists.
20525 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20528 case "\$ac_option" in
20529 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20530 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20531 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20532 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20533 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20535 -help | --help | --hel | --he | --h)
20536 echo "\$ac_cs_usage"; exit 0 ;;
20537 *) echo "\$ac_cs_usage"; exit 1 ;;
20541 ac_given_srcdir=$srcdir
20542 ac_given_INSTALL="$INSTALL"
20544 trap 'rm -fr `echo "Makefile \
20545 include/Makefile src/Makefile \
20546 libmath/Makefile libio/Makefile libsupc++/Makefile \
20547 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20549 cat >> $CONFIG_STATUS <<EOF
20551 # Protect against being on the right side of a sed subst in config.status.
20552 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20553 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20557 s%@CFLAGS@%$CFLAGS%g
20558 s%@CPPFLAGS@%$CPPFLAGS%g
20559 s%@CXXFLAGS@%$CXXFLAGS%g
20560 s%@FFLAGS@%$FFLAGS%g
20562 s%@LDFLAGS@%$LDFLAGS%g
20564 s%@exec_prefix@%$exec_prefix%g
20565 s%@prefix@%$prefix%g
20566 s%@program_transform_name@%$program_transform_name%g
20567 s%@bindir@%$bindir%g
20568 s%@sbindir@%$sbindir%g
20569 s%@libexecdir@%$libexecdir%g
20570 s%@datadir@%$datadir%g
20571 s%@sysconfdir@%$sysconfdir%g
20572 s%@sharedstatedir@%$sharedstatedir%g
20573 s%@localstatedir@%$localstatedir%g
20574 s%@libdir@%$libdir%g
20575 s%@includedir@%$includedir%g
20576 s%@oldincludedir@%$oldincludedir%g
20577 s%@infodir@%$infodir%g
20578 s%@mandir@%$mandir%g
20579 s%@PACKAGE@%$PACKAGE%g
20580 s%@release_VERSION@%$release_VERSION%g
20581 s%@libtool_VERSION@%$libtool_VERSION%g
20583 s%@host_alias@%$host_alias%g
20584 s%@host_cpu@%$host_cpu%g
20585 s%@host_vendor@%$host_vendor%g
20586 s%@host_os@%$host_os%g
20587 s%@target@%$target%g
20588 s%@target_alias@%$target_alias%g
20589 s%@target_cpu@%$target_cpu%g
20590 s%@target_vendor@%$target_vendor%g
20591 s%@target_os@%$target_os%g
20593 s%@build_alias@%$build_alias%g
20594 s%@build_cpu@%$build_cpu%g
20595 s%@build_vendor@%$build_vendor%g
20596 s%@build_os@%$build_os%g
20597 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20598 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20599 s%@INSTALL_DATA@%$INSTALL_DATA%g
20600 s%@VERSION@%$VERSION%g
20601 s%@ACLOCAL@%$ACLOCAL%g
20602 s%@AUTOCONF@%$AUTOCONF%g
20603 s%@AUTOMAKE@%$AUTOMAKE%g
20604 s%@AUTOHEADER@%$AUTOHEADER%g
20605 s%@MAKEINFO@%$MAKEINFO%g
20606 s%@SET_MAKE@%$SET_MAKE%g
20607 s%@toplevel_srcdir@%$toplevel_srcdir%g
20608 s%@glibcpp_builddir@%$glibcpp_builddir%g
20609 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
20612 s%@glibcpp_basedir@%$glibcpp_basedir%g
20614 s%@glibcpp_CXX@%$glibcpp_CXX%g
20617 s%@RANLIB@%$RANLIB%g
20618 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
20619 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
20621 s%@EXEEXT@%$EXEEXT%g
20622 s%@OBJEXT@%$OBJEXT%g
20624 s%@LIBTOOL@%$LIBTOOL%g
20625 s%@CXXCPP@%$CXXCPP%g
20626 s%@enable_shared@%$enable_shared%g
20627 s%@enable_static@%$enable_static%g
20628 s%@ifGNUmake@%$ifGNUmake%g
20629 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
20631 s%@CSTDIO_H@%$CSTDIO_H%g
20632 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
20633 s%@CCODECVT_C@%$CCODECVT_C%g
20634 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
20635 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
20636 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
20637 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
20638 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
20639 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
20640 s%@libio_la@%$libio_la%g
20641 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
20642 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
20643 s%@glibcpp_localedir@%$glibcpp_localedir%g
20644 s%@USE_NLS@%$USE_NLS%g
20645 s%@CLOCALE_H@%$CLOCALE_H%g
20646 s%@CCODECVT_H@%$CCODECVT_H%g
20647 s%@CMESSAGES_H@%$CMESSAGES_H%g
20648 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
20649 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
20650 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
20651 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
20652 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
20653 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
20654 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
20655 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
20656 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
20657 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
20658 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
20659 s%@WERROR@%$WERROR%g
20660 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
20661 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
20662 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
20663 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
20664 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
20665 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
20666 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
20667 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
20668 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
20669 s%@gxx_include_dir@%$gxx_include_dir%g
20670 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
20671 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
20672 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
20673 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
20674 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
20675 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
20676 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
20677 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
20678 s%@WARN_FLAGS@%$WARN_FLAGS%g
20679 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
20684 cat >> $CONFIG_STATUS <<\EOF
20686 # Split the substitutions into bite-sized pieces for seds with
20687 # small command number limits, like on Digital OSF/1 and HP-UX.
20688 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20689 ac_file=1 # Number of current file.
20690 ac_beg=1 # First line for current file.
20691 ac_end=$ac_max_sed_cmds # Line after last line for current file.
20694 while $ac_more_lines; do
20695 if test $ac_beg -gt 1; then
20696 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20698 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20700 if test ! -s conftest.s$ac_file; then
20701 ac_more_lines=false
20702 rm -f conftest.s$ac_file
20704 if test -z "$ac_sed_cmds"; then
20705 ac_sed_cmds="sed -f conftest.s$ac_file"
20707 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20709 ac_file=`expr $ac_file + 1`
20711 ac_end=`expr $ac_end + $ac_max_sed_cmds`
20714 if test -z "$ac_sed_cmds"; then
20719 cat >> $CONFIG_STATUS <<EOF
20721 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
20722 include/Makefile src/Makefile \
20723 libmath/Makefile libio/Makefile libsupc++/Makefile \
20724 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
20726 cat >> $CONFIG_STATUS <<\EOF
20727 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
20728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20730 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20731 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20732 *) ac_file_in="${ac_file}.in" ;;
20735 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20737 # Remove last slash and all that follows it. Not all systems have dirname.
20738 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20739 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20740 # The file is in a subdirectory.
20741 test ! -d "$ac_dir" && mkdir "$ac_dir"
20742 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
20743 # A "../" for each directory in $ac_dir_suffix.
20744 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20746 ac_dir_suffix= ac_dots=
20749 case "$ac_given_srcdir" in
20751 if test -z "$ac_dots"; then top_srcdir=.
20752 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20753 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20754 *) # Relative path.
20755 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20756 top_srcdir="$ac_dots$ac_given_srcdir" ;;
20759 case "$ac_given_INSTALL" in
20760 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20761 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20764 echo creating "$ac_file"
20766 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20768 *Makefile*) ac_comsub="1i\\
20769 # $configure_input" ;;
20773 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20775 s%@configure_input@%$configure_input%g
20776 s%@srcdir@%$srcdir%g
20777 s%@top_srcdir@%$top_srcdir%g
20778 s%@INSTALL@%$INSTALL%g
20779 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20783 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20784 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20786 # ac_d sets the value in "#define NAME VALUE" lines.
20787 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20788 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20791 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20792 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20793 ac_uB='\([ ]\)%\1#\2define\3'
20796 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20797 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20798 ac_eB='$%\1#\2define\3'
20802 if test "${CONFIG_HEADERS+set}" != set; then
20804 cat >> $CONFIG_STATUS <<EOF
20805 CONFIG_HEADERS="config.h"
20807 cat >> $CONFIG_STATUS <<\EOF
20809 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20810 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20812 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20813 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20814 *) ac_file_in="${ac_file}.in" ;;
20817 echo creating $ac_file
20819 rm -f conftest.frag conftest.in conftest.out
20820 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20821 cat $ac_file_inputs > conftest.in
20825 # Transform confdefs.h into a sed script conftest.vals that substitutes
20826 # the proper values into config.h.in to produce config.h. And first:
20827 # Protect against being on the right side of a sed subst in config.status.
20828 # Protect against being in an unquoted here document in config.status.
20829 rm -f conftest.vals
20830 cat > conftest.hdr <<\EOF
20833 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20837 sed -n -f conftest.hdr confdefs.h > conftest.vals
20840 # This sed command replaces #undef with comments. This is necessary, for
20841 # example, in the case of _POSIX_SOURCE, which is predefined and required
20842 # on some systems where configure will not decide to define it.
20843 cat >> conftest.vals <<\EOF
20844 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20847 # Break up conftest.vals because some shells have a limit on
20848 # the size of here documents, and old seds have small limits too.
20850 rm -f conftest.tail
20853 ac_lines=`grep -c . conftest.vals`
20854 # grep -c gives empty output for an empty file on some AIX systems.
20855 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20856 # Write a limited-size here document to conftest.frag.
20857 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20858 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20860 sed -f conftest.frag conftest.in > conftest.out
20862 mv conftest.out conftest.in
20863 ' >> $CONFIG_STATUS
20864 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20865 rm -f conftest.vals
20866 mv conftest.tail conftest.vals
20868 rm -f conftest.vals
20870 cat >> $CONFIG_STATUS <<\EOF
20871 rm -f conftest.frag conftest.h
20872 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20873 cat conftest.in >> conftest.h
20875 if cmp -s $ac_file conftest.h 2>/dev/null; then
20876 echo "$ac_file is unchanged"
20879 # Remove last slash and all that follows it. Not all systems have dirname.
20880 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20881 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20882 # The file is in a subdirectory.
20883 test ! -d "$ac_dir" && mkdir "$ac_dir"
20886 mv conftest.h $ac_file
20892 cat >> $CONFIG_STATUS <<EOF
20893 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
20894 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"
20897 cat >> $CONFIG_STATUS <<\EOF
20898 srcdir=$ac_given_srcdir
20899 while test -n "$ac_sources"; do
20900 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
20901 set $ac_sources; ac_source=$1; shift; ac_sources=$*
20903 echo "linking $srcdir/$ac_source to $ac_dest"
20905 if test ! -r $srcdir/$ac_source; then
20906 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
20910 # Make relative symlinks.
20911 # Remove last slash and all that follows it. Not all systems have dirname.
20912 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
20913 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
20914 # The dest file is in a subdirectory.
20915 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
20916 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
20917 # A "../" for each directory in $ac_dest_dir_suffix.
20918 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
20920 ac_dest_dir_suffix= ac_dots=
20924 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
20925 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
20928 # Make a symlink if possible; otherwise try a hard link.
20929 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
20930 ln $srcdir/$ac_source $ac_dest; then :
20932 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
20936 cat >> $CONFIG_STATUS <<EOF
20941 with_multisubdir=${with_multisubdir}
20942 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20943 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20944 glibcpp_basedir=${glibcpp_basedir}
20949 cat >> $CONFIG_STATUS <<\EOF
20950 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
20951 if test -n "$CONFIG_FILES"; then
20952 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
20953 grep '^MULTISUBDIR =' Makefile >> src/Makefile
20954 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
20957 chmod +x testsuite_flags
20961 chmod +x $CONFIG_STATUS
20962 rm -fr confdefs* $ac_clean_files
20963 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20967 # Sanity checking & User-visible messages.
20968 # Checks down here, otherwise they get scrolled off before
20969 # the user will notice.
20971 # Trying to get more people to read documentation. Possibly remove
20972 # check and warn all the time. There is no "informational" AC_MSG_
20973 # macro, so these are going to be printed even when --quiet/--silent
20975 if test ! -f stamp-sanity-warned; then
20976 touch stamp-sanity-warned
20978 echo "Please make certain that you read the installation information here:"
20979 echo " faster => ${srcdir}/docs/install.html"
20980 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
20982 echo "and the configuration information here:"
20983 echo " faster => ${srcdir}/docs/configopts.html"
20984 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
20986 echo "before proceeding with ${_cv_gnu_make_command}."