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 --with-gxx-include-dir the installation directory for include files"
64 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
66 # Initialize some variables set by options.
67 # The variables have the same names as the options, with
68 # dashes changed to underlines.
70 cache_file=./config.cache
79 program_transform_name=s,x,x,
88 bindir='${exec_prefix}/bin'
89 sbindir='${exec_prefix}/sbin'
90 libexecdir='${exec_prefix}/libexec'
91 datadir='${prefix}/share'
92 sysconfdir='${prefix}/etc'
93 sharedstatedir='${prefix}/com'
94 localstatedir='${prefix}/var'
95 libdir='${exec_prefix}/lib'
96 includedir='${prefix}/include'
97 oldincludedir='/usr/include'
98 infodir='${prefix}/info'
99 mandir='${prefix}/man'
101 # Initialize some other variables.
104 SHELL=${CONFIG_SHELL-/bin/sh}
105 # Maximum number of lines to put in a shell here document.
112 # If the previous option needs an argument, assign it.
113 if test -n "$ac_prev"; then
114 eval "$ac_prev=\$ac_option"
120 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
124 # Accept the important Cygnus configure options, so we can diagnose typos.
128 -bindir | --bindir | --bindi | --bind | --bin | --bi)
130 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
131 bindir="$ac_optarg" ;;
133 -build | --build | --buil | --bui | --bu)
135 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
136 build="$ac_optarg" ;;
138 -cache-file | --cache-file | --cache-fil | --cache-fi \
139 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
140 ac_prev=cache_file ;;
141 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
142 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
143 cache_file="$ac_optarg" ;;
145 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
147 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
149 datadir="$ac_optarg" ;;
151 -disable-* | --disable-*)
152 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
153 # Reject names that are not valid shell variable names.
154 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
155 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
157 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
158 eval "enable_${ac_feature}=no" ;;
160 -enable-* | --enable-*)
161 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
162 # Reject names that are not valid shell variable names.
163 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
164 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
166 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
171 eval "enable_${ac_feature}='$ac_optarg'" ;;
173 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
174 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
175 | --exec | --exe | --ex)
176 ac_prev=exec_prefix ;;
177 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
178 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
179 | --exec=* | --exe=* | --ex=*)
180 exec_prefix="$ac_optarg" ;;
182 -gas | --gas | --ga | --g)
183 # Obsolete; use --with-gas.
186 -help | --help | --hel | --he)
187 # Omit some internal or obsolete options to make the list less imposing.
188 # This message is too long to be a string in the A/UX 3.1 sh.
190 Usage: configure [options] [host]
191 Options: [defaults in brackets after descriptions]
193 --cache-file=FILE cache test results in FILE
194 --help print this message
195 --no-create do not create output files
196 --quiet, --silent do not print \`checking...' messages
197 --site-file=FILE use FILE as the site file
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 -site-file | --site-file | --site-fil | --site-fi | --site-f)
370 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
371 sitefile="$ac_optarg" ;;
373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
376 srcdir="$ac_optarg" ;;
378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
379 | --syscon | --sysco | --sysc | --sys | --sy)
380 ac_prev=sysconfdir ;;
381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
383 sysconfdir="$ac_optarg" ;;
385 -target | --target | --targe | --targ | --tar | --ta | --t)
387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
388 target="$ac_optarg" ;;
390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
393 -version | --version | --versio | --versi | --vers)
394 echo "configure generated by autoconf version 2.13"
398 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
399 # Reject names that are not valid shell variable names.
400 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
401 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
403 ac_package=`echo $ac_package| sed 's/-/_/g'`
408 eval "with_${ac_package}='$ac_optarg'" ;;
410 -without-* | --without-*)
411 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
412 # Reject names that are not valid shell variable names.
413 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
414 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
416 ac_package=`echo $ac_package| sed 's/-/_/g'`
417 eval "with_${ac_package}=no" ;;
420 # Obsolete; use --with-x.
423 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
424 | --x-incl | --x-inc | --x-in | --x-i)
425 ac_prev=x_includes ;;
426 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
427 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
428 x_includes="$ac_optarg" ;;
430 -x-libraries | --x-libraries | --x-librarie | --x-librari \
431 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
432 ac_prev=x_libraries ;;
433 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
434 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
435 x_libraries="$ac_optarg" ;;
437 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
441 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
442 echo "configure: warning: $ac_option: invalid host type" 1>&2
444 if test "x$nonopt" != xNONE; then
445 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
453 if test -n "$ac_prev"; then
454 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
457 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
459 # File descriptor usage:
462 # 2 errors and warnings
463 # 3 some systems may open it to /dev/tty
464 # 4 used on the Kubota Titan
465 # 6 checking for... messages and results
466 # 5 compiler messages saved in config.log
467 if test "$silent" = yes; then
475 This file contains any messages produced by compilers while
476 running configure, to aid debugging if configure makes a mistake.
479 # Strip out --no-create and --no-recursion so they do not pile up.
480 # Also quote any args containing shell metacharacters.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c) ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
490 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
491 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
496 # Only set these to C if already set. These must not be set unconditionally
497 # because not all systems understand e.g. LANG=C (notably SCO).
498 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
499 # Non-C LC_CTYPE values break the ctype check.
500 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
501 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
502 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
503 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
505 # confdefs.h avoids OS command line length limits that DEFS can exceed.
506 rm -rf conftest* confdefs.h
507 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
510 # A filename unique to this package, relative to the directory that
511 # configure is in, which we can look for to find out if srcdir is correct.
512 ac_unique_file=src/ios.cc
514 # Find the source files, if location was not specified.
515 if test -z "$srcdir"; then
516 ac_srcdir_defaulted=yes
517 # Try the directory containing this script, then its parent.
519 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
520 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
522 if test ! -r $srcdir/$ac_unique_file; then
526 ac_srcdir_defaulted=no
528 if test ! -r $srcdir/$ac_unique_file; then
529 if test "$ac_srcdir_defaulted" = yes; then
530 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
532 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
535 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
537 # Prefer explicitly selected file to automatically selected ones.
538 if test -z "$sitefile"; then
539 if test -z "$CONFIG_SITE"; then
540 if test "x$prefix" != xNONE; then
541 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
543 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 CONFIG_SITE="$sitefile"
549 for ac_site_file in $CONFIG_SITE; do
550 if test -r "$ac_site_file"; then
551 echo "loading site script $ac_site_file"
556 if test -r "$cache_file"; then
557 echo "loading cache $cache_file"
560 echo "creating cache $cache_file"
565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
566 ac_cpp='$CPP $CPPFLAGS'
567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
569 cross_compiling=$ac_cv_prog_cc_cross
573 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
574 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
575 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
582 ac_n= ac_c='\c' ac_t=
589 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
590 release_VERSION=3.1.0
592 # For libtool versioning info, format is CURRENT:REVISION:AGE
593 libtool_VERSION=4:0:0
596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
597 # AC 2.50 sets target_alias iff the user specified --target, but we use it
598 # everywhere, so we set it here just to be sure.
600 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
601 if test -f $ac_dir/install-sh; then
603 ac_install_sh="$ac_aux_dir/install-sh -c"
605 elif test -f $ac_dir/install.sh; then
607 ac_install_sh="$ac_aux_dir/install.sh -c"
611 if test -z "$ac_aux_dir"; then
612 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
614 ac_config_guess=$ac_aux_dir/config.guess
615 ac_config_sub=$ac_aux_dir/config.sub
616 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
619 # Do some error checking and defaulting for the host and target type.
621 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
624 # 1. You are not allowed to specify --host, --target, and nonopt at the
626 # 2. Host defaults to nonopt.
627 # 3. If nonopt is not specified, then host defaults to the current host,
628 # as determined by config.guess.
629 # 4. Target and build default to nonopt.
630 # 5. If nonopt is not specified, then target and build default to host.
632 # The aliases save the names the user supplied, while $host etc.
633 # will get canonicalized.
634 case $host---$target---$nonopt in
635 NONE---*---* | *---NONE---* | *---*---NONE) ;;
636 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
640 # Make sure we can run config.sub.
641 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
642 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
645 echo $ac_n "checking host system type""... $ac_c" 1>&6
646 echo "configure:647: checking host system type" >&5
649 case "$host_alias" in
653 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
654 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
656 *) host_alias=$nonopt ;;
660 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
661 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
662 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
663 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
664 echo "$ac_t""$host" 1>&6
666 echo $ac_n "checking target system type""... $ac_c" 1>&6
667 echo "configure:668: checking target system type" >&5
670 case "$target_alias" in
673 NONE) target_alias=$host_alias ;;
674 *) target_alias=$nonopt ;;
678 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
679 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
680 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
681 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
682 echo "$ac_t""$target" 1>&6
684 echo $ac_n "checking build system type""... $ac_c" 1>&6
685 echo "configure:686: checking build system type" >&5
688 case "$build_alias" in
691 NONE) build_alias=$host_alias ;;
692 *) build_alias=$nonopt ;;
696 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
697 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
698 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
699 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
700 echo "$ac_t""$build" 1>&6
702 test "$host_alias" != "$target_alias" &&
703 test "$program_prefix$program_suffix$program_transform_name" = \
705 program_prefix=${target_alias}-
707 target_alias=${target_alias-$target}
710 # Find a good install program. We prefer a C program (faster),
711 # so one script is as good as another. But avoid the broken or
712 # incompatible versions:
713 # SysV /etc/install, /usr/sbin/install
714 # SunOS /usr/etc/install
717 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
718 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
719 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
720 # ./install, which can be erroneously created by make from ./install.sh.
721 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
722 echo "configure:723: checking for a BSD compatible install" >&5
723 if test -z "$INSTALL"; then
724 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
725 echo $ac_n "(cached) $ac_c" 1>&6
727 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
728 for ac_dir in $PATH; do
729 # Account for people who put trailing slashes in PATH elements.
731 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
733 # OSF1 and SCO ODT 3.0 have their own names for install.
734 # Don't use installbsd from OSF since it installs stuff as root
736 for ac_prog in ginstall scoinst install; do
737 if test -f $ac_dir/$ac_prog; then
738 if test $ac_prog = install &&
739 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
740 # AIX install. It has an incompatible calling convention.
743 ac_cv_path_install="$ac_dir/$ac_prog -c"
754 if test "${ac_cv_path_install+set}" = set; then
755 INSTALL="$ac_cv_path_install"
757 # As a last resort, use the slow shell script. We don't cache a
758 # path for INSTALL within a source directory, because that will
759 # break other packages using the cache if that directory is
760 # removed, or if the path is relative.
761 INSTALL="$ac_install_sh"
764 echo "$ac_t""$INSTALL" 1>&6
766 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
767 # It thinks the first close brace ends the variable substitution.
768 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
770 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
772 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
774 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
775 echo "configure:776: checking whether build environment is sane" >&5
778 echo timestamp > conftestfile
779 # Do `set' in a subshell so we don't clobber the current shell's
780 # arguments. Must try -L first in case configure is actually a
781 # symlink; some systems play weird games with the mod time of symlinks
782 # (eg FreeBSD returns the mod time of the symlink's containing
785 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
786 if test "$*" = "X"; then
788 set X `ls -t $srcdir/configure conftestfile`
790 if test "$*" != "X $srcdir/configure conftestfile" \
791 && test "$*" != "X conftestfile $srcdir/configure"; then
793 # If neither matched, then we have a broken ls. This can happen
794 # if, for instance, CONFIG_SHELL is bash and it inherits a
795 # broken ls alias from the environment. This has actually
796 # happened. Such a system could not be considered "sane".
797 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
798 alias in your environment" 1>&2; exit 1; }
801 test "$2" = conftestfile
807 { echo "configure: error: newly created file is older than distributed files!
808 Check your system clock" 1>&2; exit 1; }
811 echo "$ac_t""yes" 1>&6
812 if test "$program_transform_name" = s,x,x,; then
813 program_transform_name=
815 # Double any \ or $. echo might interpret backslashes.
816 cat <<\EOF_SED > conftestsed
817 s,\\,\\\\,g; s,\$,$$,g
819 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
822 test "$program_prefix" != NONE &&
823 program_transform_name="s,^,${program_prefix},; $program_transform_name"
824 # Use a double $ so make ignores it.
825 test "$program_suffix" != NONE &&
826 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
828 # sed with no file args requires a program.
829 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
831 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
832 echo "configure:833: checking whether ${MAKE-make} sets \${MAKE}" >&5
833 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
834 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
835 echo $ac_n "(cached) $ac_c" 1>&6
837 cat > conftestmake <<\EOF
839 @echo 'ac_maketemp="${MAKE}"'
841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
842 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
843 if test -n "$ac_maketemp"; then
844 eval ac_cv_prog_make_${ac_make}_set=yes
846 eval ac_cv_prog_make_${ac_make}_set=no
850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
851 echo "$ac_t""yes" 1>&6
854 echo "$ac_t""no" 1>&6
855 SET_MAKE="MAKE=${MAKE-make}"
861 VERSION=$release_VERSION
863 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
864 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
866 cat >> confdefs.h <<EOF
867 #define PACKAGE "$PACKAGE"
870 cat >> confdefs.h <<EOF
871 #define VERSION "$VERSION"
876 missing_dir=`cd $ac_aux_dir && pwd`
877 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
878 echo "configure:879: checking for working aclocal" >&5
879 # Run test in a subshell; some versions of sh will print an error if
880 # an executable is not found, even if stderr is redirected.
881 # Redirect stdin to placate older versions of autoconf. Sigh.
882 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
884 echo "$ac_t""found" 1>&6
886 ACLOCAL="$missing_dir/missing aclocal"
887 echo "$ac_t""missing" 1>&6
890 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
891 echo "configure:892: checking for working autoconf" >&5
892 # Run test in a subshell; some versions of sh will print an error if
893 # an executable is not found, even if stderr is redirected.
894 # Redirect stdin to placate older versions of autoconf. Sigh.
895 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
897 echo "$ac_t""found" 1>&6
899 AUTOCONF="$missing_dir/missing autoconf"
900 echo "$ac_t""missing" 1>&6
903 echo $ac_n "checking for working automake""... $ac_c" 1>&6
904 echo "configure:905: checking for working automake" >&5
905 # Run test in a subshell; some versions of sh will print an error if
906 # an executable is not found, even if stderr is redirected.
907 # Redirect stdin to placate older versions of autoconf. Sigh.
908 if (automake --version) < /dev/null > /dev/null 2>&1; then
910 echo "$ac_t""found" 1>&6
912 AUTOMAKE="$missing_dir/missing automake"
913 echo "$ac_t""missing" 1>&6
916 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
917 echo "configure:918: checking for working autoheader" >&5
918 # Run test in a subshell; some versions of sh will print an error if
919 # an executable is not found, even if stderr is redirected.
920 # Redirect stdin to placate older versions of autoconf. Sigh.
921 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
922 AUTOHEADER=autoheader
923 echo "$ac_t""found" 1>&6
925 AUTOHEADER="$missing_dir/missing autoheader"
926 echo "$ac_t""missing" 1>&6
929 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
930 echo "configure:931: checking for working makeinfo" >&5
931 # Run test in a subshell; some versions of sh will print an error if
932 # an executable is not found, even if stderr is redirected.
933 # Redirect stdin to placate older versions of autoconf. Sigh.
934 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
936 echo "$ac_t""found" 1>&6
938 MAKEINFO="$missing_dir/missing makeinfo"
939 echo "$ac_t""missing" 1>&6
947 # Runs configure.host and configure.target, as well as finds CC, CXX
948 # and assorted other critical bits. Have to run this before the
949 # GLIBCPP_ENABLE_* macros below.
950 if test $host != $build; then
951 ac_tool_prefix=${host_alias}-
956 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
957 echo "configure:958: checking for Cygwin environment" >&5
958 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
959 echo $ac_n "(cached) $ac_c" 1>&6
961 cat > conftest.$ac_ext <<EOF
962 #line 963 "configure"
963 #include "confdefs.h"
968 #define __CYGWIN__ __CYGWIN32__
973 if { (eval echo configure:974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
977 echo "configure: failed program was:" >&5
978 cat conftest.$ac_ext >&5
986 echo "$ac_t""$ac_cv_cygwin" 1>&6
988 test "$ac_cv_cygwin" = yes && CYGWIN=yes
989 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
990 echo "configure:991: checking for mingw32 environment" >&5
991 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
992 echo $ac_n "(cached) $ac_c" 1>&6
994 cat > conftest.$ac_ext <<EOF
995 #line 996 "configure"
996 #include "confdefs.h"
1002 if { (eval echo configure:1003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1006 echo "configure: failed program was:" >&5
1007 cat conftest.$ac_ext >&5
1015 echo "$ac_t""$ac_cv_mingw32" 1>&6
1017 test "$ac_cv_mingw32" = yes && MINGW32=yes
1019 # Check whether --enable-multilib or --disable-multilib was given.
1020 if test "${enable_multilib+set}" = set; then
1021 enableval="$enable_multilib"
1022 case "${enableval}" in
1023 yes) multilib=yes ;;
1025 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1031 # When building with srcdir == objdir, links to the source files will
1032 # be created in directories within the target_subdir. We have to
1033 # adjust toplevel_srcdir accordingly, so that configure finds
1034 # install-sh and other auxiliary files that live in the top-level
1036 if test "${srcdir}" = "."; then
1037 if test -z "${with_target_subdir}"; then
1040 if test "${with_target_subdir}" != "."; then
1041 toprel="${with_multisrctop}../.."
1043 toprel="${with_multisrctop}.."
1050 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1051 if test -f $ac_dir/install-sh; then
1053 ac_install_sh="$ac_aux_dir/install-sh -c"
1055 elif test -f $ac_dir/install.sh; then
1057 ac_install_sh="$ac_aux_dir/install.sh -c"
1061 if test -z "$ac_aux_dir"; then
1062 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1064 ac_config_guess=$ac_aux_dir/config.guess
1065 ac_config_sub=$ac_aux_dir/config.sub
1066 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1068 toplevel_srcdir=\${top_srcdir}/$toprel
1071 # Export build and source directories.
1072 # These need to be absolute paths, yet at the same time need to
1073 # canonicalize only relative paths, because then amd will not unmount
1074 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1075 glibcpp_builddir=`pwd`
1077 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1078 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1085 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1086 # be 'cp -p' if linking isn't available.
1087 #ac_cv_prog_LN_S='cp -p'
1088 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1089 echo "configure:1090: checking whether ln -s works" >&5
1090 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1091 echo $ac_n "(cached) $ac_c" 1>&6
1094 if ln -s X conftestdata 2>/dev/null
1097 ac_cv_prog_LN_S="ln -s"
1102 LN_S="$ac_cv_prog_LN_S"
1103 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1104 echo "$ac_t""yes" 1>&6
1106 echo "$ac_t""no" 1>&6
1110 # We use these options to decide which functions to include.
1111 # Check whether --with-target-subdir or --without-target-subdir was given.
1112 if test "${with_target_subdir+set}" = set; then
1113 withval="$with_target_subdir"
1117 # Check whether --with-cross-host or --without-cross-host was given.
1118 if test "${with_cross_host+set}" = set; then
1119 withval="$with_cross_host"
1124 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1127 # Never versions of autoconf add an underscore to these functions.
1128 # Prevent future problems ...
1136 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1137 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1138 # are probably using a cross compiler, which will not be able to fully
1139 # link an executable. This should really be fixed in autoconf
1145 # Extract the first word of "gcc", so it can be a program name with args.
1146 set dummy gcc; ac_word=$2
1147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1148 echo "configure:1149: checking for $ac_word" >&5
1149 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1150 echo $ac_n "(cached) $ac_c" 1>&6
1152 if test -n "$CC"; then
1153 ac_cv_prog_CC="$CC" # Let the user override the test.
1155 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1157 for ac_dir in $ac_dummy; do
1158 test -z "$ac_dir" && ac_dir=.
1159 if test -f $ac_dir/$ac_word; then
1168 if test -n "$CC"; then
1169 echo "$ac_t""$CC" 1>&6
1171 echo "$ac_t""no" 1>&6
1174 if test -z "$CC"; then
1175 # Extract the first word of "cc", so it can be a program name with args.
1176 set dummy cc; ac_word=$2
1177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1178 echo "configure:1179: checking for $ac_word" >&5
1179 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1180 echo $ac_n "(cached) $ac_c" 1>&6
1182 if test -n "$CC"; then
1183 ac_cv_prog_CC="$CC" # Let the user override the test.
1185 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1188 for ac_dir in $ac_dummy; do
1189 test -z "$ac_dir" && ac_dir=.
1190 if test -f $ac_dir/$ac_word; then
1191 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1192 ac_prog_rejected=yes
1200 if test $ac_prog_rejected = yes; then
1201 # We found a bogon in the path, so make sure we never use it.
1202 set dummy $ac_cv_prog_CC
1204 if test $# -gt 0; then
1205 # We chose a different compiler from the bogus one.
1206 # However, it has the same basename, so the bogon will be chosen
1207 # first if we set CC to just the basename; use the full file name.
1209 set dummy "$ac_dir/$ac_word" "$@"
1217 if test -n "$CC"; then
1218 echo "$ac_t""$CC" 1>&6
1220 echo "$ac_t""no" 1>&6
1223 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1226 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1227 echo "configure:1228: checking whether we are using GNU C" >&5
1228 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1229 echo $ac_n "(cached) $ac_c" 1>&6
1231 cat > conftest.c <<EOF
1236 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1243 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1245 if test $ac_cv_prog_gcc = yes; then
1247 ac_test_CFLAGS="${CFLAGS+set}"
1248 ac_save_CFLAGS="$CFLAGS"
1250 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1251 echo "configure:1252: checking whether ${CC-cc} accepts -g" >&5
1252 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1255 echo 'void f(){}' > conftest.c
1256 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1265 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1266 if test "$ac_test_CFLAGS" = set; then
1267 CFLAGS="$ac_save_CFLAGS"
1268 elif test $ac_cv_prog_cc_g = yes; then
1275 test "${CFLAGS+set}" = set || CFLAGS="-g"
1279 # Can't just call these here as g++ requires libstc++ to be built....
1282 # Likewise for AC_PROG_CXX.
1286 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1287 # flags that come in CXX while configuring libstdc++. They're different
1288 # from those used for all other target libraries. If CXX is set in
1289 # the environment, respect that here.
1291 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1293 # Extract the first word of "$ac_prog", so it can be a program name with args.
1294 set dummy $ac_prog; ac_word=$2
1295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1296 echo "configure:1297: checking for $ac_word" >&5
1297 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1298 echo $ac_n "(cached) $ac_c" 1>&6
1300 if test -n "$glibcpp_CXX"; then
1301 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1305 for ac_dir in $ac_dummy; do
1306 test -z "$ac_dir" && ac_dir=.
1307 if test -f $ac_dir/$ac_word; then
1308 ac_cv_prog_glibcpp_CXX="$ac_prog"
1315 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1316 if test -n "$glibcpp_CXX"; then
1317 echo "$ac_t""$glibcpp_CXX" 1>&6
1319 echo "$ac_t""no" 1>&6
1322 test -n "$glibcpp_CXX" && break
1324 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1328 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1330 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1331 echo "configure:1332: checking whether we are using GNU C++" >&5
1332 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1333 echo $ac_n "(cached) $ac_c" 1>&6
1335 cat > conftest.C <<EOF
1340 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1347 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1349 if test $ac_cv_prog_gxx = yes; then
1351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1352 ac_save_CXXFLAGS="$CXXFLAGS"
1354 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1355 echo "configure:1356: checking whether ${CXX-g++} accepts -g" >&5
1356 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1357 echo $ac_n "(cached) $ac_c" 1>&6
1359 echo 'void f(){}' > conftest.cc
1360 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1361 ac_cv_prog_cxx_g=yes
1369 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1370 if test "$ac_test_CXXFLAGS" = set; then
1371 CXXFLAGS="$ac_save_CXXFLAGS"
1372 elif test $ac_cv_prog_cxx_g = yes; then
1379 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1383 # For some reason, gettext needs this.
1384 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1385 echo "configure:1386: checking for POSIXized ISC" >&5
1386 if test -d /etc/conf/kconfig.d &&
1387 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1389 echo "$ac_t""yes" 1>&6
1390 ISC=yes # If later tests want to check for ISC.
1391 cat >> confdefs.h <<\EOF
1392 #define _POSIX_SOURCE 1
1395 if test "$GCC" = yes; then
1401 echo "$ac_t""no" 1>&6
1406 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1407 set dummy ${ac_tool_prefix}as; ac_word=$2
1408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1409 echo "configure:1410: checking for $ac_word" >&5
1410 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1411 echo $ac_n "(cached) $ac_c" 1>&6
1413 if test -n "$AS"; then
1414 ac_cv_prog_AS="$AS" # Let the user override the test.
1416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1418 for ac_dir in $ac_dummy; do
1419 test -z "$ac_dir" && ac_dir=.
1420 if test -f $ac_dir/$ac_word; then
1421 ac_cv_prog_AS="${ac_tool_prefix}as"
1426 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1430 if test -n "$AS"; then
1431 echo "$ac_t""$AS" 1>&6
1433 echo "$ac_t""no" 1>&6
1438 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1439 set dummy ${ac_tool_prefix}ar; ac_word=$2
1440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1441 echo "configure:1442: checking for $ac_word" >&5
1442 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1443 echo $ac_n "(cached) $ac_c" 1>&6
1445 if test -n "$AR"; then
1446 ac_cv_prog_AR="$AR" # Let the user override the test.
1448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1450 for ac_dir in $ac_dummy; do
1451 test -z "$ac_dir" && ac_dir=.
1452 if test -f $ac_dir/$ac_word; then
1453 ac_cv_prog_AR="${ac_tool_prefix}ar"
1458 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1462 if test -n "$AR"; then
1463 echo "$ac_t""$AR" 1>&6
1465 echo "$ac_t""no" 1>&6
1470 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1471 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1472 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1473 echo "configure:1474: checking for $ac_word" >&5
1474 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1475 echo $ac_n "(cached) $ac_c" 1>&6
1477 if test -n "$RANLIB"; then
1478 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1482 for ac_dir in $ac_dummy; do
1483 test -z "$ac_dir" && ac_dir=.
1484 if test -f $ac_dir/$ac_word; then
1485 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1492 RANLIB="$ac_cv_prog_RANLIB"
1493 if test -n "$RANLIB"; then
1494 echo "$ac_t""$RANLIB" 1>&6
1496 echo "$ac_t""no" 1>&6
1500 if test -z "$ac_cv_prog_RANLIB"; then
1501 if test -n "$ac_tool_prefix"; then
1502 # Extract the first word of "ranlib", so it can be a program name with args.
1503 set dummy ranlib; ac_word=$2
1504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1505 echo "configure:1506: checking for $ac_word" >&5
1506 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1507 echo $ac_n "(cached) $ac_c" 1>&6
1509 if test -n "$RANLIB"; then
1510 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1514 for ac_dir in $ac_dummy; do
1515 test -z "$ac_dir" && ac_dir=.
1516 if test -f $ac_dir/$ac_word; then
1517 ac_cv_prog_RANLIB="ranlib"
1522 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1525 RANLIB="$ac_cv_prog_RANLIB"
1526 if test -n "$RANLIB"; then
1527 echo "$ac_t""$RANLIB" 1>&6
1529 echo "$ac_t""no" 1>&6
1533 RANLIB="ranlib-not-found-in-path-error"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1544 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1545 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1546 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1547 # ./install, which can be erroneously created by make from ./install.sh.
1548 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1549 echo "configure:1550: checking for a BSD compatible install" >&5
1550 if test -z "$INSTALL"; then
1551 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1552 echo $ac_n "(cached) $ac_c" 1>&6
1554 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1555 for ac_dir in $PATH; do
1556 # Account for people who put trailing slashes in PATH elements.
1558 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1560 # OSF1 and SCO ODT 3.0 have their own names for install.
1561 # Don't use installbsd from OSF since it installs stuff as root
1563 for ac_prog in ginstall scoinst install; do
1564 if test -f $ac_dir/$ac_prog; then
1565 if test $ac_prog = install &&
1566 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1567 # AIX install. It has an incompatible calling convention.
1570 ac_cv_path_install="$ac_dir/$ac_prog -c"
1581 if test "${ac_cv_path_install+set}" = set; then
1582 INSTALL="$ac_cv_path_install"
1584 # As a last resort, use the slow shell script. We don't cache a
1585 # path for INSTALL within a source directory, because that will
1586 # break other packages using the cache if that directory is
1587 # removed, or if the path is relative.
1588 INSTALL="$ac_install_sh"
1591 echo "$ac_t""$INSTALL" 1>&6
1593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1594 # It thinks the first close brace ends the variable substitution.
1595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1599 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1602 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1603 echo "configure:1604: checking whether to enable maintainer-specific portions of Makefiles" >&5
1604 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1605 if test "${enable_maintainer_mode+set}" = set; then
1606 enableval="$enable_maintainer_mode"
1607 USE_MAINTAINER_MODE=$enableval
1609 USE_MAINTAINER_MODE=no
1612 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1615 if test $USE_MAINTAINER_MODE = yes; then
1616 MAINTAINER_MODE_TRUE=
1617 MAINTAINER_MODE_FALSE='#'
1619 MAINTAINER_MODE_TRUE='#'
1620 MAINTAINER_MODE_FALSE=
1622 MAINT=$MAINTAINER_MODE_TRUE
1626 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1627 # at least currently, we never actually build a program, so we never
1628 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1629 # fails, because we are probably configuring with a cross compiler
1630 # which cant create executables. So we include AC_EXEEXT to keep
1631 # automake happy, but we dont execute it, since we dont care about
1634 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1635 # to nothing, so nothing would remain between `then' and `fi' if it
1636 # were not for the `:' below.
1640 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1641 echo "configure:1642: checking for executable suffix" >&5
1642 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1643 echo $ac_n "(cached) $ac_c" 1>&6
1645 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1649 echo 'int main () { return 0; }' > conftest.$ac_ext
1651 if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1652 for file in conftest.*; do
1654 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1655 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1659 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1662 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1667 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1668 echo "$ac_t""${ac_cv_exeext}" 1>&6
1673 . ${glibcpp_basedir}/configure.host
1675 case ${glibcpp_basedir} in
1676 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1677 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1680 # This does for the target what configure.host does for the host. In
1681 # addition to possibly modifying the same flags, it also sets up symlinks.
1683 . ${glibcpp_basedir}/configure.target
1684 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1685 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1692 # Check whether --enable-shared or --disable-shared was given.
1693 if test "${enable_shared+set}" = set; then
1694 enableval="$enable_shared"
1695 p=${PACKAGE-default}
1697 yes) enable_shared=yes ;;
1698 no) enable_shared=no ;;
1701 # Look at the argument we got. We use all the common list separators.
1702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1703 for pkg in $enableval; do
1704 if test "X$pkg" = "X$p"; then
1715 # Check whether --enable-static or --disable-static was given.
1716 if test "${enable_static+set}" = set; then
1717 enableval="$enable_static"
1718 p=${PACKAGE-default}
1720 yes) enable_static=yes ;;
1721 no) enable_static=no ;;
1724 # Look at the argument we got. We use all the common list separators.
1725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1726 for pkg in $enableval; do
1727 if test "X$pkg" = "X$p"; then
1738 # Check whether --enable-fast-install or --disable-fast-install was given.
1739 if test "${enable_fast_install+set}" = set; then
1740 enableval="$enable_fast_install"
1741 p=${PACKAGE-default}
1743 yes) enable_fast_install=yes ;;
1744 no) enable_fast_install=no ;;
1746 enable_fast_install=no
1747 # Look at the argument we got. We use all the common list separators.
1748 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1749 for pkg in $enableval; do
1750 if test "X$pkg" = "X$p"; then
1751 enable_fast_install=yes
1758 enable_fast_install=yes
1761 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1762 if test "${with_gnu_ld+set}" = set; then
1763 withval="$with_gnu_ld"
1764 test "$withval" = no || with_gnu_ld=yes
1770 if test "$GCC" = yes; then
1771 # Check if gcc -print-prog-name=ld gives a path.
1772 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1773 echo "configure:1774: checking for ld used by GCC" >&5
1776 # gcc leaves a trailing carriage return which upsets mingw
1777 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1779 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1782 # Accept absolute paths.
1783 [\\/]* | [A-Za-z]:[\\/]*)
1784 re_direlt='/[^/][^/]*/\.\./'
1785 # Canonicalize the path of ld
1786 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1787 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1788 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1790 test -z "$LD" && LD="$ac_prog"
1793 # If it fails, then pretend we aren't using GCC.
1797 # If it is relative, then search for the first ld in PATH.
1801 elif test "$with_gnu_ld" = yes; then
1802 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1803 echo "configure:1804: checking for GNU ld" >&5
1805 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1806 echo "configure:1807: checking for non-GNU ld" >&5
1808 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1809 echo $ac_n "(cached) $ac_c" 1>&6
1811 if test -z "$LD"; then
1812 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1813 for ac_dir in $PATH; do
1814 test -z "$ac_dir" && ac_dir=.
1815 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1816 lt_cv_path_LD="$ac_dir/$ac_prog"
1817 # Check to see if the program is GNU ld. I'd rather use --version,
1818 # but apparently some GNU ld's only accept -v.
1819 # Break only if it was the GNU/non-GNU ld that we prefer.
1820 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1821 test "$with_gnu_ld" != no && break
1823 test "$with_gnu_ld" != yes && break
1829 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1834 if test -n "$LD"; then
1835 echo "$ac_t""$LD" 1>&6
1837 echo "$ac_t""no" 1>&6
1839 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1840 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1841 echo "configure:1842: checking if the linker ($LD) is GNU ld" >&5
1842 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1843 echo $ac_n "(cached) $ac_c" 1>&6
1845 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1846 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1847 lt_cv_prog_gnu_ld=yes
1849 lt_cv_prog_gnu_ld=no
1853 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1854 with_gnu_ld=$lt_cv_prog_gnu_ld
1857 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1858 echo "configure:1859: checking for $LD option to reload object files" >&5
1859 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1860 echo $ac_n "(cached) $ac_c" 1>&6
1862 lt_cv_ld_reload_flag='-r'
1865 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1866 reload_flag=$lt_cv_ld_reload_flag
1867 test -n "$reload_flag" && reload_flag=" $reload_flag"
1869 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1870 echo "configure:1871: checking for BSD-compatible nm" >&5
1871 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1872 echo $ac_n "(cached) $ac_c" 1>&6
1874 if test -n "$NM"; then
1875 # Let the user override the test.
1878 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1879 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1880 test -z "$ac_dir" && ac_dir=.
1881 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1882 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1883 # Check to see if the nm accepts a BSD-compat flag.
1884 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1885 # nm: unknown option "B" ignored
1886 # Tru64's nm complains that /dev/null is an invalid object file
1887 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1888 lt_cv_path_NM="$tmp_nm -B"
1890 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1891 lt_cv_path_NM="$tmp_nm -p"
1894 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1895 continue # so that we can try to find one that supports BSD flags
1900 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1905 echo "$ac_t""$NM" 1>&6
1907 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1908 echo "configure:1909: checking how to recognise dependant libraries" >&5
1909 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1910 echo $ac_n "(cached) $ac_c" 1>&6
1912 lt_cv_file_magic_cmd='$MAGIC_CMD'
1913 lt_cv_file_magic_test_file=
1914 lt_cv_deplibs_check_method='unknown'
1915 # Need to set the preceding variable on all platforms that support
1916 # interlibrary dependencies.
1917 # 'none' -- dependencies not supported.
1918 # `unknown' -- same as none, but documents that we really don't know.
1919 # 'pass_all' -- all dependencies passed with no checks.
1920 # 'test_compile' -- check by making test program.
1921 # 'file_magic [regex]' -- check by looking for files in library path
1922 # which responds to the $file_magic_cmd with a given egrep regex.
1923 # If you have `file' or equivalent on your system and you're not sure
1924 # whether `pass_all' will *always* work, you probably want this one.
1928 lt_cv_deplibs_check_method=pass_all
1932 lt_cv_deplibs_check_method=pass_all
1936 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1937 lt_cv_file_magic_cmd='/usr/bin/file -L'
1938 lt_cv_file_magic_test_file=/shlib/libc.so
1941 cygwin* | mingw* |pw32*)
1942 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1943 lt_cv_file_magic_cmd='$OBJDUMP -f'
1946 darwin* | rhapsody*)
1947 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1948 lt_cv_file_magic_cmd='/usr/bin/file -L'
1950 rhapsody* | darwin1.012)
1951 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1954 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1960 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1963 # Not sure whether the presence of OpenBSD here was a mistake.
1964 # Let's accept both of them until this is cleared up.
1965 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1966 lt_cv_file_magic_cmd=/usr/bin/file
1967 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1971 lt_cv_deplibs_check_method=pass_all
1976 lt_cv_deplibs_check_method=pass_all
1980 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1981 lt_cv_file_magic_cmd=/usr/bin/file
1982 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1988 # this will be overridden with pass_all, but let us keep it just in case
1989 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1993 *-32|*"-32 ") libmagic=32-bit;;
1994 *-n32|*"-n32 ") libmagic=N32;;
1995 *-64|*"-64 ") libmagic=64-bit;;
1996 *) libmagic=never-match;;
1998 # this will be overridden with pass_all, but let us keep it just in case
1999 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2002 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2003 lt_cv_deplibs_check_method=pass_all
2006 # This must be Linux ELF.
2009 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2010 lt_cv_deplibs_check_method=pass_all ;;
2012 # glibc up to 2.1.1 does not perform some relocations on ARM
2013 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2015 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2019 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2020 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2022 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2028 lt_cv_file_magic_cmd=/usr/bin/file
2029 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2032 osf3* | osf4* | osf5*)
2033 # this will be overridden with pass_all, but let us keep it just in case
2034 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2035 lt_cv_file_magic_test_file=/shlib/libc.so
2036 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_deplibs_check_method=pass_all
2044 lt_cv_deplibs_check_method=pass_all
2045 lt_cv_file_magic_test_file=/lib/libc.so
2048 sysv5uw[78]* | sysv4*uw2*)
2049 lt_cv_deplibs_check_method=pass_all
2052 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2053 case $host_vendor in
2055 lt_cv_deplibs_check_method=pass_all
2058 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]'
2059 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2067 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2068 file_magic_cmd=$lt_cv_file_magic_cmd
2069 deplibs_check_method=$lt_cv_deplibs_check_method
2071 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2072 echo "configure:2073: checking for object suffix" >&5
2073 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2074 echo $ac_n "(cached) $ac_c" 1>&6
2077 echo 'int i = 1;' > conftest.$ac_ext
2078 if { (eval echo configure:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2079 for ac_file in conftest.*; do
2082 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2086 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2091 echo "$ac_t""$ac_cv_objext" 1>&6
2092 OBJEXT=$ac_cv_objext
2093 ac_objext=$ac_cv_objext
2095 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2097 # Only perform the check for file, if the check method requires it
2098 case $deplibs_check_method in
2100 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2101 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2102 echo "configure:2103: checking for ${ac_tool_prefix}file" >&5
2103 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2104 echo $ac_n "(cached) $ac_c" 1>&6
2108 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2111 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2114 ac_save_MAGIC_CMD="$MAGIC_CMD"
2115 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2116 ac_dummy="/usr/bin:$PATH"
2117 for ac_dir in $ac_dummy; do
2118 test -z "$ac_dir" && ac_dir=.
2119 if test -f $ac_dir/${ac_tool_prefix}file; then
2120 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2121 if test -n "$file_magic_test_file"; then
2122 case $deplibs_check_method in
2124 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2125 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2126 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2127 egrep "$file_magic_regex" > /dev/null; then
2132 *** Warning: the command libtool uses to detect shared libraries,
2133 *** $file_magic_cmd, produces output that libtool cannot recognize.
2134 *** The result is that libtool may fail to recognize shared libraries
2135 *** as such. This will affect the creation of libtool libraries that
2136 *** depend on shared libraries, but programs linked with such libtool
2137 *** libraries will work regardless of this problem. Nevertheless, you
2138 *** may want to report the problem to your system manager and/or to
2139 *** bug-libtool@gnu.org
2149 MAGIC_CMD="$ac_save_MAGIC_CMD"
2154 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2155 if test -n "$MAGIC_CMD"; then
2156 echo "$ac_t""$MAGIC_CMD" 1>&6
2158 echo "$ac_t""no" 1>&6
2161 if test -z "$lt_cv_path_MAGIC_CMD"; then
2162 if test -n "$ac_tool_prefix"; then
2163 echo $ac_n "checking for file""... $ac_c" 1>&6
2164 echo "configure:2165: checking for file" >&5
2165 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2166 echo $ac_n "(cached) $ac_c" 1>&6
2170 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2173 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2176 ac_save_MAGIC_CMD="$MAGIC_CMD"
2177 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2178 ac_dummy="/usr/bin:$PATH"
2179 for ac_dir in $ac_dummy; do
2180 test -z "$ac_dir" && ac_dir=.
2181 if test -f $ac_dir/file; then
2182 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2183 if test -n "$file_magic_test_file"; then
2184 case $deplibs_check_method in
2186 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2187 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2188 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2189 egrep "$file_magic_regex" > /dev/null; then
2194 *** Warning: the command libtool uses to detect shared libraries,
2195 *** $file_magic_cmd, produces output that libtool cannot recognize.
2196 *** The result is that libtool may fail to recognize shared libraries
2197 *** as such. This will affect the creation of libtool libraries that
2198 *** depend on shared libraries, but programs linked with such libtool
2199 *** libraries will work regardless of this problem. Nevertheless, you
2200 *** may want to report the problem to your system manager and/or to
2201 *** bug-libtool@gnu.org
2211 MAGIC_CMD="$ac_save_MAGIC_CMD"
2216 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2217 if test -n "$MAGIC_CMD"; then
2218 echo "$ac_t""$MAGIC_CMD" 1>&6
2220 echo "$ac_t""no" 1>&6
2232 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2233 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2234 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2235 echo "configure:2236: checking for $ac_word" >&5
2236 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2237 echo $ac_n "(cached) $ac_c" 1>&6
2239 if test -n "$RANLIB"; then
2240 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2242 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2244 for ac_dir in $ac_dummy; do
2245 test -z "$ac_dir" && ac_dir=.
2246 if test -f $ac_dir/$ac_word; then
2247 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2254 RANLIB="$ac_cv_prog_RANLIB"
2255 if test -n "$RANLIB"; then
2256 echo "$ac_t""$RANLIB" 1>&6
2258 echo "$ac_t""no" 1>&6
2262 if test -z "$ac_cv_prog_RANLIB"; then
2263 if test -n "$ac_tool_prefix"; then
2264 # Extract the first word of "ranlib", so it can be a program name with args.
2265 set dummy ranlib; ac_word=$2
2266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2267 echo "configure:2268: checking for $ac_word" >&5
2268 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2269 echo $ac_n "(cached) $ac_c" 1>&6
2271 if test -n "$RANLIB"; then
2272 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2276 for ac_dir in $ac_dummy; do
2277 test -z "$ac_dir" && ac_dir=.
2278 if test -f $ac_dir/$ac_word; then
2279 ac_cv_prog_RANLIB="ranlib"
2284 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2287 RANLIB="$ac_cv_prog_RANLIB"
2288 if test -n "$RANLIB"; then
2289 echo "$ac_t""$RANLIB" 1>&6
2291 echo "$ac_t""no" 1>&6
2299 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2300 set dummy ${ac_tool_prefix}strip; ac_word=$2
2301 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2302 echo "configure:2303: checking for $ac_word" >&5
2303 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2304 echo $ac_n "(cached) $ac_c" 1>&6
2306 if test -n "$STRIP"; then
2307 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2309 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2311 for ac_dir in $ac_dummy; do
2312 test -z "$ac_dir" && ac_dir=.
2313 if test -f $ac_dir/$ac_word; then
2314 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2321 STRIP="$ac_cv_prog_STRIP"
2322 if test -n "$STRIP"; then
2323 echo "$ac_t""$STRIP" 1>&6
2325 echo "$ac_t""no" 1>&6
2329 if test -z "$ac_cv_prog_STRIP"; then
2330 if test -n "$ac_tool_prefix"; then
2331 # Extract the first word of "strip", so it can be a program name with args.
2332 set dummy strip; ac_word=$2
2333 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2334 echo "configure:2335: checking for $ac_word" >&5
2335 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2336 echo $ac_n "(cached) $ac_c" 1>&6
2338 if test -n "$STRIP"; then
2339 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2341 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2343 for ac_dir in $ac_dummy; do
2344 test -z "$ac_dir" && ac_dir=.
2345 if test -f $ac_dir/$ac_word; then
2346 ac_cv_prog_STRIP="strip"
2351 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2354 STRIP="$ac_cv_prog_STRIP"
2355 if test -n "$STRIP"; then
2356 echo "$ac_t""$STRIP" 1>&6
2358 echo "$ac_t""no" 1>&6
2367 # Check for any special flags to pass to ltconfig.
2368 libtool_flags="--cache-file=$cache_file"
2369 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2370 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2371 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2372 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2373 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2374 libtool_flags="$libtool_flags --enable-dlopen"
2376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2377 if test "${enable_libtool_lock+set}" = set; then
2378 enableval="$enable_libtool_lock"
2382 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2383 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2385 # Check whether --with-pic or --without-pic was given.
2386 if test "${with_pic+set}" = set; then
2393 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2394 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2396 # Some flags need to be propagated to the compiler or linker for good
2400 # Find out which ABI we are using.
2401 echo '#line 2402 "configure"' > conftest.$ac_ext
2402 if { (eval echo configure:2403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2403 case `/usr/bin/file conftest.$ac_objext` in
2419 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2420 SAVE_CFLAGS="$CFLAGS"
2421 CFLAGS="$CFLAGS -belf"
2422 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2423 echo "configure:2424: checking whether the C compiler needs -belf" >&5
2424 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2425 echo $ac_n "(cached) $ac_c" 1>&6
2429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2433 cross_compiling=$ac_cv_prog_cc_cross
2435 cat > conftest.$ac_ext <<EOF
2436 #line 2437 "configure"
2437 #include "confdefs.h"
2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2445 lt_cv_cc_needs_belf=yes
2447 echo "configure: failed program was:" >&5
2448 cat conftest.$ac_ext >&5
2450 lt_cv_cc_needs_belf=no
2454 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2455 ac_cpp='$CPP $CPPFLAGS'
2456 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2457 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2458 cross_compiling=$ac_cv_prog_cc_cross
2462 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2463 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2464 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2465 CFLAGS="$SAVE_CFLAGS"
2472 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2473 echo "configure:2474: checking how to run the C++ preprocessor" >&5
2474 if test -z "$CXXCPP"; then
2475 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2476 echo $ac_n "(cached) $ac_c" 1>&6
2479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2480 ac_cpp='$CXXCPP $CPPFLAGS'
2481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2483 cross_compiling=$ac_cv_prog_cxx_cross
2484 CXXCPP="${CXX-g++} -E"
2485 cat > conftest.$ac_ext <<EOF
2486 #line 2487 "configure"
2487 #include "confdefs.h"
2490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2491 { (eval echo configure:2492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2493 if test -z "$ac_err"; then
2497 echo "configure: failed program was:" >&5
2498 cat conftest.$ac_ext >&5
2503 ac_cv_prog_CXXCPP="$CXXCPP"
2505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2506 ac_cpp='$CPP $CPPFLAGS'
2507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2509 cross_compiling=$ac_cv_prog_cc_cross
2512 CXXCPP="$ac_cv_prog_CXXCPP"
2513 echo "$ac_t""$CXXCPP" 1>&6
2516 # Save cache, so that ltconfig can load it
2517 cat > confcache <<\EOF
2518 # This file is a shell script that caches the results of configure
2519 # tests run on this system so they can be shared between configure
2520 # scripts and configure runs. It is not useful on other systems.
2521 # If it contains results you don't want to keep, you may remove or edit it.
2523 # By default, configure uses ./config.cache as the cache file,
2524 # creating it if it does not exist already. You can give configure
2525 # the --cache-file=FILE option to use a different cache file; that is
2526 # what configure does when it calls configure scripts in
2527 # subdirectories, so they share the cache.
2528 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2529 # config.status only pays attention to the cache file if you give it the
2530 # --recheck option to rerun configure.
2533 # The following way of writing the cache mishandles newlines in values,
2534 # but we know of no workaround that is simple, portable, and efficient.
2535 # So, don't put newlines in cache variables' values.
2536 # Ultrix sh set writes to stderr and can't be redirected directly,
2537 # and sets the high bit in the cache file unless we assign to the vars.
2539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2541 # `set' does not quote correctly, so add quotes (double-quote substitution
2542 # turns \\\\ into \\, and sed turns \\ into \).
2544 -e "s/'/'\\\\''/g" \
2545 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2548 # `set' quotes correctly as required by POSIX, so do not add quotes.
2549 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2552 if cmp -s $cache_file confcache; then
2555 if test -w $cache_file; then
2556 echo "updating cache $cache_file"
2557 cat confcache > $cache_file
2559 echo "not updating unwritable cache $cache_file"
2565 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2566 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2567 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2568 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2569 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2570 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2571 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2572 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2573 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2574 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2576 # Reload cache, that may have been modified by ltconfig
2577 if test -r "$cache_file"; then
2578 echo "loading cache $cache_file"
2581 echo "creating cache $cache_file"
2586 # This can be used to rebuild libtool when needed
2587 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2589 # Always use our own libtool.
2590 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2592 # Redirect the config.log output again, so that the ltconfig log is not
2593 # clobbered by the next message.
2594 exec 5>>./config.log
2598 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2600 lt_save_CFLAGS="$CFLAGS"
2601 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2602 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2603 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2604 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2605 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2606 deplibs_check_method="$deplibs_check_method" \
2607 file_magic_cmd="$file_magic_cmd" \
2608 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2609 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2610 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2612 CFLAGS="$lt_save_CFLAGS"
2614 # Redirect the config.log output again, so that the ltconfig log is not
2615 # clobbered by the next message.
2616 exec 5>>./config.log
2626 # Check for c++ or library specific bits that don't require linking.
2627 #GLIBCPP_CHECK_COMPILER_VERSION
2628 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2629 echo "configure:2630: checking for GNU make" >&5
2630 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2631 echo $ac_n "(cached) $ac_c" 1>&6
2633 _cv_gnu_make_command='' ;
2634 for a in "${MAKE-make}" make gmake gnumake ; do
2635 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2637 _cv_gnu_make_command=$a ;
2644 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2645 if test "x$_cv_gnu_make_command" != "x" ; then
2653 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2654 # Check whether --enable-debug or --disable-debug was given.
2655 if test "${enable_debug+set}" = set; then
2656 enableval="$enable_debug"
2657 case "${enableval}" in
2658 yes) enable_debug=yes ;;
2659 no) enable_debug=no ;;
2660 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2666 case "${enable_debug}" in
2668 DEBUG_FLAGS='-O0 -ggdb3'
2676 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2677 echo "configure:2678: checking how to run the C preprocessor" >&5
2678 # On Suns, sometimes $CPP names a directory.
2679 if test -n "$CPP" && test -d "$CPP"; then
2682 if test -z "$CPP"; then
2683 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 # This must be in double quotes, not single quotes, because CPP may get
2687 # substituted into the Makefile and "${CC-cc}" will confuse make.
2689 # On the NeXT, cc -E runs the code through the compiler's parser,
2690 # not just through cpp.
2691 cat > conftest.$ac_ext <<EOF
2692 #line 2693 "configure"
2693 #include "confdefs.h"
2697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2698 { (eval echo configure:2699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2700 if test -z "$ac_err"; then
2704 echo "configure: failed program was:" >&5
2705 cat conftest.$ac_ext >&5
2707 CPP="${CC-cc} -E -traditional-cpp"
2708 cat > conftest.$ac_ext <<EOF
2709 #line 2710 "configure"
2710 #include "confdefs.h"
2714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2715 { (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2717 if test -z "$ac_err"; then
2721 echo "configure: failed program was:" >&5
2722 cat conftest.$ac_ext >&5
2724 CPP="${CC-cc} -nologo -E"
2725 cat > conftest.$ac_ext <<EOF
2726 #line 2727 "configure"
2727 #include "confdefs.h"
2731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2732 { (eval echo configure:2733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2734 if test -z "$ac_err"; then
2738 echo "configure: failed program was:" >&5
2739 cat conftest.$ac_ext >&5
2748 ac_cv_prog_CPP="$CPP"
2750 CPP="$ac_cv_prog_CPP"
2752 ac_cv_prog_CPP="$CPP"
2754 echo "$ac_t""$CPP" 1>&6
2757 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2758 echo "configure:2759: checking for cstdio to use" >&5
2759 # Check whether --enable-cstdio or --disable-cstdio was given.
2760 if test "${enable_cstdio+set}" = set; then
2761 enableval="$enable_cstdio"
2762 if test x$enable_cstdio = xno; then
2770 enable_cstdio_flag=$enable_cstdio
2772 case x${enable_cstdio_flag} in
2774 CSTDIO_H=config/io/c_io_libio.h
2775 BASIC_FILE_H=config/io/basic_file_libio.h
2776 BASIC_FILE_CC=config/io/basic_file_libio.cc
2777 echo "$ac_t""libio" 1>&6
2779 # see if we are on a system with libio native (ie, linux)
2780 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2781 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2782 echo "configure:2783: checking for libio.h" >&5
2783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2784 echo $ac_n "(cached) $ac_c" 1>&6
2786 cat > conftest.$ac_ext <<EOF
2787 #line 2788 "configure"
2788 #include "confdefs.h"
2791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2792 { (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2794 if test -z "$ac_err"; then
2796 eval "ac_cv_header_$ac_safe=yes"
2799 echo "configure: failed program was:" >&5
2800 cat conftest.$ac_ext >&5
2802 eval "ac_cv_header_$ac_safe=no"
2806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2807 echo "$ac_t""yes" 1>&6
2810 echo "$ac_t""no" 1>&6
2815 # Need to check and see what version of glibc is being used. If
2816 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2817 # compile most of libio for linux systems.
2818 if test x$has_libio = x"yes"; then
2821 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2822 echo "configure:2823: checking for glibc version >= 2.2" >&5
2823 cat > conftest.$ac_ext <<EOF
2824 #line 2825 "configure"
2825 #include "confdefs.h"
2827 #include <features.h>
2828 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2834 egrep "ok" >/dev/null 2>&1; then
2836 glibc_satisfactory=yes
2839 glibc_satisfactory=no
2843 echo "$ac_t""$glibc_satisfactory" 1>&6
2847 # XXX at the moment, admit defeat and force the recompilation
2848 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2849 glibc_satisfactory=no
2851 if test x$glibc_satisfactory = x"yes"; then
2856 # bkoz XXX need to add checks to enable this
2857 # pme XXX here's a first pass at such a check
2858 if test x$enable_c_mbchar != xno; then
2866 # Using libio, but <libio.h> doesn't exist on the target system. . .
2868 # bkoz XXX need to add checks to enable this
2869 # pme XXX here's a first pass at such a check
2870 if test x$enable_c_mbchar != xno; then
2877 xstdio | x | xno | xnone | xyes)
2879 CSTDIO_H=config/io/c_io_stdio.h
2880 BASIC_FILE_H=config/io/basic_file_stdio.h
2881 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2882 echo "$ac_t""stdio" 1>&6
2884 # We're not using stdio.
2889 echo "$enable_cstdio is an unknown io package" 1>&2
2897 # 2000-08-04 bkoz hack
2898 CCODECVT_C=config/io/c_io_libio_codecvt.c
2900 # 2000-08-04 bkoz hack
2904 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2905 GLIBCPP_BUILD_LIBIO_TRUE=
2906 GLIBCPP_BUILD_LIBIO_FALSE='#'
2908 GLIBCPP_BUILD_LIBIO_TRUE='#'
2909 GLIBCPP_BUILD_LIBIO_FALSE=
2913 if test "$need_libio" = yes; then
2914 GLIBCPP_NEED_LIBIO_TRUE=
2915 GLIBCPP_NEED_LIBIO_FALSE='#'
2917 GLIBCPP_NEED_LIBIO_TRUE='#'
2918 GLIBCPP_NEED_LIBIO_FALSE=
2922 if test "$need_wlibio" = yes; then
2923 GLIBCPP_NEED_WLIBIO_TRUE=
2924 GLIBCPP_NEED_WLIBIO_FALSE='#'
2926 GLIBCPP_NEED_WLIBIO_TRUE='#'
2927 GLIBCPP_NEED_WLIBIO_FALSE=
2929 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2930 libio_la=../libio/libio.la
2937 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2938 echo "configure:2939: checking for clocale to use" >&5
2939 # Check whether --enable-clocale or --disable-clocale was given.
2940 if test "${enable_clocale+set}" = set; then
2941 enableval="$enable_clocale"
2942 if test x$enable_clocale = xno; then
2943 enable_clocale=generic
2946 enable_clocale=generic
2950 enable_clocale_flag=$enable_clocale
2952 case x${enable_clocale_flag} in
2954 echo "$ac_t""generic" 1>&6
2956 # Don't use gettext.
2959 CLOCALE_H=config/locale/c_locale_generic.h
2960 CLOCALE_CC=config/locale/c_locale_generic.cc
2961 CCODECVT_H=config/locale/codecvt_specializations_generic.h
2962 CCOLLATE_CC=config/locale/collate_members_generic.cc
2963 CMESSAGES_H=config/locale/messages_members_generic.h
2964 CMESSAGES_CC=config/locale/messages_members_generic.cc
2965 CMONEY_CC=config/locale/moneypunct_members_generic.cc
2966 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
2967 CTIME_CC=config/locale/time_members_generic.cc
2970 echo "$ac_t""gnu" 1>&6
2972 # Declare intention to use gettext, and add support for specific
2974 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
2976 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
2977 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
2980 # Export the build objects.
2981 for ling in $ALL_LINGUAS; do \
2982 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
2983 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
2988 CLOCALE_H=config/locale/c_locale_gnu.h
2989 CLOCALE_CC=config/locale/c_locale_gnu.cc
2990 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
2991 CCOLLATE_CC=config/locale/collate_members_gnu.cc
2992 CMESSAGES_H=config/locale/messages_members_gnu.h
2993 CMESSAGES_CC=config/locale/messages_members_gnu.cc
2994 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
2995 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
2996 CTIME_CC=config/locale/time_members_gnu.cc
2999 echo "$ac_t""generic" 1>&6
3001 # Don't use gettext.
3004 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3005 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3006 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3007 CCOLLATE_CC=config/locale/collate_members_generic.cc
3008 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3009 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3010 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3011 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3012 CTIME_CC=config/locale/time_members_generic.cc
3015 echo "$enable_clocale is an unknown locale package" 1>&2
3020 # This is where the testsuite looks for locale catalogs, using the
3021 # -DLOCALEDIR define during testsuite compilation.
3022 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3036 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3037 if test "${enable_c_mbchar+set}" = set; then
3038 enableval="$enable_c_mbchar"
3039 case "$enableval" in
3040 yes) enable_c_mbchar=yes ;;
3041 no) enable_c_mbchar=no ;;
3042 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3049 # Check whether --enable-c99 or --disable-c99 was given.
3050 if test "${enable_c99+set}" = set; then
3051 enableval="$enable_c99"
3052 case "$enableval" in
3053 yes) enable_c99=yes ;;
3054 no) enable_c99=no ;;
3055 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3064 ac_cpp='$CXXCPP $CPPFLAGS'
3065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3067 cross_compiling=$ac_cv_prog_cxx_cross
3070 # Check for the existence of <math.h> functions used if C99 is enabled.
3072 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3073 echo "configure:3074: checking for ISO C99 support in <math.h>" >&5
3074 cat > conftest.$ac_ext <<EOF
3075 #line 3076 "configure"
3076 #include "confdefs.h"
3082 if { (eval echo configure:3083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3085 echo "configure: failed program was:" >&5
3086 cat conftest.$ac_ext >&5
3091 cat > conftest.$ac_ext <<EOF
3092 #line 3093 "configure"
3093 #include "confdefs.h"
3099 if { (eval echo configure:3100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3102 echo "configure: failed program was:" >&5
3103 cat conftest.$ac_ext >&5
3108 cat > conftest.$ac_ext <<EOF
3109 #line 3110 "configure"
3110 #include "confdefs.h"
3116 if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3119 echo "configure: failed program was:" >&5
3120 cat conftest.$ac_ext >&5
3125 cat > conftest.$ac_ext <<EOF
3126 #line 3127 "configure"
3127 #include "confdefs.h"
3133 if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3136 echo "configure: failed program was:" >&5
3137 cat conftest.$ac_ext >&5
3142 cat > conftest.$ac_ext <<EOF
3143 #line 3144 "configure"
3144 #include "confdefs.h"
3150 if { (eval echo configure:3151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3153 echo "configure: failed program was:" >&5
3154 cat conftest.$ac_ext >&5
3159 cat > conftest.$ac_ext <<EOF
3160 #line 3161 "configure"
3161 #include "confdefs.h"
3167 if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3170 echo "configure: failed program was:" >&5
3171 cat conftest.$ac_ext >&5
3176 cat > conftest.$ac_ext <<EOF
3177 #line 3178 "configure"
3178 #include "confdefs.h"
3184 if { (eval echo configure:3185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3187 echo "configure: failed program was:" >&5
3188 cat conftest.$ac_ext >&5
3193 cat > conftest.$ac_ext <<EOF
3194 #line 3195 "configure"
3195 #include "confdefs.h"
3198 isgreaterequal(0.0,0.0);
3201 if { (eval echo configure:3202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3204 echo "configure: failed program was:" >&5
3205 cat conftest.$ac_ext >&5
3210 cat > conftest.$ac_ext <<EOF
3211 #line 3212 "configure"
3212 #include "confdefs.h"
3218 if { (eval echo configure:3219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3221 echo "configure: failed program was:" >&5
3222 cat conftest.$ac_ext >&5
3227 cat > conftest.$ac_ext <<EOF
3228 #line 3229 "configure"
3229 #include "confdefs.h"
3232 islessequal(0.0,0.0);
3235 if { (eval echo configure:3236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3238 echo "configure: failed program was:" >&5
3239 cat conftest.$ac_ext >&5
3244 cat > conftest.$ac_ext <<EOF
3245 #line 3246 "configure"
3246 #include "confdefs.h"
3249 islessgreater(0.0,0.0);
3252 if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3255 echo "configure: failed program was:" >&5
3256 cat conftest.$ac_ext >&5
3261 cat > conftest.$ac_ext <<EOF
3262 #line 3263 "configure"
3263 #include "confdefs.h"
3266 isunordered(0.0,0.0);
3269 if { (eval echo configure:3270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3272 echo "configure: failed program was:" >&5
3273 cat conftest.$ac_ext >&5
3278 echo "$ac_t""$ac_c99_math" 1>&6
3280 # Check for the existence in <stdio.h> of vscanf, et. al.
3282 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3283 echo "configure:3284: checking for ISO C99 support in <stdio.h>" >&5
3284 cat > conftest.$ac_ext <<EOF
3285 #line 3286 "configure"
3286 #include "confdefs.h"
3289 snprintf("12", 0, "%i");
3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3295 echo "configure: failed program was:" >&5
3296 cat conftest.$ac_ext >&5
3301 cat > conftest.$ac_ext <<EOF
3302 #line 3303 "configure"
3303 #include "confdefs.h"
3306 void foo(char* fmt, ...)
3307 {va_list args; va_start(args, fmt);
3308 vfscanf(stderr, "%i", args);}
3313 if { (eval echo configure:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3316 echo "configure: failed program was:" >&5
3317 cat conftest.$ac_ext >&5
3322 cat > conftest.$ac_ext <<EOF
3323 #line 3324 "configure"
3324 #include "confdefs.h"
3327 void foo(char* fmt, ...)
3328 {va_list args; va_start(args, fmt);
3329 vscanf("%i", args);}
3334 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3337 echo "configure: failed program was:" >&5
3338 cat conftest.$ac_ext >&5
3343 cat > conftest.$ac_ext <<EOF
3344 #line 3345 "configure"
3345 #include "confdefs.h"
3348 void foo(char* fmt, ...)
3349 {va_list args; va_start(args, fmt);
3350 vsnprintf(fmt, 0, "%i", args);}
3355 if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3358 echo "configure: failed program was:" >&5
3359 cat conftest.$ac_ext >&5
3364 cat > conftest.$ac_ext <<EOF
3365 #line 3366 "configure"
3366 #include "confdefs.h"
3369 void foo(char* fmt, ...)
3370 {va_list args; va_start(args, fmt);
3371 vsscanf(fmt, "%i", args);}
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 echo "$ac_t""$ac_c99_stdio" 1>&6
3387 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3389 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3390 echo "configure:3391: checking for lldiv_t declaration" >&5
3391 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3392 echo $ac_n "(cached) $ac_c" 1>&6
3395 cat > conftest.$ac_ext <<EOF
3396 #line 3397 "configure"
3397 #include "confdefs.h"
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3407 echo "configure: failed program was:" >&5
3408 cat conftest.$ac_ext >&5
3416 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3418 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3419 echo "configure:3420: checking for ISO C99 support in <stdlib.h>" >&5
3420 cat > conftest.$ac_ext <<EOF
3421 #line 3422 "configure"
3422 #include "confdefs.h"
3425 char* tmp; strtof("gnu", &tmp);
3428 if { (eval echo configure:3429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3431 echo "configure: failed program was:" >&5
3432 cat conftest.$ac_ext >&5
3437 cat > conftest.$ac_ext <<EOF
3438 #line 3439 "configure"
3439 #include "confdefs.h"
3442 char* tmp; strtold("gnu", &tmp);
3445 if { (eval echo configure:3446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3448 echo "configure: failed program was:" >&5
3449 cat conftest.$ac_ext >&5
3454 cat > conftest.$ac_ext <<EOF
3455 #line 3456 "configure"
3456 #include "confdefs.h"
3459 char* tmp; strtoll("gnu", &tmp, 10);
3462 if { (eval echo configure:3463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3465 echo "configure: failed program was:" >&5
3466 cat conftest.$ac_ext >&5
3471 cat > conftest.$ac_ext <<EOF
3472 #line 3473 "configure"
3473 #include "confdefs.h"
3476 char* tmp; strtoull("gnu", &tmp, 10);
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"
3496 if { (eval echo configure:3497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3499 echo "configure: failed program was:" >&5
3500 cat conftest.$ac_ext >&5
3505 cat > conftest.$ac_ext <<EOF
3506 #line 3507 "configure"
3507 #include "confdefs.h"
3513 if { (eval echo configure:3514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3516 echo "configure: failed program was:" >&5
3517 cat conftest.$ac_ext >&5
3522 cat > conftest.$ac_ext <<EOF
3523 #line 3524 "configure"
3524 #include "confdefs.h"
3530 if { (eval echo configure:3531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3533 echo "configure: failed program was:" >&5
3534 cat conftest.$ac_ext >&5
3539 cat > conftest.$ac_ext <<EOF
3540 #line 3541 "configure"
3541 #include "confdefs.h"
3547 if { (eval echo configure:3548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3550 echo "configure: failed program was:" >&5
3551 cat conftest.$ac_ext >&5
3556 if test x"$ac_c99_lldiv_t" = x"no"; then
3559 echo "$ac_t""$ac_c99_stdlib" 1>&6
3561 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3562 # XXX the wchar.h checks should be rolled into the general C99 bits.
3564 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3565 echo "configure:3566: checking for additional ISO C99 support in <wchar.h>" >&5
3566 cat > conftest.$ac_ext <<EOF
3567 #line 3568 "configure"
3568 #include "confdefs.h"
3571 wcstold(L"10.0", NULL);
3574 if { (eval echo configure:3575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3577 echo "configure: failed program was:" >&5
3578 cat conftest.$ac_ext >&5
3583 cat > conftest.$ac_ext <<EOF
3584 #line 3585 "configure"
3585 #include "confdefs.h"
3588 wcstoll(L"10", NULL, 10);
3591 if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3594 echo "configure: failed program was:" >&5
3595 cat conftest.$ac_ext >&5
3600 cat > conftest.$ac_ext <<EOF
3601 #line 3602 "configure"
3602 #include "confdefs.h"
3605 wcstoull(L"10", NULL, 10);
3608 if { (eval echo configure:3609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3611 echo "configure: failed program was:" >&5
3612 cat conftest.$ac_ext >&5
3617 echo "$ac_t""$ac_c99_wchar" 1>&6
3619 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3620 echo "configure:3621: checking for enabled ISO C99 support" >&5
3621 if test x"$ac_c99_math" = x"no" ||
3622 test x"$ac_c99_stdio" = x"no" ||
3623 test x"$ac_c99_stdlib" = x"no" ||
3624 test x"$ac_c99_wchar" = x"no"; then
3627 echo "$ac_t""$enable_c99" 1>&6
3629 # Option parsed, now set things appropriately
3630 if test x"$enable_c99" = x"yes"; then
3631 cat >> confdefs.h <<\EOF
3632 #define _GLIBCPP_USE_C99 1
3638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3642 cross_compiling=$ac_cv_prog_cc_cross
3646 # Check whether --enable-long-long or --disable-long-long was given.
3647 if test "${enable_long_long+set}" = set; then
3648 enableval="$enable_long_long"
3649 case "$enableval" in
3650 yes) enable_long_long=yes ;;
3651 no) enable_long_long=no ;;
3652 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3655 enable_long_long=yes
3658 # iostreams require strtoll, strtoull to compile. If the
3659 # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
3660 # go ahead and allow long long to be used.
3661 if test x"$enable_c99" = x"no"; then
3662 enable_long_long=no;
3665 # Option parsed, now set things appropriately
3666 echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
3667 echo "configure:3668: checking for enabled long long support" >&5
3668 if test x"$enable_long_long" = xyes; then
3669 cat >> confdefs.h <<\EOF
3670 #define _GLIBCPP_USE_LONG_LONG 1
3674 echo "$ac_t""$enable_long_long" 1>&6
3676 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3677 echo "configure:3678: checking for c header strategy to use" >&5
3678 # Check whether --enable-cheaders or --disable-cheaders was given.
3679 if test "${enable_cheaders+set}" = set; then
3680 enableval="$enable_cheaders"
3682 case "$enableval" in
3687 enable_cheaders=c_std
3690 enable_cheaders=c_shadow
3692 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3696 enable_cheaders=c_std
3699 echo "$ac_t""$enable_cheaders" 1>&6
3701 case "$enable_cheaders" in
3703 CSHADOW_FLAGS="-fno-builtin"
3704 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3705 cat >> confdefs.h <<\EOF
3706 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3712 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3716 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3724 if test "$enable_cheaders" = c_shadow; then
3725 GLIBCPP_USE_CSHADOW_TRUE=
3726 GLIBCPP_USE_CSHADOW_FALSE='#'
3728 GLIBCPP_USE_CSHADOW_TRUE='#'
3729 GLIBCPP_USE_CSHADOW_FALSE=
3733 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3734 echo "configure:3735: checking for thread model used by GCC" >&5
3735 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3736 echo "$ac_t""$target_thread_file" 1>&6
3738 if test $target_thread_file != single; then
3739 cat >> confdefs.h <<\EOF
3740 #define HAVE_GTHR_DEFAULT 1
3743 cat >> confdefs.h <<\EOF
3744 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3749 glibcpp_thread_h=gthr-$target_thread_file.h
3752 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3753 if test "${enable_cxx_flags+set}" = set; then
3754 enableval="$enable_cxx_flags"
3755 case "x$enableval" in
3757 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3759 enable_cxx_flags='' ;;
3761 enable_cxx_flags="$enableval" ;;
3764 enable_cxx_flags='none'
3768 if test "$enable_cxx_flags" = "none"; then
3769 enable_cxx_flags='';
3772 if test -n "$enable_cxx_flags"; then
3773 for f in $enable_cxx_flags; do
3777 *) # and we're trying to pass /what/ exactly?
3778 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3782 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3786 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3787 echo "configure:3788: checking for exception model to use" >&5
3790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3791 ac_cpp='$CXXCPP $CPPFLAGS'
3792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3794 cross_compiling=$ac_cv_prog_cxx_cross
3796 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3797 if test "${enable_sjlj_exceptions+set}" = set; then
3798 enableval="$enable_sjlj_exceptions"
3801 cat > conftest.$ac_ext << EOF
3802 #line 3803 "configure"
3811 old_CXXFLAGS="$CXXFLAGS"
3813 if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3814 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3815 enable_sjlj_exceptions=yes
3816 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3817 enable_sjlj_exceptions=no
3820 CXXFLAGS="$old_CXXFLAGS"
3824 if test x$enable_sjlj_exceptions = xyes; then
3825 cat >> confdefs.h <<\EOF
3826 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3829 ac_exception_model_name=sjlj
3830 elif test x$enable_sjlj_exceptions = xno; then
3831 ac_exception_model_name="call frame"
3833 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3840 cross_compiling=$ac_cv_prog_cc_cross
3842 echo "$ac_t""$ac_exception_model_name" 1>&6
3844 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3845 if test "${enable_concept_checks+set}" = set; then
3846 enableval="$enable_concept_checks"
3847 case "$enableval" in
3848 yes) enable_concept_checks=yes ;;
3849 no) enable_concept_checks=no ;;
3850 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3853 enable_concept_checks=no
3855 if test x"$enable_concept_checks" = xyes; then
3856 cat >> confdefs.h <<\EOF
3857 #define _GLIBCPP_CONCEPT_CHECKS 1
3864 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3866 # This lets us hard-code the functionality we know
3867 # we'll have in the cross target environment. "Let" is a
3868 # sugar-coated word placed on an especially dull and tedious hack, actually.
3869 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3870 # that involve linking can't be used:
3871 # "cannot open sim-crt0.o"
3872 # "cannot open crt0.o"
3873 # etc. All this is because there currently exists no unified,
3874 # consistent way for top level CC information to be passed down
3875 # to target directories: newlib includes, newlib linking info,
3876 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3877 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3879 # We are being configured with some form of cross compiler.
3880 GLIBCPP_IS_CROSS_COMPILING=1
3882 # If Canadian cross, then don't pick up tools from the build
3884 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3890 case "$target_alias" in
3892 # Construct linux crosses by hand, eliminating bits that need ld...
3893 # Check for available headers.
3894 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3895 machine/endian.h machine/param.h sys/machine.h sys/types.h \
3896 fp.h locale.h float.h inttypes.h
3898 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3899 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3900 echo "configure:3901: checking for $ac_hdr" >&5
3901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3902 echo $ac_n "(cached) $ac_c" 1>&6
3904 cat > conftest.$ac_ext <<EOF
3905 #line 3906 "configure"
3906 #include "confdefs.h"
3909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3910 { (eval echo configure:3911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3912 if test -z "$ac_err"; then
3914 eval "ac_cv_header_$ac_safe=yes"
3917 echo "configure: failed program was:" >&5
3918 cat conftest.$ac_ext >&5
3920 eval "ac_cv_header_$ac_safe=no"
3924 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3925 echo "$ac_t""yes" 1>&6
3926 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3927 cat >> confdefs.h <<EOF
3928 #define $ac_tr_hdr 1
3932 echo "$ac_t""no" 1>&6
3937 # GLIBCPP_CHECK_COMPILER_FEATURES
3938 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3941 # If we're not using GNU ld, then there's no point in even trying these
3942 # tests. Check for that first. We should have already tested for gld
3943 # by now (in libtool), but require it now just to be safe...
3948 # Set --gc-sections.
3949 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3950 # GNU ld it is! Joy and bunny rabbits!
3952 # All these tests are for C++; save the language and the compiler flags.
3953 # Need to do this so that g++ won't try to link in libstdc++
3954 ac_test_CFLAGS="${CFLAGS+set}"
3955 ac_save_CFLAGS="$CFLAGS"
3956 CFLAGS='-x c++ -Wl,--gc-sections'
3958 # Check for -Wl,--gc-sections
3959 # XXX This test is broken at the moment, as symbols required for
3960 # linking are now in libsupc++ (not built yet.....). In addition,
3961 # this test has cored on solaris in the past. In addition,
3962 # --gc-sections doesn't really work at the moment (keeps on discarding
3963 # used sections, first .eh_frame and now some of the glibc sections for
3964 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3965 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3966 echo "configure:3967: checking for ld that supports -Wl,--gc-sections" >&5
3967 if test "$cross_compiling" = yes; then
3968 ac_sectionLDflags=yes
3970 cat > conftest.$ac_ext <<EOF
3971 #line 3972 "configure"
3972 #include "confdefs.h"
3982 if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3984 ac_sectionLDflags=yes
3986 echo "configure: failed program was:" >&5
3987 cat conftest.$ac_ext >&5
3989 ac_sectionLFflags=no
3994 if test "$ac_test_CFLAGS" = set; then
3995 CFLAGS="$ac_save_CFLAGS"
3997 # this is the suspicious part
4000 if test "$ac_sectionLDflags" = "yes"; then
4001 SECTION_LDFLAGS='-Wl,--gc-sections'
4003 echo "$ac_t""$ac_sectionLDflags" 1>&6
4006 # Set linker optimization flags.
4007 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4008 test x"$enable_debug" = x"no"; then
4009 OPT_LDFLAGS='-Wl,-O1'
4015 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4016 # GLIBCPP_CHECK_MATH_SUPPORT
4017 cat >> confdefs.h <<\EOF
4018 #define HAVE_ACOSF 1
4021 cat >> confdefs.h <<\EOF
4022 #define HAVE_ASINF 1
4025 cat >> confdefs.h <<\EOF
4026 #define HAVE_ATAN2F 1
4029 cat >> confdefs.h <<\EOF
4030 #define HAVE_ATANF 1
4033 cat >> confdefs.h <<\EOF
4034 #define HAVE_CEILF 1
4037 cat >> confdefs.h <<\EOF
4038 #define HAVE_COPYSIGN 1
4041 cat >> confdefs.h <<\EOF
4042 #define HAVE_COPYSIGNF 1
4045 cat >> confdefs.h <<\EOF
4049 cat >> confdefs.h <<\EOF
4050 #define HAVE_COSHF 1
4053 cat >> confdefs.h <<\EOF
4057 cat >> confdefs.h <<\EOF
4058 #define HAVE_FABSF 1
4061 cat >> confdefs.h <<\EOF
4062 #define HAVE_FINITE 1
4065 cat >> confdefs.h <<\EOF
4066 #define HAVE_FINITEF 1
4069 cat >> confdefs.h <<\EOF
4070 #define HAVE_FLOORF 1
4073 cat >> confdefs.h <<\EOF
4074 #define HAVE_FMODF 1
4077 cat >> confdefs.h <<\EOF
4078 #define HAVE_FREXPF 1
4081 cat >> confdefs.h <<\EOF
4082 #define HAVE_HYPOTF 1
4085 cat >> confdefs.h <<\EOF
4086 #define HAVE_ISINF 1
4089 cat >> confdefs.h <<\EOF
4090 #define HAVE_ISINFF 1
4093 cat >> confdefs.h <<\EOF
4094 #define HAVE_ISNAN 1
4097 cat >> confdefs.h <<\EOF
4098 #define HAVE_ISNANF 1
4101 cat >> confdefs.h <<\EOF
4102 #define HAVE_LDEXPF 1
4105 cat >> confdefs.h <<\EOF
4106 #define HAVE_LOG10F 1
4109 cat >> confdefs.h <<\EOF
4113 cat >> confdefs.h <<\EOF
4114 #define HAVE_MODFF 1
4117 cat >> confdefs.h <<\EOF
4121 cat >> confdefs.h <<\EOF
4122 #define HAVE_SINCOS 1
4125 cat >> confdefs.h <<\EOF
4126 #define HAVE_SINCOSF 1
4129 cat >> confdefs.h <<\EOF
4133 cat >> confdefs.h <<\EOF
4134 #define HAVE_SINHF 1
4137 cat >> confdefs.h <<\EOF
4138 #define HAVE_SQRTF 1
4141 cat >> confdefs.h <<\EOF
4145 cat >> confdefs.h <<\EOF
4146 #define HAVE_TANHF 1
4150 # At some point, we should differentiate between architectures
4151 # like x86, which have long double versions, and alpha/powerpc/etc.,
4152 # which don't. For the time being, punt.
4153 if test x"long_double_math_on_this_cpu" = x"yes"; then
4154 cat >> confdefs.h <<\EOF
4155 #define HAVE_ACOSL 1
4158 cat >> confdefs.h <<\EOF
4159 #define HAVE_ASINL 1
4162 cat >> confdefs.h <<\EOF
4163 #define HAVE_ATAN2L 1
4166 cat >> confdefs.h <<\EOF
4167 #define HAVE_ATANL 1
4170 cat >> confdefs.h <<\EOF
4171 #define HAVE_CEILL 1
4174 cat >> confdefs.h <<\EOF
4175 #define HAVE_COPYSIGNL 1
4178 cat >> confdefs.h <<\EOF
4182 cat >> confdefs.h <<\EOF
4183 #define HAVE_COSHL 1
4186 cat >> confdefs.h <<\EOF
4190 cat >> confdefs.h <<\EOF
4191 #define HAVE_FABSL 1
4194 cat >> confdefs.h <<\EOF
4195 #define HAVE_FINITEL 1
4198 cat >> confdefs.h <<\EOF
4199 #define HAVE_FLOORL 1
4202 cat >> confdefs.h <<\EOF
4203 #define HAVE_FMODL 1
4206 cat >> confdefs.h <<\EOF
4207 #define HAVE_FREXPL 1
4210 cat >> confdefs.h <<\EOF
4211 #define HAVE_HYPOTL 1
4214 cat >> confdefs.h <<\EOF
4215 #define HAVE_ISINFL 1
4218 cat >> confdefs.h <<\EOF
4219 #define HAVE_ISNANL 1
4222 cat >> confdefs.h <<\EOF
4223 #define HAVE_LDEXPL 1
4226 cat >> confdefs.h <<\EOF
4227 #define HAVE_LOG10L 1
4230 cat >> confdefs.h <<\EOF
4234 cat >> confdefs.h <<\EOF
4235 #define HAVE_MODFL 1
4238 cat >> confdefs.h <<\EOF
4242 cat >> confdefs.h <<\EOF
4243 #define HAVE_SINCOSL 1
4246 cat >> confdefs.h <<\EOF
4250 cat >> confdefs.h <<\EOF
4251 #define HAVE_SINHL 1
4254 cat >> confdefs.h <<\EOF
4255 #define HAVE_SQRTL 1
4258 cat >> confdefs.h <<\EOF
4262 cat >> confdefs.h <<\EOF
4263 #define HAVE_TANHL 1
4268 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4269 echo "configure:4270: checking for main in -lm" >&5
4270 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4272 echo $ac_n "(cached) $ac_c" 1>&6
4274 ac_save_LIBS="$LIBS"
4276 cat > conftest.$ac_ext <<EOF
4277 #line 4278 "configure"
4278 #include "confdefs.h"
4284 if { (eval echo configure:4285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4286 eval "ac_cv_lib_$ac_lib_var=yes"
4288 echo "configure: failed program was:" >&5
4289 cat conftest.$ac_ext >&5
4291 eval "ac_cv_lib_$ac_lib_var=no"
4294 LIBS="$ac_save_LIBS"
4297 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4298 echo "$ac_t""yes" 1>&6
4299 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4300 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4301 cat >> confdefs.h <<EOF
4302 #define $ac_tr_lib 1
4308 echo "$ac_t""no" 1>&6
4311 for ac_func in nan copysignf
4313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4314 echo "configure:4315: checking for $ac_func" >&5
4315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4316 echo $ac_n "(cached) $ac_c" 1>&6
4318 cat > conftest.$ac_ext <<EOF
4319 #line 4320 "configure"
4320 #include "confdefs.h"
4321 /* System header to define __stub macros and hopefully few prototypes,
4322 which can conflict with char $ac_func(); below. */
4324 /* Override any gcc2 internal prototype to avoid an error. */
4325 /* We use char because int might match the return type of a gcc2
4326 builtin and then its argument prototype would still apply. */
4331 /* The GNU C library defines this for functions which it implements
4332 to always fail with ENOSYS. Some functions are actually named
4333 something starting with __ and the normal name is an alias. */
4334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4342 if { (eval echo configure:4343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4344 eval "ac_cv_func_$ac_func=yes"
4346 echo "configure: failed program was:" >&5
4347 cat conftest.$ac_ext >&5
4349 eval "ac_cv_func_$ac_func=no"
4354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4355 echo "$ac_t""yes" 1>&6
4356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4357 cat >> confdefs.h <<EOF
4358 #define $ac_tr_func 1
4362 echo "$ac_t""no" 1>&6
4363 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4369 USE_COMPLEX_LONG_DOUBLE=no
4370 if test x$ac_cv_func_copysignl = x"yes"; then
4371 USE_COMPLEX_LONG_DOUBLE=yes
4372 for ac_func in signbitl
4374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4375 echo "configure:4376: checking for $ac_func" >&5
4376 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4377 echo $ac_n "(cached) $ac_c" 1>&6
4379 cat > conftest.$ac_ext <<EOF
4380 #line 4381 "configure"
4381 #include "confdefs.h"
4382 /* System header to define __stub macros and hopefully few prototypes,
4383 which can conflict with char $ac_func(); below. */
4385 /* Override any gcc2 internal prototype to avoid an error. */
4386 /* We use char because int might match the return type of a gcc2
4387 builtin and then its argument prototype would still apply. */
4392 /* The GNU C library defines this for functions which it implements
4393 to always fail with ENOSYS. Some functions are actually named
4394 something starting with __ and the normal name is an alias. */
4395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4403 if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4405 eval "ac_cv_func_$ac_func=yes"
4407 echo "configure: failed program was:" >&5
4408 cat conftest.$ac_ext >&5
4410 eval "ac_cv_func_$ac_func=no"
4415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4416 echo "$ac_t""yes" 1>&6
4417 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4418 cat >> confdefs.h <<EOF
4419 #define $ac_tr_func 1
4423 echo "$ac_t""no" 1>&6
4424 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4435 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4436 echo "configure:4437: checking for mbstate_t" >&5
4437 cat > conftest.$ac_ext <<EOF
4438 #line 4439 "configure"
4439 #include "confdefs.h"
4442 mbstate_t teststate;
4445 if { (eval echo configure:4446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4449 echo "configure: failed program was:" >&5
4450 cat conftest.$ac_ext >&5
4455 echo "$ac_t""$have_mbstate_t" 1>&6
4456 if test x"$have_mbstate_t" = xyes; then
4457 cat >> confdefs.h <<\EOF
4458 #define HAVE_MBSTATE_T 1
4463 for ac_hdr in wchar.h
4465 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4466 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4467 echo "configure:4468: checking for $ac_hdr" >&5
4468 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4469 echo $ac_n "(cached) $ac_c" 1>&6
4471 cat > conftest.$ac_ext <<EOF
4472 #line 4473 "configure"
4473 #include "confdefs.h"
4476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4477 { (eval echo configure:4478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4479 if test -z "$ac_err"; then
4481 eval "ac_cv_header_$ac_safe=yes"
4484 echo "configure: failed program was:" >&5
4485 cat conftest.$ac_ext >&5
4487 eval "ac_cv_header_$ac_safe=no"
4491 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4492 echo "$ac_t""yes" 1>&6
4493 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4494 cat >> confdefs.h <<EOF
4495 #define $ac_tr_hdr 1
4499 echo "$ac_t""no" 1>&6
4504 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4505 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4506 echo "configure:4507: checking for wctype.h" >&5
4507 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4508 echo $ac_n "(cached) $ac_c" 1>&6
4510 cat > conftest.$ac_ext <<EOF
4511 #line 4512 "configure"
4512 #include "confdefs.h"
4515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4516 { (eval echo configure:4517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4518 if test -z "$ac_err"; then
4520 eval "ac_cv_header_$ac_safe=yes"
4523 echo "configure: failed program was:" >&5
4524 cat conftest.$ac_ext >&5
4526 eval "ac_cv_header_$ac_safe=no"
4530 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4531 echo "$ac_t""yes" 1>&6
4534 echo "$ac_t""no" 1>&6
4539 if test x"$ac_has_wchar_h" = xyes &&
4540 test x"$ac_has_wctype_h" = xyes &&
4541 test x"$enable_c_mbchar" != xno; then
4543 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4544 echo "configure:4545: checking for WCHAR_MIN and WCHAR_MAX" >&5
4545 cat > conftest.$ac_ext <<EOF
4546 #line 4547 "configure"
4547 #include "confdefs.h"
4550 int i = WCHAR_MIN; int j = WCHAR_MAX;
4553 if { (eval echo configure:4554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4555 has_wchar_minmax=yes
4557 echo "configure: failed program was:" >&5
4558 cat conftest.$ac_ext >&5
4563 echo "$ac_t""$has_wchar_minmax" 1>&6
4565 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4566 echo "configure:4567: checking for WEOF" >&5
4567 cat > conftest.$ac_ext <<EOF
4568 #line 4569 "configure"
4569 #include "confdefs.h"
4577 if { (eval echo configure:4578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4581 echo "configure: failed program was:" >&5
4582 cat conftest.$ac_ext >&5
4587 echo "$ac_t""$has_weof" 1>&6
4590 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4593 echo "configure:4594: checking for $ac_func" >&5
4594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4595 echo $ac_n "(cached) $ac_c" 1>&6
4597 cat > conftest.$ac_ext <<EOF
4598 #line 4599 "configure"
4599 #include "confdefs.h"
4600 /* System header to define __stub macros and hopefully few prototypes,
4601 which can conflict with char $ac_func(); below. */
4603 /* Override any gcc2 internal prototype to avoid an error. */
4604 /* We use char because int might match the return type of a gcc2
4605 builtin and then its argument prototype would still apply. */
4610 /* The GNU C library defines this for functions which it implements
4611 to always fail with ENOSYS. Some functions are actually named
4612 something starting with __ and the normal name is an alias. */
4613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4621 if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4623 eval "ac_cv_func_$ac_func=yes"
4625 echo "configure: failed program was:" >&5
4626 cat conftest.$ac_ext >&5
4628 eval "ac_cv_func_$ac_func=no"
4633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4634 echo "$ac_t""yes" 1>&6
4635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4636 cat >> confdefs.h <<EOF
4637 #define $ac_tr_func 1
4641 echo "$ac_t""no" 1>&6
4648 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4649 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4650 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4651 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4652 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4653 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4656 echo "configure:4657: checking for $ac_func" >&5
4657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4658 echo $ac_n "(cached) $ac_c" 1>&6
4660 cat > conftest.$ac_ext <<EOF
4661 #line 4662 "configure"
4662 #include "confdefs.h"
4663 /* System header to define __stub macros and hopefully few prototypes,
4664 which can conflict with char $ac_func(); below. */
4666 /* Override any gcc2 internal prototype to avoid an error. */
4667 /* We use char because int might match the return type of a gcc2
4668 builtin and then its argument prototype would still apply. */
4673 /* The GNU C library defines this for functions which it implements
4674 to always fail with ENOSYS. Some functions are actually named
4675 something starting with __ and the normal name is an alias. */
4676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4684 if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4686 eval "ac_cv_func_$ac_func=yes"
4688 echo "configure: failed program was:" >&5
4689 cat conftest.$ac_ext >&5
4691 eval "ac_cv_func_$ac_func=no"
4696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4697 echo "$ac_t""yes" 1>&6
4698 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4699 cat >> confdefs.h <<EOF
4700 #define $ac_tr_func 1
4704 echo "$ac_t""no" 1>&6
4711 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4712 echo "configure:4713: checking for ISO C99 wchar_t support" >&5
4713 if test x"$has_weof" = xyes &&
4714 test x"$has_wchar_minmax" = xyes &&
4715 test x"$ac_wfuncs" = xyes; then
4716 ac_isoC99_wchar_t=yes
4718 ac_isoC99_wchar_t=no
4720 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4722 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4723 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4724 echo "configure:4725: checking for iconv.h" >&5
4725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4726 echo $ac_n "(cached) $ac_c" 1>&6
4728 cat > conftest.$ac_ext <<EOF
4729 #line 4730 "configure"
4730 #include "confdefs.h"
4733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4734 { (eval echo configure:4735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4736 if test -z "$ac_err"; then
4738 eval "ac_cv_header_$ac_safe=yes"
4741 echo "configure: failed program was:" >&5
4742 cat conftest.$ac_ext >&5
4744 eval "ac_cv_header_$ac_safe=no"
4748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4749 echo "$ac_t""yes" 1>&6
4752 echo "$ac_t""no" 1>&6
4756 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4757 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4758 echo "configure:4759: checking for langinfo.h" >&5
4759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4760 echo $ac_n "(cached) $ac_c" 1>&6
4762 cat > conftest.$ac_ext <<EOF
4763 #line 4764 "configure"
4764 #include "confdefs.h"
4765 #include <langinfo.h>
4767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4768 { (eval echo configure:4769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4770 if test -z "$ac_err"; then
4772 eval "ac_cv_header_$ac_safe=yes"
4775 echo "configure: failed program was:" >&5
4776 cat conftest.$ac_ext >&5
4778 eval "ac_cv_header_$ac_safe=no"
4782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4783 echo "$ac_t""yes" 1>&6
4784 ac_has_langinfo_h=yes
4786 echo "$ac_t""no" 1>&6
4787 ac_has_langinfo_h=no
4791 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4792 echo "configure:4793: checking for iconv in -liconv" >&5
4793 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4795 echo $ac_n "(cached) $ac_c" 1>&6
4797 ac_save_LIBS="$LIBS"
4798 LIBS="-liconv $LIBS"
4799 cat > conftest.$ac_ext <<EOF
4800 #line 4801 "configure"
4801 #include "confdefs.h"
4802 /* Override any gcc2 internal prototype to avoid an error. */
4803 /* We use char because int might match the return type of a gcc2
4804 builtin and then its argument prototype would still apply. */
4811 if { (eval echo configure:4812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4813 eval "ac_cv_lib_$ac_lib_var=yes"
4815 echo "configure: failed program was:" >&5
4816 cat conftest.$ac_ext >&5
4818 eval "ac_cv_lib_$ac_lib_var=no"
4821 LIBS="$ac_save_LIBS"
4824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4825 echo "$ac_t""yes" 1>&6
4828 echo "$ac_t""no" 1>&6
4831 ac_save_LIBS="$LIBS"
4832 LIBS="$LIBS $libiconv"
4834 for ac_func in iconv_open iconv_close iconv nl_langinfo
4836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4837 echo "configure:4838: checking for $ac_func" >&5
4838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4839 echo $ac_n "(cached) $ac_c" 1>&6
4841 cat > conftest.$ac_ext <<EOF
4842 #line 4843 "configure"
4843 #include "confdefs.h"
4844 /* System header to define __stub macros and hopefully few prototypes,
4845 which can conflict with char $ac_func(); below. */
4847 /* Override any gcc2 internal prototype to avoid an error. */
4848 /* We use char because int might match the return type of a gcc2
4849 builtin and then its argument prototype would still apply. */
4854 /* The GNU C library defines this for functions which it implements
4855 to always fail with ENOSYS. Some functions are actually named
4856 something starting with __ and the normal name is an alias. */
4857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4867 eval "ac_cv_func_$ac_func=yes"
4869 echo "configure: failed program was:" >&5
4870 cat conftest.$ac_ext >&5
4872 eval "ac_cv_func_$ac_func=no"
4877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4878 echo "$ac_t""yes" 1>&6
4879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4880 cat >> confdefs.h <<EOF
4881 #define $ac_tr_func 1
4886 echo "$ac_t""no" 1>&6
4892 LIBS="$ac_save_LIBS"
4894 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4895 echo "configure:4896: checking for XPG2 wchar_t support" >&5
4896 if test x"$ac_has_iconv_h" = xyes &&
4897 test x"$ac_has_langinfo_h" = xyes &&
4898 test x"$ac_XPG2funcs" = xyes; then
4903 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4905 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4906 echo "configure:4907: checking for enabled wchar_t specializations" >&5
4907 if test x"$ac_isoC99_wchar_t" = xyes &&
4908 test x"$ac_XPG2_wchar_t" = xyes; then
4909 cat >> confdefs.h <<\EOF
4910 #define _GLIBCPP_USE_WCHAR_T 1
4913 echo "$ac_t"""yes"" 1>&6
4915 echo "$ac_t"""no"" 1>&6
4918 echo "configure: warning: wchar_t support disabled." 1>&2
4921 os_include_dir="config/os/gnu-linux"
4922 # GLIBCPP_CHECK_STDLIB_SUPPORT
4923 cat >> confdefs.h <<\EOF
4924 #define HAVE_STRTOF 1
4927 cat >> confdefs.h <<\EOF
4928 #define HAVE_STRTOLD 1
4932 cat >> confdefs.h <<\EOF
4939 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4940 # GLIBCPP_CHECK_MATH_SUPPORT
4941 cat >> confdefs.h <<\EOF
4942 #define HAVE_FINITE 1
4945 cat >> confdefs.h <<\EOF
4946 #define HAVE_HYPOT 1
4949 cat >> confdefs.h <<\EOF
4950 #define HAVE_ISNAN 1
4953 cat >> confdefs.h <<\EOF
4954 #define HAVE_ISINF 1
4958 cat >> confdefs.h <<\EOF
4959 #define HAVE_ACOSF 1
4962 cat >> confdefs.h <<\EOF
4963 #define HAVE_ASINF 1
4966 cat >> confdefs.h <<\EOF
4967 #define HAVE_ATAN2F 1
4970 cat >> confdefs.h <<\EOF
4971 #define HAVE_ATANF 1
4974 cat >> confdefs.h <<\EOF
4975 #define HAVE_CEILF 1
4978 cat >> confdefs.h <<\EOF
4982 cat >> confdefs.h <<\EOF
4983 #define HAVE_COSHF 1
4986 cat >> confdefs.h <<\EOF
4990 cat >> confdefs.h <<\EOF
4991 #define HAVE_FABSF 1
4994 cat >> confdefs.h <<\EOF
4995 #define HAVE_FLOORF 1
4998 cat >> confdefs.h <<\EOF
4999 #define HAVE_FMODF 1
5002 cat >> confdefs.h <<\EOF
5003 #define HAVE_HYPOTF 1
5006 cat >> confdefs.h <<\EOF
5007 #define HAVE_ISNANF 1
5010 cat >> confdefs.h <<\EOF
5011 #define HAVE_ISINFF 1
5014 cat >> confdefs.h <<\EOF
5015 #define HAVE_LDEXPF 1
5018 cat >> confdefs.h <<\EOF
5019 #define HAVE_LOG10F 1
5022 cat >> confdefs.h <<\EOF
5026 cat >> confdefs.h <<\EOF
5027 #define HAVE_MODFF 1
5030 cat >> confdefs.h <<\EOF
5034 cat >> confdefs.h <<\EOF
5038 cat >> confdefs.h <<\EOF
5039 #define HAVE_SINHF 1
5042 cat >> confdefs.h <<\EOF
5043 #define HAVE_SQRTF 1
5046 cat >> confdefs.h <<\EOF
5050 cat >> confdefs.h <<\EOF
5051 #define HAVE_TANHF 1
5055 os_include_dir="config/os/newlib"
5060 # We are being configured natively. We can do more elaborate tests
5061 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5063 GLIBCPP_IS_CROSS_COMPILING=0
5066 # Check for available headers.
5067 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5068 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5072 echo "configure:5073: checking for $ac_hdr" >&5
5073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5074 echo $ac_n "(cached) $ac_c" 1>&6
5076 cat > conftest.$ac_ext <<EOF
5077 #line 5078 "configure"
5078 #include "confdefs.h"
5081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5082 { (eval echo configure:5083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5084 if test -z "$ac_err"; then
5086 eval "ac_cv_header_$ac_safe=yes"
5089 echo "configure: failed program was:" >&5
5090 cat conftest.$ac_ext >&5
5092 eval "ac_cv_header_$ac_safe=no"
5096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5097 echo "$ac_t""yes" 1>&6
5098 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5099 cat >> confdefs.h <<EOF
5100 #define $ac_tr_hdr 1
5104 echo "$ac_t""no" 1>&6
5110 # All these tests are for C++; save the language and the compiler flags.
5111 # The CXXFLAGS thing is suspicious, but based on similar bits previously
5112 # found in GLIBCPP_CONFIGURE.
5115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5116 ac_cpp='$CXXCPP $CPPFLAGS'
5117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5119 cross_compiling=$ac_cv_prog_cxx_cross
5121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5122 ac_save_CXXFLAGS="$CXXFLAGS"
5124 # Check for maintainer-mode bits.
5125 if test x"$USE_MAINTAINER_MODE" = xno; then
5131 # Check for -ffunction-sections -fdata-sections
5132 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
5133 echo "configure:5134: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
5134 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5135 cat > conftest.$ac_ext <<EOF
5136 #line 5137 "configure"
5137 #include "confdefs.h"
5144 if { (eval echo configure:5145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5148 echo "configure: failed program was:" >&5
5149 cat conftest.$ac_ext >&5
5154 if test "$ac_test_CXXFLAGS" = set; then
5155 CXXFLAGS="$ac_save_CXXFLAGS"
5157 # this is the suspicious part
5160 if test x"$ac_fdsections" = x"yes" &&
5161 test x"$enable_debug" = x"no"; then
5162 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5164 echo "$ac_t""$ac_fdsections" 1>&6
5167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5168 ac_cpp='$CPP $CPPFLAGS'
5169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5171 cross_compiling=$ac_cv_prog_cc_cross
5177 # If we're not using GNU ld, then there's no point in even trying these
5178 # tests. Check for that first. We should have already tested for gld
5179 # by now (in libtool), but require it now just to be safe...
5184 # Set --gc-sections.
5185 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
5186 # GNU ld it is! Joy and bunny rabbits!
5188 # All these tests are for C++; save the language and the compiler flags.
5189 # Need to do this so that g++ won't try to link in libstdc++
5190 ac_test_CFLAGS="${CFLAGS+set}"
5191 ac_save_CFLAGS="$CFLAGS"
5192 CFLAGS='-x c++ -Wl,--gc-sections'
5194 # Check for -Wl,--gc-sections
5195 # XXX This test is broken at the moment, as symbols required for
5196 # linking are now in libsupc++ (not built yet.....). In addition,
5197 # this test has cored on solaris in the past. In addition,
5198 # --gc-sections doesn't really work at the moment (keeps on discarding
5199 # used sections, first .eh_frame and now some of the glibc sections for
5200 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5201 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5202 echo "configure:5203: checking for ld that supports -Wl,--gc-sections" >&5
5203 if test "$cross_compiling" = yes; then
5204 ac_sectionLDflags=yes
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure"
5208 #include "confdefs.h"
5218 if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5220 ac_sectionLDflags=yes
5222 echo "configure: failed program was:" >&5
5223 cat conftest.$ac_ext >&5
5225 ac_sectionLFflags=no
5230 if test "$ac_test_CFLAGS" = set; then
5231 CFLAGS="$ac_save_CFLAGS"
5233 # this is the suspicious part
5236 if test "$ac_sectionLDflags" = "yes"; then
5237 SECTION_LDFLAGS='-Wl,--gc-sections'
5239 echo "$ac_t""$ac_sectionLDflags" 1>&6
5242 # Set linker optimization flags.
5243 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5244 test x"$enable_debug" = x"no"; then
5245 OPT_LDFLAGS='-Wl,-O1'
5253 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
5254 echo "configure:5255: checking for __builtin_abs declaration" >&5
5255 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
5256 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
5257 echo $ac_n "(cached) $ac_c" 1>&6
5262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5263 ac_cpp='$CXXCPP $CPPFLAGS'
5264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5266 cross_compiling=$ac_cv_prog_cxx_cross
5268 cat > conftest.$ac_ext <<EOF
5269 #line 5270 "configure"
5270 #include "confdefs.h"
5276 if { (eval echo configure:5277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5278 glibcpp_cv_func___builtin_abs_use=yes
5280 echo "configure: failed program was:" >&5
5281 cat conftest.$ac_ext >&5
5283 glibcpp_cv_func___builtin_abs_use=no
5287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5288 ac_cpp='$CPP $CPPFLAGS'
5289 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5290 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5291 cross_compiling=$ac_cv_prog_cc_cross
5297 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
5298 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
5299 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
5300 echo "configure:5301: checking for __builtin_abs linkage" >&5
5301 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
5302 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
5303 echo $ac_n "(cached) $ac_c" 1>&6
5306 cat > conftest.$ac_ext <<EOF
5307 #line 5308 "configure"
5308 #include "confdefs.h"
5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5316 glibcpp_cv_func___builtin_abs_link=yes
5318 echo "configure: failed program was:" >&5
5319 cat conftest.$ac_ext >&5
5321 glibcpp_cv_func___builtin_abs_link=no
5328 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
5329 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
5330 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5331 cat >> confdefs.h <<EOF
5332 #define ${ac_tr_func} 1
5339 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
5340 echo "configure:5341: checking for __builtin_fabsf declaration" >&5
5341 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
5342 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
5343 echo $ac_n "(cached) $ac_c" 1>&6
5348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5349 ac_cpp='$CXXCPP $CPPFLAGS'
5350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5352 cross_compiling=$ac_cv_prog_cxx_cross
5354 cat > conftest.$ac_ext <<EOF
5355 #line 5356 "configure"
5356 #include "confdefs.h"
5362 if { (eval echo configure:5363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5364 glibcpp_cv_func___builtin_fabsf_use=yes
5366 echo "configure: failed program was:" >&5
5367 cat conftest.$ac_ext >&5
5369 glibcpp_cv_func___builtin_fabsf_use=no
5373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5374 ac_cpp='$CPP $CPPFLAGS'
5375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5377 cross_compiling=$ac_cv_prog_cc_cross
5383 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
5384 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
5385 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
5386 echo "configure:5387: checking for __builtin_fabsf linkage" >&5
5387 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
5388 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
5389 echo $ac_n "(cached) $ac_c" 1>&6
5392 cat > conftest.$ac_ext <<EOF
5393 #line 5394 "configure"
5394 #include "confdefs.h"
5400 if { (eval echo configure:5401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5402 glibcpp_cv_func___builtin_fabsf_link=yes
5404 echo "configure: failed program was:" >&5
5405 cat conftest.$ac_ext >&5
5407 glibcpp_cv_func___builtin_fabsf_link=no
5414 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
5415 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
5416 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5417 cat >> confdefs.h <<EOF
5418 #define ${ac_tr_func} 1
5425 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
5426 echo "configure:5427: checking for __builtin_fabs declaration" >&5
5427 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
5428 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
5429 echo $ac_n "(cached) $ac_c" 1>&6
5434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5435 ac_cpp='$CXXCPP $CPPFLAGS'
5436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5438 cross_compiling=$ac_cv_prog_cxx_cross
5440 cat > conftest.$ac_ext <<EOF
5441 #line 5442 "configure"
5442 #include "confdefs.h"
5448 if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5450 glibcpp_cv_func___builtin_fabs_use=yes
5452 echo "configure: failed program was:" >&5
5453 cat conftest.$ac_ext >&5
5455 glibcpp_cv_func___builtin_fabs_use=no
5459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5460 ac_cpp='$CPP $CPPFLAGS'
5461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5463 cross_compiling=$ac_cv_prog_cc_cross
5469 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
5470 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
5471 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
5472 echo "configure:5473: checking for __builtin_fabs linkage" >&5
5473 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
5474 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
5475 echo $ac_n "(cached) $ac_c" 1>&6
5478 cat > conftest.$ac_ext <<EOF
5479 #line 5480 "configure"
5480 #include "confdefs.h"
5486 if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5488 glibcpp_cv_func___builtin_fabs_link=yes
5490 echo "configure: failed program was:" >&5
5491 cat conftest.$ac_ext >&5
5493 glibcpp_cv_func___builtin_fabs_link=no
5500 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
5501 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
5502 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5503 cat >> confdefs.h <<EOF
5504 #define ${ac_tr_func} 1
5511 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
5512 echo "configure:5513: checking for __builtin_fabsl declaration" >&5
5513 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
5514 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
5515 echo $ac_n "(cached) $ac_c" 1>&6
5520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5521 ac_cpp='$CXXCPP $CPPFLAGS'
5522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5524 cross_compiling=$ac_cv_prog_cxx_cross
5526 cat > conftest.$ac_ext <<EOF
5527 #line 5528 "configure"
5528 #include "confdefs.h"
5534 if { (eval echo configure:5535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5536 glibcpp_cv_func___builtin_fabsl_use=yes
5538 echo "configure: failed program was:" >&5
5539 cat conftest.$ac_ext >&5
5541 glibcpp_cv_func___builtin_fabsl_use=no
5545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5546 ac_cpp='$CPP $CPPFLAGS'
5547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5549 cross_compiling=$ac_cv_prog_cc_cross
5555 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
5556 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
5557 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
5558 echo "configure:5559: checking for __builtin_fabsl linkage" >&5
5559 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
5560 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
5561 echo $ac_n "(cached) $ac_c" 1>&6
5564 cat > conftest.$ac_ext <<EOF
5565 #line 5566 "configure"
5566 #include "confdefs.h"
5572 if { (eval echo configure:5573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5574 glibcpp_cv_func___builtin_fabsl_link=yes
5576 echo "configure: failed program was:" >&5
5577 cat conftest.$ac_ext >&5
5579 glibcpp_cv_func___builtin_fabsl_link=no
5586 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
5587 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
5588 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5589 cat >> confdefs.h <<EOF
5590 #define ${ac_tr_func} 1
5597 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
5598 echo "configure:5599: checking for __builtin_labs declaration" >&5
5599 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
5600 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
5601 echo $ac_n "(cached) $ac_c" 1>&6
5606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5607 ac_cpp='$CXXCPP $CPPFLAGS'
5608 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5609 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5610 cross_compiling=$ac_cv_prog_cxx_cross
5612 cat > conftest.$ac_ext <<EOF
5613 #line 5614 "configure"
5614 #include "confdefs.h"
5620 if { (eval echo configure:5621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5622 glibcpp_cv_func___builtin_labs_use=yes
5624 echo "configure: failed program was:" >&5
5625 cat conftest.$ac_ext >&5
5627 glibcpp_cv_func___builtin_labs_use=no
5631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5632 ac_cpp='$CPP $CPPFLAGS'
5633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5635 cross_compiling=$ac_cv_prog_cc_cross
5641 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5642 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5643 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5644 echo "configure:5645: checking for __builtin_labs linkage" >&5
5645 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5646 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5647 echo $ac_n "(cached) $ac_c" 1>&6
5650 cat > conftest.$ac_ext <<EOF
5651 #line 5652 "configure"
5652 #include "confdefs.h"
5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5660 glibcpp_cv_func___builtin_labs_link=yes
5662 echo "configure: failed program was:" >&5
5663 cat conftest.$ac_ext >&5
5665 glibcpp_cv_func___builtin_labs_link=no
5672 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5673 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5674 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5675 cat >> confdefs.h <<EOF
5676 #define ${ac_tr_func} 1
5684 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5685 echo "configure:5686: checking for __builtin_sqrtf declaration" >&5
5686 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5687 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5688 echo $ac_n "(cached) $ac_c" 1>&6
5693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5694 ac_cpp='$CXXCPP $CPPFLAGS'
5695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5697 cross_compiling=$ac_cv_prog_cxx_cross
5699 cat > conftest.$ac_ext <<EOF
5700 #line 5701 "configure"
5701 #include "confdefs.h"
5707 if { (eval echo configure:5708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5709 glibcpp_cv_func___builtin_sqrtf_use=yes
5711 echo "configure: failed program was:" >&5
5712 cat conftest.$ac_ext >&5
5714 glibcpp_cv_func___builtin_sqrtf_use=no
5718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5719 ac_cpp='$CPP $CPPFLAGS'
5720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5722 cross_compiling=$ac_cv_prog_cc_cross
5728 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5729 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5730 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5731 echo "configure:5732: checking for __builtin_sqrtf linkage" >&5
5732 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5733 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5734 echo $ac_n "(cached) $ac_c" 1>&6
5737 cat > conftest.$ac_ext <<EOF
5738 #line 5739 "configure"
5739 #include "confdefs.h"
5745 if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5747 glibcpp_cv_func___builtin_sqrtf_link=yes
5749 echo "configure: failed program was:" >&5
5750 cat conftest.$ac_ext >&5
5752 glibcpp_cv_func___builtin_sqrtf_link=no
5759 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5760 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5761 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5762 cat >> confdefs.h <<EOF
5763 #define ${ac_tr_func} 1
5770 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5771 echo "configure:5772: checking for __builtin_fsqrt declaration" >&5
5772 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5773 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5774 echo $ac_n "(cached) $ac_c" 1>&6
5779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5780 ac_cpp='$CXXCPP $CPPFLAGS'
5781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5783 cross_compiling=$ac_cv_prog_cxx_cross
5785 cat > conftest.$ac_ext <<EOF
5786 #line 5787 "configure"
5787 #include "confdefs.h"
5793 if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5795 glibcpp_cv_func___builtin_fsqrt_use=yes
5797 echo "configure: failed program was:" >&5
5798 cat conftest.$ac_ext >&5
5800 glibcpp_cv_func___builtin_fsqrt_use=no
5804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5805 ac_cpp='$CPP $CPPFLAGS'
5806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5808 cross_compiling=$ac_cv_prog_cc_cross
5814 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5815 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5816 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5817 echo "configure:5818: checking for __builtin_fsqrt linkage" >&5
5818 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5819 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5820 echo $ac_n "(cached) $ac_c" 1>&6
5823 cat > conftest.$ac_ext <<EOF
5824 #line 5825 "configure"
5825 #include "confdefs.h"
5831 if { (eval echo configure:5832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5833 glibcpp_cv_func___builtin_fsqrt_link=yes
5835 echo "configure: failed program was:" >&5
5836 cat conftest.$ac_ext >&5
5838 glibcpp_cv_func___builtin_fsqrt_link=no
5845 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5846 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5847 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5848 cat >> confdefs.h <<EOF
5849 #define ${ac_tr_func} 1
5856 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5857 echo "configure:5858: checking for __builtin_sqrtl declaration" >&5
5858 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5859 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5860 echo $ac_n "(cached) $ac_c" 1>&6
5865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5866 ac_cpp='$CXXCPP $CPPFLAGS'
5867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5869 cross_compiling=$ac_cv_prog_cxx_cross
5871 cat > conftest.$ac_ext <<EOF
5872 #line 5873 "configure"
5873 #include "confdefs.h"
5879 if { (eval echo configure:5880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5881 glibcpp_cv_func___builtin_sqrtl_use=yes
5883 echo "configure: failed program was:" >&5
5884 cat conftest.$ac_ext >&5
5886 glibcpp_cv_func___builtin_sqrtl_use=no
5890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5891 ac_cpp='$CPP $CPPFLAGS'
5892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5894 cross_compiling=$ac_cv_prog_cc_cross
5900 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5901 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5902 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5903 echo "configure:5904: checking for __builtin_sqrtl linkage" >&5
5904 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5905 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5906 echo $ac_n "(cached) $ac_c" 1>&6
5909 cat > conftest.$ac_ext <<EOF
5910 #line 5911 "configure"
5911 #include "confdefs.h"
5917 if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5919 glibcpp_cv_func___builtin_sqrtl_link=yes
5921 echo "configure: failed program was:" >&5
5922 cat conftest.$ac_ext >&5
5924 glibcpp_cv_func___builtin_sqrtl_link=no
5931 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5932 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5933 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5934 cat >> confdefs.h <<EOF
5935 #define ${ac_tr_func} 1
5943 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5944 echo "configure:5945: checking for __builtin_sinf declaration" >&5
5945 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5946 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5947 echo $ac_n "(cached) $ac_c" 1>&6
5952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5953 ac_cpp='$CXXCPP $CPPFLAGS'
5954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5956 cross_compiling=$ac_cv_prog_cxx_cross
5958 cat > conftest.$ac_ext <<EOF
5959 #line 5960 "configure"
5960 #include "confdefs.h"
5966 if { (eval echo configure:5967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5968 glibcpp_cv_func___builtin_sinf_use=yes
5970 echo "configure: failed program was:" >&5
5971 cat conftest.$ac_ext >&5
5973 glibcpp_cv_func___builtin_sinf_use=no
5977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5978 ac_cpp='$CPP $CPPFLAGS'
5979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5981 cross_compiling=$ac_cv_prog_cc_cross
5987 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5988 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5989 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5990 echo "configure:5991: checking for __builtin_sinf linkage" >&5
5991 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5992 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5993 echo $ac_n "(cached) $ac_c" 1>&6
5996 cat > conftest.$ac_ext <<EOF
5997 #line 5998 "configure"
5998 #include "confdefs.h"
6004 if { (eval echo configure:6005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6006 glibcpp_cv_func___builtin_sinf_link=yes
6008 echo "configure: failed program was:" >&5
6009 cat conftest.$ac_ext >&5
6011 glibcpp_cv_func___builtin_sinf_link=no
6018 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6019 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
6020 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6021 cat >> confdefs.h <<EOF
6022 #define ${ac_tr_func} 1
6029 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
6030 echo "configure:6031: checking for __builtin_sin declaration" >&5
6031 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
6032 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6033 echo $ac_n "(cached) $ac_c" 1>&6
6038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6039 ac_cpp='$CXXCPP $CPPFLAGS'
6040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6042 cross_compiling=$ac_cv_prog_cxx_cross
6044 cat > conftest.$ac_ext <<EOF
6045 #line 6046 "configure"
6046 #include "confdefs.h"
6052 if { (eval echo configure:6053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6054 glibcpp_cv_func___builtin_sin_use=yes
6056 echo "configure: failed program was:" >&5
6057 cat conftest.$ac_ext >&5
6059 glibcpp_cv_func___builtin_sin_use=no
6063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6064 ac_cpp='$CPP $CPPFLAGS'
6065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6067 cross_compiling=$ac_cv_prog_cc_cross
6073 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6074 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6075 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
6076 echo "configure:6077: checking for __builtin_sin linkage" >&5
6077 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6078 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6079 echo $ac_n "(cached) $ac_c" 1>&6
6082 cat > conftest.$ac_ext <<EOF
6083 #line 6084 "configure"
6084 #include "confdefs.h"
6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6092 glibcpp_cv_func___builtin_sin_link=yes
6094 echo "configure: failed program was:" >&5
6095 cat conftest.$ac_ext >&5
6097 glibcpp_cv_func___builtin_sin_link=no
6104 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6105 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6106 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6107 cat >> confdefs.h <<EOF
6108 #define ${ac_tr_func} 1
6115 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
6116 echo "configure:6117: checking for __builtin_sinl declaration" >&5
6117 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6118 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6119 echo $ac_n "(cached) $ac_c" 1>&6
6124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6125 ac_cpp='$CXXCPP $CPPFLAGS'
6126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6128 cross_compiling=$ac_cv_prog_cxx_cross
6130 cat > conftest.$ac_ext <<EOF
6131 #line 6132 "configure"
6132 #include "confdefs.h"
6138 if { (eval echo configure:6139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6140 glibcpp_cv_func___builtin_sinl_use=yes
6142 echo "configure: failed program was:" >&5
6143 cat conftest.$ac_ext >&5
6145 glibcpp_cv_func___builtin_sinl_use=no
6149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6150 ac_cpp='$CPP $CPPFLAGS'
6151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6153 cross_compiling=$ac_cv_prog_cc_cross
6159 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6160 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6161 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
6162 echo "configure:6163: checking for __builtin_sinl linkage" >&5
6163 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6164 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6165 echo $ac_n "(cached) $ac_c" 1>&6
6168 cat > conftest.$ac_ext <<EOF
6169 #line 6170 "configure"
6170 #include "confdefs.h"
6176 if { (eval echo configure:6177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6178 glibcpp_cv_func___builtin_sinl_link=yes
6180 echo "configure: failed program was:" >&5
6181 cat conftest.$ac_ext >&5
6183 glibcpp_cv_func___builtin_sinl_link=no
6190 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6191 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6192 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6193 cat >> confdefs.h <<EOF
6194 #define ${ac_tr_func} 1
6202 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
6203 echo "configure:6204: checking for __builtin_cosf declaration" >&5
6204 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6205 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6206 echo $ac_n "(cached) $ac_c" 1>&6
6211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6212 ac_cpp='$CXXCPP $CPPFLAGS'
6213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6215 cross_compiling=$ac_cv_prog_cxx_cross
6217 cat > conftest.$ac_ext <<EOF
6218 #line 6219 "configure"
6219 #include "confdefs.h"
6225 if { (eval echo configure:6226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6227 glibcpp_cv_func___builtin_cosf_use=yes
6229 echo "configure: failed program was:" >&5
6230 cat conftest.$ac_ext >&5
6232 glibcpp_cv_func___builtin_cosf_use=no
6236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6237 ac_cpp='$CPP $CPPFLAGS'
6238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6240 cross_compiling=$ac_cv_prog_cc_cross
6246 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
6247 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
6248 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
6249 echo "configure:6250: checking for __builtin_cosf linkage" >&5
6250 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
6251 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
6252 echo $ac_n "(cached) $ac_c" 1>&6
6255 cat > conftest.$ac_ext <<EOF
6256 #line 6257 "configure"
6257 #include "confdefs.h"
6263 if { (eval echo configure:6264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6265 glibcpp_cv_func___builtin_cosf_link=yes
6267 echo "configure: failed program was:" >&5
6268 cat conftest.$ac_ext >&5
6270 glibcpp_cv_func___builtin_cosf_link=no
6277 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
6278 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
6279 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6280 cat >> confdefs.h <<EOF
6281 #define ${ac_tr_func} 1
6288 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
6289 echo "configure:6290: checking for __builtin_cos declaration" >&5
6290 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
6291 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
6292 echo $ac_n "(cached) $ac_c" 1>&6
6297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6298 ac_cpp='$CXXCPP $CPPFLAGS'
6299 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6300 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6301 cross_compiling=$ac_cv_prog_cxx_cross
6303 cat > conftest.$ac_ext <<EOF
6304 #line 6305 "configure"
6305 #include "confdefs.h"
6311 if { (eval echo configure:6312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6313 glibcpp_cv_func___builtin_cos_use=yes
6315 echo "configure: failed program was:" >&5
6316 cat conftest.$ac_ext >&5
6318 glibcpp_cv_func___builtin_cos_use=no
6322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6323 ac_cpp='$CPP $CPPFLAGS'
6324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6326 cross_compiling=$ac_cv_prog_cc_cross
6332 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
6333 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
6334 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
6335 echo "configure:6336: checking for __builtin_cos linkage" >&5
6336 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
6337 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
6338 echo $ac_n "(cached) $ac_c" 1>&6
6341 cat > conftest.$ac_ext <<EOF
6342 #line 6343 "configure"
6343 #include "confdefs.h"
6349 if { (eval echo configure:6350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6351 glibcpp_cv_func___builtin_cos_link=yes
6353 echo "configure: failed program was:" >&5
6354 cat conftest.$ac_ext >&5
6356 glibcpp_cv_func___builtin_cos_link=no
6363 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
6364 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
6365 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6366 cat >> confdefs.h <<EOF
6367 #define ${ac_tr_func} 1
6374 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
6375 echo "configure:6376: checking for __builtin_cosl declaration" >&5
6376 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
6377 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
6378 echo $ac_n "(cached) $ac_c" 1>&6
6383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6384 ac_cpp='$CXXCPP $CPPFLAGS'
6385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6387 cross_compiling=$ac_cv_prog_cxx_cross
6389 cat > conftest.$ac_ext <<EOF
6390 #line 6391 "configure"
6391 #include "confdefs.h"
6397 if { (eval echo configure:6398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6399 glibcpp_cv_func___builtin_cosl_use=yes
6401 echo "configure: failed program was:" >&5
6402 cat conftest.$ac_ext >&5
6404 glibcpp_cv_func___builtin_cosl_use=no
6408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6412 cross_compiling=$ac_cv_prog_cc_cross
6418 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
6419 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
6420 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
6421 echo "configure:6422: checking for __builtin_cosl linkage" >&5
6422 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
6423 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
6424 echo $ac_n "(cached) $ac_c" 1>&6
6427 cat > conftest.$ac_ext <<EOF
6428 #line 6429 "configure"
6429 #include "confdefs.h"
6435 if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6437 glibcpp_cv_func___builtin_cosl_link=yes
6439 echo "configure: failed program was:" >&5
6440 cat conftest.$ac_ext >&5
6442 glibcpp_cv_func___builtin_cosl_link=no
6449 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
6450 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
6451 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6452 cat >> confdefs.h <<EOF
6453 #define ${ac_tr_func} 1
6461 if test x$dummyvar = x"yes"; then
6462 cat >> confdefs.h <<\EOF
6463 #define HAVE___BUILTIN_ABS 1
6466 cat >> confdefs.h <<\EOF
6467 #define HAVE___BUILTIN_LABS 1
6470 cat >> confdefs.h <<\EOF
6471 #define HAVE___BUILTIN_COS 1
6474 cat >> confdefs.h <<\EOF
6475 #define HAVE___BUILTIN_COSF 1
6478 cat >> confdefs.h <<\EOF
6479 #define HAVE___BUILTIN_COSL 1
6482 cat >> confdefs.h <<\EOF
6483 #define HAVE___BUILTIN_FABS 1
6486 cat >> confdefs.h <<\EOF
6487 #define HAVE___BUILTIN_FABSF 1
6490 cat >> confdefs.h <<\EOF
6491 #define HAVE___BUILTIN_FABSL 1
6494 cat >> confdefs.h <<\EOF
6495 #define HAVE___BUILTIN_SIN 1
6498 cat >> confdefs.h <<\EOF
6499 #define HAVE___BUILTIN_SINF 1
6502 cat >> confdefs.h <<\EOF
6503 #define HAVE___BUILTIN_SINL 1
6506 cat >> confdefs.h <<\EOF
6507 #define HAVE___BUILTIN_FSQRT 1
6510 cat >> confdefs.h <<\EOF
6511 #define HAVE___BUILTIN_SQRTF 1
6514 cat >> confdefs.h <<\EOF
6515 #define HAVE___BUILTIN_SQRTL 1
6521 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6522 ac_save_CXXFLAGS="$CXXFLAGS"
6523 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
6525 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
6526 echo "configure:6527: checking for sin in -lm" >&5
6527 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
6528 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6529 echo $ac_n "(cached) $ac_c" 1>&6
6531 ac_save_LIBS="$LIBS"
6533 cat > conftest.$ac_ext <<EOF
6534 #line 6535 "configure"
6535 #include "confdefs.h"
6536 /* Override any gcc2 internal prototype to avoid an error. */
6537 /* We use char because int might match the return type of a gcc2
6538 builtin and then its argument prototype would still apply. */
6545 if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6547 eval "ac_cv_lib_$ac_lib_var=yes"
6549 echo "configure: failed program was:" >&5
6550 cat conftest.$ac_ext >&5
6552 eval "ac_cv_lib_$ac_lib_var=no"
6555 LIBS="$ac_save_LIBS"
6558 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6559 echo "$ac_t""yes" 1>&6
6562 echo "$ac_t""no" 1>&6
6565 ac_save_LIBS="$LIBS"
6570 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
6571 echo "configure:6572: checking for isinf declaration" >&5
6572 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
6573 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
6574 echo $ac_n "(cached) $ac_c" 1>&6
6579 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6580 ac_cpp='$CXXCPP $CPPFLAGS'
6581 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6582 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6583 cross_compiling=$ac_cv_prog_cxx_cross
6585 cat > conftest.$ac_ext <<EOF
6586 #line 6587 "configure"
6587 #include "confdefs.h"
6589 #ifdef HAVE_IEEEFP_H
6597 if { (eval echo configure:6598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6599 glibcpp_cv_func_isinf_use=yes
6601 echo "configure: failed program was:" >&5
6602 cat conftest.$ac_ext >&5
6604 glibcpp_cv_func_isinf_use=no
6608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6609 ac_cpp='$CPP $CPPFLAGS'
6610 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6611 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6612 cross_compiling=$ac_cv_prog_cc_cross
6618 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
6620 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
6621 for ac_func in isinf
6623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6624 echo "configure:6625: checking for $ac_func" >&5
6625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6626 echo $ac_n "(cached) $ac_c" 1>&6
6628 cat > conftest.$ac_ext <<EOF
6629 #line 6630 "configure"
6630 #include "confdefs.h"
6631 /* System header to define __stub macros and hopefully few prototypes,
6632 which can conflict with char $ac_func(); below. */
6634 /* Override any gcc2 internal prototype to avoid an error. */
6635 /* We use char because int might match the return type of a gcc2
6636 builtin and then its argument prototype would still apply. */
6641 /* The GNU C library defines this for functions which it implements
6642 to always fail with ENOSYS. Some functions are actually named
6643 something starting with __ and the normal name is an alias. */
6644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6652 if { (eval echo configure:6653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6654 eval "ac_cv_func_$ac_func=yes"
6656 echo "configure: failed program was:" >&5
6657 cat conftest.$ac_ext >&5
6659 eval "ac_cv_func_$ac_func=no"
6664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6665 echo "$ac_t""yes" 1>&6
6666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6667 cat >> confdefs.h <<EOF
6668 #define $ac_tr_func 1
6672 echo "$ac_t""no" 1>&6
6678 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6679 echo "configure:6680: checking for _isinf declaration" >&5
6680 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6681 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6682 echo $ac_n "(cached) $ac_c" 1>&6
6687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6688 ac_cpp='$CXXCPP $CPPFLAGS'
6689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6691 cross_compiling=$ac_cv_prog_cxx_cross
6693 cat > conftest.$ac_ext <<EOF
6694 #line 6695 "configure"
6695 #include "confdefs.h"
6697 #ifdef HAVE_IEEEFP_H
6705 if { (eval echo configure:6706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6707 glibcpp_cv_func__isinf_use=yes
6709 echo "configure: failed program was:" >&5
6710 cat conftest.$ac_ext >&5
6712 glibcpp_cv_func__isinf_use=no
6716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6717 ac_cpp='$CPP $CPPFLAGS'
6718 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6719 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6720 cross_compiling=$ac_cv_prog_cc_cross
6726 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6728 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6729 for ac_func in _isinf
6731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6732 echo "configure:6733: checking for $ac_func" >&5
6733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6734 echo $ac_n "(cached) $ac_c" 1>&6
6736 cat > conftest.$ac_ext <<EOF
6737 #line 6738 "configure"
6738 #include "confdefs.h"
6739 /* System header to define __stub macros and hopefully few prototypes,
6740 which can conflict with char $ac_func(); below. */
6742 /* Override any gcc2 internal prototype to avoid an error. */
6743 /* We use char because int might match the return type of a gcc2
6744 builtin and then its argument prototype would still apply. */
6749 /* The GNU C library defines this for functions which it implements
6750 to always fail with ENOSYS. Some functions are actually named
6751 something starting with __ and the normal name is an alias. */
6752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6760 if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6762 eval "ac_cv_func_$ac_func=yes"
6764 echo "configure: failed program was:" >&5
6765 cat conftest.$ac_ext >&5
6767 eval "ac_cv_func_$ac_func=no"
6772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6773 echo "$ac_t""yes" 1>&6
6774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6775 cat >> confdefs.h <<EOF
6776 #define $ac_tr_func 1
6780 echo "$ac_t""no" 1>&6
6789 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6790 echo "configure:6791: checking for isnan declaration" >&5
6791 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6792 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6793 echo $ac_n "(cached) $ac_c" 1>&6
6798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6799 ac_cpp='$CXXCPP $CPPFLAGS'
6800 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6801 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6802 cross_compiling=$ac_cv_prog_cxx_cross
6804 cat > conftest.$ac_ext <<EOF
6805 #line 6806 "configure"
6806 #include "confdefs.h"
6808 #ifdef HAVE_IEEEFP_H
6816 if { (eval echo configure:6817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6818 glibcpp_cv_func_isnan_use=yes
6820 echo "configure: failed program was:" >&5
6821 cat conftest.$ac_ext >&5
6823 glibcpp_cv_func_isnan_use=no
6827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6828 ac_cpp='$CPP $CPPFLAGS'
6829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6831 cross_compiling=$ac_cv_prog_cc_cross
6837 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6839 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6840 for ac_func in isnan
6842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6843 echo "configure:6844: checking for $ac_func" >&5
6844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6845 echo $ac_n "(cached) $ac_c" 1>&6
6847 cat > conftest.$ac_ext <<EOF
6848 #line 6849 "configure"
6849 #include "confdefs.h"
6850 /* System header to define __stub macros and hopefully few prototypes,
6851 which can conflict with char $ac_func(); below. */
6853 /* Override any gcc2 internal prototype to avoid an error. */
6854 /* We use char because int might match the return type of a gcc2
6855 builtin and then its argument prototype would still apply. */
6860 /* The GNU C library defines this for functions which it implements
6861 to always fail with ENOSYS. Some functions are actually named
6862 something starting with __ and the normal name is an alias. */
6863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6871 if { (eval echo configure:6872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6873 eval "ac_cv_func_$ac_func=yes"
6875 echo "configure: failed program was:" >&5
6876 cat conftest.$ac_ext >&5
6878 eval "ac_cv_func_$ac_func=no"
6883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6884 echo "$ac_t""yes" 1>&6
6885 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6886 cat >> confdefs.h <<EOF
6887 #define $ac_tr_func 1
6891 echo "$ac_t""no" 1>&6
6897 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6898 echo "configure:6899: checking for _isnan declaration" >&5
6899 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6900 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6901 echo $ac_n "(cached) $ac_c" 1>&6
6906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6907 ac_cpp='$CXXCPP $CPPFLAGS'
6908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6910 cross_compiling=$ac_cv_prog_cxx_cross
6912 cat > conftest.$ac_ext <<EOF
6913 #line 6914 "configure"
6914 #include "confdefs.h"
6916 #ifdef HAVE_IEEEFP_H
6924 if { (eval echo configure:6925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6926 glibcpp_cv_func__isnan_use=yes
6928 echo "configure: failed program was:" >&5
6929 cat conftest.$ac_ext >&5
6931 glibcpp_cv_func__isnan_use=no
6935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6936 ac_cpp='$CPP $CPPFLAGS'
6937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6939 cross_compiling=$ac_cv_prog_cc_cross
6945 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6947 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6948 for ac_func in _isnan
6950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6951 echo "configure:6952: checking for $ac_func" >&5
6952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6953 echo $ac_n "(cached) $ac_c" 1>&6
6955 cat > conftest.$ac_ext <<EOF
6956 #line 6957 "configure"
6957 #include "confdefs.h"
6958 /* System header to define __stub macros and hopefully few prototypes,
6959 which can conflict with char $ac_func(); below. */
6961 /* Override any gcc2 internal prototype to avoid an error. */
6962 /* We use char because int might match the return type of a gcc2
6963 builtin and then its argument prototype would still apply. */
6968 /* The GNU C library defines this for functions which it implements
6969 to always fail with ENOSYS. Some functions are actually named
6970 something starting with __ and the normal name is an alias. */
6971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6979 if { (eval echo configure:6980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6981 eval "ac_cv_func_$ac_func=yes"
6983 echo "configure: failed program was:" >&5
6984 cat conftest.$ac_ext >&5
6986 eval "ac_cv_func_$ac_func=no"
6991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6992 echo "$ac_t""yes" 1>&6
6993 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6994 cat >> confdefs.h <<EOF
6995 #define $ac_tr_func 1
6999 echo "$ac_t""no" 1>&6
7008 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
7009 echo "configure:7010: checking for finite declaration" >&5
7010 if test x${glibcpp_cv_func_finite_use+set} != xset; then
7011 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7012 echo $ac_n "(cached) $ac_c" 1>&6
7017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7018 ac_cpp='$CXXCPP $CPPFLAGS'
7019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7021 cross_compiling=$ac_cv_prog_cxx_cross
7023 cat > conftest.$ac_ext <<EOF
7024 #line 7025 "configure"
7025 #include "confdefs.h"
7027 #ifdef HAVE_IEEEFP_H
7035 if { (eval echo configure:7036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7037 glibcpp_cv_func_finite_use=yes
7039 echo "configure: failed program was:" >&5
7040 cat conftest.$ac_ext >&5
7042 glibcpp_cv_func_finite_use=no
7046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7047 ac_cpp='$CPP $CPPFLAGS'
7048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7050 cross_compiling=$ac_cv_prog_cc_cross
7056 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7058 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7059 for ac_func in finite
7061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7062 echo "configure:7063: checking for $ac_func" >&5
7063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7064 echo $ac_n "(cached) $ac_c" 1>&6
7066 cat > conftest.$ac_ext <<EOF
7067 #line 7068 "configure"
7068 #include "confdefs.h"
7069 /* System header to define __stub macros and hopefully few prototypes,
7070 which can conflict with char $ac_func(); below. */
7072 /* Override any gcc2 internal prototype to avoid an error. */
7073 /* We use char because int might match the return type of a gcc2
7074 builtin and then its argument prototype would still apply. */
7079 /* The GNU C library defines this for functions which it implements
7080 to always fail with ENOSYS. Some functions are actually named
7081 something starting with __ and the normal name is an alias. */
7082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7092 eval "ac_cv_func_$ac_func=yes"
7094 echo "configure: failed program was:" >&5
7095 cat conftest.$ac_ext >&5
7097 eval "ac_cv_func_$ac_func=no"
7102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7103 echo "$ac_t""yes" 1>&6
7104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7105 cat >> confdefs.h <<EOF
7106 #define $ac_tr_func 1
7110 echo "$ac_t""no" 1>&6
7116 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
7117 echo "configure:7118: checking for _finite declaration" >&5
7118 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7119 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7120 echo $ac_n "(cached) $ac_c" 1>&6
7125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7126 ac_cpp='$CXXCPP $CPPFLAGS'
7127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7129 cross_compiling=$ac_cv_prog_cxx_cross
7131 cat > conftest.$ac_ext <<EOF
7132 #line 7133 "configure"
7133 #include "confdefs.h"
7135 #ifdef HAVE_IEEEFP_H
7143 if { (eval echo configure:7144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7145 glibcpp_cv_func__finite_use=yes
7147 echo "configure: failed program was:" >&5
7148 cat conftest.$ac_ext >&5
7150 glibcpp_cv_func__finite_use=no
7154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7155 ac_cpp='$CPP $CPPFLAGS'
7156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7158 cross_compiling=$ac_cv_prog_cc_cross
7164 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7166 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7167 for ac_func in _finite
7169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7170 echo "configure:7171: checking for $ac_func" >&5
7171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7172 echo $ac_n "(cached) $ac_c" 1>&6
7174 cat > conftest.$ac_ext <<EOF
7175 #line 7176 "configure"
7176 #include "confdefs.h"
7177 /* System header to define __stub macros and hopefully few prototypes,
7178 which can conflict with char $ac_func(); below. */
7180 /* Override any gcc2 internal prototype to avoid an error. */
7181 /* We use char because int might match the return type of a gcc2
7182 builtin and then its argument prototype would still apply. */
7187 /* The GNU C library defines this for functions which it implements
7188 to always fail with ENOSYS. Some functions are actually named
7189 something starting with __ and the normal name is an alias. */
7190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7198 if { (eval echo configure:7199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7200 eval "ac_cv_func_$ac_func=yes"
7202 echo "configure: failed program was:" >&5
7203 cat conftest.$ac_ext >&5
7205 eval "ac_cv_func_$ac_func=no"
7210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7211 echo "$ac_t""yes" 1>&6
7212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7213 cat >> confdefs.h <<EOF
7214 #define $ac_tr_func 1
7218 echo "$ac_t""no" 1>&6
7227 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
7228 echo "configure:7229: checking for copysign declaration" >&5
7229 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7230 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
7231 echo $ac_n "(cached) $ac_c" 1>&6
7236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7237 ac_cpp='$CXXCPP $CPPFLAGS'
7238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7240 cross_compiling=$ac_cv_prog_cxx_cross
7242 cat > conftest.$ac_ext <<EOF
7243 #line 7244 "configure"
7244 #include "confdefs.h"
7250 if { (eval echo configure:7251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7252 glibcpp_cv_func_copysign_use=yes
7254 echo "configure: failed program was:" >&5
7255 cat conftest.$ac_ext >&5
7257 glibcpp_cv_func_copysign_use=no
7261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7262 ac_cpp='$CPP $CPPFLAGS'
7263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7265 cross_compiling=$ac_cv_prog_cc_cross
7271 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
7273 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
7274 for ac_func in copysign
7276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7277 echo "configure:7278: checking for $ac_func" >&5
7278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7279 echo $ac_n "(cached) $ac_c" 1>&6
7281 cat > conftest.$ac_ext <<EOF
7282 #line 7283 "configure"
7283 #include "confdefs.h"
7284 /* System header to define __stub macros and hopefully few prototypes,
7285 which can conflict with char $ac_func(); below. */
7287 /* Override any gcc2 internal prototype to avoid an error. */
7288 /* We use char because int might match the return type of a gcc2
7289 builtin and then its argument prototype would still apply. */
7294 /* The GNU C library defines this for functions which it implements
7295 to always fail with ENOSYS. Some functions are actually named
7296 something starting with __ and the normal name is an alias. */
7297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7305 if { (eval echo configure:7306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7307 eval "ac_cv_func_$ac_func=yes"
7309 echo "configure: failed program was:" >&5
7310 cat conftest.$ac_ext >&5
7312 eval "ac_cv_func_$ac_func=no"
7317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7318 echo "$ac_t""yes" 1>&6
7319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7320 cat >> confdefs.h <<EOF
7321 #define $ac_tr_func 1
7325 echo "$ac_t""no" 1>&6
7331 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
7332 echo "configure:7333: checking for _copysign declaration" >&5
7333 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
7334 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
7335 echo $ac_n "(cached) $ac_c" 1>&6
7340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7341 ac_cpp='$CXXCPP $CPPFLAGS'
7342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7344 cross_compiling=$ac_cv_prog_cxx_cross
7346 cat > conftest.$ac_ext <<EOF
7347 #line 7348 "configure"
7348 #include "confdefs.h"
7354 if { (eval echo configure:7355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7356 glibcpp_cv_func__copysign_use=yes
7358 echo "configure: failed program was:" >&5
7359 cat conftest.$ac_ext >&5
7361 glibcpp_cv_func__copysign_use=no
7365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7366 ac_cpp='$CPP $CPPFLAGS'
7367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7369 cross_compiling=$ac_cv_prog_cc_cross
7375 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
7377 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
7378 for ac_func in _copysign
7380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7381 echo "configure:7382: checking for $ac_func" >&5
7382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7383 echo $ac_n "(cached) $ac_c" 1>&6
7385 cat > conftest.$ac_ext <<EOF
7386 #line 7387 "configure"
7387 #include "confdefs.h"
7388 /* System header to define __stub macros and hopefully few prototypes,
7389 which can conflict with char $ac_func(); below. */
7391 /* Override any gcc2 internal prototype to avoid an error. */
7392 /* We use char because int might match the return type of a gcc2
7393 builtin and then its argument prototype would still apply. */
7398 /* The GNU C library defines this for functions which it implements
7399 to always fail with ENOSYS. Some functions are actually named
7400 something starting with __ and the normal name is an alias. */
7401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7409 if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7411 eval "ac_cv_func_$ac_func=yes"
7413 echo "configure: failed program was:" >&5
7414 cat conftest.$ac_ext >&5
7416 eval "ac_cv_func_$ac_func=no"
7421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7422 echo "$ac_t""yes" 1>&6
7423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7424 cat >> confdefs.h <<EOF
7425 #define $ac_tr_func 1
7429 echo "$ac_t""no" 1>&6
7438 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
7439 echo "configure:7440: checking for sincos declaration" >&5
7440 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
7441 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
7442 echo $ac_n "(cached) $ac_c" 1>&6
7447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7448 ac_cpp='$CXXCPP $CPPFLAGS'
7449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7451 cross_compiling=$ac_cv_prog_cxx_cross
7453 cat > conftest.$ac_ext <<EOF
7454 #line 7455 "configure"
7455 #include "confdefs.h"
7461 if { (eval echo configure:7462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7463 glibcpp_cv_func_sincos_use=yes
7465 echo "configure: failed program was:" >&5
7466 cat conftest.$ac_ext >&5
7468 glibcpp_cv_func_sincos_use=no
7472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7476 cross_compiling=$ac_cv_prog_cc_cross
7482 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
7484 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
7485 for ac_func in sincos
7487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7488 echo "configure:7489: checking for $ac_func" >&5
7489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7490 echo $ac_n "(cached) $ac_c" 1>&6
7492 cat > conftest.$ac_ext <<EOF
7493 #line 7494 "configure"
7494 #include "confdefs.h"
7495 /* System header to define __stub macros and hopefully few prototypes,
7496 which can conflict with char $ac_func(); below. */
7498 /* Override any gcc2 internal prototype to avoid an error. */
7499 /* We use char because int might match the return type of a gcc2
7500 builtin and then its argument prototype would still apply. */
7505 /* The GNU C library defines this for functions which it implements
7506 to always fail with ENOSYS. Some functions are actually named
7507 something starting with __ and the normal name is an alias. */
7508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7516 if { (eval echo configure:7517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7518 eval "ac_cv_func_$ac_func=yes"
7520 echo "configure: failed program was:" >&5
7521 cat conftest.$ac_ext >&5
7523 eval "ac_cv_func_$ac_func=no"
7528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7529 echo "$ac_t""yes" 1>&6
7530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7531 cat >> confdefs.h <<EOF
7532 #define $ac_tr_func 1
7536 echo "$ac_t""no" 1>&6
7542 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
7543 echo "configure:7544: checking for _sincos declaration" >&5
7544 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
7545 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
7546 echo $ac_n "(cached) $ac_c" 1>&6
7551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7552 ac_cpp='$CXXCPP $CPPFLAGS'
7553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7555 cross_compiling=$ac_cv_prog_cxx_cross
7557 cat > conftest.$ac_ext <<EOF
7558 #line 7559 "configure"
7559 #include "confdefs.h"
7565 if { (eval echo configure:7566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7567 glibcpp_cv_func__sincos_use=yes
7569 echo "configure: failed program was:" >&5
7570 cat conftest.$ac_ext >&5
7572 glibcpp_cv_func__sincos_use=no
7576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7577 ac_cpp='$CPP $CPPFLAGS'
7578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7579 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7580 cross_compiling=$ac_cv_prog_cc_cross
7586 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
7588 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
7589 for ac_func in _sincos
7591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7592 echo "configure:7593: checking for $ac_func" >&5
7593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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"
7599 /* System header to define __stub macros and hopefully few prototypes,
7600 which can conflict with char $ac_func(); below. */
7602 /* Override any gcc2 internal prototype to avoid an error. */
7603 /* We use char because int might match the return type of a gcc2
7604 builtin and then its argument prototype would still apply. */
7609 /* The GNU C library defines this for functions which it implements
7610 to always fail with ENOSYS. Some functions are actually named
7611 something starting with __ and the normal name is an alias. */
7612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7620 if { (eval echo configure:7621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7622 eval "ac_cv_func_$ac_func=yes"
7624 echo "configure: failed program was:" >&5
7625 cat conftest.$ac_ext >&5
7627 eval "ac_cv_func_$ac_func=no"
7632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7633 echo "$ac_t""yes" 1>&6
7634 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7635 cat >> confdefs.h <<EOF
7636 #define $ac_tr_func 1
7640 echo "$ac_t""no" 1>&6
7649 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7650 echo "configure:7651: checking for fpclass declaration" >&5
7651 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7652 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7653 echo $ac_n "(cached) $ac_c" 1>&6
7658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7659 ac_cpp='$CXXCPP $CPPFLAGS'
7660 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7661 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7662 cross_compiling=$ac_cv_prog_cxx_cross
7664 cat > conftest.$ac_ext <<EOF
7665 #line 7666 "configure"
7666 #include "confdefs.h"
7668 #ifdef HAVE_IEEEFP_H
7676 if { (eval echo configure:7677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7678 glibcpp_cv_func_fpclass_use=yes
7680 echo "configure: failed program was:" >&5
7681 cat conftest.$ac_ext >&5
7683 glibcpp_cv_func_fpclass_use=no
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 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7699 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7700 for ac_func in fpclass
7702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7703 echo "configure:7704: checking for $ac_func" >&5
7704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7705 echo $ac_n "(cached) $ac_c" 1>&6
7707 cat > conftest.$ac_ext <<EOF
7708 #line 7709 "configure"
7709 #include "confdefs.h"
7710 /* System header to define __stub macros and hopefully few prototypes,
7711 which can conflict with char $ac_func(); below. */
7713 /* Override any gcc2 internal prototype to avoid an error. */
7714 /* We use char because int might match the return type of a gcc2
7715 builtin and then its argument prototype would still apply. */
7720 /* The GNU C library defines this for functions which it implements
7721 to always fail with ENOSYS. Some functions are actually named
7722 something starting with __ and the normal name is an alias. */
7723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7733 eval "ac_cv_func_$ac_func=yes"
7735 echo "configure: failed program was:" >&5
7736 cat conftest.$ac_ext >&5
7738 eval "ac_cv_func_$ac_func=no"
7743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7744 echo "$ac_t""yes" 1>&6
7745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7746 cat >> confdefs.h <<EOF
7747 #define $ac_tr_func 1
7751 echo "$ac_t""no" 1>&6
7757 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7758 echo "configure:7759: checking for _fpclass declaration" >&5
7759 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7760 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7761 echo $ac_n "(cached) $ac_c" 1>&6
7766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7767 ac_cpp='$CXXCPP $CPPFLAGS'
7768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7770 cross_compiling=$ac_cv_prog_cxx_cross
7772 cat > conftest.$ac_ext <<EOF
7773 #line 7774 "configure"
7774 #include "confdefs.h"
7776 #ifdef HAVE_IEEEFP_H
7784 if { (eval echo configure:7785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7786 glibcpp_cv_func__fpclass_use=yes
7788 echo "configure: failed program was:" >&5
7789 cat conftest.$ac_ext >&5
7791 glibcpp_cv_func__fpclass_use=no
7795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7796 ac_cpp='$CPP $CPPFLAGS'
7797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7799 cross_compiling=$ac_cv_prog_cc_cross
7805 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7807 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7808 for ac_func in _fpclass
7810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7811 echo "configure:7812: checking for $ac_func" >&5
7812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7813 echo $ac_n "(cached) $ac_c" 1>&6
7815 cat > conftest.$ac_ext <<EOF
7816 #line 7817 "configure"
7817 #include "confdefs.h"
7818 /* System header to define __stub macros and hopefully few prototypes,
7819 which can conflict with char $ac_func(); below. */
7821 /* Override any gcc2 internal prototype to avoid an error. */
7822 /* We use char because int might match the return type of a gcc2
7823 builtin and then its argument prototype would still apply. */
7828 /* The GNU C library defines this for functions which it implements
7829 to always fail with ENOSYS. Some functions are actually named
7830 something starting with __ and the normal name is an alias. */
7831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7839 if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7841 eval "ac_cv_func_$ac_func=yes"
7843 echo "configure: failed program was:" >&5
7844 cat conftest.$ac_ext >&5
7846 eval "ac_cv_func_$ac_func=no"
7851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7852 echo "$ac_t""yes" 1>&6
7853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7854 cat >> confdefs.h <<EOF
7855 #define $ac_tr_func 1
7859 echo "$ac_t""no" 1>&6
7868 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7869 echo "configure:7870: checking for qfpclass declaration" >&5
7870 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7871 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7872 echo $ac_n "(cached) $ac_c" 1>&6
7877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7878 ac_cpp='$CXXCPP $CPPFLAGS'
7879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7881 cross_compiling=$ac_cv_prog_cxx_cross
7883 cat > conftest.$ac_ext <<EOF
7884 #line 7885 "configure"
7885 #include "confdefs.h"
7887 #ifdef HAVE_IEEEFP_H
7895 if { (eval echo configure:7896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7897 glibcpp_cv_func_qfpclass_use=yes
7899 echo "configure: failed program was:" >&5
7900 cat conftest.$ac_ext >&5
7902 glibcpp_cv_func_qfpclass_use=no
7906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7907 ac_cpp='$CPP $CPPFLAGS'
7908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7910 cross_compiling=$ac_cv_prog_cc_cross
7916 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7918 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7919 for ac_func in qfpclass
7921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7922 echo "configure:7923: checking for $ac_func" >&5
7923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7924 echo $ac_n "(cached) $ac_c" 1>&6
7926 cat > conftest.$ac_ext <<EOF
7927 #line 7928 "configure"
7928 #include "confdefs.h"
7929 /* System header to define __stub macros and hopefully few prototypes,
7930 which can conflict with char $ac_func(); below. */
7932 /* Override any gcc2 internal prototype to avoid an error. */
7933 /* We use char because int might match the return type of a gcc2
7934 builtin and then its argument prototype would still apply. */
7939 /* The GNU C library defines this for functions which it implements
7940 to always fail with ENOSYS. Some functions are actually named
7941 something starting with __ and the normal name is an alias. */
7942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7950 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7952 eval "ac_cv_func_$ac_func=yes"
7954 echo "configure: failed program was:" >&5
7955 cat conftest.$ac_ext >&5
7957 eval "ac_cv_func_$ac_func=no"
7962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7963 echo "$ac_t""yes" 1>&6
7964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7965 cat >> confdefs.h <<EOF
7966 #define $ac_tr_func 1
7970 echo "$ac_t""no" 1>&6
7976 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7977 echo "configure:7978: checking for _qfpclass declaration" >&5
7978 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7979 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7980 echo $ac_n "(cached) $ac_c" 1>&6
7985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7986 ac_cpp='$CXXCPP $CPPFLAGS'
7987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7989 cross_compiling=$ac_cv_prog_cxx_cross
7991 cat > conftest.$ac_ext <<EOF
7992 #line 7993 "configure"
7993 #include "confdefs.h"
7995 #ifdef HAVE_IEEEFP_H
8003 if { (eval echo configure:8004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8005 glibcpp_cv_func__qfpclass_use=yes
8007 echo "configure: failed program was:" >&5
8008 cat conftest.$ac_ext >&5
8010 glibcpp_cv_func__qfpclass_use=no
8014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8015 ac_cpp='$CPP $CPPFLAGS'
8016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8018 cross_compiling=$ac_cv_prog_cc_cross
8024 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8026 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
8027 for ac_func in _qfpclass
8029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8030 echo "configure:8031: checking for $ac_func" >&5
8031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8032 echo $ac_n "(cached) $ac_c" 1>&6
8034 cat > conftest.$ac_ext <<EOF
8035 #line 8036 "configure"
8036 #include "confdefs.h"
8037 /* System header to define __stub macros and hopefully few prototypes,
8038 which can conflict with char $ac_func(); below. */
8040 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8047 /* The GNU C library defines this for functions which it implements
8048 to always fail with ENOSYS. Some functions are actually named
8049 something starting with __ and the normal name is an alias. */
8050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8060 eval "ac_cv_func_$ac_func=yes"
8062 echo "configure: failed program was:" >&5
8063 cat conftest.$ac_ext >&5
8065 eval "ac_cv_func_$ac_func=no"
8070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8071 echo "$ac_t""yes" 1>&6
8072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8073 cat >> confdefs.h <<EOF
8074 #define $ac_tr_func 1
8078 echo "$ac_t""no" 1>&6
8087 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
8088 echo "configure:8089: checking for hypot declaration" >&5
8089 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
8090 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
8091 echo $ac_n "(cached) $ac_c" 1>&6
8096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8097 ac_cpp='$CXXCPP $CPPFLAGS'
8098 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8099 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8100 cross_compiling=$ac_cv_prog_cxx_cross
8102 cat > conftest.$ac_ext <<EOF
8103 #line 8104 "configure"
8104 #include "confdefs.h"
8110 if { (eval echo configure:8111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8112 glibcpp_cv_func_hypot_use=yes
8114 echo "configure: failed program was:" >&5
8115 cat conftest.$ac_ext >&5
8117 glibcpp_cv_func_hypot_use=no
8121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8122 ac_cpp='$CPP $CPPFLAGS'
8123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8125 cross_compiling=$ac_cv_prog_cc_cross
8131 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
8133 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
8134 for ac_func in hypot
8136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8137 echo "configure:8138: checking for $ac_func" >&5
8138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8139 echo $ac_n "(cached) $ac_c" 1>&6
8141 cat > conftest.$ac_ext <<EOF
8142 #line 8143 "configure"
8143 #include "confdefs.h"
8144 /* System header to define __stub macros and hopefully few prototypes,
8145 which can conflict with char $ac_func(); below. */
8147 /* Override any gcc2 internal prototype to avoid an error. */
8148 /* We use char because int might match the return type of a gcc2
8149 builtin and then its argument prototype would still apply. */
8154 /* The GNU C library defines this for functions which it implements
8155 to always fail with ENOSYS. Some functions are actually named
8156 something starting with __ and the normal name is an alias. */
8157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8167 eval "ac_cv_func_$ac_func=yes"
8169 echo "configure: failed program was:" >&5
8170 cat conftest.$ac_ext >&5
8172 eval "ac_cv_func_$ac_func=no"
8177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8178 echo "$ac_t""yes" 1>&6
8179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8180 cat >> confdefs.h <<EOF
8181 #define $ac_tr_func 1
8185 echo "$ac_t""no" 1>&6
8191 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
8192 echo "configure:8193: checking for _hypot declaration" >&5
8193 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
8194 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
8195 echo $ac_n "(cached) $ac_c" 1>&6
8200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8201 ac_cpp='$CXXCPP $CPPFLAGS'
8202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8204 cross_compiling=$ac_cv_prog_cxx_cross
8206 cat > conftest.$ac_ext <<EOF
8207 #line 8208 "configure"
8208 #include "confdefs.h"
8214 if { (eval echo configure:8215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8216 glibcpp_cv_func__hypot_use=yes
8218 echo "configure: failed program was:" >&5
8219 cat conftest.$ac_ext >&5
8221 glibcpp_cv_func__hypot_use=no
8225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8226 ac_cpp='$CPP $CPPFLAGS'
8227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8229 cross_compiling=$ac_cv_prog_cc_cross
8235 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
8237 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
8238 for ac_func in _hypot
8240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8241 echo "configure:8242: checking for $ac_func" >&5
8242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8243 echo $ac_n "(cached) $ac_c" 1>&6
8245 cat > conftest.$ac_ext <<EOF
8246 #line 8247 "configure"
8247 #include "confdefs.h"
8248 /* System header to define __stub macros and hopefully few prototypes,
8249 which can conflict with char $ac_func(); below. */
8251 /* Override any gcc2 internal prototype to avoid an error. */
8252 /* We use char because int might match the return type of a gcc2
8253 builtin and then its argument prototype would still apply. */
8258 /* The GNU C library defines this for functions which it implements
8259 to always fail with ENOSYS. Some functions are actually named
8260 something starting with __ and the normal name is an alias. */
8261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8269 if { (eval echo configure:8270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8271 eval "ac_cv_func_$ac_func=yes"
8273 echo "configure: failed program was:" >&5
8274 cat conftest.$ac_ext >&5
8276 eval "ac_cv_func_$ac_func=no"
8281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8282 echo "$ac_t""yes" 1>&6
8283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8284 cat >> confdefs.h <<EOF
8285 #define $ac_tr_func 1
8289 echo "$ac_t""no" 1>&6
8298 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
8299 echo "configure:8300: checking for float trig functions" >&5
8300 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
8301 echo $ac_n "(cached) $ac_c" 1>&6
8306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8307 ac_cpp='$CXXCPP $CPPFLAGS'
8308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8310 cross_compiling=$ac_cv_prog_cxx_cross
8312 cat > conftest.$ac_ext <<EOF
8313 #line 8314 "configure"
8314 #include "confdefs.h"
8317 `for x in acosf asinf atanf \
8319 coshf sinhf tanhf; do echo "$x (0);"; done`
8322 if { (eval echo configure:8323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8324 glibcpp_cv_func_float_trig_use=yes
8326 echo "configure: failed program was:" >&5
8327 cat conftest.$ac_ext >&5
8329 glibcpp_cv_func_float_trig_use=no
8333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8334 ac_cpp='$CPP $CPPFLAGS'
8335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8337 cross_compiling=$ac_cv_prog_cc_cross
8341 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
8342 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
8343 for ac_func in acosf asinf atanf \
8347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8348 echo "configure:8349: checking for $ac_func" >&5
8349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8350 echo $ac_n "(cached) $ac_c" 1>&6
8352 cat > conftest.$ac_ext <<EOF
8353 #line 8354 "configure"
8354 #include "confdefs.h"
8355 /* System header to define __stub macros and hopefully few prototypes,
8356 which can conflict with char $ac_func(); below. */
8358 /* Override any gcc2 internal prototype to avoid an error. */
8359 /* We use char because int might match the return type of a gcc2
8360 builtin and then its argument prototype would still apply. */
8365 /* The GNU C library defines this for functions which it implements
8366 to always fail with ENOSYS. Some functions are actually named
8367 something starting with __ and the normal name is an alias. */
8368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8376 if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8378 eval "ac_cv_func_$ac_func=yes"
8380 echo "configure: failed program was:" >&5
8381 cat conftest.$ac_ext >&5
8383 eval "ac_cv_func_$ac_func=no"
8388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8389 echo "$ac_t""yes" 1>&6
8390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8391 cat >> confdefs.h <<EOF
8392 #define $ac_tr_func 1
8396 echo "$ac_t""no" 1>&6
8403 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
8404 echo "configure:8405: checking for float round functions" >&5
8405 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
8406 echo $ac_n "(cached) $ac_c" 1>&6
8411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8412 ac_cpp='$CXXCPP $CPPFLAGS'
8413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8415 cross_compiling=$ac_cv_prog_cxx_cross
8417 cat > conftest.$ac_ext <<EOF
8418 #line 8419 "configure"
8419 #include "confdefs.h"
8422 `for x in ceilf floorf; do echo "$x (0);"; done`
8425 if { (eval echo configure:8426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8427 glibcpp_cv_func_float_round_use=yes
8429 echo "configure: failed program was:" >&5
8430 cat conftest.$ac_ext >&5
8432 glibcpp_cv_func_float_round_use=no
8436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8437 ac_cpp='$CPP $CPPFLAGS'
8438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8440 cross_compiling=$ac_cv_prog_cc_cross
8444 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
8445 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
8446 for ac_func in ceilf floorf
8448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8449 echo "configure:8450: checking for $ac_func" >&5
8450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8451 echo $ac_n "(cached) $ac_c" 1>&6
8453 cat > conftest.$ac_ext <<EOF
8454 #line 8455 "configure"
8455 #include "confdefs.h"
8456 /* System header to define __stub macros and hopefully few prototypes,
8457 which can conflict with char $ac_func(); below. */
8459 /* Override any gcc2 internal prototype to avoid an error. */
8460 /* We use char because int might match the return type of a gcc2
8461 builtin and then its argument prototype would still apply. */
8466 /* The GNU C library defines this for functions which it implements
8467 to always fail with ENOSYS. Some functions are actually named
8468 something starting with __ and the normal name is an alias. */
8469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8477 if { (eval echo configure:8478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8479 eval "ac_cv_func_$ac_func=yes"
8481 echo "configure: failed program was:" >&5
8482 cat conftest.$ac_ext >&5
8484 eval "ac_cv_func_$ac_func=no"
8489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8490 echo "$ac_t""yes" 1>&6
8491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8492 cat >> confdefs.h <<EOF
8493 #define $ac_tr_func 1
8497 echo "$ac_t""no" 1>&6
8505 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
8506 echo "configure:8507: checking for isnanf declaration" >&5
8507 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
8508 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8515 ac_cpp='$CXXCPP $CPPFLAGS'
8516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8518 cross_compiling=$ac_cv_prog_cxx_cross
8520 cat > conftest.$ac_ext <<EOF
8521 #line 8522 "configure"
8522 #include "confdefs.h"
8524 #ifdef HAVE_IEEEFP_H
8532 if { (eval echo configure:8533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8534 glibcpp_cv_func_isnanf_use=yes
8536 echo "configure: failed program was:" >&5
8537 cat conftest.$ac_ext >&5
8539 glibcpp_cv_func_isnanf_use=no
8543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8544 ac_cpp='$CPP $CPPFLAGS'
8545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8547 cross_compiling=$ac_cv_prog_cc_cross
8553 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
8555 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
8556 for ac_func in isnanf
8558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8559 echo "configure:8560: checking for $ac_func" >&5
8560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8561 echo $ac_n "(cached) $ac_c" 1>&6
8563 cat > conftest.$ac_ext <<EOF
8564 #line 8565 "configure"
8565 #include "confdefs.h"
8566 /* System header to define __stub macros and hopefully few prototypes,
8567 which can conflict with char $ac_func(); below. */
8569 /* Override any gcc2 internal prototype to avoid an error. */
8570 /* We use char because int might match the return type of a gcc2
8571 builtin and then its argument prototype would still apply. */
8576 /* The GNU C library defines this for functions which it implements
8577 to always fail with ENOSYS. Some functions are actually named
8578 something starting with __ and the normal name is an alias. */
8579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8587 if { (eval echo configure:8588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8589 eval "ac_cv_func_$ac_func=yes"
8591 echo "configure: failed program was:" >&5
8592 cat conftest.$ac_ext >&5
8594 eval "ac_cv_func_$ac_func=no"
8599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8600 echo "$ac_t""yes" 1>&6
8601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8602 cat >> confdefs.h <<EOF
8603 #define $ac_tr_func 1
8607 echo "$ac_t""no" 1>&6
8613 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
8614 echo "configure:8615: checking for _isnanf declaration" >&5
8615 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
8616 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
8617 echo $ac_n "(cached) $ac_c" 1>&6
8622 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8623 ac_cpp='$CXXCPP $CPPFLAGS'
8624 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8625 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8626 cross_compiling=$ac_cv_prog_cxx_cross
8628 cat > conftest.$ac_ext <<EOF
8629 #line 8630 "configure"
8630 #include "confdefs.h"
8632 #ifdef HAVE_IEEEFP_H
8640 if { (eval echo configure:8641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8642 glibcpp_cv_func__isnanf_use=yes
8644 echo "configure: failed program was:" >&5
8645 cat conftest.$ac_ext >&5
8647 glibcpp_cv_func__isnanf_use=no
8651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8652 ac_cpp='$CPP $CPPFLAGS'
8653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8655 cross_compiling=$ac_cv_prog_cc_cross
8661 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
8663 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
8664 for ac_func in _isnanf
8666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8667 echo "configure:8668: checking for $ac_func" >&5
8668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8669 echo $ac_n "(cached) $ac_c" 1>&6
8671 cat > conftest.$ac_ext <<EOF
8672 #line 8673 "configure"
8673 #include "confdefs.h"
8674 /* System header to define __stub macros and hopefully few prototypes,
8675 which can conflict with char $ac_func(); below. */
8677 /* Override any gcc2 internal prototype to avoid an error. */
8678 /* We use char because int might match the return type of a gcc2
8679 builtin and then its argument prototype would still apply. */
8684 /* The GNU C library defines this for functions which it implements
8685 to always fail with ENOSYS. Some functions are actually named
8686 something starting with __ and the normal name is an alias. */
8687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8695 if { (eval echo configure:8696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8697 eval "ac_cv_func_$ac_func=yes"
8699 echo "configure: failed program was:" >&5
8700 cat conftest.$ac_ext >&5
8702 eval "ac_cv_func_$ac_func=no"
8707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8708 echo "$ac_t""yes" 1>&6
8709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8710 cat >> confdefs.h <<EOF
8711 #define $ac_tr_func 1
8715 echo "$ac_t""no" 1>&6
8724 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
8725 echo "configure:8726: checking for isinff declaration" >&5
8726 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
8727 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8734 ac_cpp='$CXXCPP $CPPFLAGS'
8735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8737 cross_compiling=$ac_cv_prog_cxx_cross
8739 cat > conftest.$ac_ext <<EOF
8740 #line 8741 "configure"
8741 #include "confdefs.h"
8743 #ifdef HAVE_IEEEFP_H
8751 if { (eval echo configure:8752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8753 glibcpp_cv_func_isinff_use=yes
8755 echo "configure: failed program was:" >&5
8756 cat conftest.$ac_ext >&5
8758 glibcpp_cv_func_isinff_use=no
8762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8763 ac_cpp='$CPP $CPPFLAGS'
8764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8766 cross_compiling=$ac_cv_prog_cc_cross
8772 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
8774 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
8775 for ac_func in isinff
8777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8778 echo "configure:8779: checking for $ac_func" >&5
8779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8780 echo $ac_n "(cached) $ac_c" 1>&6
8782 cat > conftest.$ac_ext <<EOF
8783 #line 8784 "configure"
8784 #include "confdefs.h"
8785 /* System header to define __stub macros and hopefully few prototypes,
8786 which can conflict with char $ac_func(); below. */
8788 /* Override any gcc2 internal prototype to avoid an error. */
8789 /* We use char because int might match the return type of a gcc2
8790 builtin and then its argument prototype would still apply. */
8795 /* The GNU C library defines this for functions which it implements
8796 to always fail with ENOSYS. Some functions are actually named
8797 something starting with __ and the normal name is an alias. */
8798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8806 if { (eval echo configure:8807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8808 eval "ac_cv_func_$ac_func=yes"
8810 echo "configure: failed program was:" >&5
8811 cat conftest.$ac_ext >&5
8813 eval "ac_cv_func_$ac_func=no"
8818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8819 echo "$ac_t""yes" 1>&6
8820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8821 cat >> confdefs.h <<EOF
8822 #define $ac_tr_func 1
8826 echo "$ac_t""no" 1>&6
8832 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
8833 echo "configure:8834: checking for _isinff declaration" >&5
8834 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
8835 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_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"
8851 #ifdef HAVE_IEEEFP_H
8859 if { (eval echo configure:8860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8861 glibcpp_cv_func__isinff_use=yes
8863 echo "configure: failed program was:" >&5
8864 cat conftest.$ac_ext >&5
8866 glibcpp_cv_func__isinff_use=no
8870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8871 ac_cpp='$CPP $CPPFLAGS'
8872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8874 cross_compiling=$ac_cv_prog_cc_cross
8880 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8882 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8883 for ac_func in _isinff
8885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8886 echo "configure:8887: checking for $ac_func" >&5
8887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8888 echo $ac_n "(cached) $ac_c" 1>&6
8890 cat > conftest.$ac_ext <<EOF
8891 #line 8892 "configure"
8892 #include "confdefs.h"
8893 /* System header to define __stub macros and hopefully few prototypes,
8894 which can conflict with char $ac_func(); below. */
8896 /* Override any gcc2 internal prototype to avoid an error. */
8897 /* We use char because int might match the return type of a gcc2
8898 builtin and then its argument prototype would still apply. */
8903 /* The GNU C library defines this for functions which it implements
8904 to always fail with ENOSYS. Some functions are actually named
8905 something starting with __ and the normal name is an alias. */
8906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8914 if { (eval echo configure:8915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8916 eval "ac_cv_func_$ac_func=yes"
8918 echo "configure: failed program was:" >&5
8919 cat conftest.$ac_ext >&5
8921 eval "ac_cv_func_$ac_func=no"
8926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8927 echo "$ac_t""yes" 1>&6
8928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8929 cat >> confdefs.h <<EOF
8930 #define $ac_tr_func 1
8934 echo "$ac_t""no" 1>&6
8943 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
8944 echo "configure:8945: checking for atan2f declaration" >&5
8945 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
8946 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
8947 echo $ac_n "(cached) $ac_c" 1>&6
8952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8953 ac_cpp='$CXXCPP $CPPFLAGS'
8954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8956 cross_compiling=$ac_cv_prog_cxx_cross
8958 cat > conftest.$ac_ext <<EOF
8959 #line 8960 "configure"
8960 #include "confdefs.h"
8966 if { (eval echo configure:8967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8968 glibcpp_cv_func_atan2f_use=yes
8970 echo "configure: failed program was:" >&5
8971 cat conftest.$ac_ext >&5
8973 glibcpp_cv_func_atan2f_use=no
8977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8978 ac_cpp='$CPP $CPPFLAGS'
8979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8981 cross_compiling=$ac_cv_prog_cc_cross
8987 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
8989 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
8990 for ac_func in atan2f
8992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8993 echo "configure:8994: checking for $ac_func" >&5
8994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
8997 cat > conftest.$ac_ext <<EOF
8998 #line 8999 "configure"
8999 #include "confdefs.h"
9000 /* System header to define __stub macros and hopefully few prototypes,
9001 which can conflict with char $ac_func(); below. */
9003 /* Override any gcc2 internal prototype to avoid an error. */
9004 /* We use char because int might match the return type of a gcc2
9005 builtin and then its argument prototype would still apply. */
9010 /* The GNU C library defines this for functions which it implements
9011 to always fail with ENOSYS. Some functions are actually named
9012 something starting with __ and the normal name is an alias. */
9013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9021 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9023 eval "ac_cv_func_$ac_func=yes"
9025 echo "configure: failed program was:" >&5
9026 cat conftest.$ac_ext >&5
9028 eval "ac_cv_func_$ac_func=no"
9033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9034 echo "$ac_t""yes" 1>&6
9035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9036 cat >> confdefs.h <<EOF
9037 #define $ac_tr_func 1
9041 echo "$ac_t""no" 1>&6
9047 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
9048 echo "configure:9049: checking for _atan2f declaration" >&5
9049 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
9050 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
9051 echo $ac_n "(cached) $ac_c" 1>&6
9056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9057 ac_cpp='$CXXCPP $CPPFLAGS'
9058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9060 cross_compiling=$ac_cv_prog_cxx_cross
9062 cat > conftest.$ac_ext <<EOF
9063 #line 9064 "configure"
9064 #include "confdefs.h"
9070 if { (eval echo configure:9071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9072 glibcpp_cv_func__atan2f_use=yes
9074 echo "configure: failed program was:" >&5
9075 cat conftest.$ac_ext >&5
9077 glibcpp_cv_func__atan2f_use=no
9081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp='$CPP $CPPFLAGS'
9083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling=$ac_cv_prog_cc_cross
9091 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
9093 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
9094 for ac_func in _atan2f
9096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9097 echo "configure:9098: checking for $ac_func" >&5
9098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 cat > conftest.$ac_ext <<EOF
9102 #line 9103 "configure"
9103 #include "confdefs.h"
9104 /* System header to define __stub macros and hopefully few prototypes,
9105 which can conflict with char $ac_func(); below. */
9107 /* Override any gcc2 internal prototype to avoid an error. */
9108 /* We use char because int might match the return type of a gcc2
9109 builtin and then its argument prototype would still apply. */
9114 /* The GNU C library defines this for functions which it implements
9115 to always fail with ENOSYS. Some functions are actually named
9116 something starting with __ and the normal name is an alias. */
9117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9125 if { (eval echo configure:9126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9127 eval "ac_cv_func_$ac_func=yes"
9129 echo "configure: failed program was:" >&5
9130 cat conftest.$ac_ext >&5
9132 eval "ac_cv_func_$ac_func=no"
9137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9138 echo "$ac_t""yes" 1>&6
9139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9140 cat >> confdefs.h <<EOF
9141 #define $ac_tr_func 1
9145 echo "$ac_t""no" 1>&6
9154 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
9155 echo "configure:9156: checking for fabsf declaration" >&5
9156 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
9157 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
9158 echo $ac_n "(cached) $ac_c" 1>&6
9163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9164 ac_cpp='$CXXCPP $CPPFLAGS'
9165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9167 cross_compiling=$ac_cv_prog_cxx_cross
9169 cat > conftest.$ac_ext <<EOF
9170 #line 9171 "configure"
9171 #include "confdefs.h"
9173 #ifdef HAVE_IEEEFP_H
9181 if { (eval echo configure:9182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9183 glibcpp_cv_func_fabsf_use=yes
9185 echo "configure: failed program was:" >&5
9186 cat conftest.$ac_ext >&5
9188 glibcpp_cv_func_fabsf_use=no
9192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9193 ac_cpp='$CPP $CPPFLAGS'
9194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9196 cross_compiling=$ac_cv_prog_cc_cross
9202 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
9204 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
9205 for ac_func in fabsf
9207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9208 echo "configure:9209: checking for $ac_func" >&5
9209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9210 echo $ac_n "(cached) $ac_c" 1>&6
9212 cat > conftest.$ac_ext <<EOF
9213 #line 9214 "configure"
9214 #include "confdefs.h"
9215 /* System header to define __stub macros and hopefully few prototypes,
9216 which can conflict with char $ac_func(); below. */
9218 /* Override any gcc2 internal prototype to avoid an error. */
9219 /* We use char because int might match the return type of a gcc2
9220 builtin and then its argument prototype would still apply. */
9225 /* The GNU C library defines this for functions which it implements
9226 to always fail with ENOSYS. Some functions are actually named
9227 something starting with __ and the normal name is an alias. */
9228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9236 if { (eval echo configure:9237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9238 eval "ac_cv_func_$ac_func=yes"
9240 echo "configure: failed program was:" >&5
9241 cat conftest.$ac_ext >&5
9243 eval "ac_cv_func_$ac_func=no"
9248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9249 echo "$ac_t""yes" 1>&6
9250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9251 cat >> confdefs.h <<EOF
9252 #define $ac_tr_func 1
9256 echo "$ac_t""no" 1>&6
9262 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
9263 echo "configure:9264: checking for _fabsf declaration" >&5
9264 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
9265 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
9266 echo $ac_n "(cached) $ac_c" 1>&6
9271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9272 ac_cpp='$CXXCPP $CPPFLAGS'
9273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9275 cross_compiling=$ac_cv_prog_cxx_cross
9277 cat > conftest.$ac_ext <<EOF
9278 #line 9279 "configure"
9279 #include "confdefs.h"
9281 #ifdef HAVE_IEEEFP_H
9289 if { (eval echo configure:9290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9291 glibcpp_cv_func__fabsf_use=yes
9293 echo "configure: failed program was:" >&5
9294 cat conftest.$ac_ext >&5
9296 glibcpp_cv_func__fabsf_use=no
9300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9301 ac_cpp='$CPP $CPPFLAGS'
9302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9304 cross_compiling=$ac_cv_prog_cc_cross
9310 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
9312 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
9313 for ac_func in _fabsf
9315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9316 echo "configure:9317: checking for $ac_func" >&5
9317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9318 echo $ac_n "(cached) $ac_c" 1>&6
9320 cat > conftest.$ac_ext <<EOF
9321 #line 9322 "configure"
9322 #include "confdefs.h"
9323 /* System header to define __stub macros and hopefully few prototypes,
9324 which can conflict with char $ac_func(); below. */
9326 /* Override any gcc2 internal prototype to avoid an error. */
9327 /* We use char because int might match the return type of a gcc2
9328 builtin and then its argument prototype would still apply. */
9333 /* The GNU C library defines this for functions which it implements
9334 to always fail with ENOSYS. Some functions are actually named
9335 something starting with __ and the normal name is an alias. */
9336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9344 if { (eval echo configure:9345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9346 eval "ac_cv_func_$ac_func=yes"
9348 echo "configure: failed program was:" >&5
9349 cat conftest.$ac_ext >&5
9351 eval "ac_cv_func_$ac_func=no"
9356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9357 echo "$ac_t""yes" 1>&6
9358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9359 cat >> confdefs.h <<EOF
9360 #define $ac_tr_func 1
9364 echo "$ac_t""no" 1>&6
9373 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
9374 echo "configure:9375: checking for fmodf declaration" >&5
9375 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
9376 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9383 ac_cpp='$CXXCPP $CPPFLAGS'
9384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9386 cross_compiling=$ac_cv_prog_cxx_cross
9388 cat > conftest.$ac_ext <<EOF
9389 #line 9390 "configure"
9390 #include "confdefs.h"
9396 if { (eval echo configure:9397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9398 glibcpp_cv_func_fmodf_use=yes
9400 echo "configure: failed program was:" >&5
9401 cat conftest.$ac_ext >&5
9403 glibcpp_cv_func_fmodf_use=no
9407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9408 ac_cpp='$CPP $CPPFLAGS'
9409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9411 cross_compiling=$ac_cv_prog_cc_cross
9417 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
9419 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
9420 for ac_func in fmodf
9422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9423 echo "configure:9424: checking for $ac_func" >&5
9424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9425 echo $ac_n "(cached) $ac_c" 1>&6
9427 cat > conftest.$ac_ext <<EOF
9428 #line 9429 "configure"
9429 #include "confdefs.h"
9430 /* System header to define __stub macros and hopefully few prototypes,
9431 which can conflict with char $ac_func(); below. */
9433 /* Override any gcc2 internal prototype to avoid an error. */
9434 /* We use char because int might match the return type of a gcc2
9435 builtin and then its argument prototype would still apply. */
9440 /* The GNU C library defines this for functions which it implements
9441 to always fail with ENOSYS. Some functions are actually named
9442 something starting with __ and the normal name is an alias. */
9443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9451 if { (eval echo configure:9452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9453 eval "ac_cv_func_$ac_func=yes"
9455 echo "configure: failed program was:" >&5
9456 cat conftest.$ac_ext >&5
9458 eval "ac_cv_func_$ac_func=no"
9463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9464 echo "$ac_t""yes" 1>&6
9465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9466 cat >> confdefs.h <<EOF
9467 #define $ac_tr_func 1
9471 echo "$ac_t""no" 1>&6
9477 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
9478 echo "configure:9479: checking for _fmodf declaration" >&5
9479 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
9480 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
9481 echo $ac_n "(cached) $ac_c" 1>&6
9486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9487 ac_cpp='$CXXCPP $CPPFLAGS'
9488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9490 cross_compiling=$ac_cv_prog_cxx_cross
9492 cat > conftest.$ac_ext <<EOF
9493 #line 9494 "configure"
9494 #include "confdefs.h"
9500 if { (eval echo configure:9501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9502 glibcpp_cv_func__fmodf_use=yes
9504 echo "configure: failed program was:" >&5
9505 cat conftest.$ac_ext >&5
9507 glibcpp_cv_func__fmodf_use=no
9511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9512 ac_cpp='$CPP $CPPFLAGS'
9513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9515 cross_compiling=$ac_cv_prog_cc_cross
9521 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
9523 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
9524 for ac_func in _fmodf
9526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9527 echo "configure:9528: checking for $ac_func" >&5
9528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9529 echo $ac_n "(cached) $ac_c" 1>&6
9531 cat > conftest.$ac_ext <<EOF
9532 #line 9533 "configure"
9533 #include "confdefs.h"
9534 /* System header to define __stub macros and hopefully few prototypes,
9535 which can conflict with char $ac_func(); below. */
9537 /* Override any gcc2 internal prototype to avoid an error. */
9538 /* We use char because int might match the return type of a gcc2
9539 builtin and then its argument prototype would still apply. */
9544 /* The GNU C library defines this for functions which it implements
9545 to always fail with ENOSYS. Some functions are actually named
9546 something starting with __ and the normal name is an alias. */
9547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9555 if { (eval echo configure:9556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9557 eval "ac_cv_func_$ac_func=yes"
9559 echo "configure: failed program was:" >&5
9560 cat conftest.$ac_ext >&5
9562 eval "ac_cv_func_$ac_func=no"
9567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9568 echo "$ac_t""yes" 1>&6
9569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9570 cat >> confdefs.h <<EOF
9571 #define $ac_tr_func 1
9575 echo "$ac_t""no" 1>&6
9584 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
9585 echo "configure:9586: checking for frexpf declaration" >&5
9586 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
9587 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
9588 echo $ac_n "(cached) $ac_c" 1>&6
9593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9594 ac_cpp='$CXXCPP $CPPFLAGS'
9595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9597 cross_compiling=$ac_cv_prog_cxx_cross
9599 cat > conftest.$ac_ext <<EOF
9600 #line 9601 "configure"
9601 #include "confdefs.h"
9607 if { (eval echo configure:9608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9609 glibcpp_cv_func_frexpf_use=yes
9611 echo "configure: failed program was:" >&5
9612 cat conftest.$ac_ext >&5
9614 glibcpp_cv_func_frexpf_use=no
9618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9619 ac_cpp='$CPP $CPPFLAGS'
9620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9622 cross_compiling=$ac_cv_prog_cc_cross
9628 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
9630 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
9631 for ac_func in frexpf
9633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9634 echo "configure:9635: checking for $ac_func" >&5
9635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9636 echo $ac_n "(cached) $ac_c" 1>&6
9638 cat > conftest.$ac_ext <<EOF
9639 #line 9640 "configure"
9640 #include "confdefs.h"
9641 /* System header to define __stub macros and hopefully few prototypes,
9642 which can conflict with char $ac_func(); below. */
9644 /* Override any gcc2 internal prototype to avoid an error. */
9645 /* We use char because int might match the return type of a gcc2
9646 builtin and then its argument prototype would still apply. */
9651 /* The GNU C library defines this for functions which it implements
9652 to always fail with ENOSYS. Some functions are actually named
9653 something starting with __ and the normal name is an alias. */
9654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9662 if { (eval echo configure:9663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9664 eval "ac_cv_func_$ac_func=yes"
9666 echo "configure: failed program was:" >&5
9667 cat conftest.$ac_ext >&5
9669 eval "ac_cv_func_$ac_func=no"
9674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9675 echo "$ac_t""yes" 1>&6
9676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9677 cat >> confdefs.h <<EOF
9678 #define $ac_tr_func 1
9682 echo "$ac_t""no" 1>&6
9688 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
9689 echo "configure:9690: checking for _frexpf declaration" >&5
9690 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
9691 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9698 ac_cpp='$CXXCPP $CPPFLAGS'
9699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9701 cross_compiling=$ac_cv_prog_cxx_cross
9703 cat > conftest.$ac_ext <<EOF
9704 #line 9705 "configure"
9705 #include "confdefs.h"
9711 if { (eval echo configure:9712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9713 glibcpp_cv_func__frexpf_use=yes
9715 echo "configure: failed program was:" >&5
9716 cat conftest.$ac_ext >&5
9718 glibcpp_cv_func__frexpf_use=no
9722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9723 ac_cpp='$CPP $CPPFLAGS'
9724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9726 cross_compiling=$ac_cv_prog_cc_cross
9732 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
9734 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
9735 for ac_func in _frexpf
9737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9738 echo "configure:9739: checking for $ac_func" >&5
9739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9742 cat > conftest.$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9745 /* System header to define __stub macros and hopefully few prototypes,
9746 which can conflict with char $ac_func(); below. */
9748 /* Override any gcc2 internal prototype to avoid an error. */
9749 /* We use char because int might match the return type of a gcc2
9750 builtin and then its argument prototype would still apply. */
9755 /* The GNU C library defines this for functions which it implements
9756 to always fail with ENOSYS. Some functions are actually named
9757 something starting with __ and the normal name is an alias. */
9758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9768 eval "ac_cv_func_$ac_func=yes"
9770 echo "configure: failed program was:" >&5
9771 cat conftest.$ac_ext >&5
9773 eval "ac_cv_func_$ac_func=no"
9778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9779 echo "$ac_t""yes" 1>&6
9780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9781 cat >> confdefs.h <<EOF
9782 #define $ac_tr_func 1
9786 echo "$ac_t""no" 1>&6
9795 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
9796 echo "configure:9797: checking for hypotf declaration" >&5
9797 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
9798 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
9799 echo $ac_n "(cached) $ac_c" 1>&6
9804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9805 ac_cpp='$CXXCPP $CPPFLAGS'
9806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9808 cross_compiling=$ac_cv_prog_cxx_cross
9810 cat > conftest.$ac_ext <<EOF
9811 #line 9812 "configure"
9812 #include "confdefs.h"
9818 if { (eval echo configure:9819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9820 glibcpp_cv_func_hypotf_use=yes
9822 echo "configure: failed program was:" >&5
9823 cat conftest.$ac_ext >&5
9825 glibcpp_cv_func_hypotf_use=no
9829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9830 ac_cpp='$CPP $CPPFLAGS'
9831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9833 cross_compiling=$ac_cv_prog_cc_cross
9839 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
9841 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
9842 for ac_func in hypotf
9844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9845 echo "configure:9846: checking for $ac_func" >&5
9846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9847 echo $ac_n "(cached) $ac_c" 1>&6
9849 cat > conftest.$ac_ext <<EOF
9850 #line 9851 "configure"
9851 #include "confdefs.h"
9852 /* System header to define __stub macros and hopefully few prototypes,
9853 which can conflict with char $ac_func(); below. */
9855 /* Override any gcc2 internal prototype to avoid an error. */
9856 /* We use char because int might match the return type of a gcc2
9857 builtin and then its argument prototype would still apply. */
9862 /* The GNU C library defines this for functions which it implements
9863 to always fail with ENOSYS. Some functions are actually named
9864 something starting with __ and the normal name is an alias. */
9865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9875 eval "ac_cv_func_$ac_func=yes"
9877 echo "configure: failed program was:" >&5
9878 cat conftest.$ac_ext >&5
9880 eval "ac_cv_func_$ac_func=no"
9885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9888 cat >> confdefs.h <<EOF
9889 #define $ac_tr_func 1
9893 echo "$ac_t""no" 1>&6
9899 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
9900 echo "configure:9901: checking for _hypotf declaration" >&5
9901 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
9902 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
9903 echo $ac_n "(cached) $ac_c" 1>&6
9908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9909 ac_cpp='$CXXCPP $CPPFLAGS'
9910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9912 cross_compiling=$ac_cv_prog_cxx_cross
9914 cat > conftest.$ac_ext <<EOF
9915 #line 9916 "configure"
9916 #include "confdefs.h"
9922 if { (eval echo configure:9923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9924 glibcpp_cv_func__hypotf_use=yes
9926 echo "configure: failed program was:" >&5
9927 cat conftest.$ac_ext >&5
9929 glibcpp_cv_func__hypotf_use=no
9933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9934 ac_cpp='$CPP $CPPFLAGS'
9935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9937 cross_compiling=$ac_cv_prog_cc_cross
9943 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
9945 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
9946 for ac_func in _hypotf
9948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9949 echo "configure:9950: checking for $ac_func" >&5
9950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9951 echo $ac_n "(cached) $ac_c" 1>&6
9953 cat > conftest.$ac_ext <<EOF
9954 #line 9955 "configure"
9955 #include "confdefs.h"
9956 /* System header to define __stub macros and hopefully few prototypes,
9957 which can conflict with char $ac_func(); below. */
9959 /* Override any gcc2 internal prototype to avoid an error. */
9960 /* We use char because int might match the return type of a gcc2
9961 builtin and then its argument prototype would still apply. */
9966 /* The GNU C library defines this for functions which it implements
9967 to always fail with ENOSYS. Some functions are actually named
9968 something starting with __ and the normal name is an alias. */
9969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9979 eval "ac_cv_func_$ac_func=yes"
9981 echo "configure: failed program was:" >&5
9982 cat conftest.$ac_ext >&5
9984 eval "ac_cv_func_$ac_func=no"
9989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9990 echo "$ac_t""yes" 1>&6
9991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9992 cat >> confdefs.h <<EOF
9993 #define $ac_tr_func 1
9997 echo "$ac_t""no" 1>&6
10006 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
10007 echo "configure:10008: checking for ldexpf declaration" >&5
10008 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
10009 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10016 ac_cpp='$CXXCPP $CPPFLAGS'
10017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10019 cross_compiling=$ac_cv_prog_cxx_cross
10021 cat > conftest.$ac_ext <<EOF
10022 #line 10023 "configure"
10023 #include "confdefs.h"
10029 if { (eval echo configure:10030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10031 glibcpp_cv_func_ldexpf_use=yes
10033 echo "configure: failed program was:" >&5
10034 cat conftest.$ac_ext >&5
10036 glibcpp_cv_func_ldexpf_use=no
10040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10041 ac_cpp='$CPP $CPPFLAGS'
10042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10044 cross_compiling=$ac_cv_prog_cc_cross
10050 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
10052 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
10053 for ac_func in ldexpf
10055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10056 echo "configure:10057: checking for $ac_func" >&5
10057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 cat > conftest.$ac_ext <<EOF
10061 #line 10062 "configure"
10062 #include "confdefs.h"
10063 /* System header to define __stub macros and hopefully few prototypes,
10064 which can conflict with char $ac_func(); below. */
10065 #include <assert.h>
10066 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10073 /* The GNU C library defines this for functions which it implements
10074 to always fail with ENOSYS. Some functions are actually named
10075 something starting with __ and the normal name is an alias. */
10076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10084 if { (eval echo configure:10085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10086 eval "ac_cv_func_$ac_func=yes"
10088 echo "configure: failed program was:" >&5
10089 cat conftest.$ac_ext >&5
10091 eval "ac_cv_func_$ac_func=no"
10096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10097 echo "$ac_t""yes" 1>&6
10098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10099 cat >> confdefs.h <<EOF
10100 #define $ac_tr_func 1
10104 echo "$ac_t""no" 1>&6
10110 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
10111 echo "configure:10112: checking for _ldexpf declaration" >&5
10112 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
10113 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10120 ac_cpp='$CXXCPP $CPPFLAGS'
10121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10123 cross_compiling=$ac_cv_prog_cxx_cross
10125 cat > conftest.$ac_ext <<EOF
10126 #line 10127 "configure"
10127 #include "confdefs.h"
10133 if { (eval echo configure:10134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10135 glibcpp_cv_func__ldexpf_use=yes
10137 echo "configure: failed program was:" >&5
10138 cat conftest.$ac_ext >&5
10140 glibcpp_cv_func__ldexpf_use=no
10144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10145 ac_cpp='$CPP $CPPFLAGS'
10146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10148 cross_compiling=$ac_cv_prog_cc_cross
10154 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
10156 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
10157 for ac_func in _ldexpf
10159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10160 echo "configure:10161: checking for $ac_func" >&5
10161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10162 echo $ac_n "(cached) $ac_c" 1>&6
10164 cat > conftest.$ac_ext <<EOF
10165 #line 10166 "configure"
10166 #include "confdefs.h"
10167 /* System header to define __stub macros and hopefully few prototypes,
10168 which can conflict with char $ac_func(); below. */
10169 #include <assert.h>
10170 /* Override any gcc2 internal prototype to avoid an error. */
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10177 /* The GNU C library defines this for functions which it implements
10178 to always fail with ENOSYS. Some functions are actually named
10179 something starting with __ and the normal name is an alias. */
10180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10188 if { (eval echo configure:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10190 eval "ac_cv_func_$ac_func=yes"
10192 echo "configure: failed program was:" >&5
10193 cat conftest.$ac_ext >&5
10195 eval "ac_cv_func_$ac_func=no"
10200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10201 echo "$ac_t""yes" 1>&6
10202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10203 cat >> confdefs.h <<EOF
10204 #define $ac_tr_func 1
10208 echo "$ac_t""no" 1>&6
10217 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
10218 echo "configure:10219: checking for logf declaration" >&5
10219 if test x${glibcpp_cv_func_logf_use+set} != xset; then
10220 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
10221 echo $ac_n "(cached) $ac_c" 1>&6
10226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10227 ac_cpp='$CXXCPP $CPPFLAGS'
10228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10230 cross_compiling=$ac_cv_prog_cxx_cross
10232 cat > conftest.$ac_ext <<EOF
10233 #line 10234 "configure"
10234 #include "confdefs.h"
10236 #ifdef HAVE_IEEEFP_H
10237 #include <ieeefp.h>
10244 if { (eval echo configure:10245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10246 glibcpp_cv_func_logf_use=yes
10248 echo "configure: failed program was:" >&5
10249 cat conftest.$ac_ext >&5
10251 glibcpp_cv_func_logf_use=no
10255 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10256 ac_cpp='$CPP $CPPFLAGS'
10257 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10258 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10259 cross_compiling=$ac_cv_prog_cc_cross
10265 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
10267 if test x$glibcpp_cv_func_logf_use = x"yes"; then
10268 for ac_func in logf
10270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10271 echo "configure:10272: checking for $ac_func" >&5
10272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10275 cat > conftest.$ac_ext <<EOF
10276 #line 10277 "configure"
10277 #include "confdefs.h"
10278 /* System header to define __stub macros and hopefully few prototypes,
10279 which can conflict with char $ac_func(); below. */
10280 #include <assert.h>
10281 /* Override any gcc2 internal prototype to avoid an error. */
10282 /* We use char because int might match the return type of a gcc2
10283 builtin and then its argument prototype would still apply. */
10288 /* The GNU C library defines this for functions which it implements
10289 to always fail with ENOSYS. Some functions are actually named
10290 something starting with __ and the normal name is an alias. */
10291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10299 if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10301 eval "ac_cv_func_$ac_func=yes"
10303 echo "configure: failed program was:" >&5
10304 cat conftest.$ac_ext >&5
10306 eval "ac_cv_func_$ac_func=no"
10311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10312 echo "$ac_t""yes" 1>&6
10313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10314 cat >> confdefs.h <<EOF
10315 #define $ac_tr_func 1
10319 echo "$ac_t""no" 1>&6
10325 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
10326 echo "configure:10327: checking for _logf declaration" >&5
10327 if test x${glibcpp_cv_func__logf_use+set} != xset; then
10328 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
10329 echo $ac_n "(cached) $ac_c" 1>&6
10334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10335 ac_cpp='$CXXCPP $CPPFLAGS'
10336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10338 cross_compiling=$ac_cv_prog_cxx_cross
10340 cat > conftest.$ac_ext <<EOF
10341 #line 10342 "configure"
10342 #include "confdefs.h"
10344 #ifdef HAVE_IEEEFP_H
10345 #include <ieeefp.h>
10352 if { (eval echo configure:10353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10354 glibcpp_cv_func__logf_use=yes
10356 echo "configure: failed program was:" >&5
10357 cat conftest.$ac_ext >&5
10359 glibcpp_cv_func__logf_use=no
10363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10364 ac_cpp='$CPP $CPPFLAGS'
10365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10367 cross_compiling=$ac_cv_prog_cc_cross
10373 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
10375 if test x$glibcpp_cv_func__logf_use = x"yes"; then
10376 for ac_func in _logf
10378 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10379 echo "configure:10380: checking for $ac_func" >&5
10380 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10381 echo $ac_n "(cached) $ac_c" 1>&6
10383 cat > conftest.$ac_ext <<EOF
10384 #line 10385 "configure"
10385 #include "confdefs.h"
10386 /* System header to define __stub macros and hopefully few prototypes,
10387 which can conflict with char $ac_func(); below. */
10388 #include <assert.h>
10389 /* Override any gcc2 internal prototype to avoid an error. */
10390 /* We use char because int might match the return type of a gcc2
10391 builtin and then its argument prototype would still apply. */
10396 /* The GNU C library defines this for functions which it implements
10397 to always fail with ENOSYS. Some functions are actually named
10398 something starting with __ and the normal name is an alias. */
10399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10409 eval "ac_cv_func_$ac_func=yes"
10411 echo "configure: failed program was:" >&5
10412 cat conftest.$ac_ext >&5
10414 eval "ac_cv_func_$ac_func=no"
10419 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10420 echo "$ac_t""yes" 1>&6
10421 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10422 cat >> confdefs.h <<EOF
10423 #define $ac_tr_func 1
10427 echo "$ac_t""no" 1>&6
10436 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
10437 echo "configure:10438: checking for log10f declaration" >&5
10438 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
10439 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
10440 echo $ac_n "(cached) $ac_c" 1>&6
10445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10446 ac_cpp='$CXXCPP $CPPFLAGS'
10447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10449 cross_compiling=$ac_cv_prog_cxx_cross
10451 cat > conftest.$ac_ext <<EOF
10452 #line 10453 "configure"
10453 #include "confdefs.h"
10455 #ifdef HAVE_IEEEFP_H
10456 #include <ieeefp.h>
10463 if { (eval echo configure:10464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10465 glibcpp_cv_func_log10f_use=yes
10467 echo "configure: failed program was:" >&5
10468 cat conftest.$ac_ext >&5
10470 glibcpp_cv_func_log10f_use=no
10474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10475 ac_cpp='$CPP $CPPFLAGS'
10476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10478 cross_compiling=$ac_cv_prog_cc_cross
10484 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
10486 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
10487 for ac_func in log10f
10489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10490 echo "configure:10491: checking for $ac_func" >&5
10491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10492 echo $ac_n "(cached) $ac_c" 1>&6
10494 cat > conftest.$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10497 /* System header to define __stub macros and hopefully few prototypes,
10498 which can conflict with char $ac_func(); below. */
10499 #include <assert.h>
10500 /* Override any gcc2 internal prototype to avoid an error. */
10501 /* We use char because int might match the return type of a gcc2
10502 builtin and then its argument prototype would still apply. */
10507 /* The GNU C library defines this for functions which it implements
10508 to always fail with ENOSYS. Some functions are actually named
10509 something starting with __ and the normal name is an alias. */
10510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10518 if { (eval echo configure:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10520 eval "ac_cv_func_$ac_func=yes"
10522 echo "configure: failed program was:" >&5
10523 cat conftest.$ac_ext >&5
10525 eval "ac_cv_func_$ac_func=no"
10530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10531 echo "$ac_t""yes" 1>&6
10532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10533 cat >> confdefs.h <<EOF
10534 #define $ac_tr_func 1
10538 echo "$ac_t""no" 1>&6
10544 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
10545 echo "configure:10546: checking for _log10f declaration" >&5
10546 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
10547 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
10548 echo $ac_n "(cached) $ac_c" 1>&6
10553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10554 ac_cpp='$CXXCPP $CPPFLAGS'
10555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10557 cross_compiling=$ac_cv_prog_cxx_cross
10559 cat > conftest.$ac_ext <<EOF
10560 #line 10561 "configure"
10561 #include "confdefs.h"
10563 #ifdef HAVE_IEEEFP_H
10564 #include <ieeefp.h>
10571 if { (eval echo configure:10572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10573 glibcpp_cv_func__log10f_use=yes
10575 echo "configure: failed program was:" >&5
10576 cat conftest.$ac_ext >&5
10578 glibcpp_cv_func__log10f_use=no
10582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10583 ac_cpp='$CPP $CPPFLAGS'
10584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10586 cross_compiling=$ac_cv_prog_cc_cross
10592 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
10594 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
10595 for ac_func in _log10f
10597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10598 echo "configure:10599: checking for $ac_func" >&5
10599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10602 cat > conftest.$ac_ext <<EOF
10603 #line 10604 "configure"
10604 #include "confdefs.h"
10605 /* System header to define __stub macros and hopefully few prototypes,
10606 which can conflict with char $ac_func(); below. */
10607 #include <assert.h>
10608 /* Override any gcc2 internal prototype to avoid an error. */
10609 /* We use char because int might match the return type of a gcc2
10610 builtin and then its argument prototype would still apply. */
10615 /* The GNU C library defines this for functions which it implements
10616 to always fail with ENOSYS. Some functions are actually named
10617 something starting with __ and the normal name is an alias. */
10618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10626 if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10628 eval "ac_cv_func_$ac_func=yes"
10630 echo "configure: failed program was:" >&5
10631 cat conftest.$ac_ext >&5
10633 eval "ac_cv_func_$ac_func=no"
10638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10639 echo "$ac_t""yes" 1>&6
10640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10641 cat >> confdefs.h <<EOF
10642 #define $ac_tr_func 1
10646 echo "$ac_t""no" 1>&6
10655 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
10656 echo "configure:10657: checking for modff declaration" >&5
10657 if test x${glibcpp_cv_func_modff_use+set} != xset; then
10658 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
10659 echo $ac_n "(cached) $ac_c" 1>&6
10664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10665 ac_cpp='$CXXCPP $CPPFLAGS'
10666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10668 cross_compiling=$ac_cv_prog_cxx_cross
10670 cat > conftest.$ac_ext <<EOF
10671 #line 10672 "configure"
10672 #include "confdefs.h"
10678 if { (eval echo configure:10679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10680 glibcpp_cv_func_modff_use=yes
10682 echo "configure: failed program was:" >&5
10683 cat conftest.$ac_ext >&5
10685 glibcpp_cv_func_modff_use=no
10689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10690 ac_cpp='$CPP $CPPFLAGS'
10691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10693 cross_compiling=$ac_cv_prog_cc_cross
10699 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
10701 if test x$glibcpp_cv_func_modff_use = x"yes"; then
10702 for ac_func in modff
10704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10705 echo "configure:10706: checking for $ac_func" >&5
10706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10707 echo $ac_n "(cached) $ac_c" 1>&6
10709 cat > conftest.$ac_ext <<EOF
10710 #line 10711 "configure"
10711 #include "confdefs.h"
10712 /* System header to define __stub macros and hopefully few prototypes,
10713 which can conflict with char $ac_func(); below. */
10714 #include <assert.h>
10715 /* Override any gcc2 internal prototype to avoid an error. */
10716 /* We use char because int might match the return type of a gcc2
10717 builtin and then its argument prototype would still apply. */
10722 /* The GNU C library defines this for functions which it implements
10723 to always fail with ENOSYS. Some functions are actually named
10724 something starting with __ and the normal name is an alias. */
10725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10733 if { (eval echo configure:10734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10735 eval "ac_cv_func_$ac_func=yes"
10737 echo "configure: failed program was:" >&5
10738 cat conftest.$ac_ext >&5
10740 eval "ac_cv_func_$ac_func=no"
10745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10746 echo "$ac_t""yes" 1>&6
10747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10748 cat >> confdefs.h <<EOF
10749 #define $ac_tr_func 1
10753 echo "$ac_t""no" 1>&6
10759 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
10760 echo "configure:10761: checking for _modff declaration" >&5
10761 if test x${glibcpp_cv_func__modff_use+set} != xset; then
10762 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
10763 echo $ac_n "(cached) $ac_c" 1>&6
10768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10769 ac_cpp='$CXXCPP $CPPFLAGS'
10770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10772 cross_compiling=$ac_cv_prog_cxx_cross
10774 cat > conftest.$ac_ext <<EOF
10775 #line 10776 "configure"
10776 #include "confdefs.h"
10782 if { (eval echo configure:10783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10784 glibcpp_cv_func__modff_use=yes
10786 echo "configure: failed program was:" >&5
10787 cat conftest.$ac_ext >&5
10789 glibcpp_cv_func__modff_use=no
10793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10794 ac_cpp='$CPP $CPPFLAGS'
10795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10797 cross_compiling=$ac_cv_prog_cc_cross
10803 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
10805 if test x$glibcpp_cv_func__modff_use = x"yes"; then
10806 for ac_func in _modff
10808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10809 echo "configure:10810: checking for $ac_func" >&5
10810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10811 echo $ac_n "(cached) $ac_c" 1>&6
10813 cat > conftest.$ac_ext <<EOF
10814 #line 10815 "configure"
10815 #include "confdefs.h"
10816 /* System header to define __stub macros and hopefully few prototypes,
10817 which can conflict with char $ac_func(); below. */
10818 #include <assert.h>
10819 /* Override any gcc2 internal prototype to avoid an error. */
10820 /* We use char because int might match the return type of a gcc2
10821 builtin and then its argument prototype would still apply. */
10826 /* The GNU C library defines this for functions which it implements
10827 to always fail with ENOSYS. Some functions are actually named
10828 something starting with __ and the normal name is an alias. */
10829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10837 if { (eval echo configure:10838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10839 eval "ac_cv_func_$ac_func=yes"
10841 echo "configure: failed program was:" >&5
10842 cat conftest.$ac_ext >&5
10844 eval "ac_cv_func_$ac_func=no"
10849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10850 echo "$ac_t""yes" 1>&6
10851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10852 cat >> confdefs.h <<EOF
10853 #define $ac_tr_func 1
10857 echo "$ac_t""no" 1>&6
10866 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
10867 echo "configure:10868: checking for powf declaration" >&5
10868 if test x${glibcpp_cv_func_powf_use+set} != xset; then
10869 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
10870 echo $ac_n "(cached) $ac_c" 1>&6
10875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10876 ac_cpp='$CXXCPP $CPPFLAGS'
10877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10879 cross_compiling=$ac_cv_prog_cxx_cross
10881 cat > conftest.$ac_ext <<EOF
10882 #line 10883 "configure"
10883 #include "confdefs.h"
10889 if { (eval echo configure:10890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10891 glibcpp_cv_func_powf_use=yes
10893 echo "configure: failed program was:" >&5
10894 cat conftest.$ac_ext >&5
10896 glibcpp_cv_func_powf_use=no
10900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10901 ac_cpp='$CPP $CPPFLAGS'
10902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10904 cross_compiling=$ac_cv_prog_cc_cross
10910 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
10912 if test x$glibcpp_cv_func_powf_use = x"yes"; then
10913 for ac_func in powf
10915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10916 echo "configure:10917: checking for $ac_func" >&5
10917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10918 echo $ac_n "(cached) $ac_c" 1>&6
10920 cat > conftest.$ac_ext <<EOF
10921 #line 10922 "configure"
10922 #include "confdefs.h"
10923 /* System header to define __stub macros and hopefully few prototypes,
10924 which can conflict with char $ac_func(); below. */
10925 #include <assert.h>
10926 /* Override any gcc2 internal prototype to avoid an error. */
10927 /* We use char because int might match the return type of a gcc2
10928 builtin and then its argument prototype would still apply. */
10933 /* The GNU C library defines this for functions which it implements
10934 to always fail with ENOSYS. Some functions are actually named
10935 something starting with __ and the normal name is an alias. */
10936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10944 if { (eval echo configure:10945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10946 eval "ac_cv_func_$ac_func=yes"
10948 echo "configure: failed program was:" >&5
10949 cat conftest.$ac_ext >&5
10951 eval "ac_cv_func_$ac_func=no"
10956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10957 echo "$ac_t""yes" 1>&6
10958 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10959 cat >> confdefs.h <<EOF
10960 #define $ac_tr_func 1
10964 echo "$ac_t""no" 1>&6
10970 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
10971 echo "configure:10972: checking for _powf declaration" >&5
10972 if test x${glibcpp_cv_func__powf_use+set} != xset; then
10973 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
10974 echo $ac_n "(cached) $ac_c" 1>&6
10979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10980 ac_cpp='$CXXCPP $CPPFLAGS'
10981 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10982 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10983 cross_compiling=$ac_cv_prog_cxx_cross
10985 cat > conftest.$ac_ext <<EOF
10986 #line 10987 "configure"
10987 #include "confdefs.h"
10993 if { (eval echo configure:10994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10995 glibcpp_cv_func__powf_use=yes
10997 echo "configure: failed program was:" >&5
10998 cat conftest.$ac_ext >&5
11000 glibcpp_cv_func__powf_use=no
11004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11005 ac_cpp='$CPP $CPPFLAGS'
11006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11008 cross_compiling=$ac_cv_prog_cc_cross
11014 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
11016 if test x$glibcpp_cv_func__powf_use = x"yes"; then
11017 for ac_func in _powf
11019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11020 echo "configure:11021: checking for $ac_func" >&5
11021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11022 echo $ac_n "(cached) $ac_c" 1>&6
11024 cat > conftest.$ac_ext <<EOF
11025 #line 11026 "configure"
11026 #include "confdefs.h"
11027 /* System header to define __stub macros and hopefully few prototypes,
11028 which can conflict with char $ac_func(); below. */
11029 #include <assert.h>
11030 /* Override any gcc2 internal prototype to avoid an error. */
11031 /* We use char because int might match the return type of a gcc2
11032 builtin and then its argument prototype would still apply. */
11037 /* The GNU C library defines this for functions which it implements
11038 to always fail with ENOSYS. Some functions are actually named
11039 something starting with __ and the normal name is an alias. */
11040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11048 if { (eval echo configure:11049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11050 eval "ac_cv_func_$ac_func=yes"
11052 echo "configure: failed program was:" >&5
11053 cat conftest.$ac_ext >&5
11055 eval "ac_cv_func_$ac_func=no"
11060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11061 echo "$ac_t""yes" 1>&6
11062 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11063 cat >> confdefs.h <<EOF
11064 #define $ac_tr_func 1
11068 echo "$ac_t""no" 1>&6
11077 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
11078 echo "configure:11079: checking for sqrtf declaration" >&5
11079 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
11080 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
11081 echo $ac_n "(cached) $ac_c" 1>&6
11086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11087 ac_cpp='$CXXCPP $CPPFLAGS'
11088 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11089 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11090 cross_compiling=$ac_cv_prog_cxx_cross
11092 cat > conftest.$ac_ext <<EOF
11093 #line 11094 "configure"
11094 #include "confdefs.h"
11096 #ifdef HAVE_IEEEFP_H
11097 #include <ieeefp.h>
11104 if { (eval echo configure:11105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11106 glibcpp_cv_func_sqrtf_use=yes
11108 echo "configure: failed program was:" >&5
11109 cat conftest.$ac_ext >&5
11111 glibcpp_cv_func_sqrtf_use=no
11115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11116 ac_cpp='$CPP $CPPFLAGS'
11117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11119 cross_compiling=$ac_cv_prog_cc_cross
11125 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
11127 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
11128 for ac_func in sqrtf
11130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11131 echo "configure:11132: checking for $ac_func" >&5
11132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11133 echo $ac_n "(cached) $ac_c" 1>&6
11135 cat > conftest.$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11138 /* System header to define __stub macros and hopefully few prototypes,
11139 which can conflict with char $ac_func(); below. */
11140 #include <assert.h>
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11148 /* The GNU C library defines this for functions which it implements
11149 to always fail with ENOSYS. Some functions are actually named
11150 something starting with __ and the normal name is an alias. */
11151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11159 if { (eval echo configure:11160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11161 eval "ac_cv_func_$ac_func=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.$ac_ext >&5
11166 eval "ac_cv_func_$ac_func=no"
11171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11172 echo "$ac_t""yes" 1>&6
11173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11174 cat >> confdefs.h <<EOF
11175 #define $ac_tr_func 1
11179 echo "$ac_t""no" 1>&6
11185 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
11186 echo "configure:11187: checking for _sqrtf declaration" >&5
11187 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
11188 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
11189 echo $ac_n "(cached) $ac_c" 1>&6
11194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11195 ac_cpp='$CXXCPP $CPPFLAGS'
11196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11198 cross_compiling=$ac_cv_prog_cxx_cross
11200 cat > conftest.$ac_ext <<EOF
11201 #line 11202 "configure"
11202 #include "confdefs.h"
11204 #ifdef HAVE_IEEEFP_H
11205 #include <ieeefp.h>
11212 if { (eval echo configure:11213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11214 glibcpp_cv_func__sqrtf_use=yes
11216 echo "configure: failed program was:" >&5
11217 cat conftest.$ac_ext >&5
11219 glibcpp_cv_func__sqrtf_use=no
11223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11224 ac_cpp='$CPP $CPPFLAGS'
11225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11227 cross_compiling=$ac_cv_prog_cc_cross
11233 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
11235 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
11236 for ac_func in _sqrtf
11238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11239 echo "configure:11240: checking for $ac_func" >&5
11240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11243 cat > conftest.$ac_ext <<EOF
11244 #line 11245 "configure"
11245 #include "confdefs.h"
11246 /* System header to define __stub macros and hopefully few prototypes,
11247 which can conflict with char $ac_func(); below. */
11248 #include <assert.h>
11249 /* Override any gcc2 internal prototype to avoid an error. */
11250 /* We use char because int might match the return type of a gcc2
11251 builtin and then its argument prototype would still apply. */
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11267 if { (eval echo configure:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11269 eval "ac_cv_func_$ac_func=yes"
11271 echo "configure: failed program was:" >&5
11272 cat conftest.$ac_ext >&5
11274 eval "ac_cv_func_$ac_func=no"
11279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11280 echo "$ac_t""yes" 1>&6
11281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11282 cat >> confdefs.h <<EOF
11283 #define $ac_tr_func 1
11287 echo "$ac_t""no" 1>&6
11296 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
11297 echo "configure:11298: checking for sincosf declaration" >&5
11298 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
11299 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
11300 echo $ac_n "(cached) $ac_c" 1>&6
11305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11306 ac_cpp='$CXXCPP $CPPFLAGS'
11307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11309 cross_compiling=$ac_cv_prog_cxx_cross
11311 cat > conftest.$ac_ext <<EOF
11312 #line 11313 "configure"
11313 #include "confdefs.h"
11319 if { (eval echo configure:11320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11321 glibcpp_cv_func_sincosf_use=yes
11323 echo "configure: failed program was:" >&5
11324 cat conftest.$ac_ext >&5
11326 glibcpp_cv_func_sincosf_use=no
11330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11331 ac_cpp='$CPP $CPPFLAGS'
11332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11334 cross_compiling=$ac_cv_prog_cc_cross
11340 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
11342 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
11343 for ac_func in sincosf
11345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11346 echo "configure:11347: checking for $ac_func" >&5
11347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11348 echo $ac_n "(cached) $ac_c" 1>&6
11350 cat > conftest.$ac_ext <<EOF
11351 #line 11352 "configure"
11352 #include "confdefs.h"
11353 /* System header to define __stub macros and hopefully few prototypes,
11354 which can conflict with char $ac_func(); below. */
11355 #include <assert.h>
11356 /* Override any gcc2 internal prototype to avoid an error. */
11357 /* We use char because int might match the return type of a gcc2
11358 builtin and then its argument prototype would still apply. */
11363 /* The GNU C library defines this for functions which it implements
11364 to always fail with ENOSYS. Some functions are actually named
11365 something starting with __ and the normal name is an alias. */
11366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11374 if { (eval echo configure:11375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11376 eval "ac_cv_func_$ac_func=yes"
11378 echo "configure: failed program was:" >&5
11379 cat conftest.$ac_ext >&5
11381 eval "ac_cv_func_$ac_func=no"
11386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11387 echo "$ac_t""yes" 1>&6
11388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11389 cat >> confdefs.h <<EOF
11390 #define $ac_tr_func 1
11394 echo "$ac_t""no" 1>&6
11400 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
11401 echo "configure:11402: checking for _sincosf declaration" >&5
11402 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
11403 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
11404 echo $ac_n "(cached) $ac_c" 1>&6
11409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11410 ac_cpp='$CXXCPP $CPPFLAGS'
11411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11413 cross_compiling=$ac_cv_prog_cxx_cross
11415 cat > conftest.$ac_ext <<EOF
11416 #line 11417 "configure"
11417 #include "confdefs.h"
11423 if { (eval echo configure:11424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11425 glibcpp_cv_func__sincosf_use=yes
11427 echo "configure: failed program was:" >&5
11428 cat conftest.$ac_ext >&5
11430 glibcpp_cv_func__sincosf_use=no
11434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11435 ac_cpp='$CPP $CPPFLAGS'
11436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11438 cross_compiling=$ac_cv_prog_cc_cross
11444 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
11446 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
11447 for ac_func in _sincosf
11449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11450 echo "configure:11451: checking for $ac_func" >&5
11451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11452 echo $ac_n "(cached) $ac_c" 1>&6
11454 cat > conftest.$ac_ext <<EOF
11455 #line 11456 "configure"
11456 #include "confdefs.h"
11457 /* System header to define __stub macros and hopefully few prototypes,
11458 which can conflict with char $ac_func(); below. */
11459 #include <assert.h>
11460 /* Override any gcc2 internal prototype to avoid an error. */
11461 /* We use char because int might match the return type of a gcc2
11462 builtin and then its argument prototype would still apply. */
11467 /* The GNU C library defines this for functions which it implements
11468 to always fail with ENOSYS. Some functions are actually named
11469 something starting with __ and the normal name is an alias. */
11470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11480 eval "ac_cv_func_$ac_func=yes"
11482 echo "configure: failed program was:" >&5
11483 cat conftest.$ac_ext >&5
11485 eval "ac_cv_func_$ac_func=no"
11490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11491 echo "$ac_t""yes" 1>&6
11492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11493 cat >> confdefs.h <<EOF
11494 #define $ac_tr_func 1
11498 echo "$ac_t""no" 1>&6
11507 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
11508 echo "configure:11509: checking for finitef declaration" >&5
11509 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
11510 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
11511 echo $ac_n "(cached) $ac_c" 1>&6
11516 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11517 ac_cpp='$CXXCPP $CPPFLAGS'
11518 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11519 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11520 cross_compiling=$ac_cv_prog_cxx_cross
11522 cat > conftest.$ac_ext <<EOF
11523 #line 11524 "configure"
11524 #include "confdefs.h"
11526 #ifdef HAVE_IEEEFP_H
11527 #include <ieeefp.h>
11534 if { (eval echo configure:11535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11536 glibcpp_cv_func_finitef_use=yes
11538 echo "configure: failed program was:" >&5
11539 cat conftest.$ac_ext >&5
11541 glibcpp_cv_func_finitef_use=no
11545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11546 ac_cpp='$CPP $CPPFLAGS'
11547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11549 cross_compiling=$ac_cv_prog_cc_cross
11555 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
11557 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
11558 for ac_func in finitef
11560 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11561 echo "configure:11562: checking for $ac_func" >&5
11562 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11563 echo $ac_n "(cached) $ac_c" 1>&6
11565 cat > conftest.$ac_ext <<EOF
11566 #line 11567 "configure"
11567 #include "confdefs.h"
11568 /* System header to define __stub macros and hopefully few prototypes,
11569 which can conflict with char $ac_func(); below. */
11570 #include <assert.h>
11571 /* Override any gcc2 internal prototype to avoid an error. */
11572 /* We use char because int might match the return type of a gcc2
11573 builtin and then its argument prototype would still apply. */
11578 /* The GNU C library defines this for functions which it implements
11579 to always fail with ENOSYS. Some functions are actually named
11580 something starting with __ and the normal name is an alias. */
11581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11589 if { (eval echo configure:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11591 eval "ac_cv_func_$ac_func=yes"
11593 echo "configure: failed program was:" >&5
11594 cat conftest.$ac_ext >&5
11596 eval "ac_cv_func_$ac_func=no"
11601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11602 echo "$ac_t""yes" 1>&6
11603 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11604 cat >> confdefs.h <<EOF
11605 #define $ac_tr_func 1
11609 echo "$ac_t""no" 1>&6
11615 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
11616 echo "configure:11617: checking for _finitef declaration" >&5
11617 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
11618 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
11619 echo $ac_n "(cached) $ac_c" 1>&6
11624 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11625 ac_cpp='$CXXCPP $CPPFLAGS'
11626 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11627 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11628 cross_compiling=$ac_cv_prog_cxx_cross
11630 cat > conftest.$ac_ext <<EOF
11631 #line 11632 "configure"
11632 #include "confdefs.h"
11634 #ifdef HAVE_IEEEFP_H
11635 #include <ieeefp.h>
11642 if { (eval echo configure:11643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11644 glibcpp_cv_func__finitef_use=yes
11646 echo "configure: failed program was:" >&5
11647 cat conftest.$ac_ext >&5
11649 glibcpp_cv_func__finitef_use=no
11653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11654 ac_cpp='$CPP $CPPFLAGS'
11655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11657 cross_compiling=$ac_cv_prog_cc_cross
11663 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
11665 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
11666 for ac_func in _finitef
11668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11669 echo "configure:11670: checking for $ac_func" >&5
11670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11671 echo $ac_n "(cached) $ac_c" 1>&6
11673 cat > conftest.$ac_ext <<EOF
11674 #line 11675 "configure"
11675 #include "confdefs.h"
11676 /* System header to define __stub macros and hopefully few prototypes,
11677 which can conflict with char $ac_func(); below. */
11678 #include <assert.h>
11679 /* Override any gcc2 internal prototype to avoid an error. */
11680 /* We use char because int might match the return type of a gcc2
11681 builtin and then its argument prototype would still apply. */
11686 /* The GNU C library defines this for functions which it implements
11687 to always fail with ENOSYS. Some functions are actually named
11688 something starting with __ and the normal name is an alias. */
11689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11697 if { (eval echo configure:11698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11699 eval "ac_cv_func_$ac_func=yes"
11701 echo "configure: failed program was:" >&5
11702 cat conftest.$ac_ext >&5
11704 eval "ac_cv_func_$ac_func=no"
11709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11710 echo "$ac_t""yes" 1>&6
11711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11712 cat >> confdefs.h <<EOF
11713 #define $ac_tr_func 1
11717 echo "$ac_t""no" 1>&6
11726 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
11727 echo "configure:11728: checking for long double trig functions" >&5
11728 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
11729 echo $ac_n "(cached) $ac_c" 1>&6
11734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11735 ac_cpp='$CXXCPP $CPPFLAGS'
11736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11738 cross_compiling=$ac_cv_prog_cxx_cross
11740 cat > conftest.$ac_ext <<EOF
11741 #line 11742 "configure"
11742 #include "confdefs.h"
11745 `for x in acosl asinl atanl \
11747 coshl sinhl tanhl; do echo "$x (0);"; done`
11750 if { (eval echo configure:11751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11752 glibcpp_cv_func_long_double_trig_use=yes
11754 echo "configure: failed program was:" >&5
11755 cat conftest.$ac_ext >&5
11757 glibcpp_cv_func_long_double_trig_use=no
11761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11762 ac_cpp='$CPP $CPPFLAGS'
11763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11765 cross_compiling=$ac_cv_prog_cc_cross
11769 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
11770 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
11771 for ac_func in acosl asinl atanl \
11775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11776 echo "configure:11777: checking for $ac_func" >&5
11777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11778 echo $ac_n "(cached) $ac_c" 1>&6
11780 cat > conftest.$ac_ext <<EOF
11781 #line 11782 "configure"
11782 #include "confdefs.h"
11783 /* System header to define __stub macros and hopefully few prototypes,
11784 which can conflict with char $ac_func(); below. */
11785 #include <assert.h>
11786 /* Override any gcc2 internal prototype to avoid an error. */
11787 /* We use char because int might match the return type of a gcc2
11788 builtin and then its argument prototype would still apply. */
11793 /* The GNU C library defines this for functions which it implements
11794 to always fail with ENOSYS. Some functions are actually named
11795 something starting with __ and the normal name is an alias. */
11796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11804 if { (eval echo configure:11805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11806 eval "ac_cv_func_$ac_func=yes"
11808 echo "configure: failed program was:" >&5
11809 cat conftest.$ac_ext >&5
11811 eval "ac_cv_func_$ac_func=no"
11816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11817 echo "$ac_t""yes" 1>&6
11818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11819 cat >> confdefs.h <<EOF
11820 #define $ac_tr_func 1
11824 echo "$ac_t""no" 1>&6
11831 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
11832 echo "configure:11833: checking for long double round functions" >&5
11833 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
11834 echo $ac_n "(cached) $ac_c" 1>&6
11839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11840 ac_cpp='$CXXCPP $CPPFLAGS'
11841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11843 cross_compiling=$ac_cv_prog_cxx_cross
11845 cat > conftest.$ac_ext <<EOF
11846 #line 11847 "configure"
11847 #include "confdefs.h"
11850 `for x in ceill floorl; do echo "$x (0);"; done`
11853 if { (eval echo configure:11854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11855 glibcpp_cv_func_long_double_round_use=yes
11857 echo "configure: failed program was:" >&5
11858 cat conftest.$ac_ext >&5
11860 glibcpp_cv_func_long_double_round_use=no
11864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11865 ac_cpp='$CPP $CPPFLAGS'
11866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11868 cross_compiling=$ac_cv_prog_cc_cross
11872 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
11873 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
11874 for ac_func in ceill floorl
11876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11877 echo "configure:11878: checking for $ac_func" >&5
11878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11879 echo $ac_n "(cached) $ac_c" 1>&6
11881 cat > conftest.$ac_ext <<EOF
11882 #line 11883 "configure"
11883 #include "confdefs.h"
11884 /* System header to define __stub macros and hopefully few prototypes,
11885 which can conflict with char $ac_func(); below. */
11886 #include <assert.h>
11887 /* Override any gcc2 internal prototype to avoid an error. */
11888 /* We use char because int might match the return type of a gcc2
11889 builtin and then its argument prototype would still apply. */
11894 /* The GNU C library defines this for functions which it implements
11895 to always fail with ENOSYS. Some functions are actually named
11896 something starting with __ and the normal name is an alias. */
11897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11905 if { (eval echo configure:11906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11907 eval "ac_cv_func_$ac_func=yes"
11909 echo "configure: failed program was:" >&5
11910 cat conftest.$ac_ext >&5
11912 eval "ac_cv_func_$ac_func=no"
11917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11918 echo "$ac_t""yes" 1>&6
11919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11920 cat >> confdefs.h <<EOF
11921 #define $ac_tr_func 1
11925 echo "$ac_t""no" 1>&6
11933 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
11934 echo "configure:11935: checking for isnanl declaration" >&5
11935 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
11936 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
11937 echo $ac_n "(cached) $ac_c" 1>&6
11942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11946 cross_compiling=$ac_cv_prog_cxx_cross
11948 cat > conftest.$ac_ext <<EOF
11949 #line 11950 "configure"
11950 #include "confdefs.h"
11952 #ifdef HAVE_IEEEFP_H
11953 #include <ieeefp.h>
11960 if { (eval echo configure:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 glibcpp_cv_func_isnanl_use=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.$ac_ext >&5
11967 glibcpp_cv_func_isnanl_use=no
11971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cc_cross
11981 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
11983 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
11984 for ac_func in isnanl
11986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11987 echo "configure:11988: checking for $ac_func" >&5
11988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11991 cat > conftest.$ac_ext <<EOF
11992 #line 11993 "configure"
11993 #include "confdefs.h"
11994 /* System header to define __stub macros and hopefully few prototypes,
11995 which can conflict with char $ac_func(); below. */
11996 #include <assert.h>
11997 /* Override any gcc2 internal prototype to avoid an error. */
11998 /* We use char because int might match the return type of a gcc2
11999 builtin and then its argument prototype would still apply. */
12004 /* The GNU C library defines this for functions which it implements
12005 to always fail with ENOSYS. Some functions are actually named
12006 something starting with __ and the normal name is an alias. */
12007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12017 eval "ac_cv_func_$ac_func=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.$ac_ext >&5
12022 eval "ac_cv_func_$ac_func=no"
12027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12028 echo "$ac_t""yes" 1>&6
12029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12030 cat >> confdefs.h <<EOF
12031 #define $ac_tr_func 1
12035 echo "$ac_t""no" 1>&6
12041 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
12042 echo "configure:12043: checking for _isnanl declaration" >&5
12043 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
12044 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
12045 echo $ac_n "(cached) $ac_c" 1>&6
12050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12051 ac_cpp='$CXXCPP $CPPFLAGS'
12052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12054 cross_compiling=$ac_cv_prog_cxx_cross
12056 cat > conftest.$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12060 #ifdef HAVE_IEEEFP_H
12061 #include <ieeefp.h>
12068 if { (eval echo configure:12069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12070 glibcpp_cv_func__isnanl_use=yes
12072 echo "configure: failed program was:" >&5
12073 cat conftest.$ac_ext >&5
12075 glibcpp_cv_func__isnanl_use=no
12079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12080 ac_cpp='$CPP $CPPFLAGS'
12081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12083 cross_compiling=$ac_cv_prog_cc_cross
12089 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
12091 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
12092 for ac_func in _isnanl
12094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12095 echo "configure:12096: checking for $ac_func" >&5
12096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12099 cat > conftest.$ac_ext <<EOF
12100 #line 12101 "configure"
12101 #include "confdefs.h"
12102 /* System header to define __stub macros and hopefully few prototypes,
12103 which can conflict with char $ac_func(); below. */
12104 #include <assert.h>
12105 /* Override any gcc2 internal prototype to avoid an error. */
12106 /* We use char because int might match the return type of a gcc2
12107 builtin and then its argument prototype would still apply. */
12112 /* The GNU C library defines this for functions which it implements
12113 to always fail with ENOSYS. Some functions are actually named
12114 something starting with __ and the normal name is an alias. */
12115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12125 eval "ac_cv_func_$ac_func=yes"
12127 echo "configure: failed program was:" >&5
12128 cat conftest.$ac_ext >&5
12130 eval "ac_cv_func_$ac_func=no"
12135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12136 echo "$ac_t""yes" 1>&6
12137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12138 cat >> confdefs.h <<EOF
12139 #define $ac_tr_func 1
12143 echo "$ac_t""no" 1>&6
12152 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
12153 echo "configure:12154: checking for isinfl declaration" >&5
12154 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
12155 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
12156 echo $ac_n "(cached) $ac_c" 1>&6
12161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12162 ac_cpp='$CXXCPP $CPPFLAGS'
12163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12165 cross_compiling=$ac_cv_prog_cxx_cross
12167 cat > conftest.$ac_ext <<EOF
12168 #line 12169 "configure"
12169 #include "confdefs.h"
12171 #ifdef HAVE_IEEEFP_H
12172 #include <ieeefp.h>
12179 if { (eval echo configure:12180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12181 glibcpp_cv_func_isinfl_use=yes
12183 echo "configure: failed program was:" >&5
12184 cat conftest.$ac_ext >&5
12186 glibcpp_cv_func_isinfl_use=no
12190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12191 ac_cpp='$CPP $CPPFLAGS'
12192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12194 cross_compiling=$ac_cv_prog_cc_cross
12200 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
12202 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
12203 for ac_func in isinfl
12205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12206 echo "configure:12207: checking for $ac_func" >&5
12207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12208 echo $ac_n "(cached) $ac_c" 1>&6
12210 cat > conftest.$ac_ext <<EOF
12211 #line 12212 "configure"
12212 #include "confdefs.h"
12213 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char $ac_func(); below. */
12215 #include <assert.h>
12216 /* Override any gcc2 internal prototype to avoid an error. */
12217 /* We use char because int might match the return type of a gcc2
12218 builtin and then its argument prototype would still apply. */
12223 /* The GNU C library defines this for functions which it implements
12224 to always fail with ENOSYS. Some functions are actually named
12225 something starting with __ and the normal name is an alias. */
12226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12236 eval "ac_cv_func_$ac_func=yes"
12238 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5
12241 eval "ac_cv_func_$ac_func=no"
12246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12247 echo "$ac_t""yes" 1>&6
12248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12249 cat >> confdefs.h <<EOF
12250 #define $ac_tr_func 1
12254 echo "$ac_t""no" 1>&6
12260 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
12261 echo "configure:12262: checking for _isinfl declaration" >&5
12262 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
12263 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12270 ac_cpp='$CXXCPP $CPPFLAGS'
12271 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12272 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12273 cross_compiling=$ac_cv_prog_cxx_cross
12275 cat > conftest.$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12279 #ifdef HAVE_IEEEFP_H
12280 #include <ieeefp.h>
12287 if { (eval echo configure:12288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12289 glibcpp_cv_func__isinfl_use=yes
12291 echo "configure: failed program was:" >&5
12292 cat conftest.$ac_ext >&5
12294 glibcpp_cv_func__isinfl_use=no
12298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12299 ac_cpp='$CPP $CPPFLAGS'
12300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12302 cross_compiling=$ac_cv_prog_cc_cross
12308 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
12310 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
12311 for ac_func in _isinfl
12313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12314 echo "configure:12315: checking for $ac_func" >&5
12315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12316 echo $ac_n "(cached) $ac_c" 1>&6
12318 cat > conftest.$ac_ext <<EOF
12319 #line 12320 "configure"
12320 #include "confdefs.h"
12321 /* System header to define __stub macros and hopefully few prototypes,
12322 which can conflict with char $ac_func(); below. */
12323 #include <assert.h>
12324 /* Override any gcc2 internal prototype to avoid an error. */
12325 /* We use char because int might match the return type of a gcc2
12326 builtin and then its argument prototype would still apply. */
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12342 if { (eval echo configure:12343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12344 eval "ac_cv_func_$ac_func=yes"
12346 echo "configure: failed program was:" >&5
12347 cat conftest.$ac_ext >&5
12349 eval "ac_cv_func_$ac_func=no"
12354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12355 echo "$ac_t""yes" 1>&6
12356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12357 cat >> confdefs.h <<EOF
12358 #define $ac_tr_func 1
12362 echo "$ac_t""no" 1>&6
12371 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
12372 echo "configure:12373: checking for copysignl declaration" >&5
12373 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
12374 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
12375 echo $ac_n "(cached) $ac_c" 1>&6
12380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12381 ac_cpp='$CXXCPP $CPPFLAGS'
12382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12384 cross_compiling=$ac_cv_prog_cxx_cross
12386 cat > conftest.$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12394 if { (eval echo configure:12395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12396 glibcpp_cv_func_copysignl_use=yes
12398 echo "configure: failed program was:" >&5
12399 cat conftest.$ac_ext >&5
12401 glibcpp_cv_func_copysignl_use=no
12405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12406 ac_cpp='$CPP $CPPFLAGS'
12407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12409 cross_compiling=$ac_cv_prog_cc_cross
12415 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
12417 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
12418 for ac_func in copysignl
12420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12421 echo "configure:12422: checking for $ac_func" >&5
12422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12423 echo $ac_n "(cached) $ac_c" 1>&6
12425 cat > conftest.$ac_ext <<EOF
12426 #line 12427 "configure"
12427 #include "confdefs.h"
12428 /* System header to define __stub macros and hopefully few prototypes,
12429 which can conflict with char $ac_func(); below. */
12430 #include <assert.h>
12431 /* Override any gcc2 internal prototype to avoid an error. */
12432 /* We use char because int might match the return type of a gcc2
12433 builtin and then its argument prototype would still apply. */
12438 /* The GNU C library defines this for functions which it implements
12439 to always fail with ENOSYS. Some functions are actually named
12440 something starting with __ and the normal name is an alias. */
12441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12449 if { (eval echo configure:12450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12451 eval "ac_cv_func_$ac_func=yes"
12453 echo "configure: failed program was:" >&5
12454 cat conftest.$ac_ext >&5
12456 eval "ac_cv_func_$ac_func=no"
12461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12462 echo "$ac_t""yes" 1>&6
12463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12464 cat >> confdefs.h <<EOF
12465 #define $ac_tr_func 1
12469 echo "$ac_t""no" 1>&6
12475 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
12476 echo "configure:12477: checking for _copysignl declaration" >&5
12477 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
12478 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
12479 echo $ac_n "(cached) $ac_c" 1>&6
12484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12488 cross_compiling=$ac_cv_prog_cxx_cross
12490 cat > conftest.$ac_ext <<EOF
12491 #line 12492 "configure"
12492 #include "confdefs.h"
12498 if { (eval echo configure:12499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12500 glibcpp_cv_func__copysignl_use=yes
12502 echo "configure: failed program was:" >&5
12503 cat conftest.$ac_ext >&5
12505 glibcpp_cv_func__copysignl_use=no
12509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12513 cross_compiling=$ac_cv_prog_cc_cross
12519 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
12521 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
12522 for ac_func in _copysignl
12524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12525 echo "configure:12526: checking for $ac_func" >&5
12526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12527 echo $ac_n "(cached) $ac_c" 1>&6
12529 cat > conftest.$ac_ext <<EOF
12530 #line 12531 "configure"
12531 #include "confdefs.h"
12532 /* System header to define __stub macros and hopefully few prototypes,
12533 which can conflict with char $ac_func(); below. */
12534 #include <assert.h>
12535 /* Override any gcc2 internal prototype to avoid an error. */
12536 /* We use char because int might match the return type of a gcc2
12537 builtin and then its argument prototype would still apply. */
12542 /* The GNU C library defines this for functions which it implements
12543 to always fail with ENOSYS. Some functions are actually named
12544 something starting with __ and the normal name is an alias. */
12545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12553 if { (eval echo configure:12554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12555 eval "ac_cv_func_$ac_func=yes"
12557 echo "configure: failed program was:" >&5
12558 cat conftest.$ac_ext >&5
12560 eval "ac_cv_func_$ac_func=no"
12565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12566 echo "$ac_t""yes" 1>&6
12567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12568 cat >> confdefs.h <<EOF
12569 #define $ac_tr_func 1
12573 echo "$ac_t""no" 1>&6
12582 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
12583 echo "configure:12584: checking for atan2l declaration" >&5
12584 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
12585 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
12586 echo $ac_n "(cached) $ac_c" 1>&6
12591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12592 ac_cpp='$CXXCPP $CPPFLAGS'
12593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12595 cross_compiling=$ac_cv_prog_cxx_cross
12597 cat > conftest.$ac_ext <<EOF
12598 #line 12599 "configure"
12599 #include "confdefs.h"
12605 if { (eval echo configure:12606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12607 glibcpp_cv_func_atan2l_use=yes
12609 echo "configure: failed program was:" >&5
12610 cat conftest.$ac_ext >&5
12612 glibcpp_cv_func_atan2l_use=no
12616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12617 ac_cpp='$CPP $CPPFLAGS'
12618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12620 cross_compiling=$ac_cv_prog_cc_cross
12626 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
12628 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
12629 for ac_func in atan2l
12631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12632 echo "configure:12633: checking for $ac_func" >&5
12633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12636 cat > conftest.$ac_ext <<EOF
12637 #line 12638 "configure"
12638 #include "confdefs.h"
12639 /* System header to define __stub macros and hopefully few prototypes,
12640 which can conflict with char $ac_func(); below. */
12641 #include <assert.h>
12642 /* Override any gcc2 internal prototype to avoid an error. */
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12649 /* The GNU C library defines this for functions which it implements
12650 to always fail with ENOSYS. Some functions are actually named
12651 something starting with __ and the normal name is an alias. */
12652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12660 if { (eval echo configure:12661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12662 eval "ac_cv_func_$ac_func=yes"
12664 echo "configure: failed program was:" >&5
12665 cat conftest.$ac_ext >&5
12667 eval "ac_cv_func_$ac_func=no"
12672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12673 echo "$ac_t""yes" 1>&6
12674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12675 cat >> confdefs.h <<EOF
12676 #define $ac_tr_func 1
12680 echo "$ac_t""no" 1>&6
12686 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
12687 echo "configure:12688: checking for _atan2l declaration" >&5
12688 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
12689 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
12690 echo $ac_n "(cached) $ac_c" 1>&6
12695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12696 ac_cpp='$CXXCPP $CPPFLAGS'
12697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12699 cross_compiling=$ac_cv_prog_cxx_cross
12701 cat > conftest.$ac_ext <<EOF
12702 #line 12703 "configure"
12703 #include "confdefs.h"
12709 if { (eval echo configure:12710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12711 glibcpp_cv_func__atan2l_use=yes
12713 echo "configure: failed program was:" >&5
12714 cat conftest.$ac_ext >&5
12716 glibcpp_cv_func__atan2l_use=no
12720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12721 ac_cpp='$CPP $CPPFLAGS'
12722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12724 cross_compiling=$ac_cv_prog_cc_cross
12730 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
12732 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
12733 for ac_func in _atan2l
12735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12736 echo "configure:12737: checking for $ac_func" >&5
12737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12738 echo $ac_n "(cached) $ac_c" 1>&6
12740 cat > conftest.$ac_ext <<EOF
12741 #line 12742 "configure"
12742 #include "confdefs.h"
12743 /* System header to define __stub macros and hopefully few prototypes,
12744 which can conflict with char $ac_func(); below. */
12745 #include <assert.h>
12746 /* Override any gcc2 internal prototype to avoid an error. */
12747 /* We use char because int might match the return type of a gcc2
12748 builtin and then its argument prototype would still apply. */
12753 /* The GNU C library defines this for functions which it implements
12754 to always fail with ENOSYS. Some functions are actually named
12755 something starting with __ and the normal name is an alias. */
12756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12764 if { (eval echo configure:12765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12766 eval "ac_cv_func_$ac_func=yes"
12768 echo "configure: failed program was:" >&5
12769 cat conftest.$ac_ext >&5
12771 eval "ac_cv_func_$ac_func=no"
12776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12777 echo "$ac_t""yes" 1>&6
12778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12779 cat >> confdefs.h <<EOF
12780 #define $ac_tr_func 1
12784 echo "$ac_t""no" 1>&6
12793 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
12794 echo "configure:12795: checking for expl declaration" >&5
12795 if test x${glibcpp_cv_func_expl_use+set} != xset; then
12796 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
12797 echo $ac_n "(cached) $ac_c" 1>&6
12802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12803 ac_cpp='$CXXCPP $CPPFLAGS'
12804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12806 cross_compiling=$ac_cv_prog_cxx_cross
12808 cat > conftest.$ac_ext <<EOF
12809 #line 12810 "configure"
12810 #include "confdefs.h"
12812 #ifdef HAVE_IEEEFP_H
12813 #include <ieeefp.h>
12820 if { (eval echo configure:12821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12822 glibcpp_cv_func_expl_use=yes
12824 echo "configure: failed program was:" >&5
12825 cat conftest.$ac_ext >&5
12827 glibcpp_cv_func_expl_use=no
12831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12832 ac_cpp='$CPP $CPPFLAGS'
12833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12835 cross_compiling=$ac_cv_prog_cc_cross
12841 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
12843 if test x$glibcpp_cv_func_expl_use = x"yes"; then
12844 for ac_func in expl
12846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12847 echo "configure:12848: checking for $ac_func" >&5
12848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftest.$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12854 /* System header to define __stub macros and hopefully few prototypes,
12855 which can conflict with char $ac_func(); below. */
12856 #include <assert.h>
12857 /* Override any gcc2 internal prototype to avoid an error. */
12858 /* We use char because int might match the return type of a gcc2
12859 builtin and then its argument prototype would still apply. */
12864 /* The GNU C library defines this for functions which it implements
12865 to always fail with ENOSYS. Some functions are actually named
12866 something starting with __ and the normal name is an alias. */
12867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12875 if { (eval echo configure:12876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12877 eval "ac_cv_func_$ac_func=yes"
12879 echo "configure: failed program was:" >&5
12880 cat conftest.$ac_ext >&5
12882 eval "ac_cv_func_$ac_func=no"
12887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12888 echo "$ac_t""yes" 1>&6
12889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12890 cat >> confdefs.h <<EOF
12891 #define $ac_tr_func 1
12895 echo "$ac_t""no" 1>&6
12901 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
12902 echo "configure:12903: checking for _expl declaration" >&5
12903 if test x${glibcpp_cv_func__expl_use+set} != xset; then
12904 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
12905 echo $ac_n "(cached) $ac_c" 1>&6
12910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12911 ac_cpp='$CXXCPP $CPPFLAGS'
12912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12914 cross_compiling=$ac_cv_prog_cxx_cross
12916 cat > conftest.$ac_ext <<EOF
12917 #line 12918 "configure"
12918 #include "confdefs.h"
12920 #ifdef HAVE_IEEEFP_H
12921 #include <ieeefp.h>
12928 if { (eval echo configure:12929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12930 glibcpp_cv_func__expl_use=yes
12932 echo "configure: failed program was:" >&5
12933 cat conftest.$ac_ext >&5
12935 glibcpp_cv_func__expl_use=no
12939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12943 cross_compiling=$ac_cv_prog_cc_cross
12949 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
12951 if test x$glibcpp_cv_func__expl_use = x"yes"; then
12952 for ac_func in _expl
12954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12955 echo "configure:12956: checking for $ac_func" >&5
12956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12957 echo $ac_n "(cached) $ac_c" 1>&6
12959 cat > conftest.$ac_ext <<EOF
12960 #line 12961 "configure"
12961 #include "confdefs.h"
12962 /* System header to define __stub macros and hopefully few prototypes,
12963 which can conflict with char $ac_func(); below. */
12964 #include <assert.h>
12965 /* Override any gcc2 internal prototype to avoid an error. */
12966 /* We use char because int might match the return type of a gcc2
12967 builtin and then its argument prototype would still apply. */
12972 /* The GNU C library defines this for functions which it implements
12973 to always fail with ENOSYS. Some functions are actually named
12974 something starting with __ and the normal name is an alias. */
12975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12983 if { (eval echo configure:12984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12985 eval "ac_cv_func_$ac_func=yes"
12987 echo "configure: failed program was:" >&5
12988 cat conftest.$ac_ext >&5
12990 eval "ac_cv_func_$ac_func=no"
12995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12996 echo "$ac_t""yes" 1>&6
12997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12998 cat >> confdefs.h <<EOF
12999 #define $ac_tr_func 1
13003 echo "$ac_t""no" 1>&6
13012 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
13013 echo "configure:13014: checking for fabsl declaration" >&5
13014 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
13015 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
13016 echo $ac_n "(cached) $ac_c" 1>&6
13021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13022 ac_cpp='$CXXCPP $CPPFLAGS'
13023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13025 cross_compiling=$ac_cv_prog_cxx_cross
13027 cat > conftest.$ac_ext <<EOF
13028 #line 13029 "configure"
13029 #include "confdefs.h"
13031 #ifdef HAVE_IEEEFP_H
13032 #include <ieeefp.h>
13039 if { (eval echo configure:13040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13041 glibcpp_cv_func_fabsl_use=yes
13043 echo "configure: failed program was:" >&5
13044 cat conftest.$ac_ext >&5
13046 glibcpp_cv_func_fabsl_use=no
13050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13051 ac_cpp='$CPP $CPPFLAGS'
13052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13054 cross_compiling=$ac_cv_prog_cc_cross
13060 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
13062 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
13063 for ac_func in fabsl
13065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13066 echo "configure:13067: checking for $ac_func" >&5
13067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13068 echo $ac_n "(cached) $ac_c" 1>&6
13070 cat > conftest.$ac_ext <<EOF
13071 #line 13072 "configure"
13072 #include "confdefs.h"
13073 /* System header to define __stub macros and hopefully few prototypes,
13074 which can conflict with char $ac_func(); below. */
13075 #include <assert.h>
13076 /* Override any gcc2 internal prototype to avoid an error. */
13077 /* We use char because int might match the return type of a gcc2
13078 builtin and then its argument prototype would still apply. */
13083 /* The GNU C library defines this for functions which it implements
13084 to always fail with ENOSYS. Some functions are actually named
13085 something starting with __ and the normal name is an alias. */
13086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13094 if { (eval echo configure:13095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13096 eval "ac_cv_func_$ac_func=yes"
13098 echo "configure: failed program was:" >&5
13099 cat conftest.$ac_ext >&5
13101 eval "ac_cv_func_$ac_func=no"
13106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13107 echo "$ac_t""yes" 1>&6
13108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13109 cat >> confdefs.h <<EOF
13110 #define $ac_tr_func 1
13114 echo "$ac_t""no" 1>&6
13120 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
13121 echo "configure:13122: checking for _fabsl declaration" >&5
13122 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
13123 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
13124 echo $ac_n "(cached) $ac_c" 1>&6
13129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13130 ac_cpp='$CXXCPP $CPPFLAGS'
13131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13133 cross_compiling=$ac_cv_prog_cxx_cross
13135 cat > conftest.$ac_ext <<EOF
13136 #line 13137 "configure"
13137 #include "confdefs.h"
13139 #ifdef HAVE_IEEEFP_H
13140 #include <ieeefp.h>
13147 if { (eval echo configure:13148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13149 glibcpp_cv_func__fabsl_use=yes
13151 echo "configure: failed program was:" >&5
13152 cat conftest.$ac_ext >&5
13154 glibcpp_cv_func__fabsl_use=no
13158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13159 ac_cpp='$CPP $CPPFLAGS'
13160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13162 cross_compiling=$ac_cv_prog_cc_cross
13168 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13170 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13171 for ac_func in _fabsl
13173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13174 echo "configure:13175: checking for $ac_func" >&5
13175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13176 echo $ac_n "(cached) $ac_c" 1>&6
13178 cat > conftest.$ac_ext <<EOF
13179 #line 13180 "configure"
13180 #include "confdefs.h"
13181 /* System header to define __stub macros and hopefully few prototypes,
13182 which can conflict with char $ac_func(); below. */
13183 #include <assert.h>
13184 /* Override any gcc2 internal prototype to avoid an error. */
13185 /* We use char because int might match the return type of a gcc2
13186 builtin and then its argument prototype would still apply. */
13191 /* The GNU C library defines this for functions which it implements
13192 to always fail with ENOSYS. Some functions are actually named
13193 something starting with __ and the normal name is an alias. */
13194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13202 if { (eval echo configure:13203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13204 eval "ac_cv_func_$ac_func=yes"
13206 echo "configure: failed program was:" >&5
13207 cat conftest.$ac_ext >&5
13209 eval "ac_cv_func_$ac_func=no"
13214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13215 echo "$ac_t""yes" 1>&6
13216 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13217 cat >> confdefs.h <<EOF
13218 #define $ac_tr_func 1
13222 echo "$ac_t""no" 1>&6
13231 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
13232 echo "configure:13233: checking for fmodl declaration" >&5
13233 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
13234 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
13235 echo $ac_n "(cached) $ac_c" 1>&6
13240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13241 ac_cpp='$CXXCPP $CPPFLAGS'
13242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13244 cross_compiling=$ac_cv_prog_cxx_cross
13246 cat > conftest.$ac_ext <<EOF
13247 #line 13248 "configure"
13248 #include "confdefs.h"
13254 if { (eval echo configure:13255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13256 glibcpp_cv_func_fmodl_use=yes
13258 echo "configure: failed program was:" >&5
13259 cat conftest.$ac_ext >&5
13261 glibcpp_cv_func_fmodl_use=no
13265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13266 ac_cpp='$CPP $CPPFLAGS'
13267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13269 cross_compiling=$ac_cv_prog_cc_cross
13275 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
13277 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
13278 for ac_func in fmodl
13280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13281 echo "configure:13282: checking for $ac_func" >&5
13282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13283 echo $ac_n "(cached) $ac_c" 1>&6
13285 cat > conftest.$ac_ext <<EOF
13286 #line 13287 "configure"
13287 #include "confdefs.h"
13288 /* System header to define __stub macros and hopefully few prototypes,
13289 which can conflict with char $ac_func(); below. */
13290 #include <assert.h>
13291 /* Override any gcc2 internal prototype to avoid an error. */
13292 /* We use char because int might match the return type of a gcc2
13293 builtin and then its argument prototype would still apply. */
13298 /* The GNU C library defines this for functions which it implements
13299 to always fail with ENOSYS. Some functions are actually named
13300 something starting with __ and the normal name is an alias. */
13301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13309 if { (eval echo configure:13310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13311 eval "ac_cv_func_$ac_func=yes"
13313 echo "configure: failed program was:" >&5
13314 cat conftest.$ac_ext >&5
13316 eval "ac_cv_func_$ac_func=no"
13321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13322 echo "$ac_t""yes" 1>&6
13323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13324 cat >> confdefs.h <<EOF
13325 #define $ac_tr_func 1
13329 echo "$ac_t""no" 1>&6
13335 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
13336 echo "configure:13337: checking for _fmodl declaration" >&5
13337 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
13338 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
13339 echo $ac_n "(cached) $ac_c" 1>&6
13344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13345 ac_cpp='$CXXCPP $CPPFLAGS'
13346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13348 cross_compiling=$ac_cv_prog_cxx_cross
13350 cat > conftest.$ac_ext <<EOF
13351 #line 13352 "configure"
13352 #include "confdefs.h"
13358 if { (eval echo configure:13359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13360 glibcpp_cv_func__fmodl_use=yes
13362 echo "configure: failed program was:" >&5
13363 cat conftest.$ac_ext >&5
13365 glibcpp_cv_func__fmodl_use=no
13369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13370 ac_cpp='$CPP $CPPFLAGS'
13371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13373 cross_compiling=$ac_cv_prog_cc_cross
13379 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
13381 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
13382 for ac_func in _fmodl
13384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13385 echo "configure:13386: checking for $ac_func" >&5
13386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13387 echo $ac_n "(cached) $ac_c" 1>&6
13389 cat > conftest.$ac_ext <<EOF
13390 #line 13391 "configure"
13391 #include "confdefs.h"
13392 /* System header to define __stub macros and hopefully few prototypes,
13393 which can conflict with char $ac_func(); below. */
13394 #include <assert.h>
13395 /* Override any gcc2 internal prototype to avoid an error. */
13396 /* We use char because int might match the return type of a gcc2
13397 builtin and then its argument prototype would still apply. */
13402 /* The GNU C library defines this for functions which it implements
13403 to always fail with ENOSYS. Some functions are actually named
13404 something starting with __ and the normal name is an alias. */
13405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13413 if { (eval echo configure:13414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13415 eval "ac_cv_func_$ac_func=yes"
13417 echo "configure: failed program was:" >&5
13418 cat conftest.$ac_ext >&5
13420 eval "ac_cv_func_$ac_func=no"
13425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13426 echo "$ac_t""yes" 1>&6
13427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13428 cat >> confdefs.h <<EOF
13429 #define $ac_tr_func 1
13433 echo "$ac_t""no" 1>&6
13442 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
13443 echo "configure:13444: checking for frexpl declaration" >&5
13444 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
13445 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
13446 echo $ac_n "(cached) $ac_c" 1>&6
13451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13452 ac_cpp='$CXXCPP $CPPFLAGS'
13453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13455 cross_compiling=$ac_cv_prog_cxx_cross
13457 cat > conftest.$ac_ext <<EOF
13458 #line 13459 "configure"
13459 #include "confdefs.h"
13465 if { (eval echo configure:13466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13467 glibcpp_cv_func_frexpl_use=yes
13469 echo "configure: failed program was:" >&5
13470 cat conftest.$ac_ext >&5
13472 glibcpp_cv_func_frexpl_use=no
13476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13477 ac_cpp='$CPP $CPPFLAGS'
13478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13480 cross_compiling=$ac_cv_prog_cc_cross
13486 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
13488 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
13489 for ac_func in frexpl
13491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13492 echo "configure:13493: checking for $ac_func" >&5
13493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13494 echo $ac_n "(cached) $ac_c" 1>&6
13496 cat > conftest.$ac_ext <<EOF
13497 #line 13498 "configure"
13498 #include "confdefs.h"
13499 /* System header to define __stub macros and hopefully few prototypes,
13500 which can conflict with char $ac_func(); below. */
13501 #include <assert.h>
13502 /* Override any gcc2 internal prototype to avoid an error. */
13503 /* We use char because int might match the return type of a gcc2
13504 builtin and then its argument prototype would still apply. */
13509 /* The GNU C library defines this for functions which it implements
13510 to always fail with ENOSYS. Some functions are actually named
13511 something starting with __ and the normal name is an alias. */
13512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13522 eval "ac_cv_func_$ac_func=yes"
13524 echo "configure: failed program was:" >&5
13525 cat conftest.$ac_ext >&5
13527 eval "ac_cv_func_$ac_func=no"
13532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13533 echo "$ac_t""yes" 1>&6
13534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13535 cat >> confdefs.h <<EOF
13536 #define $ac_tr_func 1
13540 echo "$ac_t""no" 1>&6
13546 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
13547 echo "configure:13548: checking for _frexpl declaration" >&5
13548 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
13549 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
13550 echo $ac_n "(cached) $ac_c" 1>&6
13555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13556 ac_cpp='$CXXCPP $CPPFLAGS'
13557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13559 cross_compiling=$ac_cv_prog_cxx_cross
13561 cat > conftest.$ac_ext <<EOF
13562 #line 13563 "configure"
13563 #include "confdefs.h"
13569 if { (eval echo configure:13570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13571 glibcpp_cv_func__frexpl_use=yes
13573 echo "configure: failed program was:" >&5
13574 cat conftest.$ac_ext >&5
13576 glibcpp_cv_func__frexpl_use=no
13580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13581 ac_cpp='$CPP $CPPFLAGS'
13582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13584 cross_compiling=$ac_cv_prog_cc_cross
13590 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
13592 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
13593 for ac_func in _frexpl
13595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13596 echo "configure:13597: checking for $ac_func" >&5
13597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13598 echo $ac_n "(cached) $ac_c" 1>&6
13600 cat > conftest.$ac_ext <<EOF
13601 #line 13602 "configure"
13602 #include "confdefs.h"
13603 /* System header to define __stub macros and hopefully few prototypes,
13604 which can conflict with char $ac_func(); below. */
13605 #include <assert.h>
13606 /* Override any gcc2 internal prototype to avoid an error. */
13607 /* We use char because int might match the return type of a gcc2
13608 builtin and then its argument prototype would still apply. */
13613 /* The GNU C library defines this for functions which it implements
13614 to always fail with ENOSYS. Some functions are actually named
13615 something starting with __ and the normal name is an alias. */
13616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13624 if { (eval echo configure:13625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13626 eval "ac_cv_func_$ac_func=yes"
13628 echo "configure: failed program was:" >&5
13629 cat conftest.$ac_ext >&5
13631 eval "ac_cv_func_$ac_func=no"
13636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13637 echo "$ac_t""yes" 1>&6
13638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13639 cat >> confdefs.h <<EOF
13640 #define $ac_tr_func 1
13644 echo "$ac_t""no" 1>&6
13653 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
13654 echo "configure:13655: checking for hypotl declaration" >&5
13655 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
13656 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
13657 echo $ac_n "(cached) $ac_c" 1>&6
13662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13663 ac_cpp='$CXXCPP $CPPFLAGS'
13664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13666 cross_compiling=$ac_cv_prog_cxx_cross
13668 cat > conftest.$ac_ext <<EOF
13669 #line 13670 "configure"
13670 #include "confdefs.h"
13676 if { (eval echo configure:13677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13678 glibcpp_cv_func_hypotl_use=yes
13680 echo "configure: failed program was:" >&5
13681 cat conftest.$ac_ext >&5
13683 glibcpp_cv_func_hypotl_use=no
13687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13688 ac_cpp='$CPP $CPPFLAGS'
13689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13691 cross_compiling=$ac_cv_prog_cc_cross
13697 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
13699 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
13700 for ac_func in hypotl
13702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13703 echo "configure:13704: checking for $ac_func" >&5
13704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13705 echo $ac_n "(cached) $ac_c" 1>&6
13707 cat > conftest.$ac_ext <<EOF
13708 #line 13709 "configure"
13709 #include "confdefs.h"
13710 /* System header to define __stub macros and hopefully few prototypes,
13711 which can conflict with char $ac_func(); below. */
13712 #include <assert.h>
13713 /* Override any gcc2 internal prototype to avoid an error. */
13714 /* We use char because int might match the return type of a gcc2
13715 builtin and then its argument prototype would still apply. */
13720 /* The GNU C library defines this for functions which it implements
13721 to always fail with ENOSYS. Some functions are actually named
13722 something starting with __ and the normal name is an alias. */
13723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13731 if { (eval echo configure:13732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13733 eval "ac_cv_func_$ac_func=yes"
13735 echo "configure: failed program was:" >&5
13736 cat conftest.$ac_ext >&5
13738 eval "ac_cv_func_$ac_func=no"
13743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13744 echo "$ac_t""yes" 1>&6
13745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13746 cat >> confdefs.h <<EOF
13747 #define $ac_tr_func 1
13751 echo "$ac_t""no" 1>&6
13757 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
13758 echo "configure:13759: checking for _hypotl declaration" >&5
13759 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
13760 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
13761 echo $ac_n "(cached) $ac_c" 1>&6
13766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13767 ac_cpp='$CXXCPP $CPPFLAGS'
13768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13770 cross_compiling=$ac_cv_prog_cxx_cross
13772 cat > conftest.$ac_ext <<EOF
13773 #line 13774 "configure"
13774 #include "confdefs.h"
13780 if { (eval echo configure:13781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13782 glibcpp_cv_func__hypotl_use=yes
13784 echo "configure: failed program was:" >&5
13785 cat conftest.$ac_ext >&5
13787 glibcpp_cv_func__hypotl_use=no
13791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13792 ac_cpp='$CPP $CPPFLAGS'
13793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13795 cross_compiling=$ac_cv_prog_cc_cross
13801 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
13803 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
13804 for ac_func in _hypotl
13806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13807 echo "configure:13808: checking for $ac_func" >&5
13808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13809 echo $ac_n "(cached) $ac_c" 1>&6
13811 cat > conftest.$ac_ext <<EOF
13812 #line 13813 "configure"
13813 #include "confdefs.h"
13814 /* System header to define __stub macros and hopefully few prototypes,
13815 which can conflict with char $ac_func(); below. */
13816 #include <assert.h>
13817 /* Override any gcc2 internal prototype to avoid an error. */
13818 /* We use char because int might match the return type of a gcc2
13819 builtin and then its argument prototype would still apply. */
13824 /* The GNU C library defines this for functions which it implements
13825 to always fail with ENOSYS. Some functions are actually named
13826 something starting with __ and the normal name is an alias. */
13827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13835 if { (eval echo configure:13836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13837 eval "ac_cv_func_$ac_func=yes"
13839 echo "configure: failed program was:" >&5
13840 cat conftest.$ac_ext >&5
13842 eval "ac_cv_func_$ac_func=no"
13847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13848 echo "$ac_t""yes" 1>&6
13849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13850 cat >> confdefs.h <<EOF
13851 #define $ac_tr_func 1
13855 echo "$ac_t""no" 1>&6
13864 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
13865 echo "configure:13866: checking for ldexpl declaration" >&5
13866 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
13867 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
13868 echo $ac_n "(cached) $ac_c" 1>&6
13873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13874 ac_cpp='$CXXCPP $CPPFLAGS'
13875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13877 cross_compiling=$ac_cv_prog_cxx_cross
13879 cat > conftest.$ac_ext <<EOF
13880 #line 13881 "configure"
13881 #include "confdefs.h"
13887 if { (eval echo configure:13888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13889 glibcpp_cv_func_ldexpl_use=yes
13891 echo "configure: failed program was:" >&5
13892 cat conftest.$ac_ext >&5
13894 glibcpp_cv_func_ldexpl_use=no
13898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13899 ac_cpp='$CPP $CPPFLAGS'
13900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13902 cross_compiling=$ac_cv_prog_cc_cross
13908 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
13910 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
13911 for ac_func in ldexpl
13913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13914 echo "configure:13915: checking for $ac_func" >&5
13915 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13916 echo $ac_n "(cached) $ac_c" 1>&6
13918 cat > conftest.$ac_ext <<EOF
13919 #line 13920 "configure"
13920 #include "confdefs.h"
13921 /* System header to define __stub macros and hopefully few prototypes,
13922 which can conflict with char $ac_func(); below. */
13923 #include <assert.h>
13924 /* Override any gcc2 internal prototype to avoid an error. */
13925 /* We use char because int might match the return type of a gcc2
13926 builtin and then its argument prototype would still apply. */
13931 /* The GNU C library defines this for functions which it implements
13932 to always fail with ENOSYS. Some functions are actually named
13933 something starting with __ and the normal name is an alias. */
13934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13942 if { (eval echo configure:13943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13944 eval "ac_cv_func_$ac_func=yes"
13946 echo "configure: failed program was:" >&5
13947 cat conftest.$ac_ext >&5
13949 eval "ac_cv_func_$ac_func=no"
13954 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13955 echo "$ac_t""yes" 1>&6
13956 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13957 cat >> confdefs.h <<EOF
13958 #define $ac_tr_func 1
13962 echo "$ac_t""no" 1>&6
13968 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
13969 echo "configure:13970: checking for _ldexpl declaration" >&5
13970 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
13971 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
13972 echo $ac_n "(cached) $ac_c" 1>&6
13977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13978 ac_cpp='$CXXCPP $CPPFLAGS'
13979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13981 cross_compiling=$ac_cv_prog_cxx_cross
13983 cat > conftest.$ac_ext <<EOF
13984 #line 13985 "configure"
13985 #include "confdefs.h"
13991 if { (eval echo configure:13992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13993 glibcpp_cv_func__ldexpl_use=yes
13995 echo "configure: failed program was:" >&5
13996 cat conftest.$ac_ext >&5
13998 glibcpp_cv_func__ldexpl_use=no
14002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14003 ac_cpp='$CPP $CPPFLAGS'
14004 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14005 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14006 cross_compiling=$ac_cv_prog_cc_cross
14012 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
14014 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
14015 for ac_func in _ldexpl
14017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14018 echo "configure:14019: checking for $ac_func" >&5
14019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14020 echo $ac_n "(cached) $ac_c" 1>&6
14022 cat > conftest.$ac_ext <<EOF
14023 #line 14024 "configure"
14024 #include "confdefs.h"
14025 /* System header to define __stub macros and hopefully few prototypes,
14026 which can conflict with char $ac_func(); below. */
14027 #include <assert.h>
14028 /* Override any gcc2 internal prototype to avoid an error. */
14029 /* We use char because int might match the return type of a gcc2
14030 builtin and then its argument prototype would still apply. */
14035 /* The GNU C library defines this for functions which it implements
14036 to always fail with ENOSYS. Some functions are actually named
14037 something starting with __ and the normal name is an alias. */
14038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14046 if { (eval echo configure:14047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14048 eval "ac_cv_func_$ac_func=yes"
14050 echo "configure: failed program was:" >&5
14051 cat conftest.$ac_ext >&5
14053 eval "ac_cv_func_$ac_func=no"
14058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14059 echo "$ac_t""yes" 1>&6
14060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14061 cat >> confdefs.h <<EOF
14062 #define $ac_tr_func 1
14066 echo "$ac_t""no" 1>&6
14075 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
14076 echo "configure:14077: checking for logl declaration" >&5
14077 if test x${glibcpp_cv_func_logl_use+set} != xset; then
14078 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
14079 echo $ac_n "(cached) $ac_c" 1>&6
14084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14085 ac_cpp='$CXXCPP $CPPFLAGS'
14086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14088 cross_compiling=$ac_cv_prog_cxx_cross
14090 cat > conftest.$ac_ext <<EOF
14091 #line 14092 "configure"
14092 #include "confdefs.h"
14094 #ifdef HAVE_IEEEFP_H
14095 #include <ieeefp.h>
14102 if { (eval echo configure:14103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14104 glibcpp_cv_func_logl_use=yes
14106 echo "configure: failed program was:" >&5
14107 cat conftest.$ac_ext >&5
14109 glibcpp_cv_func_logl_use=no
14113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14114 ac_cpp='$CPP $CPPFLAGS'
14115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14117 cross_compiling=$ac_cv_prog_cc_cross
14123 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
14125 if test x$glibcpp_cv_func_logl_use = x"yes"; then
14126 for ac_func in logl
14128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14129 echo "configure:14130: checking for $ac_func" >&5
14130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14131 echo $ac_n "(cached) $ac_c" 1>&6
14133 cat > conftest.$ac_ext <<EOF
14134 #line 14135 "configure"
14135 #include "confdefs.h"
14136 /* System header to define __stub macros and hopefully few prototypes,
14137 which can conflict with char $ac_func(); below. */
14138 #include <assert.h>
14139 /* Override any gcc2 internal prototype to avoid an error. */
14140 /* We use char because int might match the return type of a gcc2
14141 builtin and then its argument prototype would still apply. */
14146 /* The GNU C library defines this for functions which it implements
14147 to always fail with ENOSYS. Some functions are actually named
14148 something starting with __ and the normal name is an alias. */
14149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14157 if { (eval echo configure:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14159 eval "ac_cv_func_$ac_func=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.$ac_ext >&5
14164 eval "ac_cv_func_$ac_func=no"
14169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14170 echo "$ac_t""yes" 1>&6
14171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14172 cat >> confdefs.h <<EOF
14173 #define $ac_tr_func 1
14177 echo "$ac_t""no" 1>&6
14183 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
14184 echo "configure:14185: checking for _logl declaration" >&5
14185 if test x${glibcpp_cv_func__logl_use+set} != xset; then
14186 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14193 ac_cpp='$CXXCPP $CPPFLAGS'
14194 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14195 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14196 cross_compiling=$ac_cv_prog_cxx_cross
14198 cat > conftest.$ac_ext <<EOF
14199 #line 14200 "configure"
14200 #include "confdefs.h"
14202 #ifdef HAVE_IEEEFP_H
14203 #include <ieeefp.h>
14210 if { (eval echo configure:14211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14212 glibcpp_cv_func__logl_use=yes
14214 echo "configure: failed program was:" >&5
14215 cat conftest.$ac_ext >&5
14217 glibcpp_cv_func__logl_use=no
14221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14222 ac_cpp='$CPP $CPPFLAGS'
14223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14225 cross_compiling=$ac_cv_prog_cc_cross
14231 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
14233 if test x$glibcpp_cv_func__logl_use = x"yes"; then
14234 for ac_func in _logl
14236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14237 echo "configure:14238: checking for $ac_func" >&5
14238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 cat > conftest.$ac_ext <<EOF
14242 #line 14243 "configure"
14243 #include "confdefs.h"
14244 /* System header to define __stub macros and hopefully few prototypes,
14245 which can conflict with char $ac_func(); below. */
14246 #include <assert.h>
14247 /* Override any gcc2 internal prototype to avoid an error. */
14248 /* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14265 if { (eval echo configure:14266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14267 eval "ac_cv_func_$ac_func=yes"
14269 echo "configure: failed program was:" >&5
14270 cat conftest.$ac_ext >&5
14272 eval "ac_cv_func_$ac_func=no"
14277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14278 echo "$ac_t""yes" 1>&6
14279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14280 cat >> confdefs.h <<EOF
14281 #define $ac_tr_func 1
14285 echo "$ac_t""no" 1>&6
14294 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
14295 echo "configure:14296: checking for log10l declaration" >&5
14296 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
14297 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14304 ac_cpp='$CXXCPP $CPPFLAGS'
14305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14307 cross_compiling=$ac_cv_prog_cxx_cross
14309 cat > conftest.$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14313 #ifdef HAVE_IEEEFP_H
14314 #include <ieeefp.h>
14321 if { (eval echo configure:14322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14323 glibcpp_cv_func_log10l_use=yes
14325 echo "configure: failed program was:" >&5
14326 cat conftest.$ac_ext >&5
14328 glibcpp_cv_func_log10l_use=no
14332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14336 cross_compiling=$ac_cv_prog_cc_cross
14342 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
14344 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
14345 for ac_func in log10l
14347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14348 echo "configure:14349: checking for $ac_func" >&5
14349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14350 echo $ac_n "(cached) $ac_c" 1>&6
14352 cat > conftest.$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 /* System header to define __stub macros and hopefully few prototypes,
14356 which can conflict with char $ac_func(); below. */
14357 #include <assert.h>
14358 /* Override any gcc2 internal prototype to avoid an error. */
14359 /* We use char because int might match the return type of a gcc2
14360 builtin and then its argument prototype would still apply. */
14365 /* The GNU C library defines this for functions which it implements
14366 to always fail with ENOSYS. Some functions are actually named
14367 something starting with __ and the normal name is an alias. */
14368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14376 if { (eval echo configure:14377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14378 eval "ac_cv_func_$ac_func=yes"
14380 echo "configure: failed program was:" >&5
14381 cat conftest.$ac_ext >&5
14383 eval "ac_cv_func_$ac_func=no"
14388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14389 echo "$ac_t""yes" 1>&6
14390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14391 cat >> confdefs.h <<EOF
14392 #define $ac_tr_func 1
14396 echo "$ac_t""no" 1>&6
14402 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
14403 echo "configure:14404: checking for _log10l declaration" >&5
14404 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
14405 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
14406 echo $ac_n "(cached) $ac_c" 1>&6
14411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14412 ac_cpp='$CXXCPP $CPPFLAGS'
14413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14415 cross_compiling=$ac_cv_prog_cxx_cross
14417 cat > conftest.$ac_ext <<EOF
14418 #line 14419 "configure"
14419 #include "confdefs.h"
14421 #ifdef HAVE_IEEEFP_H
14422 #include <ieeefp.h>
14429 if { (eval echo configure:14430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14431 glibcpp_cv_func__log10l_use=yes
14433 echo "configure: failed program was:" >&5
14434 cat conftest.$ac_ext >&5
14436 glibcpp_cv_func__log10l_use=no
14440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14441 ac_cpp='$CPP $CPPFLAGS'
14442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14444 cross_compiling=$ac_cv_prog_cc_cross
14450 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
14452 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
14453 for ac_func in _log10l
14455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14456 echo "configure:14457: checking for $ac_func" >&5
14457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14458 echo $ac_n "(cached) $ac_c" 1>&6
14460 cat > conftest.$ac_ext <<EOF
14461 #line 14462 "configure"
14462 #include "confdefs.h"
14463 /* System header to define __stub macros and hopefully few prototypes,
14464 which can conflict with char $ac_func(); below. */
14465 #include <assert.h>
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14473 /* The GNU C library defines this for functions which it implements
14474 to always fail with ENOSYS. Some functions are actually named
14475 something starting with __ and the normal name is an alias. */
14476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14484 if { (eval echo configure:14485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14486 eval "ac_cv_func_$ac_func=yes"
14488 echo "configure: failed program was:" >&5
14489 cat conftest.$ac_ext >&5
14491 eval "ac_cv_func_$ac_func=no"
14496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14497 echo "$ac_t""yes" 1>&6
14498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14499 cat >> confdefs.h <<EOF
14500 #define $ac_tr_func 1
14504 echo "$ac_t""no" 1>&6
14513 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
14514 echo "configure:14515: checking for modfl declaration" >&5
14515 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
14516 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
14517 echo $ac_n "(cached) $ac_c" 1>&6
14522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14523 ac_cpp='$CXXCPP $CPPFLAGS'
14524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14526 cross_compiling=$ac_cv_prog_cxx_cross
14528 cat > conftest.$ac_ext <<EOF
14529 #line 14530 "configure"
14530 #include "confdefs.h"
14536 if { (eval echo configure:14537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14538 glibcpp_cv_func_modfl_use=yes
14540 echo "configure: failed program was:" >&5
14541 cat conftest.$ac_ext >&5
14543 glibcpp_cv_func_modfl_use=no
14547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14548 ac_cpp='$CPP $CPPFLAGS'
14549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14551 cross_compiling=$ac_cv_prog_cc_cross
14557 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
14559 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
14560 for ac_func in modfl
14562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14563 echo "configure:14564: checking for $ac_func" >&5
14564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14565 echo $ac_n "(cached) $ac_c" 1>&6
14567 cat > conftest.$ac_ext <<EOF
14568 #line 14569 "configure"
14569 #include "confdefs.h"
14570 /* System header to define __stub macros and hopefully few prototypes,
14571 which can conflict with char $ac_func(); below. */
14572 #include <assert.h>
14573 /* Override any gcc2 internal prototype to avoid an error. */
14574 /* We use char because int might match the return type of a gcc2
14575 builtin and then its argument prototype would still apply. */
14580 /* The GNU C library defines this for functions which it implements
14581 to always fail with ENOSYS. Some functions are actually named
14582 something starting with __ and the normal name is an alias. */
14583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14591 if { (eval echo configure:14592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14593 eval "ac_cv_func_$ac_func=yes"
14595 echo "configure: failed program was:" >&5
14596 cat conftest.$ac_ext >&5
14598 eval "ac_cv_func_$ac_func=no"
14603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14604 echo "$ac_t""yes" 1>&6
14605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14606 cat >> confdefs.h <<EOF
14607 #define $ac_tr_func 1
14611 echo "$ac_t""no" 1>&6
14617 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
14618 echo "configure:14619: checking for _modfl declaration" >&5
14619 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
14620 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
14621 echo $ac_n "(cached) $ac_c" 1>&6
14626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14627 ac_cpp='$CXXCPP $CPPFLAGS'
14628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14630 cross_compiling=$ac_cv_prog_cxx_cross
14632 cat > conftest.$ac_ext <<EOF
14633 #line 14634 "configure"
14634 #include "confdefs.h"
14640 if { (eval echo configure:14641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14642 glibcpp_cv_func__modfl_use=yes
14644 echo "configure: failed program was:" >&5
14645 cat conftest.$ac_ext >&5
14647 glibcpp_cv_func__modfl_use=no
14651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14652 ac_cpp='$CPP $CPPFLAGS'
14653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14655 cross_compiling=$ac_cv_prog_cc_cross
14661 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
14663 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
14664 for ac_func in _modfl
14666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14667 echo "configure:14668: checking for $ac_func" >&5
14668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14669 echo $ac_n "(cached) $ac_c" 1>&6
14671 cat > conftest.$ac_ext <<EOF
14672 #line 14673 "configure"
14673 #include "confdefs.h"
14674 /* System header to define __stub macros and hopefully few prototypes,
14675 which can conflict with char $ac_func(); below. */
14676 #include <assert.h>
14677 /* Override any gcc2 internal prototype to avoid an error. */
14678 /* We use char because int might match the return type of a gcc2
14679 builtin and then its argument prototype would still apply. */
14684 /* The GNU C library defines this for functions which it implements
14685 to always fail with ENOSYS. Some functions are actually named
14686 something starting with __ and the normal name is an alias. */
14687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14695 if { (eval echo configure:14696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14697 eval "ac_cv_func_$ac_func=yes"
14699 echo "configure: failed program was:" >&5
14700 cat conftest.$ac_ext >&5
14702 eval "ac_cv_func_$ac_func=no"
14707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14708 echo "$ac_t""yes" 1>&6
14709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14710 cat >> confdefs.h <<EOF
14711 #define $ac_tr_func 1
14715 echo "$ac_t""no" 1>&6
14724 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
14725 echo "configure:14726: checking for powl declaration" >&5
14726 if test x${glibcpp_cv_func_powl_use+set} != xset; then
14727 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14734 ac_cpp='$CXXCPP $CPPFLAGS'
14735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14737 cross_compiling=$ac_cv_prog_cxx_cross
14739 cat > conftest.$ac_ext <<EOF
14740 #line 14741 "configure"
14741 #include "confdefs.h"
14747 if { (eval echo configure:14748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14749 glibcpp_cv_func_powl_use=yes
14751 echo "configure: failed program was:" >&5
14752 cat conftest.$ac_ext >&5
14754 glibcpp_cv_func_powl_use=no
14758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14759 ac_cpp='$CPP $CPPFLAGS'
14760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14762 cross_compiling=$ac_cv_prog_cc_cross
14768 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
14770 if test x$glibcpp_cv_func_powl_use = x"yes"; then
14771 for ac_func in powl
14773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14774 echo "configure:14775: checking for $ac_func" >&5
14775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14776 echo $ac_n "(cached) $ac_c" 1>&6
14778 cat > conftest.$ac_ext <<EOF
14779 #line 14780 "configure"
14780 #include "confdefs.h"
14781 /* System header to define __stub macros and hopefully few prototypes,
14782 which can conflict with char $ac_func(); below. */
14783 #include <assert.h>
14784 /* Override any gcc2 internal prototype to avoid an error. */
14785 /* We use char because int might match the return type of a gcc2
14786 builtin and then its argument prototype would still apply. */
14791 /* The GNU C library defines this for functions which it implements
14792 to always fail with ENOSYS. Some functions are actually named
14793 something starting with __ and the normal name is an alias. */
14794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14802 if { (eval echo configure:14803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14804 eval "ac_cv_func_$ac_func=yes"
14806 echo "configure: failed program was:" >&5
14807 cat conftest.$ac_ext >&5
14809 eval "ac_cv_func_$ac_func=no"
14814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14815 echo "$ac_t""yes" 1>&6
14816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14817 cat >> confdefs.h <<EOF
14818 #define $ac_tr_func 1
14822 echo "$ac_t""no" 1>&6
14828 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
14829 echo "configure:14830: checking for _powl declaration" >&5
14830 if test x${glibcpp_cv_func__powl_use+set} != xset; then
14831 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14838 ac_cpp='$CXXCPP $CPPFLAGS'
14839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14841 cross_compiling=$ac_cv_prog_cxx_cross
14843 cat > conftest.$ac_ext <<EOF
14844 #line 14845 "configure"
14845 #include "confdefs.h"
14851 if { (eval echo configure:14852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14853 glibcpp_cv_func__powl_use=yes
14855 echo "configure: failed program was:" >&5
14856 cat conftest.$ac_ext >&5
14858 glibcpp_cv_func__powl_use=no
14862 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14863 ac_cpp='$CPP $CPPFLAGS'
14864 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14865 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14866 cross_compiling=$ac_cv_prog_cc_cross
14872 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
14874 if test x$glibcpp_cv_func__powl_use = x"yes"; then
14875 for ac_func in _powl
14877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14878 echo "configure:14879: checking for $ac_func" >&5
14879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14880 echo $ac_n "(cached) $ac_c" 1>&6
14882 cat > conftest.$ac_ext <<EOF
14883 #line 14884 "configure"
14884 #include "confdefs.h"
14885 /* System header to define __stub macros and hopefully few prototypes,
14886 which can conflict with char $ac_func(); below. */
14887 #include <assert.h>
14888 /* Override any gcc2 internal prototype to avoid an error. */
14889 /* We use char because int might match the return type of a gcc2
14890 builtin and then its argument prototype would still apply. */
14895 /* The GNU C library defines this for functions which it implements
14896 to always fail with ENOSYS. Some functions are actually named
14897 something starting with __ and the normal name is an alias. */
14898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14906 if { (eval echo configure:14907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14908 eval "ac_cv_func_$ac_func=yes"
14910 echo "configure: failed program was:" >&5
14911 cat conftest.$ac_ext >&5
14913 eval "ac_cv_func_$ac_func=no"
14918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14919 echo "$ac_t""yes" 1>&6
14920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14921 cat >> confdefs.h <<EOF
14922 #define $ac_tr_func 1
14926 echo "$ac_t""no" 1>&6
14935 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
14936 echo "configure:14937: checking for sqrtl declaration" >&5
14937 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
14938 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
14939 echo $ac_n "(cached) $ac_c" 1>&6
14944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14945 ac_cpp='$CXXCPP $CPPFLAGS'
14946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14948 cross_compiling=$ac_cv_prog_cxx_cross
14950 cat > conftest.$ac_ext <<EOF
14951 #line 14952 "configure"
14952 #include "confdefs.h"
14954 #ifdef HAVE_IEEEFP_H
14955 #include <ieeefp.h>
14962 if { (eval echo configure:14963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14964 glibcpp_cv_func_sqrtl_use=yes
14966 echo "configure: failed program was:" >&5
14967 cat conftest.$ac_ext >&5
14969 glibcpp_cv_func_sqrtl_use=no
14973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14974 ac_cpp='$CPP $CPPFLAGS'
14975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14977 cross_compiling=$ac_cv_prog_cc_cross
14983 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
14985 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
14986 for ac_func in sqrtl
14988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14989 echo "configure:14990: checking for $ac_func" >&5
14990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14991 echo $ac_n "(cached) $ac_c" 1>&6
14993 cat > conftest.$ac_ext <<EOF
14994 #line 14995 "configure"
14995 #include "confdefs.h"
14996 /* System header to define __stub macros and hopefully few prototypes,
14997 which can conflict with char $ac_func(); below. */
14998 #include <assert.h>
14999 /* Override any gcc2 internal prototype to avoid an error. */
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15006 /* The GNU C library defines this for functions which it implements
15007 to always fail with ENOSYS. Some functions are actually named
15008 something starting with __ and the normal name is an alias. */
15009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15017 if { (eval echo configure:15018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15019 eval "ac_cv_func_$ac_func=yes"
15021 echo "configure: failed program was:" >&5
15022 cat conftest.$ac_ext >&5
15024 eval "ac_cv_func_$ac_func=no"
15029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15030 echo "$ac_t""yes" 1>&6
15031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15032 cat >> confdefs.h <<EOF
15033 #define $ac_tr_func 1
15037 echo "$ac_t""no" 1>&6
15043 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
15044 echo "configure:15045: checking for _sqrtl declaration" >&5
15045 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
15046 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
15047 echo $ac_n "(cached) $ac_c" 1>&6
15052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15053 ac_cpp='$CXXCPP $CPPFLAGS'
15054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15056 cross_compiling=$ac_cv_prog_cxx_cross
15058 cat > conftest.$ac_ext <<EOF
15059 #line 15060 "configure"
15060 #include "confdefs.h"
15062 #ifdef HAVE_IEEEFP_H
15063 #include <ieeefp.h>
15070 if { (eval echo configure:15071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15072 glibcpp_cv_func__sqrtl_use=yes
15074 echo "configure: failed program was:" >&5
15075 cat conftest.$ac_ext >&5
15077 glibcpp_cv_func__sqrtl_use=no
15081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15085 cross_compiling=$ac_cv_prog_cc_cross
15091 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
15093 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
15094 for ac_func in _sqrtl
15096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15097 echo "configure:15098: checking for $ac_func" >&5
15098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15099 echo $ac_n "(cached) $ac_c" 1>&6
15101 cat > conftest.$ac_ext <<EOF
15102 #line 15103 "configure"
15103 #include "confdefs.h"
15104 /* System header to define __stub macros and hopefully few prototypes,
15105 which can conflict with char $ac_func(); below. */
15106 #include <assert.h>
15107 /* Override any gcc2 internal prototype to avoid an error. */
15108 /* We use char because int might match the return type of a gcc2
15109 builtin and then its argument prototype would still apply. */
15114 /* The GNU C library defines this for functions which it implements
15115 to always fail with ENOSYS. Some functions are actually named
15116 something starting with __ and the normal name is an alias. */
15117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15125 if { (eval echo configure:15126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15127 eval "ac_cv_func_$ac_func=yes"
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15132 eval "ac_cv_func_$ac_func=no"
15137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15138 echo "$ac_t""yes" 1>&6
15139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15140 cat >> confdefs.h <<EOF
15141 #define $ac_tr_func 1
15145 echo "$ac_t""no" 1>&6
15154 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
15155 echo "configure:15156: checking for sincosl declaration" >&5
15156 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
15157 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
15158 echo $ac_n "(cached) $ac_c" 1>&6
15163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15164 ac_cpp='$CXXCPP $CPPFLAGS'
15165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15167 cross_compiling=$ac_cv_prog_cxx_cross
15169 cat > conftest.$ac_ext <<EOF
15170 #line 15171 "configure"
15171 #include "confdefs.h"
15177 if { (eval echo configure:15178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15179 glibcpp_cv_func_sincosl_use=yes
15181 echo "configure: failed program was:" >&5
15182 cat conftest.$ac_ext >&5
15184 glibcpp_cv_func_sincosl_use=no
15188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15189 ac_cpp='$CPP $CPPFLAGS'
15190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15192 cross_compiling=$ac_cv_prog_cc_cross
15198 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
15200 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
15201 for ac_func in sincosl
15203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15204 echo "configure:15205: checking for $ac_func" >&5
15205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15206 echo $ac_n "(cached) $ac_c" 1>&6
15208 cat > conftest.$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15211 /* System header to define __stub macros and hopefully few prototypes,
15212 which can conflict with char $ac_func(); below. */
15213 #include <assert.h>
15214 /* Override any gcc2 internal prototype to avoid an error. */
15215 /* We use char because int might match the return type of a gcc2
15216 builtin and then its argument prototype would still apply. */
15221 /* The GNU C library defines this for functions which it implements
15222 to always fail with ENOSYS. Some functions are actually named
15223 something starting with __ and the normal name is an alias. */
15224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15232 if { (eval echo configure:15233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15234 eval "ac_cv_func_$ac_func=yes"
15236 echo "configure: failed program was:" >&5
15237 cat conftest.$ac_ext >&5
15239 eval "ac_cv_func_$ac_func=no"
15244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15245 echo "$ac_t""yes" 1>&6
15246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15247 cat >> confdefs.h <<EOF
15248 #define $ac_tr_func 1
15252 echo "$ac_t""no" 1>&6
15258 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
15259 echo "configure:15260: checking for _sincosl declaration" >&5
15260 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
15261 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
15262 echo $ac_n "(cached) $ac_c" 1>&6
15267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15268 ac_cpp='$CXXCPP $CPPFLAGS'
15269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15271 cross_compiling=$ac_cv_prog_cxx_cross
15273 cat > conftest.$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15281 if { (eval echo configure:15282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15283 glibcpp_cv_func__sincosl_use=yes
15285 echo "configure: failed program was:" >&5
15286 cat conftest.$ac_ext >&5
15288 glibcpp_cv_func__sincosl_use=no
15292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15293 ac_cpp='$CPP $CPPFLAGS'
15294 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15295 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15296 cross_compiling=$ac_cv_prog_cc_cross
15302 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
15304 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
15305 for ac_func in _sincosl
15307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15308 echo "configure:15309: checking for $ac_func" >&5
15309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15310 echo $ac_n "(cached) $ac_c" 1>&6
15312 cat > conftest.$ac_ext <<EOF
15313 #line 15314 "configure"
15314 #include "confdefs.h"
15315 /* System header to define __stub macros and hopefully few prototypes,
15316 which can conflict with char $ac_func(); below. */
15317 #include <assert.h>
15318 /* Override any gcc2 internal prototype to avoid an error. */
15319 /* We use char because int might match the return type of a gcc2
15320 builtin and then its argument prototype would still apply. */
15325 /* The GNU C library defines this for functions which it implements
15326 to always fail with ENOSYS. Some functions are actually named
15327 something starting with __ and the normal name is an alias. */
15328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15336 if { (eval echo configure:15337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15338 eval "ac_cv_func_$ac_func=yes"
15340 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5
15343 eval "ac_cv_func_$ac_func=no"
15348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15349 echo "$ac_t""yes" 1>&6
15350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15351 cat >> confdefs.h <<EOF
15352 #define $ac_tr_func 1
15356 echo "$ac_t""no" 1>&6
15365 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
15366 echo "configure:15367: checking for finitel declaration" >&5
15367 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
15368 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
15369 echo $ac_n "(cached) $ac_c" 1>&6
15374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15375 ac_cpp='$CXXCPP $CPPFLAGS'
15376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15378 cross_compiling=$ac_cv_prog_cxx_cross
15380 cat > conftest.$ac_ext <<EOF
15381 #line 15382 "configure"
15382 #include "confdefs.h"
15384 #ifdef HAVE_IEEEFP_H
15385 #include <ieeefp.h>
15392 if { (eval echo configure:15393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15394 glibcpp_cv_func_finitel_use=yes
15396 echo "configure: failed program was:" >&5
15397 cat conftest.$ac_ext >&5
15399 glibcpp_cv_func_finitel_use=no
15403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15407 cross_compiling=$ac_cv_prog_cc_cross
15413 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
15415 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
15416 for ac_func in finitel
15418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15419 echo "configure:15420: checking for $ac_func" >&5
15420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15421 echo $ac_n "(cached) $ac_c" 1>&6
15423 cat > conftest.$ac_ext <<EOF
15424 #line 15425 "configure"
15425 #include "confdefs.h"
15426 /* System header to define __stub macros and hopefully few prototypes,
15427 which can conflict with char $ac_func(); below. */
15428 #include <assert.h>
15429 /* Override any gcc2 internal prototype to avoid an error. */
15430 /* We use char because int might match the return type of a gcc2
15431 builtin and then its argument prototype would still apply. */
15436 /* The GNU C library defines this for functions which it implements
15437 to always fail with ENOSYS. Some functions are actually named
15438 something starting with __ and the normal name is an alias. */
15439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15447 if { (eval echo configure:15448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15449 eval "ac_cv_func_$ac_func=yes"
15451 echo "configure: failed program was:" >&5
15452 cat conftest.$ac_ext >&5
15454 eval "ac_cv_func_$ac_func=no"
15459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15460 echo "$ac_t""yes" 1>&6
15461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15462 cat >> confdefs.h <<EOF
15463 #define $ac_tr_func 1
15467 echo "$ac_t""no" 1>&6
15473 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
15474 echo "configure:15475: checking for _finitel declaration" >&5
15475 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
15476 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
15477 echo $ac_n "(cached) $ac_c" 1>&6
15482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15486 cross_compiling=$ac_cv_prog_cxx_cross
15488 cat > conftest.$ac_ext <<EOF
15489 #line 15490 "configure"
15490 #include "confdefs.h"
15492 #ifdef HAVE_IEEEFP_H
15493 #include <ieeefp.h>
15500 if { (eval echo configure:15501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15502 glibcpp_cv_func__finitel_use=yes
15504 echo "configure: failed program was:" >&5
15505 cat conftest.$ac_ext >&5
15507 glibcpp_cv_func__finitel_use=no
15511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15515 cross_compiling=$ac_cv_prog_cc_cross
15521 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
15523 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
15524 for ac_func in _finitel
15526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15527 echo "configure:15528: checking for $ac_func" >&5
15528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15529 echo $ac_n "(cached) $ac_c" 1>&6
15531 cat > conftest.$ac_ext <<EOF
15532 #line 15533 "configure"
15533 #include "confdefs.h"
15534 /* System header to define __stub macros and hopefully few prototypes,
15535 which can conflict with char $ac_func(); below. */
15536 #include <assert.h>
15537 /* Override any gcc2 internal prototype to avoid an error. */
15538 /* We use char because int might match the return type of a gcc2
15539 builtin and then its argument prototype would still apply. */
15544 /* The GNU C library defines this for functions which it implements
15545 to always fail with ENOSYS. Some functions are actually named
15546 something starting with __ and the normal name is an alias. */
15547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15555 if { (eval echo configure:15556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15557 eval "ac_cv_func_$ac_func=yes"
15559 echo "configure: failed program was:" >&5
15560 cat conftest.$ac_ext >&5
15562 eval "ac_cv_func_$ac_func=no"
15567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15568 echo "$ac_t""yes" 1>&6
15569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15570 cat >> confdefs.h <<EOF
15571 #define $ac_tr_func 1
15575 echo "$ac_t""no" 1>&6
15585 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
15586 echo "configure:15587: checking for _float trig functions" >&5
15587 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
15588 echo $ac_n "(cached) $ac_c" 1>&6
15593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15594 ac_cpp='$CXXCPP $CPPFLAGS'
15595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15597 cross_compiling=$ac_cv_prog_cxx_cross
15599 cat > conftest.$ac_ext <<EOF
15600 #line 15601 "configure"
15601 #include "confdefs.h"
15604 `for x in _acosf _asinf _atanf \
15605 _cosf _sinf _tanf \
15606 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
15609 if { (eval echo configure:15610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15611 glibcpp_cv_func__float_trig_use=yes
15613 echo "configure: failed program was:" >&5
15614 cat conftest.$ac_ext >&5
15616 glibcpp_cv_func__float_trig_use=no
15620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15621 ac_cpp='$CPP $CPPFLAGS'
15622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15624 cross_compiling=$ac_cv_prog_cc_cross
15628 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
15629 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
15630 for ac_func in _acosf _asinf _atanf \
15631 _cosf _sinf _tanf \
15632 _coshf _sinhf _tanhf
15634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15635 echo "configure:15636: checking for $ac_func" >&5
15636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15637 echo $ac_n "(cached) $ac_c" 1>&6
15639 cat > conftest.$ac_ext <<EOF
15640 #line 15641 "configure"
15641 #include "confdefs.h"
15642 /* System header to define __stub macros and hopefully few prototypes,
15643 which can conflict with char $ac_func(); below. */
15644 #include <assert.h>
15645 /* Override any gcc2 internal prototype to avoid an error. */
15646 /* We use char because int might match the return type of a gcc2
15647 builtin and then its argument prototype would still apply. */
15652 /* The GNU C library defines this for functions which it implements
15653 to always fail with ENOSYS. Some functions are actually named
15654 something starting with __ and the normal name is an alias. */
15655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15663 if { (eval echo configure:15664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15665 eval "ac_cv_func_$ac_func=yes"
15667 echo "configure: failed program was:" >&5
15668 cat conftest.$ac_ext >&5
15670 eval "ac_cv_func_$ac_func=no"
15675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15676 echo "$ac_t""yes" 1>&6
15677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15678 cat >> confdefs.h <<EOF
15679 #define $ac_tr_func 1
15683 echo "$ac_t""no" 1>&6
15690 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
15691 echo "configure:15692: checking for _float round functions" >&5
15692 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
15693 echo $ac_n "(cached) $ac_c" 1>&6
15698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15699 ac_cpp='$CXXCPP $CPPFLAGS'
15700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15702 cross_compiling=$ac_cv_prog_cxx_cross
15704 cat > conftest.$ac_ext <<EOF
15705 #line 15706 "configure"
15706 #include "confdefs.h"
15709 `for x in _ceilf _floorf; do echo "$x (0);"; done`
15712 if { (eval echo configure:15713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15714 glibcpp_cv_func__float_round_use=yes
15716 echo "configure: failed program was:" >&5
15717 cat conftest.$ac_ext >&5
15719 glibcpp_cv_func__float_round_use=no
15723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15724 ac_cpp='$CPP $CPPFLAGS'
15725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15727 cross_compiling=$ac_cv_prog_cc_cross
15731 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
15732 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
15733 for ac_func in _ceilf _floorf
15735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15736 echo "configure:15737: checking for $ac_func" >&5
15737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15738 echo $ac_n "(cached) $ac_c" 1>&6
15740 cat > conftest.$ac_ext <<EOF
15741 #line 15742 "configure"
15742 #include "confdefs.h"
15743 /* System header to define __stub macros and hopefully few prototypes,
15744 which can conflict with char $ac_func(); below. */
15745 #include <assert.h>
15746 /* Override any gcc2 internal prototype to avoid an error. */
15747 /* We use char because int might match the return type of a gcc2
15748 builtin and then its argument prototype would still apply. */
15753 /* The GNU C library defines this for functions which it implements
15754 to always fail with ENOSYS. Some functions are actually named
15755 something starting with __ and the normal name is an alias. */
15756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15764 if { (eval echo configure:15765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15766 eval "ac_cv_func_$ac_func=yes"
15768 echo "configure: failed program was:" >&5
15769 cat conftest.$ac_ext >&5
15771 eval "ac_cv_func_$ac_func=no"
15776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15777 echo "$ac_t""yes" 1>&6
15778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15779 cat >> confdefs.h <<EOF
15780 #define $ac_tr_func 1
15784 echo "$ac_t""no" 1>&6
15792 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
15793 echo "configure:15794: checking for _long double trig functions" >&5
15794 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
15795 echo $ac_n "(cached) $ac_c" 1>&6
15800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15801 ac_cpp='$CXXCPP $CPPFLAGS'
15802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15804 cross_compiling=$ac_cv_prog_cxx_cross
15806 cat > conftest.$ac_ext <<EOF
15807 #line 15808 "configure"
15808 #include "confdefs.h"
15811 `for x in _acosl _asinl _atanl \
15812 _cosl _sinl _tanl \
15813 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
15816 if { (eval echo configure:15817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15818 glibcpp_cv_func__long_double_trig_use=yes
15820 echo "configure: failed program was:" >&5
15821 cat conftest.$ac_ext >&5
15823 glibcpp_cv_func__long_double_trig_use=no
15827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15828 ac_cpp='$CPP $CPPFLAGS'
15829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15831 cross_compiling=$ac_cv_prog_cc_cross
15835 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
15836 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
15837 for ac_func in _acosl _asinl _atanl \
15838 _cosl _sinl _tanl \
15839 _coshl _sinhl _tanhl
15841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15842 echo "configure:15843: checking for $ac_func" >&5
15843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15844 echo $ac_n "(cached) $ac_c" 1>&6
15846 cat > conftest.$ac_ext <<EOF
15847 #line 15848 "configure"
15848 #include "confdefs.h"
15849 /* System header to define __stub macros and hopefully few prototypes,
15850 which can conflict with char $ac_func(); below. */
15851 #include <assert.h>
15852 /* Override any gcc2 internal prototype to avoid an error. */
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15859 /* The GNU C library defines this for functions which it implements
15860 to always fail with ENOSYS. Some functions are actually named
15861 something starting with __ and the normal name is an alias. */
15862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15870 if { (eval echo configure:15871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15872 eval "ac_cv_func_$ac_func=yes"
15874 echo "configure: failed program was:" >&5
15875 cat conftest.$ac_ext >&5
15877 eval "ac_cv_func_$ac_func=no"
15882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15883 echo "$ac_t""yes" 1>&6
15884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15885 cat >> confdefs.h <<EOF
15886 #define $ac_tr_func 1
15890 echo "$ac_t""no" 1>&6
15897 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
15898 echo "configure:15899: checking for _long double round functions" >&5
15899 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
15900 echo $ac_n "(cached) $ac_c" 1>&6
15905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15906 ac_cpp='$CXXCPP $CPPFLAGS'
15907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15909 cross_compiling=$ac_cv_prog_cxx_cross
15911 cat > conftest.$ac_ext <<EOF
15912 #line 15913 "configure"
15913 #include "confdefs.h"
15916 `for x in _ceill _floorl; do echo "$x (0);"; done`
15919 if { (eval echo configure:15920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15921 glibcpp_cv_func__long_double_round_use=yes
15923 echo "configure: failed program was:" >&5
15924 cat conftest.$ac_ext >&5
15926 glibcpp_cv_func__long_double_round_use=no
15930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15934 cross_compiling=$ac_cv_prog_cc_cross
15938 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
15939 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
15940 for ac_func in _ceill _floorl
15942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15943 echo "configure:15944: checking for $ac_func" >&5
15944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15945 echo $ac_n "(cached) $ac_c" 1>&6
15947 cat > conftest.$ac_ext <<EOF
15948 #line 15949 "configure"
15949 #include "confdefs.h"
15950 /* System header to define __stub macros and hopefully few prototypes,
15951 which can conflict with char $ac_func(); below. */
15952 #include <assert.h>
15953 /* Override any gcc2 internal prototype to avoid an error. */
15954 /* We use char because int might match the return type of a gcc2
15955 builtin and then its argument prototype would still apply. */
15960 /* The GNU C library defines this for functions which it implements
15961 to always fail with ENOSYS. Some functions are actually named
15962 something starting with __ and the normal name is an alias. */
15963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15971 if { (eval echo configure:15972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15973 eval "ac_cv_func_$ac_func=yes"
15975 echo "configure: failed program was:" >&5
15976 cat conftest.$ac_ext >&5
15978 eval "ac_cv_func_$ac_func=no"
15983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15984 echo "$ac_t""yes" 1>&6
15985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15986 cat >> confdefs.h <<EOF
15987 #define $ac_tr_func 1
15991 echo "$ac_t""no" 1>&6
15998 LIBS="$ac_save_LIBS"
15999 CXXFLAGS="$ac_save_CXXFLAGS"
16002 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
16003 echo "configure:16004: checking for main in -lm" >&5
16004 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
16005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16006 echo $ac_n "(cached) $ac_c" 1>&6
16008 ac_save_LIBS="$LIBS"
16010 cat > conftest.$ac_ext <<EOF
16011 #line 16012 "configure"
16012 #include "confdefs.h"
16018 if { (eval echo configure:16019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16020 eval "ac_cv_lib_$ac_lib_var=yes"
16022 echo "configure: failed program was:" >&5
16023 cat conftest.$ac_ext >&5
16025 eval "ac_cv_lib_$ac_lib_var=no"
16028 LIBS="$ac_save_LIBS"
16031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16032 echo "$ac_t""yes" 1>&6
16033 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16034 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16035 cat >> confdefs.h <<EOF
16036 #define $ac_tr_lib 1
16042 echo "$ac_t""no" 1>&6
16045 for ac_func in nan copysignf
16047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16048 echo "configure:16049: checking for $ac_func" >&5
16049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16050 echo $ac_n "(cached) $ac_c" 1>&6
16052 cat > conftest.$ac_ext <<EOF
16053 #line 16054 "configure"
16054 #include "confdefs.h"
16055 /* System header to define __stub macros and hopefully few prototypes,
16056 which can conflict with char $ac_func(); below. */
16057 #include <assert.h>
16058 /* Override any gcc2 internal prototype to avoid an error. */
16059 /* We use char because int might match the return type of a gcc2
16060 builtin and then its argument prototype would still apply. */
16065 /* The GNU C library defines this for functions which it implements
16066 to always fail with ENOSYS. Some functions are actually named
16067 something starting with __ and the normal name is an alias. */
16068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16076 if { (eval echo configure:16077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16078 eval "ac_cv_func_$ac_func=yes"
16080 echo "configure: failed program was:" >&5
16081 cat conftest.$ac_ext >&5
16083 eval "ac_cv_func_$ac_func=no"
16088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16089 echo "$ac_t""yes" 1>&6
16090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16091 cat >> confdefs.h <<EOF
16092 #define $ac_tr_func 1
16096 echo "$ac_t""no" 1>&6
16097 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16103 USE_COMPLEX_LONG_DOUBLE=no
16104 if test x$ac_cv_func_copysignl = x"yes"; then
16105 USE_COMPLEX_LONG_DOUBLE=yes
16106 for ac_func in signbitl
16108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16109 echo "configure:16110: checking for $ac_func" >&5
16110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16111 echo $ac_n "(cached) $ac_c" 1>&6
16113 cat > conftest.$ac_ext <<EOF
16114 #line 16115 "configure"
16115 #include "confdefs.h"
16116 /* System header to define __stub macros and hopefully few prototypes,
16117 which can conflict with char $ac_func(); below. */
16118 #include <assert.h>
16119 /* Override any gcc2 internal prototype to avoid an error. */
16120 /* We use char because int might match the return type of a gcc2
16121 builtin and then its argument prototype would still apply. */
16126 /* The GNU C library defines this for functions which it implements
16127 to always fail with ENOSYS. Some functions are actually named
16128 something starting with __ and the normal name is an alias. */
16129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16137 if { (eval echo configure:16138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16139 eval "ac_cv_func_$ac_func=yes"
16141 echo "configure: failed program was:" >&5
16142 cat conftest.$ac_ext >&5
16144 eval "ac_cv_func_$ac_func=no"
16149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16150 echo "$ac_t""yes" 1>&6
16151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16152 cat >> confdefs.h <<EOF
16153 #define $ac_tr_func 1
16157 echo "$ac_t""no" 1>&6
16158 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
16169 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
16170 echo "configure:16171: checking for mbstate_t" >&5
16171 cat > conftest.$ac_ext <<EOF
16172 #line 16173 "configure"
16173 #include "confdefs.h"
16176 mbstate_t teststate;
16179 if { (eval echo configure:16180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16183 echo "configure: failed program was:" >&5
16184 cat conftest.$ac_ext >&5
16189 echo "$ac_t""$have_mbstate_t" 1>&6
16190 if test x"$have_mbstate_t" = xyes; then
16191 cat >> confdefs.h <<\EOF
16192 #define HAVE_MBSTATE_T 1
16197 for ac_hdr in wchar.h
16199 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16200 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16201 echo "configure:16202: checking for $ac_hdr" >&5
16202 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16203 echo $ac_n "(cached) $ac_c" 1>&6
16205 cat > conftest.$ac_ext <<EOF
16206 #line 16207 "configure"
16207 #include "confdefs.h"
16210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16211 { (eval echo configure:16212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16213 if test -z "$ac_err"; then
16215 eval "ac_cv_header_$ac_safe=yes"
16218 echo "configure: failed program was:" >&5
16219 cat conftest.$ac_ext >&5
16221 eval "ac_cv_header_$ac_safe=no"
16225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16226 echo "$ac_t""yes" 1>&6
16227 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16228 cat >> confdefs.h <<EOF
16229 #define $ac_tr_hdr 1
16233 echo "$ac_t""no" 1>&6
16238 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
16239 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
16240 echo "configure:16241: checking for wctype.h" >&5
16241 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16242 echo $ac_n "(cached) $ac_c" 1>&6
16244 cat > conftest.$ac_ext <<EOF
16245 #line 16246 "configure"
16246 #include "confdefs.h"
16247 #include <wctype.h>
16249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16250 { (eval echo configure:16251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16252 if test -z "$ac_err"; then
16254 eval "ac_cv_header_$ac_safe=yes"
16257 echo "configure: failed program was:" >&5
16258 cat conftest.$ac_ext >&5
16260 eval "ac_cv_header_$ac_safe=no"
16264 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16265 echo "$ac_t""yes" 1>&6
16266 ac_has_wctype_h=yes
16268 echo "$ac_t""no" 1>&6
16273 if test x"$ac_has_wchar_h" = xyes &&
16274 test x"$ac_has_wctype_h" = xyes &&
16275 test x"$enable_c_mbchar" != xno; then
16277 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
16278 echo "configure:16279: checking for WCHAR_MIN and WCHAR_MAX" >&5
16279 cat > conftest.$ac_ext <<EOF
16280 #line 16281 "configure"
16281 #include "confdefs.h"
16284 int i = WCHAR_MIN; int j = WCHAR_MAX;
16287 if { (eval echo configure:16288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16289 has_wchar_minmax=yes
16291 echo "configure: failed program was:" >&5
16292 cat conftest.$ac_ext >&5
16294 has_wchar_minmax=no
16297 echo "$ac_t""$has_wchar_minmax" 1>&6
16299 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
16300 echo "configure:16301: checking for WEOF" >&5
16301 cat > conftest.$ac_ext <<EOF
16302 #line 16303 "configure"
16303 #include "confdefs.h"
16306 #include <stddef.h>
16311 if { (eval echo configure:16312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16315 echo "configure: failed program was:" >&5
16316 cat conftest.$ac_ext >&5
16321 echo "$ac_t""$has_weof" 1>&6
16324 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
16326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16327 echo "configure:16328: checking for $ac_func" >&5
16328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16329 echo $ac_n "(cached) $ac_c" 1>&6
16331 cat > conftest.$ac_ext <<EOF
16332 #line 16333 "configure"
16333 #include "confdefs.h"
16334 /* System header to define __stub macros and hopefully few prototypes,
16335 which can conflict with char $ac_func(); below. */
16336 #include <assert.h>
16337 /* Override any gcc2 internal prototype to avoid an error. */
16338 /* We use char because int might match the return type of a gcc2
16339 builtin and then its argument prototype would still apply. */
16344 /* The GNU C library defines this for functions which it implements
16345 to always fail with ENOSYS. Some functions are actually named
16346 something starting with __ and the normal name is an alias. */
16347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16355 if { (eval echo configure:16356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16357 eval "ac_cv_func_$ac_func=yes"
16359 echo "configure: failed program was:" >&5
16360 cat conftest.$ac_ext >&5
16362 eval "ac_cv_func_$ac_func=no"
16367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16368 echo "$ac_t""yes" 1>&6
16369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16370 cat >> confdefs.h <<EOF
16371 #define $ac_tr_func 1
16375 echo "$ac_t""no" 1>&6
16382 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
16383 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
16384 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
16385 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
16386 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
16387 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
16389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16390 echo "configure:16391: checking for $ac_func" >&5
16391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16392 echo $ac_n "(cached) $ac_c" 1>&6
16394 cat > conftest.$ac_ext <<EOF
16395 #line 16396 "configure"
16396 #include "confdefs.h"
16397 /* System header to define __stub macros and hopefully few prototypes,
16398 which can conflict with char $ac_func(); below. */
16399 #include <assert.h>
16400 /* Override any gcc2 internal prototype to avoid an error. */
16401 /* We use char because int might match the return type of a gcc2
16402 builtin and then its argument prototype would still apply. */
16407 /* The GNU C library defines this for functions which it implements
16408 to always fail with ENOSYS. Some functions are actually named
16409 something starting with __ and the normal name is an alias. */
16410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16418 if { (eval echo configure:16419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16420 eval "ac_cv_func_$ac_func=yes"
16422 echo "configure: failed program was:" >&5
16423 cat conftest.$ac_ext >&5
16425 eval "ac_cv_func_$ac_func=no"
16430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16431 echo "$ac_t""yes" 1>&6
16432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16433 cat >> confdefs.h <<EOF
16434 #define $ac_tr_func 1
16438 echo "$ac_t""no" 1>&6
16445 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
16446 echo "configure:16447: checking for ISO C99 wchar_t support" >&5
16447 if test x"$has_weof" = xyes &&
16448 test x"$has_wchar_minmax" = xyes &&
16449 test x"$ac_wfuncs" = xyes; then
16450 ac_isoC99_wchar_t=yes
16452 ac_isoC99_wchar_t=no
16454 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
16456 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
16457 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
16458 echo "configure:16459: checking for iconv.h" >&5
16459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
16467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16468 { (eval echo configure:16469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16470 if test -z "$ac_err"; then
16472 eval "ac_cv_header_$ac_safe=yes"
16475 echo "configure: failed program was:" >&5
16476 cat conftest.$ac_ext >&5
16478 eval "ac_cv_header_$ac_safe=no"
16482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16483 echo "$ac_t""yes" 1>&6
16486 echo "$ac_t""no" 1>&6
16490 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
16491 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
16492 echo "configure:16493: checking for langinfo.h" >&5
16493 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16494 echo $ac_n "(cached) $ac_c" 1>&6
16496 cat > conftest.$ac_ext <<EOF
16497 #line 16498 "configure"
16498 #include "confdefs.h"
16499 #include <langinfo.h>
16501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16502 { (eval echo configure:16503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16504 if test -z "$ac_err"; then
16506 eval "ac_cv_header_$ac_safe=yes"
16509 echo "configure: failed program was:" >&5
16510 cat conftest.$ac_ext >&5
16512 eval "ac_cv_header_$ac_safe=no"
16516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16517 echo "$ac_t""yes" 1>&6
16518 ac_has_langinfo_h=yes
16520 echo "$ac_t""no" 1>&6
16521 ac_has_langinfo_h=no
16525 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
16526 echo "configure:16527: checking for iconv in -liconv" >&5
16527 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
16528 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16529 echo $ac_n "(cached) $ac_c" 1>&6
16531 ac_save_LIBS="$LIBS"
16532 LIBS="-liconv $LIBS"
16533 cat > conftest.$ac_ext <<EOF
16534 #line 16535 "configure"
16535 #include "confdefs.h"
16536 /* Override any gcc2 internal prototype to avoid an error. */
16537 /* We use char because int might match the return type of a gcc2
16538 builtin and then its argument prototype would still apply. */
16545 if { (eval echo configure:16546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16547 eval "ac_cv_lib_$ac_lib_var=yes"
16549 echo "configure: failed program was:" >&5
16550 cat conftest.$ac_ext >&5
16552 eval "ac_cv_lib_$ac_lib_var=no"
16555 LIBS="$ac_save_LIBS"
16558 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16559 echo "$ac_t""yes" 1>&6
16562 echo "$ac_t""no" 1>&6
16565 ac_save_LIBS="$LIBS"
16566 LIBS="$LIBS $libiconv"
16568 for ac_func in iconv_open iconv_close iconv nl_langinfo
16570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16571 echo "configure:16572: checking for $ac_func" >&5
16572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16573 echo $ac_n "(cached) $ac_c" 1>&6
16575 cat > conftest.$ac_ext <<EOF
16576 #line 16577 "configure"
16577 #include "confdefs.h"
16578 /* System header to define __stub macros and hopefully few prototypes,
16579 which can conflict with char $ac_func(); below. */
16580 #include <assert.h>
16581 /* Override any gcc2 internal prototype to avoid an error. */
16582 /* We use char because int might match the return type of a gcc2
16583 builtin and then its argument prototype would still apply. */
16588 /* The GNU C library defines this for functions which it implements
16589 to always fail with ENOSYS. Some functions are actually named
16590 something starting with __ and the normal name is an alias. */
16591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16599 if { (eval echo configure:16600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16601 eval "ac_cv_func_$ac_func=yes"
16603 echo "configure: failed program was:" >&5
16604 cat conftest.$ac_ext >&5
16606 eval "ac_cv_func_$ac_func=no"
16611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16612 echo "$ac_t""yes" 1>&6
16613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16614 cat >> confdefs.h <<EOF
16615 #define $ac_tr_func 1
16620 echo "$ac_t""no" 1>&6
16626 LIBS="$ac_save_LIBS"
16628 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
16629 echo "configure:16630: checking for XPG2 wchar_t support" >&5
16630 if test x"$ac_has_iconv_h" = xyes &&
16631 test x"$ac_has_langinfo_h" = xyes &&
16632 test x"$ac_XPG2funcs" = xyes; then
16633 ac_XPG2_wchar_t=yes
16637 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
16639 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
16640 echo "configure:16641: checking for enabled wchar_t specializations" >&5
16641 if test x"$ac_isoC99_wchar_t" = xyes &&
16642 test x"$ac_XPG2_wchar_t" = xyes; then
16643 cat >> confdefs.h <<\EOF
16644 #define _GLIBCPP_USE_WCHAR_T 1
16647 echo "$ac_t"""yes"" 1>&6
16649 echo "$ac_t"""no"" 1>&6
16652 echo "configure: warning: wchar_t support disabled." 1>&2
16656 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16657 ac_save_CXXFLAGS="$CXXFLAGS"
16658 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
16661 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
16662 echo "configure:16663: checking for strtold declaration" >&5
16663 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
16664 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
16665 echo $ac_n "(cached) $ac_c" 1>&6
16670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16671 ac_cpp='$CXXCPP $CPPFLAGS'
16672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16674 cross_compiling=$ac_cv_prog_cxx_cross
16676 cat > conftest.$ac_ext <<EOF
16677 #line 16678 "configure"
16678 #include "confdefs.h"
16679 #include <stdlib.h>
16684 if { (eval echo configure:16685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16686 glibcpp_cv_func_strtold_use=yes
16688 echo "configure: failed program was:" >&5
16689 cat conftest.$ac_ext >&5
16691 glibcpp_cv_func_strtold_use=no
16695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16699 cross_compiling=$ac_cv_prog_cc_cross
16705 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
16706 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
16707 for ac_func in strtold
16709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16710 echo "configure:16711: checking for $ac_func" >&5
16711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16712 echo $ac_n "(cached) $ac_c" 1>&6
16714 cat > conftest.$ac_ext <<EOF
16715 #line 16716 "configure"
16716 #include "confdefs.h"
16717 /* System header to define __stub macros and hopefully few prototypes,
16718 which can conflict with char $ac_func(); below. */
16719 #include <assert.h>
16720 /* Override any gcc2 internal prototype to avoid an error. */
16721 /* We use char because int might match the return type of a gcc2
16722 builtin and then its argument prototype would still apply. */
16727 /* The GNU C library defines this for functions which it implements
16728 to always fail with ENOSYS. Some functions are actually named
16729 something starting with __ and the normal name is an alias. */
16730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16738 if { (eval echo configure:16739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16740 eval "ac_cv_func_$ac_func=yes"
16742 echo "configure: failed program was:" >&5
16743 cat conftest.$ac_ext >&5
16745 eval "ac_cv_func_$ac_func=no"
16750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16751 echo "$ac_t""yes" 1>&6
16752 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16753 cat >> confdefs.h <<EOF
16754 #define $ac_tr_func 1
16758 echo "$ac_t""no" 1>&6
16764 for ac_func in drand48
16766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16767 echo "configure:16768: checking for $ac_func" >&5
16768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16769 echo $ac_n "(cached) $ac_c" 1>&6
16771 cat > conftest.$ac_ext <<EOF
16772 #line 16773 "configure"
16773 #include "confdefs.h"
16774 /* System header to define __stub macros and hopefully few prototypes,
16775 which can conflict with char $ac_func(); below. */
16776 #include <assert.h>
16777 /* Override any gcc2 internal prototype to avoid an error. */
16778 /* We use char because int might match the return type of a gcc2
16779 builtin and then its argument prototype would still apply. */
16784 /* The GNU C library defines this for functions which it implements
16785 to always fail with ENOSYS. Some functions are actually named
16786 something starting with __ and the normal name is an alias. */
16787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16795 if { (eval echo configure:16796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16797 eval "ac_cv_func_$ac_func=yes"
16799 echo "configure: failed program was:" >&5
16800 cat conftest.$ac_ext >&5
16802 eval "ac_cv_func_$ac_func=no"
16807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16808 echo "$ac_t""yes" 1>&6
16809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16810 cat >> confdefs.h <<EOF
16811 #define $ac_tr_func 1
16815 echo "$ac_t""no" 1>&6
16820 CXXFLAGS="$ac_save_CXXFLAGS"
16823 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
16824 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
16825 echo "configure:16826: checking for locale.h" >&5
16826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16827 echo $ac_n "(cached) $ac_c" 1>&6
16829 cat > conftest.$ac_ext <<EOF
16830 #line 16831 "configure"
16831 #include "confdefs.h"
16832 #include <locale.h>
16834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16835 { (eval echo configure:16836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16837 if test -z "$ac_err"; then
16839 eval "ac_cv_header_$ac_safe=yes"
16842 echo "configure: failed program was:" >&5
16843 cat conftest.$ac_ext >&5
16845 eval "ac_cv_header_$ac_safe=no"
16849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16850 echo "$ac_t""yes" 1>&6
16852 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
16853 echo "configure:16854: checking for LC_MESSAGES" >&5
16854 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
16855 echo $ac_n "(cached) $ac_c" 1>&6
16857 cat > conftest.$ac_ext <<EOF
16858 #line 16859 "configure"
16859 #include "confdefs.h"
16860 #include <locale.h>
16865 if { (eval echo configure:16866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16867 ac_cv_val_LC_MESSAGES=yes
16869 echo "configure: failed program was:" >&5
16870 cat conftest.$ac_ext >&5
16872 ac_cv_val_LC_MESSAGES=no
16877 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
16878 if test $ac_cv_val_LC_MESSAGES = yes; then
16879 cat >> confdefs.h <<\EOF
16880 #define HAVE_LC_MESSAGES 1
16886 echo "$ac_t""no" 1>&6
16891 cat > conftest.$ac_ext <<EOF
16892 #line 16893 "configure"
16893 #include "confdefs.h"
16895 #include <setjmp.h>
16898 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16901 if { (eval echo configure:16902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16903 cat >> confdefs.h <<\EOF
16904 #define HAVE_SIGSETJMP 1
16909 echo "configure: failed program was:" >&5
16910 cat conftest.$ac_ext >&5
16914 for ac_hdr in unistd.h
16916 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16917 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16918 echo "configure:16919: checking for $ac_hdr" >&5
16919 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16920 echo $ac_n "(cached) $ac_c" 1>&6
16922 cat > conftest.$ac_ext <<EOF
16923 #line 16924 "configure"
16924 #include "confdefs.h"
16927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16928 { (eval echo configure:16929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16930 if test -z "$ac_err"; then
16932 eval "ac_cv_header_$ac_safe=yes"
16935 echo "configure: failed program was:" >&5
16936 cat conftest.$ac_ext >&5
16938 eval "ac_cv_header_$ac_safe=no"
16942 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16943 echo "$ac_t""yes" 1>&6
16944 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16945 cat >> confdefs.h <<EOF
16946 #define $ac_tr_hdr 1
16950 echo "$ac_t""no" 1>&6
16954 for ac_func in getpagesize
16956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16957 echo "configure:16958: checking for $ac_func" >&5
16958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16959 echo $ac_n "(cached) $ac_c" 1>&6
16961 cat > conftest.$ac_ext <<EOF
16962 #line 16963 "configure"
16963 #include "confdefs.h"
16964 /* System header to define __stub macros and hopefully few prototypes,
16965 which can conflict with char $ac_func(); below. */
16966 #include <assert.h>
16967 /* Override any gcc2 internal prototype to avoid an error. */
16968 /* We use char because int might match the return type of a gcc2
16969 builtin and then its argument prototype would still apply. */
16974 /* The GNU C library defines this for functions which it implements
16975 to always fail with ENOSYS. Some functions are actually named
16976 something starting with __ and the normal name is an alias. */
16977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16985 if { (eval echo configure:16986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16987 eval "ac_cv_func_$ac_func=yes"
16989 echo "configure: failed program was:" >&5
16990 cat conftest.$ac_ext >&5
16992 eval "ac_cv_func_$ac_func=no"
16997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16998 echo "$ac_t""yes" 1>&6
16999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17000 cat >> confdefs.h <<EOF
17001 #define $ac_tr_func 1
17005 echo "$ac_t""no" 1>&6
17009 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
17010 echo "configure:17011: checking for working mmap" >&5
17011 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
17012 echo $ac_n "(cached) $ac_c" 1>&6
17014 if test "$cross_compiling" = yes; then
17015 ac_cv_func_mmap_fixed_mapped=no
17017 cat > conftest.$ac_ext <<EOF
17018 #line 17019 "configure"
17019 #include "confdefs.h"
17021 /* Thanks to Mike Haertel and Jim Avera for this test.
17022 Here is a matrix of mmap possibilities:
17023 mmap private not fixed
17024 mmap private fixed at somewhere currently unmapped
17025 mmap private fixed at somewhere already mapped
17026 mmap shared not fixed
17027 mmap shared fixed at somewhere currently unmapped
17028 mmap shared fixed at somewhere already mapped
17029 For private mappings, we should verify that changes cannot be read()
17030 back from the file, nor mmap's back from the file at a different
17031 address. (There have been systems where private was not correctly
17032 implemented like the infamous i386 svr4.0, and systems where the
17033 VM page cache was not coherent with the filesystem buffer cache
17034 like early versions of FreeBSD and possibly contemporary NetBSD.)
17035 For shared mappings, we should conversely verify that changes get
17036 propogated back to all the places they're supposed to be.
17038 Grep wants private fixed already mapped.
17039 The main things grep needs to know about mmap are:
17040 * does it exist and is it safe to write into the mmap'd area
17041 * how to use it (BSD variants) */
17042 #include <sys/types.h>
17044 #include <sys/mman.h>
17046 /* This mess was copied from the GNU getpagesize.h. */
17047 #ifndef HAVE_GETPAGESIZE
17048 # ifdef HAVE_UNISTD_H
17049 # include <unistd.h>
17052 /* Assume that all systems that can run configure have sys/param.h. */
17053 # ifndef HAVE_SYS_PARAM_H
17054 # define HAVE_SYS_PARAM_H 1
17057 # ifdef _SC_PAGESIZE
17058 # define getpagesize() sysconf(_SC_PAGESIZE)
17059 # else /* no _SC_PAGESIZE */
17060 # ifdef HAVE_SYS_PARAM_H
17061 # include <sys/param.h>
17062 # ifdef EXEC_PAGESIZE
17063 # define getpagesize() EXEC_PAGESIZE
17064 # else /* no EXEC_PAGESIZE */
17066 # define getpagesize() NBPG * CLSIZE
17069 # endif /* no CLSIZE */
17070 # else /* no NBPG */
17072 # define getpagesize() NBPC
17073 # else /* no NBPC */
17075 # define getpagesize() PAGESIZE
17076 # endif /* PAGESIZE */
17077 # endif /* no NBPC */
17078 # endif /* no NBPG */
17079 # endif /* no EXEC_PAGESIZE */
17080 # else /* no HAVE_SYS_PARAM_H */
17081 # define getpagesize() 8192 /* punt totally */
17082 # endif /* no HAVE_SYS_PARAM_H */
17083 # endif /* no _SC_PAGESIZE */
17085 #endif /* no HAVE_GETPAGESIZE */
17088 extern "C" { void *malloc(unsigned); }
17096 char *data, *data2, *data3;
17100 pagesize = getpagesize();
17103 * First, make a file with some known garbage in it.
17105 data = malloc(pagesize);
17108 for (i = 0; i < pagesize; ++i)
17109 *(data + i) = rand();
17111 fd = creat("conftestmmap", 0600);
17114 if (write(fd, data, pagesize) != pagesize)
17119 * Next, try to mmap the file at a fixed address which
17120 * already has something else allocated at it. If we can,
17121 * also make sure that we see the same garbage.
17123 fd = open("conftestmmap", O_RDWR);
17126 data2 = malloc(2 * pagesize);
17129 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
17130 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
17131 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17133 for (i = 0; i < pagesize; ++i)
17134 if (*(data + i) != *(data2 + i))
17138 * Finally, make sure that changes to the mapped area
17139 * do not percolate back to the file as seen by read().
17140 * (This is a bug on some variants of i386 svr4.0.)
17142 for (i = 0; i < pagesize; ++i)
17143 *(data2 + i) = *(data2 + i) + 1;
17144 data3 = malloc(pagesize);
17147 if (read(fd, data3, pagesize) != pagesize)
17149 for (i = 0; i < pagesize; ++i)
17150 if (*(data + i) != *(data3 + i))
17153 unlink("conftestmmap");
17158 if { (eval echo configure:17159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17160 ac_cv_func_mmap_fixed_mapped=yes
17162 echo "configure: failed program was:" >&5
17163 cat conftest.$ac_ext >&5
17165 ac_cv_func_mmap_fixed_mapped=no
17172 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
17173 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17174 cat >> confdefs.h <<\EOF
17175 #define HAVE_MMAP 1
17181 # Establish limits on memory usage during 'make check'
17184 setrlimit_have_headers=yes
17185 for ac_hdr in sys/resource.h unistd.h
17187 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17188 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17189 echo "configure:17190: checking for $ac_hdr" >&5
17190 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17191 echo $ac_n "(cached) $ac_c" 1>&6
17193 cat > conftest.$ac_ext <<EOF
17194 #line 17195 "configure"
17195 #include "confdefs.h"
17198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17199 { (eval echo configure:17200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17201 if test -z "$ac_err"; then
17203 eval "ac_cv_header_$ac_safe=yes"
17206 echo "configure: failed program was:" >&5
17207 cat conftest.$ac_ext >&5
17209 eval "ac_cv_header_$ac_safe=no"
17213 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17214 echo "$ac_t""yes" 1>&6
17215 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17216 cat >> confdefs.h <<EOF
17217 #define $ac_tr_hdr 1
17221 echo "$ac_t""no" 1>&6
17222 setrlimit_have_headers=no
17226 # If don't have the headers, then we can't run the tests now, and we
17227 # won't be seeing any of these during testsuite compilation.
17228 if test $setrlimit_have_headers = yes; then
17229 # Can't do these in a loop, else the resulting syntax is wrong.
17231 cat > conftest.$ac_ext <<EOF
17232 #line 17233 "configure"
17233 #include "confdefs.h"
17234 #include <sys/resource.h>
17235 #include <unistd.h>
17238 int f = RLIMIT_DATA ;
17241 if { (eval echo configure:17242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17245 echo "configure: failed program was:" >&5
17246 cat conftest.$ac_ext >&5
17251 cat >> confdefs.h <<EOF
17252 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
17257 cat > conftest.$ac_ext <<EOF
17258 #line 17259 "configure"
17259 #include "confdefs.h"
17260 #include <sys/resource.h>
17261 #include <unistd.h>
17264 int f = RLIMIT_RSS ;
17267 if { (eval echo configure:17268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17271 echo "configure: failed program was:" >&5
17272 cat conftest.$ac_ext >&5
17277 cat >> confdefs.h <<EOF
17278 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
17283 cat > conftest.$ac_ext <<EOF
17284 #line 17285 "configure"
17285 #include "confdefs.h"
17286 #include <sys/resource.h>
17287 #include <unistd.h>
17290 int f = RLIMIT_VMEM ;
17293 if { (eval echo configure:17294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17297 echo "configure: failed program was:" >&5
17298 cat conftest.$ac_ext >&5
17303 cat >> confdefs.h <<EOF
17304 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
17309 cat > conftest.$ac_ext <<EOF
17310 #line 17311 "configure"
17311 #include "confdefs.h"
17312 #include <sys/resource.h>
17313 #include <unistd.h>
17316 int f = RLIMIT_AS ;
17319 if { (eval echo configure:17320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17323 echo "configure: failed program was:" >&5
17324 cat conftest.$ac_ext >&5
17329 cat >> confdefs.h <<EOF
17330 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
17335 # Check for rlimit, setrlimit.
17336 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
17337 echo $ac_n "(cached) $ac_c" 1>&6
17340 cat > conftest.$ac_ext <<EOF
17341 #line 17342 "configure"
17342 #include "confdefs.h"
17343 #include <sys/resource.h>
17344 #include <unistd.h>
17347 struct rlimit r; setrlimit(0, &r);
17350 if { (eval echo configure:17351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17354 echo "configure: failed program was:" >&5
17355 cat conftest.$ac_ext >&5
17365 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
17366 echo "configure:17367: checking for testsuite memory limit support" >&5
17367 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
17369 cat >> confdefs.h <<\EOF
17370 #define _GLIBCPP_MEM_LIMITS 1
17376 echo "$ac_t""$ac_mem_limits" 1>&6
17382 # Propagate the target-specific source directories through the build chain.
17383 OS_INC_SRCDIR=$os_include_dir/bits
17384 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
17385 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
17390 # Set up cross-compile flags
17394 if test "$CANADIAN" = yes; then
17402 cat > confcache <<\EOF
17403 # This file is a shell script that caches the results of configure
17404 # tests run on this system so they can be shared between configure
17405 # scripts and configure runs. It is not useful on other systems.
17406 # If it contains results you don't want to keep, you may remove or edit it.
17408 # By default, configure uses ./config.cache as the cache file,
17409 # creating it if it does not exist already. You can give configure
17410 # the --cache-file=FILE option to use a different cache file; that is
17411 # what configure does when it calls configure scripts in
17412 # subdirectories, so they share the cache.
17413 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17414 # config.status only pays attention to the cache file if you give it the
17415 # --recheck option to rerun configure.
17418 # The following way of writing the cache mishandles newlines in values,
17419 # but we know of no workaround that is simple, portable, and efficient.
17420 # So, don't put newlines in cache variables' values.
17421 # Ultrix sh set writes to stderr and can't be redirected directly,
17422 # and sets the high bit in the cache file unless we assign to the vars.
17424 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17426 # `set' does not quote correctly, so add quotes (double-quote substitution
17427 # turns \\\\ into \\, and sed turns \\ into \).
17429 -e "s/'/'\\\\''/g" \
17430 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17433 # `set' quotes correctly as required by POSIX, so do not add quotes.
17434 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17437 if cmp -s $cache_file confcache; then
17440 if test -w $cache_file; then
17441 echo "updating cache $cache_file"
17442 cat confcache > $cache_file
17444 echo "not updating unwritable cache $cache_file"
17450 if test "${multilib}" = "yes"; then
17451 multilib_arg="--enable-multilib"
17456 # Needed so that g++ can find the correct include subdir automatically.
17459 # Export all the install information
17461 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
17462 # exported correctly in GLIBCPP_CONFIGURE.
17463 glibcpp_toolexecdir=no
17464 glibcpp_toolexeclibdir=no
17465 glibcpp_prefixdir=${prefix}
17467 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
17468 echo "configure:17469: checking for interface version number" >&5
17469 libstdcxx_interface=$INTERFACE
17470 echo "$ac_t""$libstdcxx_interface" 1>&6
17472 # Process the option --with-gxx-include-dir=<path to include-files directory>
17473 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
17474 echo "configure:17475: checking for --with-gxx-include-dir" >&5
17475 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
17476 if test "${with_gxx_include_dir+set}" = set; then
17477 withval="$with_gxx_include_dir"
17478 case "${withval}" in
17480 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
17487 gxx_include_dir=${withval}
17494 echo "$ac_t""$gxx_include_dir" 1>&6
17496 # Process the option "--enable-version-specific-runtime-libs"
17497 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
17498 echo "configure:17499: checking for --enable-version-specific-runtime-libs" >&5
17499 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
17500 if test "${enable_version_specific_runtime_libs+set}" = set; then
17501 enableval="$enable_version_specific_runtime_libs"
17502 case "$enableval" in
17503 yes) version_specific_libs=yes ;;
17504 no) version_specific_libs=no ;;
17505 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
17508 version_specific_libs=no
17510 # Option set, now we can test it.
17511 echo "$ac_t""$version_specific_libs" 1>&6
17513 if test $version_specific_libs = yes; then
17514 # Need the gcc compiler version to know where to install libraries
17515 # and header files if --enable-version-specific-runtime-libs option
17517 gcc_version_trigger=${srcdir}/../gcc/version.c
17518 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
17519 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
17520 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
17521 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17522 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
17525 # Default case for install directory for include files.
17526 if test $version_specific_libs = no &&
17527 test $gxx_include_dir = no; then
17528 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
17531 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
17532 # Install a library built with a cross compiler in tooldir, not libdir.
17533 if test x"$glibcpp_toolexecdir" = x"no"; then
17534 if test -n "$with_cross_host" &&
17535 test x"$with_cross_host" != x"no"; then
17536 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
17537 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
17539 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
17540 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
17544 echo $ac_n "checking for install location""... $ac_c" 1>&6
17545 echo "configure:17546: checking for install location" >&5
17546 echo "$ac_t""$gxx_include_dir" 1>&6
17554 # Export all the include and flag information to makefiles.
17556 # Root level of the build directory include sources.
17557 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
17559 # Passed down for canadian crosses.
17560 if test x"$CANADIAN" = xyes; then
17561 TOPLEVEL_INCLUDES='-I$(includedir)'
17564 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
17566 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
17568 if test x"$need_libio" = xyes; then
17569 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
17573 # Now, export this to all the little Makefiles....
17580 # Optimization flags that are probably a good idea for thrill-seekers. Just
17581 # uncomment the lines below and make, everything else is ready to go...
17582 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
17586 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
17590 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
17591 grep "enable shared" > /dev/null; then
17592 LIBSUPCXX_PICFLAGS=-prefer-pic
17594 LIBSUPCXX_PICFLAGS=
17598 # Generate the various Makefiles, include files, and scripts.
17599 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
17600 # and libsupc++/Makefile.am so that multilib installs will end up
17601 # installed in the correct place. To work around this not being passed
17602 # down from config-ml.in -> top_srcdir/Makefile.am ->
17603 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
17605 cat > confcache <<\EOF
17606 # This file is a shell script that caches the results of configure
17607 # tests run on this system so they can be shared between configure
17608 # scripts and configure runs. It is not useful on other systems.
17609 # If it contains results you don't want to keep, you may remove or edit it.
17611 # By default, configure uses ./config.cache as the cache file,
17612 # creating it if it does not exist already. You can give configure
17613 # the --cache-file=FILE option to use a different cache file; that is
17614 # what configure does when it calls configure scripts in
17615 # subdirectories, so they share the cache.
17616 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17617 # config.status only pays attention to the cache file if you give it the
17618 # --recheck option to rerun configure.
17621 # The following way of writing the cache mishandles newlines in values,
17622 # but we know of no workaround that is simple, portable, and efficient.
17623 # So, don't put newlines in cache variables' values.
17624 # Ultrix sh set writes to stderr and can't be redirected directly,
17625 # and sets the high bit in the cache file unless we assign to the vars.
17627 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17629 # `set' does not quote correctly, so add quotes (double-quote substitution
17630 # turns \\\\ into \\, and sed turns \\ into \).
17632 -e "s/'/'\\\\''/g" \
17633 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17636 # `set' quotes correctly as required by POSIX, so do not add quotes.
17637 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17640 if cmp -s $cache_file confcache; then
17643 if test -w $cache_file; then
17644 echo "updating cache $cache_file"
17645 cat confcache > $cache_file
17647 echo "not updating unwritable cache $cache_file"
17652 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17654 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17655 # Let make expand exec_prefix.
17656 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17658 # Any assignment to VPATH causes Sun make to only execute
17659 # the first set of double-colon rules, so remove it if not needed.
17660 # If there is a colon in the path, we need to keep it.
17661 if test "x$srcdir" = x.; then
17662 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17665 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17667 DEFS=-DHAVE_CONFIG_H
17669 # Without the "./", some shells look in PATH for config.status.
17670 : ${CONFIG_STATUS=./config.status}
17672 echo creating $CONFIG_STATUS
17673 rm -f $CONFIG_STATUS
17674 cat > $CONFIG_STATUS <<EOF
17676 # Generated automatically by configure.
17677 # Run this file to recreate the current configuration.
17678 # This directory was configured as follows,
17679 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17681 # $0 $ac_configure_args
17683 # Compiler output produced by configure, useful for debugging
17684 # configure, is in ./config.log if it exists.
17686 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17689 case "\$ac_option" in
17690 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17691 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17692 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17693 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17694 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17696 -help | --help | --hel | --he | --h)
17697 echo "\$ac_cs_usage"; exit 0 ;;
17698 *) echo "\$ac_cs_usage"; exit 1 ;;
17702 ac_given_srcdir=$srcdir
17703 ac_given_INSTALL="$INSTALL"
17705 trap 'rm -fr `echo "Makefile \
17706 include/Makefile src/Makefile \
17707 libmath/Makefile libio/Makefile libsupc++/Makefile \
17708 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17710 cat >> $CONFIG_STATUS <<EOF
17712 # Protect against being on the right side of a sed subst in config.status.
17713 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17714 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17718 s%@CFLAGS@%$CFLAGS%g
17719 s%@CPPFLAGS@%$CPPFLAGS%g
17720 s%@CXXFLAGS@%$CXXFLAGS%g
17721 s%@FFLAGS@%$FFLAGS%g
17723 s%@LDFLAGS@%$LDFLAGS%g
17725 s%@exec_prefix@%$exec_prefix%g
17726 s%@prefix@%$prefix%g
17727 s%@program_transform_name@%$program_transform_name%g
17728 s%@bindir@%$bindir%g
17729 s%@sbindir@%$sbindir%g
17730 s%@libexecdir@%$libexecdir%g
17731 s%@datadir@%$datadir%g
17732 s%@sysconfdir@%$sysconfdir%g
17733 s%@sharedstatedir@%$sharedstatedir%g
17734 s%@localstatedir@%$localstatedir%g
17735 s%@libdir@%$libdir%g
17736 s%@includedir@%$includedir%g
17737 s%@oldincludedir@%$oldincludedir%g
17738 s%@infodir@%$infodir%g
17739 s%@mandir@%$mandir%g
17740 s%@PACKAGE@%$PACKAGE%g
17741 s%@release_VERSION@%$release_VERSION%g
17742 s%@libtool_VERSION@%$libtool_VERSION%g
17744 s%@host_alias@%$host_alias%g
17745 s%@host_cpu@%$host_cpu%g
17746 s%@host_vendor@%$host_vendor%g
17747 s%@host_os@%$host_os%g
17748 s%@target@%$target%g
17749 s%@target_alias@%$target_alias%g
17750 s%@target_cpu@%$target_cpu%g
17751 s%@target_vendor@%$target_vendor%g
17752 s%@target_os@%$target_os%g
17754 s%@build_alias@%$build_alias%g
17755 s%@build_cpu@%$build_cpu%g
17756 s%@build_vendor@%$build_vendor%g
17757 s%@build_os@%$build_os%g
17758 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17759 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17760 s%@INSTALL_DATA@%$INSTALL_DATA%g
17761 s%@VERSION@%$VERSION%g
17762 s%@ACLOCAL@%$ACLOCAL%g
17763 s%@AUTOCONF@%$AUTOCONF%g
17764 s%@AUTOMAKE@%$AUTOMAKE%g
17765 s%@AUTOHEADER@%$AUTOHEADER%g
17766 s%@MAKEINFO@%$MAKEINFO%g
17767 s%@SET_MAKE@%$SET_MAKE%g
17768 s%@toplevel_srcdir@%$toplevel_srcdir%g
17769 s%@glibcpp_builddir@%$glibcpp_builddir%g
17770 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
17772 s%@glibcpp_basedir@%$glibcpp_basedir%g
17774 s%@glibcpp_CXX@%$glibcpp_CXX%g
17777 s%@RANLIB@%$RANLIB%g
17778 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
17779 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
17781 s%@EXEEXT@%$EXEEXT%g
17782 s%@OBJEXT@%$OBJEXT%g
17784 s%@LIBTOOL@%$LIBTOOL%g
17785 s%@CXXCPP@%$CXXCPP%g
17786 s%@enable_shared@%$enable_shared%g
17787 s%@enable_static@%$enable_static%g
17788 s%@ifGNUmake@%$ifGNUmake%g
17789 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
17791 s%@CSTDIO_H@%$CSTDIO_H%g
17792 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
17793 s%@CCODECVT_C@%$CCODECVT_C%g
17794 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
17795 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
17796 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
17797 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
17798 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
17799 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
17800 s%@libio_la@%$libio_la%g
17801 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
17802 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
17803 s%@glibcpp_localedir@%$glibcpp_localedir%g
17804 s%@USE_NLS@%$USE_NLS%g
17805 s%@CLOCALE_H@%$CLOCALE_H%g
17806 s%@CCODECVT_H@%$CCODECVT_H%g
17807 s%@CMESSAGES_H@%$CMESSAGES_H%g
17808 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
17809 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
17810 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
17811 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
17812 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
17813 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
17814 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
17815 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
17816 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
17817 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
17818 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
17819 s%@WERROR@%$WERROR%g
17820 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
17821 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
17822 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
17823 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
17824 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
17825 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
17826 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
17827 s%@gxx_include_dir@%$gxx_include_dir%g
17828 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
17829 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
17830 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
17831 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
17832 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
17833 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
17834 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
17835 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
17836 s%@WARN_FLAGS@%$WARN_FLAGS%g
17837 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
17842 cat >> $CONFIG_STATUS <<\EOF
17844 # Split the substitutions into bite-sized pieces for seds with
17845 # small command number limits, like on Digital OSF/1 and HP-UX.
17846 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17847 ac_file=1 # Number of current file.
17848 ac_beg=1 # First line for current file.
17849 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17852 while $ac_more_lines; do
17853 if test $ac_beg -gt 1; then
17854 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
17856 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
17858 if test ! -s conftest.s$ac_file; then
17859 ac_more_lines=false
17860 rm -f conftest.s$ac_file
17862 if test -z "$ac_sed_cmds"; then
17863 ac_sed_cmds="sed -f conftest.s$ac_file"
17865 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
17867 ac_file=`expr $ac_file + 1`
17869 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17872 if test -z "$ac_sed_cmds"; then
17877 cat >> $CONFIG_STATUS <<EOF
17879 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
17880 include/Makefile src/Makefile \
17881 libmath/Makefile libio/Makefile libsupc++/Makefile \
17882 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
17884 cat >> $CONFIG_STATUS <<\EOF
17885 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
17886 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17888 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17889 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17890 *) ac_file_in="${ac_file}.in" ;;
17893 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17895 # Remove last slash and all that follows it. Not all systems have dirname.
17896 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17897 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17898 # The file is in a subdirectory.
17899 test ! -d "$ac_dir" && mkdir "$ac_dir"
17900 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17901 # A "../" for each directory in $ac_dir_suffix.
17902 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17904 ac_dir_suffix= ac_dots=
17907 case "$ac_given_srcdir" in
17909 if test -z "$ac_dots"; then top_srcdir=.
17910 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17911 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
17912 *) # Relative path.
17913 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17914 top_srcdir="$ac_dots$ac_given_srcdir" ;;
17917 case "$ac_given_INSTALL" in
17918 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17919 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17922 echo creating "$ac_file"
17924 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17926 *Makefile*) ac_comsub="1i\\
17927 # $configure_input" ;;
17931 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17933 s%@configure_input@%$configure_input%g
17934 s%@srcdir@%$srcdir%g
17935 s%@top_srcdir@%$top_srcdir%g
17936 s%@INSTALL@%$INSTALL%g
17937 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17941 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17942 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17944 # ac_d sets the value in "#define NAME VALUE" lines.
17945 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17946 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
17949 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17950 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17951 ac_uB='\([ ]\)%\1#\2define\3'
17954 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17955 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17956 ac_eB='$%\1#\2define\3'
17960 if test "${CONFIG_HEADERS+set}" != set; then
17962 cat >> $CONFIG_STATUS <<EOF
17963 CONFIG_HEADERS="config.h"
17965 cat >> $CONFIG_STATUS <<\EOF
17967 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
17968 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17970 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17971 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17972 *) ac_file_in="${ac_file}.in" ;;
17975 echo creating $ac_file
17977 rm -f conftest.frag conftest.in conftest.out
17978 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17979 cat $ac_file_inputs > conftest.in
17983 # Transform confdefs.h into a sed script conftest.vals that substitutes
17984 # the proper values into config.h.in to produce config.h. And first:
17985 # Protect against being on the right side of a sed subst in config.status.
17986 # Protect against being in an unquoted here document in config.status.
17987 rm -f conftest.vals
17988 cat > conftest.hdr <<\EOF
17991 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17995 sed -n -f conftest.hdr confdefs.h > conftest.vals
17998 # This sed command replaces #undef with comments. This is necessary, for
17999 # example, in the case of _POSIX_SOURCE, which is predefined and required
18000 # on some systems where configure will not decide to define it.
18001 cat >> conftest.vals <<\EOF
18002 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18005 # Break up conftest.vals because some shells have a limit on
18006 # the size of here documents, and old seds have small limits too.
18008 rm -f conftest.tail
18011 ac_lines=`grep -c . conftest.vals`
18012 # grep -c gives empty output for an empty file on some AIX systems.
18013 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18014 # Write a limited-size here document to conftest.frag.
18015 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18016 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18018 sed -f conftest.frag conftest.in > conftest.out
18020 mv conftest.out conftest.in
18021 ' >> $CONFIG_STATUS
18022 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18023 rm -f conftest.vals
18024 mv conftest.tail conftest.vals
18026 rm -f conftest.vals
18028 cat >> $CONFIG_STATUS <<\EOF
18029 rm -f conftest.frag conftest.h
18030 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18031 cat conftest.in >> conftest.h
18033 if cmp -s $ac_file conftest.h 2>/dev/null; then
18034 echo "$ac_file is unchanged"
18037 # Remove last slash and all that follows it. Not all systems have dirname.
18038 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18039 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18040 # The file is in a subdirectory.
18041 test ! -d "$ac_dir" && mkdir "$ac_dir"
18044 mv conftest.h $ac_file
18050 cat >> $CONFIG_STATUS <<EOF
18051 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
18052 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/messages.cc src/moneypunct.cc src/numpunct.cc src/time.cc"
18055 cat >> $CONFIG_STATUS <<\EOF
18056 srcdir=$ac_given_srcdir
18057 while test -n "$ac_sources"; do
18058 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18059 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18061 echo "linking $srcdir/$ac_source to $ac_dest"
18063 if test ! -r $srcdir/$ac_source; then
18064 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18068 # Make relative symlinks.
18069 # Remove last slash and all that follows it. Not all systems have dirname.
18070 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18071 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18072 # The dest file is in a subdirectory.
18073 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18074 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18075 # A "../" for each directory in $ac_dest_dir_suffix.
18076 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18078 ac_dest_dir_suffix= ac_dots=
18082 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18083 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18086 # Make a symlink if possible; otherwise try a hard link.
18087 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18088 ln $srcdir/$ac_source $ac_dest; then :
18090 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18094 cat >> $CONFIG_STATUS <<EOF
18099 with_multisubdir=${with_multisubdir}
18100 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18101 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18102 glibcpp_basedir=${glibcpp_basedir}
18107 cat >> $CONFIG_STATUS <<\EOF
18108 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18109 if test -n "$CONFIG_FILES"; then
18110 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18111 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18112 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
18115 chmod +x testsuite_flags
18119 chmod +x $CONFIG_STATUS
18120 rm -fr confdefs* $ac_clean_files
18121 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18125 # Sanity checking & User-visible messages.
18126 # Checks down here, otherwise they get scrolled off before
18127 # the user will notice.
18129 # Trying to get more people to read documentation. Possibly remove
18130 # check and warn all the time. There is no "informational" AC_MSG_
18131 # macro, so these are going to be printed even when --quiet/--silent
18133 if test ! -f stamp-sanity-warned; then
18134 touch stamp-sanity-warned
18136 echo "Please make certain that you read the installation information here:"
18137 echo " faster => ${srcdir}/docs/install.html"
18138 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
18140 echo "and the configuration information here:"
18141 echo " faster => ${srcdir}/docs/configopts.html"
18142 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
18144 echo "before proceeding with ${_cv_gnu_make_command}."